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/SpeedDialIcon/SpeedDialIcon.d.ts
generated
vendored
Normal file
43
node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
import * as React from 'react';
|
||||
import { SxProps } from '@mui/system';
|
||||
import { Theme } from "../styles/index.js";
|
||||
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
||||
import { SpeedDialIconClasses } from "./speedDialIconClasses.js";
|
||||
export interface SpeedDialIconProps extends StandardProps<React.HTMLAttributes<HTMLSpanElement>, 'children'> {
|
||||
/**
|
||||
* Override or extend the styles applied to the component.
|
||||
*/
|
||||
classes?: Partial<SpeedDialIconClasses>;
|
||||
/**
|
||||
* The icon to display.
|
||||
*/
|
||||
icon?: React.ReactNode;
|
||||
/**
|
||||
* The icon to display in the SpeedDial Floating Action Button when the SpeedDial is open.
|
||||
*/
|
||||
openIcon?: React.ReactNode;
|
||||
/**
|
||||
* @ignore
|
||||
* If `true`, the component is shown.
|
||||
*/
|
||||
open?: boolean;
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Speed Dial](https://mui.com/material-ui/react-speed-dial/)
|
||||
*
|
||||
* API:
|
||||
*
|
||||
* - [SpeedDialIcon API](https://mui.com/material-ui/api/speed-dial-icon/)
|
||||
*/
|
||||
declare const SpeedDialIcon: ((props: SpeedDialIconProps) => React.JSX.Element) & {
|
||||
muiName: string;
|
||||
};
|
||||
export default SpeedDialIcon;
|
||||
163
node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js
generated
vendored
Normal file
163
node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js
generated
vendored
Normal file
|
|
@ -0,0 +1,163 @@
|
|||
"use strict";
|
||||
'use client';
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var React = _interopRequireWildcard(require("react"));
|
||||
var _propTypes = _interopRequireDefault(require("prop-types"));
|
||||
var _clsx = _interopRequireDefault(require("clsx"));
|
||||
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
||||
var _zeroStyled = require("../zero-styled");
|
||||
var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
|
||||
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
||||
var _Add = _interopRequireDefault(require("../internal/svg-icons/Add"));
|
||||
var _speedDialIconClasses = _interopRequireWildcard(require("./speedDialIconClasses"));
|
||||
var _jsxRuntime = require("react/jsx-runtime");
|
||||
const useUtilityClasses = ownerState => {
|
||||
const {
|
||||
classes,
|
||||
open,
|
||||
openIcon
|
||||
} = ownerState;
|
||||
const slots = {
|
||||
root: ['root'],
|
||||
icon: ['icon', open && 'iconOpen', openIcon && open && 'iconWithOpenIconOpen'],
|
||||
openIcon: ['openIcon', open && 'openIconOpen']
|
||||
};
|
||||
return (0, _composeClasses.default)(slots, _speedDialIconClasses.getSpeedDialIconUtilityClass, classes);
|
||||
};
|
||||
const SpeedDialIconRoot = (0, _zeroStyled.styled)('span', {
|
||||
name: 'MuiSpeedDialIcon',
|
||||
slot: 'Root',
|
||||
overridesResolver: (props, styles) => {
|
||||
const {
|
||||
ownerState
|
||||
} = props;
|
||||
return [{
|
||||
[`& .${_speedDialIconClasses.default.icon}`]: styles.icon
|
||||
}, {
|
||||
[`& .${_speedDialIconClasses.default.icon}`]: ownerState.open && styles.iconOpen
|
||||
}, {
|
||||
[`& .${_speedDialIconClasses.default.icon}`]: ownerState.open && ownerState.openIcon && styles.iconWithOpenIconOpen
|
||||
}, {
|
||||
[`& .${_speedDialIconClasses.default.openIcon}`]: styles.openIcon
|
||||
}, {
|
||||
[`& .${_speedDialIconClasses.default.openIcon}`]: ownerState.open && styles.openIconOpen
|
||||
}, styles.root];
|
||||
}
|
||||
})((0, _memoTheme.default)(({
|
||||
theme
|
||||
}) => ({
|
||||
height: 24,
|
||||
[`& .${_speedDialIconClasses.default.icon}`]: {
|
||||
transition: theme.transitions.create(['transform', 'opacity'], {
|
||||
duration: theme.transitions.duration.short
|
||||
})
|
||||
},
|
||||
[`& .${_speedDialIconClasses.default.openIcon}`]: {
|
||||
position: 'absolute',
|
||||
transition: theme.transitions.create(['transform', 'opacity'], {
|
||||
duration: theme.transitions.duration.short
|
||||
}),
|
||||
opacity: 0,
|
||||
transform: 'rotate(-45deg)'
|
||||
},
|
||||
variants: [{
|
||||
props: ({
|
||||
ownerState
|
||||
}) => ownerState.open,
|
||||
style: {
|
||||
[`& .${_speedDialIconClasses.default.icon}`]: {
|
||||
transform: 'rotate(45deg)'
|
||||
}
|
||||
}
|
||||
}, {
|
||||
props: ({
|
||||
ownerState
|
||||
}) => ownerState.open && ownerState.openIcon,
|
||||
style: {
|
||||
[`& .${_speedDialIconClasses.default.icon}`]: {
|
||||
opacity: 0
|
||||
}
|
||||
}
|
||||
}, {
|
||||
props: ({
|
||||
ownerState
|
||||
}) => ownerState.open,
|
||||
style: {
|
||||
[`& .${_speedDialIconClasses.default.openIcon}`]: {
|
||||
transform: 'rotate(0deg)',
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
}]
|
||||
})));
|
||||
const SpeedDialIcon = /*#__PURE__*/React.forwardRef(function SpeedDialIcon(inProps, ref) {
|
||||
const props = (0, _DefaultPropsProvider.useDefaultProps)({
|
||||
props: inProps,
|
||||
name: 'MuiSpeedDialIcon'
|
||||
});
|
||||
const {
|
||||
className,
|
||||
icon: iconProp,
|
||||
open,
|
||||
openIcon: openIconProp,
|
||||
...other
|
||||
} = props;
|
||||
const ownerState = props;
|
||||
const classes = useUtilityClasses(ownerState);
|
||||
function formatIcon(icon, newClassName) {
|
||||
if (/*#__PURE__*/React.isValidElement(icon)) {
|
||||
return /*#__PURE__*/React.cloneElement(icon, {
|
||||
className: newClassName
|
||||
});
|
||||
}
|
||||
return icon;
|
||||
}
|
||||
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(SpeedDialIconRoot, {
|
||||
className: (0, _clsx.default)(classes.root, className),
|
||||
ref: ref,
|
||||
ownerState: ownerState,
|
||||
...other,
|
||||
children: [openIconProp ? formatIcon(openIconProp, classes.openIcon) : null, iconProp ? formatIcon(iconProp, classes.icon) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Add.default, {
|
||||
className: classes.icon
|
||||
})]
|
||||
});
|
||||
});
|
||||
process.env.NODE_ENV !== "production" ? SpeedDialIcon.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`. │
|
||||
// └─────────────────────────────────────────────────────────────────────┘
|
||||
/**
|
||||
* Override or extend the styles applied to the component.
|
||||
*/
|
||||
classes: _propTypes.default.object,
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
className: _propTypes.default.string,
|
||||
/**
|
||||
* The icon to display.
|
||||
*/
|
||||
icon: _propTypes.default.node,
|
||||
/**
|
||||
* @ignore
|
||||
* If `true`, the component is shown.
|
||||
*/
|
||||
open: _propTypes.default.bool,
|
||||
/**
|
||||
* The icon to display in the SpeedDial Floating Action Button when the SpeedDial is open.
|
||||
*/
|
||||
openIcon: _propTypes.default.node,
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
||||
} : void 0;
|
||||
SpeedDialIcon.muiName = 'SpeedDialIcon';
|
||||
var _default = exports.default = SpeedDialIcon;
|
||||
4
node_modules/@mui/material/SpeedDialIcon/index.d.ts
generated
vendored
Normal file
4
node_modules/@mui/material/SpeedDialIcon/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export { default } from "./SpeedDialIcon.js";
|
||||
export * from "./SpeedDialIcon.js";
|
||||
export { default as speedDialIconClasses } from "./speedDialIconClasses.js";
|
||||
export * from "./speedDialIconClasses.js";
|
||||
35
node_modules/@mui/material/SpeedDialIcon/index.js
generated
vendored
Normal file
35
node_modules/@mui/material/SpeedDialIcon/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
"use strict";
|
||||
|
||||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
var _exportNames = {
|
||||
speedDialIconClasses: true
|
||||
};
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _SpeedDialIcon.default;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "speedDialIconClasses", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _speedDialIconClasses.default;
|
||||
}
|
||||
});
|
||||
var _SpeedDialIcon = _interopRequireDefault(require("./SpeedDialIcon"));
|
||||
var _speedDialIconClasses = _interopRequireWildcard(require("./speedDialIconClasses"));
|
||||
Object.keys(_speedDialIconClasses).forEach(function (key) {
|
||||
if (key === "default" || key === "__esModule") return;
|
||||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
||||
if (key in exports && exports[key] === _speedDialIconClasses[key]) return;
|
||||
Object.defineProperty(exports, key, {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _speedDialIconClasses[key];
|
||||
}
|
||||
});
|
||||
});
|
||||
18
node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses.d.ts
generated
vendored
Normal file
18
node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
export interface SpeedDialIconClasses {
|
||||
/** Styles applied to the root element. */
|
||||
root: string;
|
||||
/** Styles applied to the icon component. */
|
||||
icon: string;
|
||||
/** Styles applied to the icon component if `open={true}`. */
|
||||
iconOpen: string;
|
||||
/** Styles applied to the icon when an `openIcon` is provided and if `open={true}`. */
|
||||
iconWithOpenIconOpen: string;
|
||||
/** Styles applied to the `openIcon` if provided. */
|
||||
openIcon: string;
|
||||
/** Styles applied to the `openIcon` if provided and if `open={true}`. */
|
||||
openIconOpen: string;
|
||||
}
|
||||
export type SpeedDialIconClassKey = keyof SpeedDialIconClasses;
|
||||
export declare function getSpeedDialIconUtilityClass(slot: string): string;
|
||||
declare const speedDialIconClasses: SpeedDialIconClasses;
|
||||
export default speedDialIconClasses;
|
||||
15
node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses.js
generated
vendored
Normal file
15
node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses.js
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
exports.getSpeedDialIconUtilityClass = getSpeedDialIconUtilityClass;
|
||||
var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
|
||||
var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
|
||||
function getSpeedDialIconUtilityClass(slot) {
|
||||
return (0, _generateUtilityClass.default)('MuiSpeedDialIcon', slot);
|
||||
}
|
||||
const speedDialIconClasses = (0, _generateUtilityClasses.default)('MuiSpeedDialIcon', ['root', 'icon', 'iconOpen', 'iconWithOpenIconOpen', 'openIcon', 'openIconOpen']);
|
||||
var _default = exports.default = speedDialIconClasses;
|
||||
Loading…
Add table
Add a link
Reference in a new issue