Jesus sucks
This commit is contained in:
32
backend/frontend/node_modules/@mui/material/AlertTitle/AlertTitle.d.ts
generated
vendored
Normal file
32
backend/frontend/node_modules/@mui/material/AlertTitle/AlertTitle.d.ts
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
import * as React from 'react';
|
||||
import { SxProps } from '@mui/system';
|
||||
import { Theme, TypographyProps } from '..';
|
||||
import { AlertTitleClasses } from './alertTitleClasses';
|
||||
|
||||
export interface AlertTitleProps extends TypographyProps<'div'> {
|
||||
/**
|
||||
* The content of the component.
|
||||
*/
|
||||
children?: React.ReactNode;
|
||||
/**
|
||||
* Override or extend the styles applied to the component.
|
||||
*/
|
||||
classes?: Partial<AlertTitleClasses>;
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Alert](https://mui.com/material-ui/react-alert/)
|
||||
*
|
||||
* API:
|
||||
*
|
||||
* - [AlertTitle API](https://mui.com/material-ui/api/alert-title/)
|
||||
* - inherits [Typography API](https://mui.com/material-ui/api/typography/)
|
||||
*/
|
||||
export default function AlertTitle(props: AlertTitleProps): React.JSX.Element;
|
||||
77
backend/frontend/node_modules/@mui/material/AlertTitle/AlertTitle.js
generated
vendored
Normal file
77
backend/frontend/node_modules/@mui/material/AlertTitle/AlertTitle.js
generated
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
'use client';
|
||||
|
||||
import _extends from "@babel/runtime/helpers/esm/extends";
|
||||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
||||
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 '../zero-styled';
|
||||
import { useDefaultProps } from '../DefaultPropsProvider';
|
||||
import Typography from '../Typography';
|
||||
import { getAlertTitleUtilityClass } from './alertTitleClasses';
|
||||
import { jsx as _jsx } from "react/jsx-runtime";
|
||||
const useUtilityClasses = ownerState => {
|
||||
const {
|
||||
classes
|
||||
} = ownerState;
|
||||
const slots = {
|
||||
root: ['root']
|
||||
};
|
||||
return composeClasses(slots, getAlertTitleUtilityClass, classes);
|
||||
};
|
||||
const AlertTitleRoot = styled(Typography, {
|
||||
name: 'MuiAlertTitle',
|
||||
slot: 'Root',
|
||||
overridesResolver: (props, styles) => styles.root
|
||||
})(({
|
||||
theme
|
||||
}) => {
|
||||
return {
|
||||
fontWeight: theme.typography.fontWeightMedium,
|
||||
marginTop: -2
|
||||
};
|
||||
});
|
||||
const AlertTitle = /*#__PURE__*/React.forwardRef(function AlertTitle(inProps, ref) {
|
||||
const props = useDefaultProps({
|
||||
props: inProps,
|
||||
name: 'MuiAlertTitle'
|
||||
});
|
||||
const {
|
||||
className
|
||||
} = props,
|
||||
other = _objectWithoutPropertiesLoose(props, _excluded);
|
||||
const ownerState = props;
|
||||
const classes = useUtilityClasses(ownerState);
|
||||
return /*#__PURE__*/_jsx(AlertTitleRoot, _extends({
|
||||
gutterBottom: true,
|
||||
component: "div",
|
||||
ownerState: ownerState,
|
||||
ref: ref,
|
||||
className: clsx(classes.root, className)
|
||||
}, other));
|
||||
});
|
||||
process.env.NODE_ENV !== "production" ? AlertTitle.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,
|
||||
/**
|
||||
* 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 AlertTitle;
|
||||
8
backend/frontend/node_modules/@mui/material/AlertTitle/alertTitleClasses.d.ts
generated
vendored
Normal file
8
backend/frontend/node_modules/@mui/material/AlertTitle/alertTitleClasses.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
export interface AlertTitleClasses {
|
||||
/** Styles applied to the root element. */
|
||||
root: string;
|
||||
}
|
||||
export type AlertTitleClassKey = keyof AlertTitleClasses;
|
||||
export declare function getAlertTitleUtilityClass(slot: string): string;
|
||||
declare const alertTitleClasses: AlertTitleClasses;
|
||||
export default alertTitleClasses;
|
||||
7
backend/frontend/node_modules/@mui/material/AlertTitle/alertTitleClasses.js
generated
vendored
Normal file
7
backend/frontend/node_modules/@mui/material/AlertTitle/alertTitleClasses.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
||||
import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
||||
export function getAlertTitleUtilityClass(slot) {
|
||||
return generateUtilityClass('MuiAlertTitle', slot);
|
||||
}
|
||||
const alertTitleClasses = generateUtilityClasses('MuiAlertTitle', ['root']);
|
||||
export default alertTitleClasses;
|
||||
5
backend/frontend/node_modules/@mui/material/AlertTitle/index.d.ts
generated
vendored
Normal file
5
backend/frontend/node_modules/@mui/material/AlertTitle/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
export { default } from './AlertTitle';
|
||||
export * from './AlertTitle';
|
||||
|
||||
export { default as alertTitleClasses } from './alertTitleClasses';
|
||||
export * from './alertTitleClasses';
|
||||
5
backend/frontend/node_modules/@mui/material/AlertTitle/index.js
generated
vendored
Normal file
5
backend/frontend/node_modules/@mui/material/AlertTitle/index.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
'use client';
|
||||
|
||||
export { default } from './AlertTitle';
|
||||
export { default as alertTitleClasses } from './alertTitleClasses';
|
||||
export * from './alertTitleClasses';
|
||||
6
backend/frontend/node_modules/@mui/material/AlertTitle/package.json
generated
vendored
Normal file
6
backend/frontend/node_modules/@mui/material/AlertTitle/package.json
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"sideEffects": false,
|
||||
"module": "./index.js",
|
||||
"main": "../node/AlertTitle/index.js",
|
||||
"types": "./index.d.ts"
|
||||
}
|
||||
Reference in New Issue
Block a user