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

51
node_modules/@mui/material/esm/Toolbar/Toolbar.d.ts generated vendored Normal file
View file

@ -0,0 +1,51 @@
import * as React from 'react';
import { SxProps } from '@mui/system';
import { OverridableStringUnion } from '@mui/types';
import { Theme } from "../styles/index.js";
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
import { ToolbarClasses } from "./toolbarClasses.js";
export interface ToolbarPropsVariantOverrides {}
export interface ToolbarOwnProps {
/**
* The Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`.
* The Toolbar is a flex container, allowing flex item properties to be used to lay out the children.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<ToolbarClasses>;
/**
* If `true`, disables gutter padding.
* @default false
*/
disableGutters?: boolean;
/**
* The variant to use.
* @default 'regular'
*/
variant?: OverridableStringUnion<'regular' | 'dense', ToolbarPropsVariantOverrides>;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
}
export interface ToolbarTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'div'> {
props: AdditionalProps & ToolbarOwnProps;
defaultComponent: RootComponent;
}
/**
*
* Demos:
*
* - [App Bar](https://mui.com/material-ui/react-app-bar/)
*
* API:
*
* - [Toolbar API](https://mui.com/material-ui/api/toolbar/)
*/
declare const Toolbar: OverridableComponent<ToolbarTypeMap>;
export type ToolbarProps<RootComponent extends React.ElementType = ToolbarTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<ToolbarTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
component?: React.ElementType;
};
export default Toolbar;

129
node_modules/@mui/material/esm/Toolbar/Toolbar.js generated vendored Normal file
View file

@ -0,0 +1,129 @@
'use client';
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import composeClasses from '@mui/utils/composeClasses';
import { styled } from "../zero-styled/index.js";
import memoTheme from "../utils/memoTheme.js";
import { useDefaultProps } from "../DefaultPropsProvider/index.js";
import { getToolbarUtilityClass } from "./toolbarClasses.js";
import { jsx as _jsx } from "react/jsx-runtime";
const useUtilityClasses = ownerState => {
const {
classes,
disableGutters,
variant
} = ownerState;
const slots = {
root: ['root', !disableGutters && 'gutters', variant]
};
return composeClasses(slots, getToolbarUtilityClass, classes);
};
const ToolbarRoot = styled('div', {
name: 'MuiToolbar',
slot: 'Root',
overridesResolver: (props, styles) => {
const {
ownerState
} = props;
return [styles.root, !ownerState.disableGutters && styles.gutters, styles[ownerState.variant]];
}
})(memoTheme(({
theme
}) => ({
position: 'relative',
display: 'flex',
alignItems: 'center',
variants: [{
props: ({
ownerState
}) => !ownerState.disableGutters,
style: {
paddingLeft: theme.spacing(2),
paddingRight: theme.spacing(2),
[theme.breakpoints.up('sm')]: {
paddingLeft: theme.spacing(3),
paddingRight: theme.spacing(3)
}
}
}, {
props: {
variant: 'dense'
},
style: {
minHeight: 48
}
}, {
props: {
variant: 'regular'
},
style: theme.mixins.toolbar
}]
})));
const Toolbar = /*#__PURE__*/React.forwardRef(function Toolbar(inProps, ref) {
const props = useDefaultProps({
props: inProps,
name: 'MuiToolbar'
});
const {
className,
component = 'div',
disableGutters = false,
variant = 'regular',
...other
} = props;
const ownerState = {
...props,
component,
disableGutters,
variant
};
const classes = useUtilityClasses(ownerState);
return /*#__PURE__*/_jsx(ToolbarRoot, {
as: component,
className: clsx(classes.root, className),
ref: ref,
ownerState: ownerState,
...other
});
});
process.env.NODE_ENV !== "production" ? Toolbar.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 Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`.
* The Toolbar is a flex container, allowing flex item properties to be used to lay out the children.
*/
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,
/**
* If `true`, disables gutter padding.
* @default false
*/
disableGutters: PropTypes.bool,
/**
* 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 'regular'
*/
variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['dense', 'regular']), PropTypes.string])
} : void 0;
export default Toolbar;

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

@ -0,0 +1,4 @@
export { default } from "./Toolbar.js";
export * from "./Toolbar.js";
export { default as toolbarClasses } from "./toolbarClasses.js";
export * from "./toolbarClasses.js";

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

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

View file

@ -0,0 +1,14 @@
export interface ToolbarClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element unless `disableGutters={true}`. */
gutters: string;
/** Styles applied to the root element if `variant="regular"`. */
regular: string;
/** Styles applied to the root element if `variant="dense"`. */
dense: string;
}
export type ToolbarClassKey = keyof ToolbarClasses;
export declare function getToolbarUtilityClass(slot: string): string;
declare const toolbarClasses: ToolbarClasses;
export default toolbarClasses;

View file

@ -0,0 +1,7 @@
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
import generateUtilityClass from '@mui/utils/generateUtilityClass';
export function getToolbarUtilityClass(slot) {
return generateUtilityClass('MuiToolbar', slot);
}
const toolbarClasses = generateUtilityClasses('MuiToolbar', ['root', 'gutters', 'regular', 'dense']);
export default toolbarClasses;