asma-ui-core 3.44.0 → 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.
- package/dist/asma-ui-core.css +1 -1
- package/dist/components/custom/module/header-layout/ToolbarActionGroup.js +2 -2
- package/dist/components/custom/module/module-title/StyledModuleTitle.module.js +1 -1
- package/dist/components/custom/widget/widget/StyledWidget.module.js +8 -8
- package/dist/components/custom/widget/widget-title/StyledWidgetTitle.module.js +1 -1
- package/dist/components/data-display/ai-disclosure/StyledAIDisclosure.js +7 -5
- package/dist/components/data-display/badge/StyledBadge.js +53 -23
- package/dist/components/data-display/chip/StyledChip.js +62 -59
- package/dist/components/data-display/chip/chipPadding.js +44 -0
- package/dist/components/data-display/form-label/components/StyledFormLabel.js +18 -10
- package/dist/components/data-display/form-label/styles/StyledFormLabel.module.js +4 -4
- package/dist/components/data-display/interactive-chip/StyledInteractiveChip.js +35 -39
- package/dist/components/data-display/interactive-chip/StyledInteractiveChip.module.js +4 -0
- package/dist/components/data-display/tooltip/StyledTooltip.js +51 -33
- package/dist/components/data-display/typography/StyledTypography.js +62 -4
- package/dist/components/feedback/dialog/StyledDialog.js +102 -39
- package/dist/components/feedback/dialog/StyledDialog.module.js +2 -9
- package/dist/components/feedback/dialog/StyledDialogActions.js +16 -16
- package/dist/components/feedback/dialog/StyledDialogContent.js +18 -14
- package/dist/components/feedback/dialog/StyledDialogTitle.js +18 -13
- package/dist/components/feedback/empty-page/StyledEmptyPage.js +4 -4
- package/dist/components/feedback/filtered-empty-state/StyledFilteredEmptyState.js +7 -7
- package/dist/components/feedback/minimizable-dialog/MinimizableDialog.js +123 -114
- package/dist/components/feedback/minimizable-dialog/components/CloseBtn.js +6 -5
- package/dist/components/feedback/minimizable-dialog/components/FullscreenBtn.js +13 -12
- package/dist/components/feedback/minimizable-dialog/components/MinimizeBtn.js +15 -13
- package/dist/components/feedback/minimizable-dialog/v2/MinimizableDialogV2.js +67 -61
- package/dist/components/feedback/snack-bar/StyledAlert.js +95 -14
- package/dist/components/feedback/snack-bar/StyledSnackbar.js +34 -8
- package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.js +32 -33
- package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.module.js +16 -16
- package/dist/components/icons/check-icon/CheckIcon.js +8 -7
- package/dist/components/inputs/button/StyledButton.js +22 -18
- package/dist/components/inputs/button/StyledButton.module.js +5 -5
- package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.js +61 -55
- package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.module.js +12 -11
- package/dist/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.js +54 -50
- package/dist/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.js +107 -99
- package/dist/components/inputs/field-styles.js +8 -0
- package/dist/components/inputs/input-field/StyledInputField.js +188 -83
- package/dist/components/inputs/input-field/StyledInputField.module.js +10 -0
- package/dist/components/inputs/label/StyledLabel.js +19 -11
- package/dist/components/inputs/label/StyledLabel.module.js +1 -1
- package/dist/components/inputs/radio-button/base-ui/RadioGroupContext.js +6 -0
- package/dist/components/inputs/radio-button/base-ui/StyledRadio.js +43 -28
- package/dist/components/inputs/radio-button/base-ui/StyledRadio.module.js +7 -6
- package/dist/components/inputs/radio-button/base-ui/StyledRadioGroup.js +37 -24
- package/dist/components/inputs/search-field/StyledSearchField.js +49 -43
- package/dist/components/inputs/select/StyledSelect.js +170 -45
- package/dist/components/inputs/select/StyledSelectItem.js +19 -23
- package/dist/components/inputs/select-autocomplete/StyledSelectAutocomplete.js +228 -150
- package/dist/components/inputs/slider/StyledSlider.js +100 -52
- package/dist/components/inputs/slider/StyledSlider.module.js +10 -0
- package/dist/components/inputs/switch/base-ui/StyledSwitch.js +45 -38
- package/dist/components/inputs/switch/base-ui/StyledSwitch.module.js +4 -4
- package/dist/components/inputs/textarea/StyledTextarea.js +44 -43
- package/dist/components/inputs/textarea/StyledTextarea.module.js +1 -1
- package/dist/components/miscellaneous/FormControlContext.js +6 -0
- package/dist/components/miscellaneous/StyledFormControl.js +42 -21
- package/dist/components/miscellaneous/StyledFormControlLabel.js +29 -15
- package/dist/components/miscellaneous/StyledFormGroup.js +16 -4
- package/dist/components/miscellaneous/StyledFormHelperText.js +12 -4
- package/dist/components/miscellaneous/StyledInputLabel.js +20 -4
- package/dist/components/mui-compat/Avatar.js +34 -0
- package/dist/components/mui-compat/ClickAwayListener.js +42 -0
- package/dist/components/mui-compat/Container.js +24 -0
- package/dist/components/mui-compat/Fade.js +29 -0
- package/dist/components/mui-compat/Fade.module.js +9 -0
- package/dist/components/mui-compat/FormLabel.js +22 -0
- package/dist/components/mui-compat/Paper.js +44 -0
- package/dist/components/mui-compat/Popper.js +35 -0
- package/dist/components/mui-compat/Skeleton.js +27 -0
- package/dist/components/mui-compat/Stack.js +24 -0
- package/dist/components/navigation/drawer/StyledDrawer.js +45 -4
- package/dist/components/navigation/link/StyledLink.module.js +5 -5
- package/dist/components/navigation/listbox/Listbox.js +7 -7
- package/dist/components/navigation/menu/StyledMenu.js +28 -11
- package/dist/components/navigation/menu/StyledMenuItem.js +21 -19
- package/dist/components/navigation/menu/StyledMenuList.js +34 -4
- package/dist/components/navigation/tabs/StyledTab.js +28 -13
- package/dist/components/navigation/tabs/StyledTabs.js +115 -66
- package/dist/components/navigation/tabs/TabsContext.js +6 -0
- package/dist/components/utils/accordion/base-ui/AccordionContext.js +10 -0
- package/dist/components/utils/accordion/base-ui/StyledAccordion.js +28 -21
- package/dist/components/utils/accordion/base-ui/StyledAccordion.module.js +7 -7
- package/dist/components/utils/accordion/base-ui/StyledAccordionDetails.js +28 -14
- package/dist/components/utils/accordion/base-ui/StyledAccordionSummary.js +34 -27
- package/dist/components/utils/copy-wrapper/CopyButton.js +8 -7
- package/dist/components/utils/copy-wrapper/CopyWrapper.js +23 -20
- package/dist/components/utils/filter-menu/StyledFilterButton.js +14 -13
- package/dist/components/utils/filter-menu/StyledFilterMenu.js +16 -15
- package/dist/components/utils/popover/StyledPopover.js +51 -15
- package/dist/components/utils/virtual-list/VirtualList.js +46 -0
- package/dist/datetime/components/date-picker/StyledDatePicker.js +17 -17
- package/dist/datetime/components/date-picker/components/BaseDatePickerInput.js +98 -99
- package/dist/datetime/components/date-picker/components/DatePickerButton.js +11 -9
- package/dist/datetime/components/date-picker/components/StyledCalendarPicker.js +11 -11
- package/dist/datetime/components/date-picker/components/StyledCalendarPicker.module.js +20 -20
- package/dist/datetime/components/date-picker/components/StyledCalendarPickerCaption.js +8 -7
- package/dist/datetime/components/date-picker/components/StyledCalendarPickerFooter.js +13 -14
- package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectMonth.js +17 -24
- package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectYear.js +7 -8
- package/dist/datetime/components/date-picker/components/StyledDayPicker.js +4 -5
- package/dist/datetime/components/date-picker/helpers.js +7 -7
- package/dist/datetime/components/date-picker/hooks/useDatePickerMask.js +3 -7
- package/dist/datetime/components/time-picker/StyledTimePicker.js +25 -25
- package/dist/datetime/components/time-picker/StyledTimePicker.module.js +6 -6
- package/dist/datetime/components/time-picker/TimePickerInput.js +56 -50
- package/dist/datetime/components/time-picker/TimePickerPopper.js +22 -19
- package/dist/datetime/components/time-picker/components/TimePickerColumn.js +12 -12
- package/dist/datetime/components/time-picker/helpers/getTimeFromValue.js +3 -3
- package/dist/datetime/helpers/cn.js +4 -5
- package/dist/datetime/hooks/useWindowWidthSize.hook.js +1 -1
- package/dist/helpers/arrays.js +4 -0
- package/dist/helpers/classOverride.js +12 -0
- package/dist/helpers/cn.js +4 -5
- package/dist/helpers/inputMask.js +58 -0
- package/dist/helpers/sx.js +46 -0
- package/dist/hooks/useFocusTrap.hook.js +34 -0
- package/dist/hooks/useTopLayer.hook.js +25 -0
- package/dist/index.js +185 -175
- package/dist/src/api-surface.test.d.ts +1 -0
- package/dist/src/components/custom/module/header-layout/DynamicToolbar.d.ts +10 -0
- package/dist/src/components/custom/module/module-title/StyledModuleTitle.d.ts +4 -0
- package/dist/src/components/custom/widget/widget/StyledWidget.d.ts +8 -0
- package/dist/src/components/custom/widget/widget-header/StyledWidgetHeader.d.ts +4 -0
- package/dist/src/components/custom/widget/widget-title/StyledWidgetTitle.d.ts +4 -0
- package/dist/src/components/data-display/ai-disclosure/StyledAIDisclosure.d.ts +7 -0
- package/dist/src/components/data-display/badge/StyledBadge.d.ts +40 -2
- package/dist/src/components/data-display/chip/StyledChip.d.ts +74 -5
- package/dist/src/components/data-display/chip/chipPadding.d.ts +3 -0
- package/dist/src/components/data-display/form-label/types.d.ts +11 -0
- package/dist/src/components/data-display/interactive-chip/StyledInteractiveChip.d.ts +22 -4
- package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +43 -1
- package/dist/src/components/data-display/typography/StyledTypography.d.ts +32 -1
- package/dist/src/components/feedback/dialog/StyledDialog.d.ts +60 -4
- package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +12 -2
- package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +12 -2
- package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +10 -2
- package/dist/src/components/feedback/empty-page/StyledEmptyPage.d.ts +6 -0
- package/dist/src/components/feedback/filtered-empty-state/StyledFilteredEmptyState.d.ts +7 -0
- package/dist/src/components/feedback/loading/StyledLoading.d.ts +9 -0
- package/dist/src/components/feedback/minimizable-dialog/v2/types.d.ts +13 -0
- package/dist/src/components/feedback/minimizable-dialog/v2/useControlledProps.d.ts +4 -2
- package/dist/src/components/feedback/minimizable-dialog/v2/useTranslations.d.ts +17 -12
- package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +1 -1
- package/dist/src/components/feedback/snack-bar/StyledAlert.d.ts +41 -2
- package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +1 -1
- package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +25 -2
- package/dist/src/components/feedback/snack-bar/components/StyledDefaultSnackbar.d.ts +10 -1
- package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +1 -1
- package/dist/src/components/feedback/snack-bar/components/types.d.ts +1 -1
- package/dist/src/components/inputs/button/StyledButton.d.ts +15 -1
- package/dist/src/components/inputs/checkbox/base-ui/StyledCheckbox.d.ts +33 -4
- package/dist/src/components/inputs/dynamic-select/StyledDynamicSelect.d.ts +16 -0
- package/dist/src/components/inputs/dynamic-select/types.d.ts +25 -14
- package/dist/src/components/inputs/field-styles.d.ts +27 -0
- package/dist/src/components/inputs/input-field/StyledInputField.d.ts +85 -10
- package/dist/src/components/inputs/input-field/index.d.ts +1 -1
- package/dist/src/components/inputs/label/StyledLabel.d.ts +13 -0
- package/dist/src/components/inputs/radio-button/base-ui/RadioGroupContext.d.ts +10 -0
- package/dist/src/components/inputs/radio-button/base-ui/StyledRadio.d.ts +60 -5
- package/dist/src/components/inputs/radio-button/base-ui/StyledRadioGroup.d.ts +30 -7
- package/dist/src/components/inputs/search-field/StyledSearchField.d.ts +9 -1
- package/dist/src/components/inputs/select/StyledSelect.d.ts +70 -16
- package/dist/src/components/inputs/select/StyledSelectItem.d.ts +14 -2
- package/dist/src/components/inputs/select/index.d.ts +0 -1
- package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +120 -17
- package/dist/src/components/inputs/slider/StyledSlider.d.ts +66 -3
- package/dist/src/components/inputs/switch/base-ui/StyledSwitch.d.ts +44 -4
- package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +19 -0
- package/dist/src/components/miscellaneous/FormControlContext.d.ts +14 -0
- package/dist/src/components/miscellaneous/StyledFormControl.d.ts +27 -2
- package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +21 -2
- package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +11 -2
- package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +12 -2
- package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +20 -2
- package/dist/src/components/mui-compat/Avatar.d.ts +6 -0
- package/dist/src/components/mui-compat/ClickAwayListener.d.ts +19 -0
- package/dist/src/components/mui-compat/Container.d.ts +6 -0
- package/dist/src/components/mui-compat/Fade.d.ts +21 -0
- package/dist/src/components/mui-compat/FormLabel.d.ts +6 -0
- package/dist/src/components/mui-compat/Paper.d.ts +6 -0
- package/dist/src/components/mui-compat/Popper.d.ts +29 -0
- package/dist/src/components/mui-compat/Skeleton.d.ts +7 -0
- package/dist/src/components/mui-compat/Stack.d.ts +7 -0
- package/dist/src/components/mui-compat/index.d.ts +9 -0
- package/dist/src/components/mui-compat/types.d.ts +46 -0
- package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +33 -2
- package/dist/src/components/navigation/link/StyledLink.d.ts +13 -0
- package/dist/src/components/navigation/menu/StyledMenu.d.ts +33 -2
- package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +35 -2
- package/dist/src/components/navigation/menu/StyledMenuList.d.ts +16 -2
- package/dist/src/components/navigation/menu/index.d.ts +0 -1
- package/dist/src/components/navigation/tabs/StyledTab.d.ts +27 -3
- package/dist/src/components/navigation/tabs/StyledTabs.d.ts +22 -7
- package/dist/src/components/navigation/tabs/TabsContext.d.ts +11 -0
- package/dist/src/components/utils/accordion/base-ui/AccordionContext.d.ts +10 -0
- package/dist/src/components/utils/accordion/base-ui/StyledAccordion.d.ts +9 -3
- package/dist/src/components/utils/accordion/base-ui/StyledAccordionDetails.d.ts +5 -0
- package/dist/src/components/utils/accordion/base-ui/StyledAccordionSummary.d.ts +16 -4
- package/dist/src/components/utils/copy-wrapper/CopyWrapper.d.ts +6 -1
- package/dist/src/components/utils/filter-menu/StyledFilterButton.d.ts +4 -0
- package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +8 -2
- package/dist/src/components/utils/popover/StyledPopover.d.ts +39 -2
- package/dist/src/components/utils/virtual-list/VirtualList.d.ts +32 -0
- package/dist/src/components/utils/virtual-list/index.d.ts +1 -0
- package/dist/src/datetime/components/date-picker/StyledDatePicker.d.ts +11 -0
- package/dist/src/datetime/components/date-picker/components/DatePickerButton.d.ts +2 -0
- package/dist/src/datetime/components/date-picker/components/StyledCalendarPicker.d.ts +1 -1
- package/dist/src/datetime/components/date-picker/components/StyledDayPicker.d.ts +1 -1
- package/dist/src/datetime/components/date-picker/hooks/useDatePickerMask.d.ts +1 -2
- package/dist/src/datetime/components/date-picker/hooks/useDatePickerValidation.d.ts +7 -5
- package/dist/src/datetime/components/time-picker/StyledTimePicker.d.ts +10 -0
- package/dist/src/datetime/components/time-picker/TimePickerInput.d.ts +1 -1
- package/dist/src/datetime/components/time-picker/TimePickerPopper.d.ts +1 -1
- package/dist/src/datetime/components/time-picker/types.d.ts +1 -2
- package/dist/src/datetime/hooks/useToggleMenuVisibility.hook.d.ts +6 -4
- package/dist/src/datetime/shared-components/StyledFormControl.d.ts +1 -2
- package/dist/src/datetime/shared-components/StyledInputField.d.ts +1 -12
- package/dist/src/datetime/shared-components/StyledSelect.d.ts +1 -16
- package/dist/src/datetime/shared-components/StyledSelectItem.d.ts +1 -2
- package/dist/src/datetime/shared-components/StyledTooltip.d.ts +1 -2
- package/dist/src/helpers/applyImportantPadding.d.ts +8 -0
- package/dist/src/helpers/arrays.d.ts +2 -0
- package/dist/src/helpers/arrays.test.d.ts +1 -0
- package/dist/src/helpers/classOverride.d.ts +21 -0
- package/dist/src/helpers/classOverride.test.d.ts +1 -0
- package/dist/src/helpers/inputMask.d.ts +40 -0
- package/dist/src/helpers/inputMask.test.d.ts +1 -0
- package/dist/src/helpers/sx.d.ts +2 -0
- package/dist/src/helpers/sx.test.d.ts +1 -0
- package/dist/src/hooks/useFocusTrap.hook.d.ts +10 -0
- package/dist/src/hooks/useTopLayer.hook.d.ts +49 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/table/components/columns/helpers/useElementHeightPx.d.ts +6 -3
- package/dist/src/table/components/columns/helpers/useProxyHorizontalScrollSync.d.ts +9 -6
- package/dist/src/table/hooks/useToggleMenuVisibility.hook.d.ts +6 -4
- package/dist/src/table/hooks/useTranslations.d.ts +15 -8
- package/dist/src/table/shared-components/StyledCheckbox.d.ts +7 -4
- package/dist/src/table/shared-components/StyledMenuItem.d.ts +18 -2
- package/dist/src/table/shared-components/menu-item/index.d.ts +13 -2
- package/dist/src/table/shared-components/tooltip/index.d.ts +5 -1
- package/dist/src/table/types.d.ts +1 -1
- package/dist/table/components/Fetching.js +4 -4
- package/dist/table/components/StyledTable.module.js +48 -48
- package/dist/table/components/TableRow.js +7 -7
- package/dist/table/components/TableSkeleton.js +6 -6
- package/dist/table/components/columns/action-column/actionColumn.js +14 -11
- package/dist/table/components/columns/action-column/components/HeaderActionMenu.js +52 -49
- package/dist/table/components/columns/action-column/components/RowActionMenu.js +40 -36
- package/dist/table/components/columns/expandColumn.js +12 -9
- package/dist/table/components/table-footer/TablePagination.js +28 -25
- package/dist/table/components/table-footer/TableRowCountSelect.js +31 -28
- package/dist/table/components/table-header/TableHeaderCell.js +54 -45
- package/dist/table/custom-features/focus-rows/FocusRowsFeature.js +29 -25
- package/dist/table/helpers/cn.js +4 -5
- package/dist/table/hooks/useColumnVirtualizer.js +1 -1
- package/dist/table/hooks/usePersistedPageSize.js +6 -6
- package/dist/table/hooks/useTranslations.js +6 -4
- package/dist/table/hooks/useWindowWidthSize.hook.js +1 -1
- package/dist/table/shared-components/StyledCheckbox.js +54 -55
- package/dist/table/shared-components/StyledCheckbox.module.js +9 -9
- package/dist/table/shared-components/StyledMenuItem.js +14 -17
- package/dist/table/shared-components/button/StyledButton.module.js +8 -8
- package/dist/table/shared-components/menu-item/index.js +15 -16
- package/dist/table/shared-components/tooltip/index.js +4 -23
- package/package.json +9 -18
- package/src/styles/components-colors/inputVariables.css +59 -57
- package/src/styles/index.css +38 -0
- package/dist/components/feedback/dialog/StyledDialogActions.module.js +0 -8
- package/dist/components/feedback/dialog/StyledDialogContent.module.js +0 -4
- package/dist/components/feedback/dialog/StyledDialogTitle.module.js +0 -4
- package/dist/components/icons/arrow-expand/ArrowExpand.js +0 -18
- package/dist/components/icons/arrow-expand/index.js +0 -1
- package/dist/components/icons/arrow-shrink/ArrowShrink.js +0 -18
- package/dist/components/icons/arrow-shrink/index.js +0 -1
- package/dist/components/inputs/checkbox/StyledCheckbox.js +0 -20
- package/dist/components/inputs/radio-button/StyledRadio.js +0 -17
- package/dist/datetime/components/date-picker/components/HelperTextWithTooltip.js +0 -39
- package/dist/datetime/shared-components/ExpandIcon.js +0 -18
- package/dist/datetime/shared-components/StyledFormControl.js +0 -23
- package/dist/datetime/shared-components/StyledInputField.js +0 -47
- package/dist/datetime/shared-components/StyledSelect.js +0 -47
- package/dist/datetime/shared-components/StyledSelectItem.js +0 -13
- package/dist/datetime/shared-components/StyledTooltip.js +0 -32
- package/dist/src/components/icons/arrow-expand/ArrowExpand.d.ts +0 -2
- package/dist/src/components/icons/arrow-expand/index.d.ts +0 -1
- package/dist/src/components/icons/arrow-shrink/ArrowShrink.d.ts +0 -2
- package/dist/src/components/icons/arrow-shrink/index.d.ts +0 -1
- package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +0 -4
- package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +0 -4
- package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +0 -4
- package/dist/src/components/inputs/switch/StyledSwitch.d.ts +0 -5
- package/dist/src/components/utils/accordion/StyledAccordion.d.ts +0 -2
- package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +0 -2
- package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +0 -8
- package/dist/src/datetime/components/date-picker/components/HelperTextWithTooltip.d.ts +0 -5
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "3.
|
|
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
|
-
"@
|
|
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
|
-
"@
|
|
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-
|
|
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-
|
|
8
|
-
--colors-input-active-active-bg-color: var(--colors-
|
|
9
|
-
--colors-input-active-focus-bg-color: var(--colors-
|
|
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-
|
|
12
|
-
--colors-input-active-hover-text-color: var(--colors-
|
|
13
|
-
--colors-input-active-active-text-color: var(--colors-
|
|
14
|
-
--colors-input-active-focus-text-color: var(--colors-
|
|
15
|
-
--colors-input-active-disabled-text-color: var(--colors-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
--colors-input-active-
|
|
19
|
-
--colors-input-active-
|
|
20
|
-
--colors-input-active-
|
|
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:
|
|
28
|
-
--input-active-active-outline-width:
|
|
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-
|
|
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-
|
|
39
|
-
--colors-input-error-hover-text-color: var(--colors-error-
|
|
40
|
-
--colors-input-error-active-text-color: var(--colors-error-
|
|
41
|
-
--colors-input-error-focus-text-color: var(--colors-error-
|
|
42
|
-
--colors-input-error-disabled-text-color: var(--colors-error-
|
|
43
|
-
--colors-input-error-outline-color: var(--colors-error-
|
|
44
|
-
--colors-input-error-hover-outline-color: var(--colors-error-
|
|
45
|
-
--colors-input-error-active-outline-color: var(--colors-error-
|
|
46
|
-
--colors-input-error-focus-outline-color: var(--colors-error-
|
|
47
|
-
--colors-input-error-disabled-outline-color: var(--colors-error-
|
|
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-
|
|
60
|
-
--colors-input-notEditable-bg-color: var(--colors-
|
|
61
|
-
--colors-input-notEditable-hover-bg-color: var(--colors-
|
|
62
|
-
--colors-input-notEditable-active-bg-color: var(--colors-
|
|
63
|
-
--colors-input-notEditable-focus-bg-color: var(--colors-
|
|
64
|
-
--colors-input-notEditable-disabled-bg-color: var(--colors-
|
|
65
|
-
--colors-input-notEditable-text-color: var(--colors-
|
|
66
|
-
--colors-input-active-hover-text-color: var(--colors-
|
|
67
|
-
--colors-input-notEditable-active-text-color: var(--colors-
|
|
68
|
-
--colors-input-notEditable-focus-text-color: var(--colors-
|
|
69
|
-
--colors-input-notEditable-disabled-text-color: var(--colors-
|
|
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-
|
|
83
|
-
--colors-input-disabled-disabled-text-color: var(--colors-
|
|
84
|
-
--colors-input-disabled-placeholder-color: var(--colors-
|
|
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-
|
|
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-
|
|
96
|
-
--colors-input-active-hover-text-color: var(--colors-
|
|
97
|
-
--colors-input-readOnly-active-text-color: var(--colors-
|
|
98
|
-
--colors-input-readOnly-focus-text-color: var(--colors-
|
|
99
|
-
--colors-input-readOnly-active-text-color: var(--colors-
|
|
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-
|
|
112
|
-
--colors-input-label-error-text-color: var(--colors-error-
|
|
113
|
-
--colors-input-label-disabled-text-color: var(--colors-
|
|
114
|
-
--colors-input-label-notEditable-text-color: var(--colors-
|
|
115
|
-
--colors-input-label-readOnly-text-color: var(--colors-
|
|
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-
|
|
118
|
-
--colors-input-description-error-text-color: var(--colors-error-
|
|
119
|
-
--colors-input-description-disabled-text-color: var(--colors-
|
|
120
|
-
--colors-input-description-notEditable-text-color: var(--colors-
|
|
121
|
-
--colors-input-description-readOnly-text-color: var(--colors-
|
|
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
|
}
|
package/src/styles/index.css
CHANGED
|
@@ -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,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
|
-
};
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
export * from './ArrowExpand';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ArrowShrink';
|