worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
53
node_modules/@mui/system/esm/Box/Box.d.ts
generated
vendored
Normal file
53
node_modules/@mui/system/esm/Box/Box.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
import * as React from 'react';
|
||||
import { OverridableComponent, OverrideProps } from '@mui/types';
|
||||
import { Theme as SystemTheme } from "../createTheme/index.js";
|
||||
import { SxProps, AllSystemCSSProperties, ResponsiveStyleValue, OverwriteCSSProperties, AliasesCSSProperties } from "../styleFunctionSx/index.js";
|
||||
import { PropsFor } from "../style/index.js";
|
||||
import { ComposedStyleFunction } from "../compose/index.js";
|
||||
import borders from "../borders/index.js";
|
||||
import display from "../display/index.js";
|
||||
import flexbox from "../flexbox/index.js";
|
||||
import grid from "../cssGrid/index.js";
|
||||
import palette from "../palette/index.js";
|
||||
import positions from "../positions/index.js";
|
||||
import shadows from "../shadows/index.js";
|
||||
import sizing from "../sizing/index.js";
|
||||
import spacing from "../spacing/index.js";
|
||||
import typography from "../typography/index.js";
|
||||
export interface CustomSystemProps extends AliasesCSSProperties, OverwriteCSSProperties {}
|
||||
export type SimpleSystemKeys = keyof PropsFor<ComposedStyleFunction<[typeof borders, typeof display, typeof flexbox, typeof grid, typeof palette, typeof positions, typeof shadows, typeof sizing, typeof spacing, typeof typography]>>;
|
||||
|
||||
// The SimpleSystemKeys are subset of the AllSystemCSSProperties, so this should be ok
|
||||
// This is needed as these are used as keys inside AllSystemCSSProperties
|
||||
type StandardSystemKeys = Extract<SimpleSystemKeys, keyof AllSystemCSSProperties>;
|
||||
export type SystemProps<Theme extends object = {}> = { [K in StandardSystemKeys]?: ResponsiveStyleValue<AllSystemCSSProperties[K]> | ((theme: Theme) => ResponsiveStyleValue<AllSystemCSSProperties[K]>) };
|
||||
export interface BoxOwnProps<Theme extends object = SystemTheme> extends SystemProps<Theme> {
|
||||
children?: React.ReactNode;
|
||||
ref?: React.Ref<unknown>;
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
}
|
||||
export interface BoxTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'div', Theme extends object = SystemTheme> {
|
||||
props: AdditionalProps & BoxOwnProps<Theme>;
|
||||
defaultComponent: RootComponent;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Box (Joy UI)](https://mui.com/joy-ui/react-box/)
|
||||
* - [Box (Material UI)](https://mui.com/material-ui/react-box/)
|
||||
* - [Box (MUI System)](https://mui.com/system/react-box/)
|
||||
*
|
||||
* API:
|
||||
*
|
||||
* - [Box API](https://mui.com/system/api/box/)
|
||||
*/
|
||||
declare const Box: OverridableComponent<BoxTypeMap>;
|
||||
export type BoxProps<RootComponent extends React.ElementType = BoxTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<BoxTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
||||
component?: React.ElementType;
|
||||
};
|
||||
export default Box;
|
||||
30
node_modules/@mui/system/esm/Box/Box.js
generated
vendored
Normal file
30
node_modules/@mui/system/esm/Box/Box.js
generated
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
'use client';
|
||||
|
||||
import PropTypes from 'prop-types';
|
||||
import ClassNameGenerator from '@mui/utils/ClassNameGenerator';
|
||||
import createBox from "../createBox/index.js";
|
||||
import boxClasses from "./boxClasses.js";
|
||||
const Box = createBox({
|
||||
defaultClassName: boxClasses.root,
|
||||
generateClassName: ClassNameGenerator.generate
|
||||
});
|
||||
process.env.NODE_ENV !== "production" ? Box.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`. │
|
||||
// └─────────────────────────────────────────────────────────────────────┘
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
children: PropTypes.node,
|
||||
/**
|
||||
* The component used for the root node.
|
||||
* Either a string to use a HTML element or a component.
|
||||
*/
|
||||
component: PropTypes.elementType,
|
||||
/**
|
||||
* 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])
|
||||
} : void 0;
|
||||
export default Box;
|
||||
7
node_modules/@mui/system/esm/Box/boxClasses.d.ts
generated
vendored
Normal file
7
node_modules/@mui/system/esm/Box/boxClasses.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
export interface BoxClasses {
|
||||
/** Styles applied to the root element. */
|
||||
root: string;
|
||||
}
|
||||
export type BoxClassKey = keyof BoxClasses;
|
||||
declare const boxClasses: BoxClasses;
|
||||
export default boxClasses;
|
||||
3
node_modules/@mui/system/esm/Box/boxClasses.js
generated
vendored
Normal file
3
node_modules/@mui/system/esm/Box/boxClasses.js
generated
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
||||
const boxClasses = generateUtilityClasses('MuiBox', ['root']);
|
||||
export default boxClasses;
|
||||
4
node_modules/@mui/system/esm/Box/index.d.ts
generated
vendored
Normal file
4
node_modules/@mui/system/esm/Box/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export { default } from "./Box.js";
|
||||
export * from "./Box.js";
|
||||
export { default as boxClasses } from "./boxClasses.js";
|
||||
export * from "./boxClasses.js";
|
||||
3
node_modules/@mui/system/esm/Box/index.js
generated
vendored
Normal file
3
node_modules/@mui/system/esm/Box/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export { default } from "./Box.js";
|
||||
export { default as boxClasses } from "./boxClasses.js";
|
||||
export * from "./boxClasses.js";
|
||||
Loading…
Add table
Add a link
Reference in a new issue