@helpwave/hightide 0.1.24 → 0.1.26
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/README.md +1 -1
- package/dist/components/branding/HelpwaveBadge.d.mts +4 -5
- package/dist/components/branding/HelpwaveBadge.d.ts +4 -5
- package/dist/components/branding/HelpwaveBadge.js +46 -87
- package/dist/components/branding/HelpwaveBadge.js.map +1 -1
- package/dist/components/branding/HelpwaveBadge.mjs +46 -89
- package/dist/components/branding/HelpwaveBadge.mjs.map +1 -1
- package/dist/components/date/DatePicker.d.mts +1 -1
- package/dist/components/date/DatePicker.d.ts +1 -1
- package/dist/components/date/DatePicker.js +106 -60
- package/dist/components/date/DatePicker.js.map +1 -1
- package/dist/components/date/DatePicker.mjs +107 -61
- package/dist/components/date/DatePicker.mjs.map +1 -1
- package/dist/components/date/DayPicker.d.mts +1 -1
- package/dist/components/date/DayPicker.d.ts +1 -1
- package/dist/components/date/DayPicker.js +3 -3
- package/dist/components/date/DayPicker.js.map +1 -1
- package/dist/components/date/DayPicker.mjs +3 -3
- package/dist/components/date/DayPicker.mjs.map +1 -1
- package/dist/components/date/TimeDisplay.js.map +1 -1
- package/dist/components/date/TimeDisplay.mjs.map +1 -1
- package/dist/components/date/TimePicker.js +2 -2
- package/dist/components/date/TimePicker.js.map +1 -1
- package/dist/components/date/TimePicker.mjs +2 -2
- package/dist/components/date/TimePicker.mjs.map +1 -1
- package/dist/components/date/YearMonthPicker.js +84 -36
- package/dist/components/date/YearMonthPicker.js.map +1 -1
- package/dist/components/date/YearMonthPicker.mjs +85 -37
- package/dist/components/date/YearMonthPicker.mjs.map +1 -1
- package/dist/components/{dialogs → dialog}/ConfirmDialog.d.mts +9 -8
- package/dist/components/{dialogs → dialog}/ConfirmDialog.d.ts +9 -8
- package/dist/components/dialog/ConfirmDialog.js +938 -0
- package/dist/components/dialog/ConfirmDialog.js.map +1 -0
- package/dist/components/dialog/ConfirmDialog.mjs +902 -0
- package/dist/components/dialog/ConfirmDialog.mjs.map +1 -0
- package/dist/components/dialog/Dialog.d.mts +27 -0
- package/dist/components/dialog/Dialog.d.ts +27 -0
- package/dist/components/dialog/Dialog.js +879 -0
- package/dist/components/dialog/Dialog.js.map +1 -0
- package/dist/components/dialog/Dialog.mjs +845 -0
- package/dist/components/dialog/Dialog.mjs.map +1 -0
- package/dist/components/dialog/DiscardChangesDialog.d.mts +24 -0
- package/dist/components/dialog/DiscardChangesDialog.d.ts +24 -0
- package/dist/components/dialog/DiscardChangesDialog.js +966 -0
- package/dist/components/dialog/DiscardChangesDialog.js.map +1 -0
- package/dist/components/dialog/DiscardChangesDialog.mjs +930 -0
- package/dist/components/dialog/DiscardChangesDialog.mjs.map +1 -0
- package/dist/components/dialog/InputDialog.d.mts +22 -0
- package/dist/components/dialog/InputDialog.d.ts +22 -0
- package/dist/components/dialog/InputDialog.js +1139 -0
- package/dist/components/dialog/InputDialog.js.map +1 -0
- package/dist/components/dialog/InputDialog.mjs +1103 -0
- package/dist/components/dialog/InputDialog.mjs.map +1 -0
- package/dist/components/dialog/LanguageDialog.d.mts +25 -0
- package/dist/components/dialog/LanguageDialog.d.ts +25 -0
- package/dist/components/dialog/LanguageDialog.js +1684 -0
- package/dist/components/dialog/LanguageDialog.js.map +1 -0
- package/dist/components/dialog/LanguageDialog.mjs +1658 -0
- package/dist/components/dialog/LanguageDialog.mjs.map +1 -0
- package/dist/components/dialog/ThemeDialog.d.mts +26 -0
- package/dist/components/dialog/ThemeDialog.d.ts +26 -0
- package/dist/components/dialog/ThemeDialog.js +1715 -0
- package/dist/components/dialog/ThemeDialog.js.map +1 -0
- package/dist/components/dialog/ThemeDialog.mjs +1689 -0
- package/dist/components/dialog/ThemeDialog.mjs.map +1 -0
- package/dist/components/dialog/index.d.mts +17 -0
- package/dist/components/dialog/index.d.ts +17 -0
- package/dist/components/dialog/index.js +2062 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/dialog/index.mjs +2031 -0
- package/dist/components/dialog/index.mjs.map +1 -0
- package/dist/components/form/FormElementWrapper.d.mts +29 -0
- package/dist/components/form/FormElementWrapper.d.ts +29 -0
- package/dist/components/form/FormElementWrapper.js +98 -0
- package/dist/components/form/FormElementWrapper.js.map +1 -0
- package/dist/components/form/FormElementWrapper.mjs +64 -0
- package/dist/components/form/FormElementWrapper.mjs.map +1 -0
- package/dist/components/icons-and-geometry/Avatar.js +498 -2886
- package/dist/components/icons-and-geometry/Avatar.js.map +1 -1
- package/dist/components/icons-and-geometry/Avatar.mjs +490 -2878
- package/dist/components/icons-and-geometry/Avatar.mjs.map +1 -1
- package/dist/components/icons-and-geometry/{Helpwave.d.mts → HelpwaveLogo.d.mts} +3 -3
- package/dist/components/icons-and-geometry/{Helpwave.d.ts → HelpwaveLogo.d.ts} +3 -3
- package/dist/components/icons-and-geometry/{Helpwave.js → HelpwaveLogo.js} +21 -22
- package/dist/components/icons-and-geometry/HelpwaveLogo.js.map +1 -0
- package/dist/components/icons-and-geometry/{Helpwave.mjs → HelpwaveLogo.mjs} +17 -18
- package/dist/components/icons-and-geometry/HelpwaveLogo.mjs.map +1 -0
- package/dist/components/icons-and-geometry/Ring.js +1 -1
- package/dist/components/icons-and-geometry/Ring.js.map +1 -1
- package/dist/components/icons-and-geometry/Ring.mjs +1 -1
- package/dist/components/icons-and-geometry/Ring.mjs.map +1 -1
- package/dist/components/icons-and-geometry/Tag.js +8 -20
- package/dist/components/icons-and-geometry/Tag.js.map +1 -1
- package/dist/components/icons-and-geometry/Tag.mjs +8 -20
- package/dist/components/icons-and-geometry/Tag.mjs.map +1 -1
- package/dist/components/layout-and-navigation/BreadCrumb.js +667 -22
- package/dist/components/layout-and-navigation/BreadCrumb.js.map +1 -1
- package/dist/components/layout-and-navigation/BreadCrumb.mjs +667 -22
- package/dist/components/layout-and-navigation/BreadCrumb.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Carousel.js +52 -53
- package/dist/components/layout-and-navigation/Carousel.js.map +1 -1
- package/dist/components/layout-and-navigation/Carousel.mjs +52 -53
- package/dist/components/layout-and-navigation/Carousel.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Chip.d.mts +8 -5
- package/dist/components/layout-and-navigation/Chip.d.ts +8 -5
- package/dist/components/layout-and-navigation/Chip.js +17 -4
- package/dist/components/layout-and-navigation/Chip.js.map +1 -1
- package/dist/components/layout-and-navigation/Chip.mjs +17 -4
- package/dist/components/layout-and-navigation/Chip.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Expandable.d.mts +13 -10
- package/dist/components/layout-and-navigation/Expandable.d.ts +13 -10
- package/dist/components/layout-and-navigation/Expandable.js +18 -5
- package/dist/components/layout-and-navigation/Expandable.js.map +1 -1
- package/dist/components/layout-and-navigation/Expandable.mjs +19 -6
- package/dist/components/layout-and-navigation/Expandable.mjs.map +1 -1
- package/dist/components/layout-and-navigation/FAQSection.js +21 -8
- package/dist/components/layout-and-navigation/FAQSection.js.map +1 -1
- package/dist/components/layout-and-navigation/FAQSection.mjs +22 -9
- package/dist/components/layout-and-navigation/FAQSection.mjs.map +1 -1
- package/dist/components/layout-and-navigation/FloatingContainer.d.mts +38 -0
- package/dist/components/layout-and-navigation/FloatingContainer.d.ts +38 -0
- package/dist/components/layout-and-navigation/FloatingContainer.js +219 -0
- package/dist/components/layout-and-navigation/FloatingContainer.js.map +1 -0
- package/dist/components/layout-and-navigation/FloatingContainer.mjs +195 -0
- package/dist/components/layout-and-navigation/FloatingContainer.mjs.map +1 -0
- package/dist/components/layout-and-navigation/ListBox.d.mts +44 -0
- package/dist/components/layout-and-navigation/ListBox.d.ts +44 -0
- package/dist/components/layout-and-navigation/ListBox.js +329 -0
- package/dist/components/layout-and-navigation/ListBox.js.map +1 -0
- package/dist/components/layout-and-navigation/ListBox.mjs +290 -0
- package/dist/components/layout-and-navigation/ListBox.mjs.map +1 -0
- package/dist/components/layout-and-navigation/Pagination.js +142 -230
- package/dist/components/layout-and-navigation/Pagination.js.map +1 -1
- package/dist/components/layout-and-navigation/Pagination.mjs +137 -225
- package/dist/components/layout-and-navigation/Pagination.mjs.map +1 -1
- package/dist/components/layout-and-navigation/ScrollArea.d.mts +15 -0
- package/dist/components/layout-and-navigation/ScrollArea.d.ts +15 -0
- package/dist/components/layout-and-navigation/ScrollArea.js +1252 -0
- package/dist/components/layout-and-navigation/ScrollArea.js.map +1 -0
- package/dist/components/layout-and-navigation/ScrollArea.mjs +1216 -0
- package/dist/components/layout-and-navigation/ScrollArea.mjs.map +1 -0
- package/dist/components/layout-and-navigation/StepperBar.js +67 -30
- package/dist/components/layout-and-navigation/StepperBar.js.map +1 -1
- package/dist/components/layout-and-navigation/StepperBar.mjs +67 -30
- package/dist/components/layout-and-navigation/StepperBar.mjs.map +1 -1
- package/dist/components/layout-and-navigation/TextImage.js +3 -1
- package/dist/components/layout-and-navigation/TextImage.js.map +1 -1
- package/dist/components/layout-and-navigation/TextImage.mjs +3 -1
- package/dist/components/layout-and-navigation/TextImage.mjs.map +1 -1
- package/dist/components/loading-states/ErrorComponent.js.map +1 -1
- package/dist/components/loading-states/ErrorComponent.mjs.map +1 -1
- package/dist/components/loading-states/LoadingAndErrorComponent.d.mts +1 -1
- package/dist/components/loading-states/LoadingAndErrorComponent.d.ts +1 -1
- package/dist/components/loading-states/LoadingAnimation.js +18 -17
- package/dist/components/loading-states/LoadingAnimation.js.map +1 -1
- package/dist/components/loading-states/LoadingAnimation.mjs +18 -17
- package/dist/components/loading-states/LoadingAnimation.mjs.map +1 -1
- package/dist/components/loading-states/LoadingButton.js +81 -47
- package/dist/components/loading-states/LoadingButton.js.map +1 -1
- package/dist/components/loading-states/LoadingButton.mjs +81 -47
- package/dist/components/loading-states/LoadingButton.mjs.map +1 -1
- package/dist/components/properties/CheckboxProperty.js +929 -153
- package/dist/components/properties/CheckboxProperty.js.map +1 -1
- package/dist/components/properties/CheckboxProperty.mjs +936 -160
- package/dist/components/properties/CheckboxProperty.mjs.map +1 -1
- package/dist/components/properties/DateProperty.js +191 -241
- package/dist/components/properties/DateProperty.js.map +1 -1
- package/dist/components/properties/DateProperty.mjs +184 -234
- package/dist/components/properties/DateProperty.mjs.map +1 -1
- package/dist/components/properties/MultiSelectProperty.d.mts +5 -10
- package/dist/components/properties/MultiSelectProperty.d.ts +5 -10
- package/dist/components/properties/MultiSelectProperty.js +1193 -1189
- package/dist/components/properties/MultiSelectProperty.js.map +1 -1
- package/dist/components/properties/MultiSelectProperty.mjs +1207 -1193
- package/dist/components/properties/MultiSelectProperty.mjs.map +1 -1
- package/dist/components/properties/NumberProperty.js +193 -244
- package/dist/components/properties/NumberProperty.js.map +1 -1
- package/dist/components/properties/NumberProperty.mjs +186 -237
- package/dist/components/properties/NumberProperty.mjs.map +1 -1
- package/dist/components/properties/PropertyBase.js +91 -56
- package/dist/components/properties/PropertyBase.js.map +1 -1
- package/dist/components/properties/PropertyBase.mjs +91 -56
- package/dist/components/properties/PropertyBase.mjs.map +1 -1
- package/dist/components/properties/SelectProperty.d.mts +5 -8
- package/dist/components/properties/SelectProperty.d.ts +5 -8
- package/dist/components/properties/SelectProperty.js +1102 -897
- package/dist/components/properties/SelectProperty.js.map +1 -1
- package/dist/components/properties/SelectProperty.mjs +1107 -892
- package/dist/components/properties/SelectProperty.mjs.map +1 -1
- package/dist/components/properties/TextProperty.js +139 -147
- package/dist/components/properties/TextProperty.js.map +1 -1
- package/dist/components/properties/TextProperty.mjs +142 -150
- package/dist/components/properties/TextProperty.mjs.map +1 -1
- package/dist/components/table/Table.js +1639 -991
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/table/Table.mjs +1645 -997
- package/dist/components/table/Table.mjs.map +1 -1
- package/dist/components/table/TableFilterButton.js +156 -244
- package/dist/components/table/TableFilterButton.js.map +1 -1
- package/dist/components/table/TableFilterButton.mjs +145 -233
- package/dist/components/table/TableFilterButton.mjs.map +1 -1
- package/dist/components/table/TableSortButton.js +44 -46
- package/dist/components/table/TableSortButton.js.map +1 -1
- package/dist/components/table/TableSortButton.mjs +44 -46
- package/dist/components/table/TableSortButton.mjs.map +1 -1
- package/dist/components/user-action/Button.d.mts +17 -13
- package/dist/components/user-action/Button.d.ts +17 -13
- package/dist/components/user-action/Button.js +80 -87
- package/dist/components/user-action/Button.js.map +1 -1
- package/dist/components/user-action/Button.mjs +80 -87
- package/dist/components/user-action/Button.mjs.map +1 -1
- package/dist/components/user-action/Checkbox.d.mts +9 -25
- package/dist/components/user-action/Checkbox.d.ts +9 -25
- package/dist/components/user-action/Checkbox.js +794 -78
- package/dist/components/user-action/Checkbox.js.map +1 -1
- package/dist/components/user-action/Checkbox.mjs +795 -79
- package/dist/components/user-action/Checkbox.mjs.map +1 -1
- package/dist/components/user-action/CopyToClipboardWrapper.js +3 -1
- package/dist/components/user-action/CopyToClipboardWrapper.js.map +1 -1
- package/dist/components/user-action/CopyToClipboardWrapper.mjs +3 -1
- package/dist/components/user-action/CopyToClipboardWrapper.mjs.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.d.mts +1 -1
- package/dist/components/user-action/DateAndTimePicker.d.ts +1 -1
- package/dist/components/user-action/DateAndTimePicker.js +108 -60
- package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.mjs +109 -61
- package/dist/components/user-action/DateAndTimePicker.mjs.map +1 -1
- package/dist/components/user-action/Label.d.mts +6 -8
- package/dist/components/user-action/Label.d.ts +6 -8
- package/dist/components/user-action/Label.js +4 -6
- package/dist/components/user-action/Label.js.map +1 -1
- package/dist/components/user-action/Label.mjs +4 -6
- package/dist/components/user-action/Label.mjs.map +1 -1
- package/dist/components/user-action/Menu.d.mts +2 -2
- package/dist/components/user-action/Menu.d.ts +2 -2
- package/dist/components/user-action/Menu.js +1 -1
- package/dist/components/user-action/Menu.js.map +1 -1
- package/dist/components/user-action/Menu.mjs +1 -1
- package/dist/components/user-action/Menu.mjs.map +1 -1
- package/dist/components/user-action/ScrollPicker.js +8 -6
- package/dist/components/user-action/ScrollPicker.js.map +1 -1
- package/dist/components/user-action/ScrollPicker.mjs +8 -6
- package/dist/components/user-action/ScrollPicker.mjs.map +1 -1
- package/dist/components/user-action/SearchBar.d.mts +1 -2
- package/dist/components/user-action/SearchBar.d.ts +1 -2
- package/dist/components/user-action/SearchBar.js +131 -219
- package/dist/components/user-action/SearchBar.js.map +1 -1
- package/dist/components/user-action/SearchBar.mjs +124 -212
- package/dist/components/user-action/SearchBar.mjs.map +1 -1
- package/dist/components/user-action/Textarea.d.mts +22 -11
- package/dist/components/user-action/Textarea.d.ts +22 -11
- package/dist/components/user-action/Textarea.js +101 -92
- package/dist/components/user-action/Textarea.js.map +1 -1
- package/dist/components/user-action/Textarea.mjs +100 -92
- package/dist/components/user-action/Textarea.mjs.map +1 -1
- package/dist/components/user-action/input/Input.d.mts +37 -0
- package/dist/components/user-action/input/Input.d.ts +37 -0
- package/dist/components/user-action/input/Input.js +244 -0
- package/dist/components/user-action/input/Input.js.map +1 -0
- package/dist/components/user-action/input/Input.mjs +209 -0
- package/dist/components/user-action/input/Input.mjs.map +1 -0
- package/dist/components/user-action/input/InsideLabelInput.d.mts +20 -0
- package/dist/components/user-action/input/InsideLabelInput.d.ts +20 -0
- package/dist/components/user-action/input/InsideLabelInput.js +295 -0
- package/dist/components/user-action/input/InsideLabelInput.js.map +1 -0
- package/dist/components/user-action/input/InsideLabelInput.mjs +260 -0
- package/dist/components/user-action/input/InsideLabelInput.mjs.map +1 -0
- package/dist/components/user-action/input/ToggleableInput.d.mts +22 -0
- package/dist/components/user-action/input/ToggleableInput.d.ts +22 -0
- package/dist/components/user-action/{Input.js → input/ToggleableInput.js} +136 -171
- package/dist/components/user-action/input/ToggleableInput.js.map +1 -0
- package/dist/components/user-action/input/ToggleableInput.mjs +264 -0
- package/dist/components/user-action/input/ToggleableInput.mjs.map +1 -0
- package/dist/components/user-action/select/Select.d.mts +98 -0
- package/dist/components/user-action/select/Select.d.ts +98 -0
- package/dist/components/user-action/select/Select.js +1354 -0
- package/dist/components/user-action/select/Select.js.map +1 -0
- package/dist/components/user-action/select/Select.mjs +1320 -0
- package/dist/components/user-action/select/Select.mjs.map +1 -0
- package/dist/components/utils/FocusTrap.d.mts +28 -0
- package/dist/components/utils/FocusTrap.d.ts +28 -0
- package/dist/components/utils/FocusTrap.js +252 -0
- package/dist/components/utils/FocusTrap.js.map +1 -0
- package/dist/components/utils/FocusTrap.mjs +229 -0
- package/dist/components/utils/FocusTrap.mjs.map +1 -0
- package/dist/components/utils/Transition.d.mts +26 -0
- package/dist/components/utils/Transition.d.ts +26 -0
- package/dist/components/utils/Transition.js +74 -0
- package/dist/components/utils/Transition.js.map +1 -0
- package/dist/components/utils/Transition.mjs +50 -0
- package/dist/components/utils/Transition.mjs.map +1 -0
- package/dist/hooks/focus/useFocusGuards.d.mts +3 -0
- package/dist/hooks/focus/useFocusGuards.d.ts +3 -0
- package/dist/hooks/focus/useFocusGuards.js +74 -0
- package/dist/hooks/focus/useFocusGuards.js.map +1 -0
- package/dist/hooks/focus/useFocusGuards.mjs +50 -0
- package/dist/hooks/focus/useFocusGuards.mjs.map +1 -0
- package/dist/hooks/{useFocusManagement.js → focus/useFocusManagement.js} +1 -1
- package/dist/hooks/focus/useFocusManagement.js.map +1 -0
- package/dist/hooks/{useFocusManagement.mjs → focus/useFocusManagement.mjs} +1 -1
- package/dist/hooks/focus/useFocusManagement.mjs.map +1 -0
- package/dist/hooks/{useFocusOnceVisible.js → focus/useFocusOnceVisible.js} +1 -1
- package/dist/hooks/focus/useFocusOnceVisible.js.map +1 -0
- package/dist/hooks/{useFocusOnceVisible.mjs → focus/useFocusOnceVisible.mjs} +1 -1
- package/dist/hooks/focus/useFocusOnceVisible.mjs.map +1 -0
- package/dist/hooks/focus/useFocusTrap.d.mts +16 -0
- package/dist/hooks/focus/useFocusTrap.d.ts +16 -0
- package/dist/hooks/focus/useFocusTrap.js +233 -0
- package/dist/hooks/focus/useFocusTrap.js.map +1 -0
- package/dist/hooks/focus/useFocusTrap.mjs +210 -0
- package/dist/hooks/focus/useFocusTrap.mjs.map +1 -0
- package/dist/hooks/focus/useIsMounted.d.mts +3 -0
- package/dist/hooks/focus/useIsMounted.d.ts +3 -0
- package/dist/hooks/focus/useIsMounted.js +43 -0
- package/dist/hooks/focus/useIsMounted.js.map +1 -0
- package/dist/hooks/focus/useIsMounted.mjs +20 -0
- package/dist/hooks/focus/useIsMounted.mjs.map +1 -0
- package/dist/hooks/useFloatingElement.d.mts +22 -0
- package/dist/hooks/useFloatingElement.d.ts +22 -0
- package/dist/hooks/useFloatingElement.js +162 -0
- package/dist/hooks/useFloatingElement.js.map +1 -0
- package/dist/hooks/useFloatingElement.mjs +139 -0
- package/dist/hooks/useFloatingElement.mjs.map +1 -0
- package/dist/hooks/useLocalStorage.js +2 -2
- package/dist/hooks/useLocalStorage.js.map +1 -1
- package/dist/hooks/useLocalStorage.mjs +2 -2
- package/dist/hooks/useLocalStorage.mjs.map +1 -1
- package/dist/hooks/useLogOnce.d.mts +3 -4
- package/dist/hooks/useLogOnce.d.ts +3 -4
- package/dist/hooks/useLogOnce.js +5 -5
- package/dist/hooks/useLogOnce.js.map +1 -1
- package/dist/hooks/useLogOnce.mjs +5 -5
- package/dist/hooks/useLogOnce.mjs.map +1 -1
- package/dist/hooks/useRerender.d.mts +2 -2
- package/dist/hooks/useRerender.d.ts +2 -2
- package/dist/hooks/useSearch.d.mts +2 -2
- package/dist/hooks/useSearch.d.ts +2 -2
- package/dist/hooks/useSearch.js +1 -1
- package/dist/hooks/useSearch.js.map +1 -1
- package/dist/hooks/useSearch.mjs +1 -1
- package/dist/hooks/useSearch.mjs.map +1 -1
- package/dist/localization/LanguageProvider.d.mts +2 -2
- package/dist/localization/LanguageProvider.d.ts +2 -2
- package/dist/localization/LanguageProvider.js +2 -2
- package/dist/localization/LanguageProvider.js.map +1 -1
- package/dist/localization/LanguageProvider.mjs +2 -2
- package/dist/localization/LanguageProvider.mjs.map +1 -1
- package/dist/localization/defaults/form.d.mts +1 -0
- package/dist/localization/defaults/form.d.ts +1 -0
- package/dist/localization/defaults/form.js +2 -0
- package/dist/localization/defaults/form.js.map +1 -1
- package/dist/localization/defaults/form.mjs +2 -0
- package/dist/localization/defaults/form.mjs.map +1 -1
- package/dist/localization/useTranslation.js.map +1 -1
- package/dist/localization/useTranslation.mjs.map +1 -1
- package/dist/storybook/helper.d.mts +17 -0
- package/dist/storybook/helper.d.ts +17 -0
- package/dist/storybook/helper.js +61 -0
- package/dist/storybook/helper.js.map +1 -0
- package/dist/storybook/helper.mjs +37 -0
- package/dist/storybook/helper.mjs.map +1 -0
- package/dist/{css → style}/globals.css +994 -456
- package/dist/{css → style}/uncompiled/globals.css +75 -13
- package/dist/{css → style}/uncompiled/theme/colors-component.css +18 -4
- package/dist/{css → style}/uncompiled/theme/colors-semantic.css +2 -9
- package/dist/style/uncompiled/typography.css +171 -0
- package/dist/{css → style}/uncompiled/utitlity/animation.css +54 -42
- package/dist/{css → style}/uncompiled/utitlity/index.css +2 -1
- package/dist/{css → style}/uncompiled/utitlity/shadow.css +5 -1
- package/dist/style/uncompiled/utitlity/sizing.css +29 -0
- package/dist/theming/useTheme.d.mts +2 -2
- package/dist/theming/useTheme.d.ts +2 -2
- package/dist/theming/useTheme.js +4 -4
- package/dist/theming/useTheme.js.map +1 -1
- package/dist/theming/useTheme.mjs +4 -4
- package/dist/theming/useTheme.mjs.map +1 -1
- package/dist/{util → utils}/array.d.mts +1 -0
- package/dist/{util → utils}/array.d.ts +1 -0
- package/dist/{util → utils}/array.js +15 -2
- package/dist/utils/array.js.map +1 -0
- package/dist/{util → utils}/array.mjs +15 -2
- package/dist/utils/array.mjs.map +1 -0
- package/dist/utils/bagFunctions.d.mts +15 -0
- package/dist/utils/bagFunctions.d.ts +15 -0
- package/dist/{util/PropsWithFunctionChildren.js → utils/bagFunctions.js} +5 -5
- package/dist/utils/bagFunctions.js.map +1 -0
- package/dist/{util/PropsWithFunctionChildren.mjs → utils/bagFunctions.mjs} +2 -2
- package/dist/utils/bagFunctions.mjs.map +1 -0
- package/dist/{util → utils}/builder.js +1 -1
- package/dist/utils/builder.js.map +1 -0
- package/dist/{util → utils}/builder.mjs +1 -1
- package/dist/utils/builder.mjs.map +1 -0
- package/dist/{util → utils}/date.js +3 -3
- package/dist/utils/date.js.map +1 -0
- package/dist/{util → utils}/date.mjs +2 -2
- package/dist/utils/date.mjs.map +1 -0
- package/dist/{util → utils}/easeFunctions.js +5 -4
- package/dist/utils/easeFunctions.js.map +1 -0
- package/dist/{util → utils}/easeFunctions.mjs +4 -3
- package/dist/utils/easeFunctions.mjs.map +1 -0
- package/dist/{util → utils}/emailValidation.js +1 -1
- package/dist/utils/emailValidation.js.map +1 -0
- package/dist/{util → utils}/emailValidation.mjs +1 -1
- package/dist/utils/emailValidation.mjs.map +1 -0
- package/dist/{util → utils}/loopingArray.js +1 -1
- package/dist/utils/loopingArray.js.map +1 -0
- package/dist/{util → utils}/loopingArray.mjs +1 -1
- package/dist/utils/loopingArray.mjs.map +1 -0
- package/dist/utils/match.d.mts +3 -0
- package/dist/utils/match.d.ts +3 -0
- package/dist/utils/match.js +32 -0
- package/dist/utils/match.js.map +1 -0
- package/dist/utils/match.mjs +8 -0
- package/dist/utils/match.mjs.map +1 -0
- package/dist/utils/math.d.mts +3 -0
- package/dist/utils/math.d.ts +3 -0
- package/dist/{util → utils}/math.js +3 -2
- package/dist/utils/math.js.map +1 -0
- package/dist/utils/math.mjs +9 -0
- package/dist/utils/math.mjs.map +1 -0
- package/dist/{util → utils}/noop.js +1 -1
- package/dist/utils/noop.js.map +1 -0
- package/dist/utils/noop.mjs +6 -0
- package/dist/utils/noop.mjs.map +1 -0
- package/dist/{util → utils}/resolveSetState.js +1 -1
- package/dist/utils/resolveSetState.js.map +1 -0
- package/dist/{util → utils}/resolveSetState.mjs +1 -1
- package/dist/utils/resolveSetState.mjs.map +1 -0
- package/dist/{util → utils}/simpleSearch.js +1 -1
- package/dist/utils/simpleSearch.js.map +1 -0
- package/dist/{util → utils}/simpleSearch.mjs +1 -1
- package/dist/utils/simpleSearch.mjs.map +1 -0
- package/dist/{util → utils}/storage.js +1 -1
- package/dist/utils/storage.js.map +1 -0
- package/dist/{util → utils}/storage.mjs +1 -1
- package/dist/utils/storage.mjs.map +1 -0
- package/dist/{util → utils}/writeToClipboard.js +2 -1
- package/dist/utils/writeToClipboard.js.map +1 -0
- package/dist/{util → utils}/writeToClipboard.mjs +3 -1
- package/dist/utils/writeToClipboard.mjs.map +1 -0
- package/package.json +8 -8
- package/dist/components/dialogs/ConfirmDialog.js +0 -677
- package/dist/components/dialogs/ConfirmDialog.js.map +0 -1
- package/dist/components/dialogs/ConfirmDialog.mjs +0 -641
- package/dist/components/dialogs/ConfirmDialog.mjs.map +0 -1
- package/dist/components/icons-and-geometry/Helpwave.js.map +0 -1
- package/dist/components/icons-and-geometry/Helpwave.mjs.map +0 -1
- package/dist/components/layout-and-navigation/Overlay.d.mts +0 -67
- package/dist/components/layout-and-navigation/Overlay.d.ts +0 -67
- package/dist/components/layout-and-navigation/Overlay.js +0 -705
- package/dist/components/layout-and-navigation/Overlay.js.map +0 -1
- package/dist/components/layout-and-navigation/Overlay.mjs +0 -668
- package/dist/components/layout-and-navigation/Overlay.mjs.map +0 -1
- package/dist/components/layout-and-navigation/SearchableList.d.mts +0 -24
- package/dist/components/layout-and-navigation/SearchableList.d.ts +0 -24
- package/dist/components/layout-and-navigation/SearchableList.js +0 -761
- package/dist/components/layout-and-navigation/SearchableList.js.map +0 -1
- package/dist/components/layout-and-navigation/SearchableList.mjs +0 -727
- package/dist/components/layout-and-navigation/SearchableList.mjs.map +0 -1
- package/dist/components/layout-and-navigation/Tile.d.mts +0 -27
- package/dist/components/layout-and-navigation/Tile.d.ts +0 -27
- package/dist/components/layout-and-navigation/Tile.js +0 -96
- package/dist/components/layout-and-navigation/Tile.js.map +0 -1
- package/dist/components/layout-and-navigation/Tile.mjs +0 -61
- package/dist/components/layout-and-navigation/Tile.mjs.map +0 -1
- package/dist/components/modals/ConfirmModal.d.mts +0 -33
- package/dist/components/modals/ConfirmModal.d.ts +0 -33
- package/dist/components/modals/ConfirmModal.js +0 -690
- package/dist/components/modals/ConfirmModal.js.map +0 -1
- package/dist/components/modals/ConfirmModal.mjs +0 -654
- package/dist/components/modals/ConfirmModal.mjs.map +0 -1
- package/dist/components/modals/DiscardChangesModal.d.mts +0 -20
- package/dist/components/modals/DiscardChangesModal.d.ts +0 -20
- package/dist/components/modals/DiscardChangesModal.js +0 -720
- package/dist/components/modals/DiscardChangesModal.js.map +0 -1
- package/dist/components/modals/DiscardChangesModal.mjs +0 -684
- package/dist/components/modals/DiscardChangesModal.mjs.map +0 -1
- package/dist/components/modals/InputModal.d.mts +0 -21
- package/dist/components/modals/InputModal.d.ts +0 -21
- package/dist/components/modals/InputModal.js +0 -979
- package/dist/components/modals/InputModal.js.map +0 -1
- package/dist/components/modals/InputModal.mjs +0 -943
- package/dist/components/modals/InputModal.mjs.map +0 -1
- package/dist/components/modals/LanguageModal.d.mts +0 -21
- package/dist/components/modals/LanguageModal.d.ts +0 -21
- package/dist/components/modals/LanguageModal.js +0 -1474
- package/dist/components/modals/LanguageModal.js.map +0 -1
- package/dist/components/modals/LanguageModal.mjs +0 -1438
- package/dist/components/modals/LanguageModal.mjs.map +0 -1
- package/dist/components/modals/ThemeModal.d.mts +0 -21
- package/dist/components/modals/ThemeModal.d.ts +0 -21
- package/dist/components/modals/ThemeModal.js +0 -1503
- package/dist/components/modals/ThemeModal.js.map +0 -1
- package/dist/components/modals/ThemeModal.mjs +0 -1467
- package/dist/components/modals/ThemeModal.mjs.map +0 -1
- package/dist/components/user-action/Input.d.mts +0 -77
- package/dist/components/user-action/Input.d.ts +0 -77
- package/dist/components/user-action/Input.js.map +0 -1
- package/dist/components/user-action/Input.mjs +0 -298
- package/dist/components/user-action/Input.mjs.map +0 -1
- package/dist/components/user-action/MultiSelect.d.mts +0 -42
- package/dist/components/user-action/MultiSelect.d.ts +0 -42
- package/dist/components/user-action/MultiSelect.js +0 -1445
- package/dist/components/user-action/MultiSelect.js.map +0 -1
- package/dist/components/user-action/MultiSelect.mjs +0 -1410
- package/dist/components/user-action/MultiSelect.mjs.map +0 -1
- package/dist/components/user-action/Select.d.mts +0 -41
- package/dist/components/user-action/Select.d.ts +0 -41
- package/dist/components/user-action/Select.js +0 -1242
- package/dist/components/user-action/Select.js.map +0 -1
- package/dist/components/user-action/Select.mjs +0 -1207
- package/dist/components/user-action/Select.mjs.map +0 -1
- package/dist/components/user-action/ToggleableInput.d.mts +0 -37
- package/dist/components/user-action/ToggleableInput.d.ts +0 -37
- package/dist/components/user-action/ToggleableInput.js +0 -192
- package/dist/components/user-action/ToggleableInput.js.map +0 -1
- package/dist/components/user-action/ToggleableInput.mjs +0 -157
- package/dist/components/user-action/ToggleableInput.mjs.map +0 -1
- package/dist/css/uncompiled/textstyles.css +0 -69
- package/dist/hooks/useFocusManagement.js.map +0 -1
- package/dist/hooks/useFocusManagement.mjs.map +0 -1
- package/dist/hooks/useFocusOnceVisible.js.map +0 -1
- package/dist/hooks/useFocusOnceVisible.mjs.map +0 -1
- package/dist/index.d.mts +0 -103
- package/dist/index.d.ts +0 -103
- package/dist/index.js +0 -12595
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -12432
- package/dist/index.mjs.map +0 -1
- package/dist/util/PropsWithFunctionChildren.d.mts +0 -14
- package/dist/util/PropsWithFunctionChildren.d.ts +0 -14
- package/dist/util/PropsWithFunctionChildren.js.map +0 -1
- package/dist/util/PropsWithFunctionChildren.mjs.map +0 -1
- package/dist/util/array.js.map +0 -1
- package/dist/util/array.mjs.map +0 -1
- package/dist/util/builder.js.map +0 -1
- package/dist/util/builder.mjs.map +0 -1
- package/dist/util/date.js.map +0 -1
- package/dist/util/date.mjs.map +0 -1
- package/dist/util/easeFunctions.js.map +0 -1
- package/dist/util/easeFunctions.mjs.map +0 -1
- package/dist/util/emailValidation.js.map +0 -1
- package/dist/util/emailValidation.mjs.map +0 -1
- package/dist/util/loopingArray.js.map +0 -1
- package/dist/util/loopingArray.mjs.map +0 -1
- package/dist/util/math.d.mts +0 -3
- package/dist/util/math.d.ts +0 -3
- package/dist/util/math.js.map +0 -1
- package/dist/util/math.mjs +0 -8
- package/dist/util/math.mjs.map +0 -1
- package/dist/util/news.d.mts +0 -101
- package/dist/util/news.d.ts +0 -101
- package/dist/util/news.js +0 -76
- package/dist/util/news.js.map +0 -1
- package/dist/util/news.mjs +0 -49
- package/dist/util/news.mjs.map +0 -1
- package/dist/util/noop.js.map +0 -1
- package/dist/util/noop.mjs +0 -6
- package/dist/util/noop.mjs.map +0 -1
- package/dist/util/resolveSetState.js.map +0 -1
- package/dist/util/resolveSetState.mjs.map +0 -1
- package/dist/util/simpleSearch.js.map +0 -1
- package/dist/util/simpleSearch.mjs.map +0 -1
- package/dist/util/storage.js.map +0 -1
- package/dist/util/storage.mjs.map +0 -1
- package/dist/util/types.d.mts +0 -3
- package/dist/util/types.d.ts +0 -3
- package/dist/util/types.js +0 -18
- package/dist/util/types.js.map +0 -1
- package/dist/util/types.mjs +0 -1
- package/dist/util/types.mjs.map +0 -1
- package/dist/util/writeToClipboard.js.map +0 -1
- package/dist/util/writeToClipboard.mjs.map +0 -1
- /package/dist/hooks/{useFocusManagement.d.mts → focus/useFocusManagement.d.mts} +0 -0
- /package/dist/hooks/{useFocusManagement.d.ts → focus/useFocusManagement.d.ts} +0 -0
- /package/dist/hooks/{useFocusOnceVisible.d.mts → focus/useFocusOnceVisible.d.mts} +0 -0
- /package/dist/hooks/{useFocusOnceVisible.d.ts → focus/useFocusOnceVisible.d.ts} +0 -0
- /package/dist/{css → style}/uncompiled/theme/colors-basic.css +0 -0
- /package/dist/{css → style}/uncompiled/theme/index.css +0 -0
- /package/dist/{css → style}/uncompiled/theme/variants.css +0 -0
- /package/dist/{css → style}/uncompiled/utitlity/borderradius.css +0 -0
- /package/dist/{css → style}/uncompiled/utitlity/general.css +0 -0
- /package/dist/{util → utils}/builder.d.mts +0 -0
- /package/dist/{util → utils}/builder.d.ts +0 -0
- /package/dist/{util → utils}/date.d.mts +0 -0
- /package/dist/{util → utils}/date.d.ts +0 -0
- /package/dist/{util → utils}/easeFunctions.d.mts +0 -0
- /package/dist/{util → utils}/easeFunctions.d.ts +0 -0
- /package/dist/{util → utils}/emailValidation.d.mts +0 -0
- /package/dist/{util → utils}/emailValidation.d.ts +0 -0
- /package/dist/{util → utils}/loopingArray.d.mts +0 -0
- /package/dist/{util → utils}/loopingArray.d.ts +0 -0
- /package/dist/{util → utils}/noop.d.mts +0 -0
- /package/dist/{util → utils}/noop.d.ts +0 -0
- /package/dist/{util → utils}/resolveSetState.d.mts +0 -0
- /package/dist/{util → utils}/resolveSetState.d.ts +0 -0
- /package/dist/{util → utils}/simpleSearch.d.mts +0 -0
- /package/dist/{util → utils}/simpleSearch.d.ts +0 -0
- /package/dist/{util → utils}/storage.d.mts +0 -0
- /package/dist/{util → utils}/storage.d.ts +0 -0
- /package/dist/{util → utils}/writeToClipboard.d.mts +0 -0
- /package/dist/{util → utils}/writeToClipboard.d.ts +0 -0
|
@@ -27,7 +27,6 @@ var ButtonUtil = {
|
|
|
27
27
|
};
|
|
28
28
|
var SolidButton = forwardRef(function SolidButton2({
|
|
29
29
|
children,
|
|
30
|
-
disabled = false,
|
|
31
30
|
color = "primary",
|
|
32
31
|
size = "medium",
|
|
33
32
|
startIcon,
|
|
@@ -37,35 +36,33 @@ var SolidButton = forwardRef(function SolidButton2({
|
|
|
37
36
|
...restProps
|
|
38
37
|
}, ref) {
|
|
39
38
|
const colorClasses = {
|
|
40
|
-
primary: "bg-button-solid-primary-background text-button-solid-primary-text",
|
|
41
|
-
secondary: "bg-button-solid-secondary-background text-button-solid-secondary-text",
|
|
42
|
-
tertiary: "bg-button-solid-tertiary-background text-button-solid-tertiary-text",
|
|
43
|
-
positive: "bg-button-solid-positive-background text-button-solid-positive-text",
|
|
44
|
-
warning: "bg-button-solid-warning-background text-button-solid-warning-text",
|
|
45
|
-
negative: "bg-button-solid-negative-background text-button-solid-negative-text",
|
|
46
|
-
neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text"
|
|
39
|
+
primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
|
|
40
|
+
secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
|
|
41
|
+
tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
|
|
42
|
+
positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
|
|
43
|
+
warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
|
|
44
|
+
negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
|
|
45
|
+
neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text"
|
|
47
46
|
}[color];
|
|
48
47
|
const iconColorClasses = {
|
|
49
|
-
primary: "text-button-solid-primary-icon",
|
|
50
|
-
secondary: "text-button-solid-secondary-icon",
|
|
51
|
-
tertiary: "text-button-solid-tertiary-icon",
|
|
52
|
-
positive: "text-button-solid-positive-icon",
|
|
53
|
-
warning: "text-button-solid-warning-icon",
|
|
54
|
-
negative: "text-button-solid-negative-icon",
|
|
55
|
-
neutral: "text-button-solid-neutral-icon"
|
|
48
|
+
primary: "not-group-disabled:text-button-solid-primary-icon",
|
|
49
|
+
secondary: "not-group-disabled:text-button-solid-secondary-icon",
|
|
50
|
+
tertiary: "not-group-disabled:text-button-solid-tertiary-icon",
|
|
51
|
+
positive: "not-group-disabled:text-button-solid-positive-icon",
|
|
52
|
+
warning: "not-group-disabled:text-button-solid-warning-icon",
|
|
53
|
+
negative: "not-group-disabled:text-button-solid-negative-icon",
|
|
54
|
+
neutral: "not-group-disabled:text-button-solid-neutral-icon"
|
|
56
55
|
}[color];
|
|
57
56
|
return /* @__PURE__ */ jsxs(
|
|
58
57
|
"button",
|
|
59
58
|
{
|
|
60
59
|
ref,
|
|
61
60
|
onClick,
|
|
62
|
-
disabled,
|
|
63
61
|
className: clsx(
|
|
64
|
-
"font-semibold",
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
},
|
|
62
|
+
"group font-semibold",
|
|
63
|
+
colorClasses,
|
|
64
|
+
"not-disabled:hover:brightness-90",
|
|
65
|
+
"disabled:text-disabled-text disabled:bg-disabled-background",
|
|
69
66
|
ButtonUtil.paddingMapping[size],
|
|
70
67
|
className
|
|
71
68
|
),
|
|
@@ -74,10 +71,10 @@ var SolidButton = forwardRef(function SolidButton2({
|
|
|
74
71
|
startIcon && /* @__PURE__ */ jsx(
|
|
75
72
|
"span",
|
|
76
73
|
{
|
|
77
|
-
className: clsx(
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
74
|
+
className: clsx(
|
|
75
|
+
iconColorClasses,
|
|
76
|
+
"group-disabled:text-disabled-icon"
|
|
77
|
+
),
|
|
81
78
|
children: startIcon
|
|
82
79
|
}
|
|
83
80
|
),
|
|
@@ -85,10 +82,10 @@ var SolidButton = forwardRef(function SolidButton2({
|
|
|
85
82
|
endIcon && /* @__PURE__ */ jsx(
|
|
86
83
|
"span",
|
|
87
84
|
{
|
|
88
|
-
className: clsx(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
85
|
+
className: clsx(
|
|
86
|
+
iconColorClasses,
|
|
87
|
+
"group-disabled:text-disabled-icon"
|
|
88
|
+
),
|
|
92
89
|
children: endIcon
|
|
93
90
|
}
|
|
94
91
|
)
|
|
@@ -96,34 +93,35 @@ var SolidButton = forwardRef(function SolidButton2({
|
|
|
96
93
|
}
|
|
97
94
|
);
|
|
98
95
|
});
|
|
99
|
-
var IconButton = ({
|
|
96
|
+
var IconButton = forwardRef(function IconButton2({
|
|
100
97
|
children,
|
|
101
|
-
disabled = false,
|
|
102
98
|
color = "primary",
|
|
103
99
|
size = "medium",
|
|
104
100
|
className,
|
|
105
101
|
...restProps
|
|
106
|
-
})
|
|
102
|
+
}, ref) {
|
|
107
103
|
const colorClasses = {
|
|
108
|
-
primary: "bg-button-solid-primary-background text-button-solid-primary-text",
|
|
109
|
-
secondary: "bg-button-solid-secondary-background text-button-solid-secondary-text",
|
|
110
|
-
tertiary: "bg-button-solid-tertiary-background text-button-solid-tertiary-text",
|
|
111
|
-
positive: "bg-button-solid-positive-background text-button-solid-positive-text",
|
|
112
|
-
warning: "bg-button-solid-warning-background text-button-solid-warning-text",
|
|
113
|
-
negative: "bg-button-solid-negative-background text-button-solid-negative-text",
|
|
114
|
-
neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text",
|
|
115
|
-
transparent: "bg-transparent"
|
|
104
|
+
primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
|
|
105
|
+
secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
|
|
106
|
+
tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
|
|
107
|
+
positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
|
|
108
|
+
warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
|
|
109
|
+
negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
|
|
110
|
+
neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text",
|
|
111
|
+
transparent: "not-disabled:bg-transparent"
|
|
116
112
|
}[color];
|
|
117
113
|
return /* @__PURE__ */ jsx(
|
|
118
114
|
"button",
|
|
119
115
|
{
|
|
120
|
-
|
|
116
|
+
ref,
|
|
121
117
|
className: clsx(
|
|
118
|
+
colorClasses,
|
|
119
|
+
"not-disabled:hover:brightness-90",
|
|
120
|
+
"disabled:text-disabled-text",
|
|
122
121
|
{
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"hover:bg-button-text-hover-background":
|
|
126
|
-
[clsx(colorClasses, "hover:brightness-90")]: !disabled
|
|
122
|
+
"disabled:bg-disabled-background": color !== "transparent",
|
|
123
|
+
"disabled:opacity-70": color === "transparent",
|
|
124
|
+
"not-disabled:hover:bg-button-text-hover-background": color === "transparent"
|
|
127
125
|
},
|
|
128
126
|
ButtonUtil.iconPaddingMapping[size],
|
|
129
127
|
className
|
|
@@ -132,11 +130,11 @@ var IconButton = ({
|
|
|
132
130
|
children
|
|
133
131
|
}
|
|
134
132
|
);
|
|
135
|
-
};
|
|
133
|
+
});
|
|
136
134
|
|
|
137
|
-
// src/components/user-action/Input.tsx
|
|
138
|
-
import { forwardRef as forwardRef2, useEffect as
|
|
139
|
-
import
|
|
135
|
+
// src/components/user-action/input/Input.tsx
|
|
136
|
+
import { forwardRef as forwardRef2, useEffect as useEffect2, useImperativeHandle, useRef, useState as useState2 } from "react";
|
|
137
|
+
import clsx2 from "clsx";
|
|
140
138
|
|
|
141
139
|
// src/hooks/useDelay.ts
|
|
142
140
|
import { useEffect, useState } from "react";
|
|
@@ -178,28 +176,7 @@ function useDelay(options) {
|
|
|
178
176
|
return { restartTimer, clearTimer, hasActiveTimer: !!timer };
|
|
179
177
|
}
|
|
180
178
|
|
|
181
|
-
// src/
|
|
182
|
-
var noop = () => void 0;
|
|
183
|
-
|
|
184
|
-
// src/components/user-action/Label.tsx
|
|
185
|
-
import clsx2 from "clsx";
|
|
186
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
187
|
-
var styleMapping = {
|
|
188
|
-
labelSmall: "textstyle-label-sm",
|
|
189
|
-
labelMedium: "textstyle-label-md",
|
|
190
|
-
labelBig: "textstyle-label-lg"
|
|
191
|
-
};
|
|
192
|
-
var Label = ({
|
|
193
|
-
children,
|
|
194
|
-
name,
|
|
195
|
-
labelType = "labelSmall",
|
|
196
|
-
className,
|
|
197
|
-
...props
|
|
198
|
-
}) => {
|
|
199
|
-
return /* @__PURE__ */ jsx2("label", { ...props, className: clsx2(styleMapping[labelType], className), children: children ? children : name });
|
|
200
|
-
};
|
|
201
|
-
|
|
202
|
-
// src/hooks/useFocusManagement.ts
|
|
179
|
+
// src/hooks/focus/useFocusManagement.ts
|
|
203
180
|
import { useCallback } from "react";
|
|
204
181
|
function useFocusManagement() {
|
|
205
182
|
const getFocusableElements = useCallback(() => {
|
|
@@ -256,167 +233,100 @@ function useFocusManagement() {
|
|
|
256
233
|
};
|
|
257
234
|
}
|
|
258
235
|
|
|
259
|
-
// src/
|
|
260
|
-
import
|
|
261
|
-
var useFocusOnceVisible = (ref, disable = false) => {
|
|
262
|
-
const [hasUsedFocus, setHasUsedFocus] = React.useState(false);
|
|
263
|
-
useEffect2(() => {
|
|
264
|
-
if (disable || hasUsedFocus) {
|
|
265
|
-
return;
|
|
266
|
-
}
|
|
267
|
-
const observer = new IntersectionObserver(([entry]) => {
|
|
268
|
-
if (entry.isIntersecting && !hasUsedFocus) {
|
|
269
|
-
ref.current?.focus();
|
|
270
|
-
setHasUsedFocus(hasUsedFocus);
|
|
271
|
-
}
|
|
272
|
-
}, {
|
|
273
|
-
threshold: 0.1
|
|
274
|
-
});
|
|
275
|
-
if (ref.current) {
|
|
276
|
-
observer.observe(ref.current);
|
|
277
|
-
}
|
|
278
|
-
return () => observer.disconnect();
|
|
279
|
-
}, [disable, hasUsedFocus, ref]);
|
|
280
|
-
};
|
|
281
|
-
|
|
282
|
-
// src/components/user-action/Input.tsx
|
|
283
|
-
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
284
|
-
var getInputClassName = ({ disabled = false, hasError = false }) => {
|
|
285
|
-
return clsx3(
|
|
286
|
-
"px-2 py-1.5 rounded-md border-2",
|
|
287
|
-
{
|
|
288
|
-
"bg-input-background text-input-text hover:border-primary focus:border-primary": !disabled && !hasError,
|
|
289
|
-
"bg-on-negative text-negative border-negative-border hover:border-negative-border-hover": !disabled && hasError,
|
|
290
|
-
"bg-disabled-background text-disabled-text border-disabled-border": disabled
|
|
291
|
-
}
|
|
292
|
-
);
|
|
293
|
-
};
|
|
236
|
+
// src/components/user-action/input/Input.tsx
|
|
237
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
294
238
|
var defaultEditCompleteOptions = {
|
|
239
|
+
allowEnterComplete: false,
|
|
295
240
|
onBlur: true,
|
|
296
241
|
afterDelay: true,
|
|
297
242
|
delay: 2500
|
|
298
243
|
};
|
|
299
244
|
var Input = forwardRef2(function Input2({
|
|
300
|
-
id,
|
|
301
|
-
type = "text",
|
|
302
245
|
value,
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
onChangeText = noop,
|
|
246
|
+
onChange,
|
|
247
|
+
onChangeText,
|
|
306
248
|
onEditCompleted,
|
|
307
|
-
className = "",
|
|
308
|
-
allowEnterComplete = true,
|
|
309
|
-
expanded = true,
|
|
310
|
-
autoFocus = false,
|
|
311
|
-
onBlur,
|
|
312
249
|
editCompleteOptions,
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
250
|
+
disabled = false,
|
|
251
|
+
invalid = false,
|
|
252
|
+
defaultStyle = true,
|
|
253
|
+
className,
|
|
254
|
+
...props
|
|
316
255
|
}, forwardedRef) {
|
|
317
|
-
const {
|
|
256
|
+
const {
|
|
257
|
+
onBlur: allowEditCompleteOnBlur,
|
|
258
|
+
afterDelay,
|
|
259
|
+
delay,
|
|
260
|
+
allowEnterComplete
|
|
261
|
+
} = { ...defaultEditCompleteOptions, ...editCompleteOptions };
|
|
318
262
|
const {
|
|
319
263
|
restartTimer,
|
|
320
264
|
clearTimer
|
|
321
265
|
} = useDelay({ delay, disabled: !afterDelay });
|
|
322
266
|
const innerRef = useRef(null);
|
|
323
|
-
const { focusNext } = useFocusManagement();
|
|
324
|
-
useFocusOnceVisible(innerRef, !autoFocus);
|
|
325
267
|
useImperativeHandle(forwardedRef, () => innerRef.current);
|
|
326
|
-
const
|
|
327
|
-
|
|
328
|
-
e.preventDefault();
|
|
329
|
-
innerRef.current?.blur();
|
|
330
|
-
focusNext();
|
|
331
|
-
}
|
|
332
|
-
};
|
|
333
|
-
return /* @__PURE__ */ jsxs2("div", { className: clsx3({ "w-full": expanded }, containerClassName), children: [
|
|
334
|
-
label && /* @__PURE__ */ jsx3(Label, { ...label, htmlFor: id, className: clsx3("mb-1", label.className) }),
|
|
335
|
-
/* @__PURE__ */ jsx3(
|
|
336
|
-
"input",
|
|
337
|
-
{
|
|
338
|
-
...restProps,
|
|
339
|
-
ref: innerRef,
|
|
340
|
-
value,
|
|
341
|
-
id,
|
|
342
|
-
type,
|
|
343
|
-
disabled,
|
|
344
|
-
className: clsx3(getInputClassName({ disabled }), className),
|
|
345
|
-
onKeyDown: allowEnterComplete ? handleKeyDown : void 0,
|
|
346
|
-
onBlur: (event) => {
|
|
347
|
-
onBlur?.(event);
|
|
348
|
-
if (onEditCompleted && allowEditCompleteOnBlur) {
|
|
349
|
-
onEditCompleted(event.target.value);
|
|
350
|
-
clearTimer();
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
onChange: (e) => {
|
|
354
|
-
const value2 = e.target.value;
|
|
355
|
-
if (onEditCompleted) {
|
|
356
|
-
restartTimer(() => {
|
|
357
|
-
if (innerRef.current) {
|
|
358
|
-
innerRef.current.blur();
|
|
359
|
-
if (!allowEditCompleteOnBlur) {
|
|
360
|
-
onEditCompleted(value2);
|
|
361
|
-
}
|
|
362
|
-
} else {
|
|
363
|
-
onEditCompleted(value2);
|
|
364
|
-
}
|
|
365
|
-
});
|
|
366
|
-
}
|
|
367
|
-
onChange(e);
|
|
368
|
-
onChangeText(value2);
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
)
|
|
372
|
-
] });
|
|
373
|
-
});
|
|
374
|
-
var FormInput = forwardRef2(function FormInput2({
|
|
375
|
-
id,
|
|
376
|
-
labelText,
|
|
377
|
-
errorText,
|
|
378
|
-
className,
|
|
379
|
-
labelClassName,
|
|
380
|
-
errorClassName,
|
|
381
|
-
containerClassName,
|
|
382
|
-
required,
|
|
383
|
-
disabled,
|
|
384
|
-
...restProps
|
|
385
|
-
}, ref) {
|
|
386
|
-
const input = /* @__PURE__ */ jsx3(
|
|
268
|
+
const { focusNext } = useFocusManagement();
|
|
269
|
+
return /* @__PURE__ */ jsx2(
|
|
387
270
|
"input",
|
|
388
271
|
{
|
|
389
|
-
...
|
|
390
|
-
ref,
|
|
391
|
-
|
|
272
|
+
...props,
|
|
273
|
+
ref: innerRef,
|
|
274
|
+
value,
|
|
392
275
|
disabled,
|
|
393
|
-
className:
|
|
394
|
-
|
|
276
|
+
className: defaultStyle ? clsx2(
|
|
277
|
+
"px-2.5 py-1.75 rounded-md border-1 text-sm",
|
|
278
|
+
{
|
|
279
|
+
"bg-input-background text-input-text hover:border-primary focus:border-primary": !disabled && !invalid,
|
|
280
|
+
"bg-on-negative text-negative border-negative-border hover:border-negative-border-hover focus-visible:ring-negative-border": !disabled && invalid,
|
|
281
|
+
"bg-disabled-background text-disabled-text border-disabled-border": disabled
|
|
282
|
+
},
|
|
395
283
|
className
|
|
396
|
-
)
|
|
284
|
+
) : className,
|
|
285
|
+
onKeyDown: (event) => {
|
|
286
|
+
props.onKeyDown?.(event);
|
|
287
|
+
if (!allowEnterComplete) {
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
if (event.key === "Enter" && !event.shiftKey) {
|
|
291
|
+
event.preventDefault();
|
|
292
|
+
innerRef.current?.blur();
|
|
293
|
+
onEditCompleted?.(event.target.value);
|
|
294
|
+
focusNext();
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
onBlur: (event) => {
|
|
298
|
+
props.onBlur?.(event);
|
|
299
|
+
if (allowEditCompleteOnBlur) {
|
|
300
|
+
onEditCompleted?.(event.target.value);
|
|
301
|
+
clearTimer();
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
onChange: (event) => {
|
|
305
|
+
onChange?.(event);
|
|
306
|
+
const value2 = event.target.value;
|
|
307
|
+
restartTimer(() => {
|
|
308
|
+
innerRef.current?.blur();
|
|
309
|
+
onEditCompleted?.(value2);
|
|
310
|
+
});
|
|
311
|
+
onChangeText?.(value2);
|
|
312
|
+
},
|
|
313
|
+
"aria-invalid": props["aria-invalid"] ?? invalid,
|
|
314
|
+
"aria-disabled": props["aria-disabled"] ?? disabled
|
|
397
315
|
}
|
|
398
316
|
);
|
|
399
|
-
return /* @__PURE__ */ jsxs2("div", { className: clsx3("flex flex-col gap-y-1", containerClassName), children: [
|
|
400
|
-
labelText && /* @__PURE__ */ jsxs2("label", { htmlFor: id, className: clsx3("textstyle-label-md", labelClassName), children: [
|
|
401
|
-
labelText,
|
|
402
|
-
required && /* @__PURE__ */ jsx3("span", { className: "text-primary font-bold", children: "*" })
|
|
403
|
-
] }),
|
|
404
|
-
input,
|
|
405
|
-
errorText && /* @__PURE__ */ jsx3("label", { htmlFor: id, className: clsx3("text-negative", errorClassName), children: errorText })
|
|
406
|
-
] });
|
|
407
317
|
});
|
|
408
318
|
|
|
409
319
|
// src/components/table/TableFilterButton.tsx
|
|
410
320
|
import { FilterIcon } from "lucide-react";
|
|
411
321
|
|
|
412
322
|
// src/components/user-action/Menu.tsx
|
|
413
|
-
import { useEffect as
|
|
414
|
-
import
|
|
323
|
+
import { useEffect as useEffect5, useRef as useRef2, useState as useState4 } from "react";
|
|
324
|
+
import clsx3 from "clsx";
|
|
415
325
|
|
|
416
326
|
// src/hooks/useOutsideClick.ts
|
|
417
|
-
import { useEffect as
|
|
327
|
+
import { useEffect as useEffect3 } from "react";
|
|
418
328
|
var useOutsideClick = (refs, handler) => {
|
|
419
|
-
|
|
329
|
+
useEffect3(() => {
|
|
420
330
|
const listener = (event) => {
|
|
421
331
|
if (event.target === null) return;
|
|
422
332
|
if (refs.some((ref) => !ref.current || ref.current.contains(event.target))) {
|
|
@@ -434,7 +344,7 @@ var useOutsideClick = (refs, handler) => {
|
|
|
434
344
|
};
|
|
435
345
|
|
|
436
346
|
// src/hooks/useHoverState.ts
|
|
437
|
-
import { useEffect as
|
|
347
|
+
import { useEffect as useEffect4, useState as useState3 } from "react";
|
|
438
348
|
var defaultUseHoverStateProps = {
|
|
439
349
|
closingDelay: 200,
|
|
440
350
|
isDisabled: false
|
|
@@ -458,14 +368,14 @@ var useHoverState = (props = void 0) => {
|
|
|
458
368
|
setIsHovered(false);
|
|
459
369
|
}, closingDelay));
|
|
460
370
|
};
|
|
461
|
-
|
|
371
|
+
useEffect4(() => {
|
|
462
372
|
if (timer) {
|
|
463
373
|
return () => {
|
|
464
374
|
clearTimeout(timer);
|
|
465
375
|
};
|
|
466
376
|
}
|
|
467
377
|
});
|
|
468
|
-
|
|
378
|
+
useEffect4(() => {
|
|
469
379
|
if (timer) {
|
|
470
380
|
clearTimeout(timer);
|
|
471
381
|
}
|
|
@@ -477,7 +387,7 @@ var useHoverState = (props = void 0) => {
|
|
|
477
387
|
};
|
|
478
388
|
};
|
|
479
389
|
|
|
480
|
-
// src/
|
|
390
|
+
// src/utils/bagFunctions.ts
|
|
481
391
|
var resolve = (children, bag) => {
|
|
482
392
|
if (typeof children === "function") {
|
|
483
393
|
return children(bag);
|
|
@@ -544,7 +454,7 @@ var usePopoverPosition = (trigger, options) => {
|
|
|
544
454
|
|
|
545
455
|
// src/components/user-action/Menu.tsx
|
|
546
456
|
import { createPortal } from "react-dom";
|
|
547
|
-
import { Fragment, jsx as
|
|
457
|
+
import { Fragment, jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
548
458
|
function getScrollableParents(element) {
|
|
549
459
|
const scrollables = [];
|
|
550
460
|
let parent = element.parentElement;
|
|
@@ -578,7 +488,7 @@ var Menu = ({
|
|
|
578
488
|
triggerRef.current?.getBoundingClientRect(),
|
|
579
489
|
{ verticalAlignment: alignmentVertical, horizontalAlignment: alignmentHorizontal, disabled }
|
|
580
490
|
);
|
|
581
|
-
|
|
491
|
+
useEffect5(() => {
|
|
582
492
|
if (!isOpen) return;
|
|
583
493
|
const triggerEl = triggerRef.current;
|
|
584
494
|
if (!triggerEl) return;
|
|
@@ -595,19 +505,19 @@ var Menu = ({
|
|
|
595
505
|
window.removeEventListener("resize", close);
|
|
596
506
|
};
|
|
597
507
|
}, [isOpen, setIsOpen]);
|
|
598
|
-
|
|
508
|
+
useEffect5(() => {
|
|
599
509
|
if (isOpen) {
|
|
600
510
|
setIsHidden(false);
|
|
601
511
|
}
|
|
602
512
|
}, [isOpen]);
|
|
603
|
-
return /* @__PURE__ */
|
|
513
|
+
return /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
604
514
|
trigger(bag, triggerRef),
|
|
605
|
-
createPortal(/* @__PURE__ */
|
|
515
|
+
createPortal(/* @__PURE__ */ jsx3(
|
|
606
516
|
"div",
|
|
607
517
|
{
|
|
608
518
|
ref: menuRef,
|
|
609
519
|
onClick: (e) => e.stopPropagation(),
|
|
610
|
-
className:
|
|
520
|
+
className: clsx3(
|
|
611
521
|
"absolute rounded-md bg-menu-background text-menu-text shadow-around-lg shadow-strong z-[300]",
|
|
612
522
|
{
|
|
613
523
|
"animate-pop-in": isOpen,
|
|
@@ -631,7 +541,7 @@ var Menu = ({
|
|
|
631
541
|
};
|
|
632
542
|
|
|
633
543
|
// src/localization/LanguageProvider.tsx
|
|
634
|
-
import { createContext, useContext, useEffect as
|
|
544
|
+
import { createContext, useContext, useEffect as useEffect6, useState as useState6 } from "react";
|
|
635
545
|
|
|
636
546
|
// src/hooks/useLocalStorage.ts
|
|
637
547
|
import { useCallback as useCallback2, useState as useState5 } from "react";
|
|
@@ -650,7 +560,7 @@ var LanguageUtil = {
|
|
|
650
560
|
};
|
|
651
561
|
|
|
652
562
|
// src/localization/LanguageProvider.tsx
|
|
653
|
-
import { jsx as
|
|
563
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
654
564
|
var LanguageContext = createContext({
|
|
655
565
|
language: LanguageUtil.DEFAULT_LANGUAGE,
|
|
656
566
|
setLanguage: (v) => v
|
|
@@ -753,6 +663,7 @@ var formTranslation = {
|
|
|
753
663
|
next: "Next",
|
|
754
664
|
no: "No",
|
|
755
665
|
none: "None",
|
|
666
|
+
nothingFound: "Nothing found",
|
|
756
667
|
of: "of",
|
|
757
668
|
optional: "Optional",
|
|
758
669
|
pleaseWait: "Please wait...",
|
|
@@ -809,6 +720,7 @@ var formTranslation = {
|
|
|
809
720
|
next: "Weiter",
|
|
810
721
|
no: "Nein",
|
|
811
722
|
none: "Nichts",
|
|
723
|
+
nothingFound: "Nichts gefunden",
|
|
812
724
|
of: "von",
|
|
813
725
|
optional: "Optional",
|
|
814
726
|
pleaseWait: "Bitte warten...",
|
|
@@ -834,8 +746,8 @@ var formTranslation = {
|
|
|
834
746
|
};
|
|
835
747
|
|
|
836
748
|
// src/components/table/TableFilterButton.tsx
|
|
837
|
-
import { useEffect as
|
|
838
|
-
import { Fragment as Fragment2, jsx as
|
|
749
|
+
import { useEffect as useEffect7, useState as useState7 } from "react";
|
|
750
|
+
import { Fragment as Fragment2, jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
839
751
|
var defaultTableFilterTranslation = {
|
|
840
752
|
en: {
|
|
841
753
|
filter: "Filter",
|
|
@@ -862,15 +774,15 @@ var TableFilterButton = ({
|
|
|
862
774
|
const columnFilterValue = column.getFilterValue();
|
|
863
775
|
const [filterValue, setFilterValue] = useState7(columnFilterValue);
|
|
864
776
|
const hasFilter = !!filterValue;
|
|
865
|
-
|
|
777
|
+
useEffect7(() => {
|
|
866
778
|
setFilterValue(columnFilterValue);
|
|
867
779
|
}, [columnFilterValue]);
|
|
868
|
-
return /* @__PURE__ */
|
|
780
|
+
return /* @__PURE__ */ jsx5(
|
|
869
781
|
Menu,
|
|
870
782
|
{
|
|
871
|
-
trigger: ({ toggleOpen }, ref) => /* @__PURE__ */
|
|
872
|
-
/* @__PURE__ */
|
|
873
|
-
hasFilter && /* @__PURE__ */
|
|
783
|
+
trigger: ({ toggleOpen }, ref) => /* @__PURE__ */ jsxs3("div", { ref, className: "relative", children: [
|
|
784
|
+
/* @__PURE__ */ jsx5(IconButton, { color: "neutral", size: "tiny", onClick: toggleOpen, children: /* @__PURE__ */ jsx5(FilterIcon, {}) }),
|
|
785
|
+
hasFilter && /* @__PURE__ */ jsx5(
|
|
874
786
|
"div",
|
|
875
787
|
{
|
|
876
788
|
className: "absolute top-0.5 right-0.5 w-2 h-2 rounded-full bg-primary pointer-events-none",
|
|
@@ -878,9 +790,9 @@ var TableFilterButton = ({
|
|
|
878
790
|
}
|
|
879
791
|
)
|
|
880
792
|
] }),
|
|
881
|
-
children: ({ close }) => /* @__PURE__ */
|
|
882
|
-
/* @__PURE__ */
|
|
883
|
-
filterType === "text" && /* @__PURE__ */
|
|
793
|
+
children: ({ close }) => /* @__PURE__ */ jsxs3("div", { className: "flex-col-1 p-2 items-start font-normal text-menu-text", children: [
|
|
794
|
+
/* @__PURE__ */ jsx5("h4", { className: "typography-label-md-semibold", children: translation("filter") }),
|
|
795
|
+
filterType === "text" && /* @__PURE__ */ jsx5(
|
|
884
796
|
Input,
|
|
885
797
|
{
|
|
886
798
|
value: filterValue ?? "",
|
|
@@ -890,8 +802,8 @@ var TableFilterButton = ({
|
|
|
890
802
|
className: "h-10"
|
|
891
803
|
}
|
|
892
804
|
),
|
|
893
|
-
filterType === "range" && /* @__PURE__ */
|
|
894
|
-
/* @__PURE__ */
|
|
805
|
+
filterType === "range" && /* @__PURE__ */ jsxs3("div", { className: "flex-row-2 items-center", children: [
|
|
806
|
+
/* @__PURE__ */ jsx5(
|
|
895
807
|
Input,
|
|
896
808
|
{
|
|
897
809
|
value: filterValue?.[0] ?? "",
|
|
@@ -904,8 +816,8 @@ var TableFilterButton = ({
|
|
|
904
816
|
className: "h-10 input-indicator-hidden w-40"
|
|
905
817
|
}
|
|
906
818
|
),
|
|
907
|
-
/* @__PURE__ */
|
|
908
|
-
/* @__PURE__ */
|
|
819
|
+
/* @__PURE__ */ jsx5("span", { className: "font-bold", children: "-" }),
|
|
820
|
+
/* @__PURE__ */ jsx5(
|
|
909
821
|
Input,
|
|
910
822
|
{
|
|
911
823
|
value: filterValue?.[1] ?? "",
|
|
@@ -919,8 +831,8 @@ var TableFilterButton = ({
|
|
|
919
831
|
}
|
|
920
832
|
)
|
|
921
833
|
] }),
|
|
922
|
-
filterType === "dateRange" && /* @__PURE__ */
|
|
923
|
-
/* @__PURE__ */
|
|
834
|
+
filterType === "dateRange" && /* @__PURE__ */ jsxs3(Fragment2, { children: [
|
|
835
|
+
/* @__PURE__ */ jsx5(
|
|
924
836
|
Input,
|
|
925
837
|
{
|
|
926
838
|
value: filterValue?.[0] ? filterValue?.[0].toISOString().slice(0, 16) : "",
|
|
@@ -933,7 +845,7 @@ var TableFilterButton = ({
|
|
|
933
845
|
className: "h-10 w-50"
|
|
934
846
|
}
|
|
935
847
|
),
|
|
936
|
-
/* @__PURE__ */
|
|
848
|
+
/* @__PURE__ */ jsx5(
|
|
937
849
|
Input,
|
|
938
850
|
{
|
|
939
851
|
value: filterValue?.[1] ? filterValue?.[1].toISOString().slice(0, 16) : "",
|
|
@@ -947,12 +859,12 @@ var TableFilterButton = ({
|
|
|
947
859
|
}
|
|
948
860
|
)
|
|
949
861
|
] }),
|
|
950
|
-
/* @__PURE__ */
|
|
951
|
-
hasFilter && /* @__PURE__ */
|
|
862
|
+
/* @__PURE__ */ jsxs3("div", { className: "flex-row-2 justify-end w-full", children: [
|
|
863
|
+
hasFilter && /* @__PURE__ */ jsx5(SolidButton, { color: "negative", size: "small", onClick: () => {
|
|
952
864
|
column.setFilterValue(void 0);
|
|
953
865
|
close();
|
|
954
866
|
}, children: translation("remove") }),
|
|
955
|
-
/* @__PURE__ */
|
|
867
|
+
/* @__PURE__ */ jsx5(SolidButton, { size: "small", onClick: () => {
|
|
956
868
|
column.setFilterValue(filterValue);
|
|
957
869
|
close();
|
|
958
870
|
}, children: translation("apply") })
|