@mui/material 5.14.20 → 5.15.1
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/AccordionActions/AccordionActions.js +1 -1
- package/Autocomplete/Autocomplete.js +4 -5
- package/ButtonBase/ButtonBase.js +1 -2
- package/ButtonGroup/index.d.ts +2 -0
- package/ButtonGroup/index.js +3 -1
- package/CHANGELOG.md +102 -2
- package/CardActions/CardActions.js +1 -1
- package/CircularProgress/CircularProgress.js +0 -1
- package/FilledInput/FilledInput.js +0 -2
- package/Input/Input.js +0 -2
- package/InputBase/InputBase.js +0 -2
- package/InputLabel/InputLabel.js +1 -5
- package/Link/Link.js +0 -1
- package/NativeSelect/NativeSelectInput.js +0 -2
- package/Select/SelectInput.js +1 -3
- package/TablePagination/TablePagination.d.ts +8 -0
- package/TablePagination/TablePagination.js +27 -6
- package/TablePagination/TablePaginationActions.d.ts +49 -0
- package/TablePagination/TablePaginationActions.js +54 -19
- package/Tabs/Tabs.js +0 -1
- package/colors/amber.d.ts +0 -1
- package/colors/blue.d.ts +0 -1
- package/colors/blueGrey.d.ts +0 -1
- package/colors/brown.d.ts +0 -1
- package/colors/common.d.ts +0 -1
- package/colors/cyan.d.ts +0 -1
- package/colors/deepOrange.d.ts +0 -1
- package/colors/deepPurple.d.ts +0 -1
- package/colors/green.d.ts +0 -1
- package/colors/grey.d.ts +0 -1
- package/colors/indigo.d.ts +0 -1
- package/colors/lightBlue.d.ts +0 -1
- package/colors/lightGreen.d.ts +0 -1
- package/colors/lime.d.ts +0 -1
- package/colors/orange.d.ts +0 -1
- package/colors/pink.d.ts +0 -1
- package/colors/purple.d.ts +0 -1
- package/colors/red.d.ts +0 -1
- package/colors/teal.d.ts +0 -1
- package/colors/yellow.d.ts +0 -1
- package/index.js +1 -1
- package/legacy/AccordionActions/AccordionActions.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +4 -5
- package/legacy/ButtonBase/ButtonBase.js +1 -1
- package/legacy/ButtonGroup/index.js +3 -1
- package/legacy/CardActions/CardActions.js +1 -1
- package/legacy/CircularProgress/CircularProgress.js +0 -1
- package/legacy/InputLabel/InputLabel.js +1 -5
- package/legacy/NativeSelect/NativeSelectInput.js +0 -2
- package/legacy/Select/SelectInput.js +1 -3
- package/legacy/TablePagination/TablePagination.js +29 -6
- package/legacy/TablePagination/TablePaginationActions.js +56 -19
- package/legacy/Tabs/Tabs.js +0 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +0 -11
- package/legacy/styles/experimental_extendTheme.js +12 -6
- package/legacy/useTouchRipple/useTouchRipple.js +1 -1
- package/locale/index.js +0 -11
- package/modern/AccordionActions/AccordionActions.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +4 -5
- package/modern/ButtonBase/ButtonBase.js +1 -2
- package/modern/ButtonGroup/index.js +3 -1
- package/modern/CardActions/CardActions.js +1 -1
- package/modern/CircularProgress/CircularProgress.js +0 -1
- package/modern/FilledInput/FilledInput.js +0 -2
- package/modern/Input/Input.js +0 -2
- package/modern/InputBase/InputBase.js +0 -2
- package/modern/InputLabel/InputLabel.js +1 -5
- package/modern/Link/Link.js +0 -1
- package/modern/NativeSelect/NativeSelectInput.js +0 -2
- package/modern/Select/SelectInput.js +1 -3
- package/modern/TablePagination/TablePagination.js +27 -6
- package/modern/TablePagination/TablePaginationActions.js +53 -18
- package/modern/Tabs/Tabs.js +0 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +0 -11
- package/modern/styles/experimental_extendTheme.js +12 -6
- package/modern/useTouchRipple/useTouchRipple.js +1 -1
- package/node/AccordionActions/AccordionActions.js +1 -1
- package/node/Autocomplete/Autocomplete.js +4 -5
- package/node/ButtonBase/ButtonBase.js +1 -2
- package/node/ButtonGroup/index.js +17 -1
- package/node/CardActions/CardActions.js +1 -1
- package/node/CircularProgress/CircularProgress.js +0 -1
- package/node/FilledInput/FilledInput.js +0 -2
- package/node/Input/Input.js +0 -2
- package/node/InputBase/InputBase.js +0 -2
- package/node/InputLabel/InputLabel.js +1 -5
- package/node/Link/Link.js +0 -1
- package/node/NativeSelect/NativeSelectInput.js +0 -2
- package/node/Select/SelectInput.js +1 -3
- package/node/TablePagination/TablePagination.js +27 -6
- package/node/TablePagination/TablePaginationActions.js +54 -19
- package/node/Tabs/Tabs.js +0 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +0 -11
- package/node/styles/experimental_extendTheme.js +11 -5
- package/node/styles/index.js +1 -0
- package/node/useTouchRipple/useTouchRipple.js +1 -1
- package/package.json +8 -8
- package/styles/components.d.ts +115 -115
- package/styles/experimental_extendTheme.js +12 -6
- package/styles/variants.d.ts +1 -2
- package/umd/material-ui.development.js +111 -73
- package/umd/material-ui.production.min.js +20 -20
- package/useTouchRipple/useTouchRipple.js +1 -1
package/modern/locale/index.js
CHANGED
|
@@ -317,7 +317,6 @@ export const azAZ = {
|
|
|
317
317
|
// `${from}–${to} dən ${count !== -1 ? count : `more than ${to}`}`,
|
|
318
318
|
}
|
|
319
319
|
},
|
|
320
|
-
|
|
321
320
|
MuiRating: {
|
|
322
321
|
defaultProps: {
|
|
323
322
|
getLabelText: value => {
|
|
@@ -553,7 +552,6 @@ export const bgBG = {
|
|
|
553
552
|
// `${from}–${to} от ${count !== -1 ? count : `more than ${to}`}`,
|
|
554
553
|
}
|
|
555
554
|
},
|
|
556
|
-
|
|
557
555
|
MuiRating: {
|
|
558
556
|
defaultProps: {
|
|
559
557
|
getLabelText: value => `${value} Звезд${value !== 1 ? 'и' : 'а'}`,
|
|
@@ -624,7 +622,6 @@ export const caES = {
|
|
|
624
622
|
// `${from}–${to} de ${count !== -1 ? count : `more than ${to}`}`,
|
|
625
623
|
}
|
|
626
624
|
},
|
|
627
|
-
|
|
628
625
|
MuiRating: {
|
|
629
626
|
defaultProps: {
|
|
630
627
|
getLabelText: value => `${value} ${value !== 1 ? 'Estrelles' : 'Estrella'}`,
|
|
@@ -668,7 +665,6 @@ export const caES = {
|
|
|
668
665
|
// },
|
|
669
666
|
}
|
|
670
667
|
};
|
|
671
|
-
|
|
672
668
|
export const csCZ = {
|
|
673
669
|
components: {
|
|
674
670
|
MuiBreadcrumbs: {
|
|
@@ -1658,7 +1654,6 @@ export const huHU = {
|
|
|
1658
1654
|
// `${from}–${to} / ${count !== -1 ? count : `more than ${to}`}`,
|
|
1659
1655
|
}
|
|
1660
1656
|
},
|
|
1661
|
-
|
|
1662
1657
|
MuiRating: {
|
|
1663
1658
|
defaultProps: {
|
|
1664
1659
|
getLabelText: value => `${value} Csillag`,
|
|
@@ -1729,7 +1724,6 @@ export const hyAM = {
|
|
|
1729
1724
|
// `${from}–${to} / ${count !== -1 ? count : `more than ${to}`}`,
|
|
1730
1725
|
}
|
|
1731
1726
|
},
|
|
1732
|
-
|
|
1733
1727
|
MuiRating: {
|
|
1734
1728
|
defaultProps: {
|
|
1735
1729
|
getLabelText: value => `${value} Աստղ`,
|
|
@@ -1773,7 +1767,6 @@ export const hyAM = {
|
|
|
1773
1767
|
// },
|
|
1774
1768
|
}
|
|
1775
1769
|
};
|
|
1776
|
-
|
|
1777
1770
|
export const idID = {
|
|
1778
1771
|
components: {
|
|
1779
1772
|
// MuiBreadcrumbs: {
|
|
@@ -1801,14 +1794,12 @@ export const idID = {
|
|
|
1801
1794
|
// `${from}–${to} dari ${count !== -1 ? count : `more than ${to}`}`,
|
|
1802
1795
|
}
|
|
1803
1796
|
},
|
|
1804
|
-
|
|
1805
1797
|
MuiRating: {
|
|
1806
1798
|
defaultProps: {
|
|
1807
1799
|
getLabelText: value => `${value} Bintang`
|
|
1808
1800
|
// emptyLabelText: 'Empty',
|
|
1809
1801
|
}
|
|
1810
1802
|
},
|
|
1811
|
-
|
|
1812
1803
|
MuiAutocomplete: {
|
|
1813
1804
|
defaultProps: {
|
|
1814
1805
|
clearText: 'Hapus',
|
|
@@ -1846,7 +1837,6 @@ export const idID = {
|
|
|
1846
1837
|
// },
|
|
1847
1838
|
}
|
|
1848
1839
|
};
|
|
1849
|
-
|
|
1850
1840
|
export const isIS = {
|
|
1851
1841
|
components: {
|
|
1852
1842
|
MuiBreadcrumbs: {
|
|
@@ -3220,7 +3210,6 @@ export const roRO = {
|
|
|
3220
3210
|
// `${from}–${to} din ${count !== -1 ? count : `more than ${to}`}`,
|
|
3221
3211
|
}
|
|
3222
3212
|
},
|
|
3223
|
-
|
|
3224
3213
|
MuiRating: {
|
|
3225
3214
|
defaultProps: {
|
|
3226
3215
|
getLabelText: value => `${value} St${value !== 1 ? 'ele' : 'ea'}`,
|
|
@@ -3,7 +3,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
3
3
|
const _excluded = ["colorSchemes", "cssVarPrefix", "shouldSkipGeneratingVar"],
|
|
4
4
|
_excluded2 = ["palette"];
|
|
5
5
|
import { deepmerge } from '@mui/utils';
|
|
6
|
-
import { private_safeColorChannel as safeColorChannel, private_safeAlpha as safeAlpha, private_safeDarken as safeDarken, private_safeLighten as safeLighten, private_safeEmphasize as safeEmphasize, unstable_createGetCssVar as systemCreateGetCssVar, unstable_defaultSxConfig as defaultSxConfig, unstable_styleFunctionSx as styleFunctionSx, unstable_prepareCssVars as prepareCssVars } from '@mui/system';
|
|
6
|
+
import { private_safeColorChannel as safeColorChannel, private_safeAlpha as safeAlpha, private_safeDarken as safeDarken, private_safeLighten as safeLighten, private_safeEmphasize as safeEmphasize, unstable_createGetCssVar as systemCreateGetCssVar, unstable_defaultSxConfig as defaultSxConfig, unstable_styleFunctionSx as styleFunctionSx, unstable_prepareCssVars as prepareCssVars, hslToRgb } from '@mui/system';
|
|
7
7
|
import defaultShouldSkipGeneratingVar from './shouldSkipGeneratingVar';
|
|
8
8
|
import createThemeWithoutVars from './createTheme';
|
|
9
9
|
import getOverlayAlpha from './getOverlayAlpha';
|
|
@@ -26,11 +26,17 @@ function setColor(obj, key, defaultValue) {
|
|
|
26
26
|
obj[key] = defaultValue;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
+
function toRgb(color) {
|
|
30
|
+
if (!color || !color.startsWith('hsl')) {
|
|
31
|
+
return color;
|
|
32
|
+
}
|
|
33
|
+
return hslToRgb(color);
|
|
34
|
+
}
|
|
29
35
|
function setColorChannel(obj, key) {
|
|
30
36
|
if (!(`${key}Channel` in obj)) {
|
|
31
37
|
// custom channel token is not provided, generate one.
|
|
32
38
|
// if channel token can't be generated, show a warning.
|
|
33
|
-
obj[`${key}Channel`] = safeColorChannel(obj[key], `MUI: Can't create \`palette.${key}Channel\` because \`palette.${key}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` + '\n' + `To suppress this warning, you need to explicitly provide the \`palette.${key}Channel\` as a string (in rgb format, e.g. "12 12 12") or undefined if you want to remove the channel token.`);
|
|
39
|
+
obj[`${key}Channel`] = safeColorChannel(toRgb(obj[key]), `MUI: Can't create \`palette.${key}Channel\` because \`palette.${key}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` + '\n' + `To suppress this warning, you need to explicitly provide the \`palette.${key}Channel\` as a string (in rgb format, e.g. "12 12 12") or undefined if you want to remove the channel token.`);
|
|
34
40
|
}
|
|
35
41
|
}
|
|
36
42
|
const silent = fn => {
|
|
@@ -247,16 +253,16 @@ export default function extendTheme(options = {}, ...args) {
|
|
|
247
253
|
if (colors && typeof colors === 'object') {
|
|
248
254
|
// Silent the error for custom palettes.
|
|
249
255
|
if (colors.main) {
|
|
250
|
-
setColor(palette[color], 'mainChannel', safeColorChannel(colors.main));
|
|
256
|
+
setColor(palette[color], 'mainChannel', safeColorChannel(toRgb(colors.main)));
|
|
251
257
|
}
|
|
252
258
|
if (colors.light) {
|
|
253
|
-
setColor(palette[color], 'lightChannel', safeColorChannel(colors.light));
|
|
259
|
+
setColor(palette[color], 'lightChannel', safeColorChannel(toRgb(colors.light)));
|
|
254
260
|
}
|
|
255
261
|
if (colors.dark) {
|
|
256
|
-
setColor(palette[color], 'darkChannel', safeColorChannel(colors.dark));
|
|
262
|
+
setColor(palette[color], 'darkChannel', safeColorChannel(toRgb(colors.dark)));
|
|
257
263
|
}
|
|
258
264
|
if (colors.contrastText) {
|
|
259
|
-
setColor(palette[color], 'contrastTextChannel', safeColorChannel(colors.contrastText));
|
|
265
|
+
setColor(palette[color], 'contrastTextChannel', safeColorChannel(toRgb(colors.contrastText)));
|
|
260
266
|
}
|
|
261
267
|
if (color === 'text') {
|
|
262
268
|
// Text colors: text.primary, text.secondary
|
|
@@ -35,7 +35,7 @@ const useTouchRipple = props => {
|
|
|
35
35
|
});
|
|
36
36
|
const handleKeyUp = useEventCallback(event => {
|
|
37
37
|
// calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed
|
|
38
|
-
// https://codesandbox.io/
|
|
38
|
+
// https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0
|
|
39
39
|
if (!disableFocusRipple && event.key === ' ' && rippleRef.current && focusVisible && !event.defaultPrevented) {
|
|
40
40
|
keydownRef.current = false;
|
|
41
41
|
rippleRef.current.stop(event, () => {
|
|
@@ -229,7 +229,6 @@ const AutocompleteEndAdornment = (0, _styled.default)('div', {
|
|
|
229
229
|
right: 0,
|
|
230
230
|
top: 'calc(50% - 14px)' // Center vertically
|
|
231
231
|
});
|
|
232
|
-
|
|
233
232
|
const AutocompleteClearIndicator = (0, _styled.default)(_IconButton.default, {
|
|
234
233
|
name: 'MuiAutocomplete',
|
|
235
234
|
slot: 'ClearIndicator',
|
|
@@ -673,7 +672,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
|
|
|
673
672
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
674
673
|
// ----------------------------------------------------------------------
|
|
675
674
|
/**
|
|
676
|
-
* If `true`, the portion of the selected suggestion that
|
|
675
|
+
* If `true`, the portion of the selected suggestion that the user hasn't typed,
|
|
677
676
|
* known as the completion string, appears inline after the input cursor in the textbox.
|
|
678
677
|
* The inline completion string is visually highlighted and has a selected state.
|
|
679
678
|
* @default false
|
|
@@ -689,7 +688,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
|
|
|
689
688
|
* when the Autocomplete loses focus unless the user chooses
|
|
690
689
|
* a different option or changes the character string in the input.
|
|
691
690
|
*
|
|
692
|
-
* When using `freeSolo` mode, the typed value will be the input value
|
|
691
|
+
* When using the `freeSolo` mode, the typed value will be the input value
|
|
693
692
|
* if the Autocomplete loses focus without highlighting an option.
|
|
694
693
|
* @default false
|
|
695
694
|
*/
|
|
@@ -724,8 +723,8 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
|
|
|
724
723
|
/**
|
|
725
724
|
* If `true`, the input's text is cleared on blur if no value is selected.
|
|
726
725
|
*
|
|
727
|
-
* Set to `true` if you want to help the user enter a new value.
|
|
728
|
-
* Set to `false` if you want to help the user resume their search.
|
|
726
|
+
* Set it to `true` if you want to help the user enter a new value.
|
|
727
|
+
* Set it to `false` if you want to help the user resume their search.
|
|
729
728
|
* @default !props.freeSolo
|
|
730
729
|
*/
|
|
731
730
|
clearOnBlur: _propTypes.default.bool,
|
|
@@ -74,7 +74,6 @@ const ButtonBaseRoot = exports.ButtonBaseRoot = (0, _styled.default)('button', {
|
|
|
74
74
|
'&::-moz-focus-inner': {
|
|
75
75
|
borderStyle: 'none' // Remove Firefox dotted outline.
|
|
76
76
|
},
|
|
77
|
-
|
|
78
77
|
[`&.${_buttonBaseClasses.default.disabled}`]: {
|
|
79
78
|
pointerEvents: 'none',
|
|
80
79
|
// Disable link interactions
|
|
@@ -241,7 +240,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
|
|
|
241
240
|
});
|
|
242
241
|
const handleKeyUp = (0, _useEventCallback.default)(event => {
|
|
243
242
|
// calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed
|
|
244
|
-
// https://codesandbox.io/
|
|
243
|
+
// https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0
|
|
245
244
|
if (focusRipple && event.key === ' ' && rippleRef.current && focusVisible && !event.defaultPrevented) {
|
|
246
245
|
keydownRef.current = false;
|
|
247
246
|
rippleRef.current.stop(event, () => {
|
|
@@ -6,8 +6,22 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
var _exportNames = {
|
|
9
|
-
buttonGroupClasses: true
|
|
9
|
+
buttonGroupClasses: true,
|
|
10
|
+
ButtonGroupContext: true,
|
|
11
|
+
ButtonGroupButtonContext: true
|
|
10
12
|
};
|
|
13
|
+
Object.defineProperty(exports, "ButtonGroupButtonContext", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () {
|
|
16
|
+
return _ButtonGroupButtonContext.default;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "ButtonGroupContext", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () {
|
|
22
|
+
return _ButtonGroupContext.default;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
11
25
|
Object.defineProperty(exports, "buttonGroupClasses", {
|
|
12
26
|
enumerable: true,
|
|
13
27
|
get: function () {
|
|
@@ -33,5 +47,7 @@ Object.keys(_buttonGroupClasses).forEach(function (key) {
|
|
|
33
47
|
}
|
|
34
48
|
});
|
|
35
49
|
});
|
|
50
|
+
var _ButtonGroupContext = _interopRequireDefault(require("./ButtonGroupContext"));
|
|
51
|
+
var _ButtonGroupButtonContext = _interopRequireDefault(require("./ButtonGroupButtonContext"));
|
|
36
52
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
37
53
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -91,7 +91,6 @@ const FilledInputRoot = (0, _styled.default)(_InputBase2.InputBaseRoot, {
|
|
|
91
91
|
}),
|
|
92
92
|
pointerEvents: 'none' // Transparent to the hover style.
|
|
93
93
|
},
|
|
94
|
-
|
|
95
94
|
[`&.${_filledInputClasses.default.focused}:after`]: {
|
|
96
95
|
// translateX(0) is a workaround for Safari transform scale bug
|
|
97
96
|
// See https://github.com/mui/material-ui/issues/31766
|
|
@@ -115,7 +114,6 @@ const FilledInputRoot = (0, _styled.default)(_InputBase2.InputBaseRoot, {
|
|
|
115
114
|
}),
|
|
116
115
|
pointerEvents: 'none' // Transparent to the hover style.
|
|
117
116
|
},
|
|
118
|
-
|
|
119
117
|
[`&:hover:not(.${_filledInputClasses.default.disabled}, .${_filledInputClasses.default.error}):before`]: {
|
|
120
118
|
borderBottom: `1px solid ${(theme.vars || theme).palette.text.primary}`
|
|
121
119
|
},
|
package/node/Input/Input.js
CHANGED
|
@@ -74,7 +74,6 @@ const InputRoot = (0, _styled.default)(_InputBase2.InputBaseRoot, {
|
|
|
74
74
|
}),
|
|
75
75
|
pointerEvents: 'none' // Transparent to the hover style.
|
|
76
76
|
},
|
|
77
|
-
|
|
78
77
|
[`&.${_inputClasses.default.focused}:after`]: {
|
|
79
78
|
// translateX(0) is a workaround for Safari transform scale bug
|
|
80
79
|
// See https://github.com/mui/material-ui/issues/31766
|
|
@@ -98,7 +97,6 @@ const InputRoot = (0, _styled.default)(_InputBase2.InputBaseRoot, {
|
|
|
98
97
|
}),
|
|
99
98
|
pointerEvents: 'none' // Transparent to the hover style.
|
|
100
99
|
},
|
|
101
|
-
|
|
102
100
|
[`&:hover:not(.${_inputClasses.default.disabled}, .${_inputClasses.default.error}):before`]: {
|
|
103
101
|
borderBottom: `2px solid ${(theme.vars || theme).palette.text.primary}`,
|
|
104
102
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -175,13 +175,11 @@ const InputBaseComponent = exports.InputBaseComponent = (0, _styled.default)('in
|
|
|
175
175
|
// IE11
|
|
176
176
|
'&:focus::-ms-input-placeholder': placeholderVisible // Edge
|
|
177
177
|
},
|
|
178
|
-
|
|
179
178
|
[`&.${_inputBaseClasses.default.disabled}`]: {
|
|
180
179
|
opacity: 1,
|
|
181
180
|
// Reset iOS opacity
|
|
182
181
|
WebkitTextFillColor: (theme.vars || theme).palette.text.disabled // Fix opacity Safari bug
|
|
183
182
|
},
|
|
184
|
-
|
|
185
183
|
'&:-webkit-autofill': {
|
|
186
184
|
animationDuration: '5000s',
|
|
187
185
|
animationName: 'mui-auto-fill'
|
|
@@ -113,11 +113,7 @@ const InputLabelRoot = (0, _styled.default)(_FormLabel.default, {
|
|
|
113
113
|
// but it feels a better when it bleeds a bit on the left, so 32px.
|
|
114
114
|
maxWidth: 'calc(133% - 32px)',
|
|
115
115
|
transform: 'translate(14px, -9px) scale(0.75)'
|
|
116
|
-
})
|
|
117
|
-
'&:not(label) + div': {
|
|
118
|
-
marginTop: 16
|
|
119
|
-
}
|
|
120
|
-
}));
|
|
116
|
+
})));
|
|
121
117
|
const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, ref) {
|
|
122
118
|
const props = (0, _useThemeProps.default)({
|
|
123
119
|
name: 'MuiInputLabel',
|
package/node/Link/Link.js
CHANGED
|
@@ -56,7 +56,6 @@ const nativeSelectSelectStyles = ({
|
|
|
56
56
|
}, {
|
|
57
57
|
borderRadius: 0 // Reset Chrome style
|
|
58
58
|
}),
|
|
59
|
-
|
|
60
59
|
// Remove IE11 arrow
|
|
61
60
|
'&::-ms-expand': {
|
|
62
61
|
display: 'none'
|
|
@@ -84,7 +83,6 @@ const nativeSelectSelectStyles = ({
|
|
|
84
83
|
'&:focus': {
|
|
85
84
|
borderRadius: (theme.vars || theme).shape.borderRadius // Reset the reset for Chrome style
|
|
86
85
|
},
|
|
87
|
-
|
|
88
86
|
'&&&': {
|
|
89
87
|
paddingRight: 32
|
|
90
88
|
}
|
|
@@ -392,7 +392,6 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
392
392
|
'data-value': child.props.value // Instead, we provide it as a data attribute.
|
|
393
393
|
});
|
|
394
394
|
});
|
|
395
|
-
|
|
396
395
|
if (process.env.NODE_ENV !== 'production') {
|
|
397
396
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
398
397
|
React.useEffect(() => {
|
|
@@ -441,7 +440,6 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
441
440
|
const classes = useUtilityClasses(ownerState);
|
|
442
441
|
const paperProps = (0, _extends2.default)({}, MenuProps.PaperProps, (_MenuProps$slotProps = MenuProps.slotProps) == null ? void 0 : _MenuProps$slotProps.paper);
|
|
443
442
|
const listboxId = (0, _utils.unstable_useId)();
|
|
444
|
-
const hiddenInputId = (0, _utils.unstable_useId)();
|
|
445
443
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
446
444
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(SelectSelect, (0, _extends2.default)({
|
|
447
445
|
ref: handleDisplayRef,
|
|
@@ -472,7 +470,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
472
470
|
})), /*#__PURE__*/(0, _jsxRuntime.jsx)(SelectNativeInput, (0, _extends2.default)({
|
|
473
471
|
"aria-invalid": error,
|
|
474
472
|
value: Array.isArray(value) ? value.join(',') : value,
|
|
475
|
-
name: name
|
|
473
|
+
name: name,
|
|
476
474
|
ref: inputRef,
|
|
477
475
|
"aria-hidden": true,
|
|
478
476
|
onChange: handleChange,
|
|
@@ -26,7 +26,7 @@ var _useId = _interopRequireDefault(require("../utils/useId"));
|
|
|
26
26
|
var _tablePaginationClasses = _interopRequireWildcard(require("./tablePaginationClasses"));
|
|
27
27
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
28
28
|
var _InputBase;
|
|
29
|
-
const _excluded = ["ActionsComponent", "backIconButtonProps", "className", "colSpan", "component", "count", "disabled", "getItemAriaLabel", "labelDisplayedRows", "labelRowsPerPage", "nextIconButtonProps", "onPageChange", "onRowsPerPageChange", "page", "rowsPerPage", "rowsPerPageOptions", "SelectProps", "showFirstButton", "showLastButton", "slotProps"];
|
|
29
|
+
const _excluded = ["ActionsComponent", "backIconButtonProps", "className", "colSpan", "component", "count", "disabled", "getItemAriaLabel", "labelDisplayedRows", "labelRowsPerPage", "nextIconButtonProps", "onPageChange", "onRowsPerPageChange", "page", "rowsPerPage", "rowsPerPageOptions", "SelectProps", "showFirstButton", "showLastButton", "slotProps", "slots"];
|
|
30
30
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
31
31
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
32
32
|
const TablePaginationRoot = (0, _styled.default)(_TableCell.default, {
|
|
@@ -103,7 +103,6 @@ const TablePaginationSelect = (0, _styled.default)(_Select.default, {
|
|
|
103
103
|
textAlignLast: 'right' // Align <select> on Chrome.
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
|
-
|
|
107
106
|
const TablePaginationMenuItem = (0, _styled.default)(_MenuItem.default, {
|
|
108
107
|
name: 'MuiTablePagination',
|
|
109
108
|
slot: 'MenuItem',
|
|
@@ -176,7 +175,8 @@ const TablePagination = /*#__PURE__*/React.forwardRef(function TablePagination(i
|
|
|
176
175
|
SelectProps = {},
|
|
177
176
|
showFirstButton = false,
|
|
178
177
|
showLastButton = false,
|
|
179
|
-
slotProps
|
|
178
|
+
slotProps = {},
|
|
179
|
+
slots = {}
|
|
180
180
|
} = props,
|
|
181
181
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
182
182
|
const ownerState = props;
|
|
@@ -187,7 +187,6 @@ const TablePagination = /*#__PURE__*/React.forwardRef(function TablePagination(i
|
|
|
187
187
|
if (component === _TableCell.default || component === 'td') {
|
|
188
188
|
colSpan = colSpanProp || 1000; // col-span over everything
|
|
189
189
|
}
|
|
190
|
-
|
|
191
190
|
const selectId = (0, _useId.default)(selectProps.id);
|
|
192
191
|
const labelId = (0, _useId.default)(selectProps.labelId);
|
|
193
192
|
const getLabelDisplayedRowsTo = () => {
|
|
@@ -254,7 +253,8 @@ const TablePagination = /*#__PURE__*/React.forwardRef(function TablePagination(i
|
|
|
254
253
|
rowsPerPage: rowsPerPage,
|
|
255
254
|
showFirstButton: showFirstButton,
|
|
256
255
|
showLastButton: showLastButton,
|
|
257
|
-
slotProps: slotProps
|
|
256
|
+
slotProps: slotProps.actions,
|
|
257
|
+
slots: slots.actions,
|
|
258
258
|
getItemAriaLabel: getItemAriaLabel,
|
|
259
259
|
disabled: disabled
|
|
260
260
|
})]
|
|
@@ -416,12 +416,33 @@ process.env.NODE_ENV !== "production" ? TablePagination.propTypes /* remove-prop
|
|
|
416
416
|
slotProps: _propTypes.default.shape({
|
|
417
417
|
actions: _propTypes.default.shape({
|
|
418
418
|
firstButton: _propTypes.default.object,
|
|
419
|
+
firstButtonIcon: _propTypes.default.object,
|
|
419
420
|
lastButton: _propTypes.default.object,
|
|
421
|
+
lastButtonIcon: _propTypes.default.object,
|
|
420
422
|
nextButton: _propTypes.default.object,
|
|
421
|
-
|
|
423
|
+
nextButtonIcon: _propTypes.default.object,
|
|
424
|
+
previousButton: _propTypes.default.object,
|
|
425
|
+
previousButtonIcon: _propTypes.default.object
|
|
422
426
|
}),
|
|
423
427
|
select: _propTypes.default.object
|
|
424
428
|
}),
|
|
429
|
+
/**
|
|
430
|
+
* The components used for each slot inside the TablePagination.
|
|
431
|
+
* Either a string to use a HTML element or a component.
|
|
432
|
+
* @default {}
|
|
433
|
+
*/
|
|
434
|
+
slots: _propTypes.default.shape({
|
|
435
|
+
actions: _propTypes.default.shape({
|
|
436
|
+
firstButton: _propTypes.default.elementType,
|
|
437
|
+
firstButtonIcon: _propTypes.default.elementType,
|
|
438
|
+
lastButton: _propTypes.default.elementType,
|
|
439
|
+
lastButtonIcon: _propTypes.default.elementType,
|
|
440
|
+
nextButton: _propTypes.default.elementType,
|
|
441
|
+
nextButtonIcon: _propTypes.default.elementType,
|
|
442
|
+
previousButton: _propTypes.default.elementType,
|
|
443
|
+
previousButtonIcon: _propTypes.default.elementType
|
|
444
|
+
})
|
|
445
|
+
}),
|
|
425
446
|
/**
|
|
426
447
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
427
448
|
*/
|
|
@@ -10,22 +10,21 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
var
|
|
14
|
-
var
|
|
13
|
+
var _KeyboardArrowLeft = _interopRequireDefault(require("../internal/svg-icons/KeyboardArrowLeft"));
|
|
14
|
+
var _KeyboardArrowRight = _interopRequireDefault(require("../internal/svg-icons/KeyboardArrowRight"));
|
|
15
15
|
var _useTheme = _interopRequireDefault(require("../styles/useTheme"));
|
|
16
16
|
var _IconButton = _interopRequireDefault(require("../IconButton"));
|
|
17
17
|
var _LastPage = _interopRequireDefault(require("../internal/svg-icons/LastPage"));
|
|
18
18
|
var _FirstPage = _interopRequireDefault(require("../internal/svg-icons/FirstPage"));
|
|
19
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
|
-
|
|
21
|
-
const _excluded = ["backIconButtonProps", "count", "disabled", "getItemAriaLabel", "nextIconButtonProps", "onPageChange", "page", "rowsPerPage", "showFirstButton", "showLastButton", "slotProps"];
|
|
20
|
+
const _excluded = ["backIconButtonProps", "count", "disabled", "getItemAriaLabel", "nextIconButtonProps", "onPageChange", "page", "rowsPerPage", "showFirstButton", "showLastButton", "slots", "slotProps"];
|
|
22
21
|
/**
|
|
23
22
|
* @ignore - internal component.
|
|
24
23
|
*/
|
|
25
24
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
26
25
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
27
26
|
const TablePaginationActions = /*#__PURE__*/React.forwardRef(function TablePaginationActions(props, ref) {
|
|
28
|
-
var
|
|
27
|
+
var _slots$firstButton, _slots$lastButton, _slots$nextButton, _slots$previousButton, _slots$firstButtonIco, _slots$lastButtonIcon, _slots$nextButtonIcon, _slots$previousButton2;
|
|
29
28
|
const {
|
|
30
29
|
backIconButtonProps,
|
|
31
30
|
count,
|
|
@@ -37,7 +36,8 @@ const TablePaginationActions = /*#__PURE__*/React.forwardRef(function TablePagin
|
|
|
37
36
|
rowsPerPage,
|
|
38
37
|
showFirstButton,
|
|
39
38
|
showLastButton,
|
|
40
|
-
|
|
39
|
+
slots = {},
|
|
40
|
+
slotProps = {}
|
|
41
41
|
} = props,
|
|
42
42
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
43
43
|
const theme = (0, _useTheme.default)();
|
|
@@ -53,39 +53,55 @@ const TablePaginationActions = /*#__PURE__*/React.forwardRef(function TablePagin
|
|
|
53
53
|
const handleLastPageButtonClick = event => {
|
|
54
54
|
onPageChange(event, Math.max(0, Math.ceil(count / rowsPerPage) - 1));
|
|
55
55
|
};
|
|
56
|
+
const FirstButton = (_slots$firstButton = slots.firstButton) != null ? _slots$firstButton : _IconButton.default;
|
|
57
|
+
const LastButton = (_slots$lastButton = slots.lastButton) != null ? _slots$lastButton : _IconButton.default;
|
|
58
|
+
const NextButton = (_slots$nextButton = slots.nextButton) != null ? _slots$nextButton : _IconButton.default;
|
|
59
|
+
const PreviousButton = (_slots$previousButton = slots.previousButton) != null ? _slots$previousButton : _IconButton.default;
|
|
60
|
+
const FirstButtonIcon = (_slots$firstButtonIco = slots.firstButtonIcon) != null ? _slots$firstButtonIco : _FirstPage.default;
|
|
61
|
+
const LastButtonIcon = (_slots$lastButtonIcon = slots.lastButtonIcon) != null ? _slots$lastButtonIcon : _LastPage.default;
|
|
62
|
+
const NextButtonIcon = (_slots$nextButtonIcon = slots.nextButtonIcon) != null ? _slots$nextButtonIcon : _KeyboardArrowRight.default;
|
|
63
|
+
const PreviousButtonIcon = (_slots$previousButton2 = slots.previousButtonIcon) != null ? _slots$previousButton2 : _KeyboardArrowLeft.default;
|
|
64
|
+
const FirstButtonSlot = theme.direction === 'rtl' ? LastButton : FirstButton;
|
|
65
|
+
const PreviousButtonSlot = theme.direction === 'rtl' ? NextButton : PreviousButton;
|
|
66
|
+
const NextButtonSlot = theme.direction === 'rtl' ? PreviousButton : NextButton;
|
|
67
|
+
const LastButtonSlot = theme.direction === 'rtl' ? FirstButton : LastButton;
|
|
68
|
+
const firstButtonSlotProps = theme.direction === 'rtl' ? slotProps.lastButton : slotProps.firstButton;
|
|
69
|
+
const previousButtonSlotProps = theme.direction === 'rtl' ? slotProps.nextButton : slotProps.previousButton;
|
|
70
|
+
const nextButtonSlotProps = theme.direction === 'rtl' ? slotProps.previousButton : slotProps.nextButton;
|
|
71
|
+
const lastButtonSlotProps = theme.direction === 'rtl' ? slotProps.firstButton : slotProps.lastButton;
|
|
56
72
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", (0, _extends2.default)({
|
|
57
73
|
ref: ref
|
|
58
74
|
}, other, {
|
|
59
|
-
children: [showFirstButton && /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
75
|
+
children: [showFirstButton && /*#__PURE__*/(0, _jsxRuntime.jsx)(FirstButtonSlot, (0, _extends2.default)({
|
|
60
76
|
onClick: handleFirstPageButtonClick,
|
|
61
77
|
disabled: disabled || page === 0,
|
|
62
78
|
"aria-label": getItemAriaLabel('first', page),
|
|
63
79
|
title: getItemAriaLabel('first', page)
|
|
64
|
-
},
|
|
65
|
-
children: theme.direction === 'rtl' ?
|
|
66
|
-
})), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
80
|
+
}, firstButtonSlotProps, {
|
|
81
|
+
children: theme.direction === 'rtl' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(LastButtonIcon, (0, _extends2.default)({}, slotProps.lastButtonIcon)) : /*#__PURE__*/(0, _jsxRuntime.jsx)(FirstButtonIcon, (0, _extends2.default)({}, slotProps.firstButtonIcon))
|
|
82
|
+
})), /*#__PURE__*/(0, _jsxRuntime.jsx)(PreviousButtonSlot, (0, _extends2.default)({
|
|
67
83
|
onClick: handleBackButtonClick,
|
|
68
84
|
disabled: disabled || page === 0,
|
|
69
85
|
color: "inherit",
|
|
70
86
|
"aria-label": getItemAriaLabel('previous', page),
|
|
71
87
|
title: getItemAriaLabel('previous', page)
|
|
72
|
-
},
|
|
73
|
-
children: theme.direction === 'rtl' ?
|
|
74
|
-
})), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
88
|
+
}, previousButtonSlotProps != null ? previousButtonSlotProps : backIconButtonProps, {
|
|
89
|
+
children: theme.direction === 'rtl' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(NextButtonIcon, (0, _extends2.default)({}, slotProps.nextButtonIcon)) : /*#__PURE__*/(0, _jsxRuntime.jsx)(PreviousButtonIcon, (0, _extends2.default)({}, slotProps.previousButtonIcon))
|
|
90
|
+
})), /*#__PURE__*/(0, _jsxRuntime.jsx)(NextButtonSlot, (0, _extends2.default)({
|
|
75
91
|
onClick: handleNextButtonClick,
|
|
76
92
|
disabled: disabled || (count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false),
|
|
77
93
|
color: "inherit",
|
|
78
94
|
"aria-label": getItemAriaLabel('next', page),
|
|
79
95
|
title: getItemAriaLabel('next', page)
|
|
80
|
-
},
|
|
81
|
-
children: theme.direction === 'rtl' ?
|
|
82
|
-
})), showLastButton && /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
96
|
+
}, nextButtonSlotProps != null ? nextButtonSlotProps : nextIconButtonProps, {
|
|
97
|
+
children: theme.direction === 'rtl' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(PreviousButtonIcon, (0, _extends2.default)({}, slotProps.previousButtonIcon)) : /*#__PURE__*/(0, _jsxRuntime.jsx)(NextButtonIcon, (0, _extends2.default)({}, slotProps.nextButtonIcon))
|
|
98
|
+
})), showLastButton && /*#__PURE__*/(0, _jsxRuntime.jsx)(LastButtonSlot, (0, _extends2.default)({
|
|
83
99
|
onClick: handleLastPageButtonClick,
|
|
84
100
|
disabled: disabled || page >= Math.ceil(count / rowsPerPage) - 1,
|
|
85
101
|
"aria-label": getItemAriaLabel('last', page),
|
|
86
102
|
title: getItemAriaLabel('last', page)
|
|
87
|
-
},
|
|
88
|
-
children: theme.direction === 'rtl' ?
|
|
103
|
+
}, lastButtonSlotProps, {
|
|
104
|
+
children: theme.direction === 'rtl' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(FirstButtonIcon, (0, _extends2.default)({}, slotProps.firstButtonIcon)) : /*#__PURE__*/(0, _jsxRuntime.jsx)(LastButtonIcon, (0, _extends2.default)({}, slotProps.lastButtonIcon))
|
|
89
105
|
}))]
|
|
90
106
|
}));
|
|
91
107
|
});
|
|
@@ -146,9 +162,28 @@ process.env.NODE_ENV !== "production" ? TablePaginationActions.propTypes = {
|
|
|
146
162
|
*/
|
|
147
163
|
slotProps: _propTypes.default.shape({
|
|
148
164
|
firstButton: _propTypes.default.object,
|
|
165
|
+
firstButtonIcon: _propTypes.default.object,
|
|
149
166
|
lastButton: _propTypes.default.object,
|
|
167
|
+
lastButtonIcon: _propTypes.default.object,
|
|
150
168
|
nextButton: _propTypes.default.object,
|
|
151
|
-
|
|
169
|
+
nextButtonIcon: _propTypes.default.object,
|
|
170
|
+
previousButton: _propTypes.default.object,
|
|
171
|
+
previousButtonIcon: _propTypes.default.object
|
|
172
|
+
}),
|
|
173
|
+
/**
|
|
174
|
+
* The components used for each slot inside the TablePaginationActions.
|
|
175
|
+
* Either a string to use a HTML element or a component.
|
|
176
|
+
* @default {}
|
|
177
|
+
*/
|
|
178
|
+
slots: _propTypes.default.shape({
|
|
179
|
+
firstButton: _propTypes.default.elementType,
|
|
180
|
+
firstButtonIcon: _propTypes.default.elementType,
|
|
181
|
+
lastButton: _propTypes.default.elementType,
|
|
182
|
+
lastButtonIcon: _propTypes.default.elementType,
|
|
183
|
+
nextButton: _propTypes.default.elementType,
|
|
184
|
+
nextButtonIcon: _propTypes.default.elementType,
|
|
185
|
+
previousButton: _propTypes.default.elementType,
|
|
186
|
+
previousButtonIcon: _propTypes.default.elementType
|
|
152
187
|
})
|
|
153
188
|
} : void 0;
|
|
154
189
|
var _default = exports.default = TablePaginationActions;
|
package/node/Tabs/Tabs.js
CHANGED
|
@@ -207,7 +207,6 @@ const TabsScrollbarSize = (0, _styled.default)(_ScrollbarSize.default)({
|
|
|
207
207
|
display: 'none' // Safari + Chrome
|
|
208
208
|
}
|
|
209
209
|
});
|
|
210
|
-
|
|
211
210
|
const defaultIndicatorStyle = {};
|
|
212
211
|
let warnedOnceTabPresent = false;
|
|
213
212
|
const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
package/node/index.js
CHANGED