@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
|
@@ -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 => {
|
|
@@ -248,16 +254,16 @@ export default function extendTheme(options = {}, ...args) {
|
|
|
248
254
|
if (colors && typeof colors === 'object') {
|
|
249
255
|
// Silent the error for custom palettes.
|
|
250
256
|
if (colors.main) {
|
|
251
|
-
setColor(palette[color], 'mainChannel', safeColorChannel(colors.main));
|
|
257
|
+
setColor(palette[color], 'mainChannel', safeColorChannel(toRgb(colors.main)));
|
|
252
258
|
}
|
|
253
259
|
if (colors.light) {
|
|
254
|
-
setColor(palette[color], 'lightChannel', safeColorChannel(colors.light));
|
|
260
|
+
setColor(palette[color], 'lightChannel', safeColorChannel(toRgb(colors.light)));
|
|
255
261
|
}
|
|
256
262
|
if (colors.dark) {
|
|
257
|
-
setColor(palette[color], 'darkChannel', safeColorChannel(colors.dark));
|
|
263
|
+
setColor(palette[color], 'darkChannel', safeColorChannel(toRgb(colors.dark)));
|
|
258
264
|
}
|
|
259
265
|
if (colors.contrastText) {
|
|
260
|
-
setColor(palette[color], 'contrastTextChannel', safeColorChannel(colors.contrastText));
|
|
266
|
+
setColor(palette[color], 'contrastTextChannel', safeColorChannel(toRgb(colors.contrastText)));
|
|
261
267
|
}
|
|
262
268
|
if (color === 'text') {
|
|
263
269
|
// Text colors: text.primary, text.secondary
|
package/styles/variants.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Interpolation } from '@mui/system';
|
|
2
|
-
import { Theme } from './createTheme';
|
|
3
2
|
import { ComponentsPropsList } from './props';
|
|
4
3
|
|
|
5
|
-
export type ComponentsVariants = {
|
|
4
|
+
export type ComponentsVariants<Theme = unknown> = {
|
|
6
5
|
[Name in keyof ComponentsPropsList]?: Array<{
|
|
7
6
|
props: Partial<ComponentsPropsList[Name]>;
|
|
8
7
|
style: Interpolation<{ theme: Theme }>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.
|
|
2
|
+
* @mui/material v5.15.1
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -1597,6 +1597,7 @@
|
|
|
1597
1597
|
// This module is based on https://github.com/airbnb/prop-types-exact repository.
|
|
1598
1598
|
// However, in order to reduce the number of dependencies and to remove some extra safe checks
|
|
1599
1599
|
// the module was forked.
|
|
1600
|
+
|
|
1600
1601
|
const specialProperty = 'exact-prop: \u200b';
|
|
1601
1602
|
function exactProp(propTypes) {
|
|
1602
1603
|
return _extends({}, propTypes, {
|
|
@@ -2140,7 +2141,6 @@
|
|
|
2140
2141
|
});
|
|
2141
2142
|
return React__namespace.useRef((...args) =>
|
|
2142
2143
|
// @ts-expect-error hide `this`
|
|
2143
|
-
// tslint:disable-next-line:ban-comma-operator
|
|
2144
2144
|
(0, ref.current)(...args)).current;
|
|
2145
2145
|
}
|
|
2146
2146
|
|
|
@@ -2555,6 +2555,7 @@
|
|
|
2555
2555
|
|
|
2556
2556
|
// If GlobalStateSlot is changed, GLOBAL_STATE_CLASSES in
|
|
2557
2557
|
// \packages\api-docs-builder\utils\parseSlotsAndClasses.ts must be updated accordingly.
|
|
2558
|
+
|
|
2558
2559
|
const globalStateClassesMapping = {
|
|
2559
2560
|
active: 'active',
|
|
2560
2561
|
checked: 'checked',
|
|
@@ -6328,7 +6329,6 @@
|
|
|
6328
6329
|
// desktop
|
|
6329
6330
|
xl: 1536 // large screen
|
|
6330
6331
|
},
|
|
6331
|
-
|
|
6332
6332
|
unit = 'px',
|
|
6333
6333
|
step = 5
|
|
6334
6334
|
} = breakpoints,
|
|
@@ -6406,7 +6406,6 @@
|
|
|
6406
6406
|
// desktop
|
|
6407
6407
|
xl: 1536 // large screen
|
|
6408
6408
|
};
|
|
6409
|
-
|
|
6410
6409
|
const defaultBreakpoints = {
|
|
6411
6410
|
// Sorted ASC by size. That's important.
|
|
6412
6411
|
// It can't be configured as it's used statically for propTypes.
|
|
@@ -6735,8 +6734,6 @@
|
|
|
6735
6734
|
|
|
6736
6735
|
// The different signatures imply different meaning for their arguments that can't be expressed structurally.
|
|
6737
6736
|
// We express the difference with variable names.
|
|
6738
|
-
/* tslint:disable:unified-signatures */
|
|
6739
|
-
/* tslint:enable:unified-signatures */
|
|
6740
6737
|
|
|
6741
6738
|
function createSpacing(spacingInput = 8) {
|
|
6742
6739
|
// Already transformed.
|
|
@@ -7351,7 +7348,6 @@
|
|
|
7351
7348
|
if (!sx) {
|
|
7352
7349
|
return null; // Emotion & styled-components will neglect null
|
|
7353
7350
|
}
|
|
7354
|
-
|
|
7355
7351
|
const config = (_theme$unstable_sxCon = theme.unstable_sxConfig) != null ? _theme$unstable_sxCon : defaultSxConfig$1;
|
|
7356
7352
|
|
|
7357
7353
|
/*
|
|
@@ -8101,7 +8097,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8101
8097
|
if (color.type !== 'color') {
|
|
8102
8098
|
val /= 255; // normalized
|
|
8103
8099
|
}
|
|
8104
|
-
|
|
8105
8100
|
return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;
|
|
8106
8101
|
});
|
|
8107
8102
|
|
|
@@ -9116,7 +9111,6 @@ try {
|
|
|
9116
9111
|
}
|
|
9117
9112
|
}, keys => keys[0] === 'vars' // skip 'vars/*' paths
|
|
9118
9113
|
);
|
|
9119
|
-
|
|
9120
9114
|
return {
|
|
9121
9115
|
css,
|
|
9122
9116
|
vars,
|
|
@@ -9680,7 +9674,6 @@ try {
|
|
|
9680
9674
|
// use context value if exists.
|
|
9681
9675
|
parentDisableEqualOverflow: overflow // for nested grid
|
|
9682
9676
|
});
|
|
9683
|
-
|
|
9684
9677
|
const classes = useUtilityClasses(ownerState, theme);
|
|
9685
9678
|
let result = /*#__PURE__*/jsxRuntime_1(GridRoot, _extends({
|
|
9686
9679
|
ref: ref,
|
|
@@ -10876,11 +10869,17 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10876
10869
|
obj[key] = defaultValue;
|
|
10877
10870
|
}
|
|
10878
10871
|
}
|
|
10872
|
+
function toRgb(color) {
|
|
10873
|
+
if (!color || !color.startsWith('hsl')) {
|
|
10874
|
+
return color;
|
|
10875
|
+
}
|
|
10876
|
+
return hslToRgb(color);
|
|
10877
|
+
}
|
|
10879
10878
|
function setColorChannel(obj, key) {
|
|
10880
10879
|
if (!(`${key}Channel` in obj)) {
|
|
10881
10880
|
// custom channel token is not provided, generate one.
|
|
10882
10881
|
// if channel token can't be generated, show a warning.
|
|
10883
|
-
obj[`${key}Channel`] = private_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.`);
|
|
10882
|
+
obj[`${key}Channel`] = private_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.`);
|
|
10884
10883
|
}
|
|
10885
10884
|
}
|
|
10886
10885
|
const silent = fn => {
|
|
@@ -11098,16 +11097,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
11098
11097
|
if (colors && typeof colors === 'object') {
|
|
11099
11098
|
// Silent the error for custom palettes.
|
|
11100
11099
|
if (colors.main) {
|
|
11101
|
-
setColor(palette[color], 'mainChannel', private_safeColorChannel(colors.main));
|
|
11100
|
+
setColor(palette[color], 'mainChannel', private_safeColorChannel(toRgb(colors.main)));
|
|
11102
11101
|
}
|
|
11103
11102
|
if (colors.light) {
|
|
11104
|
-
setColor(palette[color], 'lightChannel', private_safeColorChannel(colors.light));
|
|
11103
|
+
setColor(palette[color], 'lightChannel', private_safeColorChannel(toRgb(colors.light)));
|
|
11105
11104
|
}
|
|
11106
11105
|
if (colors.dark) {
|
|
11107
|
-
setColor(palette[color], 'darkChannel', private_safeColorChannel(colors.dark));
|
|
11106
|
+
setColor(palette[color], 'darkChannel', private_safeColorChannel(toRgb(colors.dark)));
|
|
11108
11107
|
}
|
|
11109
11108
|
if (colors.contrastText) {
|
|
11110
|
-
setColor(palette[color], 'contrastTextChannel', private_safeColorChannel(colors.contrastText));
|
|
11109
|
+
setColor(palette[color], 'contrastTextChannel', private_safeColorChannel(toRgb(colors.contrastText)));
|
|
11111
11110
|
}
|
|
11112
11111
|
if (color === 'text') {
|
|
11113
11112
|
// Text colors: text.primary, text.secondary
|
|
@@ -13195,7 +13194,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13195
13194
|
padding: 8,
|
|
13196
13195
|
justifyContent: 'flex-end'
|
|
13197
13196
|
}, !ownerState.disableSpacing && {
|
|
13198
|
-
'& > :not(:
|
|
13197
|
+
'& > :not(style) ~ :not(style)': {
|
|
13199
13198
|
marginLeft: 8
|
|
13200
13199
|
}
|
|
13201
13200
|
}));
|
|
@@ -13782,7 +13781,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13782
13781
|
'&::-moz-focus-inner': {
|
|
13783
13782
|
borderStyle: 'none' // Remove Firefox dotted outline.
|
|
13784
13783
|
},
|
|
13785
|
-
|
|
13786
13784
|
[`&.${buttonBaseClasses$1.disabled}`]: {
|
|
13787
13785
|
pointerEvents: 'none',
|
|
13788
13786
|
// Disable link interactions
|
|
@@ -13949,7 +13947,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13949
13947
|
});
|
|
13950
13948
|
const handleKeyUp = useEventCallback(event => {
|
|
13951
13949
|
// calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed
|
|
13952
|
-
// https://codesandbox.io/
|
|
13950
|
+
// https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0
|
|
13953
13951
|
if (focusRipple && event.key === ' ' && rippleRef.current && focusVisible && !event.defaultPrevented) {
|
|
13954
13952
|
keydownRef.current = false;
|
|
13955
13953
|
rippleRef.current.stop(event, () => {
|
|
@@ -19043,7 +19041,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19043
19041
|
var _document$activeEleme;
|
|
19044
19042
|
// This is necessary because Firefox and Safari will keep focus
|
|
19045
19043
|
// on a disabled element:
|
|
19046
|
-
// https://codesandbox.io/
|
|
19044
|
+
// https://codesandbox.io/p/sandbox/mui-pr-22247-forked-h151h?file=/src/App.js
|
|
19047
19045
|
// @ts-ignore
|
|
19048
19046
|
(_document$activeEleme = document.activeElement) == null || _document$activeEleme.blur();
|
|
19049
19047
|
}
|
|
@@ -21845,13 +21843,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21845
21843
|
// IE11
|
|
21846
21844
|
'&:focus::-ms-input-placeholder': placeholderVisible // Edge
|
|
21847
21845
|
},
|
|
21848
|
-
|
|
21849
21846
|
[`&.${inputBaseClasses$1.disabled}`]: {
|
|
21850
21847
|
opacity: 1,
|
|
21851
21848
|
// Reset iOS opacity
|
|
21852
21849
|
WebkitTextFillColor: (theme.vars || theme).palette.text.disabled // Fix opacity Safari bug
|
|
21853
21850
|
},
|
|
21854
|
-
|
|
21855
21851
|
'&:-webkit-autofill': {
|
|
21856
21852
|
animationDuration: '5000s',
|
|
21857
21853
|
animationName: 'mui-auto-fill'
|
|
@@ -22604,7 +22600,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22604
22600
|
right: 0,
|
|
22605
22601
|
top: 'calc(50% - 14px)' // Center vertically
|
|
22606
22602
|
});
|
|
22607
|
-
|
|
22608
22603
|
const AutocompleteClearIndicator = styled$1(IconButton$1, {
|
|
22609
22604
|
name: 'MuiAutocomplete',
|
|
22610
22605
|
slot: 'ClearIndicator',
|
|
@@ -23048,7 +23043,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23048
23043
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
23049
23044
|
// ----------------------------------------------------------------------
|
|
23050
23045
|
/**
|
|
23051
|
-
* If `true`, the portion of the selected suggestion that
|
|
23046
|
+
* If `true`, the portion of the selected suggestion that the user hasn't typed,
|
|
23052
23047
|
* known as the completion string, appears inline after the input cursor in the textbox.
|
|
23053
23048
|
* The inline completion string is visually highlighted and has a selected state.
|
|
23054
23049
|
* @default false
|
|
@@ -23064,7 +23059,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23064
23059
|
* when the Autocomplete loses focus unless the user chooses
|
|
23065
23060
|
* a different option or changes the character string in the input.
|
|
23066
23061
|
*
|
|
23067
|
-
* When using `freeSolo` mode, the typed value will be the input value
|
|
23062
|
+
* When using the `freeSolo` mode, the typed value will be the input value
|
|
23068
23063
|
* if the Autocomplete loses focus without highlighting an option.
|
|
23069
23064
|
* @default false
|
|
23070
23065
|
*/
|
|
@@ -23099,8 +23094,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23099
23094
|
/**
|
|
23100
23095
|
* If `true`, the input's text is cleared on blur if no value is selected.
|
|
23101
23096
|
*
|
|
23102
|
-
* Set to `true` if you want to help the user enter a new value.
|
|
23103
|
-
* Set to `false` if you want to help the user resume their search.
|
|
23097
|
+
* Set it to `true` if you want to help the user enter a new value.
|
|
23098
|
+
* Set it to `false` if you want to help the user resume their search.
|
|
23104
23099
|
* @default !props.freeSolo
|
|
23105
23100
|
*/
|
|
23106
23101
|
clearOnBlur: PropTypes.bool,
|
|
@@ -26180,7 +26175,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26180
26175
|
alignItems: 'center',
|
|
26181
26176
|
padding: 8
|
|
26182
26177
|
}, !ownerState.disableSpacing && {
|
|
26183
|
-
'& > :not(:
|
|
26178
|
+
'& > :not(style) ~ :not(style)': {
|
|
26184
26179
|
marginLeft: 8
|
|
26185
26180
|
}
|
|
26186
26181
|
}));
|
|
@@ -27189,7 +27184,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27189
27184
|
})({
|
|
27190
27185
|
display: 'block' // Keeps the progress centered
|
|
27191
27186
|
});
|
|
27192
|
-
|
|
27193
27187
|
const CircularProgressCircle = styled$1('circle', {
|
|
27194
27188
|
name: 'MuiCircularProgress',
|
|
27195
27189
|
slot: 'Circle',
|
|
@@ -29779,7 +29773,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29779
29773
|
}),
|
|
29780
29774
|
pointerEvents: 'none' // Transparent to the hover style.
|
|
29781
29775
|
},
|
|
29782
|
-
|
|
29783
29776
|
[`&.${filledInputClasses$1.focused}:after`]: {
|
|
29784
29777
|
// translateX(0) is a workaround for Safari transform scale bug
|
|
29785
29778
|
// See https://github.com/mui/material-ui/issues/31766
|
|
@@ -29803,7 +29796,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29803
29796
|
}),
|
|
29804
29797
|
pointerEvents: 'none' // Transparent to the hover style.
|
|
29805
29798
|
},
|
|
29806
|
-
|
|
29807
29799
|
[`&:hover:not(.${filledInputClasses$1.disabled}, .${filledInputClasses$1.error}):before`]: {
|
|
29808
29800
|
borderBottom: `1px solid ${(theme.vars || theme).palette.text.primary}`
|
|
29809
29801
|
},
|
|
@@ -33338,7 +33330,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33338
33330
|
}),
|
|
33339
33331
|
pointerEvents: 'none' // Transparent to the hover style.
|
|
33340
33332
|
},
|
|
33341
|
-
|
|
33342
33333
|
[`&.${inputClasses$1.focused}:after`]: {
|
|
33343
33334
|
// translateX(0) is a workaround for Safari transform scale bug
|
|
33344
33335
|
// See https://github.com/mui/material-ui/issues/31766
|
|
@@ -33362,7 +33353,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33362
33353
|
}),
|
|
33363
33354
|
pointerEvents: 'none' // Transparent to the hover style.
|
|
33364
33355
|
},
|
|
33365
|
-
|
|
33366
33356
|
[`&:hover:not(.${inputClasses$1.disabled}, .${inputClasses$1.error}):before`]: {
|
|
33367
33357
|
borderBottom: `2px solid ${(theme.vars || theme).palette.text.primary}`,
|
|
33368
33358
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -33874,11 +33864,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33874
33864
|
// but it feels a better when it bleeds a bit on the left, so 32px.
|
|
33875
33865
|
maxWidth: 'calc(133% - 32px)',
|
|
33876
33866
|
transform: 'translate(14px, -9px) scale(0.75)'
|
|
33877
|
-
})
|
|
33878
|
-
'&:not(label) + div': {
|
|
33879
|
-
marginTop: 16
|
|
33880
|
-
}
|
|
33881
|
-
}));
|
|
33867
|
+
})));
|
|
33882
33868
|
const InputLabel = /*#__PURE__*/React__namespace.forwardRef(function InputLabel(inProps, ref) {
|
|
33883
33869
|
const props = useThemeProps({
|
|
33884
33870
|
name: 'MuiInputLabel',
|
|
@@ -34426,7 +34412,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34426
34412
|
'&::-moz-focus-inner': {
|
|
34427
34413
|
borderStyle: 'none' // Remove Firefox dotted outline.
|
|
34428
34414
|
},
|
|
34429
|
-
|
|
34430
34415
|
[`&.${linkClasses$1.focusVisible}`]: {
|
|
34431
34416
|
outline: 'auto'
|
|
34432
34417
|
}
|
|
@@ -37312,7 +37297,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37312
37297
|
}, {
|
|
37313
37298
|
borderRadius: 0 // Reset Chrome style
|
|
37314
37299
|
}),
|
|
37315
|
-
|
|
37316
37300
|
// Remove IE11 arrow
|
|
37317
37301
|
'&::-ms-expand': {
|
|
37318
37302
|
display: 'none'
|
|
@@ -37340,7 +37324,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37340
37324
|
'&:focus': {
|
|
37341
37325
|
borderRadius: (theme.vars || theme).shape.borderRadius // Reset the reset for Chrome style
|
|
37342
37326
|
},
|
|
37343
|
-
|
|
37344
37327
|
'&&&': {
|
|
37345
37328
|
paddingRight: 32
|
|
37346
37329
|
}
|
|
@@ -38182,11 +38165,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38182
38165
|
const paginationItemClasses = generateUtilityClasses('MuiPaginationItem', ['root', 'page', 'sizeSmall', 'sizeLarge', 'text', 'textPrimary', 'textSecondary', 'outlined', 'outlinedPrimary', 'outlinedSecondary', 'rounded', 'ellipsis', 'firstLast', 'previousNext', 'focusVisible', 'disabled', 'selected', 'icon']);
|
|
38183
38166
|
var paginationItemClasses$1 = paginationItemClasses;
|
|
38184
38167
|
|
|
38185
|
-
var
|
|
38168
|
+
var FirstPageIconDefault = createSvgIcon( /*#__PURE__*/jsxRuntime_1("path", {
|
|
38186
38169
|
d: "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"
|
|
38187
38170
|
}), 'FirstPage');
|
|
38188
38171
|
|
|
38189
|
-
var
|
|
38172
|
+
var LastPageIconDefault = createSvgIcon( /*#__PURE__*/jsxRuntime_1("path", {
|
|
38190
38173
|
d: "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"
|
|
38191
38174
|
}), 'LastPage');
|
|
38192
38175
|
|
|
@@ -38418,13 +38401,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38418
38401
|
const normalizedIcons = theme.direction === 'rtl' ? {
|
|
38419
38402
|
previous: slots.next || components.next || NavigateNextIcon,
|
|
38420
38403
|
next: slots.previous || components.previous || NavigateBeforeIcon,
|
|
38421
|
-
last: slots.first || components.first ||
|
|
38422
|
-
first: slots.last || components.last ||
|
|
38404
|
+
last: slots.first || components.first || FirstPageIconDefault,
|
|
38405
|
+
first: slots.last || components.last || LastPageIconDefault
|
|
38423
38406
|
} : {
|
|
38424
38407
|
previous: slots.previous || components.previous || NavigateBeforeIcon,
|
|
38425
38408
|
next: slots.next || components.next || NavigateNextIcon,
|
|
38426
|
-
first: slots.first || components.first ||
|
|
38427
|
-
last: slots.last || components.last ||
|
|
38409
|
+
first: slots.first || components.first || FirstPageIconDefault,
|
|
38410
|
+
last: slots.last || components.last || LastPageIconDefault
|
|
38428
38411
|
};
|
|
38429
38412
|
const Icon = normalizedIcons[type];
|
|
38430
38413
|
return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/jsxRuntime_1(PaginationItemEllipsis, {
|
|
@@ -40262,7 +40245,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40262
40245
|
'data-value': child.props.value // Instead, we provide it as a data attribute.
|
|
40263
40246
|
});
|
|
40264
40247
|
});
|
|
40265
|
-
|
|
40266
40248
|
{
|
|
40267
40249
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
40268
40250
|
React__namespace.useEffect(() => {
|
|
@@ -40311,7 +40293,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40311
40293
|
const classes = useUtilityClasses$x(ownerState);
|
|
40312
40294
|
const paperProps = _extends({}, MenuProps.PaperProps, (_MenuProps$slotProps = MenuProps.slotProps) == null ? void 0 : _MenuProps$slotProps.paper);
|
|
40313
40295
|
const listboxId = useId();
|
|
40314
|
-
const hiddenInputId = useId();
|
|
40315
40296
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
40316
40297
|
children: [/*#__PURE__*/jsxRuntime_1(SelectSelect, _extends({
|
|
40317
40298
|
ref: handleDisplayRef,
|
|
@@ -40342,7 +40323,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40342
40323
|
})), /*#__PURE__*/jsxRuntime_1(SelectNativeInput, _extends({
|
|
40343
40324
|
"aria-invalid": error,
|
|
40344
40325
|
value: Array.isArray(value) ? value.join(',') : value,
|
|
40345
|
-
name: name
|
|
40326
|
+
name: name,
|
|
40346
40327
|
ref: inputRef,
|
|
40347
40328
|
"aria-hidden": true,
|
|
40348
40329
|
onChange: handleChange,
|
|
@@ -47265,10 +47246,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47265
47246
|
d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
|
|
47266
47247
|
}), 'KeyboardArrowRight');
|
|
47267
47248
|
|
|
47268
|
-
|
|
47269
|
-
const _excluded$a = ["backIconButtonProps", "count", "disabled", "getItemAriaLabel", "nextIconButtonProps", "onPageChange", "page", "rowsPerPage", "showFirstButton", "showLastButton", "slotProps"];
|
|
47249
|
+
const _excluded$a = ["backIconButtonProps", "count", "disabled", "getItemAriaLabel", "nextIconButtonProps", "onPageChange", "page", "rowsPerPage", "showFirstButton", "showLastButton", "slots", "slotProps"];
|
|
47270
47250
|
const TablePaginationActions = /*#__PURE__*/React__namespace.forwardRef(function TablePaginationActions(props, ref) {
|
|
47271
|
-
var
|
|
47251
|
+
var _slots$firstButton, _slots$lastButton, _slots$nextButton, _slots$previousButton, _slots$firstButtonIco, _slots$lastButtonIcon, _slots$nextButtonIcon, _slots$previousButton2;
|
|
47272
47252
|
const {
|
|
47273
47253
|
backIconButtonProps,
|
|
47274
47254
|
count,
|
|
@@ -47280,7 +47260,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47280
47260
|
rowsPerPage,
|
|
47281
47261
|
showFirstButton,
|
|
47282
47262
|
showLastButton,
|
|
47283
|
-
|
|
47263
|
+
slots = {},
|
|
47264
|
+
slotProps = {}
|
|
47284
47265
|
} = props,
|
|
47285
47266
|
other = _objectWithoutPropertiesLoose(props, _excluded$a);
|
|
47286
47267
|
const theme = useTheme();
|
|
@@ -47296,39 +47277,55 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47296
47277
|
const handleLastPageButtonClick = event => {
|
|
47297
47278
|
onPageChange(event, Math.max(0, Math.ceil(count / rowsPerPage) - 1));
|
|
47298
47279
|
};
|
|
47280
|
+
const FirstButton = (_slots$firstButton = slots.firstButton) != null ? _slots$firstButton : IconButton$1;
|
|
47281
|
+
const LastButton = (_slots$lastButton = slots.lastButton) != null ? _slots$lastButton : IconButton$1;
|
|
47282
|
+
const NextButton = (_slots$nextButton = slots.nextButton) != null ? _slots$nextButton : IconButton$1;
|
|
47283
|
+
const PreviousButton = (_slots$previousButton = slots.previousButton) != null ? _slots$previousButton : IconButton$1;
|
|
47284
|
+
const FirstButtonIcon = (_slots$firstButtonIco = slots.firstButtonIcon) != null ? _slots$firstButtonIco : FirstPageIconDefault;
|
|
47285
|
+
const LastButtonIcon = (_slots$lastButtonIcon = slots.lastButtonIcon) != null ? _slots$lastButtonIcon : LastPageIconDefault;
|
|
47286
|
+
const NextButtonIcon = (_slots$nextButtonIcon = slots.nextButtonIcon) != null ? _slots$nextButtonIcon : KeyboardArrowRight;
|
|
47287
|
+
const PreviousButtonIcon = (_slots$previousButton2 = slots.previousButtonIcon) != null ? _slots$previousButton2 : KeyboardArrowLeft;
|
|
47288
|
+
const FirstButtonSlot = theme.direction === 'rtl' ? LastButton : FirstButton;
|
|
47289
|
+
const PreviousButtonSlot = theme.direction === 'rtl' ? NextButton : PreviousButton;
|
|
47290
|
+
const NextButtonSlot = theme.direction === 'rtl' ? PreviousButton : NextButton;
|
|
47291
|
+
const LastButtonSlot = theme.direction === 'rtl' ? FirstButton : LastButton;
|
|
47292
|
+
const firstButtonSlotProps = theme.direction === 'rtl' ? slotProps.lastButton : slotProps.firstButton;
|
|
47293
|
+
const previousButtonSlotProps = theme.direction === 'rtl' ? slotProps.nextButton : slotProps.previousButton;
|
|
47294
|
+
const nextButtonSlotProps = theme.direction === 'rtl' ? slotProps.previousButton : slotProps.nextButton;
|
|
47295
|
+
const lastButtonSlotProps = theme.direction === 'rtl' ? slotProps.firstButton : slotProps.lastButton;
|
|
47299
47296
|
return /*#__PURE__*/jsxRuntime_2("div", _extends({
|
|
47300
47297
|
ref: ref
|
|
47301
47298
|
}, other, {
|
|
47302
|
-
children: [showFirstButton && /*#__PURE__*/jsxRuntime_1(
|
|
47299
|
+
children: [showFirstButton && /*#__PURE__*/jsxRuntime_1(FirstButtonSlot, _extends({
|
|
47303
47300
|
onClick: handleFirstPageButtonClick,
|
|
47304
47301
|
disabled: disabled || page === 0,
|
|
47305
47302
|
"aria-label": getItemAriaLabel('first', page),
|
|
47306
47303
|
title: getItemAriaLabel('first', page)
|
|
47307
|
-
},
|
|
47308
|
-
children: theme.direction === 'rtl' ?
|
|
47309
|
-
})), /*#__PURE__*/jsxRuntime_1(
|
|
47304
|
+
}, firstButtonSlotProps, {
|
|
47305
|
+
children: theme.direction === 'rtl' ? /*#__PURE__*/jsxRuntime_1(LastButtonIcon, _extends({}, slotProps.lastButtonIcon)) : /*#__PURE__*/jsxRuntime_1(FirstButtonIcon, _extends({}, slotProps.firstButtonIcon))
|
|
47306
|
+
})), /*#__PURE__*/jsxRuntime_1(PreviousButtonSlot, _extends({
|
|
47310
47307
|
onClick: handleBackButtonClick,
|
|
47311
47308
|
disabled: disabled || page === 0,
|
|
47312
47309
|
color: "inherit",
|
|
47313
47310
|
"aria-label": getItemAriaLabel('previous', page),
|
|
47314
47311
|
title: getItemAriaLabel('previous', page)
|
|
47315
|
-
},
|
|
47316
|
-
children: theme.direction === 'rtl' ?
|
|
47317
|
-
})), /*#__PURE__*/jsxRuntime_1(
|
|
47312
|
+
}, previousButtonSlotProps != null ? previousButtonSlotProps : backIconButtonProps, {
|
|
47313
|
+
children: theme.direction === 'rtl' ? /*#__PURE__*/jsxRuntime_1(NextButtonIcon, _extends({}, slotProps.nextButtonIcon)) : /*#__PURE__*/jsxRuntime_1(PreviousButtonIcon, _extends({}, slotProps.previousButtonIcon))
|
|
47314
|
+
})), /*#__PURE__*/jsxRuntime_1(NextButtonSlot, _extends({
|
|
47318
47315
|
onClick: handleNextButtonClick,
|
|
47319
47316
|
disabled: disabled || (count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false),
|
|
47320
47317
|
color: "inherit",
|
|
47321
47318
|
"aria-label": getItemAriaLabel('next', page),
|
|
47322
47319
|
title: getItemAriaLabel('next', page)
|
|
47323
|
-
},
|
|
47324
|
-
children: theme.direction === 'rtl' ?
|
|
47325
|
-
})), showLastButton && /*#__PURE__*/jsxRuntime_1(
|
|
47320
|
+
}, nextButtonSlotProps != null ? nextButtonSlotProps : nextIconButtonProps, {
|
|
47321
|
+
children: theme.direction === 'rtl' ? /*#__PURE__*/jsxRuntime_1(PreviousButtonIcon, _extends({}, slotProps.previousButtonIcon)) : /*#__PURE__*/jsxRuntime_1(NextButtonIcon, _extends({}, slotProps.nextButtonIcon))
|
|
47322
|
+
})), showLastButton && /*#__PURE__*/jsxRuntime_1(LastButtonSlot, _extends({
|
|
47326
47323
|
onClick: handleLastPageButtonClick,
|
|
47327
47324
|
disabled: disabled || page >= Math.ceil(count / rowsPerPage) - 1,
|
|
47328
47325
|
"aria-label": getItemAriaLabel('last', page),
|
|
47329
47326
|
title: getItemAriaLabel('last', page)
|
|
47330
|
-
},
|
|
47331
|
-
children: theme.direction === 'rtl' ?
|
|
47327
|
+
}, lastButtonSlotProps, {
|
|
47328
|
+
children: theme.direction === 'rtl' ? /*#__PURE__*/jsxRuntime_1(FirstButtonIcon, _extends({}, slotProps.firstButtonIcon)) : /*#__PURE__*/jsxRuntime_1(LastButtonIcon, _extends({}, slotProps.lastButtonIcon))
|
|
47332
47329
|
}))]
|
|
47333
47330
|
}));
|
|
47334
47331
|
});
|
|
@@ -47389,9 +47386,28 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47389
47386
|
*/
|
|
47390
47387
|
slotProps: PropTypes.shape({
|
|
47391
47388
|
firstButton: PropTypes.object,
|
|
47389
|
+
firstButtonIcon: PropTypes.object,
|
|
47392
47390
|
lastButton: PropTypes.object,
|
|
47391
|
+
lastButtonIcon: PropTypes.object,
|
|
47393
47392
|
nextButton: PropTypes.object,
|
|
47394
|
-
|
|
47393
|
+
nextButtonIcon: PropTypes.object,
|
|
47394
|
+
previousButton: PropTypes.object,
|
|
47395
|
+
previousButtonIcon: PropTypes.object
|
|
47396
|
+
}),
|
|
47397
|
+
/**
|
|
47398
|
+
* The components used for each slot inside the TablePaginationActions.
|
|
47399
|
+
* Either a string to use a HTML element or a component.
|
|
47400
|
+
* @default {}
|
|
47401
|
+
*/
|
|
47402
|
+
slots: PropTypes.shape({
|
|
47403
|
+
firstButton: PropTypes.elementType,
|
|
47404
|
+
firstButtonIcon: PropTypes.elementType,
|
|
47405
|
+
lastButton: PropTypes.elementType,
|
|
47406
|
+
lastButtonIcon: PropTypes.elementType,
|
|
47407
|
+
nextButton: PropTypes.elementType,
|
|
47408
|
+
nextButtonIcon: PropTypes.elementType,
|
|
47409
|
+
previousButton: PropTypes.elementType,
|
|
47410
|
+
previousButtonIcon: PropTypes.elementType
|
|
47395
47411
|
})
|
|
47396
47412
|
} ;
|
|
47397
47413
|
var TablePaginationActions$1 = TablePaginationActions;
|
|
@@ -47403,7 +47419,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47403
47419
|
var tablePaginationClasses$1 = tablePaginationClasses;
|
|
47404
47420
|
|
|
47405
47421
|
var _InputBase;
|
|
47406
|
-
const _excluded$9 = ["ActionsComponent", "backIconButtonProps", "className", "colSpan", "component", "count", "disabled", "getItemAriaLabel", "labelDisplayedRows", "labelRowsPerPage", "nextIconButtonProps", "onPageChange", "onRowsPerPageChange", "page", "rowsPerPage", "rowsPerPageOptions", "SelectProps", "showFirstButton", "showLastButton", "slotProps"];
|
|
47422
|
+
const _excluded$9 = ["ActionsComponent", "backIconButtonProps", "className", "colSpan", "component", "count", "disabled", "getItemAriaLabel", "labelDisplayedRows", "labelRowsPerPage", "nextIconButtonProps", "onPageChange", "onRowsPerPageChange", "page", "rowsPerPage", "rowsPerPageOptions", "SelectProps", "showFirstButton", "showLastButton", "slotProps", "slots"];
|
|
47407
47423
|
const TablePaginationRoot = styled$1(TableCell$1, {
|
|
47408
47424
|
name: 'MuiTablePagination',
|
|
47409
47425
|
slot: 'Root',
|
|
@@ -47478,7 +47494,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47478
47494
|
textAlignLast: 'right' // Align <select> on Chrome.
|
|
47479
47495
|
}
|
|
47480
47496
|
});
|
|
47481
|
-
|
|
47482
47497
|
const TablePaginationMenuItem = styled$1(MenuItem$1, {
|
|
47483
47498
|
name: 'MuiTablePagination',
|
|
47484
47499
|
slot: 'MenuItem',
|
|
@@ -47551,7 +47566,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47551
47566
|
SelectProps = {},
|
|
47552
47567
|
showFirstButton = false,
|
|
47553
47568
|
showLastButton = false,
|
|
47554
|
-
slotProps
|
|
47569
|
+
slotProps = {},
|
|
47570
|
+
slots = {}
|
|
47555
47571
|
} = props,
|
|
47556
47572
|
other = _objectWithoutPropertiesLoose(props, _excluded$9);
|
|
47557
47573
|
const ownerState = props;
|
|
@@ -47562,7 +47578,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47562
47578
|
if (component === TableCell$1 || component === 'td') {
|
|
47563
47579
|
colSpan = colSpanProp || 1000; // col-span over everything
|
|
47564
47580
|
}
|
|
47565
|
-
|
|
47566
47581
|
const selectId = useId(selectProps.id);
|
|
47567
47582
|
const labelId = useId(selectProps.labelId);
|
|
47568
47583
|
const getLabelDisplayedRowsTo = () => {
|
|
@@ -47629,7 +47644,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47629
47644
|
rowsPerPage: rowsPerPage,
|
|
47630
47645
|
showFirstButton: showFirstButton,
|
|
47631
47646
|
showLastButton: showLastButton,
|
|
47632
|
-
slotProps: slotProps
|
|
47647
|
+
slotProps: slotProps.actions,
|
|
47648
|
+
slots: slots.actions,
|
|
47633
47649
|
getItemAriaLabel: getItemAriaLabel,
|
|
47634
47650
|
disabled: disabled
|
|
47635
47651
|
})]
|
|
@@ -47791,12 +47807,33 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47791
47807
|
slotProps: PropTypes.shape({
|
|
47792
47808
|
actions: PropTypes.shape({
|
|
47793
47809
|
firstButton: PropTypes.object,
|
|
47810
|
+
firstButtonIcon: PropTypes.object,
|
|
47794
47811
|
lastButton: PropTypes.object,
|
|
47812
|
+
lastButtonIcon: PropTypes.object,
|
|
47795
47813
|
nextButton: PropTypes.object,
|
|
47796
|
-
|
|
47814
|
+
nextButtonIcon: PropTypes.object,
|
|
47815
|
+
previousButton: PropTypes.object,
|
|
47816
|
+
previousButtonIcon: PropTypes.object
|
|
47797
47817
|
}),
|
|
47798
47818
|
select: PropTypes.object
|
|
47799
47819
|
}),
|
|
47820
|
+
/**
|
|
47821
|
+
* The components used for each slot inside the TablePagination.
|
|
47822
|
+
* Either a string to use a HTML element or a component.
|
|
47823
|
+
* @default {}
|
|
47824
|
+
*/
|
|
47825
|
+
slots: PropTypes.shape({
|
|
47826
|
+
actions: PropTypes.shape({
|
|
47827
|
+
firstButton: PropTypes.elementType,
|
|
47828
|
+
firstButtonIcon: PropTypes.elementType,
|
|
47829
|
+
lastButton: PropTypes.elementType,
|
|
47830
|
+
lastButtonIcon: PropTypes.elementType,
|
|
47831
|
+
nextButton: PropTypes.elementType,
|
|
47832
|
+
nextButtonIcon: PropTypes.elementType,
|
|
47833
|
+
previousButton: PropTypes.elementType,
|
|
47834
|
+
previousButtonIcon: PropTypes.elementType
|
|
47835
|
+
})
|
|
47836
|
+
}),
|
|
47800
47837
|
/**
|
|
47801
47838
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47802
47839
|
*/
|
|
@@ -48511,7 +48548,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
48511
48548
|
display: 'none' // Safari + Chrome
|
|
48512
48549
|
}
|
|
48513
48550
|
});
|
|
48514
|
-
|
|
48515
48551
|
const defaultIndicatorStyle = {};
|
|
48516
48552
|
let warnedOnceTabPresent = false;
|
|
48517
48553
|
const Tabs = /*#__PURE__*/React__namespace.forwardRef(function Tabs(inProps, ref) {
|
|
@@ -50022,6 +50058,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
50022
50058
|
exports.Button = Button$1;
|
|
50023
50059
|
exports.ButtonBase = ButtonBase$1;
|
|
50024
50060
|
exports.ButtonGroup = ButtonGroup$1;
|
|
50061
|
+
exports.ButtonGroupButtonContext = ButtonGroupButtonContext$1;
|
|
50062
|
+
exports.ButtonGroupContext = ButtonGroupContext$1;
|
|
50025
50063
|
exports.Card = Card$1;
|
|
50026
50064
|
exports.CardActionArea = CardActionArea$1;
|
|
50027
50065
|
exports.CardActions = CardActions$1;
|