@vitessce/styles 3.6.7 → 3.6.9

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/dist/index.js CHANGED
@@ -9881,7 +9881,7 @@ function getSvgIconUtilityClass(slot) {
9881
9881
  return generateUtilityClass("MuiSvgIcon", slot);
9882
9882
  }
9883
9883
  generateUtilityClasses("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
9884
- const useUtilityClasses$1J = (ownerState) => {
9884
+ const useUtilityClasses$1K = (ownerState) => {
9885
9885
  const {
9886
9886
  color: color2,
9887
9887
  fontSize,
@@ -10026,7 +10026,7 @@ const SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(inProps, ref)
10026
10026
  if (!inheritViewBox) {
10027
10027
  more.viewBox = viewBox;
10028
10028
  }
10029
- const classes2 = useUtilityClasses$1J(ownerState);
10029
+ const classes2 = useUtilityClasses$1K(ownerState);
10030
10030
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(SvgIconRoot, {
10031
10031
  as: component,
10032
10032
  className: clsx(classes2.root, className),
@@ -10365,7 +10365,7 @@ function getCollapseUtilityClass(slot) {
10365
10365
  return generateUtilityClass("MuiCollapse", slot);
10366
10366
  }
10367
10367
  generateUtilityClasses("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
10368
- const useUtilityClasses$1I = (ownerState) => {
10368
+ const useUtilityClasses$1J = (ownerState) => {
10369
10369
  const {
10370
10370
  orientation,
10371
10371
  classes: classes2
@@ -10491,7 +10491,7 @@ const Collapse = /* @__PURE__ */ React.forwardRef(function Collapse2(inProps, re
10491
10491
  orientation,
10492
10492
  collapsedSize: collapsedSizeProp
10493
10493
  };
10494
- const classes2 = useUtilityClasses$1I(ownerState);
10494
+ const classes2 = useUtilityClasses$1J(ownerState);
10495
10495
  const theme = useTheme();
10496
10496
  const timer = useTimeout();
10497
10497
  const wrapperRef = React.useRef(null);
@@ -10791,7 +10791,7 @@ function getPaperUtilityClass(slot) {
10791
10791
  return generateUtilityClass("MuiPaper", slot);
10792
10792
  }
10793
10793
  generateUtilityClasses("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
10794
- const useUtilityClasses$1H = (ownerState) => {
10794
+ const useUtilityClasses$1I = (ownerState) => {
10795
10795
  const {
10796
10796
  square,
10797
10797
  elevation,
@@ -10864,7 +10864,7 @@ const Paper = /* @__PURE__ */ React.forwardRef(function Paper2(inProps, ref) {
10864
10864
  square,
10865
10865
  variant
10866
10866
  };
10867
- const classes2 = useUtilityClasses$1H(ownerState);
10867
+ const classes2 = useUtilityClasses$1I(ownerState);
10868
10868
  {
10869
10869
  if (theme.shadows[elevation] === void 0) {
10870
10870
  console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join("\n"));
@@ -11107,7 +11107,7 @@ function getAccordionUtilityClass(slot) {
11107
11107
  return generateUtilityClass("MuiAccordion", slot);
11108
11108
  }
11109
11109
  const accordionClasses = generateUtilityClasses("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled", "gutters", "region"]);
11110
- const useUtilityClasses$1G = (ownerState) => {
11110
+ const useUtilityClasses$1H = (ownerState) => {
11111
11111
  const {
11112
11112
  classes: classes2,
11113
11113
  square,
@@ -11262,7 +11262,7 @@ const Accordion = /* @__PURE__ */ React.forwardRef(function Accordion2(inProps,
11262
11262
  disableGutters,
11263
11263
  expanded
11264
11264
  };
11265
- const classes2 = useUtilityClasses$1G(ownerState);
11265
+ const classes2 = useUtilityClasses$1H(ownerState);
11266
11266
  const backwardCompatibleSlots = {
11267
11267
  transition: TransitionComponentProp,
11268
11268
  ...slots
@@ -11419,7 +11419,7 @@ function getAccordionDetailsUtilityClass(slot) {
11419
11419
  return generateUtilityClass("MuiAccordionDetails", slot);
11420
11420
  }
11421
11421
  generateUtilityClasses("MuiAccordionDetails", ["root"]);
11422
- const useUtilityClasses$1F = (ownerState) => {
11422
+ const useUtilityClasses$1G = (ownerState) => {
11423
11423
  const {
11424
11424
  classes: classes2
11425
11425
  } = ownerState;
@@ -11446,7 +11446,7 @@ const AccordionDetails = /* @__PURE__ */ React.forwardRef(function AccordionDeta
11446
11446
  ...other
11447
11447
  } = props;
11448
11448
  const ownerState = props;
11449
- const classes2 = useUtilityClasses$1F(ownerState);
11449
+ const classes2 = useUtilityClasses$1G(ownerState);
11450
11450
  return /* @__PURE__ */ jsxRuntimeExports.jsx(AccordionDetailsRoot, {
11451
11451
  className: clsx(classes2.root, className),
11452
11452
  ref,
@@ -11927,7 +11927,7 @@ function getButtonBaseUtilityClass(slot) {
11927
11927
  return generateUtilityClass("MuiButtonBase", slot);
11928
11928
  }
11929
11929
  const buttonBaseClasses = generateUtilityClasses("MuiButtonBase", ["root", "disabled", "focusVisible"]);
11930
- const useUtilityClasses$1E = (ownerState) => {
11930
+ const useUtilityClasses$1F = (ownerState) => {
11931
11931
  const {
11932
11932
  disabled,
11933
11933
  focusVisible,
@@ -12143,7 +12143,7 @@ const ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(inProps
12143
12143
  tabIndex,
12144
12144
  focusVisible
12145
12145
  };
12146
- const classes2 = useUtilityClasses$1E(ownerState);
12146
+ const classes2 = useUtilityClasses$1F(ownerState);
12147
12147
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(ButtonBaseRoot, {
12148
12148
  as: ComponentProp,
12149
12149
  className: clsx(classes2.root, className),
@@ -12346,7 +12346,7 @@ function getAccordionSummaryUtilityClass(slot) {
12346
12346
  return generateUtilityClass("MuiAccordionSummary", slot);
12347
12347
  }
12348
12348
  const accordionSummaryClasses = generateUtilityClasses("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disabled", "gutters", "contentGutters", "content", "expandIconWrapper"]);
12349
- const useUtilityClasses$1D = (ownerState) => {
12349
+ const useUtilityClasses$1E = (ownerState) => {
12350
12350
  const {
12351
12351
  classes: classes2,
12352
12352
  expanded,
@@ -12468,7 +12468,7 @@ const AccordionSummary = /* @__PURE__ */ React.forwardRef(function AccordionSumm
12468
12468
  disabled,
12469
12469
  disableGutters
12470
12470
  };
12471
- const classes2 = useUtilityClasses$1D(ownerState);
12471
+ const classes2 = useUtilityClasses$1E(ownerState);
12472
12472
  const externalForwardedProps = {
12473
12473
  slots,
12474
12474
  slotProps
@@ -12579,6 +12579,962 @@ AccordionSummary.propTypes = {
12579
12579
  */
12580
12580
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
12581
12581
  };
12582
+ function hasCorrectMainProperty(obj) {
12583
+ return typeof obj.main === "string";
12584
+ }
12585
+ function checkSimplePaletteColorValues(obj, additionalPropertiesToCheck = []) {
12586
+ if (!hasCorrectMainProperty(obj)) {
12587
+ return false;
12588
+ }
12589
+ for (const value of additionalPropertiesToCheck) {
12590
+ if (!obj.hasOwnProperty(value) || typeof obj[value] !== "string") {
12591
+ return false;
12592
+ }
12593
+ }
12594
+ return true;
12595
+ }
12596
+ function createSimplePaletteValueFilter(additionalPropertiesToCheck = []) {
12597
+ return ([, value]) => value && checkSimplePaletteColorValues(value, additionalPropertiesToCheck);
12598
+ }
12599
+ function getAlertUtilityClass(slot) {
12600
+ return generateUtilityClass("MuiAlert", slot);
12601
+ }
12602
+ const alertClasses = generateUtilityClasses("MuiAlert", ["root", "action", "icon", "message", "filled", "colorSuccess", "colorInfo", "colorWarning", "colorError", "filledSuccess", "filledInfo", "filledWarning", "filledError", "outlined", "outlinedSuccess", "outlinedInfo", "outlinedWarning", "outlinedError", "standard", "standardSuccess", "standardInfo", "standardWarning", "standardError"]);
12603
+ function getCircularProgressUtilityClass(slot) {
12604
+ return generateUtilityClass("MuiCircularProgress", slot);
12605
+ }
12606
+ generateUtilityClasses("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
12607
+ const SIZE = 44;
12608
+ const circularRotateKeyframe = keyframes`
12609
+ 0% {
12610
+ transform: rotate(0deg);
12611
+ }
12612
+
12613
+ 100% {
12614
+ transform: rotate(360deg);
12615
+ }
12616
+ `;
12617
+ const circularDashKeyframe = keyframes`
12618
+ 0% {
12619
+ stroke-dasharray: 1px, 200px;
12620
+ stroke-dashoffset: 0;
12621
+ }
12622
+
12623
+ 50% {
12624
+ stroke-dasharray: 100px, 200px;
12625
+ stroke-dashoffset: -15px;
12626
+ }
12627
+
12628
+ 100% {
12629
+ stroke-dasharray: 1px, 200px;
12630
+ stroke-dashoffset: -126px;
12631
+ }
12632
+ `;
12633
+ const rotateAnimation = typeof circularRotateKeyframe !== "string" ? css`
12634
+ animation: ${circularRotateKeyframe} 1.4s linear infinite;
12635
+ ` : null;
12636
+ const dashAnimation = typeof circularDashKeyframe !== "string" ? css`
12637
+ animation: ${circularDashKeyframe} 1.4s ease-in-out infinite;
12638
+ ` : null;
12639
+ const useUtilityClasses$1D = (ownerState) => {
12640
+ const {
12641
+ classes: classes2,
12642
+ variant,
12643
+ color: color2,
12644
+ disableShrink
12645
+ } = ownerState;
12646
+ const slots = {
12647
+ root: ["root", variant, `color${capitalize(color2)}`],
12648
+ svg: ["svg"],
12649
+ circle: ["circle", `circle${capitalize(variant)}`, disableShrink && "circleDisableShrink"]
12650
+ };
12651
+ return composeClasses(slots, getCircularProgressUtilityClass, classes2);
12652
+ };
12653
+ const CircularProgressRoot = styled("span", {
12654
+ name: "MuiCircularProgress",
12655
+ slot: "Root",
12656
+ overridesResolver: (props, styles2) => {
12657
+ const {
12658
+ ownerState
12659
+ } = props;
12660
+ return [styles2.root, styles2[ownerState.variant], styles2[`color${capitalize(ownerState.color)}`]];
12661
+ }
12662
+ })(memoTheme(({
12663
+ theme
12664
+ }) => ({
12665
+ display: "inline-block",
12666
+ variants: [{
12667
+ props: {
12668
+ variant: "determinate"
12669
+ },
12670
+ style: {
12671
+ transition: theme.transitions.create("transform")
12672
+ }
12673
+ }, {
12674
+ props: {
12675
+ variant: "indeterminate"
12676
+ },
12677
+ style: rotateAnimation || {
12678
+ animation: `${circularRotateKeyframe} 1.4s linear infinite`
12679
+ }
12680
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
12681
+ props: {
12682
+ color: color2
12683
+ },
12684
+ style: {
12685
+ color: (theme.vars || theme).palette[color2].main
12686
+ }
12687
+ }))]
12688
+ })));
12689
+ const CircularProgressSVG = styled("svg", {
12690
+ name: "MuiCircularProgress",
12691
+ slot: "Svg"
12692
+ })({
12693
+ display: "block"
12694
+ // Keeps the progress centered
12695
+ });
12696
+ const CircularProgressCircle = styled("circle", {
12697
+ name: "MuiCircularProgress",
12698
+ slot: "Circle",
12699
+ overridesResolver: (props, styles2) => {
12700
+ const {
12701
+ ownerState
12702
+ } = props;
12703
+ return [styles2.circle, styles2[`circle${capitalize(ownerState.variant)}`], ownerState.disableShrink && styles2.circleDisableShrink];
12704
+ }
12705
+ })(memoTheme(({
12706
+ theme
12707
+ }) => ({
12708
+ stroke: "currentColor",
12709
+ variants: [{
12710
+ props: {
12711
+ variant: "determinate"
12712
+ },
12713
+ style: {
12714
+ transition: theme.transitions.create("stroke-dashoffset")
12715
+ }
12716
+ }, {
12717
+ props: {
12718
+ variant: "indeterminate"
12719
+ },
12720
+ style: {
12721
+ // Some default value that looks fine waiting for the animation to kicks in.
12722
+ strokeDasharray: "80px, 200px",
12723
+ strokeDashoffset: 0
12724
+ // Add the unit to fix a Edge 16 and below bug.
12725
+ }
12726
+ }, {
12727
+ props: ({
12728
+ ownerState
12729
+ }) => ownerState.variant === "indeterminate" && !ownerState.disableShrink,
12730
+ style: dashAnimation || {
12731
+ // At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
12732
+ animation: `${circularDashKeyframe} 1.4s ease-in-out infinite`
12733
+ }
12734
+ }]
12735
+ })));
12736
+ const CircularProgress = /* @__PURE__ */ React.forwardRef(function CircularProgress2(inProps, ref) {
12737
+ const props = useDefaultProps({
12738
+ props: inProps,
12739
+ name: "MuiCircularProgress"
12740
+ });
12741
+ const {
12742
+ className,
12743
+ color: color2 = "primary",
12744
+ disableShrink = false,
12745
+ size = 40,
12746
+ style: style2,
12747
+ thickness = 3.6,
12748
+ value = 0,
12749
+ variant = "indeterminate",
12750
+ ...other
12751
+ } = props;
12752
+ const ownerState = {
12753
+ ...props,
12754
+ color: color2,
12755
+ disableShrink,
12756
+ size,
12757
+ thickness,
12758
+ value,
12759
+ variant
12760
+ };
12761
+ const classes2 = useUtilityClasses$1D(ownerState);
12762
+ const circleStyle = {};
12763
+ const rootStyle = {};
12764
+ const rootProps = {};
12765
+ if (variant === "determinate") {
12766
+ const circumference = 2 * Math.PI * ((SIZE - thickness) / 2);
12767
+ circleStyle.strokeDasharray = circumference.toFixed(3);
12768
+ rootProps["aria-valuenow"] = Math.round(value);
12769
+ circleStyle.strokeDashoffset = `${((100 - value) / 100 * circumference).toFixed(3)}px`;
12770
+ rootStyle.transform = "rotate(-90deg)";
12771
+ }
12772
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressRoot, {
12773
+ className: clsx(classes2.root, className),
12774
+ style: {
12775
+ width: size,
12776
+ height: size,
12777
+ ...rootStyle,
12778
+ ...style2
12779
+ },
12780
+ ownerState,
12781
+ ref,
12782
+ role: "progressbar",
12783
+ ...rootProps,
12784
+ ...other,
12785
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressSVG, {
12786
+ className: classes2.svg,
12787
+ ownerState,
12788
+ viewBox: `${SIZE / 2} ${SIZE / 2} ${SIZE} ${SIZE}`,
12789
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressCircle, {
12790
+ className: classes2.circle,
12791
+ style: circleStyle,
12792
+ ownerState,
12793
+ cx: SIZE,
12794
+ cy: SIZE,
12795
+ r: (SIZE - thickness) / 2,
12796
+ fill: "none",
12797
+ strokeWidth: thickness
12798
+ })
12799
+ })
12800
+ });
12801
+ });
12802
+ CircularProgress.propTypes = {
12803
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
12804
+ // │ These PropTypes are generated from the TypeScript type definitions. │
12805
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
12806
+ // └─────────────────────────────────────────────────────────────────────┘
12807
+ /**
12808
+ * Override or extend the styles applied to the component.
12809
+ */
12810
+ classes: PropTypes.object,
12811
+ /**
12812
+ * @ignore
12813
+ */
12814
+ className: PropTypes.string,
12815
+ /**
12816
+ * The color of the component.
12817
+ * It supports both default and custom theme colors, which can be added as shown in the
12818
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
12819
+ * @default 'primary'
12820
+ */
12821
+ color: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "primary", "secondary", "error", "info", "success", "warning"]), PropTypes.string]),
12822
+ /**
12823
+ * If `true`, the shrink animation is disabled.
12824
+ * This only works if variant is `indeterminate`.
12825
+ * @default false
12826
+ */
12827
+ disableShrink: chainPropTypes(PropTypes.bool, (props) => {
12828
+ if (props.disableShrink && props.variant && props.variant !== "indeterminate") {
12829
+ return new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect.");
12830
+ }
12831
+ return null;
12832
+ }),
12833
+ /**
12834
+ * The size of the component.
12835
+ * If using a number, the pixel unit is assumed.
12836
+ * If using a string, you need to provide the CSS unit, for example '3rem'.
12837
+ * @default 40
12838
+ */
12839
+ size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
12840
+ /**
12841
+ * @ignore
12842
+ */
12843
+ style: PropTypes.object,
12844
+ /**
12845
+ * The system prop that allows defining system overrides as well as additional CSS styles.
12846
+ */
12847
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
12848
+ /**
12849
+ * The thickness of the circle.
12850
+ * @default 3.6
12851
+ */
12852
+ thickness: PropTypes.number,
12853
+ /**
12854
+ * The value of the progress indicator for the determinate variant.
12855
+ * Value between 0 and 100.
12856
+ * @default 0
12857
+ */
12858
+ value: PropTypes.number,
12859
+ /**
12860
+ * The variant to use.
12861
+ * Use indeterminate when there is no progress value.
12862
+ * @default 'indeterminate'
12863
+ */
12864
+ variant: PropTypes.oneOf(["determinate", "indeterminate"])
12865
+ };
12866
+ function getIconButtonUtilityClass(slot) {
12867
+ return generateUtilityClass("MuiIconButton", slot);
12868
+ }
12869
+ const iconButtonClasses = generateUtilityClasses("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]);
12870
+ const useUtilityClasses$1C = (ownerState) => {
12871
+ const {
12872
+ classes: classes2,
12873
+ disabled,
12874
+ color: color2,
12875
+ edge,
12876
+ size,
12877
+ loading
12878
+ } = ownerState;
12879
+ const slots = {
12880
+ root: ["root", loading && "loading", disabled && "disabled", color2 !== "default" && `color${capitalize(color2)}`, edge && `edge${capitalize(edge)}`, `size${capitalize(size)}`],
12881
+ loadingIndicator: ["loadingIndicator"],
12882
+ loadingWrapper: ["loadingWrapper"]
12883
+ };
12884
+ return composeClasses(slots, getIconButtonUtilityClass, classes2);
12885
+ };
12886
+ const IconButtonRoot = styled(ButtonBase, {
12887
+ name: "MuiIconButton",
12888
+ slot: "Root",
12889
+ overridesResolver: (props, styles2) => {
12890
+ const {
12891
+ ownerState
12892
+ } = props;
12893
+ return [styles2.root, ownerState.loading && styles2.loading, ownerState.color !== "default" && styles2[`color${capitalize(ownerState.color)}`], ownerState.edge && styles2[`edge${capitalize(ownerState.edge)}`], styles2[`size${capitalize(ownerState.size)}`]];
12894
+ }
12895
+ })(memoTheme(({
12896
+ theme
12897
+ }) => ({
12898
+ textAlign: "center",
12899
+ flex: "0 0 auto",
12900
+ fontSize: theme.typography.pxToRem(24),
12901
+ padding: 8,
12902
+ borderRadius: "50%",
12903
+ color: (theme.vars || theme).palette.action.active,
12904
+ transition: theme.transitions.create("background-color", {
12905
+ duration: theme.transitions.duration.shortest
12906
+ }),
12907
+ variants: [{
12908
+ props: (props) => !props.disableRipple,
12909
+ style: {
12910
+ "--IconButton-hoverBg": theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
12911
+ "&:hover": {
12912
+ backgroundColor: "var(--IconButton-hoverBg)",
12913
+ // Reset on touch devices, it doesn't add specificity
12914
+ "@media (hover: none)": {
12915
+ backgroundColor: "transparent"
12916
+ }
12917
+ }
12918
+ }
12919
+ }, {
12920
+ props: {
12921
+ edge: "start"
12922
+ },
12923
+ style: {
12924
+ marginLeft: -12
12925
+ }
12926
+ }, {
12927
+ props: {
12928
+ edge: "start",
12929
+ size: "small"
12930
+ },
12931
+ style: {
12932
+ marginLeft: -3
12933
+ }
12934
+ }, {
12935
+ props: {
12936
+ edge: "end"
12937
+ },
12938
+ style: {
12939
+ marginRight: -12
12940
+ }
12941
+ }, {
12942
+ props: {
12943
+ edge: "end",
12944
+ size: "small"
12945
+ },
12946
+ style: {
12947
+ marginRight: -3
12948
+ }
12949
+ }]
12950
+ })), memoTheme(({
12951
+ theme
12952
+ }) => ({
12953
+ variants: [{
12954
+ props: {
12955
+ color: "inherit"
12956
+ },
12957
+ style: {
12958
+ color: "inherit"
12959
+ }
12960
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
12961
+ props: {
12962
+ color: color2
12963
+ },
12964
+ style: {
12965
+ color: (theme.vars || theme).palette[color2].main
12966
+ }
12967
+ })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
12968
+ props: {
12969
+ color: color2
12970
+ },
12971
+ style: {
12972
+ "--IconButton-hoverBg": theme.vars ? `rgba(${(theme.vars || theme).palette[color2].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha((theme.vars || theme).palette[color2].main, theme.palette.action.hoverOpacity)
12973
+ }
12974
+ })), {
12975
+ props: {
12976
+ size: "small"
12977
+ },
12978
+ style: {
12979
+ padding: 5,
12980
+ fontSize: theme.typography.pxToRem(18)
12981
+ }
12982
+ }, {
12983
+ props: {
12984
+ size: "large"
12985
+ },
12986
+ style: {
12987
+ padding: 12,
12988
+ fontSize: theme.typography.pxToRem(28)
12989
+ }
12990
+ }],
12991
+ [`&.${iconButtonClasses.disabled}`]: {
12992
+ backgroundColor: "transparent",
12993
+ color: (theme.vars || theme).palette.action.disabled
12994
+ },
12995
+ [`&.${iconButtonClasses.loading}`]: {
12996
+ color: "transparent"
12997
+ }
12998
+ })));
12999
+ const IconButtonLoadingIndicator = styled("span", {
13000
+ name: "MuiIconButton",
13001
+ slot: "LoadingIndicator"
13002
+ })(({
13003
+ theme
13004
+ }) => ({
13005
+ display: "none",
13006
+ position: "absolute",
13007
+ visibility: "visible",
13008
+ top: "50%",
13009
+ left: "50%",
13010
+ transform: "translate(-50%, -50%)",
13011
+ color: (theme.vars || theme).palette.action.disabled,
13012
+ variants: [{
13013
+ props: {
13014
+ loading: true
13015
+ },
13016
+ style: {
13017
+ display: "flex"
13018
+ }
13019
+ }]
13020
+ }));
13021
+ const IconButton = /* @__PURE__ */ React.forwardRef(function IconButton2(inProps, ref) {
13022
+ const props = useDefaultProps({
13023
+ props: inProps,
13024
+ name: "MuiIconButton"
13025
+ });
13026
+ const {
13027
+ edge = false,
13028
+ children,
13029
+ className,
13030
+ color: color2 = "default",
13031
+ disabled = false,
13032
+ disableFocusRipple = false,
13033
+ size = "medium",
13034
+ id: idProp,
13035
+ loading = null,
13036
+ loadingIndicator: loadingIndicatorProp,
13037
+ ...other
13038
+ } = props;
13039
+ const loadingId = useId(idProp);
13040
+ const loadingIndicator = loadingIndicatorProp ?? /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgress, {
13041
+ "aria-labelledby": loadingId,
13042
+ color: "inherit",
13043
+ size: 16
13044
+ });
13045
+ const ownerState = {
13046
+ ...props,
13047
+ edge,
13048
+ color: color2,
13049
+ disabled,
13050
+ disableFocusRipple,
13051
+ loading,
13052
+ loadingIndicator,
13053
+ size
13054
+ };
13055
+ const classes2 = useUtilityClasses$1C(ownerState);
13056
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconButtonRoot, {
13057
+ id: loading ? loadingId : idProp,
13058
+ className: clsx(classes2.root, className),
13059
+ centerRipple: true,
13060
+ focusRipple: !disableFocusRipple,
13061
+ disabled: disabled || loading,
13062
+ ref,
13063
+ ...other,
13064
+ ownerState,
13065
+ children: [typeof loading === "boolean" && // use plain HTML span to minimize the runtime overhead
13066
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
13067
+ className: classes2.loadingWrapper,
13068
+ style: {
13069
+ display: "contents"
13070
+ },
13071
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconButtonLoadingIndicator, {
13072
+ className: classes2.loadingIndicator,
13073
+ ownerState,
13074
+ children: loading && loadingIndicator
13075
+ })
13076
+ }), children]
13077
+ });
13078
+ });
13079
+ IconButton.propTypes = {
13080
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
13081
+ // │ These PropTypes are generated from the TypeScript type definitions. │
13082
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
13083
+ // └─────────────────────────────────────────────────────────────────────┘
13084
+ /**
13085
+ * The icon to display.
13086
+ */
13087
+ children: chainPropTypes(PropTypes.node, (props) => {
13088
+ const found = React.Children.toArray(props.children).some((child) => /* @__PURE__ */ React.isValidElement(child) && child.props.onClick);
13089
+ if (found) {
13090
+ return new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join("\n"));
13091
+ }
13092
+ return null;
13093
+ }),
13094
+ /**
13095
+ * Override or extend the styles applied to the component.
13096
+ */
13097
+ classes: PropTypes.object,
13098
+ /**
13099
+ * @ignore
13100
+ */
13101
+ className: PropTypes.string,
13102
+ /**
13103
+ * The color of the component.
13104
+ * It supports both default and custom theme colors, which can be added as shown in the
13105
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
13106
+ * @default 'default'
13107
+ */
13108
+ color: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), PropTypes.string]),
13109
+ /**
13110
+ * If `true`, the component is disabled.
13111
+ * @default false
13112
+ */
13113
+ disabled: PropTypes.bool,
13114
+ /**
13115
+ * If `true`, the keyboard focus ripple is disabled.
13116
+ * @default false
13117
+ */
13118
+ disableFocusRipple: PropTypes.bool,
13119
+ /**
13120
+ * If `true`, the ripple effect is disabled.
13121
+ *
13122
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
13123
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
13124
+ * @default false
13125
+ */
13126
+ disableRipple: PropTypes.bool,
13127
+ /**
13128
+ * If given, uses a negative margin to counteract the padding on one
13129
+ * side (this is often helpful for aligning the left or right
13130
+ * side of the icon with content above or below, without ruining the border
13131
+ * size and shape).
13132
+ * @default false
13133
+ */
13134
+ edge: PropTypes.oneOf(["end", "start", false]),
13135
+ /**
13136
+ * @ignore
13137
+ */
13138
+ id: PropTypes.string,
13139
+ /**
13140
+ * If `true`, the loading indicator is visible and the button is disabled.
13141
+ * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
13142
+ * @default null
13143
+ */
13144
+ loading: PropTypes.bool,
13145
+ /**
13146
+ * Element placed before the children if the button is in loading state.
13147
+ * The node should contain an element with `role="progressbar"` with an accessible name.
13148
+ * By default, it renders a `CircularProgress` that is labeled by the button itself.
13149
+ * @default <CircularProgress color="inherit" size={16} />
13150
+ */
13151
+ loadingIndicator: PropTypes.node,
13152
+ /**
13153
+ * The size of the component.
13154
+ * `small` is equivalent to the dense button styling.
13155
+ * @default 'medium'
13156
+ */
13157
+ size: PropTypes.oneOfType([PropTypes.oneOf(["small", "medium", "large"]), PropTypes.string]),
13158
+ /**
13159
+ * The system prop that allows defining system overrides as well as additional CSS styles.
13160
+ */
13161
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
13162
+ };
13163
+ const SuccessOutlinedIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
13164
+ d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"
13165
+ }), "SuccessOutlined");
13166
+ const ReportProblemOutlinedIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
13167
+ d: "M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
13168
+ }), "ReportProblemOutlined");
13169
+ const ErrorOutlineIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
13170
+ d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
13171
+ }), "ErrorOutline");
13172
+ const InfoOutlinedIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
13173
+ d: "M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"
13174
+ }), "InfoOutlined");
13175
+ const ClearIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
13176
+ d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
13177
+ }), "Close");
13178
+ const useUtilityClasses$1B = (ownerState) => {
13179
+ const {
13180
+ variant,
13181
+ color: color2,
13182
+ severity,
13183
+ classes: classes2
13184
+ } = ownerState;
13185
+ const slots = {
13186
+ root: ["root", `color${capitalize(color2 || severity)}`, `${variant}${capitalize(color2 || severity)}`, `${variant}`],
13187
+ icon: ["icon"],
13188
+ message: ["message"],
13189
+ action: ["action"]
13190
+ };
13191
+ return composeClasses(slots, getAlertUtilityClass, classes2);
13192
+ };
13193
+ const AlertRoot = styled(Paper, {
13194
+ name: "MuiAlert",
13195
+ slot: "Root",
13196
+ overridesResolver: (props, styles2) => {
13197
+ const {
13198
+ ownerState
13199
+ } = props;
13200
+ return [styles2.root, styles2[ownerState.variant], styles2[`${ownerState.variant}${capitalize(ownerState.color || ownerState.severity)}`]];
13201
+ }
13202
+ })(memoTheme(({
13203
+ theme
13204
+ }) => {
13205
+ const getColor = theme.palette.mode === "light" ? darken : lighten;
13206
+ const getBackgroundColor = theme.palette.mode === "light" ? lighten : darken;
13207
+ return {
13208
+ ...theme.typography.body2,
13209
+ backgroundColor: "transparent",
13210
+ display: "flex",
13211
+ padding: "6px 16px",
13212
+ variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(["light"])).map(([color2]) => ({
13213
+ props: {
13214
+ colorSeverity: color2,
13215
+ variant: "standard"
13216
+ },
13217
+ style: {
13218
+ color: theme.vars ? theme.vars.palette.Alert[`${color2}Color`] : getColor(theme.palette[color2].light, 0.6),
13219
+ backgroundColor: theme.vars ? theme.vars.palette.Alert[`${color2}StandardBg`] : getBackgroundColor(theme.palette[color2].light, 0.9),
13220
+ [`& .${alertClasses.icon}`]: theme.vars ? {
13221
+ color: theme.vars.palette.Alert[`${color2}IconColor`]
13222
+ } : {
13223
+ color: theme.palette[color2].main
13224
+ }
13225
+ }
13226
+ })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(["light"])).map(([color2]) => ({
13227
+ props: {
13228
+ colorSeverity: color2,
13229
+ variant: "outlined"
13230
+ },
13231
+ style: {
13232
+ color: theme.vars ? theme.vars.palette.Alert[`${color2}Color`] : getColor(theme.palette[color2].light, 0.6),
13233
+ border: `1px solid ${(theme.vars || theme).palette[color2].light}`,
13234
+ [`& .${alertClasses.icon}`]: theme.vars ? {
13235
+ color: theme.vars.palette.Alert[`${color2}IconColor`]
13236
+ } : {
13237
+ color: theme.palette[color2].main
13238
+ }
13239
+ }
13240
+ })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(["dark"])).map(([color2]) => ({
13241
+ props: {
13242
+ colorSeverity: color2,
13243
+ variant: "filled"
13244
+ },
13245
+ style: {
13246
+ fontWeight: theme.typography.fontWeightMedium,
13247
+ ...theme.vars ? {
13248
+ color: theme.vars.palette.Alert[`${color2}FilledColor`],
13249
+ backgroundColor: theme.vars.palette.Alert[`${color2}FilledBg`]
13250
+ } : {
13251
+ backgroundColor: theme.palette.mode === "dark" ? theme.palette[color2].dark : theme.palette[color2].main,
13252
+ color: theme.palette.getContrastText(theme.palette[color2].main)
13253
+ }
13254
+ }
13255
+ }))]
13256
+ };
13257
+ }));
13258
+ const AlertIcon = styled("div", {
13259
+ name: "MuiAlert",
13260
+ slot: "Icon"
13261
+ })({
13262
+ marginRight: 12,
13263
+ padding: "7px 0",
13264
+ display: "flex",
13265
+ fontSize: 22,
13266
+ opacity: 0.9
13267
+ });
13268
+ const AlertMessage = styled("div", {
13269
+ name: "MuiAlert",
13270
+ slot: "Message"
13271
+ })({
13272
+ padding: "8px 0",
13273
+ minWidth: 0,
13274
+ overflow: "auto"
13275
+ });
13276
+ const AlertAction = styled("div", {
13277
+ name: "MuiAlert",
13278
+ slot: "Action"
13279
+ })({
13280
+ display: "flex",
13281
+ alignItems: "flex-start",
13282
+ padding: "4px 0 0 16px",
13283
+ marginLeft: "auto",
13284
+ marginRight: -8
13285
+ });
13286
+ const defaultIconMapping = {
13287
+ success: /* @__PURE__ */ jsxRuntimeExports.jsx(SuccessOutlinedIcon, {
13288
+ fontSize: "inherit"
13289
+ }),
13290
+ warning: /* @__PURE__ */ jsxRuntimeExports.jsx(ReportProblemOutlinedIcon, {
13291
+ fontSize: "inherit"
13292
+ }),
13293
+ error: /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorOutlineIcon, {
13294
+ fontSize: "inherit"
13295
+ }),
13296
+ info: /* @__PURE__ */ jsxRuntimeExports.jsx(InfoOutlinedIcon, {
13297
+ fontSize: "inherit"
13298
+ })
13299
+ };
13300
+ const Alert = /* @__PURE__ */ React.forwardRef(function Alert2(inProps, ref) {
13301
+ const props = useDefaultProps({
13302
+ props: inProps,
13303
+ name: "MuiAlert"
13304
+ });
13305
+ const {
13306
+ action,
13307
+ children,
13308
+ className,
13309
+ closeText = "Close",
13310
+ color: color2,
13311
+ components = {},
13312
+ componentsProps = {},
13313
+ icon,
13314
+ iconMapping = defaultIconMapping,
13315
+ onClose,
13316
+ role = "alert",
13317
+ severity = "success",
13318
+ slotProps = {},
13319
+ slots = {},
13320
+ variant = "standard",
13321
+ ...other
13322
+ } = props;
13323
+ const ownerState = {
13324
+ ...props,
13325
+ color: color2,
13326
+ severity,
13327
+ variant,
13328
+ colorSeverity: color2 || severity
13329
+ };
13330
+ const classes2 = useUtilityClasses$1B(ownerState);
13331
+ const externalForwardedProps = {
13332
+ slots: {
13333
+ closeButton: components.CloseButton,
13334
+ closeIcon: components.CloseIcon,
13335
+ ...slots
13336
+ },
13337
+ slotProps: {
13338
+ ...componentsProps,
13339
+ ...slotProps
13340
+ }
13341
+ };
13342
+ const [RootSlot, rootSlotProps] = useSlot("root", {
13343
+ ref,
13344
+ shouldForwardComponentProp: true,
13345
+ className: clsx(classes2.root, className),
13346
+ elementType: AlertRoot,
13347
+ externalForwardedProps: {
13348
+ ...externalForwardedProps,
13349
+ ...other
13350
+ },
13351
+ ownerState,
13352
+ additionalProps: {
13353
+ role,
13354
+ elevation: 0
13355
+ }
13356
+ });
13357
+ const [IconSlot, iconSlotProps] = useSlot("icon", {
13358
+ className: classes2.icon,
13359
+ elementType: AlertIcon,
13360
+ externalForwardedProps,
13361
+ ownerState
13362
+ });
13363
+ const [MessageSlot, messageSlotProps] = useSlot("message", {
13364
+ className: classes2.message,
13365
+ elementType: AlertMessage,
13366
+ externalForwardedProps,
13367
+ ownerState
13368
+ });
13369
+ const [ActionSlot, actionSlotProps] = useSlot("action", {
13370
+ className: classes2.action,
13371
+ elementType: AlertAction,
13372
+ externalForwardedProps,
13373
+ ownerState
13374
+ });
13375
+ const [CloseButtonSlot, closeButtonProps] = useSlot("closeButton", {
13376
+ elementType: IconButton,
13377
+ externalForwardedProps,
13378
+ ownerState
13379
+ });
13380
+ const [CloseIconSlot, closeIconProps] = useSlot("closeIcon", {
13381
+ elementType: ClearIcon,
13382
+ externalForwardedProps,
13383
+ ownerState
13384
+ });
13385
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(RootSlot, {
13386
+ ...rootSlotProps,
13387
+ children: [icon !== false ? /* @__PURE__ */ jsxRuntimeExports.jsx(IconSlot, {
13388
+ ...iconSlotProps,
13389
+ children: icon || iconMapping[severity] || defaultIconMapping[severity]
13390
+ }) : null, /* @__PURE__ */ jsxRuntimeExports.jsx(MessageSlot, {
13391
+ ...messageSlotProps,
13392
+ children
13393
+ }), action != null ? /* @__PURE__ */ jsxRuntimeExports.jsx(ActionSlot, {
13394
+ ...actionSlotProps,
13395
+ children: action
13396
+ }) : null, action == null && onClose ? /* @__PURE__ */ jsxRuntimeExports.jsx(ActionSlot, {
13397
+ ...actionSlotProps,
13398
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(CloseButtonSlot, {
13399
+ size: "small",
13400
+ "aria-label": closeText,
13401
+ title: closeText,
13402
+ color: "inherit",
13403
+ onClick: onClose,
13404
+ ...closeButtonProps,
13405
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(CloseIconSlot, {
13406
+ fontSize: "small",
13407
+ ...closeIconProps
13408
+ })
13409
+ })
13410
+ }) : null]
13411
+ });
13412
+ });
13413
+ Alert.propTypes = {
13414
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
13415
+ // │ These PropTypes are generated from the TypeScript type definitions. │
13416
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
13417
+ // └─────────────────────────────────────────────────────────────────────┘
13418
+ /**
13419
+ * The action to display. It renders after the message, at the end of the alert.
13420
+ */
13421
+ action: PropTypes.node,
13422
+ /**
13423
+ * The content of the component.
13424
+ */
13425
+ children: PropTypes.node,
13426
+ /**
13427
+ * Override or extend the styles applied to the component.
13428
+ */
13429
+ classes: PropTypes.object,
13430
+ /**
13431
+ * @ignore
13432
+ */
13433
+ className: PropTypes.string,
13434
+ /**
13435
+ * Override the default label for the *close popup* icon button.
13436
+ *
13437
+ * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
13438
+ * @default 'Close'
13439
+ */
13440
+ closeText: PropTypes.string,
13441
+ /**
13442
+ * The color of the component. Unless provided, the value is taken from the `severity` prop.
13443
+ * It supports both default and custom theme colors, which can be added as shown in the
13444
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
13445
+ */
13446
+ color: PropTypes.oneOfType([PropTypes.oneOf(["error", "info", "success", "warning"]), PropTypes.string]),
13447
+ /**
13448
+ * The components used for each slot inside.
13449
+ *
13450
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
13451
+ *
13452
+ * @default {}
13453
+ */
13454
+ components: PropTypes.shape({
13455
+ CloseButton: PropTypes.elementType,
13456
+ CloseIcon: PropTypes.elementType
13457
+ }),
13458
+ /**
13459
+ * The extra props for the slot components.
13460
+ * You can override the existing props or add new ones.
13461
+ *
13462
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
13463
+ *
13464
+ * @default {}
13465
+ */
13466
+ componentsProps: PropTypes.shape({
13467
+ closeButton: PropTypes.object,
13468
+ closeIcon: PropTypes.object
13469
+ }),
13470
+ /**
13471
+ * Override the icon displayed before the children.
13472
+ * Unless provided, the icon is mapped to the value of the `severity` prop.
13473
+ * Set to `false` to remove the `icon`.
13474
+ */
13475
+ icon: PropTypes.node,
13476
+ /**
13477
+ * The component maps the `severity` prop to a range of different icons,
13478
+ * for instance success to `<SuccessOutlined>`.
13479
+ * If you wish to change this mapping, you can provide your own.
13480
+ * Alternatively, you can use the `icon` prop to override the icon displayed.
13481
+ */
13482
+ iconMapping: PropTypes.shape({
13483
+ error: PropTypes.node,
13484
+ info: PropTypes.node,
13485
+ success: PropTypes.node,
13486
+ warning: PropTypes.node
13487
+ }),
13488
+ /**
13489
+ * Callback fired when the component requests to be closed.
13490
+ * When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
13491
+ * @param {React.SyntheticEvent} event The event source of the callback.
13492
+ */
13493
+ onClose: PropTypes.func,
13494
+ /**
13495
+ * The ARIA role attribute of the element.
13496
+ * @default 'alert'
13497
+ */
13498
+ role: PropTypes.string,
13499
+ /**
13500
+ * The severity of the alert. This defines the color and icon used.
13501
+ * @default 'success'
13502
+ */
13503
+ severity: PropTypes.oneOfType([PropTypes.oneOf(["error", "info", "success", "warning"]), PropTypes.string]),
13504
+ /**
13505
+ * The props used for each slot inside.
13506
+ * @default {}
13507
+ */
13508
+ slotProps: PropTypes.shape({
13509
+ action: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
13510
+ closeButton: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
13511
+ closeIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
13512
+ icon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
13513
+ message: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
13514
+ root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
13515
+ }),
13516
+ /**
13517
+ * The components used for each slot inside.
13518
+ * @default {}
13519
+ */
13520
+ slots: PropTypes.shape({
13521
+ action: PropTypes.elementType,
13522
+ closeButton: PropTypes.elementType,
13523
+ closeIcon: PropTypes.elementType,
13524
+ icon: PropTypes.elementType,
13525
+ message: PropTypes.elementType,
13526
+ root: PropTypes.elementType
13527
+ }),
13528
+ /**
13529
+ * The system prop that allows defining system overrides as well as additional CSS styles.
13530
+ */
13531
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
13532
+ /**
13533
+ * The variant to use.
13534
+ * @default 'standard'
13535
+ */
13536
+ variant: PropTypes.oneOfType([PropTypes.oneOf(["filled", "outlined", "standard"]), PropTypes.string])
13537
+ };
12582
13538
  const usePreviousProps = (value) => {
12583
13539
  const ref = React.useRef({});
12584
13540
  React.useEffect(() => {
@@ -15006,7 +15962,7 @@ function isHTMLElement(element) {
15006
15962
  function isVirtualElement(element) {
15007
15963
  return !isHTMLElement(element);
15008
15964
  }
15009
- const useUtilityClasses$1C = (ownerState) => {
15965
+ const useUtilityClasses$1A = (ownerState) => {
15010
15966
  const {
15011
15967
  classes: classes2
15012
15968
  } = ownerState;
@@ -15115,7 +16071,7 @@ const PopperTooltip = /* @__PURE__ */ React.forwardRef(function PopperTooltip2(p
15115
16071
  if (TransitionProps !== null) {
15116
16072
  childProps.TransitionProps = TransitionProps;
15117
16073
  }
15118
- const classes2 = useUtilityClasses$1C(props);
16074
+ const classes2 = useUtilityClasses$1A(props);
15119
16075
  const Root = slots.root ?? "div";
15120
16076
  const rootProps = useSlotProps({
15121
16077
  elementType: Root,
@@ -15333,849 +16289,303 @@ const PopperRoot = styled(Popper$3, {
15333
16289
  const Popper$2 = /* @__PURE__ */ React.forwardRef(function Popper22(inProps, ref) {
15334
16290
  const isRtl = useRtl();
15335
16291
  const props = useDefaultProps({
15336
- props: inProps,
15337
- name: "MuiPopper"
15338
- });
15339
- const {
15340
- anchorEl,
15341
- component,
15342
- components,
15343
- componentsProps,
15344
- container,
15345
- disablePortal,
15346
- keepMounted,
15347
- modifiers: modifiers2,
15348
- open,
15349
- placement,
15350
- popperOptions,
15351
- popperRef,
15352
- transition: transition2,
15353
- slots,
15354
- slotProps,
15355
- ...other
15356
- } = props;
15357
- const RootComponent = (slots == null ? void 0 : slots.root) ?? (components == null ? void 0 : components.Root);
15358
- const otherProps = {
15359
- anchorEl,
15360
- container,
15361
- disablePortal,
15362
- keepMounted,
15363
- modifiers: modifiers2,
15364
- open,
15365
- placement,
15366
- popperOptions,
15367
- popperRef,
15368
- transition: transition2,
15369
- ...other
15370
- };
15371
- return /* @__PURE__ */ jsxRuntimeExports.jsx(PopperRoot, {
15372
- as: component,
15373
- direction: isRtl ? "rtl" : "ltr",
15374
- slots: {
15375
- root: RootComponent
15376
- },
15377
- slotProps: slotProps ?? componentsProps,
15378
- ...otherProps,
15379
- ref
15380
- });
15381
- });
15382
- Popper$2.propTypes = {
15383
- // ┌────────────────────────────── Warning ──────────────────────────────┐
15384
- // │ These PropTypes are generated from the TypeScript type definitions. │
15385
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
15386
- // └─────────────────────────────────────────────────────────────────────┘
15387
- /**
15388
- * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
15389
- * or a function that returns either.
15390
- * It's used to set the position of the popper.
15391
- * The return value will passed as the reference object of the Popper instance.
15392
- */
15393
- anchorEl: PropTypes.oneOfType([HTMLElementType, PropTypes.object, PropTypes.func]),
15394
- /**
15395
- * Popper render function or node.
15396
- */
15397
- children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
15398
- /**
15399
- * The component used for the root node.
15400
- * Either a string to use a HTML element or a component.
15401
- */
15402
- component: PropTypes.elementType,
15403
- /**
15404
- * The components used for each slot inside the Popper.
15405
- * Either a string to use a HTML element or a component.
15406
- *
15407
- * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
15408
- * @default {}
15409
- */
15410
- components: PropTypes.shape({
15411
- Root: PropTypes.elementType
15412
- }),
15413
- /**
15414
- * The props used for each slot inside the Popper.
15415
- *
15416
- * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
15417
- * @default {}
15418
- */
15419
- componentsProps: PropTypes.shape({
15420
- root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
15421
- }),
15422
- /**
15423
- * An HTML element or function that returns one.
15424
- * The `container` will have the portal children appended to it.
15425
- *
15426
- * You can also provide a callback, which is called in a React layout effect.
15427
- * This lets you set the container from a ref, and also makes server-side rendering possible.
15428
- *
15429
- * By default, it uses the body of the top-level document object,
15430
- * so it's simply `document.body` most of the time.
15431
- */
15432
- container: PropTypes.oneOfType([HTMLElementType, PropTypes.func]),
15433
- /**
15434
- * The `children` will be under the DOM hierarchy of the parent component.
15435
- * @default false
15436
- */
15437
- disablePortal: PropTypes.bool,
15438
- /**
15439
- * Always keep the children in the DOM.
15440
- * This prop can be useful in SEO situation or
15441
- * when you want to maximize the responsiveness of the Popper.
15442
- * @default false
15443
- */
15444
- keepMounted: PropTypes.bool,
15445
- /**
15446
- * Popper.js is based on a "plugin-like" architecture,
15447
- * most of its features are fully encapsulated "modifiers".
15448
- *
15449
- * A modifier is a function that is called each time Popper.js needs to
15450
- * compute the position of the popper.
15451
- * For this reason, modifiers should be very performant to avoid bottlenecks.
15452
- * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
15453
- */
15454
- modifiers: PropTypes.arrayOf(PropTypes.shape({
15455
- data: PropTypes.object,
15456
- effect: PropTypes.func,
15457
- enabled: PropTypes.bool,
15458
- fn: PropTypes.func,
15459
- name: PropTypes.any,
15460
- options: PropTypes.object,
15461
- phase: PropTypes.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
15462
- requires: PropTypes.arrayOf(PropTypes.string),
15463
- requiresIfExists: PropTypes.arrayOf(PropTypes.string)
15464
- })),
15465
- /**
15466
- * If `true`, the component is shown.
15467
- */
15468
- open: PropTypes.bool.isRequired,
15469
- /**
15470
- * Popper placement.
15471
- * @default 'bottom'
15472
- */
15473
- placement: PropTypes.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
15474
- /**
15475
- * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
15476
- * @default {}
15477
- */
15478
- popperOptions: PropTypes.shape({
15479
- modifiers: PropTypes.array,
15480
- onFirstUpdate: PropTypes.func,
15481
- placement: PropTypes.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
15482
- strategy: PropTypes.oneOf(["absolute", "fixed"])
15483
- }),
15484
- /**
15485
- * A ref that points to the used popper instance.
15486
- */
15487
- popperRef: refType,
15488
- /**
15489
- * The props used for each slot inside the Popper.
15490
- * @default {}
15491
- */
15492
- slotProps: PropTypes.shape({
15493
- root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
15494
- }),
15495
- /**
15496
- * The components used for each slot inside the Popper.
15497
- * Either a string to use a HTML element or a component.
15498
- * @default {}
15499
- */
15500
- slots: PropTypes.shape({
15501
- root: PropTypes.elementType
15502
- }),
15503
- /**
15504
- * The system prop that allows defining system overrides as well as additional CSS styles.
15505
- */
15506
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
15507
- /**
15508
- * Help supporting a react-transition-group/Transition component.
15509
- * @default false
15510
- */
15511
- transition: PropTypes.bool
15512
- };
15513
- function getListSubheaderUtilityClass(slot) {
15514
- return generateUtilityClass("MuiListSubheader", slot);
15515
- }
15516
- generateUtilityClasses("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]);
15517
- const useUtilityClasses$1B = (ownerState) => {
15518
- const {
15519
- classes: classes2,
15520
- color: color2,
15521
- disableGutters,
15522
- inset,
15523
- disableSticky
15524
- } = ownerState;
15525
- const slots = {
15526
- root: ["root", color2 !== "default" && `color${capitalize(color2)}`, !disableGutters && "gutters", inset && "inset", !disableSticky && "sticky"]
15527
- };
15528
- return composeClasses(slots, getListSubheaderUtilityClass, classes2);
15529
- };
15530
- const ListSubheaderRoot = styled("li", {
15531
- name: "MuiListSubheader",
15532
- slot: "Root",
15533
- overridesResolver: (props, styles2) => {
15534
- const {
15535
- ownerState
15536
- } = props;
15537
- return [styles2.root, ownerState.color !== "default" && styles2[`color${capitalize(ownerState.color)}`], !ownerState.disableGutters && styles2.gutters, ownerState.inset && styles2.inset, !ownerState.disableSticky && styles2.sticky];
15538
- }
15539
- })(memoTheme(({
15540
- theme
15541
- }) => ({
15542
- boxSizing: "border-box",
15543
- lineHeight: "48px",
15544
- listStyle: "none",
15545
- color: (theme.vars || theme).palette.text.secondary,
15546
- fontFamily: theme.typography.fontFamily,
15547
- fontWeight: theme.typography.fontWeightMedium,
15548
- fontSize: theme.typography.pxToRem(14),
15549
- variants: [{
15550
- props: {
15551
- color: "primary"
15552
- },
15553
- style: {
15554
- color: (theme.vars || theme).palette.primary.main
15555
- }
15556
- }, {
15557
- props: {
15558
- color: "inherit"
15559
- },
15560
- style: {
15561
- color: "inherit"
15562
- }
15563
- }, {
15564
- props: ({
15565
- ownerState
15566
- }) => !ownerState.disableGutters,
15567
- style: {
15568
- paddingLeft: 16,
15569
- paddingRight: 16
15570
- }
15571
- }, {
15572
- props: ({
15573
- ownerState
15574
- }) => ownerState.inset,
15575
- style: {
15576
- paddingLeft: 72
15577
- }
15578
- }, {
15579
- props: ({
15580
- ownerState
15581
- }) => !ownerState.disableSticky,
15582
- style: {
15583
- position: "sticky",
15584
- top: 0,
15585
- zIndex: 1,
15586
- backgroundColor: (theme.vars || theme).palette.background.paper
15587
- }
15588
- }]
15589
- })));
15590
- const ListSubheader = /* @__PURE__ */ React.forwardRef(function ListSubheader2(inProps, ref) {
15591
- const props = useDefaultProps({
15592
- props: inProps,
15593
- name: "MuiListSubheader"
15594
- });
15595
- const {
15596
- className,
15597
- color: color2 = "default",
15598
- component = "li",
15599
- disableGutters = false,
15600
- disableSticky = false,
15601
- inset = false,
15602
- ...other
15603
- } = props;
15604
- const ownerState = {
15605
- ...props,
15606
- color: color2,
15607
- component,
15608
- disableGutters,
15609
- disableSticky,
15610
- inset
15611
- };
15612
- const classes2 = useUtilityClasses$1B(ownerState);
15613
- return /* @__PURE__ */ jsxRuntimeExports.jsx(ListSubheaderRoot, {
15614
- as: component,
15615
- className: clsx(classes2.root, className),
15616
- ref,
15617
- ownerState,
15618
- ...other
15619
- });
15620
- });
15621
- if (ListSubheader) {
15622
- ListSubheader.muiSkipListHighlight = true;
15623
- }
15624
- ListSubheader.propTypes = {
15625
- // ┌────────────────────────────── Warning ──────────────────────────────┐
15626
- // │ These PropTypes are generated from the TypeScript type definitions. │
15627
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
15628
- // └─────────────────────────────────────────────────────────────────────┘
15629
- /**
15630
- * The content of the component.
15631
- */
15632
- children: PropTypes.node,
15633
- /**
15634
- * Override or extend the styles applied to the component.
15635
- */
15636
- classes: PropTypes.object,
15637
- /**
15638
- * @ignore
15639
- */
15640
- className: PropTypes.string,
15641
- /**
15642
- * The color of the component. It supports those theme colors that make sense for this component.
15643
- * @default 'default'
15644
- */
15645
- color: PropTypes.oneOf(["default", "inherit", "primary"]),
15646
- /**
15647
- * The component used for the root node.
15648
- * Either a string to use a HTML element or a component.
15649
- */
15650
- component: PropTypes.elementType,
15651
- /**
15652
- * If `true`, the List Subheader will not have gutters.
15653
- * @default false
15654
- */
15655
- disableGutters: PropTypes.bool,
15656
- /**
15657
- * If `true`, the List Subheader will not stick to the top during scroll.
15658
- * @default false
15659
- */
15660
- disableSticky: PropTypes.bool,
15661
- /**
15662
- * If `true`, the List Subheader is indented.
15663
- * @default false
15664
- */
15665
- inset: PropTypes.bool,
15666
- /**
15667
- * The system prop that allows defining system overrides as well as additional CSS styles.
15668
- */
15669
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
15670
- };
15671
- function hasCorrectMainProperty(obj) {
15672
- return typeof obj.main === "string";
15673
- }
15674
- function checkSimplePaletteColorValues(obj, additionalPropertiesToCheck = []) {
15675
- if (!hasCorrectMainProperty(obj)) {
15676
- return false;
15677
- }
15678
- for (const value of additionalPropertiesToCheck) {
15679
- if (!obj.hasOwnProperty(value) || typeof obj[value] !== "string") {
15680
- return false;
15681
- }
15682
- }
15683
- return true;
15684
- }
15685
- function createSimplePaletteValueFilter(additionalPropertiesToCheck = []) {
15686
- return ([, value]) => value && checkSimplePaletteColorValues(value, additionalPropertiesToCheck);
15687
- }
15688
- function getCircularProgressUtilityClass(slot) {
15689
- return generateUtilityClass("MuiCircularProgress", slot);
15690
- }
15691
- generateUtilityClasses("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
15692
- const SIZE = 44;
15693
- const circularRotateKeyframe = keyframes`
15694
- 0% {
15695
- transform: rotate(0deg);
15696
- }
15697
-
15698
- 100% {
15699
- transform: rotate(360deg);
15700
- }
15701
- `;
15702
- const circularDashKeyframe = keyframes`
15703
- 0% {
15704
- stroke-dasharray: 1px, 200px;
15705
- stroke-dashoffset: 0;
15706
- }
15707
-
15708
- 50% {
15709
- stroke-dasharray: 100px, 200px;
15710
- stroke-dashoffset: -15px;
15711
- }
15712
-
15713
- 100% {
15714
- stroke-dasharray: 1px, 200px;
15715
- stroke-dashoffset: -126px;
15716
- }
15717
- `;
15718
- const rotateAnimation = typeof circularRotateKeyframe !== "string" ? css`
15719
- animation: ${circularRotateKeyframe} 1.4s linear infinite;
15720
- ` : null;
15721
- const dashAnimation = typeof circularDashKeyframe !== "string" ? css`
15722
- animation: ${circularDashKeyframe} 1.4s ease-in-out infinite;
15723
- ` : null;
15724
- const useUtilityClasses$1A = (ownerState) => {
15725
- const {
15726
- classes: classes2,
15727
- variant,
15728
- color: color2,
15729
- disableShrink
15730
- } = ownerState;
15731
- const slots = {
15732
- root: ["root", variant, `color${capitalize(color2)}`],
15733
- svg: ["svg"],
15734
- circle: ["circle", `circle${capitalize(variant)}`, disableShrink && "circleDisableShrink"]
15735
- };
15736
- return composeClasses(slots, getCircularProgressUtilityClass, classes2);
15737
- };
15738
- const CircularProgressRoot = styled("span", {
15739
- name: "MuiCircularProgress",
15740
- slot: "Root",
15741
- overridesResolver: (props, styles2) => {
15742
- const {
15743
- ownerState
15744
- } = props;
15745
- return [styles2.root, styles2[ownerState.variant], styles2[`color${capitalize(ownerState.color)}`]];
15746
- }
15747
- })(memoTheme(({
15748
- theme
15749
- }) => ({
15750
- display: "inline-block",
15751
- variants: [{
15752
- props: {
15753
- variant: "determinate"
15754
- },
15755
- style: {
15756
- transition: theme.transitions.create("transform")
15757
- }
15758
- }, {
15759
- props: {
15760
- variant: "indeterminate"
15761
- },
15762
- style: rotateAnimation || {
15763
- animation: `${circularRotateKeyframe} 1.4s linear infinite`
15764
- }
15765
- }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
15766
- props: {
15767
- color: color2
15768
- },
15769
- style: {
15770
- color: (theme.vars || theme).palette[color2].main
15771
- }
15772
- }))]
15773
- })));
15774
- const CircularProgressSVG = styled("svg", {
15775
- name: "MuiCircularProgress",
15776
- slot: "Svg"
15777
- })({
15778
- display: "block"
15779
- // Keeps the progress centered
15780
- });
15781
- const CircularProgressCircle = styled("circle", {
15782
- name: "MuiCircularProgress",
15783
- slot: "Circle",
15784
- overridesResolver: (props, styles2) => {
15785
- const {
15786
- ownerState
15787
- } = props;
15788
- return [styles2.circle, styles2[`circle${capitalize(ownerState.variant)}`], ownerState.disableShrink && styles2.circleDisableShrink];
15789
- }
15790
- })(memoTheme(({
15791
- theme
15792
- }) => ({
15793
- stroke: "currentColor",
15794
- variants: [{
15795
- props: {
15796
- variant: "determinate"
15797
- },
15798
- style: {
15799
- transition: theme.transitions.create("stroke-dashoffset")
15800
- }
15801
- }, {
15802
- props: {
15803
- variant: "indeterminate"
15804
- },
15805
- style: {
15806
- // Some default value that looks fine waiting for the animation to kicks in.
15807
- strokeDasharray: "80px, 200px",
15808
- strokeDashoffset: 0
15809
- // Add the unit to fix a Edge 16 and below bug.
15810
- }
15811
- }, {
15812
- props: ({
15813
- ownerState
15814
- }) => ownerState.variant === "indeterminate" && !ownerState.disableShrink,
15815
- style: dashAnimation || {
15816
- // At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
15817
- animation: `${circularDashKeyframe} 1.4s ease-in-out infinite`
15818
- }
15819
- }]
15820
- })));
15821
- const CircularProgress = /* @__PURE__ */ React.forwardRef(function CircularProgress2(inProps, ref) {
15822
- const props = useDefaultProps({
15823
- props: inProps,
15824
- name: "MuiCircularProgress"
15825
- });
15826
- const {
15827
- className,
15828
- color: color2 = "primary",
15829
- disableShrink = false,
15830
- size = 40,
15831
- style: style2,
15832
- thickness = 3.6,
15833
- value = 0,
15834
- variant = "indeterminate",
16292
+ props: inProps,
16293
+ name: "MuiPopper"
16294
+ });
16295
+ const {
16296
+ anchorEl,
16297
+ component,
16298
+ components,
16299
+ componentsProps,
16300
+ container,
16301
+ disablePortal,
16302
+ keepMounted,
16303
+ modifiers: modifiers2,
16304
+ open,
16305
+ placement,
16306
+ popperOptions,
16307
+ popperRef,
16308
+ transition: transition2,
16309
+ slots,
16310
+ slotProps,
15835
16311
  ...other
15836
16312
  } = props;
15837
- const ownerState = {
15838
- ...props,
15839
- color: color2,
15840
- disableShrink,
15841
- size,
15842
- thickness,
15843
- value,
15844
- variant
16313
+ const RootComponent = (slots == null ? void 0 : slots.root) ?? (components == null ? void 0 : components.Root);
16314
+ const otherProps = {
16315
+ anchorEl,
16316
+ container,
16317
+ disablePortal,
16318
+ keepMounted,
16319
+ modifiers: modifiers2,
16320
+ open,
16321
+ placement,
16322
+ popperOptions,
16323
+ popperRef,
16324
+ transition: transition2,
16325
+ ...other
15845
16326
  };
15846
- const classes2 = useUtilityClasses$1A(ownerState);
15847
- const circleStyle = {};
15848
- const rootStyle = {};
15849
- const rootProps = {};
15850
- if (variant === "determinate") {
15851
- const circumference = 2 * Math.PI * ((SIZE - thickness) / 2);
15852
- circleStyle.strokeDasharray = circumference.toFixed(3);
15853
- rootProps["aria-valuenow"] = Math.round(value);
15854
- circleStyle.strokeDashoffset = `${((100 - value) / 100 * circumference).toFixed(3)}px`;
15855
- rootStyle.transform = "rotate(-90deg)";
15856
- }
15857
- return /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressRoot, {
15858
- className: clsx(classes2.root, className),
15859
- style: {
15860
- width: size,
15861
- height: size,
15862
- ...rootStyle,
15863
- ...style2
16327
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(PopperRoot, {
16328
+ as: component,
16329
+ direction: isRtl ? "rtl" : "ltr",
16330
+ slots: {
16331
+ root: RootComponent
15864
16332
  },
15865
- ownerState,
15866
- ref,
15867
- role: "progressbar",
15868
- ...rootProps,
15869
- ...other,
15870
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressSVG, {
15871
- className: classes2.svg,
15872
- ownerState,
15873
- viewBox: `${SIZE / 2} ${SIZE / 2} ${SIZE} ${SIZE}`,
15874
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressCircle, {
15875
- className: classes2.circle,
15876
- style: circleStyle,
15877
- ownerState,
15878
- cx: SIZE,
15879
- cy: SIZE,
15880
- r: (SIZE - thickness) / 2,
15881
- fill: "none",
15882
- strokeWidth: thickness
15883
- })
15884
- })
16333
+ slotProps: slotProps ?? componentsProps,
16334
+ ...otherProps,
16335
+ ref
15885
16336
  });
15886
16337
  });
15887
- CircularProgress.propTypes = {
16338
+ Popper$2.propTypes = {
15888
16339
  // ┌────────────────────────────── Warning ──────────────────────────────┐
15889
16340
  // │ These PropTypes are generated from the TypeScript type definitions. │
15890
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
16341
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
15891
16342
  // └─────────────────────────────────────────────────────────────────────┘
15892
16343
  /**
15893
- * Override or extend the styles applied to the component.
16344
+ * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
16345
+ * or a function that returns either.
16346
+ * It's used to set the position of the popper.
16347
+ * The return value will passed as the reference object of the Popper instance.
15894
16348
  */
15895
- classes: PropTypes.object,
16349
+ anchorEl: PropTypes.oneOfType([HTMLElementType, PropTypes.object, PropTypes.func]),
15896
16350
  /**
15897
- * @ignore
16351
+ * Popper render function or node.
15898
16352
  */
15899
- className: PropTypes.string,
16353
+ children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
15900
16354
  /**
15901
- * The color of the component.
15902
- * It supports both default and custom theme colors, which can be added as shown in the
15903
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
15904
- * @default 'primary'
16355
+ * The component used for the root node.
16356
+ * Either a string to use a HTML element or a component.
15905
16357
  */
15906
- color: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "primary", "secondary", "error", "info", "success", "warning"]), PropTypes.string]),
16358
+ component: PropTypes.elementType,
15907
16359
  /**
15908
- * If `true`, the shrink animation is disabled.
15909
- * This only works if variant is `indeterminate`.
15910
- * @default false
16360
+ * The components used for each slot inside the Popper.
16361
+ * Either a string to use a HTML element or a component.
16362
+ *
16363
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
16364
+ * @default {}
15911
16365
  */
15912
- disableShrink: chainPropTypes(PropTypes.bool, (props) => {
15913
- if (props.disableShrink && props.variant && props.variant !== "indeterminate") {
15914
- return new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect.");
15915
- }
15916
- return null;
16366
+ components: PropTypes.shape({
16367
+ Root: PropTypes.elementType
15917
16368
  }),
15918
16369
  /**
15919
- * The size of the component.
15920
- * If using a number, the pixel unit is assumed.
15921
- * If using a string, you need to provide the CSS unit, for example '3rem'.
15922
- * @default 40
16370
+ * The props used for each slot inside the Popper.
16371
+ *
16372
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
16373
+ * @default {}
15923
16374
  */
15924
- size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
16375
+ componentsProps: PropTypes.shape({
16376
+ root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
16377
+ }),
15925
16378
  /**
15926
- * @ignore
16379
+ * An HTML element or function that returns one.
16380
+ * The `container` will have the portal children appended to it.
16381
+ *
16382
+ * You can also provide a callback, which is called in a React layout effect.
16383
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
16384
+ *
16385
+ * By default, it uses the body of the top-level document object,
16386
+ * so it's simply `document.body` most of the time.
15927
16387
  */
15928
- style: PropTypes.object,
16388
+ container: PropTypes.oneOfType([HTMLElementType, PropTypes.func]),
15929
16389
  /**
15930
- * The system prop that allows defining system overrides as well as additional CSS styles.
16390
+ * The `children` will be under the DOM hierarchy of the parent component.
16391
+ * @default false
15931
16392
  */
15932
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
16393
+ disablePortal: PropTypes.bool,
15933
16394
  /**
15934
- * The thickness of the circle.
15935
- * @default 3.6
16395
+ * Always keep the children in the DOM.
16396
+ * This prop can be useful in SEO situation or
16397
+ * when you want to maximize the responsiveness of the Popper.
16398
+ * @default false
15936
16399
  */
15937
- thickness: PropTypes.number,
16400
+ keepMounted: PropTypes.bool,
15938
16401
  /**
15939
- * The value of the progress indicator for the determinate variant.
15940
- * Value between 0 and 100.
15941
- * @default 0
16402
+ * Popper.js is based on a "plugin-like" architecture,
16403
+ * most of its features are fully encapsulated "modifiers".
16404
+ *
16405
+ * A modifier is a function that is called each time Popper.js needs to
16406
+ * compute the position of the popper.
16407
+ * For this reason, modifiers should be very performant to avoid bottlenecks.
16408
+ * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
15942
16409
  */
15943
- value: PropTypes.number,
16410
+ modifiers: PropTypes.arrayOf(PropTypes.shape({
16411
+ data: PropTypes.object,
16412
+ effect: PropTypes.func,
16413
+ enabled: PropTypes.bool,
16414
+ fn: PropTypes.func,
16415
+ name: PropTypes.any,
16416
+ options: PropTypes.object,
16417
+ phase: PropTypes.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
16418
+ requires: PropTypes.arrayOf(PropTypes.string),
16419
+ requiresIfExists: PropTypes.arrayOf(PropTypes.string)
16420
+ })),
15944
16421
  /**
15945
- * The variant to use.
15946
- * Use indeterminate when there is no progress value.
15947
- * @default 'indeterminate'
16422
+ * If `true`, the component is shown.
15948
16423
  */
15949
- variant: PropTypes.oneOf(["determinate", "indeterminate"])
16424
+ open: PropTypes.bool.isRequired,
16425
+ /**
16426
+ * Popper placement.
16427
+ * @default 'bottom'
16428
+ */
16429
+ placement: PropTypes.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
16430
+ /**
16431
+ * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
16432
+ * @default {}
16433
+ */
16434
+ popperOptions: PropTypes.shape({
16435
+ modifiers: PropTypes.array,
16436
+ onFirstUpdate: PropTypes.func,
16437
+ placement: PropTypes.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
16438
+ strategy: PropTypes.oneOf(["absolute", "fixed"])
16439
+ }),
16440
+ /**
16441
+ * A ref that points to the used popper instance.
16442
+ */
16443
+ popperRef: refType,
16444
+ /**
16445
+ * The props used for each slot inside the Popper.
16446
+ * @default {}
16447
+ */
16448
+ slotProps: PropTypes.shape({
16449
+ root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
16450
+ }),
16451
+ /**
16452
+ * The components used for each slot inside the Popper.
16453
+ * Either a string to use a HTML element or a component.
16454
+ * @default {}
16455
+ */
16456
+ slots: PropTypes.shape({
16457
+ root: PropTypes.elementType
16458
+ }),
16459
+ /**
16460
+ * The system prop that allows defining system overrides as well as additional CSS styles.
16461
+ */
16462
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
16463
+ /**
16464
+ * Help supporting a react-transition-group/Transition component.
16465
+ * @default false
16466
+ */
16467
+ transition: PropTypes.bool
15950
16468
  };
15951
- function getIconButtonUtilityClass(slot) {
15952
- return generateUtilityClass("MuiIconButton", slot);
16469
+ function getListSubheaderUtilityClass(slot) {
16470
+ return generateUtilityClass("MuiListSubheader", slot);
15953
16471
  }
15954
- const iconButtonClasses = generateUtilityClasses("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]);
16472
+ generateUtilityClasses("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]);
15955
16473
  const useUtilityClasses$1z = (ownerState) => {
15956
16474
  const {
15957
16475
  classes: classes2,
15958
- disabled,
15959
16476
  color: color2,
15960
- edge,
15961
- size,
15962
- loading
16477
+ disableGutters,
16478
+ inset,
16479
+ disableSticky
15963
16480
  } = ownerState;
15964
16481
  const slots = {
15965
- root: ["root", loading && "loading", disabled && "disabled", color2 !== "default" && `color${capitalize(color2)}`, edge && `edge${capitalize(edge)}`, `size${capitalize(size)}`],
15966
- loadingIndicator: ["loadingIndicator"],
15967
- loadingWrapper: ["loadingWrapper"]
16482
+ root: ["root", color2 !== "default" && `color${capitalize(color2)}`, !disableGutters && "gutters", inset && "inset", !disableSticky && "sticky"]
15968
16483
  };
15969
- return composeClasses(slots, getIconButtonUtilityClass, classes2);
16484
+ return composeClasses(slots, getListSubheaderUtilityClass, classes2);
15970
16485
  };
15971
- const IconButtonRoot = styled(ButtonBase, {
15972
- name: "MuiIconButton",
16486
+ const ListSubheaderRoot = styled("li", {
16487
+ name: "MuiListSubheader",
15973
16488
  slot: "Root",
15974
16489
  overridesResolver: (props, styles2) => {
15975
16490
  const {
15976
16491
  ownerState
15977
16492
  } = props;
15978
- return [styles2.root, ownerState.loading && styles2.loading, ownerState.color !== "default" && styles2[`color${capitalize(ownerState.color)}`], ownerState.edge && styles2[`edge${capitalize(ownerState.edge)}`], styles2[`size${capitalize(ownerState.size)}`]];
16493
+ return [styles2.root, ownerState.color !== "default" && styles2[`color${capitalize(ownerState.color)}`], !ownerState.disableGutters && styles2.gutters, ownerState.inset && styles2.inset, !ownerState.disableSticky && styles2.sticky];
15979
16494
  }
15980
16495
  })(memoTheme(({
15981
16496
  theme
15982
16497
  }) => ({
15983
- textAlign: "center",
15984
- flex: "0 0 auto",
15985
- fontSize: theme.typography.pxToRem(24),
15986
- padding: 8,
15987
- borderRadius: "50%",
15988
- color: (theme.vars || theme).palette.action.active,
15989
- transition: theme.transitions.create("background-color", {
15990
- duration: theme.transitions.duration.shortest
15991
- }),
16498
+ boxSizing: "border-box",
16499
+ lineHeight: "48px",
16500
+ listStyle: "none",
16501
+ color: (theme.vars || theme).palette.text.secondary,
16502
+ fontFamily: theme.typography.fontFamily,
16503
+ fontWeight: theme.typography.fontWeightMedium,
16504
+ fontSize: theme.typography.pxToRem(14),
15992
16505
  variants: [{
15993
- props: (props) => !props.disableRipple,
15994
- style: {
15995
- "--IconButton-hoverBg": theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
15996
- "&:hover": {
15997
- backgroundColor: "var(--IconButton-hoverBg)",
15998
- // Reset on touch devices, it doesn't add specificity
15999
- "@media (hover: none)": {
16000
- backgroundColor: "transparent"
16001
- }
16002
- }
16003
- }
16004
- }, {
16005
- props: {
16006
- edge: "start"
16007
- },
16008
- style: {
16009
- marginLeft: -12
16010
- }
16011
- }, {
16012
- props: {
16013
- edge: "start",
16014
- size: "small"
16015
- },
16016
- style: {
16017
- marginLeft: -3
16018
- }
16019
- }, {
16020
16506
  props: {
16021
- edge: "end"
16507
+ color: "primary"
16022
16508
  },
16023
16509
  style: {
16024
- marginRight: -12
16510
+ color: (theme.vars || theme).palette.primary.main
16025
16511
  }
16026
16512
  }, {
16027
- props: {
16028
- edge: "end",
16029
- size: "small"
16030
- },
16031
- style: {
16032
- marginRight: -3
16033
- }
16034
- }]
16035
- })), memoTheme(({
16036
- theme
16037
- }) => ({
16038
- variants: [{
16039
16513
  props: {
16040
16514
  color: "inherit"
16041
16515
  },
16042
16516
  style: {
16043
16517
  color: "inherit"
16044
16518
  }
16045
- }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
16046
- props: {
16047
- color: color2
16048
- },
16049
- style: {
16050
- color: (theme.vars || theme).palette[color2].main
16051
- }
16052
- })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
16053
- props: {
16054
- color: color2
16055
- },
16056
- style: {
16057
- "--IconButton-hoverBg": theme.vars ? `rgba(${(theme.vars || theme).palette[color2].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha((theme.vars || theme).palette[color2].main, theme.palette.action.hoverOpacity)
16058
- }
16059
- })), {
16060
- props: {
16061
- size: "small"
16062
- },
16519
+ }, {
16520
+ props: ({
16521
+ ownerState
16522
+ }) => !ownerState.disableGutters,
16063
16523
  style: {
16064
- padding: 5,
16065
- fontSize: theme.typography.pxToRem(18)
16524
+ paddingLeft: 16,
16525
+ paddingRight: 16
16066
16526
  }
16067
16527
  }, {
16068
- props: {
16069
- size: "large"
16070
- },
16528
+ props: ({
16529
+ ownerState
16530
+ }) => ownerState.inset,
16071
16531
  style: {
16072
- padding: 12,
16073
- fontSize: theme.typography.pxToRem(28)
16532
+ paddingLeft: 72
16074
16533
  }
16075
- }],
16076
- [`&.${iconButtonClasses.disabled}`]: {
16077
- backgroundColor: "transparent",
16078
- color: (theme.vars || theme).palette.action.disabled
16079
- },
16080
- [`&.${iconButtonClasses.loading}`]: {
16081
- color: "transparent"
16082
- }
16083
- })));
16084
- const IconButtonLoadingIndicator = styled("span", {
16085
- name: "MuiIconButton",
16086
- slot: "LoadingIndicator"
16087
- })(({
16088
- theme
16089
- }) => ({
16090
- display: "none",
16091
- position: "absolute",
16092
- visibility: "visible",
16093
- top: "50%",
16094
- left: "50%",
16095
- transform: "translate(-50%, -50%)",
16096
- color: (theme.vars || theme).palette.action.disabled,
16097
- variants: [{
16098
- props: {
16099
- loading: true
16100
- },
16534
+ }, {
16535
+ props: ({
16536
+ ownerState
16537
+ }) => !ownerState.disableSticky,
16101
16538
  style: {
16102
- display: "flex"
16539
+ position: "sticky",
16540
+ top: 0,
16541
+ zIndex: 1,
16542
+ backgroundColor: (theme.vars || theme).palette.background.paper
16103
16543
  }
16104
16544
  }]
16105
- }));
16106
- const IconButton = /* @__PURE__ */ React.forwardRef(function IconButton2(inProps, ref) {
16545
+ })));
16546
+ const ListSubheader = /* @__PURE__ */ React.forwardRef(function ListSubheader2(inProps, ref) {
16107
16547
  const props = useDefaultProps({
16108
16548
  props: inProps,
16109
- name: "MuiIconButton"
16549
+ name: "MuiListSubheader"
16110
16550
  });
16111
16551
  const {
16112
- edge = false,
16113
- children,
16114
16552
  className,
16115
16553
  color: color2 = "default",
16116
- disabled = false,
16117
- disableFocusRipple = false,
16118
- size = "medium",
16119
- id: idProp,
16120
- loading = null,
16121
- loadingIndicator: loadingIndicatorProp,
16554
+ component = "li",
16555
+ disableGutters = false,
16556
+ disableSticky = false,
16557
+ inset = false,
16122
16558
  ...other
16123
16559
  } = props;
16124
- const loadingId = useId(idProp);
16125
- const loadingIndicator = loadingIndicatorProp ?? /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgress, {
16126
- "aria-labelledby": loadingId,
16127
- color: "inherit",
16128
- size: 16
16129
- });
16130
16560
  const ownerState = {
16131
16561
  ...props,
16132
- edge,
16133
16562
  color: color2,
16134
- disabled,
16135
- disableFocusRipple,
16136
- loading,
16137
- loadingIndicator,
16138
- size
16563
+ component,
16564
+ disableGutters,
16565
+ disableSticky,
16566
+ inset
16139
16567
  };
16140
16568
  const classes2 = useUtilityClasses$1z(ownerState);
16141
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconButtonRoot, {
16142
- id: loading ? loadingId : idProp,
16569
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ListSubheaderRoot, {
16570
+ as: component,
16143
16571
  className: clsx(classes2.root, className),
16144
- centerRipple: true,
16145
- focusRipple: !disableFocusRipple,
16146
- disabled: disabled || loading,
16147
16572
  ref,
16148
- ...other,
16149
16573
  ownerState,
16150
- children: [typeof loading === "boolean" && // use plain HTML span to minimize the runtime overhead
16151
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
16152
- className: classes2.loadingWrapper,
16153
- style: {
16154
- display: "contents"
16155
- },
16156
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconButtonLoadingIndicator, {
16157
- className: classes2.loadingIndicator,
16158
- ownerState,
16159
- children: loading && loadingIndicator
16160
- })
16161
- }), children]
16574
+ ...other
16162
16575
  });
16163
16576
  });
16164
- IconButton.propTypes = {
16577
+ if (ListSubheader) {
16578
+ ListSubheader.muiSkipListHighlight = true;
16579
+ }
16580
+ ListSubheader.propTypes = {
16165
16581
  // ┌────────────────────────────── Warning ──────────────────────────────┐
16166
16582
  // │ These PropTypes are generated from the TypeScript type definitions. │
16167
16583
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
16168
16584
  // └─────────────────────────────────────────────────────────────────────┘
16169
16585
  /**
16170
- * The icon to display.
16586
+ * The content of the component.
16171
16587
  */
16172
- children: chainPropTypes(PropTypes.node, (props) => {
16173
- const found = React.Children.toArray(props.children).some((child) => /* @__PURE__ */ React.isValidElement(child) && child.props.onClick);
16174
- if (found) {
16175
- return new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join("\n"));
16176
- }
16177
- return null;
16178
- }),
16588
+ children: PropTypes.node,
16179
16589
  /**
16180
16590
  * Override or extend the styles applied to the component.
16181
16591
  */
@@ -16185,61 +16595,30 @@ IconButton.propTypes = {
16185
16595
  */
16186
16596
  className: PropTypes.string,
16187
16597
  /**
16188
- * The color of the component.
16189
- * It supports both default and custom theme colors, which can be added as shown in the
16190
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
16598
+ * The color of the component. It supports those theme colors that make sense for this component.
16191
16599
  * @default 'default'
16192
16600
  */
16193
- color: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), PropTypes.string]),
16601
+ color: PropTypes.oneOf(["default", "inherit", "primary"]),
16194
16602
  /**
16195
- * If `true`, the component is disabled.
16196
- * @default false
16603
+ * The component used for the root node.
16604
+ * Either a string to use a HTML element or a component.
16197
16605
  */
16198
- disabled: PropTypes.bool,
16606
+ component: PropTypes.elementType,
16199
16607
  /**
16200
- * If `true`, the keyboard focus ripple is disabled.
16608
+ * If `true`, the List Subheader will not have gutters.
16201
16609
  * @default false
16202
16610
  */
16203
- disableFocusRipple: PropTypes.bool,
16611
+ disableGutters: PropTypes.bool,
16204
16612
  /**
16205
- * If `true`, the ripple effect is disabled.
16206
- *
16207
- * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
16208
- * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
16613
+ * If `true`, the List Subheader will not stick to the top during scroll.
16209
16614
  * @default false
16210
16615
  */
16211
- disableRipple: PropTypes.bool,
16616
+ disableSticky: PropTypes.bool,
16212
16617
  /**
16213
- * If given, uses a negative margin to counteract the padding on one
16214
- * side (this is often helpful for aligning the left or right
16215
- * side of the icon with content above or below, without ruining the border
16216
- * size and shape).
16618
+ * If `true`, the List Subheader is indented.
16217
16619
  * @default false
16218
16620
  */
16219
- edge: PropTypes.oneOf(["end", "start", false]),
16220
- /**
16221
- * @ignore
16222
- */
16223
- id: PropTypes.string,
16224
- /**
16225
- * If `true`, the loading indicator is visible and the button is disabled.
16226
- * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
16227
- * @default null
16228
- */
16229
- loading: PropTypes.bool,
16230
- /**
16231
- * Element placed before the children if the button is in loading state.
16232
- * The node should contain an element with `role="progressbar"` with an accessible name.
16233
- * By default, it renders a `CircularProgress` that is labeled by the button itself.
16234
- * @default <CircularProgress color="inherit" size={16} />
16235
- */
16236
- loadingIndicator: PropTypes.node,
16237
- /**
16238
- * The size of the component.
16239
- * `small` is equivalent to the dense button styling.
16240
- * @default 'medium'
16241
- */
16242
- size: PropTypes.oneOfType([PropTypes.oneOf(["small", "medium", "large"]), PropTypes.string]),
16621
+ inset: PropTypes.bool,
16243
16622
  /**
16244
16623
  * The system prop that allows defining system overrides as well as additional CSS styles.
16245
16624
  */
@@ -17780,9 +18159,6 @@ const filledInputClasses = {
17780
18159
  ...inputBaseClasses,
17781
18160
  ...generateUtilityClasses("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
17782
18161
  };
17783
- const CloseIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
17784
- d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
17785
- }), "Close");
17786
18162
  const ArrowDropDownIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
17787
18163
  d: "M7 10l5 5 5-5z"
17788
18164
  }), "ArrowDropDown");
@@ -18170,7 +18546,7 @@ const Autocomplete = /* @__PURE__ */ React.forwardRef(function Autocomplete2(inP
18170
18546
  blurOnSelect = false,
18171
18547
  ChipProps: ChipPropsProp,
18172
18548
  className,
18173
- clearIcon = _ClearIcon || (_ClearIcon = /* @__PURE__ */ jsxRuntimeExports.jsx(CloseIcon, {
18549
+ clearIcon = _ClearIcon || (_ClearIcon = /* @__PURE__ */ jsxRuntimeExports.jsx(ClearIcon, {
18174
18550
  fontSize: "small"
18175
18551
  })),
18176
18552
  clearOnBlur = !props.freeSolo,
@@ -31895,7 +32271,7 @@ Step.propTypes = {
31895
32271
  const CheckCircle = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
31896
32272
  d: "M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"
31897
32273
  }), "CheckCircle");
31898
- const Warning = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
32274
+ const Warning$1 = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
31899
32275
  d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"
31900
32276
  }), "Warning");
31901
32277
  function getStepIconUtilityClass(slot) {
@@ -31971,7 +32347,7 @@ const StepIcon = /* @__PURE__ */ React.forwardRef(function StepIcon2(inProps, re
31971
32347
  const className = clsx(classNameProp, classes2.root);
31972
32348
  if (error) {
31973
32349
  return /* @__PURE__ */ jsxRuntimeExports.jsx(StepIconRoot, {
31974
- as: Warning,
32350
+ as: Warning$1,
31975
32351
  className,
31976
32352
  ref,
31977
32353
  ownerState,
@@ -36423,6 +36799,9 @@ const Visibility = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
36423
36799
  const VisibilityOff = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
36424
36800
  d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"
36425
36801
  }), "VisibilityOff");
36802
+ const Warning = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
36803
+ d: "M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"
36804
+ }), "Warning");
36426
36805
  const reactMajor = parseInt(React.version, 10);
36427
36806
  const forwardRef = (render) => {
36428
36807
  if (reactMajor >= 19) {
@@ -64249,6 +64628,7 @@ export {
64249
64628
  AccordionDetails,
64250
64629
  AccordionSummary,
64251
64630
  Add,
64631
+ Alert,
64252
64632
  ArrowDropDown,
64253
64633
  ArrowDropUp,
64254
64634
  Autocomplete,
@@ -64283,6 +64663,7 @@ export {
64283
64663
  List$1 as List,
64284
64664
  ListItem,
64285
64665
  ListItemText,
64666
+ ListSubheader,
64286
64667
  MenuItem,
64287
64668
  MenuList,
64288
64669
  MoreVert,
@@ -64314,6 +64695,7 @@ export {
64314
64695
  Typography,
64315
64696
  Visibility,
64316
64697
  VisibilityOff,
64698
+ Warning,
64317
64699
  createCache,
64318
64700
  createTheme,
64319
64701
  grey,