@mui/material 9.0.0-alpha.3 → 9.0.0-alpha.4

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.
Files changed (302) hide show
  1. package/Accordion/Accordion.d.mts +0 -14
  2. package/Accordion/Accordion.d.ts +0 -14
  3. package/Accordion/Accordion.js +3 -25
  4. package/Accordion/Accordion.mjs +3 -25
  5. package/AccordionSummary/AccordionSummary.js +1 -1
  6. package/AccordionSummary/AccordionSummary.mjs +1 -1
  7. package/AccordionSummary/accordionSummaryClasses.d.mts +0 -5
  8. package/AccordionSummary/accordionSummaryClasses.d.ts +0 -5
  9. package/AccordionSummary/accordionSummaryClasses.js +1 -1
  10. package/AccordionSummary/accordionSummaryClasses.mjs +1 -1
  11. package/Alert/Alert.d.mts +0 -23
  12. package/Alert/Alert.d.ts +0 -23
  13. package/Alert/Alert.js +4 -36
  14. package/Alert/Alert.mjs +4 -36
  15. package/Alert/alertClasses.d.mts +0 -72
  16. package/Alert/alertClasses.d.ts +0 -72
  17. package/Alert/alertClasses.js +1 -1
  18. package/Alert/alertClasses.mjs +1 -1
  19. package/Autocomplete/Autocomplete.d.mts +10 -60
  20. package/Autocomplete/Autocomplete.d.ts +10 -60
  21. package/Autocomplete/Autocomplete.js +33 -99
  22. package/Autocomplete/Autocomplete.mjs +33 -99
  23. package/Avatar/Avatar.d.mts +0 -8
  24. package/Avatar/Avatar.d.ts +0 -8
  25. package/Avatar/Avatar.js +13 -35
  26. package/Avatar/Avatar.mjs +13 -35
  27. package/AvatarGroup/AvatarGroup.d.mts +0 -15
  28. package/AvatarGroup/AvatarGroup.d.ts +0 -15
  29. package/AvatarGroup/AvatarGroup.js +1 -18
  30. package/AvatarGroup/AvatarGroup.mjs +1 -18
  31. package/Backdrop/Backdrop.d.mts +1 -31
  32. package/Backdrop/Backdrop.d.ts +1 -31
  33. package/Backdrop/Backdrop.js +2 -42
  34. package/Backdrop/Backdrop.mjs +2 -42
  35. package/Badge/Badge.d.mts +0 -20
  36. package/Badge/Badge.d.ts +0 -20
  37. package/Badge/Badge.js +2 -35
  38. package/Badge/Badge.mjs +2 -35
  39. package/Button/Button.js +6 -6
  40. package/Button/Button.mjs +6 -6
  41. package/Button/buttonClasses.d.mts +0 -132
  42. package/Button/buttonClasses.d.ts +0 -132
  43. package/Button/buttonClasses.js +1 -1
  44. package/Button/buttonClasses.mjs +1 -1
  45. package/ButtonBase/ButtonBase.js +16 -2
  46. package/ButtonBase/ButtonBase.mjs +16 -2
  47. package/CHANGELOG.md +154 -0
  48. package/CircularProgress/CircularProgress.js +2 -2
  49. package/CircularProgress/CircularProgress.mjs +2 -2
  50. package/CircularProgress/circularProgressClasses.d.mts +0 -8
  51. package/CircularProgress/circularProgressClasses.d.ts +0 -8
  52. package/CircularProgress/circularProgressClasses.js +1 -1
  53. package/CircularProgress/circularProgressClasses.mjs +1 -1
  54. package/Divider/Divider.d.mts +0 -6
  55. package/Divider/Divider.d.ts +0 -6
  56. package/Divider/Divider.js +2 -18
  57. package/Divider/Divider.mjs +2 -18
  58. package/Divider/dividerClasses.d.mts +0 -4
  59. package/Divider/dividerClasses.d.ts +0 -4
  60. package/Divider/dividerClasses.js +1 -1
  61. package/Divider/dividerClasses.mjs +1 -1
  62. package/FormControlLabel/FormControlLabel.d.mts +1 -14
  63. package/FormControlLabel/FormControlLabel.d.ts +1 -14
  64. package/FormControlLabel/FormControlLabel.js +1 -13
  65. package/FormControlLabel/FormControlLabel.mjs +1 -13
  66. package/Input/Input.js +2 -1
  67. package/Input/Input.mjs +2 -1
  68. package/Menu/Menu.d.mts +0 -13
  69. package/Menu/Menu.d.ts +0 -13
  70. package/Menu/Menu.js +5 -44
  71. package/Menu/Menu.mjs +5 -44
  72. package/MenuItem/MenuItem.js +21 -1
  73. package/MenuItem/MenuItem.mjs +23 -1
  74. package/MenuList/MenuList.js +2 -4
  75. package/MenuList/MenuList.mjs +2 -4
  76. package/MobileStepper/MobileStepper.d.mts +0 -5
  77. package/MobileStepper/MobileStepper.d.ts +0 -5
  78. package/MobileStepper/MobileStepper.js +1 -10
  79. package/MobileStepper/MobileStepper.mjs +1 -10
  80. package/Popover/Popover.d.mts +4 -48
  81. package/Popover/Popover.d.ts +4 -48
  82. package/Popover/Popover.js +4 -64
  83. package/Popover/Popover.mjs +4 -64
  84. package/Popper/Popper.d.mts +0 -17
  85. package/Popper/Popper.d.ts +0 -17
  86. package/Popper/Popper.js +2 -26
  87. package/Popper/Popper.mjs +2 -26
  88. package/Popper/index.d.mts +1 -0
  89. package/Popper/index.d.ts +1 -0
  90. package/Popper/index.js +11 -2
  91. package/Popper/index.mjs +1 -0
  92. package/Select/SelectInput.js +50 -55
  93. package/Select/SelectInput.mjs +47 -52
  94. package/Select/index.d.mts +1 -0
  95. package/Select/index.d.ts +1 -0
  96. package/Select/index.js +12 -0
  97. package/Select/index.mjs +1 -0
  98. package/Select/utils/SelectFocusSourceContext.d.mts +4 -0
  99. package/Select/utils/SelectFocusSourceContext.d.ts +4 -0
  100. package/Select/utils/SelectFocusSourceContext.js +19 -0
  101. package/Select/utils/SelectFocusSourceContext.mjs +13 -0
  102. package/Select/utils/areEqualValues.d.mts +1 -0
  103. package/Select/utils/areEqualValues.d.ts +1 -0
  104. package/Select/utils/areEqualValues.js +14 -0
  105. package/Select/utils/areEqualValues.mjs +8 -0
  106. package/Select/utils/getOpenInteractionType.d.mts +1 -0
  107. package/Select/utils/getOpenInteractionType.d.ts +1 -0
  108. package/Select/utils/getOpenInteractionType.js +18 -0
  109. package/Select/utils/getOpenInteractionType.mjs +12 -0
  110. package/Select/utils/index.d.mts +4 -0
  111. package/Select/utils/index.d.ts +4 -0
  112. package/Select/utils/index.js +40 -0
  113. package/Select/utils/index.mjs +4 -0
  114. package/Select/utils/isEmpty.d.mts +1 -0
  115. package/Select/utils/isEmpty.d.ts +1 -0
  116. package/Select/utils/isEmpty.js +9 -0
  117. package/Select/utils/isEmpty.mjs +3 -0
  118. package/Slider/Slider.d.mts +109 -77
  119. package/Slider/Slider.d.ts +109 -77
  120. package/Slider/Slider.js +42 -119
  121. package/Slider/Slider.mjs +42 -119
  122. package/Slider/sliderClasses.d.mts +7 -7
  123. package/Slider/sliderClasses.d.ts +7 -7
  124. package/Slider/useSlider.js +50 -14
  125. package/Slider/useSlider.mjs +50 -14
  126. package/Snackbar/Snackbar.d.mts +1 -27
  127. package/Snackbar/Snackbar.d.ts +1 -27
  128. package/Snackbar/Snackbar.js +5 -58
  129. package/Snackbar/Snackbar.mjs +5 -58
  130. package/SpeedDial/SpeedDial.d.mts +0 -13
  131. package/SpeedDial/SpeedDial.d.ts +0 -13
  132. package/SpeedDial/SpeedDial.js +15 -40
  133. package/SpeedDial/SpeedDial.mjs +15 -40
  134. package/SpeedDialAction/SpeedDialAction.d.mts +0 -28
  135. package/SpeedDialAction/SpeedDialAction.d.ts +0 -28
  136. package/SpeedDialAction/SpeedDialAction.js +5 -46
  137. package/SpeedDialAction/SpeedDialAction.mjs +5 -46
  138. package/TablePagination/TablePagination.d.mts +1 -1
  139. package/TablePagination/TablePagination.d.ts +1 -1
  140. package/TablePagination/TablePagination.js +4 -2
  141. package/TablePagination/TablePagination.mjs +4 -2
  142. package/Tabs/Tabs.d.mts +2 -33
  143. package/Tabs/Tabs.d.ts +2 -33
  144. package/Tabs/Tabs.js +8 -38
  145. package/Tabs/Tabs.mjs +8 -38
  146. package/TextField/TextField.d.mts +6 -49
  147. package/TextField/TextField.d.ts +6 -49
  148. package/TextField/TextField.js +18 -53
  149. package/TextField/TextField.mjs +18 -53
  150. package/Tooltip/Tooltip.d.mts +1 -55
  151. package/Tooltip/Tooltip.d.ts +1 -55
  152. package/Tooltip/Tooltip.js +9 -87
  153. package/Tooltip/Tooltip.mjs +9 -87
  154. package/Typography/Typography.d.mts +0 -6
  155. package/Typography/Typography.d.ts +0 -6
  156. package/Typography/Typography.js +3 -19
  157. package/Typography/Typography.mjs +3 -19
  158. package/Typography/typographyClasses.d.mts +0 -5
  159. package/Typography/typographyClasses.d.ts +0 -5
  160. package/Typography/typographyClasses.js +1 -1
  161. package/Typography/typographyClasses.mjs +1 -1
  162. package/index.d.mts +0 -2
  163. package/index.d.ts +0 -2
  164. package/index.js +1 -9
  165. package/index.mjs +1 -2
  166. package/locale/amET.js +4 -1
  167. package/locale/amET.mjs +3 -1
  168. package/locale/arEG.js +4 -1
  169. package/locale/arEG.mjs +3 -1
  170. package/locale/arSA.js +4 -1
  171. package/locale/arSA.mjs +3 -1
  172. package/locale/arSD.js +4 -1
  173. package/locale/arSD.mjs +3 -1
  174. package/locale/beBY.js +4 -1
  175. package/locale/beBY.mjs +3 -1
  176. package/locale/bnBD.js +4 -1
  177. package/locale/bnBD.mjs +3 -1
  178. package/locale/caES.js +4 -1
  179. package/locale/caES.mjs +3 -1
  180. package/locale/csCZ.js +4 -1
  181. package/locale/csCZ.mjs +3 -1
  182. package/locale/daDK.js +4 -1
  183. package/locale/daDK.mjs +3 -1
  184. package/locale/deDE.js +4 -1
  185. package/locale/deDE.mjs +3 -1
  186. package/locale/elGR.js +4 -1
  187. package/locale/elGR.mjs +3 -1
  188. package/locale/esES.js +4 -1
  189. package/locale/esES.mjs +3 -1
  190. package/locale/etEE.js +4 -1
  191. package/locale/etEE.mjs +3 -1
  192. package/locale/faIR.js +4 -1
  193. package/locale/faIR.mjs +3 -1
  194. package/locale/fiFI.js +4 -1
  195. package/locale/fiFI.mjs +3 -1
  196. package/locale/frFR.js +4 -1
  197. package/locale/frFR.mjs +3 -1
  198. package/locale/heIL.js +4 -1
  199. package/locale/heIL.mjs +3 -1
  200. package/locale/hiIN.js +4 -1
  201. package/locale/hiIN.mjs +3 -1
  202. package/locale/hrHR.js +5 -1
  203. package/locale/hrHR.mjs +4 -1
  204. package/locale/isIS.js +4 -1
  205. package/locale/isIS.mjs +3 -1
  206. package/locale/itIT.js +4 -1
  207. package/locale/itIT.mjs +3 -1
  208. package/locale/jaJP.js +4 -1
  209. package/locale/jaJP.mjs +3 -1
  210. package/locale/khKH.js +4 -1
  211. package/locale/khKH.mjs +3 -1
  212. package/locale/kkKZ.js +4 -1
  213. package/locale/kkKZ.mjs +3 -1
  214. package/locale/koKR.js +4 -1
  215. package/locale/koKR.mjs +3 -1
  216. package/locale/kuCKB.js +4 -1
  217. package/locale/kuCKB.mjs +3 -1
  218. package/locale/kuLatn.js +4 -1
  219. package/locale/kuLatn.mjs +3 -1
  220. package/locale/mkMK.js +5 -1
  221. package/locale/mkMK.mjs +4 -1
  222. package/locale/msMS.js +5 -1
  223. package/locale/msMS.mjs +4 -1
  224. package/locale/myMY.js +5 -1
  225. package/locale/myMY.mjs +4 -1
  226. package/locale/nbNO.js +4 -1
  227. package/locale/nbNO.mjs +3 -1
  228. package/locale/neNP.js +5 -1
  229. package/locale/neNP.mjs +4 -1
  230. package/locale/nlNL.js +4 -1
  231. package/locale/nlNL.mjs +3 -1
  232. package/locale/nnNO.js +4 -1
  233. package/locale/nnNO.mjs +3 -1
  234. package/locale/plPL.js +4 -1
  235. package/locale/plPL.mjs +3 -1
  236. package/locale/psAF.js +4 -1
  237. package/locale/psAF.mjs +3 -1
  238. package/locale/ptBR.js +4 -1
  239. package/locale/ptBR.mjs +3 -1
  240. package/locale/ptPT.js +4 -1
  241. package/locale/ptPT.mjs +3 -1
  242. package/locale/roRO.js +4 -1
  243. package/locale/roRO.mjs +3 -1
  244. package/locale/ruRU.js +4 -1
  245. package/locale/ruRU.mjs +3 -1
  246. package/locale/siLK.js +4 -1
  247. package/locale/siLK.mjs +3 -1
  248. package/locale/skSK.js +4 -1
  249. package/locale/skSK.mjs +3 -1
  250. package/locale/srRS.js +5 -1
  251. package/locale/srRS.mjs +4 -1
  252. package/locale/svSE.js +4 -1
  253. package/locale/svSE.mjs +3 -1
  254. package/locale/thTH.js +4 -1
  255. package/locale/thTH.mjs +3 -1
  256. package/locale/tlTL.js +5 -1
  257. package/locale/tlTL.mjs +4 -1
  258. package/locale/trTR.js +4 -1
  259. package/locale/trTR.mjs +3 -1
  260. package/locale/ukUA.js +4 -1
  261. package/locale/ukUA.mjs +3 -1
  262. package/locale/urPK.js +4 -1
  263. package/locale/urPK.mjs +3 -1
  264. package/locale/utils/buildFormatNumber.d.mts +2 -0
  265. package/locale/utils/buildFormatNumber.d.ts +2 -0
  266. package/locale/utils/buildFormatNumber.js +23 -0
  267. package/locale/utils/buildFormatNumber.mjs +17 -0
  268. package/locale/viVN.js +4 -1
  269. package/locale/viVN.mjs +3 -1
  270. package/locale/zhCN.js +4 -1
  271. package/locale/zhCN.mjs +3 -1
  272. package/locale/zhHK.js +4 -1
  273. package/locale/zhHK.mjs +3 -1
  274. package/locale/zhTW.js +4 -1
  275. package/locale/zhTW.mjs +3 -1
  276. package/package.json +6 -20
  277. package/styles/components.d.mts +0 -5
  278. package/styles/components.d.ts +0 -5
  279. package/styles/overrides.d.mts +0 -2
  280. package/styles/overrides.d.ts +0 -2
  281. package/styles/props.d.mts +0 -2
  282. package/styles/props.d.ts +0 -2
  283. package/useAutocomplete/useAutocomplete.d.mts +0 -12
  284. package/useAutocomplete/useAutocomplete.d.ts +0 -12
  285. package/useAutocomplete/useAutocomplete.js +29 -28
  286. package/useAutocomplete/useAutocomplete.mjs +29 -28
  287. package/version/index.js +2 -2
  288. package/version/index.mjs +2 -2
  289. package/GridLegacy/GridLegacy.d.mts +0 -160
  290. package/GridLegacy/GridLegacy.d.ts +0 -160
  291. package/GridLegacy/GridLegacy.js +0 -601
  292. package/GridLegacy/GridLegacy.mjs +0 -588
  293. package/GridLegacy/GridLegacyContext.js +0 -17
  294. package/GridLegacy/GridLegacyContext.mjs +0 -12
  295. package/GridLegacy/gridLegacyClasses.d.mts +0 -48
  296. package/GridLegacy/gridLegacyClasses.d.ts +0 -48
  297. package/GridLegacy/gridLegacyClasses.js +0 -27
  298. package/GridLegacy/gridLegacyClasses.mjs +0 -19
  299. package/GridLegacy/index.d.mts +0 -4
  300. package/GridLegacy/index.d.ts +0 -4
  301. package/GridLegacy/index.js +0 -35
  302. package/GridLegacy/index.mjs +0 -3
@@ -40,12 +40,6 @@ export interface TypographyOwnProps extends Omit<SystemProps<Theme>, 'color'> {
40
40
  * @default false
41
41
  */
42
42
  noWrap?: boolean | undefined;
43
- /**
44
- * If `true`, the element will be a paragraph element.
45
- * @default false
46
- * @deprecated Use the `component` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
47
- */
48
- paragraph?: boolean | undefined;
49
43
  /**
50
44
  * The system prop that allows defining system overrides as well as additional CSS styles.
51
45
  */
@@ -40,12 +40,6 @@ export interface TypographyOwnProps extends Omit<SystemProps<Theme>, 'color'> {
40
40
  * @default false
41
41
  */
42
42
  noWrap?: boolean | undefined;
43
- /**
44
- * If `true`, the element will be a paragraph element.
45
- * @default false
46
- * @deprecated Use the `component` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
47
- */
48
- paragraph?: boolean | undefined;
49
43
  /**
50
44
  * The system prop that allows defining system overrides as well as additional CSS styles.
51
45
  */
@@ -35,12 +35,11 @@ const useUtilityClasses = ownerState => {
35
35
  align,
36
36
  gutterBottom,
37
37
  noWrap,
38
- paragraph,
39
38
  variant,
40
39
  classes
41
40
  } = ownerState;
42
41
  const slots = {
43
- root: ['root', variant, ownerState.align !== 'inherit' && `align${(0, _capitalize.default)(align)}`, gutterBottom && 'gutterBottom', noWrap && 'noWrap', paragraph && 'paragraph']
42
+ root: ['root', variant, ownerState.align !== 'inherit' && `align${(0, _capitalize.default)(align)}`, gutterBottom && 'gutterBottom', noWrap && 'noWrap']
44
43
  };
45
44
  return (0, _composeClasses.default)(slots, _typographyClasses.getTypographyUtilityClass, classes);
46
45
  };
@@ -51,7 +50,7 @@ const TypographyRoot = exports.TypographyRoot = (0, _zeroStyled.styled)('span',
51
50
  const {
52
51
  ownerState
53
52
  } = props;
54
- return [styles.root, ownerState.variant && styles[ownerState.variant], ownerState.align !== 'inherit' && styles[`align${(0, _capitalize.default)(ownerState.align)}`], ownerState.noWrap && styles.noWrap, ownerState.gutterBottom && styles.gutterBottom, ownerState.paragraph && styles.paragraph];
53
+ return [styles.root, ownerState.variant && styles[ownerState.variant], ownerState.align !== 'inherit' && styles[`align${(0, _capitalize.default)(ownerState.align)}`], ownerState.noWrap && styles.noWrap, ownerState.gutterBottom && styles.gutterBottom];
55
54
  }
56
55
  })((0, _memoTheme.default)(({
57
56
  theme
@@ -109,13 +108,6 @@ const TypographyRoot = exports.TypographyRoot = (0, _zeroStyled.styled)('span',
109
108
  style: {
110
109
  marginBottom: '0.35em'
111
110
  }
112
- }, {
113
- props: ({
114
- ownerState
115
- }) => ownerState.paragraph,
116
- style: {
117
- marginBottom: 16
118
- }
119
111
  }]
120
112
  })));
121
113
  const defaultVariantMapping = {
@@ -153,7 +145,6 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
153
145
  component,
154
146
  gutterBottom = false,
155
147
  noWrap = false,
156
- paragraph = false,
157
148
  variant = 'body1',
158
149
  variantMapping = defaultVariantMapping,
159
150
  ...other
@@ -166,11 +157,10 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
166
157
  component,
167
158
  gutterBottom,
168
159
  noWrap,
169
- paragraph,
170
160
  variant,
171
161
  variantMapping
172
162
  };
173
- const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
163
+ const Component = component || variantMapping[variant] || defaultVariantMapping[variant] || 'span';
174
164
  const classes = useUtilityClasses(ownerState);
175
165
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(TypographyRoot, {
176
166
  as: Component,
@@ -232,12 +222,6 @@ process.env.NODE_ENV !== "production" ? Typography.propTypes /* remove-proptypes
232
222
  * @default false
233
223
  */
234
224
  noWrap: _propTypes.default.bool,
235
- /**
236
- * If `true`, the element will be a paragraph element.
237
- * @default false
238
- * @deprecated Use the `component` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
239
- */
240
- paragraph: _propTypes.default.bool,
241
225
  /**
242
226
  * @ignore
243
227
  */
@@ -28,12 +28,11 @@ const useUtilityClasses = ownerState => {
28
28
  align,
29
29
  gutterBottom,
30
30
  noWrap,
31
- paragraph,
32
31
  variant,
33
32
  classes
34
33
  } = ownerState;
35
34
  const slots = {
36
- root: ['root', variant, ownerState.align !== 'inherit' && `align${capitalize(align)}`, gutterBottom && 'gutterBottom', noWrap && 'noWrap', paragraph && 'paragraph']
35
+ root: ['root', variant, ownerState.align !== 'inherit' && `align${capitalize(align)}`, gutterBottom && 'gutterBottom', noWrap && 'noWrap']
37
36
  };
38
37
  return composeClasses(slots, getTypographyUtilityClass, classes);
39
38
  };
@@ -44,7 +43,7 @@ export const TypographyRoot = styled('span', {
44
43
  const {
45
44
  ownerState
46
45
  } = props;
47
- return [styles.root, ownerState.variant && styles[ownerState.variant], ownerState.align !== 'inherit' && styles[`align${capitalize(ownerState.align)}`], ownerState.noWrap && styles.noWrap, ownerState.gutterBottom && styles.gutterBottom, ownerState.paragraph && styles.paragraph];
46
+ return [styles.root, ownerState.variant && styles[ownerState.variant], ownerState.align !== 'inherit' && styles[`align${capitalize(ownerState.align)}`], ownerState.noWrap && styles.noWrap, ownerState.gutterBottom && styles.gutterBottom];
48
47
  }
49
48
  })(memoTheme(({
50
49
  theme
@@ -102,13 +101,6 @@ export const TypographyRoot = styled('span', {
102
101
  style: {
103
102
  marginBottom: '0.35em'
104
103
  }
105
- }, {
106
- props: ({
107
- ownerState
108
- }) => ownerState.paragraph,
109
- style: {
110
- marginBottom: 16
111
- }
112
104
  }]
113
105
  })));
114
106
  const defaultVariantMapping = {
@@ -146,7 +138,6 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
146
138
  component,
147
139
  gutterBottom = false,
148
140
  noWrap = false,
149
- paragraph = false,
150
141
  variant = 'body1',
151
142
  variantMapping = defaultVariantMapping,
152
143
  ...other
@@ -159,11 +150,10 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
159
150
  component,
160
151
  gutterBottom,
161
152
  noWrap,
162
- paragraph,
163
153
  variant,
164
154
  variantMapping
165
155
  };
166
- const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
156
+ const Component = component || variantMapping[variant] || defaultVariantMapping[variant] || 'span';
167
157
  const classes = useUtilityClasses(ownerState);
168
158
  return /*#__PURE__*/_jsx(TypographyRoot, {
169
159
  as: Component,
@@ -225,12 +215,6 @@ process.env.NODE_ENV !== "production" ? Typography.propTypes /* remove-proptypes
225
215
  * @default false
226
216
  */
227
217
  noWrap: PropTypes.bool,
228
- /**
229
- * If `true`, the element will be a paragraph element.
230
- * @default false
231
- * @deprecated Use the `component` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
232
- */
233
- paragraph: PropTypes.bool,
234
218
  /**
235
219
  * @ignore
236
220
  */
@@ -41,11 +41,6 @@ export interface TypographyClasses {
41
41
  noWrap: string;
42
42
  /** Styles applied to the root element if `gutterBottom={true}`. */
43
43
  gutterBottom: string;
44
- /**
45
- * Styles applied to the root element if `paragraph={true}`.
46
- * @deprecated
47
- */
48
- paragraph: string;
49
44
  }
50
45
  export type TypographyClassKey = keyof TypographyClasses;
51
46
  export declare function getTypographyUtilityClass(slot: string): string;
@@ -41,11 +41,6 @@ export interface TypographyClasses {
41
41
  noWrap: string;
42
42
  /** Styles applied to the root element if `gutterBottom={true}`. */
43
43
  gutterBottom: string;
44
- /**
45
- * Styles applied to the root element if `paragraph={true}`.
46
- * @deprecated
47
- */
48
- paragraph: string;
49
44
  }
50
45
  export type TypographyClassKey = keyof TypographyClasses;
51
46
  export declare function getTypographyUtilityClass(slot: string): string;
@@ -11,5 +11,5 @@ var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateU
11
11
  function getTypographyUtilityClass(slot) {
12
12
  return (0, _generateUtilityClass.default)('MuiTypography', slot);
13
13
  }
14
- const typographyClasses = (0, _generateUtilityClasses.default)('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
14
+ const typographyClasses = (0, _generateUtilityClasses.default)('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom']);
15
15
  var _default = exports.default = typographyClasses;
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  export function getTypographyUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiTypography', slot);
5
5
  }
6
- const typographyClasses = generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
6
+ const typographyClasses = generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom']);
7
7
  export default typographyClasses;
package/index.d.mts CHANGED
@@ -104,8 +104,6 @@ export { default as FormHelperText } from "./FormHelperText/index.mjs";
104
104
  export * from "./FormHelperText/index.mjs";
105
105
  export { default as FormLabel } from "./FormLabel/index.mjs";
106
106
  export * from "./FormLabel/index.mjs";
107
- export { default as GridLegacy } from "./GridLegacy/index.mjs";
108
- export { GridLegacyProps, GridLegacyTypeMap } from "./GridLegacy/index.mjs";
109
107
  export { default as Grid } from "./Grid/index.mjs";
110
108
  export * from "./Grid/index.mjs";
111
109
  export { default as Grow } from "./Grow/index.mjs";
package/index.d.ts CHANGED
@@ -104,8 +104,6 @@ export { default as FormHelperText } from "./FormHelperText/index.js";
104
104
  export * from "./FormHelperText/index.js";
105
105
  export { default as FormLabel } from "./FormLabel/index.js";
106
106
  export * from "./FormLabel/index.js";
107
- export { default as GridLegacy } from "./GridLegacy/index.js";
108
- export { GridLegacyProps, GridLegacyTypeMap } from "./GridLegacy/index.js";
109
107
  export { default as Grid } from "./Grid/index.js";
110
108
  export * from "./Grid/index.js";
111
109
  export { default as Grow } from "./Grow/index.js";
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v9.0.0-alpha.3
2
+ * @mui/material v9.0.0-alpha.4
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -62,7 +62,6 @@ var _exportNames = {
62
62
  FormGroup: true,
63
63
  FormHelperText: true,
64
64
  FormLabel: true,
65
- GridLegacy: true,
66
65
  Grid: true,
67
66
  Grow: true,
68
67
  Icon: true,
@@ -448,12 +447,6 @@ Object.defineProperty(exports, "Grid", {
448
447
  return _Grid.default;
449
448
  }
450
449
  });
451
- Object.defineProperty(exports, "GridLegacy", {
452
- enumerable: true,
453
- get: function () {
454
- return _GridLegacy.default;
455
- }
456
- });
457
450
  Object.defineProperty(exports, "Grow", {
458
451
  enumerable: true,
459
452
  get: function () {
@@ -1591,7 +1584,6 @@ Object.keys(_FormLabel).forEach(function (key) {
1591
1584
  }
1592
1585
  });
1593
1586
  });
1594
- var _GridLegacy = _interopRequireDefault(require("./GridLegacy"));
1595
1587
  var _Grid = _interopRequireWildcard(require("./Grid"));
1596
1588
  Object.keys(_Grid).forEach(function (key) {
1597
1589
  if (key === "default" || key === "__esModule") return;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v9.0.0-alpha.3
2
+ * @mui/material v9.0.0-alpha.4
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -108,7 +108,6 @@ export { default as FormHelperText } from "./FormHelperText/index.mjs";
108
108
  export * from "./FormHelperText/index.mjs";
109
109
  export { default as FormLabel } from "./FormLabel/index.mjs";
110
110
  export * from "./FormLabel/index.mjs";
111
- export { default as GridLegacy } from "./GridLegacy/index.mjs";
112
111
  export { default as Grid } from "./Grid/index.mjs";
113
112
  export * from "./Grid/index.mjs";
114
113
  export { default as Grow } from "./Grow/index.mjs";
package/locale/amET.js CHANGED
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.amET = void 0;
8
+ var _buildFormatNumber = _interopRequireDefault(require("./utils/buildFormatNumber"));
9
+ const formatNumber = (0, _buildFormatNumber.default)('am-ET');
7
10
  const amET = exports.amET = {
8
11
  components: {
9
12
  MuiBreadcrumbs: {
@@ -31,7 +34,7 @@ const amET = exports.amET = {
31
34
  from,
32
35
  to,
33
36
  count
34
- }) => `${from}-${to} ከ ${count !== -1 ? count : `${to} በላይ`}`
37
+ }) => `${formatNumber(from)}-${formatNumber(to)} ከ ${count !== -1 ? formatNumber(count) : `${formatNumber(to)} በላይ`}`
35
38
  }
36
39
  },
37
40
  MuiRating: {
package/locale/amET.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import buildFormatNumber from "./utils/buildFormatNumber.mjs";
2
+ const formatNumber = buildFormatNumber('am-ET');
1
3
  export const amET = {
2
4
  components: {
3
5
  MuiBreadcrumbs: {
@@ -25,7 +27,7 @@ export const amET = {
25
27
  from,
26
28
  to,
27
29
  count
28
- }) => `${from}-${to} ከ ${count !== -1 ? count : `${to} በላይ`}`
30
+ }) => `${formatNumber(from)}-${formatNumber(to)} ከ ${count !== -1 ? formatNumber(count) : `${formatNumber(to)} በላይ`}`
29
31
  }
30
32
  },
31
33
  MuiRating: {
package/locale/arEG.js CHANGED
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.arEG = void 0;
8
+ var _buildFormatNumber = _interopRequireDefault(require("./utils/buildFormatNumber"));
9
+ const formatNumber = (0, _buildFormatNumber.default)('ar-EG');
7
10
  const arEG = exports.arEG = {
8
11
  components: {
9
12
  MuiBreadcrumbs: {
@@ -31,7 +34,7 @@ const arEG = exports.arEG = {
31
34
  from,
32
35
  to,
33
36
  count
34
- }) => `${from}–${to} من ${count !== -1 ? count : ` أكثر من${to}`}`
37
+ }) => `${formatNumber(from)}–${formatNumber(to)} من ${count !== -1 ? formatNumber(count) : ` أكثر من${formatNumber(to)}`}`
35
38
  }
36
39
  },
37
40
  MuiRating: {
package/locale/arEG.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import buildFormatNumber from "./utils/buildFormatNumber.mjs";
2
+ const formatNumber = buildFormatNumber('ar-EG');
1
3
  export const arEG = {
2
4
  components: {
3
5
  MuiBreadcrumbs: {
@@ -25,7 +27,7 @@ export const arEG = {
25
27
  from,
26
28
  to,
27
29
  count
28
- }) => `${from}–${to} من ${count !== -1 ? count : ` أكثر من${to}`}`
30
+ }) => `${formatNumber(from)}–${formatNumber(to)} من ${count !== -1 ? formatNumber(count) : ` أكثر من${formatNumber(to)}`}`
29
31
  }
30
32
  },
31
33
  MuiRating: {
package/locale/arSA.js CHANGED
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.arSA = void 0;
8
+ var _buildFormatNumber = _interopRequireDefault(require("./utils/buildFormatNumber"));
9
+ const formatNumber = (0, _buildFormatNumber.default)('ar-SA');
7
10
  const arSA = exports.arSA = {
8
11
  components: {
9
12
  MuiBreadcrumbs: {
@@ -31,7 +34,7 @@ const arSA = exports.arSA = {
31
34
  from,
32
35
  to,
33
36
  count
34
- }) => `${from}–${to} من ${count !== -1 ? count : ` أكثر من${to}`}`
37
+ }) => `${formatNumber(from)}–${formatNumber(to)} من ${count !== -1 ? formatNumber(count) : ` أكثر من${formatNumber(to)}`}`
35
38
  }
36
39
  },
37
40
  MuiRating: {
package/locale/arSA.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import buildFormatNumber from "./utils/buildFormatNumber.mjs";
2
+ const formatNumber = buildFormatNumber('ar-SA');
1
3
  export const arSA = {
2
4
  components: {
3
5
  MuiBreadcrumbs: {
@@ -25,7 +27,7 @@ export const arSA = {
25
27
  from,
26
28
  to,
27
29
  count
28
- }) => `${from}–${to} من ${count !== -1 ? count : ` أكثر من${to}`}`
30
+ }) => `${formatNumber(from)}–${formatNumber(to)} من ${count !== -1 ? formatNumber(count) : ` أكثر من${formatNumber(to)}`}`
29
31
  }
30
32
  },
31
33
  MuiRating: {
package/locale/arSD.js CHANGED
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.arSD = void 0;
8
+ var _buildFormatNumber = _interopRequireDefault(require("./utils/buildFormatNumber"));
9
+ const formatNumber = (0, _buildFormatNumber.default)('ar-SD');
7
10
  const arSD = exports.arSD = {
8
11
  components: {
9
12
  MuiBreadcrumbs: {
@@ -31,7 +34,7 @@ const arSD = exports.arSD = {
31
34
  from,
32
35
  to,
33
36
  count
34
- }) => `${from}–${to} من ${count !== -1 ? count : ` أكثر من${to}`}`
37
+ }) => `${formatNumber(from)}–${formatNumber(to)} من ${count !== -1 ? formatNumber(count) : ` أكثر من${formatNumber(to)}`}`
35
38
  }
36
39
  },
37
40
  MuiRating: {
package/locale/arSD.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import buildFormatNumber from "./utils/buildFormatNumber.mjs";
2
+ const formatNumber = buildFormatNumber('ar-SD');
1
3
  export const arSD = {
2
4
  components: {
3
5
  MuiBreadcrumbs: {
@@ -25,7 +27,7 @@ export const arSD = {
25
27
  from,
26
28
  to,
27
29
  count
28
- }) => `${from}–${to} من ${count !== -1 ? count : ` أكثر من${to}`}`
30
+ }) => `${formatNumber(from)}–${formatNumber(to)} من ${count !== -1 ? formatNumber(count) : ` أكثر من${formatNumber(to)}`}`
29
31
  }
30
32
  },
31
33
  MuiRating: {
package/locale/beBY.js CHANGED
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.beBY = void 0;
8
+ var _buildFormatNumber = _interopRequireDefault(require("./utils/buildFormatNumber"));
9
+ const formatNumber = (0, _buildFormatNumber.default)('be-BY');
7
10
  const beBY = exports.beBY = {
8
11
  components: {
9
12
  MuiBreadcrumbs: {
@@ -31,7 +34,7 @@ const beBY = exports.beBY = {
31
34
  from,
32
35
  to,
33
36
  count
34
- }) => `${from}–${to} з ${count !== -1 ? count : `больш чым ${to}`}`
37
+ }) => `${formatNumber(from)}–${formatNumber(to)} з ${count !== -1 ? formatNumber(count) : `больш чым ${formatNumber(to)}`}`
35
38
  }
36
39
  },
37
40
  MuiRating: {
package/locale/beBY.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import buildFormatNumber from "./utils/buildFormatNumber.mjs";
2
+ const formatNumber = buildFormatNumber('be-BY');
1
3
  export const beBY = {
2
4
  components: {
3
5
  MuiBreadcrumbs: {
@@ -25,7 +27,7 @@ export const beBY = {
25
27
  from,
26
28
  to,
27
29
  count
28
- }) => `${from}–${to} з ${count !== -1 ? count : `больш чым ${to}`}`
30
+ }) => `${formatNumber(from)}–${formatNumber(to)} з ${count !== -1 ? formatNumber(count) : `больш чым ${formatNumber(to)}`}`
29
31
  }
30
32
  },
31
33
  MuiRating: {
package/locale/bnBD.js CHANGED
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.bnBD = void 0;
8
+ var _buildFormatNumber = _interopRequireDefault(require("./utils/buildFormatNumber"));
9
+ const formatNumber = (0, _buildFormatNumber.default)('bn-BD');
7
10
  const bnBD = exports.bnBD = {
8
11
  components: {
9
12
  MuiBreadcrumbs: {
@@ -31,7 +34,7 @@ const bnBD = exports.bnBD = {
31
34
  from,
32
35
  to,
33
36
  count
34
- }) => `${from}–${to} / ${count !== -1 ? count : `${to} থেকে বেশি`}`
37
+ }) => `${formatNumber(from)}–${formatNumber(to)} / ${count !== -1 ? formatNumber(count) : `${formatNumber(to)} থেকে বেশি`}`
35
38
  }
36
39
  },
37
40
  MuiRating: {
package/locale/bnBD.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import buildFormatNumber from "./utils/buildFormatNumber.mjs";
2
+ const formatNumber = buildFormatNumber('bn-BD');
1
3
  export const bnBD = {
2
4
  components: {
3
5
  MuiBreadcrumbs: {
@@ -25,7 +27,7 @@ export const bnBD = {
25
27
  from,
26
28
  to,
27
29
  count
28
- }) => `${from}–${to} / ${count !== -1 ? count : `${to} থেকে বেশি`}`
30
+ }) => `${formatNumber(from)}–${formatNumber(to)} / ${count !== -1 ? formatNumber(count) : `${formatNumber(to)} থেকে বেশি`}`
29
31
  }
30
32
  },
31
33
  MuiRating: {
package/locale/caES.js CHANGED
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.caES = void 0;
8
+ var _buildFormatNumber = _interopRequireDefault(require("./utils/buildFormatNumber"));
9
+ const formatNumber = (0, _buildFormatNumber.default)('ca-ES');
7
10
  const caES = exports.caES = {
8
11
  components: {
9
12
  MuiBreadcrumbs: {
@@ -31,7 +34,7 @@ const caES = exports.caES = {
31
34
  from,
32
35
  to,
33
36
  count
34
- }) => `${from}–${to} de ${count !== -1 ? count : `més de ${to}`}`
37
+ }) => `${formatNumber(from)}–${formatNumber(to)} de ${count !== -1 ? formatNumber(count) : `més de ${formatNumber(to)}`}`
35
38
  }
36
39
  },
37
40
  MuiRating: {
package/locale/caES.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import buildFormatNumber from "./utils/buildFormatNumber.mjs";
2
+ const formatNumber = buildFormatNumber('ca-ES');
1
3
  export const caES = {
2
4
  components: {
3
5
  MuiBreadcrumbs: {
@@ -25,7 +27,7 @@ export const caES = {
25
27
  from,
26
28
  to,
27
29
  count
28
- }) => `${from}–${to} de ${count !== -1 ? count : `més de ${to}`}`
30
+ }) => `${formatNumber(from)}–${formatNumber(to)} de ${count !== -1 ? formatNumber(count) : `més de ${formatNumber(to)}`}`
29
31
  }
30
32
  },
31
33
  MuiRating: {
package/locale/csCZ.js CHANGED
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.csCZ = void 0;
8
+ var _buildFormatNumber = _interopRequireDefault(require("./utils/buildFormatNumber"));
9
+ const formatNumber = (0, _buildFormatNumber.default)('cs-CZ');
7
10
  const csCZ = exports.csCZ = {
8
11
  components: {
9
12
  MuiBreadcrumbs: {
@@ -31,7 +34,7 @@ const csCZ = exports.csCZ = {
31
34
  from,
32
35
  to,
33
36
  count
34
- }) => `${from}–${to} z ${count !== -1 ? count : `více než ${to}`}`
37
+ }) => `${formatNumber(from)}–${formatNumber(to)} z ${count !== -1 ? formatNumber(count) : `více než ${formatNumber(to)}`}`
35
38
  }
36
39
  },
37
40
  MuiRating: {
package/locale/csCZ.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import buildFormatNumber from "./utils/buildFormatNumber.mjs";
2
+ const formatNumber = buildFormatNumber('cs-CZ');
1
3
  export const csCZ = {
2
4
  components: {
3
5
  MuiBreadcrumbs: {
@@ -25,7 +27,7 @@ export const csCZ = {
25
27
  from,
26
28
  to,
27
29
  count
28
- }) => `${from}–${to} z ${count !== -1 ? count : `více než ${to}`}`
30
+ }) => `${formatNumber(from)}–${formatNumber(to)} z ${count !== -1 ? formatNumber(count) : `více než ${formatNumber(to)}`}`
29
31
  }
30
32
  },
31
33
  MuiRating: {
package/locale/daDK.js CHANGED
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.daDK = void 0;
8
+ var _buildFormatNumber = _interopRequireDefault(require("./utils/buildFormatNumber"));
9
+ const formatNumber = (0, _buildFormatNumber.default)('da-DK');
7
10
  const daDK = exports.daDK = {
8
11
  components: {
9
12
  MuiBreadcrumbs: {
@@ -31,7 +34,7 @@ const daDK = exports.daDK = {
31
34
  from,
32
35
  to,
33
36
  count
34
- }) => `${from}-${to} af ${count !== -1 ? count : `mere end ${to}`}`
37
+ }) => `${formatNumber(from)}-${formatNumber(to)} af ${count !== -1 ? formatNumber(count) : `mere end ${formatNumber(to)}`}`
35
38
  }
36
39
  },
37
40
  MuiRating: {
package/locale/daDK.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import buildFormatNumber from "./utils/buildFormatNumber.mjs";
2
+ const formatNumber = buildFormatNumber('da-DK');
1
3
  export const daDK = {
2
4
  components: {
3
5
  MuiBreadcrumbs: {
@@ -25,7 +27,7 @@ export const daDK = {
25
27
  from,
26
28
  to,
27
29
  count
28
- }) => `${from}-${to} af ${count !== -1 ? count : `mere end ${to}`}`
30
+ }) => `${formatNumber(from)}-${formatNumber(to)} af ${count !== -1 ? formatNumber(count) : `mere end ${formatNumber(to)}`}`
29
31
  }
30
32
  },
31
33
  MuiRating: {
package/locale/deDE.js CHANGED
@@ -1,9 +1,12 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.deDE = void 0;
8
+ var _buildFormatNumber = _interopRequireDefault(require("./utils/buildFormatNumber"));
9
+ const formatNumber = (0, _buildFormatNumber.default)('de-DE');
7
10
  const deDE = exports.deDE = {
8
11
  components: {
9
12
  MuiBreadcrumbs: {
@@ -31,7 +34,7 @@ const deDE = exports.deDE = {
31
34
  from,
32
35
  to,
33
36
  count
34
- }) => `${from}–${to} von ${count !== -1 ? count : `mehr als ${to}`}`
37
+ }) => `${formatNumber(from)}–${formatNumber(to)} von ${count !== -1 ? formatNumber(count) : `mehr als ${formatNumber(to)}`}`
35
38
  }
36
39
  },
37
40
  MuiRating: {