@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.
- package/Accordion/Accordion.d.mts +0 -14
- package/Accordion/Accordion.d.ts +0 -14
- package/Accordion/Accordion.js +3 -25
- package/Accordion/Accordion.mjs +3 -25
- package/AccordionSummary/AccordionSummary.js +1 -1
- package/AccordionSummary/AccordionSummary.mjs +1 -1
- package/AccordionSummary/accordionSummaryClasses.d.mts +0 -5
- package/AccordionSummary/accordionSummaryClasses.d.ts +0 -5
- package/AccordionSummary/accordionSummaryClasses.js +1 -1
- package/AccordionSummary/accordionSummaryClasses.mjs +1 -1
- package/Alert/Alert.d.mts +0 -23
- package/Alert/Alert.d.ts +0 -23
- package/Alert/Alert.js +4 -36
- package/Alert/Alert.mjs +4 -36
- package/Alert/alertClasses.d.mts +0 -72
- package/Alert/alertClasses.d.ts +0 -72
- package/Alert/alertClasses.js +1 -1
- package/Alert/alertClasses.mjs +1 -1
- package/Autocomplete/Autocomplete.d.mts +10 -60
- package/Autocomplete/Autocomplete.d.ts +10 -60
- package/Autocomplete/Autocomplete.js +33 -99
- package/Autocomplete/Autocomplete.mjs +33 -99
- package/Avatar/Avatar.d.mts +0 -8
- package/Avatar/Avatar.d.ts +0 -8
- package/Avatar/Avatar.js +13 -35
- package/Avatar/Avatar.mjs +13 -35
- package/AvatarGroup/AvatarGroup.d.mts +0 -15
- package/AvatarGroup/AvatarGroup.d.ts +0 -15
- package/AvatarGroup/AvatarGroup.js +1 -18
- package/AvatarGroup/AvatarGroup.mjs +1 -18
- package/Backdrop/Backdrop.d.mts +1 -31
- package/Backdrop/Backdrop.d.ts +1 -31
- package/Backdrop/Backdrop.js +2 -42
- package/Backdrop/Backdrop.mjs +2 -42
- package/Badge/Badge.d.mts +0 -20
- package/Badge/Badge.d.ts +0 -20
- package/Badge/Badge.js +2 -35
- package/Badge/Badge.mjs +2 -35
- package/Button/Button.js +6 -6
- package/Button/Button.mjs +6 -6
- package/Button/buttonClasses.d.mts +0 -132
- package/Button/buttonClasses.d.ts +0 -132
- package/Button/buttonClasses.js +1 -1
- package/Button/buttonClasses.mjs +1 -1
- package/ButtonBase/ButtonBase.js +16 -2
- package/ButtonBase/ButtonBase.mjs +16 -2
- package/CHANGELOG.md +154 -0
- package/CircularProgress/CircularProgress.js +2 -2
- package/CircularProgress/CircularProgress.mjs +2 -2
- package/CircularProgress/circularProgressClasses.d.mts +0 -8
- package/CircularProgress/circularProgressClasses.d.ts +0 -8
- package/CircularProgress/circularProgressClasses.js +1 -1
- package/CircularProgress/circularProgressClasses.mjs +1 -1
- package/Divider/Divider.d.mts +0 -6
- package/Divider/Divider.d.ts +0 -6
- package/Divider/Divider.js +2 -18
- package/Divider/Divider.mjs +2 -18
- package/Divider/dividerClasses.d.mts +0 -4
- package/Divider/dividerClasses.d.ts +0 -4
- package/Divider/dividerClasses.js +1 -1
- package/Divider/dividerClasses.mjs +1 -1
- package/FormControlLabel/FormControlLabel.d.mts +1 -14
- package/FormControlLabel/FormControlLabel.d.ts +1 -14
- package/FormControlLabel/FormControlLabel.js +1 -13
- package/FormControlLabel/FormControlLabel.mjs +1 -13
- package/Input/Input.js +2 -1
- package/Input/Input.mjs +2 -1
- package/Menu/Menu.d.mts +0 -13
- package/Menu/Menu.d.ts +0 -13
- package/Menu/Menu.js +5 -44
- package/Menu/Menu.mjs +5 -44
- package/MenuItem/MenuItem.js +21 -1
- package/MenuItem/MenuItem.mjs +23 -1
- package/MenuList/MenuList.js +2 -4
- package/MenuList/MenuList.mjs +2 -4
- package/MobileStepper/MobileStepper.d.mts +0 -5
- package/MobileStepper/MobileStepper.d.ts +0 -5
- package/MobileStepper/MobileStepper.js +1 -10
- package/MobileStepper/MobileStepper.mjs +1 -10
- package/Popover/Popover.d.mts +4 -48
- package/Popover/Popover.d.ts +4 -48
- package/Popover/Popover.js +4 -64
- package/Popover/Popover.mjs +4 -64
- package/Popper/Popper.d.mts +0 -17
- package/Popper/Popper.d.ts +0 -17
- package/Popper/Popper.js +2 -26
- package/Popper/Popper.mjs +2 -26
- package/Popper/index.d.mts +1 -0
- package/Popper/index.d.ts +1 -0
- package/Popper/index.js +11 -2
- package/Popper/index.mjs +1 -0
- package/Select/SelectInput.js +50 -55
- package/Select/SelectInput.mjs +47 -52
- package/Select/index.d.mts +1 -0
- package/Select/index.d.ts +1 -0
- package/Select/index.js +12 -0
- package/Select/index.mjs +1 -0
- package/Select/utils/SelectFocusSourceContext.d.mts +4 -0
- package/Select/utils/SelectFocusSourceContext.d.ts +4 -0
- package/Select/utils/SelectFocusSourceContext.js +19 -0
- package/Select/utils/SelectFocusSourceContext.mjs +13 -0
- package/Select/utils/areEqualValues.d.mts +1 -0
- package/Select/utils/areEqualValues.d.ts +1 -0
- package/Select/utils/areEqualValues.js +14 -0
- package/Select/utils/areEqualValues.mjs +8 -0
- package/Select/utils/getOpenInteractionType.d.mts +1 -0
- package/Select/utils/getOpenInteractionType.d.ts +1 -0
- package/Select/utils/getOpenInteractionType.js +18 -0
- package/Select/utils/getOpenInteractionType.mjs +12 -0
- package/Select/utils/index.d.mts +4 -0
- package/Select/utils/index.d.ts +4 -0
- package/Select/utils/index.js +40 -0
- package/Select/utils/index.mjs +4 -0
- package/Select/utils/isEmpty.d.mts +1 -0
- package/Select/utils/isEmpty.d.ts +1 -0
- package/Select/utils/isEmpty.js +9 -0
- package/Select/utils/isEmpty.mjs +3 -0
- package/Slider/Slider.d.mts +109 -77
- package/Slider/Slider.d.ts +109 -77
- package/Slider/Slider.js +42 -119
- package/Slider/Slider.mjs +42 -119
- package/Slider/sliderClasses.d.mts +7 -7
- package/Slider/sliderClasses.d.ts +7 -7
- package/Slider/useSlider.js +50 -14
- package/Slider/useSlider.mjs +50 -14
- package/Snackbar/Snackbar.d.mts +1 -27
- package/Snackbar/Snackbar.d.ts +1 -27
- package/Snackbar/Snackbar.js +5 -58
- package/Snackbar/Snackbar.mjs +5 -58
- package/SpeedDial/SpeedDial.d.mts +0 -13
- package/SpeedDial/SpeedDial.d.ts +0 -13
- package/SpeedDial/SpeedDial.js +15 -40
- package/SpeedDial/SpeedDial.mjs +15 -40
- package/SpeedDialAction/SpeedDialAction.d.mts +0 -28
- package/SpeedDialAction/SpeedDialAction.d.ts +0 -28
- package/SpeedDialAction/SpeedDialAction.js +5 -46
- package/SpeedDialAction/SpeedDialAction.mjs +5 -46
- package/TablePagination/TablePagination.d.mts +1 -1
- package/TablePagination/TablePagination.d.ts +1 -1
- package/TablePagination/TablePagination.js +4 -2
- package/TablePagination/TablePagination.mjs +4 -2
- package/Tabs/Tabs.d.mts +2 -33
- package/Tabs/Tabs.d.ts +2 -33
- package/Tabs/Tabs.js +8 -38
- package/Tabs/Tabs.mjs +8 -38
- package/TextField/TextField.d.mts +6 -49
- package/TextField/TextField.d.ts +6 -49
- package/TextField/TextField.js +18 -53
- package/TextField/TextField.mjs +18 -53
- package/Tooltip/Tooltip.d.mts +1 -55
- package/Tooltip/Tooltip.d.ts +1 -55
- package/Tooltip/Tooltip.js +9 -87
- package/Tooltip/Tooltip.mjs +9 -87
- package/Typography/Typography.d.mts +0 -6
- package/Typography/Typography.d.ts +0 -6
- package/Typography/Typography.js +3 -19
- package/Typography/Typography.mjs +3 -19
- package/Typography/typographyClasses.d.mts +0 -5
- package/Typography/typographyClasses.d.ts +0 -5
- package/Typography/typographyClasses.js +1 -1
- package/Typography/typographyClasses.mjs +1 -1
- package/index.d.mts +0 -2
- package/index.d.ts +0 -2
- package/index.js +1 -9
- package/index.mjs +1 -2
- package/locale/amET.js +4 -1
- package/locale/amET.mjs +3 -1
- package/locale/arEG.js +4 -1
- package/locale/arEG.mjs +3 -1
- package/locale/arSA.js +4 -1
- package/locale/arSA.mjs +3 -1
- package/locale/arSD.js +4 -1
- package/locale/arSD.mjs +3 -1
- package/locale/beBY.js +4 -1
- package/locale/beBY.mjs +3 -1
- package/locale/bnBD.js +4 -1
- package/locale/bnBD.mjs +3 -1
- package/locale/caES.js +4 -1
- package/locale/caES.mjs +3 -1
- package/locale/csCZ.js +4 -1
- package/locale/csCZ.mjs +3 -1
- package/locale/daDK.js +4 -1
- package/locale/daDK.mjs +3 -1
- package/locale/deDE.js +4 -1
- package/locale/deDE.mjs +3 -1
- package/locale/elGR.js +4 -1
- package/locale/elGR.mjs +3 -1
- package/locale/esES.js +4 -1
- package/locale/esES.mjs +3 -1
- package/locale/etEE.js +4 -1
- package/locale/etEE.mjs +3 -1
- package/locale/faIR.js +4 -1
- package/locale/faIR.mjs +3 -1
- package/locale/fiFI.js +4 -1
- package/locale/fiFI.mjs +3 -1
- package/locale/frFR.js +4 -1
- package/locale/frFR.mjs +3 -1
- package/locale/heIL.js +4 -1
- package/locale/heIL.mjs +3 -1
- package/locale/hiIN.js +4 -1
- package/locale/hiIN.mjs +3 -1
- package/locale/hrHR.js +5 -1
- package/locale/hrHR.mjs +4 -1
- package/locale/isIS.js +4 -1
- package/locale/isIS.mjs +3 -1
- package/locale/itIT.js +4 -1
- package/locale/itIT.mjs +3 -1
- package/locale/jaJP.js +4 -1
- package/locale/jaJP.mjs +3 -1
- package/locale/khKH.js +4 -1
- package/locale/khKH.mjs +3 -1
- package/locale/kkKZ.js +4 -1
- package/locale/kkKZ.mjs +3 -1
- package/locale/koKR.js +4 -1
- package/locale/koKR.mjs +3 -1
- package/locale/kuCKB.js +4 -1
- package/locale/kuCKB.mjs +3 -1
- package/locale/kuLatn.js +4 -1
- package/locale/kuLatn.mjs +3 -1
- package/locale/mkMK.js +5 -1
- package/locale/mkMK.mjs +4 -1
- package/locale/msMS.js +5 -1
- package/locale/msMS.mjs +4 -1
- package/locale/myMY.js +5 -1
- package/locale/myMY.mjs +4 -1
- package/locale/nbNO.js +4 -1
- package/locale/nbNO.mjs +3 -1
- package/locale/neNP.js +5 -1
- package/locale/neNP.mjs +4 -1
- package/locale/nlNL.js +4 -1
- package/locale/nlNL.mjs +3 -1
- package/locale/nnNO.js +4 -1
- package/locale/nnNO.mjs +3 -1
- package/locale/plPL.js +4 -1
- package/locale/plPL.mjs +3 -1
- package/locale/psAF.js +4 -1
- package/locale/psAF.mjs +3 -1
- package/locale/ptBR.js +4 -1
- package/locale/ptBR.mjs +3 -1
- package/locale/ptPT.js +4 -1
- package/locale/ptPT.mjs +3 -1
- package/locale/roRO.js +4 -1
- package/locale/roRO.mjs +3 -1
- package/locale/ruRU.js +4 -1
- package/locale/ruRU.mjs +3 -1
- package/locale/siLK.js +4 -1
- package/locale/siLK.mjs +3 -1
- package/locale/skSK.js +4 -1
- package/locale/skSK.mjs +3 -1
- package/locale/srRS.js +5 -1
- package/locale/srRS.mjs +4 -1
- package/locale/svSE.js +4 -1
- package/locale/svSE.mjs +3 -1
- package/locale/thTH.js +4 -1
- package/locale/thTH.mjs +3 -1
- package/locale/tlTL.js +5 -1
- package/locale/tlTL.mjs +4 -1
- package/locale/trTR.js +4 -1
- package/locale/trTR.mjs +3 -1
- package/locale/ukUA.js +4 -1
- package/locale/ukUA.mjs +3 -1
- package/locale/urPK.js +4 -1
- package/locale/urPK.mjs +3 -1
- package/locale/utils/buildFormatNumber.d.mts +2 -0
- package/locale/utils/buildFormatNumber.d.ts +2 -0
- package/locale/utils/buildFormatNumber.js +23 -0
- package/locale/utils/buildFormatNumber.mjs +17 -0
- package/locale/viVN.js +4 -1
- package/locale/viVN.mjs +3 -1
- package/locale/zhCN.js +4 -1
- package/locale/zhCN.mjs +3 -1
- package/locale/zhHK.js +4 -1
- package/locale/zhHK.mjs +3 -1
- package/locale/zhTW.js +4 -1
- package/locale/zhTW.mjs +3 -1
- package/package.json +6 -20
- package/styles/components.d.mts +0 -5
- package/styles/components.d.ts +0 -5
- package/styles/overrides.d.mts +0 -2
- package/styles/overrides.d.ts +0 -2
- package/styles/props.d.mts +0 -2
- package/styles/props.d.ts +0 -2
- package/useAutocomplete/useAutocomplete.d.mts +0 -12
- package/useAutocomplete/useAutocomplete.d.ts +0 -12
- package/useAutocomplete/useAutocomplete.js +29 -28
- package/useAutocomplete/useAutocomplete.mjs +29 -28
- package/version/index.js +2 -2
- package/version/index.mjs +2 -2
- package/GridLegacy/GridLegacy.d.mts +0 -160
- package/GridLegacy/GridLegacy.d.ts +0 -160
- package/GridLegacy/GridLegacy.js +0 -601
- package/GridLegacy/GridLegacy.mjs +0 -588
- package/GridLegacy/GridLegacyContext.js +0 -17
- package/GridLegacy/GridLegacyContext.mjs +0 -12
- package/GridLegacy/gridLegacyClasses.d.mts +0 -48
- package/GridLegacy/gridLegacyClasses.d.ts +0 -48
- package/GridLegacy/gridLegacyClasses.js +0 -27
- package/GridLegacy/gridLegacyClasses.mjs +0 -19
- package/GridLegacy/index.d.mts +0 -4
- package/GridLegacy/index.d.ts +0 -4
- package/GridLegacy/index.js +0 -35
- 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
|
*/
|
package/Typography/Typography.js
CHANGED
|
@@ -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'
|
|
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
|
|
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 ||
|
|
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'
|
|
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
|
|
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 ||
|
|
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'
|
|
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'
|
|
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.
|
|
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.
|
|
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: {
|