asma-ui-core 3.42.0 → 3.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/dist/asma-ui-core.css +1 -1
  2. package/dist/components/data-display/badge/StyledBadge.js +24 -29
  3. package/dist/components/data-display/chip/StyledChip.js +60 -45
  4. package/dist/components/data-display/interactive-chip/StyledInteractiveChip.js +38 -32
  5. package/dist/components/data-display/tooltip/StyledTooltip.js +33 -50
  6. package/dist/components/data-display/typography/StyledTypography.js +4 -62
  7. package/dist/components/feedback/dialog/StyledDialog.js +50 -70
  8. package/dist/components/feedback/dialog/StyledDialog.module.js +9 -2
  9. package/dist/components/feedback/dialog/StyledDialogActions.js +16 -16
  10. package/dist/components/feedback/dialog/StyledDialogActions.module.js +8 -0
  11. package/dist/components/feedback/dialog/StyledDialogContent.js +14 -17
  12. package/dist/components/feedback/dialog/StyledDialogContent.module.js +4 -0
  13. package/dist/components/feedback/dialog/StyledDialogTitle.js +13 -18
  14. package/dist/components/feedback/dialog/StyledDialogTitle.module.js +4 -0
  15. package/dist/components/feedback/minimizable-dialog/MinimizableDialog.js +57 -56
  16. package/dist/components/feedback/snack-bar/StyledAlert.js +14 -72
  17. package/dist/components/feedback/snack-bar/StyledSnackbar.js +8 -34
  18. package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.js +34 -33
  19. package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.module.js +8 -8
  20. package/dist/components/inputs/button/StyledButton.module.js +7 -7
  21. package/dist/components/inputs/checkbox/StyledCheckbox.js +20 -0
  22. package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.js +58 -55
  23. package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.module.js +12 -12
  24. package/dist/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.js +1 -1
  25. package/dist/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.js +19 -19
  26. package/dist/components/inputs/input-field/StyledInputField.js +81 -104
  27. package/dist/components/inputs/radio-button/StyledRadio.js +17 -0
  28. package/dist/components/inputs/radio-button/base-ui/StyledRadio.js +29 -40
  29. package/dist/components/inputs/radio-button/base-ui/StyledRadio.module.js +10 -10
  30. package/dist/components/inputs/radio-button/base-ui/StyledRadioGroup.js +23 -35
  31. package/dist/components/inputs/search-field/StyledSearchField.js +19 -18
  32. package/dist/components/inputs/select/StyledSelect.js +45 -124
  33. package/dist/components/inputs/select/StyledSelectItem.js +23 -19
  34. package/dist/components/inputs/select-autocomplete/StyledSelectAutocomplete.js +151 -181
  35. package/dist/components/inputs/slider/StyledSlider.js +52 -78
  36. package/dist/components/inputs/switch/base-ui/StyledSwitch.js +39 -44
  37. package/dist/components/miscellaneous/StyledFormControl.js +21 -39
  38. package/dist/components/miscellaneous/StyledFormControlLabel.js +16 -27
  39. package/dist/components/miscellaneous/StyledFormGroup.js +4 -16
  40. package/dist/components/miscellaneous/StyledFormHelperText.js +4 -12
  41. package/dist/components/miscellaneous/StyledInputLabel.js +4 -20
  42. package/dist/components/navigation/drawer/StyledDrawer.js +4 -42
  43. package/dist/components/navigation/listbox/Listbox.js +7 -7
  44. package/dist/components/navigation/menu/StyledMenu.js +11 -28
  45. package/dist/components/navigation/menu/StyledMenuItem.js +19 -16
  46. package/dist/components/navigation/menu/StyledMenuList.js +4 -32
  47. package/dist/components/navigation/tabs/StyledTab.js +13 -25
  48. package/dist/components/navigation/tabs/StyledTabs.js +66 -112
  49. package/dist/components/utils/accordion/base-ui/StyledAccordion.js +21 -28
  50. package/dist/components/utils/accordion/base-ui/StyledAccordion.module.js +7 -7
  51. package/dist/components/utils/accordion/base-ui/StyledAccordionDetails.js +14 -28
  52. package/dist/components/utils/accordion/base-ui/StyledAccordionSummary.js +27 -31
  53. package/dist/components/utils/popover/StyledPopover.js +15 -44
  54. package/dist/datetime/components/date-picker/StyledDatePicker.js +6 -6
  55. package/dist/datetime/components/date-picker/components/BaseDatePickerInput.js +1 -1
  56. package/dist/datetime/components/date-picker/components/HelperTextWithTooltip.js +6 -6
  57. package/dist/datetime/components/date-picker/components/StyledCalendarPicker.js +11 -11
  58. package/dist/datetime/components/date-picker/components/StyledCalendarPickerFooter.js +14 -13
  59. package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectMonth.js +14 -14
  60. package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectYear.js +6 -6
  61. package/dist/datetime/components/date-picker/components/StyledDayPicker.js +5 -4
  62. package/dist/datetime/components/date-picker/hooks/useDatePickerMask.js +4 -4
  63. package/dist/datetime/components/time-picker/StyledTimePicker.js +25 -25
  64. package/dist/datetime/components/time-picker/TimePickerInput.js +16 -15
  65. package/dist/datetime/components/time-picker/TimePickerPopper.js +19 -21
  66. package/dist/datetime/helpers/cn.js +5 -4
  67. package/dist/datetime/shared-components/ExpandIcon.js +18 -0
  68. package/dist/datetime/shared-components/StyledFormControl.js +23 -0
  69. package/dist/datetime/shared-components/StyledInputField.js +47 -0
  70. package/dist/datetime/shared-components/StyledSelect.js +47 -0
  71. package/dist/datetime/shared-components/StyledSelectItem.js +13 -0
  72. package/dist/datetime/shared-components/StyledTooltip.js +32 -0
  73. package/dist/helpers/cn.js +5 -4
  74. package/dist/index.js +175 -185
  75. package/dist/src/components/data-display/badge/StyledBadge.d.ts +2 -26
  76. package/dist/src/components/data-display/chip/StyledChip.d.ts +5 -39
  77. package/dist/src/components/data-display/interactive-chip/StyledInteractiveChip.d.ts +4 -11
  78. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +2 -36
  79. package/dist/src/components/data-display/typography/StyledTypography.d.ts +1 -19
  80. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +4 -50
  81. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +2 -12
  82. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +2 -12
  83. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +2 -10
  84. package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +1 -1
  85. package/dist/src/components/feedback/snack-bar/StyledAlert.d.ts +2 -24
  86. package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +1 -1
  87. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +2 -21
  88. package/dist/src/components/feedback/snack-bar/components/StyledDefaultSnackbar.d.ts +1 -1
  89. package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +1 -1
  90. package/dist/src/components/feedback/snack-bar/components/types.d.ts +1 -1
  91. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +4 -0
  92. package/dist/src/components/inputs/checkbox/base-ui/StyledCheckbox.d.ts +4 -9
  93. package/dist/src/components/inputs/dynamic-select/types.d.ts +2 -2
  94. package/dist/src/components/inputs/input-field/StyledInputField.d.ts +11 -67
  95. package/dist/src/components/inputs/input-field/index.d.ts +1 -1
  96. package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +4 -0
  97. package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +4 -0
  98. package/dist/src/components/inputs/radio-button/base-ui/StyledRadio.d.ts +5 -20
  99. package/dist/src/components/inputs/radio-button/base-ui/StyledRadioGroup.d.ts +7 -24
  100. package/dist/src/components/inputs/select/StyledSelect.d.ts +16 -39
  101. package/dist/src/components/inputs/select/StyledSelectItem.d.ts +2 -14
  102. package/dist/src/components/inputs/select/index.d.ts +1 -0
  103. package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +17 -88
  104. package/dist/src/components/inputs/slider/StyledSlider.d.ts +3 -55
  105. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +5 -0
  106. package/dist/src/components/inputs/switch/base-ui/StyledSwitch.d.ts +4 -20
  107. package/dist/src/components/miscellaneous/StyledFormControl.d.ts +2 -22
  108. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +2 -21
  109. package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +2 -11
  110. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +2 -12
  111. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +2 -20
  112. package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +2 -28
  113. package/dist/src/components/navigation/menu/StyledMenu.d.ts +2 -33
  114. package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +2 -23
  115. package/dist/src/components/navigation/menu/StyledMenuList.d.ts +2 -16
  116. package/dist/src/components/navigation/menu/index.d.ts +1 -0
  117. package/dist/src/components/navigation/tabs/StyledTab.d.ts +3 -17
  118. package/dist/src/components/navigation/tabs/StyledTabs.d.ts +7 -16
  119. package/dist/src/components/utils/accordion/StyledAccordion.d.ts +2 -0
  120. package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +2 -0
  121. package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +8 -0
  122. package/dist/src/components/utils/accordion/base-ui/StyledAccordion.d.ts +3 -9
  123. package/dist/src/components/utils/accordion/base-ui/StyledAccordionDetails.d.ts +0 -5
  124. package/dist/src/components/utils/accordion/base-ui/StyledAccordionSummary.d.ts +4 -8
  125. package/dist/src/components/utils/copy-wrapper/CopyWrapper.d.ts +1 -1
  126. package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +2 -2
  127. package/dist/src/components/utils/popover/StyledPopover.d.ts +2 -32
  128. package/dist/src/datetime/components/date-picker/components/StyledCalendarPicker.d.ts +1 -1
  129. package/dist/src/datetime/components/date-picker/components/StyledDayPicker.d.ts +1 -1
  130. package/dist/src/datetime/components/date-picker/hooks/useDatePickerMask.d.ts +2 -1
  131. package/dist/src/datetime/components/time-picker/TimePickerInput.d.ts +1 -1
  132. package/dist/src/datetime/components/time-picker/TimePickerPopper.d.ts +1 -1
  133. package/dist/src/datetime/components/time-picker/types.d.ts +2 -1
  134. package/dist/src/datetime/shared-components/StyledFormControl.d.ts +2 -1
  135. package/dist/src/datetime/shared-components/StyledInputField.d.ts +12 -1
  136. package/dist/src/datetime/shared-components/StyledSelect.d.ts +16 -1
  137. package/dist/src/datetime/shared-components/StyledSelectItem.d.ts +2 -1
  138. package/dist/src/datetime/shared-components/StyledTooltip.d.ts +2 -1
  139. package/dist/src/index.d.ts +1 -2
  140. package/dist/src/table/shared-components/StyledCheckbox.d.ts +4 -7
  141. package/dist/src/table/shared-components/StyledMenuItem.d.ts +2 -18
  142. package/dist/src/table/shared-components/menu-item/index.d.ts +2 -13
  143. package/dist/src/table/shared-components/tooltip/index.d.ts +1 -5
  144. package/dist/src/table/types.d.ts +1 -1
  145. package/dist/table/components/Fetching.js +4 -4
  146. package/dist/table/components/StyledTable.module.js +51 -51
  147. package/dist/table/components/TableRow.js +7 -7
  148. package/dist/table/components/TableSkeleton.js +6 -6
  149. package/dist/table/components/columns/action-column/components/HeaderActionMenu.js +24 -24
  150. package/dist/table/components/columns/action-column/components/RowActionMenu.js +25 -26
  151. package/dist/table/components/table-footer/TablePagination.js +24 -27
  152. package/dist/table/components/table-footer/TableRowCountSelect.js +27 -30
  153. package/dist/table/helpers/cn.js +5 -4
  154. package/dist/table/shared-components/StyledCheckbox.js +55 -54
  155. package/dist/table/shared-components/StyledCheckbox.module.js +10 -10
  156. package/dist/table/shared-components/StyledMenuItem.js +18 -12
  157. package/dist/table/shared-components/button/StyledButton.module.js +8 -8
  158. package/dist/table/shared-components/menu-item/index.js +17 -13
  159. package/dist/table/shared-components/tooltip/index.js +23 -4
  160. package/package.json +16 -9
  161. package/src/styles/index.css +1 -0
  162. package/src/styles/typographyTokens.css +12 -0
  163. package/dist/components/inputs/field-styles.js +0 -6
  164. package/dist/components/inputs/input-field/StyledInputField.module.js +0 -4
  165. package/dist/components/inputs/radio-button/base-ui/RadioGroupContext.js +0 -6
  166. package/dist/components/inputs/slider/StyledSlider.module.js +0 -10
  167. package/dist/components/miscellaneous/FormControlContext.js +0 -6
  168. package/dist/components/mui-compat/Avatar.js +0 -29
  169. package/dist/components/mui-compat/ClickAwayListener.js +0 -29
  170. package/dist/components/mui-compat/Container.js +0 -24
  171. package/dist/components/mui-compat/Fade.js +0 -29
  172. package/dist/components/mui-compat/Fade.module.js +0 -9
  173. package/dist/components/mui-compat/FormLabel.js +0 -22
  174. package/dist/components/mui-compat/Paper.js +0 -44
  175. package/dist/components/mui-compat/Popper.js +0 -35
  176. package/dist/components/mui-compat/Skeleton.js +0 -26
  177. package/dist/components/mui-compat/Stack.js +0 -24
  178. package/dist/components/navigation/tabs/TabsContext.js +0 -6
  179. package/dist/components/utils/accordion/base-ui/AccordionContext.js +0 -10
  180. package/dist/components/utils/virtual-list/VirtualList.js +0 -45
  181. package/dist/helpers/arrays.js +0 -4
  182. package/dist/helpers/inputMask.js +0 -45
  183. package/dist/helpers/sx.js +0 -46
  184. package/dist/src/api-surface.test.d.ts +0 -1
  185. package/dist/src/components/inputs/field-styles.d.ts +0 -22
  186. package/dist/src/components/inputs/radio-button/base-ui/RadioGroupContext.d.ts +0 -10
  187. package/dist/src/components/miscellaneous/FormControlContext.d.ts +0 -14
  188. package/dist/src/components/mui-compat/Avatar.d.ts +0 -6
  189. package/dist/src/components/mui-compat/ClickAwayListener.d.ts +0 -19
  190. package/dist/src/components/mui-compat/Container.d.ts +0 -6
  191. package/dist/src/components/mui-compat/Fade.d.ts +0 -21
  192. package/dist/src/components/mui-compat/FormLabel.d.ts +0 -6
  193. package/dist/src/components/mui-compat/Paper.d.ts +0 -6
  194. package/dist/src/components/mui-compat/Popper.d.ts +0 -29
  195. package/dist/src/components/mui-compat/Skeleton.d.ts +0 -7
  196. package/dist/src/components/mui-compat/Stack.d.ts +0 -7
  197. package/dist/src/components/mui-compat/index.d.ts +0 -9
  198. package/dist/src/components/mui-compat/types.d.ts +0 -46
  199. package/dist/src/components/navigation/tabs/TabsContext.d.ts +0 -11
  200. package/dist/src/components/utils/accordion/base-ui/AccordionContext.d.ts +0 -10
  201. package/dist/src/components/utils/virtual-list/VirtualList.d.ts +0 -28
  202. package/dist/src/components/utils/virtual-list/index.d.ts +0 -1
  203. package/dist/src/helpers/arrays.d.ts +0 -2
  204. package/dist/src/helpers/arrays.test.d.ts +0 -1
  205. package/dist/src/helpers/inputMask.d.ts +0 -29
  206. package/dist/src/helpers/inputMask.test.d.ts +0 -1
  207. package/dist/src/helpers/sx.d.ts +0 -2
  208. package/dist/src/helpers/sx.test.d.ts +0 -1
@@ -1,19 +1,16 @@
1
- import { resolveSx as d } from "../../../helpers/sx.js";
2
- import m from "clsx";
3
- import { jsx as i } from "react/jsx-runtime";
4
- var p = ({ children: e, className: o, sx: r, style: t, dividers: l, classes: c, ...s }) => {
5
- const a = {
6
- ...d(r),
7
- ...t
8
- };
9
- return /* @__PURE__ */ i("div", {
10
- "data-test": "styled-dialog-content",
11
- className: m("w-full flex-auto overflow-y-auto p-4", l && "border-y border-solid border-[rgba(0,0,0,0.12)]", o),
12
- style: a,
13
- ...s,
14
- children: e
15
- });
16
- };
1
+ import n from "./StyledDialogContent.module.js";
2
+ import { DialogContent as r } from "@mui/material";
3
+ import { jsx as a } from "react/jsx-runtime";
4
+ var s = ({ children: t, classes: o, className: e, ...l }) => /* @__PURE__ */ a(r, {
5
+ ...l,
6
+ "data-test": "styled-dialog-content",
7
+ classes: {
8
+ ...o,
9
+ root: n["styled-dialog-content"]
10
+ },
11
+ className: e,
12
+ children: t
13
+ });
17
14
  export {
18
- p as StyledDialogContent
15
+ s as StyledDialogContent
19
16
  };
@@ -0,0 +1,4 @@
1
+ var t = { "styled-dialog-content": "_styled-dialog-content_d2vki_1" };
2
+ export {
3
+ t as default
4
+ };
@@ -1,20 +1,15 @@
1
- import { resolveSx as a } from "../../../helpers/sx.js";
2
- import i from "clsx";
3
- import { jsx as m } from "react/jsx-runtime";
4
- var n = ({ children: t, className: e, sx: l, style: s, classes: x, ...o }) => {
5
- if (!t) return null;
6
- const r = {
7
- ...a(l),
8
- ...s
9
- };
10
- return /* @__PURE__ */ m("h2", {
11
- "data-testid": "styled-dialog-title",
12
- className: i("mx-3 p-4 text-[20px] font-semibold leading-[20px]", e),
13
- style: r,
14
- ...o,
15
- children: t
16
- });
17
- };
1
+ import o from "./StyledDialogTitle.module.js";
2
+ import { DialogTitle as e } from "@mui/material";
3
+ import { jsx as i } from "react/jsx-runtime";
4
+ var s = ({ children: t, ...l }) => t ? /* @__PURE__ */ i(e, {
5
+ ...l,
6
+ "data-testid": "styled-dialog-title",
7
+ classes: {
8
+ ...l.classes,
9
+ root: o["styled-dialog-title-root"]
10
+ },
11
+ children: t
12
+ }) : null;
18
13
  export {
19
- n as StyledDialogTitle
14
+ s as StyledDialogTitle
20
15
  };
@@ -0,0 +1,4 @@
1
+ var t = { "styled-dialog-title-root": "_styled-dialog-title-root_mcspk_1" };
2
+ export {
3
+ t as default
4
+ };
@@ -1,24 +1,25 @@
1
1
  import { cn as c } from "../../../helpers/cn.js";
2
- import { DotsVerticalIcon as ie } from "../../icons/dots-vertical-icon/DotsVerticalIcon.js";
2
+ import { DotsVerticalIcon as de } from "../../icons/dots-vertical-icon/DotsVerticalIcon.js";
3
3
  import { LoadingIcon as S } from "../../icons/loading-icon/LoadingIcon.js";
4
4
  import { CloseIcon as O } from "../../icons/close-icon/CloseIcon.js";
5
- import { MinimizeIcon as le } from "../../icons/minimize-icon/MinimizeIcon.js";
6
- import { KeyboardCapslockIcon as re } from "../../icons/keyboard-capslock-icon/KeyboardCapslockIcon.js";
5
+ import { MinimizeIcon as re } from "../../icons/minimize-icon/MinimizeIcon.js";
6
+ import { KeyboardCapslockIcon as ne } from "../../icons/keyboard-capslock-icon/KeyboardCapslockIcon.js";
7
7
  import { StyledTooltip as h } from "../../data-display/tooltip/StyledTooltip.js";
8
8
  import { StyledButton as i } from "../../inputs/button/StyledButton.js";
9
- import { StyledMenu as de } from "../../navigation/menu/StyledMenu.js";
10
- import { StyledMenuItem as ne } from "../../navigation/menu/StyledMenuItem.js";
9
+ import { StyledMenu as ae } from "../../navigation/menu/StyledMenu.js";
10
+ import { StyledMenuItem as oe } from "../../navigation/menu/StyledMenuItem.js";
11
11
  import T from "./MinimizableDialog.module.js";
12
- import { useToggleMenuVisibility as ae } from "../../../hooks/useToggleMenuVisibility.hook.js";
13
- import { ArrowExpand as oe } from "../../icons/arrow-expand/ArrowExpand.js";
14
- import { ArrowShrink as se } from "../../icons/arrow-shrink/ArrowShrink.js";
12
+ import { useToggleMenuVisibility as se } from "../../../hooks/useToggleMenuVisibility.hook.js";
13
+ import { ArrowExpand as ce } from "../../icons/arrow-expand/ArrowExpand.js";
14
+ import { ArrowShrink as he } from "../../icons/arrow-shrink/ArrowShrink.js";
15
15
  import V from "clsx";
16
16
  import { useState as $ } from "react";
17
- import { Fragment as y, jsx as e, jsxs as t } from "react/jsx-runtime";
18
- var Ce = ({ onCloseText: z = "", onMinimizeText: K = "", onExpandText: L = "", onFullScreenText: R = "", showCloseIcon: N = !0, showMinimizeIcon: U = !0, showExpandIcon: q = !0, showFullScreenIcon: H = !0, title: u, label: p, children: v, open: J, onClose: k, className: I = "", primaryButtonText: g, primaryButtonLoading: x = !1, secondaryButtonText: o, onPrimaryButtonClick: m, onSecondaryButtonClick: f, dataTest: M, actionNode: Q, extraActions: l, extraActionsText: s, btnContainerClassName: j, footerClassName: W, footerInfo: C, locale: n = "en", enableFullscreen: X = !0, fullScreenState: _, handleFullScreenState: F }) => {
19
- const [r, Y] = $(!1), [G, Z] = $(!1), { open: A, anchorEl: P, handleOpen: B, handleClose: ee } = ae();
20
- if (!J) return null;
21
- const a = _ ?? G, b = a && !r, te = b ? {
17
+ import { Fragment as z, jsx as e, jsxs as t } from "react/jsx-runtime";
18
+ import { isArray as K, isFunction as L } from "lodash-es";
19
+ var Ge = ({ onCloseText: N = "", onMinimizeText: R = "", onExpandText: U = "", onFullScreenText: q = "", showCloseIcon: k = !0, showMinimizeIcon: H = !0, showExpandIcon: J = !0, showFullScreenIcon: Q = !0, title: u, label: p, children: v, open: W, onClose: I, className: y = "", primaryButtonText: g, primaryButtonLoading: x = !1, secondaryButtonText: o, onPrimaryButtonClick: m, onSecondaryButtonClick: f, dataTest: M, actionNode: X, extraActions: l, extraActionsText: s, btnContainerClassName: j, footerClassName: Y, footerInfo: C, locale: n = "en", enableFullscreen: Z = !0, fullScreenState: F, handleFullScreenState: _ }) => {
20
+ const [d, P] = $(!1), [G, A] = $(!1), { open: B, anchorEl: ee, handleOpen: te, handleClose: ie } = se();
21
+ if (!W) return null;
22
+ const a = F ?? G, b = a && !d, le = b ? {
22
23
  right: "auto",
23
24
  bottom: "auto",
24
25
  left: "50%",
@@ -27,56 +28,56 @@ var Ce = ({ onCloseText: z = "", onMinimizeText: K = "", onExpandText: L = "", o
27
28
  width: "min(1000px, calc(100vw - 32px))",
28
29
  height: "95dvh"
29
30
  } : void 0, w = g ?? x, D = w || o, E = () => {
30
- Y(!r);
31
+ P(!d);
31
32
  };
32
- return /* @__PURE__ */ t(y, { children: [
33
+ return /* @__PURE__ */ t(z, { children: [
33
34
  b && /* @__PURE__ */ e("div", { className: "fixed inset-0 z-[51] bg-[rgb(98,110,126)] bg-opacity-70" }),
34
35
  /* @__PURE__ */ e("div", {
35
36
  style: { zIndex: 51 },
36
- className: c(T.dialog, !r && T.hidden),
37
+ className: c(T.dialog, !d && T.hidden),
37
38
  children: /* @__PURE__ */ t("div", {
38
- className: V("flex items-center justify-between", !r && "hidden"),
39
+ className: V("flex items-center justify-between", !d && "hidden"),
39
40
  "data-testid": M,
40
41
  children: [/* @__PURE__ */ e("div", {
41
42
  className: "truncate text-lg font-semibold text-delta-800",
42
43
  children: u
43
44
  }), /* @__PURE__ */ t("div", {
44
45
  className: "flex items-center gap-x-1",
45
- children: [q && /* @__PURE__ */ e(h, {
46
+ children: [J && /* @__PURE__ */ e(h, {
46
47
  title: n === "en" ? "Expand" : "Utvid",
47
48
  children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, {
48
49
  dataTest: "minimize-button",
49
50
  variant: "text",
50
51
  size: "small",
51
52
  onClick: E,
52
- endIcon: /* @__PURE__ */ e(re, {
53
+ endIcon: /* @__PURE__ */ e(ne, {
53
54
  height: 20,
54
55
  width: 20,
55
56
  color: "text-gama-500"
56
57
  }),
57
- children: L
58
+ children: U
58
59
  }) })
59
- }), N && /* @__PURE__ */ e(h, {
60
+ }), k && /* @__PURE__ */ e(h, {
60
61
  title: n === "en" ? "Close" : "Lukk",
61
62
  children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, {
62
63
  dataTest: "close-button",
63
64
  variant: "textGray",
64
65
  size: "small",
65
- onClick: k,
66
+ onClick: I,
66
67
  endIcon: /* @__PURE__ */ e(O, {
67
68
  height: 20,
68
69
  width: 20,
69
70
  color: "text-delta-700"
70
71
  }),
71
- children: z
72
+ children: N
72
73
  }) })
73
74
  })]
74
75
  })]
75
76
  })
76
77
  }),
77
78
  /* @__PURE__ */ t("div", {
78
- style: te,
79
- className: c("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300", I && !r && !a ? I : "", r && "!h-0 !w-0 opacity-0 duration-0", b && "fixed duration-0"),
79
+ style: le,
80
+ className: c("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300", y && !d && !a ? y : "", d && "!h-0 !w-0 opacity-0 duration-0", b && "fixed duration-0"),
80
81
  "data-testid": M,
81
82
  children: [/* @__PURE__ */ t("div", {
82
83
  className: "flex flex-col gap-y-2 border-b-[1px] border-delta-200 p-4",
@@ -91,56 +92,56 @@ var Ce = ({ onCloseText: z = "", onMinimizeText: K = "", onExpandText: L = "", o
91
92
  }), /* @__PURE__ */ t("div", {
92
93
  className: "flex items-center gap-x-1",
93
94
  children: [
94
- Q,
95
- U && /* @__PURE__ */ e(h, {
95
+ X,
96
+ H && /* @__PURE__ */ e(h, {
96
97
  title: n === "en" ? "Minimize" : "Minimer",
97
98
  children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, {
98
99
  dataTest: "minimize-button",
99
100
  variant: "textGray",
100
101
  size: "small",
101
102
  onClick: E,
102
- endIcon: /* @__PURE__ */ e(le, {
103
+ endIcon: /* @__PURE__ */ e(re, {
103
104
  height: 20,
104
105
  width: 20,
105
106
  color: "text-delta-700"
106
107
  }),
107
- children: K
108
+ children: R
108
109
  }) })
109
110
  }),
110
- X && H && /* @__PURE__ */ e(h, {
111
+ Z && Q && /* @__PURE__ */ e(h, {
111
112
  title: a ? n === "en" ? "Exit full screen" : "Avslutt fullskjerm" : n === "en" ? "Full screen" : "Fullskjerm",
112
113
  children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, {
113
114
  dataTest: "fullscreen-button",
114
115
  variant: "textGray",
115
116
  size: "small",
116
- onClick: (d) => {
117
- _ !== void 0 && F ? F() : Z(!G), d.detail !== 0 && d.currentTarget.blur();
117
+ onClick: (r) => {
118
+ F !== void 0 && _ ? _() : A(!G), r.detail !== 0 && r.currentTarget.blur();
118
119
  },
119
- endIcon: a ? /* @__PURE__ */ e(se, {
120
+ endIcon: a ? /* @__PURE__ */ e(he, {
120
121
  width: 20,
121
122
  height: 20,
122
123
  color: "text-delta-700"
123
- }) : /* @__PURE__ */ e(oe, {
124
+ }) : /* @__PURE__ */ e(ce, {
124
125
  width: 20,
125
126
  height: 20,
126
127
  color: "text-delta-700"
127
128
  }),
128
- children: R
129
+ children: q
129
130
  }) })
130
131
  }),
131
- N && /* @__PURE__ */ e(h, {
132
+ k && /* @__PURE__ */ e(h, {
132
133
  title: n === "en" ? "Close" : "Lukk",
133
134
  children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, {
134
135
  dataTest: "close-button",
135
136
  variant: "textGray",
136
137
  size: "small",
137
- onClick: k,
138
+ onClick: I,
138
139
  endIcon: /* @__PURE__ */ e(O, {
139
140
  height: 20,
140
141
  width: 20,
141
142
  color: "text-delta-700"
142
143
  }),
143
- children: z
144
+ children: N
144
145
  }) })
145
146
  })
146
147
  ]
@@ -150,32 +151,32 @@ var Ce = ({ onCloseText: z = "", onMinimizeText: K = "", onExpandText: L = "", o
150
151
  children: u
151
152
  })]
152
153
  }), /* @__PURE__ */ t("div", {
153
- className: V("flex flex-col", a && !r && "h-[87dvh]"),
154
+ className: V("flex flex-col", a && !d && "h-[87dvh]"),
154
155
  children: [/* @__PURE__ */ e("div", {
155
156
  className: "flex-grow overflow-y-auto",
156
157
  children: typeof v == "function" ? v({ fullScreen: a }) : v
157
- }), (Array.isArray(l) && l.length || typeof l == "function") && s || C ? /* @__PURE__ */ t("div", {
158
- className: c("flex items-center justify-between border-0 border-t-[1px] border-solid border-delta-200 bg-white p-4", W),
158
+ }), (K(l) && l.length || L(l)) && s || C ? /* @__PURE__ */ t("div", {
159
+ className: c("flex items-center justify-between border-0 border-t-[1px] border-solid border-delta-200 bg-white p-4", Y),
159
160
  children: [
160
- Array.isArray(l) && l.length && s ? /* @__PURE__ */ t(y, { children: [/* @__PURE__ */ e(i, {
161
+ K(l) && l.length && s ? /* @__PURE__ */ t(z, { children: [/* @__PURE__ */ e(i, {
161
162
  dataTest: "extra-actions-button",
162
163
  variant: "textGray",
163
- startIcon: /* @__PURE__ */ e(ie, {
164
+ startIcon: /* @__PURE__ */ e(de, {
164
165
  width: 24,
165
166
  height: 24
166
167
  }),
167
- onClick: B,
168
+ onClick: te,
168
169
  children: s
169
- }), /* @__PURE__ */ e(de, {
170
- open: A,
171
- anchorEl: P,
172
- onClose: ee,
173
- children: l.map((d) => /* @__PURE__ */ e(ne, {
174
- className: d.className,
175
- onClick: d.onClick,
176
- children: d.label
177
- }, d.label))
178
- })] }) : s && typeof l == "function" && /* @__PURE__ */ e(i, {
170
+ }), /* @__PURE__ */ e(ae, {
171
+ open: B,
172
+ anchorEl: ee,
173
+ onClose: ie,
174
+ children: l.map((r) => /* @__PURE__ */ e(oe, {
175
+ className: r.className,
176
+ onClick: r.onClick,
177
+ children: r.label
178
+ }, r.label))
179
+ })] }) : s && L(l) && /* @__PURE__ */ e(i, {
179
180
  dataTest: "extra-action-button",
180
181
  variant: "text",
181
182
  onClick: l,
@@ -201,7 +202,7 @@ var Ce = ({ onCloseText: z = "", onMinimizeText: K = "", onExpandText: L = "", o
201
202
  })]
202
203
  }) : null
203
204
  ]
204
- }) : /* @__PURE__ */ e(y, { children: D ? /* @__PURE__ */ t("div", {
205
+ }) : /* @__PURE__ */ e(z, { children: D ? /* @__PURE__ */ t("div", {
205
206
  className: c("flex justify-end gap-x-2 border-t-[1px] border-delta-200 p-4", j),
206
207
  children: [o && f && /* @__PURE__ */ e(i, {
207
208
  dataTest: "cancel-button",
@@ -223,5 +224,5 @@ var Ce = ({ onCloseText: z = "", onMinimizeText: K = "", onExpandText: L = "", o
223
224
  ] });
224
225
  };
225
226
  export {
226
- Ce as MinimizableDialog
227
+ Ge as MinimizableDialog
227
228
  };
@@ -1,75 +1,17 @@
1
- import { cn as f } from "../../../helpers/cn.js";
2
- import { resolveSx as g } from "../../../helpers/sx.js";
3
- import { CloseIcon as m } from "../../icons/close-icon/CloseIcon.js";
4
- import { CheckOutlineIcon as u } from "./components/CheckOutlineIcon.js";
5
- import { ErrorOutlineIcon as b } from "./components/ErrorOutlineIcon.js";
6
- import { InfoOutlineIcon as x } from "./components/InfoOutlineIcon.js";
7
- import { WarningAmberOutlineIcon as w } from "./components/WarningAmberOutlineIcon.js";
8
- import { jsx as r, jsxs as p } from "react/jsx-runtime";
9
- var I = {
10
- standard: {
11
- success: "bg-success-50 text-success-700",
12
- info: "bg-info-50 text-info-700",
13
- warning: "bg-warning-50 text-warning-700",
14
- error: "bg-error-50 text-error-700"
1
+ import { CheckOutlineIcon as r } from "./components/CheckOutlineIcon.js";
2
+ import { Alert as e } from "@mui/material";
3
+ import { jsx as t } from "react/jsx-runtime";
4
+ var m = (i) => /* @__PURE__ */ t(e, {
5
+ iconMapping: {
6
+ success: /* @__PURE__ */ t(r, {
7
+ height: 24,
8
+ width: 24,
9
+ fontSize: "inherit"
10
+ }),
11
+ ...i.iconMapping
15
12
  },
16
- filled: {
17
- success: "bg-success-500 text-white",
18
- info: "bg-info-500 text-white",
19
- warning: "bg-warning-500 text-white",
20
- error: "bg-error-500 text-white"
21
- },
22
- outlined: {
23
- success: "border border-success-500 text-success-700",
24
- info: "border border-info-500 text-info-700",
25
- warning: "border border-warning-500 text-warning-700",
26
- error: "border border-error-500 text-error-700"
27
- }
28
- }, A = {
29
- success: /* @__PURE__ */ r(u, {
30
- width: 24,
31
- height: 24
32
- }),
33
- info: /* @__PURE__ */ r(x, {
34
- width: 24,
35
- height: 24
36
- }),
37
- warning: /* @__PURE__ */ r(w, {
38
- width: 24,
39
- height: 24
40
- }),
41
- error: /* @__PURE__ */ r(b, {
42
- width: 24,
43
- height: 24
44
- })
45
- }, E = ({ severity: e = "success", variant: i = "standard", icon: t, iconMapping: s, action: c, onClose: n, children: a, className: l, sx: d, role: h = "alert" }) => {
46
- const o = t === !1 ? null : t ?? s?.[e] ?? A[e];
47
- return /* @__PURE__ */ p("div", {
48
- role: h,
49
- className: f("flex items-center gap-2 rounded-lg px-4 py-2 text-sm", I[i][e], l),
50
- style: g(d),
51
- children: [
52
- o && /* @__PURE__ */ r("span", {
53
- className: "flex shrink-0 items-center",
54
- children: o
55
- }),
56
- /* @__PURE__ */ r("span", {
57
- className: "min-w-0 flex-1",
58
- children: a
59
- }),
60
- c ?? (n && /* @__PURE__ */ r("button", {
61
- type: "button",
62
- "aria-label": "Close",
63
- onClick: n,
64
- className: "flex shrink-0 items-center justify-center rounded-full p-1 hover:bg-black/10",
65
- children: /* @__PURE__ */ r(m, {
66
- width: 18,
67
- height: 18
68
- })
69
- }))
70
- ]
71
- });
72
- };
13
+ ...i
14
+ });
73
15
  export {
74
- E as StyledAlert
16
+ m as StyledAlert
75
17
  };
@@ -1,36 +1,10 @@
1
- import { cn as c } from "../../../helpers/cn.js";
2
- import { useEffect as p } from "react";
3
- import { jsx as l, jsxs as x } from "react/jsx-runtime";
4
- import { FloatingPortal as h } from "@floating-ui/react";
5
- var b = {
6
- "top-left": "top-6 left-6",
7
- "top-center": "top-6 left-1/2 -translate-x-1/2",
8
- "top-right": "top-6 right-6",
9
- "bottom-left": "bottom-6 left-6",
10
- "bottom-center": "bottom-6 left-1/2 -translate-x-1/2",
11
- "bottom-right": "bottom-6 right-6"
12
- }, S = ({ open: t = !1, autoHideDuration: e = 3e3, onClose: r, anchorOrigin: o = {
13
- vertical: "bottom",
14
- horizontal: "left"
15
- }, message: i, action: m, children: a, className: f }) => {
16
- if (p(() => {
17
- if (!t || e == null) return;
18
- const s = setTimeout(() => r?.(null, "timeout"), e);
19
- return () => clearTimeout(s);
20
- }, [
21
- t,
22
- e,
23
- r
24
- ]), !t) return null;
25
- const n = b[`${o.vertical}-${o.horizontal}`];
26
- return /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l("div", {
27
- className: c("fixed z-[1400] flex items-center gap-2", n, f),
28
- children: a ?? /* @__PURE__ */ x("div", {
29
- className: "flex items-center gap-2 rounded-lg bg-delta-800 px-4 py-3 text-sm text-white shadow-lg",
30
- children: [i, m]
31
- })
32
- }) });
33
- };
1
+ import { Snackbar as t } from "@mui/material";
2
+ import { jsx as o } from "react/jsx-runtime";
3
+ var d = ({ children: a, ...r }) => /* @__PURE__ */ o(t, {
4
+ autoHideDuration: r.autoHideDuration ?? 3e3,
5
+ ...r,
6
+ children: a && /* @__PURE__ */ o("div", { children: a })
7
+ });
34
8
  export {
35
- S as StyledSnackbar
9
+ d as StyledSnackbar
36
10
  };
@@ -1,72 +1,73 @@
1
1
  import { omit as f } from "../../../../helpers/omit.js";
2
- import { CloseIcon as u } from "../../../icons/close-icon/CloseIcon.js";
3
- import { CheckOutlineIcon as p } from "./CheckOutlineIcon.js";
2
+ import { CloseIcon as p } from "../../../icons/close-icon/CloseIcon.js";
3
+ import { CheckOutlineIcon as u } from "./CheckOutlineIcon.js";
4
4
  import { ErrorOutlineIcon as g } from "./ErrorOutlineIcon.js";
5
- import { InfoOutlineIcon as b } from "./InfoOutlineIcon.js";
6
- import { WarningAmberOutlineIcon as v } from "./WarningAmberOutlineIcon.js";
7
- import r from "./StyledDefaultSnackbar.module.js";
8
- import o from "clsx";
9
- import { forwardRef as I } from "react";
10
- import { jsx as e, jsxs as n } from "react/jsx-runtime";
11
- import { SnackbarContent as S, useSnackbar as k } from "notistack";
12
- var w = {
13
- info: /* @__PURE__ */ e(b, {
5
+ import { InfoOutlineIcon as I } from "./InfoOutlineIcon.js";
6
+ import { WarningAmberOutlineIcon as S } from "./WarningAmberOutlineIcon.js";
7
+ import i from "./StyledDefaultSnackbar.module.js";
8
+ import t from "clsx";
9
+ import { forwardRef as v } from "react";
10
+ import { IconButton as b } from "@mui/material";
11
+ import { jsx as r, jsxs as n } from "react/jsx-runtime";
12
+ import { SnackbarContent as k, useSnackbar as w } from "notistack";
13
+ var x = {
14
+ info: /* @__PURE__ */ r(I, {
14
15
  height: 24,
15
16
  width: 24
16
17
  }),
17
- error: /* @__PURE__ */ e(g, {
18
+ error: /* @__PURE__ */ r(g, {
18
19
  height: 24,
19
20
  width: 24
20
21
  }),
21
- success: /* @__PURE__ */ e(p, {
22
+ success: /* @__PURE__ */ r(u, {
22
23
  height: 24,
23
24
  width: 24
24
25
  }),
25
- warning: /* @__PURE__ */ e(v, {
26
+ warning: /* @__PURE__ */ r(S, {
26
27
  height: 24,
27
28
  width: 24
28
29
  })
29
- }, R = I((c, l) => {
30
- const { id: a, message: s, severity: t, action: i, title: m, ...d } = f(c, [
30
+ }, B = v((c, l) => {
31
+ const { id: a, message: m, severity: e, action: o, title: s, ...h } = f(c, [
31
32
  "anchorOrigin",
32
33
  "autoHideDuration",
33
34
  "hideIconVariant",
34
35
  "iconVariant",
35
36
  "persist"
36
- ]), { closeSnackbar: h } = k();
37
- return /* @__PURE__ */ e(S, {
37
+ ]), { closeSnackbar: d } = w();
38
+ return /* @__PURE__ */ r(k, {
38
39
  ref: l,
39
40
  role: "alert",
40
- ...d,
41
+ ...h,
41
42
  children: /* @__PURE__ */ n("div", {
42
- className: o(r.container, r[t]),
43
+ className: t(i.container, i[e]),
43
44
  children: [
44
45
  /* @__PURE__ */ n("div", {
45
- className: r.header,
46
+ className: i.header,
46
47
  children: [/* @__PURE__ */ n("div", {
47
- className: o(r.title, r[`title_${t}`]),
48
- children: [w[t], /* @__PURE__ */ e("span", { children: m ?? t })]
49
- }), /* @__PURE__ */ e("button", {
50
- type: "button",
48
+ className: t(i.title, i[`title_${e}`]),
49
+ children: [x[e], /* @__PURE__ */ r("span", { children: s ?? e })]
50
+ }), /* @__PURE__ */ r(b, {
51
51
  "aria-label": "close",
52
- className: "flex items-center justify-center rounded-full p-[2px] hover:bg-black/10",
53
- onClick: () => h(a),
54
- children: /* @__PURE__ */ e(u, {
52
+ color: "inherit",
53
+ sx: { p: "2px" },
54
+ onClick: () => d(a),
55
+ children: /* @__PURE__ */ r(p, {
55
56
  width: 20,
56
57
  height: 20,
57
58
  color: "#49525F"
58
59
  })
59
60
  })]
60
61
  }),
61
- /* @__PURE__ */ e("div", {
62
- className: o(r.message, r[`message_${t}`]),
63
- children: s
62
+ /* @__PURE__ */ r("div", {
63
+ className: t(i.message, i[`message_${e}`]),
64
+ children: m
64
65
  }),
65
- i ? /* @__PURE__ */ e("div", { children: typeof i == "function" ? i(a) : i }) : null
66
+ o ? /* @__PURE__ */ r("div", { children: typeof o == "function" ? o(a) : o }) : null
66
67
  ]
67
68
  })
68
69
  });
69
70
  });
70
71
  export {
71
- R as StyledDefaultSnackbar
72
+ B as StyledDefaultSnackbar
72
73
  };
@@ -1,14 +1,14 @@
1
- var _ = "_container_147nx_1", e = "_header_147nx_13", r = "_title_147nx_19", a = "_message_147nx_28", n = "_info_147nx_36", s = "_error_147nx_41", t = "_success_147nx_46", i = "_warning_147nx_51", v = "_title_info_147nx_57", x = "_title_error_147nx_61", g = "_title_success_147nx_65", o = "_title_warning_147nx_69", c = "_message_info_147nx_74", l = "_message_error_147nx_78", m = "_message_success_147nx_82", u = "_message_warning_147nx_86", f = {
2
- container: _,
3
- header: e,
1
+ var e = "_container_1e4wt_1", _ = "_header_1e4wt_13", r = "_title_1e4wt_19", a = "_message_1e4wt_28", t = "_info_1e4wt_36", s = "_error_1e4wt_41", i = "_success_1e4wt_46", n = "_warning_1e4wt_51", w = "_title_info_1e4wt_57", v = "_title_error_1e4wt_61", g = "_title_success_1e4wt_65", o = "_title_warning_1e4wt_69", c = "_message_info_1e4wt_74", l = "_message_error_1e4wt_78", m = "_message_success_1e4wt_82", u = "_message_warning_1e4wt_86", f = {
2
+ container: e,
3
+ header: _,
4
4
  title: r,
5
5
  message: a,
6
- info: n,
6
+ info: t,
7
7
  error: s,
8
- success: t,
9
- warning: i,
10
- title_info: v,
11
- title_error: x,
8
+ success: i,
9
+ warning: n,
10
+ title_info: w,
11
+ title_error: v,
12
12
  title_success: g,
13
13
  title_warning: o,
14
14
  message_info: c,
@@ -1,14 +1,14 @@
1
- var _ = "_contained_1cv9m_6", t = "_common_1cv9m_6", a = "_medium_1cv9m_45", e = "_small_1cv9m_50", m = "_large_1cv9m_55", r = "_error_1cv9m_65", v = "_outlined_1cv9m_124", c = "_text_1cv9m_242", o = "_textGray_1cv9m_358", l = "_textWhite_1cv9m_416", u = {
2
- "asma-ui-core-button": "_asma-ui-core-button_1cv9m_1",
1
+ var _ = "_contained_654yh_6", t = "_common_654yh_6", a = "_medium_654yh_45", e = "_small_654yh_50", r = "_large_654yh_55", o = "_error_654yh_65", y = "_outlined_654yh_124", h = "_text_654yh_242", m = "_textGray_654yh_358", l = "_textWhite_654yh_416", u = {
2
+ "asma-ui-core-button": "_asma-ui-core-button_654yh_1",
3
3
  contained: _,
4
4
  common: t,
5
5
  medium: a,
6
6
  small: e,
7
- large: m,
8
- error: r,
9
- outlined: v,
10
- text: c,
11
- textGray: o,
7
+ large: r,
8
+ error: o,
9
+ outlined: y,
10
+ text: h,
11
+ textGray: m,
12
12
  textWhite: l
13
13
  };
14
14
  export {
@@ -0,0 +1,20 @@
1
+ import { Checkbox as r } from "@mui/material";
2
+ import { jsx as i } from "react/jsx-runtime";
3
+ var c = ({ dataTest: t, ...o }) => /* @__PURE__ */ i(r, {
4
+ ...o,
5
+ "data-testid": t,
6
+ sx: {
7
+ ...o.sx,
8
+ "&.MuiCheckbox-root": { color: "var(--colors-delta-500) !important" },
9
+ "&.MuiCheckbox-root.Mui-checked": { color: "var(--colors-gama-500) !important" },
10
+ "&.MuiCheckbox-root.MuiCheckbox-indeterminate": { color: "var(--colors-gama-500) !important" },
11
+ "&.MuiCheckbox-root.Mui-disabled": { color: "var(--colors-delta-200) !important" },
12
+ "&.MuiCheckbox-root .PrivateSwitchBase-input": {
13
+ height: "100% !important",
14
+ width: "100% !important"
15
+ }
16
+ }
17
+ });
18
+ export {
19
+ c as StyledCheckbox
20
+ };