Jesus sucks
This commit is contained in:
39
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.d.ts
generated
vendored
Normal file
39
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.d.ts
generated
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
import * as React from 'react';
|
||||
import { SxProps } from '@mui/system';
|
||||
import { InternalStandardProps as StandardProps, Theme } from '..';
|
||||
import { ListItemSecondaryActionClasses } from './listItemSecondaryActionClasses';
|
||||
|
||||
export interface ListItemSecondaryActionProps
|
||||
extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
|
||||
/**
|
||||
* The content of the component, normally an `IconButton` or selection control.
|
||||
*/
|
||||
children?: React.ReactNode;
|
||||
/**
|
||||
* Override or extend the styles applied to the component.
|
||||
*/
|
||||
classes?: Partial<ListItemSecondaryActionClasses>;
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Must be used as the last child of ListItem to function properly.
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Lists](https://mui.com/material-ui/react-list/)
|
||||
*
|
||||
* API:
|
||||
*
|
||||
* - [ListItemSecondaryAction API](https://mui.com/material-ui/api/list-item-secondary-action/)
|
||||
*/
|
||||
declare const ListItemSecondaryAction: ((
|
||||
props: ListItemSecondaryActionProps,
|
||||
) => React.JSX.Element) & {
|
||||
muiName: string;
|
||||
};
|
||||
|
||||
export default ListItemSecondaryAction;
|
||||
91
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js
generated
vendored
Normal file
91
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js
generated
vendored
Normal file
@@ -0,0 +1,91 @@
|
||||
'use client';
|
||||
|
||||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
||||
import _extends from "@babel/runtime/helpers/esm/extends";
|
||||
const _excluded = ["className"];
|
||||
import * as React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import clsx from 'clsx';
|
||||
import composeClasses from '@mui/utils/composeClasses';
|
||||
import styled from '../styles/styled';
|
||||
import { useDefaultProps } from '../DefaultPropsProvider';
|
||||
import ListContext from '../List/ListContext';
|
||||
import { getListItemSecondaryActionClassesUtilityClass } from './listItemSecondaryActionClasses';
|
||||
import { jsx as _jsx } from "react/jsx-runtime";
|
||||
const useUtilityClasses = ownerState => {
|
||||
const {
|
||||
disableGutters,
|
||||
classes
|
||||
} = ownerState;
|
||||
const slots = {
|
||||
root: ['root', disableGutters && 'disableGutters']
|
||||
};
|
||||
return composeClasses(slots, getListItemSecondaryActionClassesUtilityClass, classes);
|
||||
};
|
||||
const ListItemSecondaryActionRoot = styled('div', {
|
||||
name: 'MuiListItemSecondaryAction',
|
||||
slot: 'Root',
|
||||
overridesResolver: (props, styles) => {
|
||||
const {
|
||||
ownerState
|
||||
} = props;
|
||||
return [styles.root, ownerState.disableGutters && styles.disableGutters];
|
||||
}
|
||||
})(({
|
||||
ownerState
|
||||
}) => _extends({
|
||||
position: 'absolute',
|
||||
right: 16,
|
||||
top: '50%',
|
||||
transform: 'translateY(-50%)'
|
||||
}, ownerState.disableGutters && {
|
||||
right: 0
|
||||
}));
|
||||
|
||||
/**
|
||||
* Must be used as the last child of ListItem to function properly.
|
||||
*/
|
||||
const ListItemSecondaryAction = /*#__PURE__*/React.forwardRef(function ListItemSecondaryAction(inProps, ref) {
|
||||
const props = useDefaultProps({
|
||||
props: inProps,
|
||||
name: 'MuiListItemSecondaryAction'
|
||||
});
|
||||
const {
|
||||
className
|
||||
} = props,
|
||||
other = _objectWithoutPropertiesLoose(props, _excluded);
|
||||
const context = React.useContext(ListContext);
|
||||
const ownerState = _extends({}, props, {
|
||||
disableGutters: context.disableGutters
|
||||
});
|
||||
const classes = useUtilityClasses(ownerState);
|
||||
return /*#__PURE__*/_jsx(ListItemSecondaryActionRoot, _extends({
|
||||
className: clsx(classes.root, className),
|
||||
ownerState: ownerState,
|
||||
ref: ref
|
||||
}, other));
|
||||
});
|
||||
process.env.NODE_ENV !== "production" ? ListItemSecondaryAction.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, normally an `IconButton` or selection control.
|
||||
*/
|
||||
children: PropTypes.node,
|
||||
/**
|
||||
* Override or extend the styles applied to the component.
|
||||
*/
|
||||
classes: PropTypes.object,
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
className: 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;
|
||||
ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
|
||||
export default ListItemSecondaryAction;
|
||||
5
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/index.d.ts
generated
vendored
Normal file
5
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
export { default } from './ListItemSecondaryAction';
|
||||
export * from './ListItemSecondaryAction';
|
||||
|
||||
export { default as listItemSecondaryActionClasses } from './listItemSecondaryActionClasses';
|
||||
export * from './listItemSecondaryActionClasses';
|
||||
5
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/index.js
generated
vendored
Normal file
5
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/index.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
'use client';
|
||||
|
||||
export { default } from './ListItemSecondaryAction';
|
||||
export { default as listItemSecondaryActionClasses } from './listItemSecondaryActionClasses';
|
||||
export * from './listItemSecondaryActionClasses';
|
||||
10
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts
generated
vendored
Normal file
10
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
export interface ListItemSecondaryActionClasses {
|
||||
/** Styles applied to the root element. */
|
||||
root: string;
|
||||
/** Styles applied to the root element when the parent `ListItem` has `disableGutters={true}`. */
|
||||
disableGutters: string;
|
||||
}
|
||||
export type ListItemSecondaryActionClassKey = keyof ListItemSecondaryActionClasses;
|
||||
export declare function getListItemSecondaryActionClassesUtilityClass(slot: string): string;
|
||||
declare const listItemSecondaryActionClasses: ListItemSecondaryActionClasses;
|
||||
export default listItemSecondaryActionClasses;
|
||||
7
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/listItemSecondaryActionClasses.js
generated
vendored
Normal file
7
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/listItemSecondaryActionClasses.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
||||
import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
||||
export function getListItemSecondaryActionClassesUtilityClass(slot) {
|
||||
return generateUtilityClass('MuiListItemSecondaryAction', slot);
|
||||
}
|
||||
const listItemSecondaryActionClasses = generateUtilityClasses('MuiListItemSecondaryAction', ['root', 'disableGutters']);
|
||||
export default listItemSecondaryActionClasses;
|
||||
6
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/package.json
generated
vendored
Normal file
6
backend/frontend/node_modules/@mui/material/ListItemSecondaryAction/package.json
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"sideEffects": false,
|
||||
"module": "./index.js",
|
||||
"main": "../node/ListItemSecondaryAction/index.js",
|
||||
"types": "./index.d.ts"
|
||||
}
|
||||
Reference in New Issue
Block a user