0.2.0 - Mid migration

This commit is contained in:
Daniel Mason 2022-04-25 14:47:15 +12:00
parent 139e6a915e
commit 7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions

51
web/node_modules/@material-ui/core/Box/Box.d.ts generated vendored Normal file
View file

@ -0,0 +1,51 @@
import * as React from 'react';
import {
borders,
ComposedStyleFunction,
display,
flexbox,
grid,
palette,
positions,
shadows,
sizing,
spacing,
typography,
PropsFor,
} from '@material-ui/system';
import { Omit } from '..';
type BoxStyleFunction = ComposedStyleFunction<
[
typeof borders,
typeof display,
typeof flexbox,
typeof grid,
typeof palette,
typeof positions,
typeof shadows,
typeof sizing,
typeof spacing,
typeof typography
]
>;
type SystemProps = PropsFor<BoxStyleFunction>;
type ElementProps = Omit<React.HTMLAttributes<HTMLElement>, keyof SystemProps>;
export interface BoxProps extends ElementProps, SystemProps {
// styled API
component?: React.ElementType;
clone?: boolean;
/**
* @deprecated
* Use the `sx` prop instead
*/
css?: SystemProps;
// workaround for https://github.com/mui-org/material-ui/pull/15611
sx?: SystemProps;
}
declare const Box: React.ComponentType<BoxProps>;
export default Box;

24
web/node_modules/@material-ui/core/Box/Box.js generated vendored Normal file
View file

@ -0,0 +1,24 @@
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.styleFunction = void 0;
var _system = require("@material-ui/system");
var _styled = _interopRequireDefault(require("../styles/styled"));
var styleFunction = (0, _system.styleFunctionSx)((0, _system.compose)(_system.borders, _system.display, _system.flexbox, _system.grid, _system.positions, _system.palette, _system.shadows, _system.sizing, _system.spacing, _system.typography));
/**
* @ignore - do not document.
*/
exports.styleFunction = styleFunction;
var Box = (0, _styled.default)('div')(styleFunction, {
name: 'MuiBox'
});
var _default = Box;
exports.default = _default;

2
web/node_modules/@material-ui/core/Box/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,2 @@
export { default } from './Box';
export * from './Box';

21
web/node_modules/@material-ui/core/Box/index.js generated vendored Normal file
View file

@ -0,0 +1,21 @@
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function get() {
return _Box.default;
}
});
Object.defineProperty(exports, "styleFunction", {
enumerable: true,
get: function get() {
return _Box.styleFunction;
}
});
var _Box = _interopRequireWildcard(require("./Box"));

5
web/node_modules/@material-ui/core/Box/package.json generated vendored Normal file
View file

@ -0,0 +1,5 @@
{
"sideEffects": false,
"module": "../esm/Box/index.js",
"typings": "./index.d.ts"
}