@helpwave/hightide 0.1.25 → 0.1.27
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 +65 -14
- package/dist/components/date/DatePicker.js.map +1 -1
- package/dist/components/date/DatePicker.mjs +66 -15
- 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 +59 -8
- package/dist/components/date/YearMonthPicker.js.map +1 -1
- package/dist/components/date/YearMonthPicker.mjs +60 -9
- 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 +1697 -0
- package/dist/components/dialog/LanguageDialog.js.map +1 -0
- package/dist/components/dialog/LanguageDialog.mjs +1671 -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 +1751 -0
- package/dist/components/dialog/ThemeDialog.js.map +1 -0
- package/dist/components/dialog/ThemeDialog.mjs +1725 -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 +2098 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/dialog/index.mjs +2067 -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/Carousel.d.mts +33 -0
- package/dist/components/layout/Carousel.d.ts +33 -0
- package/dist/components/layout/Carousel.js +684 -0
- package/dist/components/layout/Carousel.js.map +1 -0
- package/dist/components/layout/Carousel.mjs +659 -0
- package/dist/components/layout/Carousel.mjs.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/Chip.d.mts +8 -5
- package/dist/components/{layout-and-navigation → layout}/Chip.d.ts +8 -5
- package/dist/components/{layout-and-navigation → layout}/Chip.js +18 -5
- package/dist/components/layout/Chip.js.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/Chip.mjs +18 -5
- package/dist/components/layout/Chip.mjs.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/DividerInserter.js +1 -1
- package/dist/components/layout/DividerInserter.js.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/DividerInserter.mjs +1 -1
- package/dist/components/layout/DividerInserter.mjs.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/Expandable.d.mts +13 -10
- package/dist/components/{layout-and-navigation → layout}/Expandable.d.ts +13 -10
- package/dist/components/{layout-and-navigation → layout}/Expandable.js +20 -7
- package/dist/components/layout/Expandable.js.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/Expandable.mjs +21 -8
- package/dist/components/layout/Expandable.mjs.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/FAQSection.js +26 -13
- package/dist/components/layout/FAQSection.js.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/FAQSection.mjs +27 -14
- package/dist/components/layout/FAQSection.mjs.map +1 -0
- package/dist/components/layout/FloatingContainer.d.mts +38 -0
- package/dist/components/layout/FloatingContainer.d.ts +38 -0
- package/dist/components/layout/FloatingContainer.js +219 -0
- package/dist/components/layout/FloatingContainer.js.map +1 -0
- package/dist/components/layout/FloatingContainer.mjs +195 -0
- package/dist/components/layout/FloatingContainer.mjs.map +1 -0
- package/dist/components/layout/ListBox.d.mts +44 -0
- package/dist/components/layout/ListBox.d.ts +44 -0
- package/dist/components/layout/ListBox.js +329 -0
- package/dist/components/layout/ListBox.js.map +1 -0
- package/dist/components/layout/ListBox.mjs +290 -0
- package/dist/components/layout/ListBox.mjs.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/MarkdownInterpreter.js +1 -1
- package/dist/components/layout/MarkdownInterpreter.js.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/MarkdownInterpreter.mjs +1 -1
- package/dist/components/layout/MarkdownInterpreter.mjs.map +1 -0
- package/dist/components/layout/ScrollArea.d.mts +15 -0
- package/dist/components/layout/ScrollArea.d.ts +15 -0
- package/dist/components/layout/ScrollArea.js +1252 -0
- package/dist/components/layout/ScrollArea.js.map +1 -0
- package/dist/components/layout/ScrollArea.mjs +1216 -0
- package/dist/components/layout/ScrollArea.mjs.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/TextImage.js +6 -4
- package/dist/components/layout/TextImage.js.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/TextImage.mjs +5 -3
- package/dist/components/layout/TextImage.mjs.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/VerticalDivider.js +1 -1
- package/dist/components/layout/VerticalDivider.js.map +1 -0
- package/dist/components/{layout-and-navigation → layout}/VerticalDivider.mjs +1 -1
- package/dist/components/layout/VerticalDivider.mjs.map +1 -0
- 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 +55 -18
- package/dist/components/loading-states/LoadingButton.js.map +1 -1
- package/dist/components/loading-states/LoadingButton.mjs +55 -18
- package/dist/components/loading-states/LoadingButton.mjs.map +1 -1
- package/dist/components/{layout-and-navigation → navigation}/BreadCrumb.js +668 -23
- package/dist/components/navigation/BreadCrumb.js.map +1 -0
- package/dist/components/{layout-and-navigation → navigation}/BreadCrumb.mjs +668 -23
- package/dist/components/navigation/BreadCrumb.mjs.map +1 -0
- package/dist/components/navigation/Navigation.d.mts +21 -0
- package/dist/components/navigation/Navigation.d.ts +21 -0
- package/dist/components/navigation/Navigation.js +4018 -0
- package/dist/components/navigation/Navigation.js.map +1 -0
- package/dist/components/navigation/Navigation.mjs +4012 -0
- package/dist/components/navigation/Navigation.mjs.map +1 -0
- package/dist/components/{layout-and-navigation → navigation}/Pagination.js +107 -192
- package/dist/components/navigation/Pagination.js.map +1 -0
- package/dist/components/{layout-and-navigation → navigation}/Pagination.mjs +102 -187
- package/dist/components/navigation/Pagination.mjs.map +1 -0
- package/dist/components/{layout-and-navigation → navigation}/StepperBar.js +44 -4
- package/dist/components/navigation/StepperBar.js.map +1 -0
- package/dist/components/{layout-and-navigation → navigation}/StepperBar.mjs +44 -4
- package/dist/components/navigation/StepperBar.mjs.map +1 -0
- package/dist/components/properties/CheckboxProperty.js +890 -135
- package/dist/components/properties/CheckboxProperty.js.map +1 -1
- package/dist/components/properties/CheckboxProperty.mjs +897 -142
- package/dist/components/properties/CheckboxProperty.mjs.map +1 -1
- package/dist/components/properties/DateProperty.js +153 -198
- package/dist/components/properties/DateProperty.js.map +1 -1
- package/dist/components/properties/DateProperty.mjs +146 -191
- 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 +1156 -1160
- package/dist/components/properties/MultiSelectProperty.js.map +1 -1
- package/dist/components/properties/MultiSelectProperty.mjs +1169 -1163
- package/dist/components/properties/MultiSelectProperty.mjs.map +1 -1
- package/dist/components/properties/NumberProperty.js +155 -201
- package/dist/components/properties/NumberProperty.js.map +1 -1
- package/dist/components/properties/NumberProperty.mjs +148 -194
- package/dist/components/properties/NumberProperty.mjs.map +1 -1
- package/dist/components/properties/PropertyBase.js +49 -9
- package/dist/components/properties/PropertyBase.js.map +1 -1
- package/dist/components/properties/PropertyBase.mjs +49 -9
- 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 +1062 -836
- package/dist/components/properties/SelectProperty.js.map +1 -1
- package/dist/components/properties/SelectProperty.mjs +1077 -841
- package/dist/components/properties/SelectProperty.mjs.map +1 -1
- package/dist/components/properties/TextProperty.js +97 -100
- package/dist/components/properties/TextProperty.js.map +1 -1
- package/dist/components/properties/TextProperty.mjs +100 -103
- package/dist/components/properties/TextProperty.mjs.map +1 -1
- package/dist/components/table/Table.js +1619 -994
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/table/Table.mjs +1626 -1001
- package/dist/components/table/Table.mjs.map +1 -1
- package/dist/components/table/TableFilterButton.js +116 -201
- package/dist/components/table/TableFilterButton.js.map +1 -1
- package/dist/components/table/TableFilterButton.mjs +105 -190
- package/dist/components/table/TableFilterButton.mjs.map +1 -1
- package/dist/components/table/TableSortButton.js +4 -3
- package/dist/components/table/TableSortButton.js.map +1 -1
- package/dist/components/table/TableSortButton.mjs +4 -3
- package/dist/components/table/TableSortButton.mjs.map +1 -1
- package/dist/components/user-action/Button.d.mts +15 -11
- package/dist/components/user-action/Button.d.ts +15 -11
- package/dist/components/user-action/Button.js +10 -9
- package/dist/components/user-action/Button.js.map +1 -1
- package/dist/components/user-action/Button.mjs +10 -9
- 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 +793 -103
- package/dist/components/user-action/Checkbox.js.map +1 -1
- package/dist/components/user-action/Checkbox.mjs +794 -104
- 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 +67 -14
- package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.mjs +68 -15
- 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 +93 -178
- package/dist/components/user-action/SearchBar.js.map +1 -1
- package/dist/components/user-action/SearchBar.mjs +86 -171
- 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 +102 -0
- package/dist/components/user-action/select/Select.d.ts +102 -0
- package/dist/components/user-action/select/Select.js +1367 -0
- package/dist/components/user-action/select/Select.js.map +1 -0
- package/dist/components/user-action/select/Select.mjs +1333 -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 +836 -378
- package/dist/{css → style}/uncompiled/globals.css +80 -17
- 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 +9 -1
- package/dist/style/uncompiled/utitlity/sizing.css +29 -0
- package/dist/theming/useTheme.d.mts +5 -3
- package/dist/theming/useTheme.d.ts +5 -3
- package/dist/theming/useTheme.js +42 -19
- package/dist/theming/useTheme.js.map +1 -1
- package/dist/theming/useTheme.mjs +40 -17
- 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 -674
- package/dist/components/dialogs/ConfirmDialog.js.map +0 -1
- package/dist/components/dialogs/ConfirmDialog.mjs +0 -638
- 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/BreadCrumb.js.map +0 -1
- package/dist/components/layout-and-navigation/BreadCrumb.mjs.map +0 -1
- package/dist/components/layout-and-navigation/Carousel.d.mts +0 -25
- package/dist/components/layout-and-navigation/Carousel.d.ts +0 -25
- package/dist/components/layout-and-navigation/Carousel.js +0 -641
- package/dist/components/layout-and-navigation/Carousel.js.map +0 -1
- package/dist/components/layout-and-navigation/Carousel.mjs +0 -607
- package/dist/components/layout-and-navigation/Carousel.mjs.map +0 -1
- package/dist/components/layout-and-navigation/Chip.js.map +0 -1
- package/dist/components/layout-and-navigation/Chip.mjs.map +0 -1
- package/dist/components/layout-and-navigation/DividerInserter.js.map +0 -1
- package/dist/components/layout-and-navigation/DividerInserter.mjs.map +0 -1
- package/dist/components/layout-and-navigation/Expandable.js.map +0 -1
- package/dist/components/layout-and-navigation/Expandable.mjs.map +0 -1
- package/dist/components/layout-and-navigation/FAQSection.js.map +0 -1
- package/dist/components/layout-and-navigation/FAQSection.mjs.map +0 -1
- package/dist/components/layout-and-navigation/MarkdownInterpreter.js.map +0 -1
- package/dist/components/layout-and-navigation/MarkdownInterpreter.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 -702
- package/dist/components/layout-and-navigation/Overlay.js.map +0 -1
- package/dist/components/layout-and-navigation/Overlay.mjs +0 -665
- package/dist/components/layout-and-navigation/Overlay.mjs.map +0 -1
- package/dist/components/layout-and-navigation/Pagination.js.map +0 -1
- package/dist/components/layout-and-navigation/Pagination.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 -758
- package/dist/components/layout-and-navigation/SearchableList.js.map +0 -1
- package/dist/components/layout-and-navigation/SearchableList.mjs +0 -724
- package/dist/components/layout-and-navigation/SearchableList.mjs.map +0 -1
- package/dist/components/layout-and-navigation/StepperBar.js.map +0 -1
- package/dist/components/layout-and-navigation/StepperBar.mjs.map +0 -1
- package/dist/components/layout-and-navigation/TextImage.js.map +0 -1
- package/dist/components/layout-and-navigation/TextImage.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/layout-and-navigation/VerticalDivider.js.map +0 -1
- package/dist/components/layout-and-navigation/VerticalDivider.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 -687
- package/dist/components/modals/ConfirmModal.js.map +0 -1
- package/dist/components/modals/ConfirmModal.mjs +0 -651
- 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 -717
- package/dist/components/modals/DiscardChangesModal.js.map +0 -1
- package/dist/components/modals/DiscardChangesModal.mjs +0 -681
- 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 -976
- package/dist/components/modals/InputModal.js.map +0 -1
- package/dist/components/modals/InputModal.mjs +0 -940
- 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 -1468
- package/dist/components/modals/LanguageModal.js.map +0 -1
- package/dist/components/modals/LanguageModal.mjs +0 -1432
- 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 -1497
- package/dist/components/modals/ThemeModal.js.map +0 -1
- package/dist/components/modals/ThemeModal.mjs +0 -1461
- 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 -1468
- package/dist/components/user-action/MultiSelect.js.map +0 -1
- package/dist/components/user-action/MultiSelect.mjs +0 -1433
- 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 -1236
- package/dist/components/user-action/Select.js.map +0 -1
- package/dist/components/user-action/Select.mjs +0 -1201
- 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 -12610
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -12447
- 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/components/{layout-and-navigation → layout}/DividerInserter.d.mts +0 -0
- /package/dist/components/{layout-and-navigation → layout}/DividerInserter.d.ts +0 -0
- /package/dist/components/{layout-and-navigation → layout}/FAQSection.d.mts +0 -0
- /package/dist/components/{layout-and-navigation → layout}/FAQSection.d.ts +0 -0
- /package/dist/components/{layout-and-navigation → layout}/MarkdownInterpreter.d.mts +0 -0
- /package/dist/components/{layout-and-navigation → layout}/MarkdownInterpreter.d.ts +0 -0
- /package/dist/components/{layout-and-navigation → layout}/TextImage.d.mts +0 -0
- /package/dist/components/{layout-and-navigation → layout}/TextImage.d.ts +0 -0
- /package/dist/components/{layout-and-navigation → layout}/VerticalDivider.d.mts +0 -0
- /package/dist/components/{layout-and-navigation → layout}/VerticalDivider.d.ts +0 -0
- /package/dist/components/{layout-and-navigation → navigation}/BreadCrumb.d.mts +0 -0
- /package/dist/components/{layout-and-navigation → navigation}/BreadCrumb.d.ts +0 -0
- /package/dist/components/{layout-and-navigation → navigation}/Pagination.d.mts +0 -0
- /package/dist/components/{layout-and-navigation → navigation}/Pagination.d.ts +0 -0
- /package/dist/components/{layout-and-navigation → navigation}/StepperBar.d.mts +0 -0
- /package/dist/components/{layout-and-navigation → navigation}/StepperBar.d.ts +0 -0
- /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
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
@import './theme/index.css';
|
|
8
8
|
|
|
9
9
|
/* components */
|
|
10
|
-
@import './
|
|
10
|
+
@import './typography.css';
|
|
11
11
|
|
|
12
12
|
/* The theme variables */
|
|
13
13
|
@theme {
|
|
@@ -16,15 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
--breakpoint-tablet: 48rem; /* 768px for 16px font-size */
|
|
18
18
|
--breakpoint-desktop: 64rem; /* 1024px for 16px font-size*/
|
|
19
|
-
|
|
20
|
-
/*
|
|
21
|
-
* fonts
|
|
22
|
-
*/
|
|
23
|
-
--font-inter: 'Inter', sans-serif;
|
|
24
|
-
--font-space: 'Space Grotesk', sans-serif;
|
|
25
19
|
}
|
|
26
20
|
|
|
27
|
-
/* Styles that can be overwritten by utils */
|
|
28
21
|
@layer components {
|
|
29
22
|
.btn-sm {
|
|
30
23
|
@apply flex-row-1 items-center justify-center px-1.5 py-1 rounded-1.5 h-8 min-h-8;
|
|
@@ -85,11 +78,13 @@
|
|
|
85
78
|
.section-padding {
|
|
86
79
|
@apply px-6 tablet:px-12 desktop:px-24 py-16;
|
|
87
80
|
}
|
|
88
|
-
}
|
|
89
81
|
|
|
90
|
-
|
|
82
|
+
.link {
|
|
83
|
+
@apply decoration-3 p-2 hover:underline focus:underline font-bold text-lg rounded;
|
|
84
|
+
}
|
|
85
|
+
|
|
91
86
|
* {
|
|
92
|
-
@apply border-border;
|
|
87
|
+
@apply border-border list-none;
|
|
93
88
|
}
|
|
94
89
|
|
|
95
90
|
html {
|
|
@@ -100,28 +95,38 @@
|
|
|
100
95
|
@apply cursor-pointer text-nowrap;
|
|
101
96
|
}
|
|
102
97
|
|
|
103
|
-
input {
|
|
104
|
-
@apply block;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
98
|
*:disabled {
|
|
108
99
|
@apply cursor-not-allowed;
|
|
109
100
|
}
|
|
110
101
|
|
|
102
|
+
|
|
103
|
+
/* move the focus styles into its own file and utilities */
|
|
111
104
|
*:focus {
|
|
112
|
-
@apply outline-
|
|
105
|
+
@apply outline-0 ring-0;
|
|
113
106
|
}
|
|
114
107
|
|
|
115
108
|
*:focus-visible {
|
|
116
109
|
@apply ring-2 ring-focus;
|
|
117
110
|
}
|
|
118
111
|
|
|
112
|
+
.focus-style-within:focus-within {
|
|
113
|
+
@apply ring-2 ring-focus;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.focus-style-none {
|
|
117
|
+
@apply focus-visible:ring-0 focus-within:ring-0;
|
|
118
|
+
}
|
|
119
|
+
|
|
119
120
|
@media (prefers-reduced-motion: reduce) {
|
|
120
121
|
* {
|
|
121
|
-
@apply
|
|
122
|
+
@apply transition-none animate-none;
|
|
122
123
|
}
|
|
123
124
|
}
|
|
124
125
|
|
|
126
|
+
/**
|
|
127
|
+
* Table
|
|
128
|
+
*/
|
|
129
|
+
|
|
125
130
|
table {
|
|
126
131
|
@apply table-fixed border-separate border-spacing-0 bg-table-background text-table-text;
|
|
127
132
|
}
|
|
@@ -149,4 +154,62 @@
|
|
|
149
154
|
th:last-child > .table-resize-indicator {
|
|
150
155
|
@apply right-6;
|
|
151
156
|
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Scrollbar
|
|
160
|
+
*/
|
|
161
|
+
@supports (scrollbar-color: auto) {
|
|
162
|
+
* {
|
|
163
|
+
scrollbar-color: var(--color-gray-500) transparent;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/* Otherwise, use `::-webkit-scrollbar-*` pseudo-elements */
|
|
168
|
+
|
|
169
|
+
@supports selector(::-webkit-scrollbar) {
|
|
170
|
+
* {
|
|
171
|
+
scrollbar-color: initial;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
:root{
|
|
175
|
+
--scrollbar-width: 10px;
|
|
176
|
+
--scrollbar-padding: 1px;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
*::-webkit-scrollbar {
|
|
180
|
+
width: var(--scrollbar-width);
|
|
181
|
+
height: var(--scrollbar-width);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
*::-webkit-scrollbar-track {
|
|
185
|
+
border-radius: 9999px;
|
|
186
|
+
background: transparent;
|
|
187
|
+
cursor: default;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
*::-webkit-scrollbar-thumb {
|
|
191
|
+
background-color: var(--color-gray-500);
|
|
192
|
+
border-radius: 9999px;
|
|
193
|
+
border: var(--scrollbar-padding) solid transparent;
|
|
194
|
+
background-clip: padding-box;
|
|
195
|
+
cursor: default;
|
|
196
|
+
transition: background-color 0.2s ease;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
*::-webkit-scrollbar-thumb:active {
|
|
200
|
+
background-color: var(--color-gray-600);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
*::-webkit-scrollbar-thumb:vertical {
|
|
204
|
+
min-height: calc(var(--scrollbar-width) * 3);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
*::-webkit-scrollbar-thumb:horizontal {
|
|
208
|
+
min-width: calc(var(--scrollbar-width) * 3);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
*::-webkit-scrollbar-corner {
|
|
212
|
+
background: transparent;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
152
215
|
}
|
|
@@ -60,6 +60,9 @@
|
|
|
60
60
|
--color-menu-text: var(--color-on-surface);
|
|
61
61
|
--color-menu-border: var(--color-border);
|
|
62
62
|
|
|
63
|
+
/* Label */
|
|
64
|
+
--color-label-text: var(--color-text-secondary);
|
|
65
|
+
|
|
63
66
|
/* Overlay, Dialog, Modal */
|
|
64
67
|
--color-overlay-background: var(--color-surface);
|
|
65
68
|
--color-overlay-text: var(--color-on-surface);
|
|
@@ -73,6 +76,10 @@
|
|
|
73
76
|
--color-property-title-background: var(--color-gray-100);
|
|
74
77
|
--color-property-title-text: var(--color-text-secondary);
|
|
75
78
|
|
|
79
|
+
/* Scrollbar */
|
|
80
|
+
--color-scrollbar-track: #00000033;
|
|
81
|
+
--color-scrollbar-thumb: var(--color-gray-600);
|
|
82
|
+
|
|
76
83
|
/* Stepper Bar */
|
|
77
84
|
--color-stepperbar-dot-active: var(--color-primary);
|
|
78
85
|
--color-stepperbar-dot-normal: var(--color-purple-100);
|
|
@@ -100,12 +107,15 @@
|
|
|
100
107
|
--color-tag-red-background: #FEE0DD;
|
|
101
108
|
--color-tag-red-text: #D67268;
|
|
102
109
|
--color-tag-red-icon: #D67268;
|
|
103
|
-
--color-tag-blue-background:
|
|
104
|
-
--color-tag-blue-text:
|
|
105
|
-
--color-tag-blue-icon:
|
|
106
|
-
--color-tag-pink-background: #
|
|
110
|
+
--color-tag-blue-background: #DBE2F3;
|
|
111
|
+
--color-tag-blue-text: #758ECE;
|
|
112
|
+
--color-tag-blue-icon: #758ECE;
|
|
113
|
+
--color-tag-pink-background: #F3DBE7;
|
|
107
114
|
--color-tag-pink-text: #CE75A0;
|
|
108
115
|
--color-tag-pink-icon: #CE75A0;
|
|
116
|
+
--color-tag-orange-background: #FEEACB;
|
|
117
|
+
--color-tag-orange-text: #EA8E00;
|
|
118
|
+
--color-tag-orange-icon: #EA8E00;
|
|
109
119
|
|
|
110
120
|
/* TextImage */
|
|
111
121
|
--color-text-image-primary-background: var(--color-primary);
|
|
@@ -150,6 +160,10 @@
|
|
|
150
160
|
/* Overlay, Dialog, Modal */
|
|
151
161
|
--color-overlay-shadow: #00000060;
|
|
152
162
|
|
|
163
|
+
/* Scrollbar */
|
|
164
|
+
--color-scrollbar-track: #FFFFFF33;
|
|
165
|
+
--color-scrollbar-thumb: var(--color-gray-300);
|
|
166
|
+
|
|
153
167
|
/* Tag */
|
|
154
168
|
--color-tag-dark-background: var(--color-gray-900);
|
|
155
169
|
|
|
@@ -37,11 +37,8 @@
|
|
|
37
37
|
--color-negative-border: var(--color-negative);
|
|
38
38
|
--color-negative-border-hover: var(--color-red-700);
|
|
39
39
|
|
|
40
|
-
--color-disabled
|
|
41
|
-
--color-disabled-
|
|
42
|
-
--color-disabled-icon: var(--color-disabled-text);
|
|
43
|
-
--color-disabled-border: var(--color-gray-300);
|
|
44
|
-
--color-disabled-outline: var(--color-disabled-border);
|
|
40
|
+
--color-disabled: var(--color-gray-300);
|
|
41
|
+
--color-disabled-background: var(--color-gray-100);
|
|
45
42
|
|
|
46
43
|
/* Surface */
|
|
47
44
|
--color-surface: var(--color-white);
|
|
@@ -79,10 +76,6 @@
|
|
|
79
76
|
--color-negative: var(--color-red-500);
|
|
80
77
|
--color-negative-border-hover: var(--color-red-600);
|
|
81
78
|
|
|
82
|
-
--color-disabled-background: var(--color-gray-800);
|
|
83
|
-
--color-disabled-text: var(--color-gray-600);
|
|
84
|
-
--color-disabled-border: var(--color-gray-850);
|
|
85
|
-
|
|
86
79
|
/* Surface */
|
|
87
80
|
--color-surface: var(--color-gray-800);
|
|
88
81
|
--color-surface-variant: var(--color-gray-700);
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
@theme {
|
|
2
|
+
/*
|
|
3
|
+
* text
|
|
4
|
+
*/
|
|
5
|
+
--text-xs: calc(12 / 16 * 1rem);
|
|
6
|
+
--text-xs--line-height: calc(15 / 12);
|
|
7
|
+
|
|
8
|
+
--text-sm: calc(14 / 16 * 1rem);
|
|
9
|
+
--text-sm--line-height: calc(17 / 14);
|
|
10
|
+
|
|
11
|
+
--text-base: 1rem;
|
|
12
|
+
--text-base--line-height: calc(19 / 16);
|
|
13
|
+
|
|
14
|
+
--text-lg: calc(18 / 16 * 1rem);
|
|
15
|
+
--text-lg--line-height: calc(23 / 18);
|
|
16
|
+
|
|
17
|
+
--text-xl: calc(20 / 16 * 1rem);
|
|
18
|
+
--text-xl--line-height: calc(26 / 20);
|
|
19
|
+
|
|
20
|
+
--text-2xl: calc(22 / 16 * 1rem);
|
|
21
|
+
--text-2xl--line-height: calc(28 / 22);
|
|
22
|
+
|
|
23
|
+
--text-3xl: calc(24 / 16 * 1rem);
|
|
24
|
+
--text-3xl--line-height: calc(30 / 24);
|
|
25
|
+
|
|
26
|
+
--text-4xl: calc(32 / 16 * 1rem);
|
|
27
|
+
--text-4xl--line-height: calc(40 / 32);
|
|
28
|
+
|
|
29
|
+
--text-5xl: 3rem;
|
|
30
|
+
--text-5xl--line-height: 1;
|
|
31
|
+
|
|
32
|
+
--text-6xl: 3.75rem;
|
|
33
|
+
--text-6xl--line-height: 1;
|
|
34
|
+
|
|
35
|
+
--text-7xl: 4.5rem;
|
|
36
|
+
--text-7xl--line-height: 1;
|
|
37
|
+
|
|
38
|
+
--text-8xl: 6rem;
|
|
39
|
+
--text-8xl--line-height: 1;
|
|
40
|
+
|
|
41
|
+
--text-9xl: 8rem;
|
|
42
|
+
--text-9xl--line-height: 1;
|
|
43
|
+
|
|
44
|
+
/*
|
|
45
|
+
* fonts
|
|
46
|
+
*/
|
|
47
|
+
--font-inter: 'Inter', sans-serif;
|
|
48
|
+
--font-space: 'Space Grotesk', sans-serif;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Headline */
|
|
52
|
+
@utility typography-headline-lg-bold {
|
|
53
|
+
@apply text-4xl font-space font-bold;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@utility typography-headline-md-semibold {
|
|
57
|
+
@apply text-3xl font-space font-semibold;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@utility typography-headline-sm-bold {
|
|
61
|
+
@apply text-2xl font-space font-bold;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Title */
|
|
65
|
+
@utility typography-title-lg-semibold {
|
|
66
|
+
@apply text-2xl font-space font-semibold;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@utility typography-title-md-semibold {
|
|
70
|
+
@apply text-lg font-space font-semibold;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@utility typography-title-sm-medium {
|
|
74
|
+
@apply text-base font-space font-medium;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@utility typography-title-sm-semibold {
|
|
78
|
+
@apply text-base font-space font-semibold;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* Body */
|
|
82
|
+
@utility typography-body-lg-regular {
|
|
83
|
+
@apply text-lg font-normal;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@utility typography-body-lg-medium {
|
|
87
|
+
@apply text-lg font-medium;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@utility typography-body-lg-semibold {
|
|
91
|
+
@apply text-lg font-semibold;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@utility typography-body-md-light {
|
|
95
|
+
@apply text-base font-light;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@utility typography-body-md-regular {
|
|
99
|
+
@apply text-base font-normal;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@utility typography-body-md-medium {
|
|
103
|
+
@apply text-base font-medium;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@utility typography-body-md-bold {
|
|
107
|
+
@apply text-base font-bold;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* Label */
|
|
111
|
+
@utility typography-label-lg-regular {
|
|
112
|
+
@apply text-base font-normal;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@utility typography-label-lg-semibold {
|
|
116
|
+
@apply text-base font-semibold;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@utility typography-label-lg-bold {
|
|
120
|
+
@apply text-base font-bold;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@utility typography-label-md-regular {
|
|
124
|
+
@apply text-sm font-normal;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@utility typography-label-md-medium {
|
|
128
|
+
@apply text-sm font-medium;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@utility typography-label-md-bold {
|
|
132
|
+
@apply text-sm font-bold;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* Caption */
|
|
136
|
+
@utility typography-caption-lg-regular {
|
|
137
|
+
@apply text-lg font-normal;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@utility typography-caption-md-medium {
|
|
141
|
+
@apply text-base font-medium;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
@utility typography-caption-md-bold {
|
|
145
|
+
@apply text-base font-bold;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@utility typography-caption-sm-regular {
|
|
149
|
+
@apply text-sm font-normal;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@utility typography-caption-sm-medium {
|
|
153
|
+
@apply text-sm font-medium;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Button */
|
|
157
|
+
@utility typography-button-lg-semibold {
|
|
158
|
+
@apply text-lg font-semibold;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@utility typography-button-md-semibold {
|
|
162
|
+
@apply text-base font-semibold;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
@utility typography-button-sm-regular {
|
|
166
|
+
@apply text-sm font-normal;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@utility typography-button-sm-semibold {
|
|
170
|
+
@apply text-sm font-semibold;
|
|
171
|
+
}
|
|
@@ -2,6 +2,56 @@
|
|
|
2
2
|
animation-delay: calc(--value(number) * 1ms);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
@utility animate-pop-in {
|
|
6
|
+
animation: pop-in 0.2s ease-in-out;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@utility animate-pop-out {
|
|
10
|
+
animation: pop-out 0.2s ease-in-out forwards;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@utility animate-fade-in {
|
|
14
|
+
animation: fade-in 0.2s ease-in-out;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@utility animate-fade-out {
|
|
18
|
+
animation: fade-out 0.2s ease-in-out;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@utility animate-fade {
|
|
22
|
+
animation: fade-out 3s ease-in-out;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@utility animate-wave-big-left-up {
|
|
26
|
+
animation: bigLeftUp 1.7s ease-in infinite normal;
|
|
27
|
+
-webkit-animation: bigLeftUp 1.7s ease-in infinite normal;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@utility animate-wave-big-right-down {
|
|
31
|
+
animation: bigRightDown 1.7s ease-in infinite reverse;
|
|
32
|
+
-webkit-animation: bigRightDown 1.7s ease-in infinite reverse;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@utility animate-wave-small-left-up {
|
|
36
|
+
animation: smallLeftUp 1.7s ease-in infinite normal;
|
|
37
|
+
-webkit-animation: smallLeftUp 1.7s ease-in infinite normal;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@utility animate-wave-small-right-down {
|
|
41
|
+
animation: smallRightDown 1.7s ease-in infinite reverse;
|
|
42
|
+
-webkit-animation: smallRightDown 1.7s ease-in infinite reverse;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@utility animate-tooltip-fade-in {
|
|
46
|
+
animation: fade-in 0.2s ease-in-out forwards;
|
|
47
|
+
-webkit-animation: fade-in 0.2s ease-in-out forwards;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@utility animate-tooltip-fade-out {
|
|
51
|
+
animation: fade-in 0.2s ease-in-out forwards;
|
|
52
|
+
-webkit-animation: fade-in 0.2s ease-in-out forwards;
|
|
53
|
+
}
|
|
54
|
+
|
|
5
55
|
@layer utilities {
|
|
6
56
|
@keyframes fade-in {
|
|
7
57
|
0% {
|
|
@@ -91,6 +141,10 @@
|
|
|
91
141
|
|
|
92
142
|
@keyframes pop-in {
|
|
93
143
|
0% {
|
|
144
|
+
opacity: 0;
|
|
145
|
+
scale: 100%; /* Necessary so that the FloatingContainer picks up the correct position */
|
|
146
|
+
}
|
|
147
|
+
1% {
|
|
94
148
|
opacity: 0;
|
|
95
149
|
scale: 80%;
|
|
96
150
|
}
|
|
@@ -120,14 +174,6 @@
|
|
|
120
174
|
}
|
|
121
175
|
}
|
|
122
176
|
|
|
123
|
-
.animate-pop-in {
|
|
124
|
-
animation: pop-in 0.2s ease-in-out;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.animate-pop-out {
|
|
128
|
-
animation: pop-out 0.2s ease-in-out forwards;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
177
|
.shimmer::before {
|
|
132
178
|
content: '';
|
|
133
179
|
position: absolute;
|
|
@@ -145,38 +191,4 @@
|
|
|
145
191
|
);
|
|
146
192
|
animation: shimmer 2s infinite;
|
|
147
193
|
}
|
|
148
|
-
|
|
149
|
-
.animate-fade {
|
|
150
|
-
animation: fade-out 3s ease-in-out;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.animate-wave-big-left-up {
|
|
154
|
-
animation: bigLeftUp 1.7s ease-in infinite normal;
|
|
155
|
-
-webkit-animation: bigLeftUp 1.7s ease-in infinite normal;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.animate-wave-big-right-down {
|
|
159
|
-
animation: bigRightDown 1.7s ease-in infinite reverse;
|
|
160
|
-
-webkit-animation: bigRightDown 1.7s ease-in infinite reverse;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.animate-wave-small-left-up {
|
|
164
|
-
animation: smallLeftUp 1.7s ease-in infinite normal;
|
|
165
|
-
-webkit-animation: smallLeftUp 1.7s ease-in infinite normal;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.animate-wave-small-right-down {
|
|
169
|
-
animation: smallRightDown 1.7s ease-in infinite reverse;
|
|
170
|
-
-webkit-animation: smallRightDown 1.7s ease-in infinite reverse;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.animate-tooltip-fade-in {
|
|
174
|
-
animation: fade-in 0.2s ease-in-out forwards;
|
|
175
|
-
-webkit-animation: fade-in 0.2s ease-in-out forwards;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.animate-tooltip-fade-out {
|
|
179
|
-
animation: fade-in 0.2s ease-in-out forwards;
|
|
180
|
-
-webkit-animation: fade-in 0.2s ease-in-out forwards;
|
|
181
|
-
}
|
|
182
194
|
}
|
|
@@ -32,13 +32,21 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
@utility shadow-strong {
|
|
35
|
-
--tw-shadow-color: rgba(0, 0, 0, 0.
|
|
35
|
+
--tw-shadow-color: rgba(0, 0, 0, 0.05);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
@utility shadow-hard {
|
|
39
39
|
--tw-shadow-color: rgba(0, 0, 0, 0.10);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
@utility shadow-hw-bottom {
|
|
43
|
+
--shadow-bottom: 0 calc(1rem/16) calc(20rem/16) 0 var(--tw-shadow-color, rgb(0 0 0 / 10%));
|
|
44
|
+
|
|
45
|
+
@variant dark {
|
|
46
|
+
--shadow-bottom: 0 calc(1rem/16) calc(20rem/16) 0 var(--tw-shadow-color, rgb(0 0 0 / 20%));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
42
50
|
@layer utilities {
|
|
43
51
|
.shadow-around {
|
|
44
52
|
@apply shadow-around-2;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@utility h-force-* {
|
|
2
|
+
height: calc(var(--spacing) * --value(number));
|
|
3
|
+
min-height: calc(var(--spacing) * --value(number));
|
|
4
|
+
max-height: calc(var(--spacing) * --value(number));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@utility w-force-* {
|
|
8
|
+
width: calc(var(--spacing) * --value(number));
|
|
9
|
+
min-width: calc(var(--spacing) * --value(number));
|
|
10
|
+
max-width: calc(var(--spacing) * --value(number));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@utility size-force-* {
|
|
14
|
+
height: calc(var(--spacing) * --value(number));
|
|
15
|
+
min-height: calc(var(--spacing) * --value(number));
|
|
16
|
+
max-height: calc(var(--spacing) * --value(number));
|
|
17
|
+
width: calc(var(--spacing) * --value(number));
|
|
18
|
+
min-width: calc(var(--spacing) * --value(number));
|
|
19
|
+
max-width: calc(var(--spacing) * --value(number));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@utility size-force-nonscaling-* {
|
|
23
|
+
height: calc(--value(number));
|
|
24
|
+
width: calc(--value(number));
|
|
25
|
+
min-height: calc(--value(number));
|
|
26
|
+
min-width: calc(--value(number));
|
|
27
|
+
max-height: calc(--value(number));
|
|
28
|
+
max-width: calc(--value(number));
|
|
29
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as
|
|
2
|
+
import * as React from 'react';
|
|
3
3
|
import { Dispatch, SetStateAction, PropsWithChildren } from 'react';
|
|
4
4
|
import { TranslationPlural, Translation } from '../localization/useTranslation.mjs';
|
|
5
5
|
import '../localization/util.mjs';
|
|
6
6
|
|
|
7
7
|
declare const themes: readonly ["light", "dark", "system"];
|
|
8
8
|
type ThemeType = typeof themes[number];
|
|
9
|
+
type ResolvedTheme = Exclude<ThemeType, 'system'>;
|
|
9
10
|
type ThemeTypeTranslation = Record<ThemeType, string> & {
|
|
10
11
|
theme: TranslationPlural;
|
|
11
12
|
};
|
|
@@ -15,13 +16,14 @@ declare const ThemeUtil: {
|
|
|
15
16
|
};
|
|
16
17
|
type ThemeContextType = {
|
|
17
18
|
theme: ThemeType;
|
|
19
|
+
resolvedTheme: ResolvedTheme;
|
|
18
20
|
setTheme: Dispatch<SetStateAction<ThemeType>>;
|
|
19
21
|
};
|
|
20
|
-
declare const ThemeContext:
|
|
22
|
+
declare const ThemeContext: React.Context<ThemeContextType>;
|
|
21
23
|
type ThemeProviderProps = {
|
|
22
24
|
initialTheme?: ThemeType;
|
|
23
25
|
};
|
|
24
26
|
declare const ThemeProvider: ({ children, initialTheme }: PropsWithChildren<ThemeProviderProps>) => react_jsx_runtime.JSX.Element;
|
|
25
27
|
declare const useTheme: () => ThemeContextType;
|
|
26
28
|
|
|
27
|
-
export { ThemeContext, ThemeProvider, type ThemeType, type ThemeTypeTranslation, ThemeUtil, useTheme };
|
|
29
|
+
export { type ResolvedTheme, ThemeContext, ThemeProvider, type ThemeType, type ThemeTypeTranslation, ThemeUtil, useTheme };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as
|
|
2
|
+
import * as React from 'react';
|
|
3
3
|
import { Dispatch, SetStateAction, PropsWithChildren } from 'react';
|
|
4
4
|
import { TranslationPlural, Translation } from '../localization/useTranslation.js';
|
|
5
5
|
import '../localization/util.js';
|
|
6
6
|
|
|
7
7
|
declare const themes: readonly ["light", "dark", "system"];
|
|
8
8
|
type ThemeType = typeof themes[number];
|
|
9
|
+
type ResolvedTheme = Exclude<ThemeType, 'system'>;
|
|
9
10
|
type ThemeTypeTranslation = Record<ThemeType, string> & {
|
|
10
11
|
theme: TranslationPlural;
|
|
11
12
|
};
|
|
@@ -15,13 +16,14 @@ declare const ThemeUtil: {
|
|
|
15
16
|
};
|
|
16
17
|
type ThemeContextType = {
|
|
17
18
|
theme: ThemeType;
|
|
19
|
+
resolvedTheme: ResolvedTheme;
|
|
18
20
|
setTheme: Dispatch<SetStateAction<ThemeType>>;
|
|
19
21
|
};
|
|
20
|
-
declare const ThemeContext:
|
|
22
|
+
declare const ThemeContext: React.Context<ThemeContextType>;
|
|
21
23
|
type ThemeProviderProps = {
|
|
22
24
|
initialTheme?: ThemeType;
|
|
23
25
|
};
|
|
24
26
|
declare const ThemeProvider: ({ children, initialTheme }: PropsWithChildren<ThemeProviderProps>) => react_jsx_runtime.JSX.Element;
|
|
25
27
|
declare const useTheme: () => ThemeContextType;
|
|
26
28
|
|
|
27
|
-
export { ThemeContext, ThemeProvider, type ThemeType, type ThemeTypeTranslation, ThemeUtil, useTheme };
|
|
29
|
+
export { type ResolvedTheme, ThemeContext, ThemeProvider, type ThemeType, type ThemeTypeTranslation, ThemeUtil, useTheme };
|