@undefine-ui/design-system 3.6.2 → 3.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -50,6 +50,7 @@ __export(index_exports, {
50
50
  CopyButton: () => CopyButton,
51
51
  CustomDialog: () => CustomDialog,
52
52
  CustomDrawer: () => CustomDrawer,
53
+ CustomFormLabel: () => CustomFormLabel,
53
54
  DateRangeDropdown: () => DateRangeDropdown,
54
55
  DateRangePicker: () => DateRangePicker,
55
56
  Download: () => Download,
@@ -5051,7 +5052,7 @@ var MuiSelect = {
5051
5052
  * DEFAULT PROPS
5052
5053
  *************************************** */
5053
5054
  defaultProps: {
5054
- IconComponent: () => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { icon: "NavArrowDown", sx: { width: 18, height: 18, position: "absolute", right: 10 } })
5055
+ IconComponent: () => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { icon: "NavArrowDown", sx: { position: "absolute", right: 10 } })
5055
5056
  }
5056
5057
  };
5057
5058
  var MuiNativeSelect = {
@@ -5059,7 +5060,7 @@ var MuiNativeSelect = {
5059
5060
  * DEFAULT PROPS
5060
5061
  *************************************** */
5061
5062
  defaultProps: {
5062
- IconComponent: () => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { icon: "NavArrowDown", sx: { width: 18, height: 18, position: "absolute", right: 10 } })
5063
+ IconComponent: () => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { icon: "NavArrowDown", sx: { position: "absolute", right: 10 } })
5063
5064
  }
5064
5065
  };
5065
5066
  var select = { MuiSelect, MuiNativeSelect };
@@ -6116,7 +6117,7 @@ var MuiTextField = {
6116
6117
  position: "relative",
6117
6118
  fontSize: `${theme.typography.h8.fontSize} !important`,
6118
6119
  fontWeight: `${theme.typography.fontWeightMedium} !important`,
6119
- marginBottom: theme.spacing(1),
6120
+ marginBottom: theme.spacing(0.5),
6120
6121
  color: `${theme.vars.palette.icon.black} !important`,
6121
6122
  // Focused state
6122
6123
  "&:not(.Mui-error).MuiFormLabel-colorPrimary.Mui-focused": {
@@ -6184,19 +6185,27 @@ var MuiTextField = {
6184
6185
  borderColor: theme.vars.palette.surface.disable
6185
6186
  }
6186
6187
  },
6187
- // InputAdornment styling
6188
+ // InputAdornment styling (target MuiInputAdornment only, not autocomplete endAdornment)
6188
6189
  [`&.${import_InputBase.inputBaseClasses.adornedStart}, &.${import_InputBase.inputBaseClasses.adornedEnd}`]: {
6189
6190
  color: theme.vars.palette.icon.black,
6190
- svg: {
6191
+ [`& .${import_InputAdornment.inputAdornmentClasses.root} svg`]: {
6191
6192
  width: 20,
6192
6193
  height: 20,
6193
6194
  color: theme.vars.palette.icon.black
6194
- },
6195
- [`& .${import_InputAdornment.inputAdornmentClasses.sizeSmall}`]: {
6196
- svg: { width: 16, height: 16 }
6197
- },
6198
- [`& .MuiInputAdornment-sizeLarge`]: {
6199
- svg: { width: 24, height: 24 }
6195
+ }
6196
+ },
6197
+ // Size small - 16x16 icons
6198
+ [`&.${import_InputBase.inputBaseClasses.sizeSmall}`]: {
6199
+ [`& .${import_InputAdornment.inputAdornmentClasses.root} svg`]: {
6200
+ width: 16,
6201
+ height: 16
6202
+ }
6203
+ },
6204
+ // Size large - 24x24 icons
6205
+ [`&.MuiInputBase-sizeLarge`]: {
6206
+ [`& .${import_InputAdornment.inputAdornmentClasses.root} svg`]: {
6207
+ width: 24,
6208
+ height: 24
6200
6209
  }
6201
6210
  },
6202
6211
  [`&.${import_InputBase.inputBaseClasses.adornedStart}`]: {
@@ -6257,32 +6266,33 @@ var MuiTextField = {
6257
6266
  overflowX: "hidden"
6258
6267
  }
6259
6268
  },
6260
- // Autocomplete styling
6261
- [`& .${import_Autocomplete2.autocompleteClasses.input}`]: {
6262
- paddingLeft: "6px !important",
6263
- paddingTop: "10px !important",
6264
- paddingBottom: "10px !important",
6269
+ // Autocomplete styling - allow flexible height for multiple mode
6270
+ [`& .${import_Autocomplete2.autocompleteClasses.inputRoot}`]: {
6271
+ height: "auto",
6272
+ minHeight: 44,
6265
6273
  [`&.${import_InputBase.inputBaseClasses.sizeSmall}`]: {
6266
- paddingLeft: "6px !important",
6267
- paddingTop: "2.5px !important",
6268
- paddingBottom: "2.5px !important"
6274
+ minHeight: 36
6275
+ },
6276
+ [`&.MuiInputBase-sizeLarge`]: {
6277
+ minHeight: 48
6269
6278
  }
6270
6279
  },
6271
- [`& .${import_Autocomplete2.autocompleteClasses.inputRoot}`]: {
6272
- paddingTop: "15.5px !important",
6273
- paddingLeft: "8px !important",
6274
- paddingBottom: "15.5px !important",
6275
- "&:not(.MuiInputBase-sizeSmall).MuiInputBase-adornedStart": {
6276
- paddingLeft: "13px !important"
6280
+ // Select icon sizing
6281
+ [`& .MuiSelect-root`]: {
6282
+ // Default medium size - 20x20 icons
6283
+ "& svg": {
6284
+ width: 20,
6285
+ height: 20
6277
6286
  },
6278
- [`&.${import_InputBase.inputBaseClasses.sizeSmall}`]: {
6279
- paddingTop: "7.5px !important",
6280
- paddingLeft: "5px !important",
6281
- paddingBottom: "7.5px !important",
6282
- "& .MuiAutocomplete-tag": {
6283
- margin: 2,
6284
- height: 22
6285
- }
6287
+ // Size small - 16x16 icons
6288
+ [`&.${import_InputBase.inputBaseClasses.sizeSmall} svg`]: {
6289
+ width: 16,
6290
+ height: 16
6291
+ },
6292
+ // Size large - 24x24 icons
6293
+ [`&.MuiInputBase-sizeLarge svg`]: {
6294
+ width: 24,
6295
+ height: 24
6286
6296
  }
6287
6297
  }
6288
6298
  })
@@ -6459,6 +6469,7 @@ __export(components_exports2, {
6459
6469
  CopyButton: () => CopyButton,
6460
6470
  CustomDialog: () => CustomDialog,
6461
6471
  CustomDrawer: () => CustomDrawer,
6472
+ CustomFormLabel: () => CustomFormLabel,
6462
6473
  DateRangeDropdown: () => DateRangeDropdown,
6463
6474
  DateRangePicker: () => DateRangePicker,
6464
6475
  Download: () => Download,
@@ -10811,20 +10822,38 @@ var Field = {
10811
10822
  GooglePlacesAutocomplete: RHFGooglePlacesAutocomplete
10812
10823
  };
10813
10824
 
10814
- // src/components/CopyButton/index.tsx
10825
+ // src/components/FormLabel/index.tsx
10815
10826
  var import_Tooltip2 = __toESM(require("@mui/material/Tooltip"), 1);
10816
- var import_IconButton6 = __toESM(require("@mui/material/IconButton"), 1);
10827
+ var import_Typography15 = __toESM(require("@mui/material/Typography"), 1);
10828
+ var import_FormLabel4 = __toESM(require("@mui/material/FormLabel"), 1);
10817
10829
  var import_jsx_runtime103 = require("react/jsx-runtime");
10830
+ var CustomFormLabel = ({
10831
+ label,
10832
+ tooltip: tooltip2,
10833
+ icon: icon2,
10834
+ optional,
10835
+ sx,
10836
+ ...rest
10837
+ }) => /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_FormLabel4.default, { sx: { mb: 0.5, display: "flex", alignItems: "center", gap: 0.5, ...sx }, ...rest, children: [
10838
+ label,
10839
+ optional && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_Typography15.default, { component: "span", variant: "caption", color: "text.secondary", children: "(Optional)" }),
10840
+ tooltip2 && /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_Tooltip2.default, { placement: "right", title: tooltip2, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("span", { style: { display: "inline-flex" }, children: icon2 ?? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Icon, { icon: "InfoCircle", sx: { width: 16, height: 16, color: "icons.black" } }) }) })
10841
+ ] });
10842
+
10843
+ // src/components/CopyButton/index.tsx
10844
+ var import_Tooltip3 = __toESM(require("@mui/material/Tooltip"), 1);
10845
+ var import_IconButton6 = __toESM(require("@mui/material/IconButton"), 1);
10846
+ var import_jsx_runtime104 = require("react/jsx-runtime");
10818
10847
  var CopyButton = ({ text: text2, size = "small" }) => {
10819
10848
  const { copy, isCopied } = useCopyToClipboard();
10820
- return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_Tooltip2.default, { title: isCopied ? "Copied" : "Copy", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
10849
+ return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_Tooltip3.default, { title: isCopied ? "Copied" : "Copy", children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
10821
10850
  import_IconButton6.default,
10822
10851
  {
10823
10852
  size,
10824
10853
  onClick: () => copy(text2),
10825
10854
  "aria-label": "copy token",
10826
10855
  sx: { color: "icon.black" },
10827
- children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Icon, { icon: isCopied ? "ClipboardCheck" : "Copy", sx: { width: 20, height: 20 } })
10856
+ children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Icon, { icon: isCopied ? "ClipboardCheck" : "Copy", sx: { width: 20, height: 20 } })
10828
10857
  }
10829
10858
  ) });
10830
10859
  };
@@ -10833,9 +10862,9 @@ var CopyButton = ({ text: text2, size = "small" }) => {
10833
10862
  var import_Portal2 = __toESM(require("@mui/material/Portal"), 1);
10834
10863
  var import_Box25 = __toESM(require("@mui/material/Box"), 1);
10835
10864
  var import_LinearProgress = __toESM(require("@mui/material/LinearProgress"), 1);
10836
- var import_jsx_runtime104 = require("react/jsx-runtime");
10865
+ var import_jsx_runtime105 = require("react/jsx-runtime");
10837
10866
  var LoadingScreen = ({ portal, sx, ...rest }) => {
10838
- const content = /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
10867
+ const content = /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
10839
10868
  import_Box25.default,
10840
10869
  {
10841
10870
  sx: {
@@ -10849,16 +10878,16 @@ var LoadingScreen = ({ portal, sx, ...rest }) => {
10849
10878
  ...sx
10850
10879
  },
10851
10880
  ...rest,
10852
- children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_LinearProgress.default, { color: "primary", sx: { width: 1, maxWidth: 360 } })
10881
+ children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_LinearProgress.default, { color: "primary", sx: { width: 1, maxWidth: 360 } })
10853
10882
  }
10854
10883
  );
10855
10884
  if (portal) {
10856
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_Portal2.default, { children: content });
10885
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_Portal2.default, { children: content });
10857
10886
  }
10858
10887
  return content;
10859
10888
  };
10860
10889
  var SplashScreen = ({ portal, sx, ...rest }) => {
10861
- const content = /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
10890
+ const content = /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
10862
10891
  import_Box25.default,
10863
10892
  {
10864
10893
  sx: {
@@ -10875,17 +10904,17 @@ var SplashScreen = ({ portal, sx, ...rest }) => {
10875
10904
  ...sx
10876
10905
  },
10877
10906
  ...rest,
10878
- children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(AnimatedLogo, {})
10907
+ children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(AnimatedLogo, {})
10879
10908
  }
10880
10909
  );
10881
10910
  if (portal) {
10882
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_Portal2.default, { children: content });
10911
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_Portal2.default, { children: content });
10883
10912
  }
10884
10913
  return content;
10885
10914
  };
10886
10915
 
10887
10916
  // src/theme/core/components/mui-x-data-grid.tsx
10888
- var import_jsx_runtime105 = require("react/jsx-runtime");
10917
+ var import_jsx_runtime106 = require("react/jsx-runtime");
10889
10918
  var MuiDataGrid = {
10890
10919
  /** **************************************
10891
10920
  * DEFAULT PROPS
@@ -10893,9 +10922,9 @@ var MuiDataGrid = {
10893
10922
  defaultProps: {
10894
10923
  slots: {
10895
10924
  /* Column */
10896
- columnSortedAscendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridArrowUpIcon, { sx: { color: "text.primary" }, ...props }),
10897
- columnSortedDescendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridArrowDownIcon, { sx: { color: "text.primary" }, ...props }),
10898
- columnUnsortedIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
10925
+ columnSortedAscendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridArrowUpIcon, { sx: { color: "text.primary" }, ...props }),
10926
+ columnSortedDescendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridArrowDownIcon, { sx: { color: "text.primary" }, ...props }),
10927
+ columnUnsortedIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
10899
10928
  DataGridArrowUpIcon,
10900
10929
  {
10901
10930
  fontSize: props.fontSize,
@@ -10903,28 +10932,28 @@ var MuiDataGrid = {
10903
10932
  sx: { color: "text.disabled" }
10904
10933
  }
10905
10934
  ),
10906
- columnMenuIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridMoreIcon, { width: 20, ...props }),
10907
- columnMenuSortAscendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridArrowUpIcon, { ...props }),
10908
- columnMenuSortDescendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridArrowDownIcon, { ...props }),
10909
- columnMenuFilterIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridFilterIcon, { ...props }),
10910
- columnMenuHideIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridEyeCloseIcon, { ...props }),
10911
- columnMenuManageColumnsIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridEyeIcon, { ...props }),
10912
- columnSelectorIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridEyeIcon, { ...props }),
10935
+ columnMenuIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridMoreIcon, { width: 20, ...props }),
10936
+ columnMenuSortAscendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridArrowUpIcon, { ...props }),
10937
+ columnMenuSortDescendingIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridArrowDownIcon, { ...props }),
10938
+ columnMenuFilterIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridFilterIcon, { ...props }),
10939
+ columnMenuHideIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridEyeCloseIcon, { ...props }),
10940
+ columnMenuManageColumnsIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridEyeIcon, { ...props }),
10941
+ columnSelectorIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridEyeIcon, { ...props }),
10913
10942
  /* Filter */
10914
- filterPanelDeleteIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridCloseIcon, { ...props }),
10915
- openFilterButtonIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridFilterIcon, { ...props }),
10916
- columnFilteredIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridFilterIcon, { sx: { width: 16, color: "text.primary" }, ...props }),
10943
+ filterPanelDeleteIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridCloseIcon, { ...props }),
10944
+ openFilterButtonIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridFilterIcon, { ...props }),
10945
+ columnFilteredIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridFilterIcon, { sx: { width: 16, color: "text.primary" }, ...props }),
10917
10946
  /* Density */
10918
- densityCompactIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridDensityCompactIcon, { ...props }),
10919
- densityStandardIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridDensityStandardIcon, { ...props }),
10920
- densityComfortableIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridDensityComfortableIcon, { ...props }),
10947
+ densityCompactIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridDensityCompactIcon, { ...props }),
10948
+ densityStandardIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridDensityStandardIcon, { ...props }),
10949
+ densityComfortableIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridDensityComfortableIcon, { ...props }),
10921
10950
  /* Export */
10922
- exportIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridExportIcon, { ...props }),
10951
+ exportIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridExportIcon, { ...props }),
10923
10952
  /* Quick Filter */
10924
- quickFilterIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridSearchIcon, { sx: { width: 24, height: 24, color: "text.secondary" }, ...props }),
10925
- quickFilterClearIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(DataGridCloseIcon, { ...props }),
10953
+ quickFilterIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridSearchIcon, { sx: { width: 24, height: 24, color: "text.secondary" }, ...props }),
10954
+ quickFilterClearIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DataGridCloseIcon, { ...props }),
10926
10955
  /* Actions Column */
10927
- moreActionsIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Icon, { icon: "MoreHorizontal", sx: { width: 20, height: 20 }, ...props })
10956
+ moreActionsIcon: (props) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Icon, { icon: "MoreHorizontal", sx: { width: 20, height: 20 }, ...props })
10928
10957
  },
10929
10958
  slotProps: {
10930
10959
  basePopper: { placement: "bottom-end" },
@@ -11101,15 +11130,15 @@ var MuiDataGrid = {
11101
11130
  }
11102
11131
  };
11103
11132
  var dataGrid = { MuiDataGrid };
11104
- var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
11105
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11133
+ var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
11134
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11106
11135
  "path",
11107
11136
  {
11108
11137
  fill: "currentColor",
11109
11138
  d: "m8.303 11.596l3.327-3.431a.499.499 0 0 1 .74 0l6.43 6.63c.401.414.158 1.205-.37 1.205h-5.723z"
11110
11139
  }
11111
11140
  ),
11112
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11141
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11113
11142
  "path",
11114
11143
  {
11115
11144
  fill: "currentColor",
@@ -11118,15 +11147,15 @@ var DataGridArrowUpIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runti
11118
11147
  }
11119
11148
  )
11120
11149
  ] });
11121
- var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
11122
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11150
+ var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
11151
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11123
11152
  "path",
11124
11153
  {
11125
11154
  fill: "currentColor",
11126
11155
  d: "m8.303 12.404l3.327 3.431c.213.22.527.22.74 0l6.43-6.63C19.201 8.79 18.958 8 18.43 8h-5.723z"
11127
11156
  }
11128
11157
  ),
11129
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11158
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11130
11159
  "path",
11131
11160
  {
11132
11161
  fill: "currentColor",
@@ -11135,15 +11164,15 @@ var DataGridArrowDownIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_run
11135
11164
  }
11136
11165
  )
11137
11166
  ] });
11138
- var DataGridFilterIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11167
+ var DataGridFilterIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11139
11168
  "path",
11140
11169
  {
11141
11170
  fill: "currentColor",
11142
11171
  d: "M19 3H5c-1.414 0-2.121 0-2.56.412C2 3.824 2 4.488 2 5.815v.69c0 1.037 0 1.556.26 1.986c.26.43.733.698 1.682 1.232l2.913 1.64c.636.358.955.537 1.183.735c.474.411.766.895.898 1.49c.064.284.064.618.064 1.285v2.67c0 .909 0 1.364.252 1.718c.252.355.7.53 1.594.88c1.879.734 2.818 1.101 3.486.683c.668-.417.668-1.372.668-3.282v-2.67c0-.666 0-1 .064-1.285a2.68 2.68 0 0 1 .899-1.49c.227-.197.546-.376 1.182-.735l2.913-1.64c.948-.533 1.423-.8 1.682-1.23c.26-.43.26-.95.26-1.988v-.69c0-1.326 0-1.99-.44-2.402C21.122 3 20.415 3 19 3"
11143
11172
  }
11144
11173
  ) });
11145
- var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
11146
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11174
+ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
11175
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11147
11176
  "path",
11148
11177
  {
11149
11178
  fill: "currentColor",
@@ -11152,7 +11181,7 @@ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtim
11152
11181
  clipRule: "evenodd"
11153
11182
  }
11154
11183
  ),
11155
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11184
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11156
11185
  "path",
11157
11186
  {
11158
11187
  fill: "currentColor",
@@ -11160,9 +11189,9 @@ var DataGridExportIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtim
11160
11189
  }
11161
11190
  )
11162
11191
  ] });
11163
- var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
11164
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("path", { fill: "currentColor", d: "M9.75 12a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0" }),
11165
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11192
+ var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: [
11193
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("path", { fill: "currentColor", d: "M9.75 12a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0" }),
11194
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11166
11195
  "path",
11167
11196
  {
11168
11197
  fill: "currentColor",
@@ -11172,7 +11201,7 @@ var DataGridEyeIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime10
11172
11201
  }
11173
11202
  )
11174
11203
  ] });
11175
- var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11204
+ var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11176
11205
  "path",
11177
11206
  {
11178
11207
  fill: "currentColor",
@@ -11181,23 +11210,23 @@ var DataGridEyeCloseIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runt
11181
11210
  clipRule: "evenodd"
11182
11211
  }
11183
11212
  ) });
11184
- var DataGridSearchIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11213
+ var DataGridSearchIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11185
11214
  "path",
11186
11215
  {
11187
11216
  fill: "currentColor",
11188
11217
  d: "m20.71 19.29l-3.4-3.39A7.92 7.92 0 0 0 19 11a8 8 0 1 0-8 8a7.92 7.92 0 0 0 4.9-1.69l3.39 3.4a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42M5 11a6 6 0 1 1 6 6a6 6 0 0 1-6-6"
11189
11218
  }
11190
11219
  ) });
11191
- var DataGridCloseIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11220
+ var DataGridCloseIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11192
11221
  "path",
11193
11222
  {
11194
11223
  fill: "currentColor",
11195
11224
  d: "m13.41 12l4.3-4.29a1 1 0 1 0-1.42-1.42L12 10.59l-4.29-4.3a1 1 0 0 0-1.42 1.42l4.3 4.29l-4.3 4.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l4.29-4.3l4.29 4.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42Z"
11196
11225
  }
11197
11226
  ) });
11198
- var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("g", { fill: "none", children: [
11199
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("path", { d: "M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }),
11200
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11227
+ var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("g", { fill: "none", children: [
11228
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("path", { d: "M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }),
11229
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11201
11230
  "path",
11202
11231
  {
11203
11232
  fill: "currentColor",
@@ -11205,16 +11234,16 @@ var DataGridMoreIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime1
11205
11234
  }
11206
11235
  )
11207
11236
  ] }) });
11208
- var DataGridDensityCompactIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11237
+ var DataGridDensityCompactIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11209
11238
  "path",
11210
11239
  {
11211
11240
  fill: "currentColor",
11212
11241
  d: "M4 15.5q-.425 0-.712-.288T3 14.5V14q0-.425.288-.712T4 13h16q.425 0 .713.288T21 14v.5q0 .425-.288.713T20 15.5zM4 11q-.425 0-.712-.288T3 10v-.5q0-.425.288-.712T4 8.5h16q.425 0 .713.288T21 9.5v.5q0 .425-.288.713T20 11zm0-4.5q-.425 0-.712-.288T3 5.5V5q0-.425.288-.712T4 4h16q.425 0 .713.288T21 5v.5q0 .425-.288.713T20 6.5zM4 20q-.425 0-.712-.288T3 19v-.5q0-.425.288-.712T4 17.5h16q.425 0 .713.288T21 18.5v.5q0 .425-.288.713T20 20z"
11213
11242
  }
11214
11243
  ) });
11215
- var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("g", { fill: "none", fillRule: "evenodd", children: [
11216
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("path", { d: "M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }),
11217
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11244
+ var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("g", { fill: "none", fillRule: "evenodd", children: [
11245
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("path", { d: "M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }),
11246
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11218
11247
  "path",
11219
11248
  {
11220
11249
  fill: "currentColor",
@@ -11222,9 +11251,9 @@ var DataGridDensityComfortableIcon = ({ ...props }) => /* @__PURE__ */ (0, impor
11222
11251
  }
11223
11252
  )
11224
11253
  ] }) });
11225
- var DataGridDensityStandardIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("g", { fill: "none", children: [
11226
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("path", { d: "M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }),
11227
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
11254
+ var DataGridDensityStandardIcon = ({ ...props }) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_SvgIcon3.default, { sx: { width: 20, height: 20, ...props.sx }, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("g", { fill: "none", children: [
11255
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("path", { d: "M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z" }),
11256
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
11228
11257
  "path",
11229
11258
  {
11230
11259
  fill: "currentColor",
@@ -11382,19 +11411,24 @@ var MuiButtonGroup = {
11382
11411
  var buttonGroup = { MuiButtonGroup };
11383
11412
 
11384
11413
  // src/theme/core/components/autocomplete.tsx
11385
- var import_SvgIcon4 = require("@mui/material/SvgIcon");
11414
+ var import_Chip2 = require("@mui/material/Chip");
11415
+ var import_InputBase5 = require("@mui/material/InputBase");
11386
11416
  var import_Autocomplete5 = require("@mui/material/Autocomplete");
11387
- var import_jsx_runtime106 = require("react/jsx-runtime");
11417
+ var import_jsx_runtime107 = require("react/jsx-runtime");
11388
11418
  var MuiAutocomplete = {
11389
11419
  /** **************************************
11390
11420
  * DEFAULT PROPS
11391
11421
  *************************************** */
11392
- defaultProps: { popupIcon: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Icon, { icon: "NavArrowDown" }) },
11422
+ defaultProps: {
11423
+ popupIcon: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Icon, { icon: "NavArrowDown" }),
11424
+ forcePopupIcon: true
11425
+ },
11393
11426
  /** **************************************
11394
11427
  * STYLE
11395
11428
  *************************************** */
11396
11429
  styleOverrides: {
11397
- root: ({ theme }) => ({
11430
+ root: ({ theme, ownerState }) => ({
11431
+ // Tag count badge (e.g., "+2")
11398
11432
  [`& span.${import_Autocomplete5.autocompleteClasses.tag}`]: {
11399
11433
  ...theme.typography.subtitle2,
11400
11434
  height: 24,
@@ -11402,9 +11436,80 @@ var MuiAutocomplete = {
11402
11436
  lineHeight: "24px",
11403
11437
  textAlign: "center",
11404
11438
  padding: theme.spacing(0, 0.75),
11405
- color: theme.vars.palette.text.secondary,
11406
- borderRadius: theme.shape.borderRadius,
11407
- backgroundColor: varAlpha(theme.vars.palette.grey["500Channel"], 0.16)
11439
+ color: theme.vars.palette.neutral[950],
11440
+ borderRadius: theme.radius["radius-sm"],
11441
+ backgroundColor: theme.vars.palette.neutral[100]
11442
+ },
11443
+ // Chip tags in multiple mode
11444
+ [`& .${import_Autocomplete5.autocompleteClasses.tag}.${import_Chip2.chipClasses.root}`]: {
11445
+ height: 26,
11446
+ margin: theme.spacing(0.5, 0.5, 0.5, 0),
11447
+ fontSize: theme.typography.caption.fontSize,
11448
+ fontWeight: theme.typography.fontWeightMedium,
11449
+ color: theme.vars.palette.neutral[950],
11450
+ backgroundColor: theme.vars.palette.neutral[100]
11451
+ },
11452
+ // Default medium size - 20x20 end adornment icons
11453
+ [`& .${import_Autocomplete5.autocompleteClasses.endAdornment} svg`]: {
11454
+ width: 20,
11455
+ height: 20
11456
+ },
11457
+ // Size small - 16x16 end adornment icons
11458
+ ...ownerState.size === "small" && {
11459
+ [`& .${import_Autocomplete5.autocompleteClasses.endAdornment} svg`]: {
11460
+ width: 16,
11461
+ height: 16
11462
+ }
11463
+ },
11464
+ // Size large - 24x24 end adornment icons
11465
+ ...ownerState.size === "large" && {
11466
+ [`& .${import_Autocomplete5.autocompleteClasses.endAdornment} svg`]: {
11467
+ width: 24,
11468
+ height: 24
11469
+ }
11470
+ }
11471
+ }),
11472
+ // Input root - override fixed heights for multiple mode
11473
+ inputRoot: ({ theme, ownerState }) => ({
11474
+ // Allow flexible height for multiple selections
11475
+ height: "auto",
11476
+ minHeight: 44,
11477
+ flexWrap: "wrap",
11478
+ alignItems: "center",
11479
+ paddingTop: theme.spacing(0),
11480
+ paddingBottom: theme.spacing(0),
11481
+ paddingLeft: theme.spacing(1),
11482
+ paddingRight: `${theme.spacing(4)} !important`,
11483
+ // Space for clear/popup icons
11484
+ // Size small
11485
+ ...ownerState.size === "small" && {
11486
+ minHeight: 36,
11487
+ [`& .${import_Autocomplete5.autocompleteClasses.tag}.${import_Chip2.chipClasses.root}`]: {
11488
+ height: 22,
11489
+ margin: theme.spacing(0.25, 0.25, 0.25, 0)
11490
+ }
11491
+ },
11492
+ // Size large
11493
+ ...ownerState.size === "large" && {
11494
+ minHeight: 48,
11495
+ paddingTop: theme.spacing(1),
11496
+ paddingBottom: theme.spacing(1),
11497
+ [`& .${import_Autocomplete5.autocompleteClasses.tag}.${import_Chip2.chipClasses.root}`]: {
11498
+ height: 28,
11499
+ margin: theme.spacing(0.5, 0.5, 0.5, 0)
11500
+ }
11501
+ },
11502
+ // Adornment adjustments
11503
+ [`&.${import_InputBase5.inputBaseClasses.adornedStart}`]: {
11504
+ paddingLeft: theme.spacing(1.5)
11505
+ }
11506
+ }),
11507
+ // Input field inside autocomplete
11508
+ input: ({ theme }) => ({
11509
+ padding: `${theme.spacing(0.75, 0.75)} !important`,
11510
+ minWidth: 80,
11511
+ [`&.${import_InputBase5.inputBaseClasses.sizeSmall}`]: {
11512
+ padding: `${theme.spacing(0.5, 0.5)} !important`
11408
11513
  }
11409
11514
  }),
11410
11515
  paper: ({ theme }) => ({
@@ -11416,7 +11521,14 @@ var MuiAutocomplete = {
11416
11521
  ...menuItem(theme)
11417
11522
  }
11418
11523
  }),
11419
- endAdornment: { [`& .${import_SvgIcon4.svgIconClasses.root}`]: { width: 24, height: 24 } }
11524
+ endAdornment: ({ theme }) => ({
11525
+ top: "50%",
11526
+ transform: "translateY(-50%)",
11527
+ right: theme.spacing(1)
11528
+ }),
11529
+ clearIndicator: ({ theme }) => ({
11530
+ marginRight: theme.spacing(0.5)
11531
+ })
11420
11532
  }
11421
11533
  };
11422
11534
  var autocomplete = { MuiAutocomplete };
@@ -11514,11 +11626,11 @@ var toggleButton = { MuiToggleButton, MuiToggleButtonGroup };
11514
11626
 
11515
11627
  // src/theme/core/components/mui-x-date-picker.tsx
11516
11628
  var import_IconButton8 = __toESM(require("@mui/material/IconButton"), 1);
11517
- var import_Typography15 = __toESM(require("@mui/material/Typography"), 1);
11629
+ var import_Typography16 = __toESM(require("@mui/material/Typography"), 1);
11518
11630
  var import_Button5 = require("@mui/material/Button");
11519
11631
  var import_styles36 = require("@mui/material/styles");
11520
11632
  var import_DialogActions = require("@mui/material/DialogActions");
11521
- var import_jsx_runtime107 = require("react/jsx-runtime");
11633
+ var import_jsx_runtime108 = require("react/jsx-runtime");
11522
11634
  var CustomCalendarHeaderRoot = (0, import_styles36.styled)("div")(({ theme }) => ({
11523
11635
  display: "flex",
11524
11636
  justifyContent: "space-between",
@@ -11556,10 +11668,10 @@ function CustomCalendarHeader(props) {
11556
11668
  onViewChange("year");
11557
11669
  }
11558
11670
  };
11559
- return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(CustomCalendarHeaderRoot, { children: [
11560
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(CustomIconButton, { onClick: selectPreviousMonth, title: "Previous month", size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Icon, { icon: "NavArrowLeft", width: 16 }) }),
11561
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
11562
- import_Typography15.default,
11671
+ return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(CustomCalendarHeaderRoot, { children: [
11672
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(CustomIconButton, { onClick: selectPreviousMonth, title: "Previous month", size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "NavArrowLeft", width: 16 }) }),
11673
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
11674
+ import_Typography16.default,
11563
11675
  {
11564
11676
  variant: "subtitle1",
11565
11677
  onClick: handleLabelClick,
@@ -11573,7 +11685,7 @@ function CustomCalendarHeader(props) {
11573
11685
  children: monthLabel
11574
11686
  }
11575
11687
  ),
11576
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(CustomIconButton, { onClick: selectNextMonth, title: "Next month", size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Icon, { icon: "NavArrowRight", width: 16 }) })
11688
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(CustomIconButton, { onClick: selectNextMonth, title: "Next month", size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "NavArrowRight", width: 16 }) })
11577
11689
  ] });
11578
11690
  }
11579
11691
  var localeText = {
@@ -11581,13 +11693,13 @@ var localeText = {
11581
11693
  };
11582
11694
  var defaultProps = {
11583
11695
  date: {
11584
- openPickerIcon: () => /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Icon, { icon: "Calendar", sx: { width: 20, height: 20 } }),
11696
+ openPickerIcon: () => /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "Calendar", sx: { width: 20, height: 20 } }),
11585
11697
  calendarHeader: CustomCalendarHeader
11586
11698
  },
11587
11699
  time: {
11588
- openPickerIcon: () => /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Icon, { icon: "Clock", sx: { width: 20, height: 20 } }),
11589
- rightArrowIcon: () => /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Icon, { icon: "NavArrowRight" }),
11590
- switchViewIcon: () => /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Icon, { icon: "NavArrowDownSolid" })
11700
+ openPickerIcon: () => /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "Clock", sx: { width: 20, height: 20 } }),
11701
+ rightArrowIcon: () => /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "NavArrowRight" }),
11702
+ switchViewIcon: () => /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "NavArrowDownSolid" })
11591
11703
  }
11592
11704
  };
11593
11705
  var dateViews = ["year", "month", "day"];
@@ -12018,18 +12130,18 @@ var import__8 = require("@fontsource/geist/500.css");
12018
12130
  var import__9 = require("@fontsource/geist/600.css");
12019
12131
  var import__10 = require("@fontsource/geist/700.css");
12020
12132
  var import_satoshi = require("./satoshi-4X3TX4PE.css");
12021
- var import_jsx_runtime108 = require("react/jsx-runtime");
12133
+ var import_jsx_runtime109 = require("react/jsx-runtime");
12022
12134
  var ThemeProvider = ({ children }) => {
12023
12135
  const settings = useSettings();
12024
12136
  const theme = createTheme(settings);
12025
- return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
12137
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
12026
12138
  import_styles41.ThemeProvider,
12027
12139
  {
12028
12140
  theme,
12029
12141
  defaultMode: schemeConfig.defaultMode,
12030
12142
  modeStorageKey: schemeConfig.modeStorageKey,
12031
12143
  children: [
12032
- /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_CssBaseline.default, {}),
12144
+ /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_CssBaseline.default, {}),
12033
12145
  children
12034
12146
  ]
12035
12147
  }
@@ -12059,6 +12171,7 @@ __reExport(index_exports, components_exports2, module.exports);
12059
12171
  CopyButton,
12060
12172
  CustomDialog,
12061
12173
  CustomDrawer,
12174
+ CustomFormLabel,
12062
12175
  DateRangeDropdown,
12063
12176
  DateRangePicker,
12064
12177
  Download,