@mui/system 5.13.1 → 5.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +184 -4
- package/Container/createContainer.js +35 -41
- package/GlobalStyles/GlobalStyles.d.ts +2 -2
- package/Stack/createStack.js +26 -24
- package/ThemeProvider/ThemeProvider.js +5 -9
- package/Unstable_Grid/createGrid.js +23 -21
- package/Unstable_Grid/gridGenerator.d.ts +1 -6
- package/Unstable_Grid/gridGenerator.js +26 -71
- package/Unstable_Grid/index.d.ts +1 -0
- package/Unstable_Grid/index.js +9 -1
- package/Unstable_Grid/traverseBreakpoints.d.ts +7 -0
- package/Unstable_Grid/traverseBreakpoints.js +50 -0
- package/breakpoints.js +6 -7
- package/createBox.js +12 -9
- package/createStyled.js +32 -40
- package/createTheme/createBreakpoints.js +26 -24
- package/createTheme/createTheme.js +14 -18
- package/cssVars/createCssVarsProvider.js +26 -21
- package/cssVars/createCssVarsTheme.js +10 -10
- package/cssVars/getInitColorSchemeScript.d.ts +2 -2
- package/cssVars/prepareCssVars.js +12 -13
- package/cssVars/useCurrentColorScheme.js +11 -17
- package/esm/Container/createContainer.js +35 -41
- package/esm/Stack/createStack.js +26 -24
- package/esm/ThemeProvider/ThemeProvider.js +5 -9
- package/esm/Unstable_Grid/createGrid.js +23 -21
- package/esm/Unstable_Grid/gridGenerator.js +18 -62
- package/esm/Unstable_Grid/index.js +2 -1
- package/esm/Unstable_Grid/traverseBreakpoints.js +42 -0
- package/esm/breakpoints.js +6 -7
- package/esm/createBox.js +12 -9
- package/esm/createStyled.js +31 -38
- package/esm/createTheme/createBreakpoints.js +25 -24
- package/esm/createTheme/createTheme.js +14 -18
- package/esm/cssVars/createCssVarsProvider.js +26 -21
- package/esm/cssVars/createCssVarsTheme.js +10 -10
- package/esm/cssVars/prepareCssVars.js +12 -13
- package/esm/cssVars/useCurrentColorScheme.js +10 -17
- package/esm/propsToClassKey.js +5 -3
- package/esm/styleFunctionSx/extendSxProp.js +10 -14
- package/index.js +1 -1
- package/legacy/Container/createContainer.js +6 -7
- package/legacy/Stack/createStack.js +5 -6
- package/legacy/ThemeProvider/ThemeProvider.js +3 -4
- package/legacy/Unstable_Grid/createGrid.js +4 -6
- package/legacy/Unstable_Grid/gridGenerator.js +7 -54
- package/legacy/Unstable_Grid/index.js +2 -1
- package/legacy/Unstable_Grid/traverseBreakpoints.js +48 -0
- package/legacy/breakpoints.js +3 -5
- package/legacy/createBox.js +2 -4
- package/legacy/createStyled.js +11 -13
- package/legacy/createTheme/createBreakpoints.js +3 -4
- package/legacy/createTheme/createTheme.js +4 -6
- package/legacy/cssVars/createCssVarsProvider.js +5 -6
- package/legacy/cssVars/createCssVarsTheme.js +2 -4
- package/legacy/cssVars/prepareCssVars.js +3 -5
- package/legacy/cssVars/useCurrentColorScheme.js +7 -9
- package/legacy/index.js +1 -1
- package/legacy/styleFunctionSx/extendSxProp.js +4 -6
- package/modern/Container/createContainer.js +35 -41
- package/modern/Stack/createStack.js +26 -24
- package/modern/ThemeProvider/ThemeProvider.js +5 -9
- package/modern/Unstable_Grid/createGrid.js +23 -21
- package/modern/Unstable_Grid/gridGenerator.js +18 -62
- package/modern/Unstable_Grid/index.js +2 -1
- package/modern/Unstable_Grid/traverseBreakpoints.js +42 -0
- package/modern/breakpoints.js +6 -7
- package/modern/createBox.js +12 -9
- package/modern/createStyled.js +31 -38
- package/modern/createTheme/createBreakpoints.js +25 -24
- package/modern/createTheme/createTheme.js +14 -18
- package/modern/cssVars/createCssVarsProvider.js +26 -21
- package/modern/cssVars/createCssVarsTheme.js +10 -10
- package/modern/cssVars/prepareCssVars.js +12 -13
- package/modern/cssVars/useCurrentColorScheme.js +10 -17
- package/modern/index.js +1 -1
- package/modern/propsToClassKey.js +5 -3
- package/modern/styleFunctionSx/extendSxProp.js +10 -14
- package/package.json +2 -2
- package/propsToClassKey.js +6 -3
- package/styleFunctionSx/extendSxProp.js +10 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,185 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.13.5
|
|
4
|
+
|
|
5
|
+
A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
6
|
+
|
|
7
|
+
- 💫 Added `ButtonGroup` component in Joy UI (#37407) @siriwatknp.
|
|
8
|
+
- 🐛 bug fixes and 📚 documentation improvements.
|
|
9
|
+
|
|
10
|
+
### `@mui/material@5.13.5`
|
|
11
|
+
|
|
12
|
+
- ​<!-- 03 -->[Material][Popover] Add support for virtual element as anchorEl (#37465) @DiegoAndai
|
|
13
|
+
|
|
14
|
+
### `@mui/joy@5.0.0-alpha.84`
|
|
15
|
+
|
|
16
|
+
- ​<!-- 20 -->[ButtonGroup][joy] Replace `detached` prop with `spacing`. (#37562) @siriwatknp
|
|
17
|
+
- ​<!-- 19 -->[ButtonGroup][joy] Add `ButtonGroup` component (#37407) @siriwatknp
|
|
18
|
+
- ​<!-- 04 -->[Input][joy] Simplify focus with `:focus-within` and add examples (#37385) @siriwatknp
|
|
19
|
+
|
|
20
|
+
### Docs
|
|
21
|
+
|
|
22
|
+
- ​<!-- 17 -->[docs] Move Toolpad from alpha to beta (#37288) @bharatkashyap
|
|
23
|
+
- ​<!-- 16 -->[docs] Add usage of createCssVarsProvider (#37513) @brijeshb42
|
|
24
|
+
- ​<!-- 15 -->[docs] Update /base url references to /base-ui (#37412) @brijeshb42
|
|
25
|
+
- ​<!-- 14 -->[docs] Skip components and hooks due to duplicate index (#37539) @siriwatknp
|
|
26
|
+
- ​<!-- 13 -->[docs] Polish Sign in to your account joy demo (#37498) @oliviertassinari
|
|
27
|
+
- ​<!-- 12 -->[docs] Remove outdated Material UI FAQ @oliviertassinari
|
|
28
|
+
- ​<!-- 11 -->[docs] Fix crash access to localStorage in Firefox (#37518) @brijeshb42
|
|
29
|
+
- ​<!-- 10 -->[docs-infra] Enforce max length on description (#37565) @oliviertassinari
|
|
30
|
+
- ​<!-- 09 -->[docs-infra] Mandatory versions (#37497) @oliviertassinari
|
|
31
|
+
- ​<!-- 08 -->[docs-infra] Fix lighthouse img size issue (#37415) @oliviertassinari
|
|
32
|
+
- ​<!-- 07 -->[docs][joy] Replace JoyInput with Input component in JoyUI Text Field documentation (#37548) @musama619
|
|
33
|
+
- ​<!-- 06 -->[docs][joy] Add typography introduction demo component (#37553) @sernstberger
|
|
34
|
+
- ​<!-- 05 -->[docs][joy] Add a rental dashboard template (#37453) @sernstberger
|
|
35
|
+
|
|
36
|
+
### Core
|
|
37
|
+
|
|
38
|
+
- ​<!-- 21 -->Move the React Community Engineer - X in Open Roles (#37552) @DanailH
|
|
39
|
+
- ​<!-- 18 -->[core] Update Node.js version to v18 on CircleCI, CodeSandbox, and Netlify (#37173) @ZeeshanTamboli
|
|
40
|
+
- ​<!-- 02 -->[website] RIDI gold sponsorship end (#37517) @oliviertassinari
|
|
41
|
+
- ​<!-- 01 -->[website] Update X landing page (#37387) @cherniavskii
|
|
42
|
+
|
|
43
|
+
All contributors of this release in alphabetical order: @brijeshb42, @cherniavskii, @DanailH, @DiegoAndai, @musama619, @oliviertassinari, @sernstberger, @siriwatknp, @ZeeshanTamboli
|
|
44
|
+
|
|
45
|
+
## 5.13.4
|
|
46
|
+
|
|
47
|
+
<!-- generated comparing v5.13.3..master -->
|
|
48
|
+
|
|
49
|
+
_Jun 5, 2023_
|
|
50
|
+
|
|
51
|
+
A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
52
|
+
|
|
53
|
+
### `@mui/material@5.13.4`
|
|
54
|
+
|
|
55
|
+
- ​<!-- 20 -->[Autocomplete][material] Add missing `focusVisible` class in AutocompleteClasses (#37502) @sai6855
|
|
56
|
+
- ​<!-- 04 -->[Menu][material] Fix MenuPaper class composition precedence (#37390) @DiegoAndai
|
|
57
|
+
- ​<!-- 03 -->[MenuList] Fix to allow conditional rendering for a menu item under ListSubheader (#36890) @danielplewes
|
|
58
|
+
- ​<!-- 02 -->[Stepper] Handle progress bar of mobile stepper when `steps` is one (#37079) @gitstart
|
|
59
|
+
|
|
60
|
+
### `@mui/base@5.0.0-beta.4`
|
|
61
|
+
|
|
62
|
+
- ​<!-- 16 -->[Input][base] Fix calling slotProps event handlers (#37463) @sai6855
|
|
63
|
+
|
|
64
|
+
### `@mui/joy@5.0.0-alpha.82`
|
|
65
|
+
|
|
66
|
+
- ​<!-- 19 -->[Avatar][joy] Fallback to `alt` when `src` or `srcSet` are not defined (#37469) @vishalthatipamula0219
|
|
67
|
+
- ​<!-- 15 -->[Card][joy] Improve usability of card family (#37474) @siriwatknp
|
|
68
|
+
|
|
69
|
+
### Docs
|
|
70
|
+
|
|
71
|
+
- ​<!-- 18 -->[docs][base] useAutocomplete demos & docs (#37029) @mj12albert
|
|
72
|
+
- ​<!-- 17 -->[docs][base] Remove usage of `component` prop in docs (#37462) @sai6855
|
|
73
|
+
- ​<!-- 13 -->[docs] Fix docs redirections @oliviertassinari
|
|
74
|
+
- ​<!-- 12 -->[docs] Fix Fluent -> Fluent UI @oliviertassinari
|
|
75
|
+
- ​<!-- 11 -->[docs] Fix MUI Base -> Base UI @oliviertassinari
|
|
76
|
+
- ​<!-- 10 -->[docs] Add base-vite-tailwind example repo (#36994) @mj12albert
|
|
77
|
+
- ​<!-- 09 -->[docs] Fix search bar layout shift (#37460) @oliviertassinari
|
|
78
|
+
- ​<!-- 08 -->[docs] Tweak Material UI's "Showcase" page design (#37259) @danilo-leal
|
|
79
|
+
- ​<!-- 07 -->[docs] Tweak Material UI's "Template" page design (#37260) @danilo-leal
|
|
80
|
+
- ​<!-- 06 -->[docs] Fix "Language" page removal leftovers (#37408) @danilo-leal
|
|
81
|
+
- ​<!-- 05 -->[docs] Move contents of css-variables to sibling pages (#37411) @brijeshb42
|
|
82
|
+
|
|
83
|
+
### Core
|
|
84
|
+
|
|
85
|
+
- ​<!-- 14 -->[core] Do not let Renovate handle `examples` packages updates (#37386) @ZeeshanTamboli
|
|
86
|
+
- ​<!-- 01 -->[website] Add header filters to the pricing table (#37455) @MBilalShafi
|
|
87
|
+
|
|
88
|
+
All contributors of this release in alphabetical order: @brijeshb42, @danielplewes, @danilo-leal, @DiegoAndai, @gitstart, @MBilalShafi, @mj12albert, @oliviertassinari, @sai6855, @siriwatknp, @vishalthatipamula0219, @ZeeshanTamboli
|
|
89
|
+
|
|
90
|
+
## 5.13.3
|
|
91
|
+
|
|
92
|
+
<!-- generated comparing v5.13.2..master -->
|
|
93
|
+
|
|
94
|
+
_May 29, 2023_
|
|
95
|
+
|
|
96
|
+
A big thanks to the 15 contributors who made this release possible.
|
|
97
|
+
This release focuses primarily on 🐛 bug fixes and 📚 documentation improvements.
|
|
98
|
+
|
|
99
|
+
### `@mui/material@5.13.3
|
|
100
|
+
|
|
101
|
+
- ​<!-- 22 -->[Autocomplete] Accept external Listbox ref (#37325) @sai6855
|
|
102
|
+
- ​<!-- 06 -->[Modal] Pass `className` from `BackdropProps` (#37399) @hbjORbj
|
|
103
|
+
|
|
104
|
+
### `@mui/base@5.0.0-beta.3`
|
|
105
|
+
|
|
106
|
+
- ​<!-- 20 -->[base] Maintain nodes document order in compound components (#36857) @michaldudak
|
|
107
|
+
- ​<!-- 19 -->[base][joy] Prevent persisting hover state styles onclick on mobile (#36704) @gitstart
|
|
108
|
+
- ​<!-- 18 -->[Menu][base] MenuItem as a link does not work (#37242) @nicolas-ot
|
|
109
|
+
- ​<!-- 17 -->[MenuItem][Base] Pass idGenerator function (#37364) @sai6855
|
|
110
|
+
- ​<!-- 16 -->[Slider][Base] Add Vertical slider demo (#37357) @sai6855
|
|
111
|
+
|
|
112
|
+
### `@mui/joy@5.0.0-alpha.82`
|
|
113
|
+
|
|
114
|
+
- ​<!-- 23 -->[Select][joy] Fix popup does not close (#37435) @siriwatknp
|
|
115
|
+
- ​<!-- 21 -->[Badge][Joy] Fix `slots` element type in API docs (#37329) @zignis
|
|
116
|
+
- ​<!-- 04 -->[Select] [joy] Handle long text content (#37289) @akash191095
|
|
117
|
+
- ​<!-- 07 -->[Tooltip][Joy] Interactive doesn't work (#37159) @nicolas-ot
|
|
118
|
+
|
|
119
|
+
### `@mui/codemod@5.13.3
|
|
120
|
+
|
|
121
|
+
- ​<!-- 05 -->[mui-codemod] Add missing script to README (#37377) @hbjORbj
|
|
122
|
+
|
|
123
|
+
### Docs
|
|
124
|
+
|
|
125
|
+
- ​<!-- 14 -->[docs] Clarify Hidden down props as exclusive (#36927) @canac
|
|
126
|
+
- ​<!-- 13 -->[docs] Add refine to Material UI "Related projects" and "More advanced example projects" pages (#37308) @necatiozmen
|
|
127
|
+
- ​<!-- 12 -->[docs] Remove todo link from sidebar (#37373) @brijeshb42
|
|
128
|
+
- ​<!-- 11 -->[docs] Clarify the peer dependency with react (#37360) @oliviertassinari
|
|
129
|
+
- ​<!-- 10 -->[docs] Divider vertical middle prop migration (#36840) @JhonnK08
|
|
130
|
+
- ​<!-- 09 -->[docs] Fix branding theme tabs and navigation bar regressions (#37362) @ZeeshanTamboli
|
|
131
|
+
- ​<!-- 08 -->[docs-infra] Throw on incorrect internal links (#37326) @oliviertassinari
|
|
132
|
+
|
|
133
|
+
### Core
|
|
134
|
+
|
|
135
|
+
- ​<!-- 15 -->[core] Include scoped JSX namespace when resolving props (#37404) @LukasTy
|
|
136
|
+
- ​<!-- 03 -->[test][useMediaQuery] Change SSR test description (#37403) @zignis
|
|
137
|
+
- ​<!-- 02 -->[website] Sync with Ashby @oliviertassinari
|
|
138
|
+
- ​<!-- 01 -->[website] Add David to about page (#37379) @DavidCnoops
|
|
139
|
+
|
|
140
|
+
All contributors of this release in alphabetical order: @akash191095, @brijeshb42, @canac, @DavidCnoops, @gitstart, @hbjORbj, @JhonnK08, @LukasTy, @michaldudak, @necatiozmen, @nicolas-ot, @oliviertassinari, @sai6855, @ZeeshanTamboli, @zignis
|
|
141
|
+
|
|
142
|
+
## 5.13.2
|
|
143
|
+
|
|
144
|
+
<!-- generated comparing v5.13.1..master -->
|
|
145
|
+
|
|
146
|
+
_May 22, 2023_
|
|
147
|
+
|
|
148
|
+
A big thanks to the 12 contributors who made this release possible.
|
|
149
|
+
📚 This release focuses primarily on documentation improvements.
|
|
150
|
+
|
|
151
|
+
### `@mui/material@5.13.2
|
|
152
|
+
|
|
153
|
+
- [Slider] Tooltip positioning fixed for vertical slider (#37049) @PunitSoniME
|
|
154
|
+
|
|
155
|
+
### Docs
|
|
156
|
+
|
|
157
|
+
- [docs][base] Remove default annotations from useTabsList return type (#37324) @TinaSay
|
|
158
|
+
- [docs][base] Remove default annotations from useTabPanel return type (#37323) @TinaSay
|
|
159
|
+
- [docs][base] Remove default annotations from useSwitch return type (#37322) @TinaSay
|
|
160
|
+
- [docs][base] Remove default annotations from useInput return type (#37321) @TinaSay
|
|
161
|
+
- [docs][base] Remove default annotations from useAutocomplete return type (#37320) @TinaSay
|
|
162
|
+
- [docs][base] Remove default annotations from useBadge's return type (#37313) @TinaSay
|
|
163
|
+
- [docs][base] Remove default annotations from useButton's return type (#37312) @TinaSay
|
|
164
|
+
- [docs][base] Remove default annotations from useSlider's return type (#37309) @TinaSay
|
|
165
|
+
- [docs] Remove Material UI's "Languages" page (#37314) @danilo-leal
|
|
166
|
+
- [docs] Prefer to link GitHub repository @oliviertassinari
|
|
167
|
+
- [docs] Move product versions to page context (#35078) @m4theushw
|
|
168
|
+
- [docs] Fix v5 migration npm install instruction (#37293) @oliviertassinari
|
|
169
|
+
- [docs][Tab] Add vertical tabs demo (#37292) @sai6855
|
|
170
|
+
- [docs][Transitions] Fix typo in code sample (#37300) @alexfauquette
|
|
171
|
+
- [examples] Remove `@babel/plugin-proposal-class-properties` from Material-Express-SSR example (#37305) @ZeeshanTamboli
|
|
172
|
+
- [Website] Add Brijesh to About page (#37318) @brijeshb42
|
|
173
|
+
- [website] Update pricing table (#37290) @cherniavskii
|
|
174
|
+
- [website] Update core open roles (#37224) @mnajdova
|
|
175
|
+
|
|
176
|
+
### Core
|
|
177
|
+
|
|
178
|
+
- Revert "[core] Remove outdated babel proposal plugins (#36795)" (#37331) @michaldudak
|
|
179
|
+
- [core] Move esmExternals to the shared next config (#37332) @michaldudak
|
|
180
|
+
|
|
181
|
+
All contributors of this release in alphabetical order: @alexfauquette, @brijeshb42, @cherniavskii, @danilo-leal, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @PunitSoniME, @sai6855, @TinaSay, @ZeeshanTamboli
|
|
182
|
+
|
|
3
183
|
## 5.13.1
|
|
4
184
|
|
|
5
185
|
<!-- generated comparing v5.13.0..master -->
|
|
@@ -627,7 +807,7 @@ _Mar 14, 2023_
|
|
|
627
807
|
|
|
628
808
|
A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
629
809
|
|
|
630
|
-
- @michaldudak added an option for [disabling the generation](https://mui.com/base/getting-started/customization/#disabling-default-css-classes) of the default classes in Base UI (#35963)
|
|
810
|
+
- @michaldudak added an option for [disabling the generation](https://mui.com/base-ui/getting-started/customization/#disabling-default-css-classes) of the default classes in Base UI (#35963)
|
|
631
811
|
- other 🐛 bug fixes and 📚 documentation improvements.
|
|
632
812
|
|
|
633
813
|
### `@mui/material@5.11.13`
|
|
@@ -812,7 +992,7 @@ _Feb 27, 2023_
|
|
|
812
992
|
|
|
813
993
|
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
814
994
|
|
|
815
|
-
- 📚 added API documentation for the slots in Base UI and Joy UI by @hbjORbj, for e.g. [SliderUnstyled API](https://mui.com/base/api/slider-unstyled/#slots)
|
|
995
|
+
- 📚 added API documentation for the slots in Base UI and Joy UI by @hbjORbj, for e.g. [SliderUnstyled API](https://mui.com/base-ui/api/slider-unstyled/#slots)
|
|
816
996
|
- other 🐛 bug fixes and 📚 documentation improvements.
|
|
817
997
|
|
|
818
998
|
### `@mui/material@5.11.11`
|
|
@@ -1181,7 +1361,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
1181
1361
|
+ <SliderUnstyled slots={{ valueLabel: SliderValueLabel }} />
|
|
1182
1362
|
```
|
|
1183
1363
|
|
|
1184
|
-
The following demo shows how to show a value label when it is hovered over with the thumb: https://mui.com/base/react-slider/#value-label
|
|
1364
|
+
The following demo shows how to show a value label when it is hovered over with the thumb: https://mui.com/base-ui/react-slider/#value-label
|
|
1185
1365
|
|
|
1186
1366
|
- The following classes are removed from `sliderUnstyledClasses` since they are not needed for the value label:
|
|
1187
1367
|
|
|
@@ -2174,7 +2354,7 @@ _Oct 3, 2022_
|
|
|
2174
2354
|
|
|
2175
2355
|
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
2176
2356
|
|
|
2177
|
-
- 🚀 [SnackbarUnstyled](https://mui.com/base/react-snackbar/) component & headless hook are added to Base UI (#33227) @ZeeshanTamboli
|
|
2357
|
+
- 🚀 [SnackbarUnstyled](https://mui.com/base-ui/react-snackbar/) component & headless hook are added to Base UI (#33227) @ZeeshanTamboli
|
|
2178
2358
|
- 📚 [CSS variables documentation](https://mui.com/material-ui/experimental-api/css-theme-variables/overview/) for Material UI has been added by @siriwatknp (#33958)
|
|
2179
2359
|
- And more 🐛 bug fixes and 📚 documentation improvements.
|
|
2180
2360
|
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = createContainer;
|
|
8
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
9
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
8
10
|
var React = _interopRequireWildcard(require("react"));
|
|
9
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
12
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
@@ -13,6 +15,7 @@ var _useThemeProps = _interopRequireDefault(require("../useThemeProps"));
|
|
|
13
15
|
var _styled = _interopRequireDefault(require("../styled"));
|
|
14
16
|
var _createTheme = _interopRequireDefault(require("../createTheme"));
|
|
15
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
+
const _excluded = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
|
|
16
19
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
20
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
18
21
|
const defaultTheme = (0, _createTheme.default)();
|
|
@@ -56,22 +59,20 @@ function createContainer(options = {}) {
|
|
|
56
59
|
const ContainerRoot = createStyledComponent(({
|
|
57
60
|
theme,
|
|
58
61
|
ownerState
|
|
59
|
-
}) => ({
|
|
62
|
+
}) => (0, _extends2.default)({
|
|
60
63
|
width: '100%',
|
|
61
64
|
marginLeft: 'auto',
|
|
62
65
|
boxSizing: 'border-box',
|
|
63
66
|
marginRight: 'auto',
|
|
64
|
-
display: 'block'
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
})
|
|
67
|
+
display: 'block'
|
|
68
|
+
}, !ownerState.disableGutters && {
|
|
69
|
+
paddingLeft: theme.spacing(2),
|
|
70
|
+
paddingRight: theme.spacing(2),
|
|
71
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
72
|
+
[theme.breakpoints.up('sm')]: {
|
|
73
|
+
paddingLeft: theme.spacing(3),
|
|
74
|
+
paddingRight: theme.spacing(3)
|
|
75
|
+
}
|
|
75
76
|
}), ({
|
|
76
77
|
theme,
|
|
77
78
|
ownerState
|
|
@@ -88,58 +89,51 @@ function createContainer(options = {}) {
|
|
|
88
89
|
}, {}), ({
|
|
89
90
|
theme,
|
|
90
91
|
ownerState
|
|
91
|
-
}) => ({
|
|
92
|
+
}) => (0, _extends2.default)({}, ownerState.maxWidth === 'xs' && {
|
|
92
93
|
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
93
|
-
|
|
94
|
+
[theme.breakpoints.up('xs')]: {
|
|
94
95
|
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
...(ownerState.maxWidth &&
|
|
96
|
+
maxWidth: Math.max(theme.breakpoints.values.xs, 444)
|
|
97
|
+
}
|
|
98
|
+
}, ownerState.maxWidth &&
|
|
99
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
100
|
+
ownerState.maxWidth !== 'xs' && {
|
|
101
101
|
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
102
|
-
ownerState.maxWidth
|
|
102
|
+
[theme.breakpoints.up(ownerState.maxWidth)]: {
|
|
103
103
|
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
maxWidth: `${theme.breakpoints.values[ownerState.maxWidth]}${theme.breakpoints.unit}`
|
|
107
|
-
}
|
|
108
|
-
})
|
|
104
|
+
maxWidth: `${theme.breakpoints.values[ownerState.maxWidth]}${theme.breakpoints.unit}`
|
|
105
|
+
}
|
|
109
106
|
}));
|
|
110
107
|
const Container = /*#__PURE__*/React.forwardRef(function Container(inProps, ref) {
|
|
111
108
|
const props = useThemeProps(inProps);
|
|
112
109
|
const {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
const ownerState = {
|
|
122
|
-
...props,
|
|
110
|
+
className,
|
|
111
|
+
component = 'div',
|
|
112
|
+
disableGutters = false,
|
|
113
|
+
fixed = false,
|
|
114
|
+
maxWidth = 'lg'
|
|
115
|
+
} = props,
|
|
116
|
+
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
117
|
+
const ownerState = (0, _extends2.default)({}, props, {
|
|
123
118
|
component,
|
|
124
119
|
disableGutters,
|
|
125
120
|
fixed,
|
|
126
121
|
maxWidth
|
|
127
|
-
};
|
|
122
|
+
});
|
|
128
123
|
|
|
129
124
|
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
130
125
|
const classes = useUtilityClasses(ownerState, componentName);
|
|
131
126
|
return (
|
|
132
127
|
/*#__PURE__*/
|
|
133
128
|
// @ts-ignore theme is injected by the styled util
|
|
134
|
-
(0, _jsxRuntime.jsx)(ContainerRoot, {
|
|
129
|
+
(0, _jsxRuntime.jsx)(ContainerRoot, (0, _extends2.default)({
|
|
135
130
|
as: component
|
|
136
131
|
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
137
132
|
,
|
|
138
133
|
ownerState: ownerState,
|
|
139
134
|
className: (0, _clsx.default)(classes.root, className),
|
|
140
|
-
ref: ref
|
|
141
|
-
|
|
142
|
-
})
|
|
135
|
+
ref: ref
|
|
136
|
+
}, other))
|
|
143
137
|
);
|
|
144
138
|
});
|
|
145
139
|
process.env.NODE_ENV !== "production" ? Container.propTypes /* remove-proptypes */ = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { Interpolation } from '@mui/styled-engine';
|
|
3
3
|
import { Theme as SystemTheme } from '../createTheme';
|
|
4
4
|
export interface GlobalStylesProps<Theme = SystemTheme> {
|
|
@@ -6,7 +6,7 @@ export interface GlobalStylesProps<Theme = SystemTheme> {
|
|
|
6
6
|
defaultTheme?: object;
|
|
7
7
|
themeId?: string;
|
|
8
8
|
}
|
|
9
|
-
declare function GlobalStyles<Theme = SystemTheme>({ styles, themeId, defaultTheme, }: GlobalStylesProps<Theme>): JSX.Element;
|
|
9
|
+
declare function GlobalStyles<Theme = SystemTheme>({ styles, themeId, defaultTheme, }: GlobalStylesProps<Theme>): React.JSX.Element;
|
|
10
10
|
declare namespace GlobalStyles {
|
|
11
11
|
var propTypes: any;
|
|
12
12
|
}
|
package/Stack/createStack.js
CHANGED
|
@@ -6,6 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = createStack;
|
|
8
8
|
exports.style = void 0;
|
|
9
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
11
|
var React = _interopRequireWildcard(require("react"));
|
|
10
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
13
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
@@ -17,6 +19,7 @@ var _createTheme = _interopRequireDefault(require("../createTheme"));
|
|
|
17
19
|
var _breakpoints = require("../breakpoints");
|
|
18
20
|
var _spacing = require("../spacing");
|
|
19
21
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
22
|
+
const _excluded = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
|
|
20
23
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
22
25
|
const defaultTheme = (0, _createTheme.default)();
|
|
@@ -65,18 +68,17 @@ const style = ({
|
|
|
65
68
|
ownerState,
|
|
66
69
|
theme
|
|
67
70
|
}) => {
|
|
68
|
-
let styles = {
|
|
71
|
+
let styles = (0, _extends2.default)({
|
|
69
72
|
display: 'flex',
|
|
70
|
-
flexDirection: 'column'
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
};
|
|
73
|
+
flexDirection: 'column'
|
|
74
|
+
}, (0, _breakpoints.handleBreakpoints)({
|
|
75
|
+
theme
|
|
76
|
+
}, (0, _breakpoints.resolveBreakpointValues)({
|
|
77
|
+
values: ownerState.direction,
|
|
78
|
+
breakpoints: theme.breakpoints.values
|
|
79
|
+
}), propValue => ({
|
|
80
|
+
flexDirection: propValue
|
|
81
|
+
})));
|
|
80
82
|
if (ownerState.spacing) {
|
|
81
83
|
const transformer = (0, _spacing.createUnarySpacing)(theme);
|
|
82
84
|
const base = Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {
|
|
@@ -141,29 +143,29 @@ function createStack(options = {}) {
|
|
|
141
143
|
const themeProps = useThemeProps(inProps);
|
|
142
144
|
const props = (0, _styleFunctionSx.extendSxProp)(themeProps); // `color` type conflicts with html color attribute.
|
|
143
145
|
const {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
146
|
+
component = 'div',
|
|
147
|
+
direction = 'column',
|
|
148
|
+
spacing = 0,
|
|
149
|
+
divider,
|
|
150
|
+
children,
|
|
151
|
+
className,
|
|
152
|
+
useFlexGap = false
|
|
153
|
+
} = props,
|
|
154
|
+
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
153
155
|
const ownerState = {
|
|
154
156
|
direction,
|
|
155
157
|
spacing,
|
|
156
158
|
useFlexGap
|
|
157
159
|
};
|
|
158
160
|
const classes = useUtilityClasses();
|
|
159
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(StackRoot, {
|
|
161
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(StackRoot, (0, _extends2.default)({
|
|
160
162
|
as: component,
|
|
161
163
|
ownerState: ownerState,
|
|
162
164
|
ref: ref,
|
|
163
|
-
className: (0, _clsx.default)(classes.root, className)
|
|
164
|
-
|
|
165
|
+
className: (0, _clsx.default)(classes.root, className)
|
|
166
|
+
}, other, {
|
|
165
167
|
children: divider ? joinChildren(children, divider) : children
|
|
166
|
-
});
|
|
168
|
+
}));
|
|
167
169
|
});
|
|
168
170
|
process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ = {
|
|
169
171
|
children: _propTypes.default.node,
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
8
9
|
var React = _interopRequireWildcard(require("react"));
|
|
9
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
11
|
var _privateTheming = require("@mui/private-theming");
|
|
@@ -20,10 +21,9 @@ function useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {
|
|
|
20
21
|
const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;
|
|
21
22
|
if (typeof localTheme === 'function') {
|
|
22
23
|
const mergedTheme = localTheme(resolvedTheme);
|
|
23
|
-
const result = themeId ? {
|
|
24
|
-
...upperTheme,
|
|
24
|
+
const result = themeId ? (0, _extends2.default)({}, upperTheme, {
|
|
25
25
|
[themeId]: mergedTheme
|
|
26
|
-
} : mergedTheme;
|
|
26
|
+
}) : mergedTheme;
|
|
27
27
|
// must return a function for the private theme to NOT merge with the upper theme.
|
|
28
28
|
// see the test case "use provided theme from a callback" in ThemeProvider.test.js
|
|
29
29
|
if (isPrivate) {
|
|
@@ -31,13 +31,9 @@ function useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {
|
|
|
31
31
|
}
|
|
32
32
|
return result;
|
|
33
33
|
}
|
|
34
|
-
return themeId ? {
|
|
35
|
-
...upperTheme,
|
|
34
|
+
return themeId ? (0, _extends2.default)({}, upperTheme, {
|
|
36
35
|
[themeId]: localTheme
|
|
37
|
-
} : {
|
|
38
|
-
...upperTheme,
|
|
39
|
-
...localTheme
|
|
40
|
-
};
|
|
36
|
+
}) : (0, _extends2.default)({}, upperTheme, localTheme);
|
|
41
37
|
}, [themeId, upperTheme, localTheme, isPrivate]);
|
|
42
38
|
}
|
|
43
39
|
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = createGrid;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
8
10
|
var React = _interopRequireWildcard(require("react"));
|
|
9
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
12
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
@@ -16,6 +18,7 @@ var _styleFunctionSx = require("../styleFunctionSx");
|
|
|
16
18
|
var _createTheme = _interopRequireDefault(require("../createTheme"));
|
|
17
19
|
var _gridGenerator = require("./gridGenerator");
|
|
18
20
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
+
const _excluded = ["className", "children", "columns", "container", "component", "direction", "wrap", "spacing", "rowSpacing", "columnSpacing", "disableEqualOverflow", "unstable_level"];
|
|
19
22
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
20
23
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
24
|
const defaultTheme = (0, _createTheme.default)();
|
|
@@ -62,20 +65,20 @@ function createGrid(options = {}) {
|
|
|
62
65
|
const props = (0, _styleFunctionSx.extendSxProp)(themeProps); // `color` type conflicts with html color attribute.
|
|
63
66
|
const overflow = React.useContext(OverflowContext);
|
|
64
67
|
const {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
68
|
+
className,
|
|
69
|
+
children,
|
|
70
|
+
columns: columnsProp = 12,
|
|
71
|
+
container = false,
|
|
72
|
+
component = 'div',
|
|
73
|
+
direction = 'row',
|
|
74
|
+
wrap = 'wrap',
|
|
75
|
+
spacing: spacingProp = 0,
|
|
76
|
+
rowSpacing: rowSpacingProp = spacingProp,
|
|
77
|
+
columnSpacing: columnSpacingProp = spacingProp,
|
|
78
|
+
disableEqualOverflow: themeDisableEqualOverflow,
|
|
79
|
+
unstable_level: level = 0
|
|
80
|
+
} = props,
|
|
81
|
+
rest = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
79
82
|
// Because `disableEqualOverflow` can be set from the theme's defaultProps, the **nested** grid should look at the instance props instead.
|
|
80
83
|
let disableEqualOverflow = themeDisableEqualOverflow;
|
|
81
84
|
if (level && themeDisableEqualOverflow !== undefined) {
|
|
@@ -98,8 +101,7 @@ function createGrid(options = {}) {
|
|
|
98
101
|
const spacing = (_inProps$spacing = inProps.spacing) != null ? _inProps$spacing : level ? undefined : spacingProp;
|
|
99
102
|
const rowSpacing = (_ref = (_inProps$rowSpacing = inProps.rowSpacing) != null ? _inProps$rowSpacing : inProps.spacing) != null ? _ref : level ? undefined : rowSpacingProp;
|
|
100
103
|
const columnSpacing = (_ref2 = (_inProps$columnSpacin = inProps.columnSpacing) != null ? _inProps$columnSpacin : inProps.spacing) != null ? _ref2 : level ? undefined : columnSpacingProp;
|
|
101
|
-
const ownerState = {
|
|
102
|
-
...props,
|
|
104
|
+
const ownerState = (0, _extends2.default)({}, props, {
|
|
103
105
|
level,
|
|
104
106
|
columns,
|
|
105
107
|
container,
|
|
@@ -113,15 +115,15 @@ function createGrid(options = {}) {
|
|
|
113
115
|
disableEqualOverflow: (_ref3 = (_disableEqualOverflow = disableEqualOverflow) != null ? _disableEqualOverflow : overflow) != null ? _ref3 : false,
|
|
114
116
|
// use context value if exists.
|
|
115
117
|
parentDisableEqualOverflow: overflow // for nested grid
|
|
116
|
-
};
|
|
118
|
+
});
|
|
117
119
|
|
|
118
120
|
const classes = useUtilityClasses(ownerState, theme);
|
|
119
|
-
let result = /*#__PURE__*/(0, _jsxRuntime.jsx)(GridRoot, {
|
|
121
|
+
let result = /*#__PURE__*/(0, _jsxRuntime.jsx)(GridRoot, (0, _extends2.default)({
|
|
120
122
|
ref: ref,
|
|
121
123
|
as: component,
|
|
122
124
|
ownerState: ownerState,
|
|
123
|
-
className: (0, _clsx.default)(classes.root, className)
|
|
124
|
-
|
|
125
|
+
className: (0, _clsx.default)(classes.root, className)
|
|
126
|
+
}, other, {
|
|
125
127
|
children: React.Children.map(children, child => {
|
|
126
128
|
if ( /*#__PURE__*/React.isValidElement(child) && (0, _utils.unstable_isMuiElement)(child, ['Grid'])) {
|
|
127
129
|
var _child$props$unstable;
|
|
@@ -131,7 +133,7 @@ function createGrid(options = {}) {
|
|
|
131
133
|
}
|
|
132
134
|
return child;
|
|
133
135
|
})
|
|
134
|
-
});
|
|
136
|
+
}));
|
|
135
137
|
if (disableEqualOverflow !== undefined && disableEqualOverflow !== (overflow != null ? overflow : false)) {
|
|
136
138
|
// There are 2 possibilities that should wrap with the OverflowContext to communicate with the nested grids:
|
|
137
139
|
// 1. It is the root grid with `disableEqualOverflow`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Breakpoints
|
|
1
|
+
import { Breakpoints } from '../createTheme/createBreakpoints';
|
|
2
2
|
import { Spacing } from '../createTheme/createSpacing';
|
|
3
3
|
import { ResponsiveStyleValue } from '../styleFunctionSx';
|
|
4
4
|
import { GridDirection, GridOwnerState } from './GridProps';
|
|
@@ -11,11 +11,6 @@ interface Props {
|
|
|
11
11
|
parentDisableEqualOverflow?: boolean;
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
interface Iterator<T> {
|
|
15
|
-
(appendStyle: (responsiveStyles: Record<string, any>, style: object) => void, value: T): void;
|
|
16
|
-
}
|
|
17
|
-
export declare const filterBreakpointKeys: (breakpointsKeys: Breakpoint[], responsiveKeys: string[]) => Breakpoint[];
|
|
18
|
-
export declare const traverseBreakpoints: <T = unknown>(breakpoints: Breakpoints, responsive: Record<string, any> | T | T[] | undefined, iterator: Iterator<T>) => void;
|
|
19
14
|
export declare const generateGridSizeStyles: ({ theme, ownerState }: Props) => {};
|
|
20
15
|
export declare const generateGridOffsetStyles: ({ theme, ownerState }: Props) => {};
|
|
21
16
|
export declare const generateGridColumnsStyles: ({ theme, ownerState }: Props) => {
|