1
0
Fork 0

worked on GarageApp stuff

This commit is contained in:
Techognito 2025-08-25 17:46:11 +02:00
parent 60aaf17af3
commit eb606572b0
51919 changed files with 2168177 additions and 18 deletions

62
node_modules/@mui/material/esm/Paper/Paper.d.ts generated vendored Normal file
View file

@ -0,0 +1,62 @@
import * as React from 'react';
import { SxProps } from '@mui/system';
import { OverridableStringUnion } from '@mui/types';
import { Theme } from "../styles/index.js";
import { OverrideProps, OverridableComponent, OverridableTypeMap } from "../OverridableComponent/index.js";
import { PaperClasses } from "./paperClasses.js";
export interface PaperPropsVariantOverrides {}
export interface PaperOwnProps {
/**
* The content of the component.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<PaperClasses>;
/**
* Shadow depth, corresponds to `dp` in the spec.
* It accepts values between 0 and 24 inclusive.
* @default 1
*/
elevation?: number;
/**
* If `true`, rounded corners are disabled.
* @default false
*/
square?: boolean;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
/**
* The variant to use.
* @default 'elevation'
*/
variant?: OverridableStringUnion<'elevation' | 'outlined', PaperPropsVariantOverrides>;
}
export interface PaperTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'div'> {
props: AdditionalProps & PaperOwnProps;
defaultComponent: RootComponent;
}
/**
*
* Demos:
*
* - [Card](https://mui.com/material-ui/react-card/)
* - [Paper](https://mui.com/material-ui/react-paper/)
*
* API:
*
* - [Paper API](https://mui.com/material-ui/api/paper/)
*/
declare const Paper: OverridableComponent<PaperTypeMap>;
export interface ExtendPaperTypeMap<TypeMap extends OverridableTypeMap, Keys extends string = ''> {
props: TypeMap['props'] & Omit<PaperTypeMap['props'], Keys>;
defaultComponent: TypeMap['defaultComponent'];
}
export type PaperProps<RootComponent extends React.ElementType = PaperTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<PaperTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
component?: React.ElementType;
};
export default Paper;

170
node_modules/@mui/material/esm/Paper/Paper.js generated vendored Normal file
View file

@ -0,0 +1,170 @@
'use client';
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import integerPropType from '@mui/utils/integerPropType';
import chainPropTypes from '@mui/utils/chainPropTypes';
import composeClasses from '@mui/utils/composeClasses';
import { alpha } from '@mui/system/colorManipulator';
import { styled, useTheme } from "../zero-styled/index.js";
import memoTheme from "../utils/memoTheme.js";
import { useDefaultProps } from "../DefaultPropsProvider/index.js";
import getOverlayAlpha from "../styles/getOverlayAlpha.js";
import { getPaperUtilityClass } from "./paperClasses.js";
import { jsx as _jsx } from "react/jsx-runtime";
const useUtilityClasses = ownerState => {
const {
square,
elevation,
variant,
classes
} = ownerState;
const slots = {
root: ['root', variant, !square && 'rounded', variant === 'elevation' && `elevation${elevation}`]
};
return composeClasses(slots, getPaperUtilityClass, classes);
};
const PaperRoot = styled('div', {
name: 'MuiPaper',
slot: 'Root',
overridesResolver: (props, styles) => {
const {
ownerState
} = props;
return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];
}
})(memoTheme(({
theme
}) => ({
backgroundColor: (theme.vars || theme).palette.background.paper,
color: (theme.vars || theme).palette.text.primary,
transition: theme.transitions.create('box-shadow'),
variants: [{
props: ({
ownerState
}) => !ownerState.square,
style: {
borderRadius: theme.shape.borderRadius
}
}, {
props: {
variant: 'outlined'
},
style: {
border: `1px solid ${(theme.vars || theme).palette.divider}`
}
}, {
props: {
variant: 'elevation'
},
style: {
boxShadow: 'var(--Paper-shadow)',
backgroundImage: 'var(--Paper-overlay)'
}
}]
})));
const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
const props = useDefaultProps({
props: inProps,
name: 'MuiPaper'
});
const theme = useTheme();
const {
className,
component = 'div',
elevation = 1,
square = false,
variant = 'elevation',
...other
} = props;
const ownerState = {
...props,
component,
elevation,
square,
variant
};
const classes = useUtilityClasses(ownerState);
if (process.env.NODE_ENV !== 'production') {
if (theme.shadows[elevation] === undefined) {
console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join('\n'));
}
}
return /*#__PURE__*/_jsx(PaperRoot, {
as: component,
ownerState: ownerState,
className: clsx(classes.root, className),
ref: ref,
...other,
style: {
...(variant === 'elevation' && {
'--Paper-shadow': (theme.vars || theme).shadows[elevation],
...(theme.vars && {
'--Paper-overlay': theme.vars.overlays?.[elevation]
}),
...(!theme.vars && theme.palette.mode === 'dark' && {
'--Paper-overlay': `linear-gradient(${alpha('#fff', getOverlayAlpha(elevation))}, ${alpha('#fff', getOverlayAlpha(elevation))})`
})
}),
...other.style
}
});
});
process.env.NODE_ENV !== "production" ? Paper.propTypes /* remove-proptypes */ = {
// ┌────────────────────────────── Warning ──────────────────────────────┐
// │ These PropTypes are generated from the TypeScript type definitions. │
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
// └─────────────────────────────────────────────────────────────────────┘
/**
* The content of the component.
*/
children: PropTypes.node,
/**
* Override or extend the styles applied to the component.
*/
classes: PropTypes.object,
/**
* @ignore
*/
className: PropTypes.string,
/**
* The component used for the root node.
* Either a string to use a HTML element or a component.
*/
component: PropTypes.elementType,
/**
* Shadow depth, corresponds to `dp` in the spec.
* It accepts values between 0 and 24 inclusive.
* @default 1
*/
elevation: chainPropTypes(integerPropType, props => {
const {
elevation,
variant
} = props;
if (elevation > 0 && variant === 'outlined') {
return new Error(`MUI: Combining \`elevation={${elevation}}\` with \`variant="${variant}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`);
}
return null;
}),
/**
* If `true`, rounded corners are disabled.
* @default false
*/
square: PropTypes.bool,
/**
* @ignore
*/
style: PropTypes.object,
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
/**
* The variant to use.
* @default 'elevation'
*/
variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['elevation', 'outlined']), PropTypes.string])
} : void 0;
export default Paper;

4
node_modules/@mui/material/esm/Paper/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,4 @@
export { default } from "./Paper.js";
export type { PaperProps, PaperOwnProps, PaperPropsVariantOverrides, PaperTypeMap } from "./Paper.js";
export { default as paperClasses } from "./paperClasses.js";
export * from "./paperClasses.js";

3
node_modules/@mui/material/esm/Paper/index.js generated vendored Normal file
View file

@ -0,0 +1,3 @@
export { default } from "./Paper.js";
export { default as paperClasses } from "./paperClasses.js";
export * from "./paperClasses.js";

64
node_modules/@mui/material/esm/Paper/paperClasses.d.ts generated vendored Normal file
View file

@ -0,0 +1,64 @@
export interface PaperClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element unless `square={true}`. */
rounded: string;
/** Styles applied to the root element if `variant="outlined"`. */
outlined: string;
/** Styles applied to the root element if `variant="elevation"`. */
elevation: string;
/** Styles applied to the root element if `elevation={0}`. */
elevation0: string;
/** Styles applied to the root element if `elevation={1}`. */
elevation1: string;
/** Styles applied to the root element if `elevation={2}`. */
elevation2: string;
/** Styles applied to the root element if `elevation={3}`. */
elevation3: string;
/** Styles applied to the root element if `elevation={4}`. */
elevation4: string;
/** Styles applied to the root element if `elevation={5}`. */
elevation5: string;
/** Styles applied to the root element if `elevation={6}`. */
elevation6: string;
/** Styles applied to the root element if `elevation={7}`. */
elevation7: string;
/** Styles applied to the root element if `elevation={8}`. */
elevation8: string;
/** Styles applied to the root element if `elevation={9}`. */
elevation9: string;
/** Styles applied to the root element if `elevation={10}`. */
elevation10: string;
/** Styles applied to the root element if `elevation={11}`. */
elevation11: string;
/** Styles applied to the root element if `elevation={12}`. */
elevation12: string;
/** Styles applied to the root element if `elevation={13}`. */
elevation13: string;
/** Styles applied to the root element if `elevation={14}`. */
elevation14: string;
/** Styles applied to the root element if `elevation={15}`. */
elevation15: string;
/** Styles applied to the root element if `elevation={16}`. */
elevation16: string;
/** Styles applied to the root element if `elevation={17}`. */
elevation17: string;
/** Styles applied to the root element if `elevation={18}`. */
elevation18: string;
/** Styles applied to the root element if `elevation={19}`. */
elevation19: string;
/** Styles applied to the root element if `elevation={20}`. */
elevation20: string;
/** Styles applied to the root element if `elevation={21}`. */
elevation21: string;
/** Styles applied to the root element if `elevation={22}`. */
elevation22: string;
/** Styles applied to the root element if `elevation={23}`. */
elevation23: string;
/** Styles applied to the root element if `elevation={24}`. */
elevation24: string;
}
export type PaperClassKey = keyof PaperClasses;
export declare function getPaperUtilityClass(slot: string): string;
declare const paperClasses: PaperClasses;
export default paperClasses;

7
node_modules/@mui/material/esm/Paper/paperClasses.js generated vendored Normal file
View file

@ -0,0 +1,7 @@
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
import generateUtilityClass from '@mui/utils/generateUtilityClass';
export function getPaperUtilityClass(slot) {
return generateUtilityClass('MuiPaper', slot);
}
const paperClasses = generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
export default paperClasses;