worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
43
node_modules/@mui/material/esm/DialogTitle/DialogTitle.d.ts
generated
vendored
Normal file
43
node_modules/@mui/material/esm/DialogTitle/DialogTitle.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
import * as React from 'react';
|
||||
import { SxProps } from '@mui/system';
|
||||
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
||||
import { Theme } from "../styles/index.js";
|
||||
import { TypographyTypeMap } from "../Typography/index.js";
|
||||
import { DialogTitleClasses } from "./dialogTitleClasses.js";
|
||||
export interface DialogTitleOwnProps extends Omit<TypographyTypeMap['props'], 'classes'> {
|
||||
/**
|
||||
* The content of the component.
|
||||
*/
|
||||
children?: React.ReactNode;
|
||||
/**
|
||||
* Override or extend the styles applied to the component.
|
||||
*/
|
||||
classes?: Partial<DialogTitleClasses>;
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
}
|
||||
export interface DialogTitleTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = TypographyTypeMap['defaultComponent']> {
|
||||
props: AdditionalProps & DialogTitleOwnProps;
|
||||
defaultComponent: RootComponent;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Dialog](https://mui.com/material-ui/react-dialog/)
|
||||
*
|
||||
* API:
|
||||
*
|
||||
* - [DialogTitle API](https://mui.com/material-ui/api/dialog-title/)
|
||||
* - inherits [Typography API](https://mui.com/material-ui/api/typography/)
|
||||
*/
|
||||
declare const DialogTitle: OverridableComponent<DialogTitleTypeMap>;
|
||||
export type DialogTitleProps<RootComponent extends React.ElementType = DialogTitleTypeMap['defaultComponent'], AdditionalProps = {
|
||||
component?: React.ElementType;
|
||||
}> = OverrideProps<DialogTitleTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
||||
component?: React.ElementType;
|
||||
};
|
||||
export default DialogTitle;
|
||||
80
node_modules/@mui/material/esm/DialogTitle/DialogTitle.js
generated
vendored
Normal file
80
node_modules/@mui/material/esm/DialogTitle/DialogTitle.js
generated
vendored
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
'use client';
|
||||
|
||||
import * as React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import clsx from 'clsx';
|
||||
import composeClasses from '@mui/utils/composeClasses';
|
||||
import Typography from "../Typography/index.js";
|
||||
import { styled } from "../zero-styled/index.js";
|
||||
import { useDefaultProps } from "../DefaultPropsProvider/index.js";
|
||||
import { getDialogTitleUtilityClass } from "./dialogTitleClasses.js";
|
||||
import DialogContext from "../Dialog/DialogContext.js";
|
||||
import { jsx as _jsx } from "react/jsx-runtime";
|
||||
const useUtilityClasses = ownerState => {
|
||||
const {
|
||||
classes
|
||||
} = ownerState;
|
||||
const slots = {
|
||||
root: ['root']
|
||||
};
|
||||
return composeClasses(slots, getDialogTitleUtilityClass, classes);
|
||||
};
|
||||
const DialogTitleRoot = styled(Typography, {
|
||||
name: 'MuiDialogTitle',
|
||||
slot: 'Root'
|
||||
})({
|
||||
padding: '16px 24px',
|
||||
flex: '0 0 auto'
|
||||
});
|
||||
const DialogTitle = /*#__PURE__*/React.forwardRef(function DialogTitle(inProps, ref) {
|
||||
const props = useDefaultProps({
|
||||
props: inProps,
|
||||
name: 'MuiDialogTitle'
|
||||
});
|
||||
const {
|
||||
className,
|
||||
id: idProp,
|
||||
...other
|
||||
} = props;
|
||||
const ownerState = props;
|
||||
const classes = useUtilityClasses(ownerState);
|
||||
const {
|
||||
titleId = idProp
|
||||
} = React.useContext(DialogContext);
|
||||
return /*#__PURE__*/_jsx(DialogTitleRoot, {
|
||||
component: "h2",
|
||||
className: clsx(classes.root, className),
|
||||
ownerState: ownerState,
|
||||
ref: ref,
|
||||
variant: "h6",
|
||||
id: idProp ?? titleId,
|
||||
...other
|
||||
});
|
||||
});
|
||||
process.env.NODE_ENV !== "production" ? DialogTitle.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,
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
id: PropTypes.string,
|
||||
/**
|
||||
* 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 DialogTitle;
|
||||
8
node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.d.ts
generated
vendored
Normal file
8
node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
export interface DialogTitleClasses {
|
||||
/** Styles applied to the root element. */
|
||||
root: string;
|
||||
}
|
||||
export type DialogTitleClassKey = keyof DialogTitleClasses;
|
||||
export declare function getDialogTitleUtilityClass(slot: string): string;
|
||||
declare const dialogTitleClasses: DialogTitleClasses;
|
||||
export default dialogTitleClasses;
|
||||
7
node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.js
generated
vendored
Normal file
7
node_modules/@mui/material/esm/DialogTitle/dialogTitleClasses.js
generated
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
||||
import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
||||
export function getDialogTitleUtilityClass(slot) {
|
||||
return generateUtilityClass('MuiDialogTitle', slot);
|
||||
}
|
||||
const dialogTitleClasses = generateUtilityClasses('MuiDialogTitle', ['root']);
|
||||
export default dialogTitleClasses;
|
||||
4
node_modules/@mui/material/esm/DialogTitle/index.d.ts
generated
vendored
Normal file
4
node_modules/@mui/material/esm/DialogTitle/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export { default } from "./DialogTitle.js";
|
||||
export * from "./DialogTitle.js";
|
||||
export { default as dialogTitleClasses } from "./dialogTitleClasses.js";
|
||||
export * from "./dialogTitleClasses.js";
|
||||
3
node_modules/@mui/material/esm/DialogTitle/index.js
generated
vendored
Normal file
3
node_modules/@mui/material/esm/DialogTitle/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export { default } from "./DialogTitle.js";
|
||||
export { default as dialogTitleClasses } from "./dialogTitleClasses.js";
|
||||
export * from "./dialogTitleClasses.js";
|
||||
Loading…
Add table
Add a link
Reference in a new issue