1 | import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
2 | import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
|
3 | export function getGrid2UtilityClass(slot) {
|
4 | return generateUtilityClass('MuiGrid2', slot);
|
5 | }
|
6 | var SPACINGS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
7 | var DIRECTIONS = ['column-reverse', 'column', 'row-reverse', 'row'];
|
8 | var WRAPS = ['nowrap', 'wrap-reverse', 'wrap'];
|
9 | var GRID_SIZES = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
10 | var grid2Classes = generateUtilityClasses('MuiGrid2', ['root', 'container', 'item', 'zeroMinWidth'].concat(_toConsumableArray(SPACINGS.map(function (spacing) {
|
11 | return "spacing-xs-".concat(spacing);
|
12 | })), _toConsumableArray(DIRECTIONS.map(function (direction) {
|
13 | return "direction-xs-".concat(direction);
|
14 | })), _toConsumableArray(WRAPS.map(function (wrap) {
|
15 | return "wrap-xs-".concat(wrap);
|
16 | })), _toConsumableArray(GRID_SIZES.map(function (size) {
|
17 | return "grid-xs-".concat(size);
|
18 | })), _toConsumableArray(GRID_SIZES.map(function (size) {
|
19 | return "grid-sm-".concat(size);
|
20 | })), _toConsumableArray(GRID_SIZES.map(function (size) {
|
21 | return "grid-md-".concat(size);
|
22 | })), _toConsumableArray(GRID_SIZES.map(function (size) {
|
23 | return "grid-lg-".concat(size);
|
24 | })), _toConsumableArray(GRID_SIZES.map(function (size) {
|
25 | return "grid-xl-".concat(size);
|
26 | }))));
|
27 | export default grid2Classes; |
\ | No newline at end of file |