@mui/material 5.14.8 → 5.14.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/AlertTitle/AlertTitle.d.ts +1 -0
  2. package/Avatar/Avatar.js +1 -1
  3. package/Breadcrumbs/Breadcrumbs.d.ts +1 -0
  4. package/Button/Button.js +4 -1
  5. package/ButtonGroup/ButtonGroup.js +86 -54
  6. package/ButtonGroup/ButtonGroupButtonContext.d.ts +6 -0
  7. package/ButtonGroup/ButtonGroupButtonContext.js +9 -0
  8. package/ButtonGroup/buttonGroupClasses.d.ts +6 -0
  9. package/ButtonGroup/buttonGroupClasses.js +1 -1
  10. package/CHANGELOG.md +179 -19
  11. package/Chip/Chip.js +2 -0
  12. package/DialogTitle/DialogTitle.d.ts +1 -0
  13. package/ListSubheader/listSubheaderClasses.js +1 -1
  14. package/Modal/Modal.js +1 -1
  15. package/README.md +9 -198
  16. package/Slider/Slider.js +9 -86
  17. package/TablePagination/TablePagination.d.ts +1 -0
  18. package/Tabs/Tabs.d.ts +1 -1
  19. package/Tabs/Tabs.js +2 -5
  20. package/index.js +1 -1
  21. package/legacy/Avatar/Avatar.js +1 -1
  22. package/legacy/Button/Button.js +4 -1
  23. package/legacy/ButtonGroup/ButtonGroup.js +81 -56
  24. package/legacy/ButtonGroup/ButtonGroupButtonContext.js +9 -0
  25. package/legacy/ButtonGroup/buttonGroupClasses.js +1 -1
  26. package/legacy/Chip/Chip.js +2 -0
  27. package/legacy/ListSubheader/listSubheaderClasses.js +1 -1
  28. package/legacy/Modal/Modal.js +3 -1
  29. package/legacy/Slider/Slider.js +9 -86
  30. package/legacy/Tabs/Tabs.js +2 -5
  31. package/legacy/index.js +1 -1
  32. package/legacy/useTouchRipple/useTouchRipple.js +4 -4
  33. package/modern/Avatar/Avatar.js +1 -1
  34. package/modern/Button/Button.js +4 -1
  35. package/modern/ButtonGroup/ButtonGroup.js +86 -54
  36. package/modern/ButtonGroup/ButtonGroupButtonContext.js +9 -0
  37. package/modern/ButtonGroup/buttonGroupClasses.js +1 -1
  38. package/modern/Chip/Chip.js +2 -0
  39. package/modern/ListSubheader/listSubheaderClasses.js +1 -1
  40. package/modern/Modal/Modal.js +1 -1
  41. package/modern/Slider/Slider.js +9 -86
  42. package/modern/Tabs/Tabs.js +2 -5
  43. package/modern/index.js +1 -1
  44. package/node/Avatar/Avatar.js +1 -1
  45. package/node/Button/Button.js +4 -1
  46. package/node/ButtonGroup/ButtonGroup.js +86 -54
  47. package/node/ButtonGroup/ButtonGroupButtonContext.js +18 -0
  48. package/node/ButtonGroup/buttonGroupClasses.js +1 -1
  49. package/node/Chip/Chip.js +2 -0
  50. package/node/ListSubheader/listSubheaderClasses.js +2 -2
  51. package/node/Modal/Modal.js +1 -1
  52. package/node/Slider/Slider.js +3 -73
  53. package/node/Tabs/Tabs.js +2 -5
  54. package/node/index.js +1 -1
  55. package/node/useTouchRipple/useTouchRipple.js +4 -4
  56. package/package.json +16 -16
  57. package/umd/material-ui.development.js +215 -235
  58. package/umd/material-ui.production.min.js +18 -18
  59. package/useTouchRipple/useTouchRipple.js +4 -4
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.8
2
+ * @mui/material v5.14.10
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -2118,7 +2118,8 @@
2118
2118
  }
2119
2119
 
2120
2120
  /**
2121
- * https://github.com/facebook/react/issues/14099#issuecomment-440013892
2121
+ * Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892
2122
+ * See RFC in https://github.com/reactjs/rfcs/pull/220
2122
2123
  */
2123
2124
 
2124
2125
  function useEventCallback(fn) {
@@ -8333,31 +8334,29 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8333
8334
  return /*#__PURE__*/jsxRuntime_1("script", {
8334
8335
  // eslint-disable-next-line react/no-danger
8335
8336
  dangerouslySetInnerHTML: {
8336
- __html: `(function() { try {
8337
- var mode = localStorage.getItem('${modeStorageKey}') || '${defaultMode}';
8338
- var cssColorScheme = mode;
8339
- var colorScheme = '';
8340
- if (mode === 'system') {
8341
- // handle system mode
8342
- var mql = window.matchMedia('(prefers-color-scheme: dark)');
8343
- if (mql.matches) {
8344
- cssColorScheme = 'dark';
8345
- colorScheme = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';
8346
- } else {
8347
- cssColorScheme = 'light';
8348
- colorScheme = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';
8349
- }
8350
- }
8351
- if (mode === 'light') {
8352
- colorScheme = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';
8353
- }
8354
- if (mode === 'dark') {
8355
- colorScheme = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';
8356
- }
8357
- if (colorScheme) {
8358
- ${colorSchemeNode}.setAttribute('${attribute}', colorScheme);
8359
- }
8360
- } catch (e) {} })();`
8337
+ __html: `(function() {
8338
+ try {
8339
+ var mode = localStorage.getItem('${modeStorageKey}') || '${defaultMode}';
8340
+ var colorScheme = '';
8341
+ if (mode === 'system') {
8342
+ // handle system mode
8343
+ var mql = window.matchMedia('(prefers-color-scheme: dark)');
8344
+ if (mql.matches) {
8345
+ colorScheme = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';
8346
+ } else {
8347
+ colorScheme = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';
8348
+ }
8349
+ }
8350
+ if (mode === 'light') {
8351
+ colorScheme = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';
8352
+ }
8353
+ if (mode === 'dark') {
8354
+ colorScheme = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';
8355
+ }
8356
+ if (colorScheme) {
8357
+ ${colorSchemeNode}.setAttribute('${attribute}', colorScheme);
8358
+ }
8359
+ } catch(e){}})();`
8361
8360
  }
8362
8361
  }, "mui-color-scheme-init");
8363
8362
  }
@@ -15827,51 +15826,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15827
15826
  return;
15828
15827
  }
15829
15828
  const doc = ownerDocument(rootRef.current);
15830
- const contain = nativeEvent => {
15831
- const {
15832
- current: rootElement
15833
- } = rootRef;
15834
-
15835
- // Cleanup functions are executed lazily in React 17.
15836
- // Contain can be called between the component being unmounted and its cleanup function being run.
15837
- if (rootElement === null) {
15838
- return;
15839
- }
15840
- if (!doc.hasFocus() || disableEnforceFocus || !isEnabled() || ignoreNextEnforceFocus.current) {
15841
- ignoreNextEnforceFocus.current = false;
15842
- return;
15843
- }
15844
- if (!rootElement.contains(doc.activeElement)) {
15845
- // if the focus event is not coming from inside the children's react tree, reset the refs
15846
- if (nativeEvent && reactFocusEventTarget.current !== nativeEvent.target || doc.activeElement !== reactFocusEventTarget.current) {
15847
- reactFocusEventTarget.current = null;
15848
- } else if (reactFocusEventTarget.current !== null) {
15849
- return;
15850
- }
15851
- if (!activated.current) {
15852
- return;
15853
- }
15854
- let tabbable = [];
15855
- if (doc.activeElement === sentinelStart.current || doc.activeElement === sentinelEnd.current) {
15856
- tabbable = getTabbable(rootRef.current);
15857
- }
15858
- if (tabbable.length > 0) {
15859
- var _lastKeydown$current, _lastKeydown$current2;
15860
- const isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) == null ? void 0 : _lastKeydown$current.shiftKey) && ((_lastKeydown$current2 = lastKeydown.current) == null ? void 0 : _lastKeydown$current2.key) === 'Tab');
15861
- const focusNext = tabbable[0];
15862
- const focusPrevious = tabbable[tabbable.length - 1];
15863
- if (typeof focusNext !== 'string' && typeof focusPrevious !== 'string') {
15864
- if (isShiftTab) {
15865
- focusPrevious.focus();
15866
- } else {
15867
- focusNext.focus();
15868
- }
15869
- }
15870
- } else {
15871
- rootElement.focus();
15872
- }
15873
- }
15874
- };
15875
15829
  const loopFocus = nativeEvent => {
15876
15830
  lastKeydown.current = nativeEvent;
15877
15831
  if (disableEnforceFocus || !isEnabled() || nativeEvent.key !== 'Tab') {
@@ -15889,6 +15843,62 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15889
15843
  }
15890
15844
  }
15891
15845
  };
15846
+ const contain = () => {
15847
+ const rootElement = rootRef.current;
15848
+
15849
+ // Cleanup functions are executed lazily in React 17.
15850
+ // Contain can be called between the component being unmounted and its cleanup function being run.
15851
+ if (rootElement === null) {
15852
+ return;
15853
+ }
15854
+ if (!doc.hasFocus() || !isEnabled() || ignoreNextEnforceFocus.current) {
15855
+ ignoreNextEnforceFocus.current = false;
15856
+ return;
15857
+ }
15858
+
15859
+ // The focus is already inside
15860
+ if (rootElement.contains(doc.activeElement)) {
15861
+ return;
15862
+ }
15863
+
15864
+ // The disableEnforceFocus is set and the focus is outside of the focus trap (and sentinel nodes)
15865
+ if (disableEnforceFocus && doc.activeElement !== sentinelStart.current && doc.activeElement !== sentinelEnd.current) {
15866
+ return;
15867
+ }
15868
+
15869
+ // if the focus event is not coming from inside the children's react tree, reset the refs
15870
+ if (doc.activeElement !== reactFocusEventTarget.current) {
15871
+ reactFocusEventTarget.current = null;
15872
+ } else if (reactFocusEventTarget.current !== null) {
15873
+ return;
15874
+ }
15875
+ if (!activated.current) {
15876
+ return;
15877
+ }
15878
+ let tabbable = [];
15879
+ if (doc.activeElement === sentinelStart.current || doc.activeElement === sentinelEnd.current) {
15880
+ tabbable = getTabbable(rootRef.current);
15881
+ }
15882
+
15883
+ // one of the sentinel nodes was focused, so move the focus
15884
+ // to the first/last tabbable element inside the focus trap
15885
+ if (tabbable.length > 0) {
15886
+ var _lastKeydown$current, _lastKeydown$current2;
15887
+ const isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) == null ? void 0 : _lastKeydown$current.shiftKey) && ((_lastKeydown$current2 = lastKeydown.current) == null ? void 0 : _lastKeydown$current2.key) === 'Tab');
15888
+ const focusNext = tabbable[0];
15889
+ const focusPrevious = tabbable[tabbable.length - 1];
15890
+ if (typeof focusNext !== 'string' && typeof focusPrevious !== 'string') {
15891
+ if (isShiftTab) {
15892
+ focusPrevious.focus();
15893
+ } else {
15894
+ focusNext.focus();
15895
+ }
15896
+ }
15897
+ // no tabbable elements in the trap focus or the focus was outside of the focus trap
15898
+ } else {
15899
+ rootElement.focus();
15900
+ }
15901
+ };
15892
15902
  doc.addEventListener('focusin', contain);
15893
15903
  doc.addEventListener('keydown', loopFocus, true);
15894
15904
 
@@ -15900,7 +15910,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15900
15910
  // https://html.spec.whatwg.org/multipage/interaction.html#focus-fixup-rule.
15901
15911
  const interval = setInterval(() => {
15902
15912
  if (doc.activeElement && doc.activeElement.tagName === 'BODY') {
15903
- contain(null);
15913
+ contain();
15904
15914
  }
15905
15915
  }, 50);
15906
15916
  return () => {
@@ -18555,7 +18565,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18555
18565
  }, [open, handleClose, hasTransition, closeAfterTransition, handleOpen]);
18556
18566
  const createHandleKeyDown = otherHandlers => event => {
18557
18567
  var _otherHandlers$onKeyD;
18558
- (_otherHandlers$onKeyD = otherHandlers.onKeyDown) == null ? void 0 : _otherHandlers$onKeyD.call(otherHandlers, event);
18568
+ (_otherHandlers$onKeyD = otherHandlers.onKeyDown) == null || _otherHandlers$onKeyD.call(otherHandlers, event);
18559
18569
 
18560
18570
  // The handler doesn't take event.defaultPrevented into account:
18561
18571
  //
@@ -18576,7 +18586,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18576
18586
  };
18577
18587
  const createHandleBackdropClick = otherHandlers => event => {
18578
18588
  var _otherHandlers$onClic;
18579
- (_otherHandlers$onClic = otherHandlers.onClick) == null ? void 0 : _otherHandlers$onClic.call(otherHandlers, event);
18589
+ (_otherHandlers$onClic = otherHandlers.onClick) == null || _otherHandlers$onClic.call(otherHandlers, event);
18580
18590
  if (event.target !== event.currentTarget) {
18581
18591
  return;
18582
18592
  }
@@ -18624,8 +18634,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18624
18634
  }
18625
18635
  };
18626
18636
  return {
18627
- onEnter: createChainedFunction(handleEnter, children.props.onEnter),
18628
- onExited: createChainedFunction(handleExited, children.props.onExited)
18637
+ onEnter: createChainedFunction(handleEnter, children == null ? void 0 : children.props.onEnter),
18638
+ onExited: createChainedFunction(handleExited, children == null ? void 0 : children.props.onExited)
18629
18639
  };
18630
18640
  };
18631
18641
  return {
@@ -18794,7 +18804,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18794
18804
  const doc = ownerDocument(sliderRef.current);
18795
18805
  if (!((_sliderRef$current = sliderRef.current) != null && _sliderRef$current.contains(doc.activeElement)) || Number(doc == null || (_doc$activeElement = doc.activeElement) == null ? void 0 : _doc$activeElement.getAttribute('data-index')) !== activeIndex) {
18796
18806
  var _sliderRef$current2;
18797
- (_sliderRef$current2 = sliderRef.current) == null ? void 0 : _sliderRef$current2.querySelector(`[type="range"][data-index="${activeIndex}"]`).focus();
18807
+ (_sliderRef$current2 = sliderRef.current) == null || _sliderRef$current2.querySelector(`[type="range"][data-index="${activeIndex}"]`).focus();
18798
18808
  }
18799
18809
  if (setActive) {
18800
18810
  setActive(activeIndex);
@@ -18943,7 +18953,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18943
18953
  setFocusedThumbIndex(index);
18944
18954
  }
18945
18955
  setOpen(index);
18946
- otherHandlers == null || (_otherHandlers$onFocu = otherHandlers.onFocus) == null ? void 0 : _otherHandlers$onFocu.call(otherHandlers, event);
18956
+ otherHandlers == null || (_otherHandlers$onFocu = otherHandlers.onFocus) == null || _otherHandlers$onFocu.call(otherHandlers, event);
18947
18957
  };
18948
18958
  const createHandleHiddenInputBlur = otherHandlers => event => {
18949
18959
  var _otherHandlers$onBlur;
@@ -18952,7 +18962,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18952
18962
  setFocusedThumbIndex(-1);
18953
18963
  }
18954
18964
  setOpen(-1);
18955
- otherHandlers == null || (_otherHandlers$onBlur = otherHandlers.onBlur) == null ? void 0 : _otherHandlers$onBlur.call(otherHandlers, event);
18965
+ otherHandlers == null || (_otherHandlers$onBlur = otherHandlers.onBlur) == null || _otherHandlers$onBlur.call(otherHandlers, event);
18956
18966
  };
18957
18967
  useEnhancedEffect$1(() => {
18958
18968
  if (disabled && sliderRef.current.contains(document.activeElement)) {
@@ -18961,7 +18971,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18961
18971
  // on a disabled element:
18962
18972
  // https://codesandbox.io/s/mui-pr-22247-forked-h151h?file=/src/App.js
18963
18973
  // @ts-ignore
18964
- (_document$activeEleme = document.activeElement) == null ? void 0 : _document$activeEleme.blur();
18974
+ (_document$activeEleme = document.activeElement) == null || _document$activeEleme.blur();
18965
18975
  }
18966
18976
  }, [disabled]);
18967
18977
  if (disabled && active !== -1) {
@@ -18972,7 +18982,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18972
18982
  }
18973
18983
  const createHandleHiddenInputChange = otherHandlers => event => {
18974
18984
  var _otherHandlers$onChan;
18975
- (_otherHandlers$onChan = otherHandlers.onChange) == null ? void 0 : _otherHandlers$onChan.call(otherHandlers, event);
18985
+ (_otherHandlers$onChan = otherHandlers.onChange) == null || _otherHandlers$onChan.call(otherHandlers, event);
18976
18986
  const index = Number(event.currentTarget.getAttribute('data-index'));
18977
18987
  const value = values[index];
18978
18988
  const marksIndex = marksValues.indexOf(value);
@@ -19210,7 +19220,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19210
19220
  }, [disabled, stopListening]);
19211
19221
  const createHandleMouseDown = otherHandlers => event => {
19212
19222
  var _otherHandlers$onMous;
19213
- (_otherHandlers$onMous = otherHandlers.onMouseDown) == null ? void 0 : _otherHandlers$onMous.call(otherHandlers, event);
19223
+ (_otherHandlers$onMous = otherHandlers.onMouseDown) == null || _otherHandlers$onMous.call(otherHandlers, event);
19214
19224
  if (disabled) {
19215
19225
  return;
19216
19226
  }
@@ -19261,13 +19271,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19261
19271
  };
19262
19272
  const createHandleMouseOver = otherHandlers => event => {
19263
19273
  var _otherHandlers$onMous2;
19264
- (_otherHandlers$onMous2 = otherHandlers.onMouseOver) == null ? void 0 : _otherHandlers$onMous2.call(otherHandlers, event);
19274
+ (_otherHandlers$onMous2 = otherHandlers.onMouseOver) == null || _otherHandlers$onMous2.call(otherHandlers, event);
19265
19275
  const index = Number(event.currentTarget.getAttribute('data-index'));
19266
19276
  setOpen(index);
19267
19277
  };
19268
19278
  const createHandleMouseLeave = otherHandlers => event => {
19269
19279
  var _otherHandlers$onMous3;
19270
- (_otherHandlers$onMous3 = otherHandlers.onMouseLeave) == null ? void 0 : _otherHandlers$onMous3.call(otherHandlers, event);
19280
+ (_otherHandlers$onMous3 = otherHandlers.onMouseLeave) == null || _otherHandlers$onMous3.call(otherHandlers, event);
19271
19281
  setOpen(-1);
19272
19282
  };
19273
19283
  const getThumbProps = (otherHandlers = {}) => {
@@ -19343,7 +19353,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19343
19353
  *
19344
19354
  * - [useSnackbar API](https://mui.com/base-ui/react-snackbar/hooks-api/#use-snackbar)
19345
19355
  */
19346
- function useSnackbar(parameters) {
19356
+ function useSnackbar(parameters = {}) {
19347
19357
  const {
19348
19358
  autoHideDuration = null,
19349
19359
  disableWindowBlurListener = false,
@@ -19365,7 +19375,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19365
19375
  // IE11, Edge (prior to using Blink?) use 'Esc'
19366
19376
  if (nativeEvent.key === 'Escape' || nativeEvent.key === 'Esc') {
19367
19377
  // not calling `preventDefault` since we don't know if people may ignore this event e.g. a permanently open snackbar
19368
- onClose == null ? void 0 : onClose(nativeEvent, 'escapeKeyDown');
19378
+ onClose == null || onClose(nativeEvent, 'escapeKeyDown');
19369
19379
  }
19370
19380
  }
19371
19381
  }
@@ -19375,7 +19385,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19375
19385
  };
19376
19386
  }, [open, onClose]);
19377
19387
  const handleClose = useEventCallback((event, reason) => {
19378
- onClose == null ? void 0 : onClose(event, reason);
19388
+ onClose == null || onClose(event, reason);
19379
19389
  });
19380
19390
  const setAutoHideTimer = useEventCallback(autoHideDurationParam => {
19381
19391
  if (!onClose || autoHideDurationParam == null) {
@@ -19395,7 +19405,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19395
19405
  };
19396
19406
  }, [open, autoHideDuration, setAutoHideTimer]);
19397
19407
  const handleClickAway = event => {
19398
- onClose == null ? void 0 : onClose(event, 'clickaway');
19408
+ onClose == null || onClose(event, 'clickaway');
19399
19409
  };
19400
19410
 
19401
19411
  // Pause the timer when the user is interacting with the Snackbar
@@ -19413,22 +19423,22 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19413
19423
  }, [autoHideDuration, resumeHideDuration, setAutoHideTimer]);
19414
19424
  const createHandleBlur = otherHandlers => event => {
19415
19425
  const onBlurCallback = otherHandlers.onBlur;
19416
- onBlurCallback == null ? void 0 : onBlurCallback(event);
19426
+ onBlurCallback == null || onBlurCallback(event);
19417
19427
  handleResume();
19418
19428
  };
19419
19429
  const createHandleFocus = otherHandlers => event => {
19420
19430
  const onFocusCallback = otherHandlers.onFocus;
19421
- onFocusCallback == null ? void 0 : onFocusCallback(event);
19431
+ onFocusCallback == null || onFocusCallback(event);
19422
19432
  handlePause();
19423
19433
  };
19424
19434
  const createMouseEnter = otherHandlers => event => {
19425
19435
  const onMouseEnterCallback = otherHandlers.onMouseEnter;
19426
- onMouseEnterCallback == null ? void 0 : onMouseEnterCallback(event);
19436
+ onMouseEnterCallback == null || onMouseEnterCallback(event);
19427
19437
  handlePause();
19428
19438
  };
19429
19439
  const createMouseLeave = otherHandlers => event => {
19430
19440
  const onMouseLeaveCallback = otherHandlers.onMouseLeave;
19431
- onMouseLeaveCallback == null ? void 0 : onMouseLeaveCallback(event);
19441
+ onMouseLeaveCallback == null || onMouseLeaveCallback(event);
19432
19442
  handleResume();
19433
19443
  };
19434
19444
  React__namespace.useEffect(() => {
@@ -19443,14 +19453,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19443
19453
  }
19444
19454
  return undefined;
19445
19455
  }, [disableWindowBlurListener, handleResume, open]);
19446
- const getRootProps = (otherHandlers = {}) => {
19447
- const propsEventHandlers = extractEventHandlers(parameters);
19448
- const externalEventHandlers = _extends({}, propsEventHandlers, otherHandlers);
19456
+ const getRootProps = (externalProps = {}) => {
19457
+ const externalEventHandlers = _extends({}, extractEventHandlers(parameters), extractEventHandlers(externalProps));
19449
19458
  return _extends({
19450
19459
  // ClickAwayListener adds an `onClick` prop which results in the alert not being announced.
19451
19460
  // See https://github.com/mui/material-ui/issues/29080
19452
19461
  role: 'presentation'
19453
- }, externalEventHandlers, {
19462
+ }, externalProps, externalEventHandlers, {
19454
19463
  onBlur: createHandleBlur(externalEventHandlers),
19455
19464
  onFocus: createHandleFocus(externalEventHandlers),
19456
19465
  onMouseEnter: createMouseEnter(externalEventHandlers),
@@ -21116,6 +21125,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21116
21125
  borderRadius: 32 / 2,
21117
21126
  whiteSpace: 'nowrap',
21118
21127
  transition: theme.transitions.create(['background-color', 'box-shadow']),
21128
+ // reset cursor explicitly in case ButtonBase is used
21129
+ cursor: 'unset',
21119
21130
  // We disable the focus ring for mouse, touch and keyboard users.
21120
21131
  outline: 0,
21121
21132
  textDecoration: 'none',
@@ -23513,8 +23524,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23513
23524
  if (hasImgNotFailing) {
23514
23525
  children = /*#__PURE__*/jsxRuntime_1(AvatarImg, _extends({
23515
23526
  alt: alt,
23516
- src: src,
23517
23527
  srcSet: srcSet,
23528
+ src: src,
23518
23529
  sizes: sizes,
23519
23530
  ownerState: ownerState,
23520
23531
  className: classes.img
@@ -25175,6 +25186,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25175
25186
  }
25176
25187
  var ButtonGroupContext$1 = ButtonGroupContext;
25177
25188
 
25189
+ /**
25190
+ * @ignore - internal component.
25191
+ */
25192
+ const ButtonGroupButtonContext = /*#__PURE__*/React__namespace.createContext(undefined);
25193
+ {
25194
+ ButtonGroupButtonContext.displayName = 'ButtonGroupButtonContext';
25195
+ }
25196
+ var ButtonGroupButtonContext$1 = ButtonGroupButtonContext;
25197
+
25178
25198
  const _excluded$1D = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
25179
25199
  const useUtilityClasses$1p = ownerState => {
25180
25200
  const {
@@ -25380,6 +25400,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25380
25400
  const Button = /*#__PURE__*/React__namespace.forwardRef(function Button(inProps, ref) {
25381
25401
  // props priority: `inProps` > `contextProps` > `themeDefaultProps`
25382
25402
  const contextProps = React__namespace.useContext(ButtonGroupContext$1);
25403
+ const buttonGroupButtonContextPositionClassName = React__namespace.useContext(ButtonGroupButtonContext$1);
25383
25404
  const resolvedProps = resolveProps(contextProps, inProps);
25384
25405
  const props = useThemeProps({
25385
25406
  props: resolvedProps,
@@ -25424,9 +25445,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25424
25445
  ownerState: ownerState,
25425
25446
  children: endIconProp
25426
25447
  });
25448
+ const positionClassName = buttonGroupButtonContextPositionClassName || '';
25427
25449
  return /*#__PURE__*/jsxRuntime_2(ButtonRoot, _extends({
25428
25450
  ownerState: ownerState,
25429
- className: clsx(contextProps.className, classes.root, className),
25451
+ className: clsx(contextProps.className, classes.root, className, positionClassName),
25430
25452
  component: component,
25431
25453
  disabled: disabled,
25432
25454
  focusRipple: !disableFocusRipple,
@@ -25537,7 +25559,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25537
25559
  function getButtonGroupUtilityClass(slot) {
25538
25560
  return generateUtilityClass('MuiButtonGroup', slot);
25539
25561
  }
25540
- const buttonGroupClasses = generateUtilityClasses('MuiButtonGroup', ['root', 'contained', 'outlined', 'text', 'disableElevation', 'disabled', 'fullWidth', 'vertical', 'grouped', 'groupedHorizontal', 'groupedVertical', 'groupedText', 'groupedTextHorizontal', 'groupedTextVertical', 'groupedTextPrimary', 'groupedTextSecondary', 'groupedOutlined', 'groupedOutlinedHorizontal', 'groupedOutlinedVertical', 'groupedOutlinedPrimary', 'groupedOutlinedSecondary', 'groupedContained', 'groupedContainedHorizontal', 'groupedContainedVertical', 'groupedContainedPrimary', 'groupedContainedSecondary']);
25562
+ const buttonGroupClasses = generateUtilityClasses('MuiButtonGroup', ['root', 'contained', 'outlined', 'text', 'disableElevation', 'disabled', 'firstButton', 'fullWidth', 'vertical', 'grouped', 'groupedHorizontal', 'groupedVertical', 'groupedText', 'groupedTextHorizontal', 'groupedTextVertical', 'groupedTextPrimary', 'groupedTextSecondary', 'groupedOutlined', 'groupedOutlinedHorizontal', 'groupedOutlinedVertical', 'groupedOutlinedPrimary', 'groupedOutlinedSecondary', 'groupedContained', 'groupedContainedHorizontal', 'groupedContainedVertical', 'groupedContainedPrimary', 'groupedContainedSecondary', 'lastButton', 'middleButton']);
25541
25563
  var buttonGroupClasses$1 = buttonGroupClasses;
25542
25564
 
25543
25565
  const _excluded$1C = ["children", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "disableRipple", "fullWidth", "orientation", "size", "variant"];
@@ -25555,6 +25577,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25555
25577
  [`& .${buttonGroupClasses$1.grouped}`]: styles[`grouped${capitalize(ownerState.variant)}${capitalize(ownerState.orientation)}`]
25556
25578
  }, {
25557
25579
  [`& .${buttonGroupClasses$1.grouped}`]: styles[`grouped${capitalize(ownerState.variant)}${capitalize(ownerState.color)}`]
25580
+ }, {
25581
+ [`& .${buttonGroupClasses$1.firstButton}`]: styles.firstButton
25582
+ }, {
25583
+ [`& .${buttonGroupClasses$1.lastButton}`]: styles.lastButton
25584
+ }, {
25585
+ [`& .${buttonGroupClasses$1.middleButton}`]: styles.middleButton
25558
25586
  }, styles.root, styles[ownerState.variant], ownerState.disableElevation === true && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.orientation === 'vertical' && styles.vertical];
25559
25587
  };
25560
25588
  const useUtilityClasses$1o = ownerState => {
@@ -25569,7 +25597,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25569
25597
  } = ownerState;
25570
25598
  const slots = {
25571
25599
  root: ['root', variant, orientation === 'vertical' && 'vertical', fullWidth && 'fullWidth', disableElevation && 'disableElevation'],
25572
- grouped: ['grouped', `grouped${capitalize(orientation)}`, `grouped${capitalize(variant)}`, `grouped${capitalize(variant)}${capitalize(orientation)}`, `grouped${capitalize(variant)}${capitalize(color)}`, disabled && 'disabled']
25600
+ grouped: ['grouped', `grouped${capitalize(orientation)}`, `grouped${capitalize(variant)}`, `grouped${capitalize(variant)}${capitalize(orientation)}`, `grouped${capitalize(variant)}${capitalize(color)}`, disabled && 'disabled'],
25601
+ firstButton: ['firstButton'],
25602
+ lastButton: ['lastButton'],
25603
+ middleButton: ['middleButton']
25573
25604
  };
25574
25605
  return composeClasses(slots, getButtonGroupUtilityClass, classes);
25575
25606
  };
@@ -25594,63 +25625,63 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25594
25625
  }, {
25595
25626
  [`& .${buttonGroupClasses$1.grouped}`]: _extends({
25596
25627
  minWidth: 40,
25597
- '&:not(:first-of-type)': _extends({}, ownerState.orientation === 'horizontal' && {
25598
- borderTopLeftRadius: 0,
25599
- borderBottomLeftRadius: 0
25600
- }, ownerState.orientation === 'vertical' && {
25601
- borderTopRightRadius: 0,
25602
- borderTopLeftRadius: 0
25603
- }, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
25604
- marginLeft: -1
25605
- }, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
25606
- marginTop: -1
25607
- }),
25608
- '&:not(:last-of-type)': _extends({}, ownerState.orientation === 'horizontal' && {
25609
- borderTopRightRadius: 0,
25610
- borderBottomRightRadius: 0
25611
- }, ownerState.orientation === 'vertical' && {
25612
- borderBottomRightRadius: 0,
25613
- borderBottomLeftRadius: 0
25614
- }, ownerState.variant === 'text' && ownerState.orientation === 'horizontal' && {
25615
- borderRight: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`,
25616
- [`&.${buttonGroupClasses$1.disabled}`]: {
25617
- borderRight: `1px solid ${(theme.vars || theme).palette.action.disabled}`
25618
- }
25619
- }, ownerState.variant === 'text' && ownerState.orientation === 'vertical' && {
25620
- borderBottom: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`,
25621
- [`&.${buttonGroupClasses$1.disabled}`]: {
25622
- borderBottom: `1px solid ${(theme.vars || theme).palette.action.disabled}`
25623
- }
25624
- }, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {
25625
- borderColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.5)` : alpha(theme.palette[ownerState.color].main, 0.5)
25626
- }, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
25627
- borderRightColor: 'transparent'
25628
- }, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
25629
- borderBottomColor: 'transparent'
25630
- }, ownerState.variant === 'contained' && ownerState.orientation === 'horizontal' && {
25631
- borderRight: `1px solid ${(theme.vars || theme).palette.grey[400]}`,
25632
- [`&.${buttonGroupClasses$1.disabled}`]: {
25633
- borderRight: `1px solid ${(theme.vars || theme).palette.action.disabled}`
25634
- }
25635
- }, ownerState.variant === 'contained' && ownerState.orientation === 'vertical' && {
25636
- borderBottom: `1px solid ${(theme.vars || theme).palette.grey[400]}`,
25637
- [`&.${buttonGroupClasses$1.disabled}`]: {
25638
- borderBottom: `1px solid ${(theme.vars || theme).palette.action.disabled}`
25639
- }
25640
- }, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
25641
- borderColor: (theme.vars || theme).palette[ownerState.color].dark
25642
- }, {
25643
- '&:hover': _extends({}, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
25644
- borderRightColor: 'currentColor'
25645
- }, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
25646
- borderBottomColor: 'currentColor'
25647
- })
25648
- }),
25649
25628
  '&:hover': _extends({}, ownerState.variant === 'contained' && {
25650
25629
  boxShadow: 'none'
25651
25630
  })
25652
25631
  }, ownerState.variant === 'contained' && {
25653
25632
  boxShadow: 'none'
25633
+ }),
25634
+ [`& .${buttonGroupClasses$1.firstButton},& .${buttonGroupClasses$1.middleButton}`]: _extends({}, ownerState.orientation === 'horizontal' && {
25635
+ borderTopRightRadius: 0,
25636
+ borderBottomRightRadius: 0
25637
+ }, ownerState.orientation === 'vertical' && {
25638
+ borderBottomRightRadius: 0,
25639
+ borderBottomLeftRadius: 0
25640
+ }, ownerState.variant === 'text' && ownerState.orientation === 'horizontal' && {
25641
+ borderRight: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`,
25642
+ [`&.${buttonGroupClasses$1.disabled}`]: {
25643
+ borderRight: `1px solid ${(theme.vars || theme).palette.action.disabled}`
25644
+ }
25645
+ }, ownerState.variant === 'text' && ownerState.orientation === 'vertical' && {
25646
+ borderBottom: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`,
25647
+ [`&.${buttonGroupClasses$1.disabled}`]: {
25648
+ borderBottom: `1px solid ${(theme.vars || theme).palette.action.disabled}`
25649
+ }
25650
+ }, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {
25651
+ borderColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.5)` : alpha(theme.palette[ownerState.color].main, 0.5)
25652
+ }, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
25653
+ borderRightColor: 'transparent'
25654
+ }, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
25655
+ borderBottomColor: 'transparent'
25656
+ }, ownerState.variant === 'contained' && ownerState.orientation === 'horizontal' && {
25657
+ borderRight: `1px solid ${(theme.vars || theme).palette.grey[400]}`,
25658
+ [`&.${buttonGroupClasses$1.disabled}`]: {
25659
+ borderRight: `1px solid ${(theme.vars || theme).palette.action.disabled}`
25660
+ }
25661
+ }, ownerState.variant === 'contained' && ownerState.orientation === 'vertical' && {
25662
+ borderBottom: `1px solid ${(theme.vars || theme).palette.grey[400]}`,
25663
+ [`&.${buttonGroupClasses$1.disabled}`]: {
25664
+ borderBottom: `1px solid ${(theme.vars || theme).palette.action.disabled}`
25665
+ }
25666
+ }, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
25667
+ borderColor: (theme.vars || theme).palette[ownerState.color].dark
25668
+ }, {
25669
+ '&:hover': _extends({}, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
25670
+ borderRightColor: 'currentColor'
25671
+ }, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
25672
+ borderBottomColor: 'currentColor'
25673
+ })
25674
+ }),
25675
+ [`& .${buttonGroupClasses$1.lastButton},& .${buttonGroupClasses$1.middleButton}`]: _extends({}, ownerState.orientation === 'horizontal' && {
25676
+ borderTopLeftRadius: 0,
25677
+ borderBottomLeftRadius: 0
25678
+ }, ownerState.orientation === 'vertical' && {
25679
+ borderTopRightRadius: 0,
25680
+ borderTopLeftRadius: 0
25681
+ }, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
25682
+ marginLeft: -1
25683
+ }, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
25684
+ marginTop: -1
25654
25685
  })
25655
25686
  }));
25656
25687
  const ButtonGroup = /*#__PURE__*/React__namespace.forwardRef(function ButtonGroup(inProps, ref) {
@@ -25697,6 +25728,20 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25697
25728
  size,
25698
25729
  variant
25699
25730
  }), [color, disabled, disableElevation, disableFocusRipple, disableRipple, fullWidth, size, variant, classes.grouped]);
25731
+ const getButtonPositionClassName = (index, childrenParam) => {
25732
+ const isFirstButton = index === 0;
25733
+ const isLastButton = index === React__namespace.Children.count(childrenParam) - 1;
25734
+ if (isFirstButton && isLastButton) {
25735
+ return '';
25736
+ }
25737
+ if (isFirstButton) {
25738
+ return classes.firstButton;
25739
+ }
25740
+ if (isLastButton) {
25741
+ return classes.lastButton;
25742
+ }
25743
+ return classes.middleButton;
25744
+ };
25700
25745
  return /*#__PURE__*/jsxRuntime_1(ButtonGroupRoot, _extends({
25701
25746
  as: component,
25702
25747
  role: "group",
@@ -25706,7 +25751,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25706
25751
  }, other, {
25707
25752
  children: /*#__PURE__*/jsxRuntime_1(ButtonGroupContext$1.Provider, {
25708
25753
  value: context,
25709
- children: children
25754
+ children: React__namespace.Children.map(children, (child, index) => {
25755
+ if (! /*#__PURE__*/React__namespace.isValidElement(child)) {
25756
+ return child;
25757
+ }
25758
+ return /*#__PURE__*/jsxRuntime_1(ButtonGroupButtonContext$1.Provider, {
25759
+ value: getButtonPositionClassName(index, children),
25760
+ children: child
25761
+ });
25762
+ })
25710
25763
  })
25711
25764
  }));
25712
25765
  });
@@ -27382,7 +27435,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27382
27435
  const modalClasses = generateUtilityClasses('MuiModal', ['root', 'hidden', 'backdrop']);
27383
27436
  var modalClasses$1 = modalClasses;
27384
27437
 
27385
- const _excluded$1s = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "open", "slotProps", "slots", "theme"];
27438
+ const _excluded$1s = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"];
27386
27439
  const useUtilityClasses$1e = ownerState => {
27387
27440
  const {
27388
27441
  open,
@@ -40851,7 +40904,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40851
40904
  /**
40852
40905
  * @ignore - internal component.
40853
40906
  */
40854
- function SliderValueLabel(props) {
40907
+ function SliderValueLabel$1(props) {
40855
40908
  const {
40856
40909
  children,
40857
40910
  className,
@@ -40877,7 +40930,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40877
40930
  })]
40878
40931
  }));
40879
40932
  }
40880
- SliderValueLabel.propTypes = {
40933
+ SliderValueLabel$1.propTypes = {
40881
40934
  children: PropTypes.element.isRequired,
40882
40935
  className: PropTypes.string,
40883
40936
  value: PropTypes.node
@@ -40949,16 +41002,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40949
41002
  }
40950
41003
  }
40951
41004
  }));
40952
- SliderRoot.propTypes /* remove-proptypes */ = {
40953
- // ----------------------------- Warning --------------------------------
40954
- // | These PropTypes are generated from the TypeScript type definitions |
40955
- // | To update them edit the d.ts file and run "yarn proptypes" |
40956
- // ----------------------------------------------------------------------
40957
- /**
40958
- * @ignore
40959
- */
40960
- children: PropTypes.node
40961
- } ;
40962
41005
  const SliderRail = styled$1('span', {
40963
41006
  name: 'MuiSlider',
40964
41007
  slot: 'Rail',
@@ -40984,16 +41027,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40984
41027
  }, ownerState.track === 'inverted' && {
40985
41028
  opacity: 1
40986
41029
  }));
40987
- SliderRail.propTypes /* remove-proptypes */ = {
40988
- // ----------------------------- Warning --------------------------------
40989
- // | These PropTypes are generated from the TypeScript type definitions |
40990
- // | To update them edit the d.ts file and run "yarn proptypes" |
40991
- // ----------------------------------------------------------------------
40992
- /**
40993
- * @ignore
40994
- */
40995
- children: PropTypes.node
40996
- } ;
40997
41030
  const SliderTrack = styled$1('span', {
40998
41031
  name: 'MuiSlider',
40999
41032
  slot: 'Track',
@@ -41031,16 +41064,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
41031
41064
  borderColor: theme.vars ? theme.vars.palette.Slider[`${ownerState.color}Track`] : color
41032
41065
  });
41033
41066
  });
41034
- SliderTrack.propTypes /* remove-proptypes */ = {
41035
- // ----------------------------- Warning --------------------------------
41036
- // | These PropTypes are generated from the TypeScript type definitions |
41037
- // | To update them edit the d.ts file and run "yarn proptypes" |
41038
- // ----------------------------------------------------------------------
41039
- /**
41040
- * @ignore
41041
- */
41042
- children: PropTypes.node
41043
- } ;
41044
41067
  const SliderThumb = styled$1('span', {
41045
41068
  name: 'MuiSlider',
41046
41069
  slot: 'Thumb',
@@ -41113,17 +41136,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
41113
41136
  }
41114
41137
  }
41115
41138
  }));
41116
- SliderThumb.propTypes /* remove-proptypes */ = {
41117
- // ----------------------------- Warning --------------------------------
41118
- // | These PropTypes are generated from the TypeScript type definitions |
41119
- // | To update them edit the d.ts file and run "yarn proptypes" |
41120
- // ----------------------------------------------------------------------
41121
- /**
41122
- * @ignore
41123
- */
41124
- children: PropTypes.node
41125
- } ;
41126
- const StyledSliderValueLabel = styled$1(SliderValueLabel, {
41139
+ const SliderValueLabel = styled$1(SliderValueLabel$1, {
41127
41140
  name: 'MuiSlider',
41128
41141
  slot: 'ValueLabel',
41129
41142
  overridesResolver: (props, styles) => styles.valueLabel
@@ -41181,16 +41194,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
41181
41194
  fontSize: theme.typography.pxToRem(12),
41182
41195
  padding: '0.25rem 0.5rem'
41183
41196
  }));
41184
- StyledSliderValueLabel.propTypes /* remove-proptypes */ = {
41185
- // ----------------------------- Warning --------------------------------
41186
- // | These PropTypes are generated from the TypeScript type definitions |
41187
- // | To update them edit the d.ts file and run "yarn proptypes" |
41188
- // ----------------------------------------------------------------------
41189
- /**
41190
- * @ignore
41191
- */
41192
- children: PropTypes.node
41193
- } ;
41194
41197
  const SliderMark = styled$1('span', {
41195
41198
  name: 'MuiSlider',
41196
41199
  slot: 'Mark',
@@ -41221,16 +41224,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
41221
41224
  backgroundColor: (theme.vars || theme).palette.background.paper,
41222
41225
  opacity: 0.8
41223
41226
  }));
41224
- SliderMark.propTypes /* remove-proptypes */ = {
41225
- // ----------------------------- Warning --------------------------------
41226
- // | These PropTypes are generated from the TypeScript type definitions |
41227
- // | To update them edit the d.ts file and run "yarn proptypes" |
41228
- // ----------------------------------------------------------------------
41229
- /**
41230
- * @ignore
41231
- */
41232
- children: PropTypes.node
41233
- } ;
41234
41227
  const SliderMarkLabel = styled$1('span', {
41235
41228
  name: 'MuiSlider',
41236
41229
  slot: 'MarkLabel',
@@ -41259,16 +41252,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
41259
41252
  }, markLabelActive && {
41260
41253
  color: (theme.vars || theme).palette.text.primary
41261
41254
  }));
41262
- SliderMarkLabel.propTypes /* remove-proptypes */ = {
41263
- // ----------------------------- Warning --------------------------------
41264
- // | These PropTypes are generated from the TypeScript type definitions |
41265
- // | To update them edit the d.ts file and run "yarn proptypes" |
41266
- // ----------------------------------------------------------------------
41267
- /**
41268
- * @ignore
41269
- */
41270
- children: PropTypes.node
41271
- } ;
41272
41255
  const useUtilityClasses$u = ownerState => {
41273
41256
  const {
41274
41257
  disabled,
@@ -41382,7 +41365,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
41382
41365
  const RailSlot = (_ref2 = (_slots$rail = slots == null ? void 0 : slots.rail) != null ? _slots$rail : components.Rail) != null ? _ref2 : SliderRail;
41383
41366
  const TrackSlot = (_ref3 = (_slots$track = slots == null ? void 0 : slots.track) != null ? _slots$track : components.Track) != null ? _ref3 : SliderTrack;
41384
41367
  const ThumbSlot = (_ref4 = (_slots$thumb = slots == null ? void 0 : slots.thumb) != null ? _slots$thumb : components.Thumb) != null ? _ref4 : SliderThumb;
41385
- const ValueLabelSlot = (_ref5 = (_slots$valueLabel = slots == null ? void 0 : slots.valueLabel) != null ? _slots$valueLabel : components.ValueLabel) != null ? _ref5 : StyledSliderValueLabel;
41368
+ const ValueLabelSlot = (_ref5 = (_slots$valueLabel = slots == null ? void 0 : slots.valueLabel) != null ? _slots$valueLabel : components.ValueLabel) != null ? _ref5 : SliderValueLabel;
41386
41369
  const MarkSlot = (_ref6 = (_slots$mark = slots == null ? void 0 : slots.mark) != null ? _slots$mark : components.Mark) != null ? _ref6 : SliderMark;
41387
41370
  const MarkLabelSlot = (_ref7 = (_slots$markLabel = slots == null ? void 0 : slots.markLabel) != null ? _slots$markLabel : components.MarkLabel) != null ? _ref7 : SliderMarkLabel;
41388
41371
  const InputSlot = (_ref8 = (_slots$input = slots == null ? void 0 : slots.input) != null ? _slots$input : components.Input) != null ? _ref8 : 'input';
@@ -48326,10 +48309,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48326
48309
  width: 2,
48327
48310
  right: 0
48328
48311
  }));
48329
- const TabsScrollbarSize = styled$1(ScrollbarSize, {
48330
- name: 'MuiTabs',
48331
- slot: 'ScrollbarSize'
48332
- })({
48312
+ const TabsScrollbarSize = styled$1(ScrollbarSize)({
48333
48313
  overflowX: 'auto',
48334
48314
  overflowY: 'hidden',
48335
48315
  // Hide dimensionless scrollbar on macOS
@@ -48935,7 +48915,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48935
48915
  *
48936
48916
  * - `scrollable` will invoke scrolling properties and allow for horizontally
48937
48917
  * scrolling (or swiping) of the tab bar.
48938
- * -`fullWidth` will make the tabs grow to use all the available space,
48918
+ * - `fullWidth` will make the tabs grow to use all the available space,
48939
48919
  * which should be used for small views, like on mobile.
48940
48920
  * - `standard` will render the default state.
48941
48921
  * @default 'standard'
@@ -49909,7 +49889,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49909
49889
  exports.SliderRoot = SliderRoot;
49910
49890
  exports.SliderThumb = SliderThumb;
49911
49891
  exports.SliderTrack = SliderTrack;
49912
- exports.SliderValueLabel = StyledSliderValueLabel;
49892
+ exports.SliderValueLabel = SliderValueLabel;
49913
49893
  exports.Snackbar = Snackbar$1;
49914
49894
  exports.SnackbarContent = SnackbarContent$1;
49915
49895
  exports.SpeedDial = SpeedDial$1;