asma-ui-core 3.34.0 → 3.36.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 (198) hide show
  1. package/dist/asma-ui-core.css +1 -1
  2. package/dist/components/data-display/badge/StyledBadge.js +29 -24
  3. package/dist/components/data-display/chip/StyledChip.js +45 -60
  4. package/dist/components/data-display/interactive-chip/StyledInteractiveChip.js +32 -38
  5. package/dist/components/data-display/tooltip/StyledTooltip.js +50 -33
  6. package/dist/components/data-display/typography/StyledTypography.js +62 -4
  7. package/dist/components/feedback/dialog/StyledDialog.js +70 -50
  8. package/dist/components/feedback/dialog/StyledDialog.module.js +2 -9
  9. package/dist/components/feedback/dialog/StyledDialogActions.js +16 -16
  10. package/dist/components/feedback/dialog/StyledDialogContent.js +17 -14
  11. package/dist/components/feedback/dialog/StyledDialogTitle.js +18 -13
  12. package/dist/components/feedback/minimizable-dialog/MinimizableDialog.js +56 -57
  13. package/dist/components/feedback/snack-bar/StyledAlert.js +72 -14
  14. package/dist/components/feedback/snack-bar/StyledSnackbar.js +34 -8
  15. package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.js +33 -34
  16. package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.js +55 -58
  17. package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.module.js +12 -12
  18. package/dist/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.js +1 -1
  19. package/dist/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.js +1 -1
  20. package/dist/components/inputs/field-styles.js +6 -0
  21. package/dist/components/inputs/input-field/StyledInputField.js +104 -81
  22. package/dist/components/inputs/input-field/StyledInputField.module.js +4 -0
  23. package/dist/components/inputs/radio-button/base-ui/RadioGroupContext.js +6 -0
  24. package/dist/components/inputs/radio-button/base-ui/StyledRadio.js +40 -29
  25. package/dist/components/inputs/radio-button/base-ui/StyledRadio.module.js +10 -10
  26. package/dist/components/inputs/radio-button/base-ui/StyledRadioGroup.js +35 -23
  27. package/dist/components/inputs/select/StyledSelect.js +124 -45
  28. package/dist/components/inputs/select/StyledSelectItem.js +19 -23
  29. package/dist/components/inputs/select-autocomplete/StyledSelectAutocomplete.js +181 -151
  30. package/dist/components/inputs/slider/StyledSlider.js +78 -52
  31. package/dist/components/inputs/slider/StyledSlider.module.js +10 -0
  32. package/dist/components/inputs/switch/base-ui/StyledSwitch.js +44 -39
  33. package/dist/components/miscellaneous/FormControlContext.js +6 -0
  34. package/dist/components/miscellaneous/StyledFormControl.js +39 -21
  35. package/dist/components/miscellaneous/StyledFormControlLabel.js +27 -16
  36. package/dist/components/miscellaneous/StyledFormGroup.js +16 -4
  37. package/dist/components/miscellaneous/StyledFormHelperText.js +12 -4
  38. package/dist/components/miscellaneous/StyledInputLabel.js +20 -4
  39. package/dist/components/mui-compat/Avatar.js +29 -0
  40. package/dist/components/mui-compat/ClickAwayListener.js +29 -0
  41. package/dist/components/mui-compat/Container.js +24 -0
  42. package/dist/components/mui-compat/Fade.js +29 -0
  43. package/dist/components/mui-compat/Fade.module.js +9 -0
  44. package/dist/components/mui-compat/FormLabel.js +22 -0
  45. package/dist/components/mui-compat/Paper.js +44 -0
  46. package/dist/components/mui-compat/Popper.js +35 -0
  47. package/dist/components/mui-compat/Skeleton.js +26 -0
  48. package/dist/components/mui-compat/Stack.js +24 -0
  49. package/dist/components/navigation/drawer/StyledDrawer.js +42 -4
  50. package/dist/components/navigation/listbox/Listbox.js +7 -7
  51. package/dist/components/navigation/menu/StyledMenu.js +28 -11
  52. package/dist/components/navigation/menu/StyledMenuItem.js +16 -18
  53. package/dist/components/navigation/menu/StyledMenuList.js +32 -4
  54. package/dist/components/navigation/tabs/StyledTab.js +25 -13
  55. package/dist/components/navigation/tabs/StyledTabs.js +112 -64
  56. package/dist/components/navigation/tabs/TabsContext.js +6 -0
  57. package/dist/components/utils/accordion/base-ui/AccordionContext.js +10 -0
  58. package/dist/components/utils/accordion/base-ui/StyledAccordion.js +28 -21
  59. package/dist/components/utils/accordion/base-ui/StyledAccordion.module.js +7 -7
  60. package/dist/components/utils/accordion/base-ui/StyledAccordionDetails.js +28 -14
  61. package/dist/components/utils/accordion/base-ui/StyledAccordionSummary.js +31 -27
  62. package/dist/components/utils/popover/StyledPopover.js +44 -15
  63. package/dist/datetime/components/date-picker/StyledDatePicker.js +6 -6
  64. package/dist/datetime/components/date-picker/components/BaseDatePickerInput.js +1 -1
  65. package/dist/datetime/components/date-picker/components/HelperTextWithTooltip.js +6 -6
  66. package/dist/datetime/components/date-picker/components/StyledCalendarPicker.js +11 -11
  67. package/dist/datetime/components/date-picker/components/StyledCalendarPickerFooter.js +13 -14
  68. package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectMonth.js +14 -14
  69. package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectYear.js +6 -6
  70. package/dist/datetime/components/date-picker/components/StyledDayPicker.js +4 -5
  71. package/dist/datetime/components/date-picker/hooks/useDatePickerMask.js +4 -4
  72. package/dist/datetime/components/time-picker/StyledTimePicker.js +25 -25
  73. package/dist/datetime/components/time-picker/TimePickerInput.js +15 -16
  74. package/dist/datetime/components/time-picker/TimePickerPopper.js +21 -19
  75. package/dist/datetime/helpers/cn.js +4 -5
  76. package/dist/helpers/arrays.js +4 -0
  77. package/dist/helpers/cn.js +4 -5
  78. package/dist/helpers/inputMask.js +45 -0
  79. package/dist/helpers/sx.js +46 -0
  80. package/dist/index.js +183 -175
  81. package/dist/src/api-surface.test.d.ts +1 -0
  82. package/dist/src/components/data-display/badge/StyledBadge.d.ts +26 -2
  83. package/dist/src/components/data-display/chip/StyledChip.d.ts +39 -5
  84. package/dist/src/components/data-display/interactive-chip/StyledInteractiveChip.d.ts +11 -4
  85. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +36 -2
  86. package/dist/src/components/data-display/typography/StyledTypography.d.ts +19 -1
  87. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +50 -4
  88. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +12 -2
  89. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +12 -2
  90. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +10 -2
  91. package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +1 -1
  92. package/dist/src/components/feedback/snack-bar/StyledAlert.d.ts +24 -2
  93. package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +1 -1
  94. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +21 -2
  95. package/dist/src/components/feedback/snack-bar/components/StyledDefaultSnackbar.d.ts +1 -1
  96. package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +1 -1
  97. package/dist/src/components/feedback/snack-bar/components/types.d.ts +1 -1
  98. package/dist/src/components/inputs/checkbox/base-ui/StyledCheckbox.d.ts +9 -4
  99. package/dist/src/components/inputs/dynamic-select/types.d.ts +2 -2
  100. package/dist/src/components/inputs/field-styles.d.ts +22 -0
  101. package/dist/src/components/inputs/input-field/StyledInputField.d.ts +67 -11
  102. package/dist/src/components/inputs/input-field/index.d.ts +1 -1
  103. package/dist/src/components/inputs/radio-button/base-ui/RadioGroupContext.d.ts +10 -0
  104. package/dist/src/components/inputs/radio-button/base-ui/StyledRadio.d.ts +20 -5
  105. package/dist/src/components/inputs/radio-button/base-ui/StyledRadioGroup.d.ts +24 -7
  106. package/dist/src/components/inputs/select/StyledSelect.d.ts +39 -16
  107. package/dist/src/components/inputs/select/StyledSelectItem.d.ts +14 -2
  108. package/dist/src/components/inputs/select/index.d.ts +0 -1
  109. package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +88 -17
  110. package/dist/src/components/inputs/slider/StyledSlider.d.ts +55 -3
  111. package/dist/src/components/inputs/switch/base-ui/StyledSwitch.d.ts +20 -4
  112. package/dist/src/components/miscellaneous/FormControlContext.d.ts +14 -0
  113. package/dist/src/components/miscellaneous/StyledFormControl.d.ts +22 -2
  114. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +21 -2
  115. package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +11 -2
  116. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +12 -2
  117. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +20 -2
  118. package/dist/src/components/mui-compat/Avatar.d.ts +6 -0
  119. package/dist/src/components/mui-compat/ClickAwayListener.d.ts +19 -0
  120. package/dist/src/components/mui-compat/Container.d.ts +6 -0
  121. package/dist/src/components/mui-compat/Fade.d.ts +21 -0
  122. package/dist/src/components/mui-compat/FormLabel.d.ts +6 -0
  123. package/dist/src/components/mui-compat/Paper.d.ts +6 -0
  124. package/dist/src/components/mui-compat/Popper.d.ts +29 -0
  125. package/dist/src/components/mui-compat/Skeleton.d.ts +7 -0
  126. package/dist/src/components/mui-compat/Stack.d.ts +7 -0
  127. package/dist/src/components/mui-compat/index.d.ts +9 -0
  128. package/dist/src/components/mui-compat/types.d.ts +46 -0
  129. package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +28 -2
  130. package/dist/src/components/navigation/menu/StyledMenu.d.ts +33 -2
  131. package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +23 -2
  132. package/dist/src/components/navigation/menu/StyledMenuList.d.ts +16 -2
  133. package/dist/src/components/navigation/menu/index.d.ts +0 -1
  134. package/dist/src/components/navigation/tabs/StyledTab.d.ts +17 -3
  135. package/dist/src/components/navigation/tabs/StyledTabs.d.ts +16 -7
  136. package/dist/src/components/navigation/tabs/TabsContext.d.ts +11 -0
  137. package/dist/src/components/utils/accordion/base-ui/AccordionContext.d.ts +10 -0
  138. package/dist/src/components/utils/accordion/base-ui/StyledAccordion.d.ts +9 -3
  139. package/dist/src/components/utils/accordion/base-ui/StyledAccordionDetails.d.ts +5 -0
  140. package/dist/src/components/utils/accordion/base-ui/StyledAccordionSummary.d.ts +8 -4
  141. package/dist/src/components/utils/copy-wrapper/CopyWrapper.d.ts +1 -1
  142. package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +2 -2
  143. package/dist/src/components/utils/popover/StyledPopover.d.ts +32 -2
  144. package/dist/src/datetime/components/date-picker/components/StyledCalendarPicker.d.ts +1 -1
  145. package/dist/src/datetime/components/date-picker/components/StyledDayPicker.d.ts +1 -1
  146. package/dist/src/datetime/components/date-picker/hooks/useDatePickerMask.d.ts +1 -2
  147. package/dist/src/datetime/components/time-picker/TimePickerInput.d.ts +1 -1
  148. package/dist/src/datetime/components/time-picker/TimePickerPopper.d.ts +1 -1
  149. package/dist/src/datetime/components/time-picker/types.d.ts +1 -2
  150. package/dist/src/datetime/shared-components/StyledFormControl.d.ts +1 -2
  151. package/dist/src/datetime/shared-components/StyledInputField.d.ts +1 -12
  152. package/dist/src/datetime/shared-components/StyledSelect.d.ts +1 -16
  153. package/dist/src/datetime/shared-components/StyledSelectItem.d.ts +1 -2
  154. package/dist/src/datetime/shared-components/StyledTooltip.d.ts +1 -2
  155. package/dist/src/helpers/arrays.d.ts +2 -0
  156. package/dist/src/helpers/arrays.test.d.ts +1 -0
  157. package/dist/src/helpers/inputMask.d.ts +29 -0
  158. package/dist/src/helpers/inputMask.test.d.ts +1 -0
  159. package/dist/src/helpers/sx.d.ts +2 -0
  160. package/dist/src/helpers/sx.test.d.ts +1 -0
  161. package/dist/src/index.d.ts +1 -1
  162. package/dist/src/table/shared-components/StyledCheckbox.d.ts +7 -4
  163. package/dist/src/table/shared-components/StyledMenuItem.d.ts +18 -2
  164. package/dist/src/table/shared-components/menu-item/index.d.ts +13 -2
  165. package/dist/src/table/shared-components/tooltip/index.d.ts +5 -1
  166. package/dist/src/table/types.d.ts +1 -1
  167. package/dist/table/components/Fetching.js +4 -4
  168. package/dist/table/components/TableRow.js +7 -7
  169. package/dist/table/components/TableSkeleton.js +6 -6
  170. package/dist/table/components/columns/action-column/components/HeaderActionMenu.js +24 -24
  171. package/dist/table/components/columns/action-column/components/RowActionMenu.js +26 -25
  172. package/dist/table/components/table-footer/TablePagination.js +27 -24
  173. package/dist/table/components/table-footer/TableRowCountSelect.js +30 -27
  174. package/dist/table/helpers/cn.js +4 -5
  175. package/dist/table/shared-components/StyledCheckbox.js +54 -55
  176. package/dist/table/shared-components/StyledCheckbox.module.js +10 -10
  177. package/dist/table/shared-components/StyledMenuItem.js +12 -18
  178. package/dist/table/shared-components/menu-item/index.js +13 -17
  179. package/dist/table/shared-components/tooltip/index.js +4 -23
  180. package/package.json +9 -16
  181. package/dist/components/feedback/dialog/StyledDialogActions.module.js +0 -8
  182. package/dist/components/feedback/dialog/StyledDialogContent.module.js +0 -4
  183. package/dist/components/feedback/dialog/StyledDialogTitle.module.js +0 -4
  184. package/dist/components/inputs/checkbox/StyledCheckbox.js +0 -20
  185. package/dist/components/inputs/radio-button/StyledRadio.js +0 -17
  186. package/dist/datetime/shared-components/ExpandIcon.js +0 -18
  187. package/dist/datetime/shared-components/StyledFormControl.js +0 -23
  188. package/dist/datetime/shared-components/StyledInputField.js +0 -47
  189. package/dist/datetime/shared-components/StyledSelect.js +0 -47
  190. package/dist/datetime/shared-components/StyledSelectItem.js +0 -13
  191. package/dist/datetime/shared-components/StyledTooltip.js +0 -32
  192. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +0 -4
  193. package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +0 -4
  194. package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +0 -4
  195. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +0 -5
  196. package/dist/src/components/utils/accordion/StyledAccordion.d.ts +0 -2
  197. package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +0 -2
  198. package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +0 -8
@@ -1,21 +1,15 @@
1
- import t from "clsx";
2
- import { MenuItem as r } from "@mui/material";
3
- import { jsx as e } from "react/jsx-runtime";
4
- var m = (o) => /* @__PURE__ */ e(r, {
5
- ...o,
6
- classes: {
7
- root: t("px-3 py-2.5", o.classes?.root),
8
- ...o.classes
9
- },
10
- sx: {
11
- "&.Mui-disabled": {
12
- pointerEvents: "auto",
13
- cursor: "not-allowed",
14
- "&:hover": { backgroundColor: "transparent !important" }
15
- },
16
- ...o.sx
17
- }
1
+ import { cn as l } from "../helpers/cn.js";
2
+ import { jsx as c } from "react/jsx-runtime";
3
+ var s = ({ children: o, disabled: e, selected: r, className: t, classes: n, onClick: i, onMouseDown: m, onMouseUp: a }) => /* @__PURE__ */ c("li", {
4
+ role: "menuitem",
5
+ "aria-disabled": e ? !0 : void 0,
6
+ tabIndex: -1,
7
+ onClick: e ? void 0 : i,
8
+ onMouseDown: m,
9
+ onMouseUp: a,
10
+ className: l("flex items-center px-3 py-2.5 outline-none", e ? "cursor-not-allowed" : "cursor-pointer hover:bg-delta-50", r && "bg-gama-50", n?.root, t),
11
+ children: o
18
12
  });
19
13
  export {
20
- m as StyledMenuItem
14
+ s as StyledMenuItem
21
15
  };
@@ -1,23 +1,19 @@
1
- import { CheckIcon as r } from "../CheckIcon.js";
2
- import { MenuItem as e } from "@mui/material";
3
- import { jsx as a, jsxs as t } from "react/jsx-runtime";
4
- var n = (o) => /* @__PURE__ */ t(e, {
5
- classes: { root: "flex gap-x-1" },
6
- sx: {
7
- padding: "8px",
8
- "&.Mui-selected": {
9
- backgroundColor: "var(--colors-gama-50)",
10
- "&:hover": { backgroundColor: "var(--colors-gama-50)" }
11
- }
12
- },
13
- ...o,
14
- children: [/* @__PURE__ */ a(r, {
1
+ import { cn as n } from "../../helpers/cn.js";
2
+ import { CheckIcon as i } from "../CheckIcon.js";
3
+ import { jsx as m, jsxs as l } from "react/jsx-runtime";
4
+ var p = ({ children: e, selected: r, disabled: o, className: t, onClick: a }) => /* @__PURE__ */ l("li", {
5
+ role: "menuitem",
6
+ "aria-disabled": o ? !0 : void 0,
7
+ tabIndex: -1,
8
+ onClick: o ? void 0 : a,
9
+ className: n("flex items-center gap-x-1 p-2 outline-none", o ? "cursor-not-allowed" : "cursor-pointer hover:bg-delta-50", r && "bg-gama-50 hover:bg-gama-50", t),
10
+ children: [/* @__PURE__ */ m(i, {
15
11
  width: 24,
16
12
  height: 24,
17
- color: o.selected ? "var(--colors-gama-500)" : "transparent",
13
+ color: r ? "var(--colors-gama-500)" : "transparent",
18
14
  style: { transition: "color 0.2s ease" }
19
- }), o.children]
15
+ }), e]
20
16
  });
21
17
  export {
22
- n as StyledMenuItem
18
+ p as StyledMenuItem
23
19
  };
@@ -1,29 +1,10 @@
1
- import { Tooltip as o } from "@mui/material";
1
+ import { StyledTooltip as t } from "../../../components/data-display/tooltip/StyledTooltip.js";
2
2
  import { jsx as r } from "react/jsx-runtime";
3
- import p from "@mui/material/Fade";
4
- var m = (t) => /* @__PURE__ */ r(o, {
5
- slots: { transition: p },
6
- slotProps: {
7
- transition: { timeout: 300 },
8
- tooltip: { sx: {
9
- borderRadius: "3px !important",
10
- "& .MuiTooltip-arrow": { color: "#363E4A !important" },
11
- color: "white !important",
12
- boxShadow: "0px 1px 4px 0px rgba(0, 0, 0, 0.25) !important",
13
- display: "flex !important",
14
- padding: "4px 8px !important",
15
- alignItems: "center !important",
16
- fontSize: "12px !important",
17
- lineHeight: "16px !important",
18
- letterSpacing: " 0.24px !important",
19
- bgcolor: "#363E4A !important",
20
- wordBreak: "break-word !important"
21
- } }
22
- },
3
+ var l = (o) => /* @__PURE__ */ r(t, {
23
4
  arrow: !0,
24
5
  placement: "top",
25
- ...t
6
+ ...o
26
7
  });
27
8
  export {
28
- m as StyledTooltip
9
+ l as StyledTooltip
29
10
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.34.0",
6
+ "version": "3.36.0",
7
7
  "type": "module",
8
8
  "sideEffects": [
9
9
  "**/*.css",
@@ -60,6 +60,9 @@
60
60
  "storybook": "storybook dev -p 6006",
61
61
  "storybook:no-browser": "storybook dev -p 6006 --no-open",
62
62
  "build-storybook": "export NODE_OPTIONS=--max_old_space_size=6240 && storybook build",
63
+ "vrt": "bash scripts/vrt.sh check",
64
+ "vrt:accept": "bash scripts/vrt.sh accept",
65
+ "vrt:report": "playwright show-report",
63
66
  "test-storybook": "npx vitest --project=storybook",
64
67
  "changeset:pre-beta": "changeset pre enter beta",
65
68
  "changeset:pre-exit": "changeset pre exit",
@@ -72,31 +75,24 @@
72
75
  "node": ">=24 <25"
73
76
  },
74
77
  "dependencies": {
75
- "@base-ui/react": "^1.5.0",
76
78
  "@dnd-kit/core": "^6.1.0",
77
79
  "@dnd-kit/modifiers": "^7.0.0",
78
80
  "@dnd-kit/sortable": "^8.0.0",
79
81
  "@dnd-kit/utilities": "^3.2.2",
80
- "@react-input/mask": "^1.2.5",
82
+ "@floating-ui/react": "^0.27.19",
81
83
  "@tanstack/react-table": "^8.21.3",
82
84
  "@tanstack/react-virtual": "^3.13.21",
83
85
  "clsx": "^1.2.1",
84
86
  "date-fns": "^3.6.0",
85
- "lodash-es": "^4.18.1",
86
- "material-ui-popup-state": "^5.3.6",
87
87
  "notistack": "^3.0.2",
88
- "react-day-picker": "^9.14.0",
89
- "tailwind-merge": "^2.5.2"
88
+ "react-day-picker": "^9.14.0"
90
89
  },
91
90
  "devDependencies": {
92
91
  "@changesets/cli": "^2.26.2",
93
92
  "@chromatic-com/storybook": "^5.1.1",
94
- "@emotion/react": "^11.11.1",
95
- "@emotion/styled": "^11.11.0",
96
- "@mui/material": "^9.0.1",
97
- "@faker-js/faker": "^8.0.2",
98
- "@tippyjs/react": "^4.2.6",
99
93
  "@eslint/js": "^9.39.2",
94
+ "@faker-js/faker": "^8.0.2",
95
+ "@playwright/test": "1.60.0",
100
96
  "@storybook/addon-a11y": "10.3.3",
101
97
  "@storybook/addon-docs": "10.3.3",
102
98
  "@storybook/addon-links": "10.3.3",
@@ -104,7 +100,7 @@
104
100
  "@storybook/addon-vitest": "10.3.3",
105
101
  "@storybook/react-vite": "10.3.3",
106
102
  "@storybook/test-runner": "^0.24.3",
107
- "@types/lodash-es": "^4.17.7",
103
+ "@tippyjs/react": "^4.2.6",
108
104
  "@types/node": "^24.12.4",
109
105
  "@types/react": "^18.3.23",
110
106
  "@types/react-copy-to-clipboard": "^5.0.7",
@@ -143,9 +139,6 @@
143
139
  "vitest": "^4.0.16"
144
140
  },
145
141
  "peerDependencies": {
146
- "@emotion/react": "^11.*",
147
- "@emotion/styled": "^11.*",
148
- "@mui/material": "^9.0.0",
149
142
  "react": "^18.0.0 || ^19.0.0",
150
143
  "react-dom": "^18.0.0 || ^19.0.0"
151
144
  },
@@ -1,8 +0,0 @@
1
- var t = {
2
- "styled-dialog-actions-root": "_styled-dialog-actions-root_3l3r7_1",
3
- "styled-dialog-actions": "_styled-dialog-actions_3l3r7_1",
4
- "action-button-wrapper": "_action-button-wrapper_3l3r7_17"
5
- };
6
- export {
7
- t as default
8
- };
@@ -1,4 +0,0 @@
1
- var t = { "styled-dialog-content": "_styled-dialog-content_d2vki_1" };
2
- export {
3
- t as default
4
- };
@@ -1,4 +0,0 @@
1
- var t = { "styled-dialog-title-root": "_styled-dialog-title-root_mcspk_1" };
2
- export {
3
- t as default
4
- };
@@ -1,20 +0,0 @@
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
- };
@@ -1,17 +0,0 @@
1
- import { Radio as r } from "@mui/material";
2
- import { jsx as a } from "react/jsx-runtime";
3
- var e = ({ dataTest: o, ...t }) => /* @__PURE__ */ a(r, {
4
- ...t,
5
- "data-testid": o,
6
- sx: {
7
- "&": { color: "var(--colors-delta-500)" },
8
- "& input": {
9
- height: "100% !important",
10
- width: "100% !important"
11
- },
12
- "&.Mui-checked": { color: "var(--colors-gama-500)" }
13
- }
14
- });
15
- export {
16
- e as StyledRadio
17
- };
@@ -1,18 +0,0 @@
1
- import "react";
2
- import { jsx as t } from "react/jsx-runtime";
3
- function i(r) {
4
- return /* @__PURE__ */ t("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- width: "1em",
7
- height: "1em",
8
- viewBox: "0 0 24 24",
9
- ...r,
10
- children: /* @__PURE__ */ t("path", {
11
- fill: "currentColor",
12
- d: "M12 14.95q-.2 0-.375-.062t-.325-.213l-4.6-4.6q-.275-.275-.275-.7t.275-.7t.7-.275t.7.275l3.9 3.9l3.9-3.9q.275-.275.7-.275t.7.275t.275.7t-.275.7l-4.6 4.6q-.15.15-.325.213T12 14.95"
13
- })
14
- });
15
- }
16
- export {
17
- i as ExpandIcon
18
- };
@@ -1,23 +0,0 @@
1
- import { FormControl as r } from "@mui/material";
2
- import { jsx as t } from "react/jsx-runtime";
3
- var l = (o) => /* @__PURE__ */ t(r, {
4
- ...o,
5
- sx: {
6
- ...o.sx,
7
- "& label.MuiInputLabel-shrink": {
8
- background: "white !important",
9
- color: "var(--colors-delta-500) !important"
10
- },
11
- "& label.MuiInputLabel-shrink.Mui-focused": {
12
- background: "white !important",
13
- color: "var(--colors-gama-500) !important"
14
- },
15
- "& label.MuiInputLabel-shrink.Mui-error.Mui-focused": {
16
- background: "white !important",
17
- color: "var(--colors-red-500) !important"
18
- }
19
- }
20
- });
21
- export {
22
- l as StyledFormControl
23
- };
@@ -1,47 +0,0 @@
1
- import { TextField as i } from "@mui/material";
2
- import { jsx as a } from "react/jsx-runtime";
3
- var d = ({ readOnly: o, disabled: t, dataTest: e, ...r }) => /* @__PURE__ */ a(i, {
4
- ...r,
5
- "data-test": e,
6
- disabled: !!t || !!o,
7
- type: r.type ?? "mui-input",
8
- sx: {
9
- "& input:-webkit-autofill, & .MuiInputBase-root:has(> input:-webkit-autofill)": { backgroundColor: "#e8f0fe !important" },
10
- "& input": { backgroundColor: "transparent" },
11
- "& .MuiInputBase-root": { backgroundColor: "transparent" },
12
- "& .MuiInputBase-colorPrimary fieldset": { borderColor: "var(--colors-delta-500) !important" },
13
- "& .MuiInputBase-colorPrimary.Mui-focused fieldset": { borderColor: "var(--colors-gama-500) !important" },
14
- "& .MuiInputBase-colorPrimary.Mui-focused::after": { borderColor: "var(--colors-gama-500) !important" },
15
- "& .MuiInputBase-colorPrimary:hover fieldset": {
16
- borderColor: "var(--colors-gama-300) !important",
17
- borderWidth: "2px !important"
18
- },
19
- "& .MuiInputBase-colorPrimary.Mui-disabled:hover fieldset": { borderWidth: "1px !important" },
20
- "& .MuiInputBase-colorPrimary.Mui-focused:hover fieldset": { borderColor: "var(--colors-gama-500) !important" },
21
- "& .MuiInputBase-colorPrimary.Mui-error fieldset": { borderColor: "var(--colors-error-500) !important" },
22
- "& .MuiInputBase-colorPrimary.Mui-error:hover fieldset": { borderColor: "var(--colors-error-500) !important" },
23
- "& .MuiFormHelperText-root": { fontSize: "14px" },
24
- "& .MuiFormHelperText-root.Mui-error": {
25
- color: "var(--colors-error-500) !important",
26
- marginLeft: 0
27
- },
28
- "& .MuiInputBase-colorPrimary.Mui-disabled fieldset": { borderColor: "var(--colors-delta-300) !important" },
29
- "& label.Mui-focused": { color: "var(--colors-gama-500) !important" },
30
- "& label.Mui-focused.Mui-error": { color: "var(--colors-error-500) !important" },
31
- "& label.Mui-disabled": { color: "var(--colors-delta-300) !important" },
32
- "& .MuiOutlinedInput-input::placeholder": {
33
- color: "#666666",
34
- opacity: "100"
35
- },
36
- "& .MuiOutlinedInput-input.Mui-disabled": { WebkitTextFillColor: "var(--colors-delta-300) !important" },
37
- ...o && {
38
- "& .MuiOutlinedInput-input.Mui-disabled": { WebkitTextFillColor: "var(--colors-delta-800) !important" },
39
- "& .MuiInputBase-colorPrimary.Mui-disabled": { backgroundColor: "var(--colors-delta-10) !important" },
40
- "& .MuiInputBase-colorPrimary.Mui-disabled fieldset": { borderColor: "var(--colors-delta-200) !important" }
41
- },
42
- ...r.sx
43
- }
44
- });
45
- export {
46
- d as StyledInputField
47
- };
@@ -1,47 +0,0 @@
1
- import { ExpandIcon as i } from "./ExpandIcon.js";
2
- import a from "clsx";
3
- import { Select as m } from "@mui/material";
4
- import { jsx as r } from "react/jsx-runtime";
5
- var p = ({ dataTest: t, ...o }) => /* @__PURE__ */ r(m, {
6
- ...o,
7
- "data-test": t,
8
- value: o.value,
9
- IconComponent: ({ className: e, ...n }) => /* @__PURE__ */ r(i, {
10
- ...n,
11
- width: 24,
12
- height: 24,
13
- className: a(e),
14
- style: { marginTop: "-3.5px" }
15
- }),
16
- sx: {
17
- ".MuiOutlinedInput-notchedOutline": { borderColor: "var(--colors-delta-500) !important" },
18
- "&.Mui-focused .MuiOutlinedInput-notchedOutline": { borderColor: "var(--colors-gama-500) !important" },
19
- "&.Mui-error .MuiOutlinedInput-notchedOutline": { borderColor: "var(--colors-error-500) !important" },
20
- "& .MuiInputBase-colorPrimary.Mui-error fieldset": { borderColor: "var(--colors-error-500) !important" },
21
- "&.Mui-focused::after": { borderColor: "transparent" },
22
- transition: "none",
23
- "&::before": {
24
- transition: "none",
25
- borderBottom: "none"
26
- },
27
- "&::after": { transition: "none" },
28
- "&:hover::before": {
29
- transition: "none",
30
- borderBottom: "none"
31
- },
32
- ".MuiPaper-root": {
33
- transition: "none !important",
34
- animation: "none !important"
35
- },
36
- ".MuiMenuItem-root": {
37
- transition: "none !important",
38
- animation: "none !important"
39
- },
40
- "&:hover:not(.Mui-disabled, .Mui-error)::before": { borderBottom: "none" },
41
- "&:focus::before": { borderBottom: "none" },
42
- ...o.sx
43
- }
44
- });
45
- export {
46
- p as StyledSelect
47
- };
@@ -1,13 +0,0 @@
1
- import { MenuItem as e } from "@mui/material";
2
- import { jsx as o } from "react/jsx-runtime";
3
- var n = (r) => /* @__PURE__ */ o(e, {
4
- ...r,
5
- sx: {
6
- "&.MuiMenuItem-root": { fontSize: "14px !important" },
7
- "&.Mui-selected": { backgroundColor: "var(--colors-gama-50) !important" }
8
- },
9
- children: r.children
10
- });
11
- export {
12
- n as StyledSelectItem
13
- };
@@ -1,32 +0,0 @@
1
- import { Fade as i, Tooltip as e } from "@mui/material";
2
- import { jsx as l } from "react/jsx-runtime";
3
- import { mergeSlotProps as t } from "@mui/material/utils";
4
- var a = {
5
- borderRadius: "3px",
6
- "& .MuiTooltip-arrow": { color: "#363E4A" },
7
- color: "white",
8
- boxShadow: "0px 1px 4px 0px rgba(0, 0, 0, 0.25)",
9
- display: "flex",
10
- padding: "4px 8px",
11
- alignItems: "center",
12
- fontSize: "12px",
13
- lineHeight: "16px",
14
- letterSpacing: "0.24px",
15
- bgcolor: "#363E4A",
16
- wordBreak: "break-word"
17
- }, d = (r) => {
18
- const { slotProps: o, ...p } = r;
19
- return /* @__PURE__ */ l(e, {
20
- placement: "top",
21
- ...p,
22
- slots: { transition: i },
23
- slotProps: {
24
- ...o,
25
- transition: t(o?.transition, { timeout: 300 }),
26
- tooltip: t(o?.tooltip, { sx: a })
27
- }
28
- });
29
- };
30
- export {
31
- d as StyledTooltip
32
- };
@@ -1,4 +0,0 @@
1
- import { CheckboxProps } from '@mui/material';
2
- export declare const StyledCheckbox: React.FC<CheckboxProps & {
3
- dataTest: string;
4
- }>;
@@ -1,4 +0,0 @@
1
- import { RadioProps } from '@mui/material';
2
- export declare const StyledRadio: ({ dataTest, ...props }: RadioProps & {
3
- dataTest: string;
4
- }) => JSX.Element;
@@ -1,4 +0,0 @@
1
- import { RadioGroupProps } from '@mui/material';
2
- export declare const StyledRadioGroup: ({ dataTest, ...props }: RadioGroupProps & {
3
- dataTest: string;
4
- }) => JSX.Element;
@@ -1,5 +0,0 @@
1
- import { SwitchProps as _SwitchProps } from '@mui/material';
2
- export type SwitchProps = _SwitchProps;
3
- export declare const StyledSwitch: ({ dataTest, disabled, ...props }: Omit<SwitchProps, "size"> & {
4
- dataTest: string;
5
- }) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { AccordionProps } from '@mui/material';
2
- export declare const StyledAccordion: ({ className, ...props }: AccordionProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { AccordionDetailsProps } from '@mui/material';
2
- export declare const StyledAccordionDetails: (props: AccordionDetailsProps) => JSX.Element;
@@ -1,8 +0,0 @@
1
- import { AccordionSummaryProps } from '@mui/material';
2
- type StyledAccordionSummarySize = 'small' | 'large';
3
- interface StyledAccordionSummaryProps extends AccordionSummaryProps {
4
- size?: StyledAccordionSummarySize;
5
- expandChevronRight?: boolean;
6
- }
7
- export declare const StyledAccordionSummary: ({ size, expandChevronRight, className, sx, children, ...rest }: StyledAccordionSummaryProps) => JSX.Element;
8
- export {};