asma-ui-core 3.43.6 → 3.45.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 (304) hide show
  1. package/dist/asma-ui-core.css +1 -1
  2. package/dist/components/custom/module/header-layout/ToolbarActionGroup.js +2 -2
  3. package/dist/components/custom/module/module-title/StyledModuleTitle.module.js +1 -1
  4. package/dist/components/custom/widget/widget/StyledWidget.module.js +8 -8
  5. package/dist/components/custom/widget/widget-title/StyledWidgetTitle.module.js +1 -1
  6. package/dist/components/data-display/ai-disclosure/StyledAIDisclosure.js +7 -5
  7. package/dist/components/data-display/badge/StyledBadge.js +53 -23
  8. package/dist/components/data-display/chip/StyledChip.js +62 -59
  9. package/dist/components/data-display/chip/chipPadding.js +44 -0
  10. package/dist/components/data-display/form-label/components/StyledFormLabel.js +18 -10
  11. package/dist/components/data-display/form-label/styles/StyledFormLabel.module.js +4 -4
  12. package/dist/components/data-display/interactive-chip/StyledInteractiveChip.js +35 -39
  13. package/dist/components/data-display/interactive-chip/StyledInteractiveChip.module.js +4 -0
  14. package/dist/components/data-display/tooltip/StyledTooltip.js +51 -33
  15. package/dist/components/data-display/typography/StyledTypography.js +62 -4
  16. package/dist/components/feedback/dialog/StyledDialog.js +102 -39
  17. package/dist/components/feedback/dialog/StyledDialog.module.js +2 -9
  18. package/dist/components/feedback/dialog/StyledDialogActions.js +16 -16
  19. package/dist/components/feedback/dialog/StyledDialogContent.js +18 -14
  20. package/dist/components/feedback/dialog/StyledDialogTitle.js +18 -13
  21. package/dist/components/feedback/empty-page/StyledEmptyPage.js +4 -4
  22. package/dist/components/feedback/filtered-empty-state/StyledFilteredEmptyState.js +7 -7
  23. package/dist/components/feedback/minimizable-dialog/MinimizableDialog.js +123 -114
  24. package/dist/components/feedback/minimizable-dialog/components/CloseBtn.js +6 -5
  25. package/dist/components/feedback/minimizable-dialog/components/FullscreenBtn.js +13 -12
  26. package/dist/components/feedback/minimizable-dialog/components/MinimizeBtn.js +15 -13
  27. package/dist/components/feedback/minimizable-dialog/v2/MinimizableDialogV2.js +67 -61
  28. package/dist/components/feedback/snack-bar/StyledAlert.js +95 -14
  29. package/dist/components/feedback/snack-bar/StyledSnackbar.js +34 -8
  30. package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.js +32 -33
  31. package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.module.js +16 -16
  32. package/dist/components/icons/check-icon/CheckIcon.js +8 -7
  33. package/dist/components/icons/index.js +1 -0
  34. package/dist/components/icons/move-up-icon/MoveUpIcon.js +13 -0
  35. package/dist/components/icons/move-up-icon/index.js +1 -0
  36. package/dist/components/inputs/button/StyledButton.js +22 -18
  37. package/dist/components/inputs/button/StyledButton.module.js +5 -5
  38. package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.js +61 -55
  39. package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.module.js +12 -11
  40. package/dist/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.js +54 -50
  41. package/dist/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.js +107 -99
  42. package/dist/components/inputs/field-styles.js +8 -0
  43. package/dist/components/inputs/input-field/StyledInputField.js +188 -83
  44. package/dist/components/inputs/input-field/StyledInputField.module.js +10 -0
  45. package/dist/components/inputs/label/StyledLabel.js +19 -11
  46. package/dist/components/inputs/label/StyledLabel.module.js +1 -1
  47. package/dist/components/inputs/radio-button/base-ui/RadioGroupContext.js +6 -0
  48. package/dist/components/inputs/radio-button/base-ui/StyledRadio.js +43 -28
  49. package/dist/components/inputs/radio-button/base-ui/StyledRadio.module.js +7 -6
  50. package/dist/components/inputs/radio-button/base-ui/StyledRadioGroup.js +37 -24
  51. package/dist/components/inputs/search-field/StyledSearchField.js +49 -43
  52. package/dist/components/inputs/select/StyledSelect.js +170 -45
  53. package/dist/components/inputs/select/StyledSelectItem.js +19 -23
  54. package/dist/components/inputs/select-autocomplete/StyledSelectAutocomplete.js +228 -150
  55. package/dist/components/inputs/slider/StyledSlider.js +100 -52
  56. package/dist/components/inputs/slider/StyledSlider.module.js +10 -0
  57. package/dist/components/inputs/switch/base-ui/StyledSwitch.js +45 -38
  58. package/dist/components/inputs/switch/base-ui/StyledSwitch.module.js +4 -4
  59. package/dist/components/inputs/textarea/StyledTextarea.js +44 -43
  60. package/dist/components/inputs/textarea/StyledTextarea.module.js +1 -1
  61. package/dist/components/miscellaneous/FormControlContext.js +6 -0
  62. package/dist/components/miscellaneous/StyledFormControl.js +42 -21
  63. package/dist/components/miscellaneous/StyledFormControlLabel.js +29 -15
  64. package/dist/components/miscellaneous/StyledFormGroup.js +16 -4
  65. package/dist/components/miscellaneous/StyledFormHelperText.js +12 -4
  66. package/dist/components/miscellaneous/StyledInputLabel.js +20 -4
  67. package/dist/components/mui-compat/Avatar.js +34 -0
  68. package/dist/components/mui-compat/ClickAwayListener.js +42 -0
  69. package/dist/components/mui-compat/Container.js +24 -0
  70. package/dist/components/mui-compat/Fade.js +29 -0
  71. package/dist/components/mui-compat/Fade.module.js +9 -0
  72. package/dist/components/mui-compat/FormLabel.js +22 -0
  73. package/dist/components/mui-compat/Paper.js +44 -0
  74. package/dist/components/mui-compat/Popper.js +35 -0
  75. package/dist/components/mui-compat/Skeleton.js +27 -0
  76. package/dist/components/mui-compat/Stack.js +24 -0
  77. package/dist/components/navigation/drawer/StyledDrawer.js +45 -4
  78. package/dist/components/navigation/link/StyledLink.module.js +5 -5
  79. package/dist/components/navigation/listbox/Listbox.js +7 -7
  80. package/dist/components/navigation/menu/StyledMenu.js +28 -11
  81. package/dist/components/navigation/menu/StyledMenuItem.js +21 -19
  82. package/dist/components/navigation/menu/StyledMenuList.js +34 -4
  83. package/dist/components/navigation/tabs/StyledTab.js +28 -13
  84. package/dist/components/navigation/tabs/StyledTabs.js +115 -66
  85. package/dist/components/navigation/tabs/TabsContext.js +6 -0
  86. package/dist/components/utils/accordion/base-ui/AccordionContext.js +10 -0
  87. package/dist/components/utils/accordion/base-ui/StyledAccordion.js +28 -21
  88. package/dist/components/utils/accordion/base-ui/StyledAccordion.module.js +7 -7
  89. package/dist/components/utils/accordion/base-ui/StyledAccordionDetails.js +28 -14
  90. package/dist/components/utils/accordion/base-ui/StyledAccordionSummary.js +34 -27
  91. package/dist/components/utils/copy-wrapper/CopyButton.js +8 -7
  92. package/dist/components/utils/copy-wrapper/CopyWrapper.js +23 -20
  93. package/dist/components/utils/filter-menu/StyledFilterButton.js +14 -13
  94. package/dist/components/utils/filter-menu/StyledFilterMenu.js +16 -15
  95. package/dist/components/utils/popover/StyledPopover.js +51 -15
  96. package/dist/components/utils/virtual-list/VirtualList.js +46 -0
  97. package/dist/datetime/components/date-picker/StyledDatePicker.js +17 -17
  98. package/dist/datetime/components/date-picker/components/BaseDatePickerInput.js +98 -99
  99. package/dist/datetime/components/date-picker/components/DatePickerButton.js +11 -9
  100. package/dist/datetime/components/date-picker/components/StyledCalendarPicker.js +11 -11
  101. package/dist/datetime/components/date-picker/components/StyledCalendarPicker.module.js +20 -20
  102. package/dist/datetime/components/date-picker/components/StyledCalendarPickerCaption.js +8 -7
  103. package/dist/datetime/components/date-picker/components/StyledCalendarPickerFooter.js +13 -14
  104. package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectMonth.js +17 -24
  105. package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectYear.js +7 -8
  106. package/dist/datetime/components/date-picker/components/StyledDayPicker.js +4 -5
  107. package/dist/datetime/components/date-picker/helpers.js +7 -7
  108. package/dist/datetime/components/date-picker/hooks/useDatePickerMask.js +3 -7
  109. package/dist/datetime/components/time-picker/StyledTimePicker.js +25 -25
  110. package/dist/datetime/components/time-picker/StyledTimePicker.module.js +6 -6
  111. package/dist/datetime/components/time-picker/TimePickerInput.js +56 -50
  112. package/dist/datetime/components/time-picker/TimePickerPopper.js +22 -19
  113. package/dist/datetime/components/time-picker/components/TimePickerColumn.js +12 -12
  114. package/dist/datetime/components/time-picker/helpers/getTimeFromValue.js +3 -3
  115. package/dist/datetime/helpers/cn.js +4 -5
  116. package/dist/datetime/hooks/useWindowWidthSize.hook.js +1 -1
  117. package/dist/helpers/arrays.js +4 -0
  118. package/dist/helpers/classOverride.js +12 -0
  119. package/dist/helpers/cn.js +4 -5
  120. package/dist/helpers/inputMask.js +58 -0
  121. package/dist/helpers/sx.js +46 -0
  122. package/dist/hooks/useFocusTrap.hook.js +34 -0
  123. package/dist/hooks/useTopLayer.hook.js +25 -0
  124. package/dist/index.js +203 -191
  125. package/dist/src/api-surface.test.d.ts +1 -0
  126. package/dist/src/components/custom/module/header-layout/DynamicToolbar.d.ts +10 -0
  127. package/dist/src/components/custom/module/module-title/StyledModuleTitle.d.ts +4 -0
  128. package/dist/src/components/custom/widget/widget/StyledWidget.d.ts +8 -0
  129. package/dist/src/components/custom/widget/widget-header/StyledWidgetHeader.d.ts +4 -0
  130. package/dist/src/components/custom/widget/widget-title/StyledWidgetTitle.d.ts +4 -0
  131. package/dist/src/components/data-display/ai-disclosure/StyledAIDisclosure.d.ts +7 -0
  132. package/dist/src/components/data-display/badge/StyledBadge.d.ts +40 -2
  133. package/dist/src/components/data-display/chip/StyledChip.d.ts +74 -5
  134. package/dist/src/components/data-display/chip/chipPadding.d.ts +3 -0
  135. package/dist/src/components/data-display/form-label/types.d.ts +11 -0
  136. package/dist/src/components/data-display/interactive-chip/StyledInteractiveChip.d.ts +22 -4
  137. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +43 -1
  138. package/dist/src/components/data-display/typography/StyledTypography.d.ts +32 -1
  139. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +60 -4
  140. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +12 -2
  141. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +12 -2
  142. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +10 -2
  143. package/dist/src/components/feedback/empty-page/StyledEmptyPage.d.ts +6 -0
  144. package/dist/src/components/feedback/filtered-empty-state/StyledFilteredEmptyState.d.ts +7 -0
  145. package/dist/src/components/feedback/loading/StyledLoading.d.ts +9 -0
  146. package/dist/src/components/feedback/minimizable-dialog/v2/types.d.ts +13 -0
  147. package/dist/src/components/feedback/minimizable-dialog/v2/useControlledProps.d.ts +4 -2
  148. package/dist/src/components/feedback/minimizable-dialog/v2/useTranslations.d.ts +17 -12
  149. package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +1 -1
  150. package/dist/src/components/feedback/snack-bar/StyledAlert.d.ts +41 -2
  151. package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +1 -1
  152. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +25 -2
  153. package/dist/src/components/feedback/snack-bar/components/StyledDefaultSnackbar.d.ts +10 -1
  154. package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +1 -1
  155. package/dist/src/components/feedback/snack-bar/components/types.d.ts +1 -1
  156. package/dist/src/components/icons/index.d.ts +1 -0
  157. package/dist/src/components/icons/move-up-icon/MoveUpIcon.d.ts +2 -0
  158. package/dist/src/components/icons/move-up-icon/index.d.ts +1 -0
  159. package/dist/src/components/inputs/button/StyledButton.d.ts +15 -1
  160. package/dist/src/components/inputs/checkbox/base-ui/StyledCheckbox.d.ts +33 -4
  161. package/dist/src/components/inputs/dynamic-select/StyledDynamicSelect.d.ts +16 -0
  162. package/dist/src/components/inputs/dynamic-select/types.d.ts +25 -14
  163. package/dist/src/components/inputs/field-styles.d.ts +27 -0
  164. package/dist/src/components/inputs/input-field/StyledInputField.d.ts +85 -10
  165. package/dist/src/components/inputs/input-field/index.d.ts +1 -1
  166. package/dist/src/components/inputs/label/StyledLabel.d.ts +13 -0
  167. package/dist/src/components/inputs/radio-button/base-ui/RadioGroupContext.d.ts +10 -0
  168. package/dist/src/components/inputs/radio-button/base-ui/StyledRadio.d.ts +60 -5
  169. package/dist/src/components/inputs/radio-button/base-ui/StyledRadioGroup.d.ts +30 -7
  170. package/dist/src/components/inputs/search-field/StyledSearchField.d.ts +9 -1
  171. package/dist/src/components/inputs/select/StyledSelect.d.ts +70 -16
  172. package/dist/src/components/inputs/select/StyledSelectItem.d.ts +14 -2
  173. package/dist/src/components/inputs/select/index.d.ts +0 -1
  174. package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +120 -17
  175. package/dist/src/components/inputs/slider/StyledSlider.d.ts +66 -3
  176. package/dist/src/components/inputs/switch/base-ui/StyledSwitch.d.ts +44 -4
  177. package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +19 -0
  178. package/dist/src/components/miscellaneous/FormControlContext.d.ts +14 -0
  179. package/dist/src/components/miscellaneous/StyledFormControl.d.ts +27 -2
  180. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +21 -2
  181. package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +11 -2
  182. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +12 -2
  183. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +20 -2
  184. package/dist/src/components/mui-compat/Avatar.d.ts +6 -0
  185. package/dist/src/components/mui-compat/ClickAwayListener.d.ts +19 -0
  186. package/dist/src/components/mui-compat/Container.d.ts +6 -0
  187. package/dist/src/components/mui-compat/Fade.d.ts +21 -0
  188. package/dist/src/components/mui-compat/FormLabel.d.ts +6 -0
  189. package/dist/src/components/mui-compat/Paper.d.ts +6 -0
  190. package/dist/src/components/mui-compat/Popper.d.ts +29 -0
  191. package/dist/src/components/mui-compat/Skeleton.d.ts +7 -0
  192. package/dist/src/components/mui-compat/Stack.d.ts +7 -0
  193. package/dist/src/components/mui-compat/index.d.ts +9 -0
  194. package/dist/src/components/mui-compat/types.d.ts +46 -0
  195. package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +33 -2
  196. package/dist/src/components/navigation/link/StyledLink.d.ts +13 -0
  197. package/dist/src/components/navigation/menu/StyledMenu.d.ts +33 -2
  198. package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +35 -2
  199. package/dist/src/components/navigation/menu/StyledMenuList.d.ts +16 -2
  200. package/dist/src/components/navigation/menu/index.d.ts +0 -1
  201. package/dist/src/components/navigation/tabs/StyledTab.d.ts +27 -3
  202. package/dist/src/components/navigation/tabs/StyledTabs.d.ts +22 -7
  203. package/dist/src/components/navigation/tabs/TabsContext.d.ts +11 -0
  204. package/dist/src/components/utils/accordion/base-ui/AccordionContext.d.ts +10 -0
  205. package/dist/src/components/utils/accordion/base-ui/StyledAccordion.d.ts +9 -3
  206. package/dist/src/components/utils/accordion/base-ui/StyledAccordionDetails.d.ts +5 -0
  207. package/dist/src/components/utils/accordion/base-ui/StyledAccordionSummary.d.ts +16 -4
  208. package/dist/src/components/utils/copy-wrapper/CopyWrapper.d.ts +6 -1
  209. package/dist/src/components/utils/filter-menu/StyledFilterButton.d.ts +4 -0
  210. package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +8 -2
  211. package/dist/src/components/utils/popover/StyledPopover.d.ts +39 -2
  212. package/dist/src/components/utils/virtual-list/VirtualList.d.ts +32 -0
  213. package/dist/src/components/utils/virtual-list/index.d.ts +1 -0
  214. package/dist/src/datetime/components/date-picker/StyledDatePicker.d.ts +11 -0
  215. package/dist/src/datetime/components/date-picker/components/DatePickerButton.d.ts +2 -0
  216. package/dist/src/datetime/components/date-picker/components/StyledCalendarPicker.d.ts +1 -1
  217. package/dist/src/datetime/components/date-picker/components/StyledDayPicker.d.ts +1 -1
  218. package/dist/src/datetime/components/date-picker/hooks/useDatePickerMask.d.ts +1 -2
  219. package/dist/src/datetime/components/date-picker/hooks/useDatePickerValidation.d.ts +7 -5
  220. package/dist/src/datetime/components/time-picker/StyledTimePicker.d.ts +10 -0
  221. package/dist/src/datetime/components/time-picker/TimePickerInput.d.ts +1 -1
  222. package/dist/src/datetime/components/time-picker/TimePickerPopper.d.ts +1 -1
  223. package/dist/src/datetime/components/time-picker/types.d.ts +1 -2
  224. package/dist/src/datetime/hooks/useToggleMenuVisibility.hook.d.ts +6 -4
  225. package/dist/src/datetime/shared-components/StyledFormControl.d.ts +1 -2
  226. package/dist/src/datetime/shared-components/StyledInputField.d.ts +1 -12
  227. package/dist/src/datetime/shared-components/StyledSelect.d.ts +1 -16
  228. package/dist/src/datetime/shared-components/StyledSelectItem.d.ts +1 -2
  229. package/dist/src/datetime/shared-components/StyledTooltip.d.ts +1 -2
  230. package/dist/src/helpers/applyImportantPadding.d.ts +8 -0
  231. package/dist/src/helpers/arrays.d.ts +2 -0
  232. package/dist/src/helpers/arrays.test.d.ts +1 -0
  233. package/dist/src/helpers/classOverride.d.ts +21 -0
  234. package/dist/src/helpers/classOverride.test.d.ts +1 -0
  235. package/dist/src/helpers/inputMask.d.ts +40 -0
  236. package/dist/src/helpers/inputMask.test.d.ts +1 -0
  237. package/dist/src/helpers/sx.d.ts +2 -0
  238. package/dist/src/helpers/sx.test.d.ts +1 -0
  239. package/dist/src/hooks/useFocusTrap.hook.d.ts +10 -0
  240. package/dist/src/hooks/useTopLayer.hook.d.ts +49 -0
  241. package/dist/src/index.d.ts +2 -1
  242. package/dist/src/table/components/columns/helpers/useElementHeightPx.d.ts +6 -3
  243. package/dist/src/table/components/columns/helpers/useProxyHorizontalScrollSync.d.ts +9 -6
  244. package/dist/src/table/hooks/useToggleMenuVisibility.hook.d.ts +6 -4
  245. package/dist/src/table/hooks/useTranslations.d.ts +15 -8
  246. package/dist/src/table/shared-components/StyledCheckbox.d.ts +7 -4
  247. package/dist/src/table/shared-components/StyledMenuItem.d.ts +18 -2
  248. package/dist/src/table/shared-components/menu-item/index.d.ts +13 -2
  249. package/dist/src/table/shared-components/tooltip/index.d.ts +5 -1
  250. package/dist/src/table/types.d.ts +1 -1
  251. package/dist/table/components/Fetching.js +4 -4
  252. package/dist/table/components/StyledTable.module.js +48 -48
  253. package/dist/table/components/TableRow.js +7 -7
  254. package/dist/table/components/TableSkeleton.js +6 -6
  255. package/dist/table/components/columns/action-column/actionColumn.js +14 -11
  256. package/dist/table/components/columns/action-column/components/HeaderActionMenu.js +52 -49
  257. package/dist/table/components/columns/action-column/components/RowActionMenu.js +40 -36
  258. package/dist/table/components/columns/expandColumn.js +12 -9
  259. package/dist/table/components/table-footer/TablePagination.js +28 -25
  260. package/dist/table/components/table-footer/TableRowCountSelect.js +31 -28
  261. package/dist/table/components/table-header/TableHeaderCell.js +54 -45
  262. package/dist/table/custom-features/focus-rows/FocusRowsFeature.js +29 -25
  263. package/dist/table/helpers/cn.js +4 -5
  264. package/dist/table/hooks/useColumnVirtualizer.js +1 -1
  265. package/dist/table/hooks/usePersistedPageSize.js +6 -6
  266. package/dist/table/hooks/useTranslations.js +6 -4
  267. package/dist/table/hooks/useWindowWidthSize.hook.js +1 -1
  268. package/dist/table/shared-components/StyledCheckbox.js +54 -55
  269. package/dist/table/shared-components/StyledCheckbox.module.js +9 -9
  270. package/dist/table/shared-components/StyledMenuItem.js +14 -17
  271. package/dist/table/shared-components/button/StyledButton.module.js +8 -8
  272. package/dist/table/shared-components/menu-item/index.js +15 -16
  273. package/dist/table/shared-components/tooltip/index.js +4 -23
  274. package/package.json +9 -18
  275. package/src/styles/components-colors/inputVariables.css +59 -57
  276. package/src/styles/index.css +38 -0
  277. package/dist/components/feedback/dialog/StyledDialogActions.module.js +0 -8
  278. package/dist/components/feedback/dialog/StyledDialogContent.module.js +0 -4
  279. package/dist/components/feedback/dialog/StyledDialogTitle.module.js +0 -4
  280. package/dist/components/icons/arrow-expand/ArrowExpand.js +0 -18
  281. package/dist/components/icons/arrow-expand/index.js +0 -1
  282. package/dist/components/icons/arrow-shrink/ArrowShrink.js +0 -18
  283. package/dist/components/icons/arrow-shrink/index.js +0 -1
  284. package/dist/components/inputs/checkbox/StyledCheckbox.js +0 -20
  285. package/dist/components/inputs/radio-button/StyledRadio.js +0 -17
  286. package/dist/datetime/components/date-picker/components/HelperTextWithTooltip.js +0 -39
  287. package/dist/datetime/shared-components/ExpandIcon.js +0 -18
  288. package/dist/datetime/shared-components/StyledFormControl.js +0 -23
  289. package/dist/datetime/shared-components/StyledInputField.js +0 -47
  290. package/dist/datetime/shared-components/StyledSelect.js +0 -47
  291. package/dist/datetime/shared-components/StyledSelectItem.js +0 -13
  292. package/dist/datetime/shared-components/StyledTooltip.js +0 -32
  293. package/dist/src/components/icons/arrow-expand/ArrowExpand.d.ts +0 -2
  294. package/dist/src/components/icons/arrow-expand/index.d.ts +0 -1
  295. package/dist/src/components/icons/arrow-shrink/ArrowShrink.d.ts +0 -2
  296. package/dist/src/components/icons/arrow-shrink/index.d.ts +0 -1
  297. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +0 -4
  298. package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +0 -4
  299. package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +0 -4
  300. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +0 -5
  301. package/dist/src/components/utils/accordion/StyledAccordion.d.ts +0 -2
  302. package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +0 -2
  303. package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +0 -8
  304. package/dist/src/datetime/components/date-picker/components/HelperTextWithTooltip.d.ts +0 -5
@@ -1,23 +1,22 @@
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
- }
1
+ import { cn as i } from "../../helpers/cn.js";
2
+ import { CheckIcon as l } from "../CheckIcon.js";
3
+ import { jsx as m, jsxs as s } from "react/jsx-runtime";
4
+ var g = ({ children: n, selected: o, disabled: e, className: a, onClick: t }) => /* @__PURE__ */ s("li", {
5
+ role: "menuitem",
6
+ "aria-disabled": e ? !0 : void 0,
7
+ tabIndex: -1,
8
+ onClick: e ? void 0 : t,
9
+ onKeyDown: (r) => {
10
+ e || (r.key === "Enter" || r.key === " ") && (r.preventDefault(), t?.(r));
12
11
  },
13
- ...o,
14
- children: [/* @__PURE__ */ a(r, {
12
+ className: i("flex items-center gap-x-1 p-2 text-base text-delta-700 outline-none", e ? "cursor-not-allowed" : "cursor-pointer hover:bg-delta-50", o && "bg-gama-50 hover:bg-gama-50", a),
13
+ children: [/* @__PURE__ */ m(l, {
15
14
  width: 24,
16
15
  height: 24,
17
- color: o.selected ? "var(--colors-gama-500)" : "transparent",
16
+ color: o ? "var(--colors-gama-500)" : "transparent",
18
17
  style: { transition: "color 0.2s ease" }
19
- }), o.children]
18
+ }), n]
20
19
  });
21
20
  export {
22
- n as StyledMenuItem
21
+ g as StyledMenuItem
23
22
  };
@@ -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.43.6",
6
+ "version": "3.45.0",
7
7
  "type": "module",
8
8
  "sideEffects": [
9
9
  "**/*.css",
@@ -61,6 +61,9 @@
61
61
  "storybook": "storybook dev -p 6006",
62
62
  "storybook:no-browser": "storybook dev -p 6006 --no-open",
63
63
  "build-storybook": "export NODE_OPTIONS=--max_old_space_size=6240 && storybook build",
64
+ "vrt": "bash scripts/vrt.sh check",
65
+ "vrt:accept": "bash scripts/vrt.sh accept",
66
+ "vrt:report": "playwright show-report",
64
67
  "test-storybook": "npx vitest --project=storybook",
65
68
  "changeset:pre-beta": "changeset pre enter beta",
66
69
  "changeset:pre-exit": "changeset pre exit",
@@ -73,39 +76,31 @@
73
76
  "node": ">=24 <25"
74
77
  },
75
78
  "dependencies": {
76
- "@base-ui/react": "^1.5.0",
77
79
  "@dnd-kit/core": "^6.1.0",
78
80
  "@dnd-kit/modifiers": "^7.0.0",
79
81
  "@dnd-kit/sortable": "^8.0.0",
80
82
  "@dnd-kit/utilities": "^3.2.2",
81
- "@react-input/mask": "^1.2.5",
83
+ "@floating-ui/react": "^0.27.19",
82
84
  "@tanstack/react-table": "^8.21.3",
83
85
  "@tanstack/react-virtual": "^3.13.21",
84
86
  "clsx": "^1.2.1",
85
87
  "date-fns": "^3.6.0",
86
- "lodash-es": "^4.18.1",
87
- "material-ui-popup-state": "^5.3.6",
88
88
  "notistack": "^3.0.2",
89
- "react-day-picker": "^9.14.0",
90
- "tailwind-merge": "^2.5.2"
89
+ "react-day-picker": "^9.14.0"
91
90
  },
92
91
  "devDependencies": {
93
92
  "@changesets/cli": "^2.26.2",
94
93
  "@chromatic-com/storybook": "^5.1.1",
95
- "@emotion/react": "^11.11.1",
96
- "@emotion/styled": "^11.11.0",
97
- "@mui/material": "^9.0.1",
98
- "@faker-js/faker": "^8.0.2",
99
- "@tippyjs/react": "^4.2.6",
100
94
  "@eslint/js": "^9.39.2",
95
+ "@faker-js/faker": "^8.0.2",
96
+ "@playwright/test": "1.60.0",
101
97
  "@storybook/addon-a11y": "10.3.3",
102
98
  "@storybook/addon-docs": "10.3.3",
103
99
  "@storybook/addon-links": "10.3.3",
104
100
  "@storybook/addon-themes": "^10.3.3",
105
101
  "@storybook/addon-vitest": "10.3.3",
106
102
  "@storybook/react-vite": "10.3.3",
107
- "@storybook/test-runner": "^0.24.3",
108
- "@types/lodash-es": "^4.17.7",
103
+ "@tippyjs/react": "^4.2.6",
109
104
  "@types/node": "^24.12.4",
110
105
  "@types/react": "^18.3.23",
111
106
  "@types/react-copy-to-clipboard": "^5.0.7",
@@ -113,7 +108,6 @@
113
108
  "@vitejs/plugin-react": "^6.0.1",
114
109
  "@vitest/browser-playwright": "^4.0.16",
115
110
  "autoprefixer": "^10.4.27",
116
- "axe-playwright": "^1.2.3",
117
111
  "chromatic": "^13.3.4",
118
112
  "eslint": "^9.39.2",
119
113
  "eslint-plugin-better-tailwindcss": "^3.8.0",
@@ -145,9 +139,6 @@
145
139
  "vitest": "^4.0.16"
146
140
  },
147
141
  "peerDependencies": {
148
- "@emotion/react": "^11.*",
149
- "@emotion/styled": "^11.*",
150
- "@mui/material": "^9.0.0",
151
142
  "react": "^18.0.0 || ^19.0.0",
152
143
  "react-dom": "^18.0.0 || ^19.0.0"
153
144
  },
@@ -2,49 +2,51 @@
2
2
  [data-theme='fretex'],
3
3
  [data-theme='greenish'] {
4
4
  /* input Active */
5
- --colors-input-active-placeholder-color: var(--colors-gray-500);
5
+ --colors-input-active-placeholder-color: var(--colors-delta-500);
6
6
  --colors-input-active-bg-color: #ffffff;
7
- --colors-input-active-hover-bg-color: var(--colors-gray-10);
8
- --colors-input-active-active-bg-color: var(--colors-gray-10);
9
- --colors-input-active-focus-bg-color: var(--colors-gray-10);
7
+ --colors-input-active-hover-bg-color: var(--colors-delta-10);
8
+ --colors-input-active-active-bg-color: var(--colors-delta-10);
9
+ --colors-input-active-focus-bg-color: var(--colors-delta-10);
10
10
  --colors-input-active-disabled-bg-color: transparent;
11
- --colors-input-active-text-color: var(--colors-gray-800);
12
- --colors-input-active-hover-text-color: var(--colors-gray-800);
13
- --colors-input-active-active-text-color: var(--colors-gray-800);
14
- --colors-input-active-focus-text-color: var(--colors-gray-800);
15
- --colors-input-active-disabled-text-color: var(--colors-gray-300);
16
- --colors-input-active-outline-color: var(--colors-gray-500);
17
- --colors-input-active-hover-outline-color: var(--colors-gray-800);
18
- --colors-input-active-active-outline-color: var(--colors-gray-800);
19
- --colors-input-active-focus-outline-color: var(--colors-gama-500);
20
- --colors-input-active-disabled-outline-color: var(--colors-gray-300);
11
+ --colors-input-active-text-color: var(--colors-delta-800);
12
+ --colors-input-active-hover-text-color: var(--colors-delta-800);
13
+ --colors-input-active-active-text-color: var(--colors-delta-800);
14
+ --colors-input-active-focus-text-color: var(--colors-delta-800);
15
+ --colors-input-active-disabled-text-color: var(--colors-delta-300);
16
+ /* Figma Input field (node 15561-37391): enabled border delta-500 #7a899e; hover border/hover
17
+ gama-300 #60bdbd (2px); focus border/focus gama-400 #1ca1a1 (2px); disabled delta-300. */
18
+ --colors-input-active-outline-color: var(--colors-delta-500);
19
+ --colors-input-active-hover-outline-color: var(--colors-gama-300);
20
+ --colors-input-active-active-outline-color: var(--colors-gama-400);
21
+ --colors-input-active-focus-outline-color: var(--colors-gama-400);
22
+ --colors-input-active-disabled-outline-color: var(--colors-delta-300);
21
23
  --input-active-cursor: text;
22
24
  --input-active-hover-cursor: text;
23
25
  --input-active-active-cursor: text;
24
26
  --input-active-focus-cursor: text;
25
27
  --input-active-disabled-cursor: default;
26
28
  --input-active-outline-width: 1px;
27
- --input-active-hover-outline-width: 1px;
28
- --input-active-active-outline-width: 1px;
29
+ --input-active-hover-outline-width: 2px;
30
+ --input-active-active-outline-width: 2px;
29
31
  --input-active-focus-outline-width: 2px;
30
32
  --input-active-disabled-outline-width: 1px;
31
33
  /* Input Error */
32
- --colors-input-error-placeholder-color: var(--colors-error-700);
34
+ --colors-input-error-placeholder-color: var(--colors-error-500);
33
35
  --colors-input-error-bg-color: var(--colors-error-100);
34
36
  --colors-input-error-hover-bg-color: var(--colors-error-100);
35
37
  --colors-input-error-active-bg-color: var(--colors-error-100);
36
38
  --colors-input-error-focus-bg-color: var(--colors-error-100);
37
39
  --colors-input-error-disabled-bg-color: var(--colors-error-100);
38
- --colors-input-error-text-color: var(--colors-error-700);
39
- --colors-input-error-hover-text-color: var(--colors-error-700);
40
- --colors-input-error-active-text-color: var(--colors-error-700);
41
- --colors-input-error-focus-text-color: var(--colors-error-700);
42
- --colors-input-error-disabled-text-color: var(--colors-error-700);
43
- --colors-input-error-outline-color: var(--colors-error-700);
44
- --colors-input-error-hover-outline-color: var(--colors-error-700);
45
- --colors-input-error-active-outline-color: var(--colors-error-700);
46
- --colors-input-error-focus-outline-color: var(--colors-error-700);
47
- --colors-input-error-disabled-outline-color: var(--colors-error-700);
40
+ --colors-input-error-text-color: var(--colors-error-500);
41
+ --colors-input-error-hover-text-color: var(--colors-error-500);
42
+ --colors-input-error-active-text-color: var(--colors-error-500);
43
+ --colors-input-error-focus-text-color: var(--colors-error-500);
44
+ --colors-input-error-disabled-text-color: var(--colors-error-500);
45
+ --colors-input-error-outline-color: var(--colors-error-500);
46
+ --colors-input-error-hover-outline-color: var(--colors-error-500);
47
+ --colors-input-error-active-outline-color: var(--colors-error-500);
48
+ --colors-input-error-focus-outline-color: var(--colors-error-500);
49
+ --colors-input-error-disabled-outline-color: var(--colors-error-500);
48
50
  --input-error-cursor: text;
49
51
  --input-error-hover-cursor: text;
50
52
  --input-error-active-cursor: text;
@@ -56,17 +58,17 @@
56
58
  --input-error-focus-outline-width: 2px;
57
59
  --input-error-disabled-outline-width: 1px;
58
60
  /* input notEditable */
59
- --colors-input-notEditable-placeholder-color: var(--colors-gray-800);
60
- --colors-input-notEditable-bg-color: var(--colors-gray-50);
61
- --colors-input-notEditable-hover-bg-color: var(--colors-gray-50);
62
- --colors-input-notEditable-active-bg-color: var(--colors-gray-50);
63
- --colors-input-notEditable-focus-bg-color: var(--colors-gray-50);
64
- --colors-input-notEditable-disabled-bg-color: var(--colors-gray-50);
65
- --colors-input-notEditable-text-color: var(--colors-gray-800);
66
- --colors-input-active-hover-text-color: var(--colors-gray-800);
67
- --colors-input-notEditable-active-text-color: var(--colors-gray-800);
68
- --colors-input-notEditable-focus-text-color: var(--colors-gray-800);
69
- --colors-input-notEditable-disabled-text-color: var(--colors-gray-300);
61
+ --colors-input-notEditable-placeholder-color: var(--colors-delta-800);
62
+ --colors-input-notEditable-bg-color: var(--colors-delta-50);
63
+ --colors-input-notEditable-hover-bg-color: var(--colors-delta-50);
64
+ --colors-input-notEditable-active-bg-color: var(--colors-delta-50);
65
+ --colors-input-notEditable-focus-bg-color: var(--colors-delta-50);
66
+ --colors-input-notEditable-disabled-bg-color: var(--colors-delta-50);
67
+ --colors-input-notEditable-text-color: var(--colors-delta-800);
68
+ --colors-input-active-hover-text-color: var(--colors-delta-800);
69
+ --colors-input-notEditable-active-text-color: var(--colors-delta-800);
70
+ --colors-input-notEditable-focus-text-color: var(--colors-delta-800);
71
+ --colors-input-notEditable-disabled-text-color: var(--colors-delta-300);
70
72
  --input-notEditable-cursor: default;
71
73
  --input-notEditable-hover-cursor: default;
72
74
  --input-notEditable-active-cursor: default;
@@ -79,24 +81,24 @@
79
81
  --input-notEditable-disabled-outline-width: 0px;
80
82
  /* input disabled */
81
83
  --colors-input-disabled-disabled-outline-width: 1px;
82
- --colors-input-disabled-disabled-outline-color: var(--colors-gray-300);
83
- --colors-input-disabled-disabled-text-color: var(--colors-gray-300);
84
- --colors-input-disabled-placeholder-color: var(--colors-gray-300);
84
+ --colors-input-disabled-disabled-outline-color: var(--colors-delta-300);
85
+ --colors-input-disabled-disabled-text-color: var(--colors-delta-300);
86
+ --colors-input-disabled-placeholder-color: var(--colors-delta-300);
85
87
  --colors-input-disabled-disabled-bg-color: #ffffff;
86
88
  --input-disabled-disabled-outline-width: 1px;
87
89
 
88
90
  /* input readOnly */
89
- --colors-input-readOnly-placeholder-color: var(--colors-gray-800);
91
+ --colors-input-readOnly-placeholder-color: var(--colors-delta-800);
90
92
  --colors-input-readOnly-bg-color: transparent;
91
93
  --colors-input-readOnly-hover-bg-color: transparent;
92
94
  --colors-input-readOnly-active-bg-color: transparent;
93
95
  --colors-input-readOnly-focus-bg-color: transparent;
94
96
  --colors-input-readOnly-disabled-bg-color: transparent;
95
- --colors-input-readOnly-text-color: var(--colors-gray-800);
96
- --colors-input-active-hover-text-color: var(--colors-gray-800);
97
- --colors-input-readOnly-active-text-color: var(--colors-gray-800);
98
- --colors-input-readOnly-focus-text-color: var(--colors-gray-800);
99
- --colors-input-readOnly-active-text-color: var(--colors-gray-300);
97
+ --colors-input-readOnly-text-color: var(--colors-delta-800);
98
+ --colors-input-active-hover-text-color: var(--colors-delta-800);
99
+ --colors-input-readOnly-active-text-color: var(--colors-delta-800);
100
+ --colors-input-readOnly-focus-text-color: var(--colors-delta-800);
101
+ --colors-input-readOnly-active-text-color: var(--colors-delta-300);
100
102
  --input-readOnly-cursor: text;
101
103
  --input-readOnly-hover-cursor: text;
102
104
  --input-readOnly-active-cursor: text;
@@ -108,15 +110,15 @@
108
110
  --input-readOnly-focus-outline-width: 0px;
109
111
  --input-readOnly-disabled-outline-width: 0px;
110
112
  /* input Label */
111
- --colors-input-label-active-text-color: var(--colors-gray-800);
112
- --colors-input-label-error-text-color: var(--colors-error-700);
113
- --colors-input-label-disabled-text-color: var(--colors-gray-300);
114
- --colors-input-label-notEditable-text-color: var(--colors-gray-800);
115
- --colors-input-label-readOnly-text-color: var(--colors-gray-800);
113
+ --colors-input-label-active-text-color: var(--colors-delta-800);
114
+ --colors-input-label-error-text-color: var(--colors-error-500);
115
+ --colors-input-label-disabled-text-color: var(--colors-delta-300);
116
+ --colors-input-label-notEditable-text-color: var(--colors-delta-800);
117
+ --colors-input-label-readOnly-text-color: var(--colors-delta-800);
116
118
  /* input Description */
117
- --colors-input-description-active-text-color: var(--colors-gray-600);
118
- --colors-input-description-error-text-color: var(--colors-error-700);
119
- --colors-input-description-disabled-text-color: var(--colors-gray-300);
120
- --colors-input-description-notEditable-text-color: var(--colors-gray-600);
121
- --colors-input-description-readOnly-text-color: var(--colors-gray-600);
119
+ --colors-input-description-active-text-color: var(--colors-delta-600);
120
+ --colors-input-description-error-text-color: var(--colors-error-500);
121
+ --colors-input-description-disabled-text-color: var(--colors-delta-300);
122
+ --colors-input-description-notEditable-text-color: var(--colors-delta-600);
123
+ --colors-input-description-readOnly-text-color: var(--colors-delta-600);
122
124
  }
@@ -9,6 +9,44 @@
9
9
  @tailwind components;
10
10
  @tailwind utilities;
11
11
 
12
+ @layer base {
13
+ /*
14
+ * Native Popover API elements (our top-layer overlays: StyledPopover / StyledSelect /
15
+ * StyledSelectAutocomplete, and thus StyledMenu + the date-picker calendar) ship UA-default
16
+ * chrome — a solid border, 0.25em padding, `inset: 0` + `margin: auto`. Neutralise it so each
17
+ * component controls its own look (otherwise a popover that doesn't set a border shows the black
18
+ * UA outline — e.g. the calendar). `:where()` keeps 0 specificity, so any component class
19
+ * (border-delta-300, py-1, …) or inline style still wins. Prevents this class of regression for
20
+ * every current and future top-layer popover.
21
+ */
22
+ :where([popover]) {
23
+ margin: 0;
24
+ inset: auto;
25
+ border: 0;
26
+ padding: 0;
27
+ background: transparent;
28
+ }
29
+ }
30
+
31
+ /*
32
+ * Respect OS-level "reduce motion" (WCAG 2.3.3) across every component in one place instead of
33
+ * gating each `transition-*`/`animate-*` Tailwind class individually. Left unlayered (not
34
+ * `@tailwind utilities`) with `!important` — the standard technique for this rule (e.g. web.dev's
35
+ * "one rule to reduce motion") — so it wins over any Tailwind transition/animation/duration utility
36
+ * regardless of that utility's own layer/specificity. Near-zero (not `0s`/`none`) keeps
37
+ * `transitionend`/`animationend` still firing for any code awaiting them.
38
+ */
39
+ @media (prefers-reduced-motion: reduce) {
40
+ *,
41
+ *::before,
42
+ *::after {
43
+ animation-duration: 0.01ms !important;
44
+ animation-iteration-count: 1 !important;
45
+ transition-duration: 0.01ms !important;
46
+ scroll-behavior: auto !important;
47
+ }
48
+ }
49
+
12
50
  @layer utilities {
13
51
  .border-solid {
14
52
  border-style: solid;
@@ -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,18 +0,0 @@
1
- import "react";
2
- import { jsx as r } from "react/jsx-runtime";
3
- function h(t) {
4
- return /* @__PURE__ */ r("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- width: "1em",
7
- height: "1em",
8
- viewBox: "0 0 24 24",
9
- ...t,
10
- children: /* @__PURE__ */ r("path", {
11
- fill: "currentColor",
12
- d: "M10 21v-2H6.41l4.5-4.5l-1.41-1.41l-4.5 4.5V14H3v7zm4.5-10.09l4.5-4.5V10h2V3h-7v2h3.59l-4.5 4.5z"
13
- })
14
- });
15
- }
16
- export {
17
- h as ArrowExpand
18
- };
@@ -1 +0,0 @@
1
- export * from './ArrowExpand.js'
@@ -1,18 +0,0 @@
1
- import "react";
2
- import { jsx as r } from "react/jsx-runtime";
3
- function i(h) {
4
- return /* @__PURE__ */ r("svg", {
5
- xmlns: "http://www.w3.org/2000/svg",
6
- width: "1em",
7
- height: "1em",
8
- viewBox: "0 0 24 24",
9
- ...h,
10
- children: /* @__PURE__ */ r("path", {
11
- fill: "currentColor",
12
- d: "M19.5 3.09L15 7.59V4h-2v7h7V9h-3.59l4.5-4.5zM4 13v2h3.59l-4.5 4.5l1.41 1.41l4.5-4.5V20h2v-7z"
13
- })
14
- });
15
- }
16
- export {
17
- i as ArrowShrink
18
- };
@@ -1 +0,0 @@
1
- export * from './ArrowShrink.js'
@@ -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,39 +0,0 @@
1
- import { cn as a } from "../../../helpers/cn.js";
2
- import { OutlineErrorRounded as s } from "../../../shared-components/OutlineErrorRounded.js";
3
- import { StyledTooltip as m } from "../../../shared-components/StyledTooltip.js";
4
- import "react";
5
- import { Fragment as d, jsx as r, jsxs as p } from "react/jsx-runtime";
6
- var b = ({ text: e, hasError: i }) => {
7
- if (typeof e != "string") return /* @__PURE__ */ r(d, { children: e });
8
- const t = i ? 35 : 40, o = e.length > t, n = o ? e.slice(0, t) + "…" : e, l = /* @__PURE__ */ p("div", {
9
- className: "flex items-start gap-1",
10
- children: [/* @__PURE__ */ r("div", {
11
- className: a("flex", "transform-gpu transition-all duration-300 ease-in-out"),
12
- children: i && /* @__PURE__ */ r(s, {
13
- width: 20,
14
- height: 20,
15
- color: "var(--colors-error-500)"
16
- })
17
- }), /* @__PURE__ */ r("span", {
18
- className: "flex-1 break-words pt-[2px] text-left leading-4",
19
- style: {
20
- display: "-webkit-box",
21
- WebkitLineClamp: 2,
22
- WebkitBoxOrient: "vertical",
23
- overflow: "hidden",
24
- maxHeight: 32,
25
- fontFamily: "roboto, sans-serif"
26
- },
27
- children: n
28
- })]
29
- });
30
- return o ? /* @__PURE__ */ r(m, {
31
- title: e,
32
- placement: "right",
33
- arrow: !0,
34
- children: /* @__PURE__ */ r("span", { children: l })
35
- }) : l;
36
- };
37
- export {
38
- b as HelperTextWithTooltip
39
- };
@@ -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
- };