@helpwave/hightide 0.1.45 → 0.1.47
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/index.d.mts +1990 -0
- package/dist/index.d.ts +1990 -113
- package/dist/index.js +1514 -1353
- package/dist/index.js.map +1 -1
- package/dist/{components/index.js → index.mjs} +728 -18
- package/dist/index.mjs.map +1 -0
- package/package.json +5 -12
- package/dist/coloring/index.cjs +0 -85
- package/dist/coloring/index.cjs.map +0 -1
- package/dist/coloring/index.d.cts +0 -2
- package/dist/coloring/index.d.ts +0 -2
- package/dist/coloring/index.js +0 -48
- package/dist/coloring/index.js.map +0 -1
- package/dist/coloring/shading.cjs +0 -81
- package/dist/coloring/shading.cjs.map +0 -1
- package/dist/coloring/shading.d.cts +0 -5
- package/dist/coloring/shading.d.ts +0 -5
- package/dist/coloring/shading.js +0 -47
- package/dist/coloring/shading.js.map +0 -1
- package/dist/coloring/types.cjs +0 -30
- package/dist/coloring/types.cjs.map +0 -1
- package/dist/coloring/types.d.cts +0 -13
- package/dist/coloring/types.d.ts +0 -13
- package/dist/coloring/types.js +0 -6
- package/dist/coloring/types.js.map +0 -1
- package/dist/components/branding/HelpwaveBadge.cjs +0 -140
- package/dist/components/branding/HelpwaveBadge.cjs.map +0 -1
- package/dist/components/branding/HelpwaveBadge.d.cts +0 -13
- package/dist/components/branding/HelpwaveBadge.d.ts +0 -13
- package/dist/components/branding/HelpwaveBadge.js +0 -104
- package/dist/components/branding/HelpwaveBadge.js.map +0 -1
- package/dist/components/branding/index.cjs +0 -140
- package/dist/components/branding/index.cjs.map +0 -1
- package/dist/components/branding/index.d.cts +0 -3
- package/dist/components/branding/index.d.ts +0 -3
- package/dist/components/branding/index.js +0 -104
- package/dist/components/branding/index.js.map +0 -1
- package/dist/components/date/DatePicker.cjs +0 -1318
- package/dist/components/date/DatePicker.cjs.map +0 -1
- package/dist/components/date/DatePicker.d.cts +0 -26
- package/dist/components/date/DatePicker.d.ts +0 -26
- package/dist/components/date/DatePicker.js +0 -1283
- package/dist/components/date/DatePicker.js.map +0 -1
- package/dist/components/date/DayPicker.cjs +0 -261
- package/dist/components/date/DayPicker.cjs.map +0 -1
- package/dist/components/date/DayPicker.d.cts +0 -20
- package/dist/components/date/DayPicker.d.ts +0 -20
- package/dist/components/date/DayPicker.js +0 -224
- package/dist/components/date/DayPicker.js.map +0 -1
- package/dist/components/date/TimeDisplay.cjs +0 -638
- package/dist/components/date/TimeDisplay.cjs.map +0 -1
- package/dist/components/date/TimeDisplay.d.cts +0 -13
- package/dist/components/date/TimeDisplay.d.ts +0 -13
- package/dist/components/date/TimeDisplay.js +0 -612
- package/dist/components/date/TimeDisplay.js.map +0 -1
- package/dist/components/date/TimePicker.cjs +0 -237
- package/dist/components/date/TimePicker.cjs.map +0 -1
- package/dist/components/date/TimePicker.d.cts +0 -15
- package/dist/components/date/TimePicker.d.ts +0 -15
- package/dist/components/date/TimePicker.js +0 -202
- package/dist/components/date/TimePicker.js.map +0 -1
- package/dist/components/date/YearMonthPicker.cjs +0 -536
- package/dist/components/date/YearMonthPicker.cjs.map +0 -1
- package/dist/components/date/YearMonthPicker.d.cts +0 -15
- package/dist/components/date/YearMonthPicker.d.ts +0 -15
- package/dist/components/date/YearMonthPicker.js +0 -501
- package/dist/components/date/YearMonthPicker.js.map +0 -1
- package/dist/components/date/index.cjs +0 -1556
- package/dist/components/date/index.cjs.map +0 -1
- package/dist/components/date/index.d.cts +0 -7
- package/dist/components/date/index.d.ts +0 -7
- package/dist/components/date/index.js +0 -1512
- package/dist/components/date/index.js.map +0 -1
- package/dist/components/dialog/ConfirmDialog.cjs +0 -1165
- package/dist/components/dialog/ConfirmDialog.cjs.map +0 -1
- package/dist/components/dialog/ConfirmDialog.d.cts +0 -29
- package/dist/components/dialog/ConfirmDialog.d.ts +0 -29
- package/dist/components/dialog/ConfirmDialog.js +0 -1129
- package/dist/components/dialog/ConfirmDialog.js.map +0 -1
- package/dist/components/dialog/Dialog.cjs +0 -1108
- package/dist/components/dialog/Dialog.cjs.map +0 -1
- package/dist/components/dialog/Dialog.d.cts +0 -27
- package/dist/components/dialog/Dialog.d.ts +0 -27
- package/dist/components/dialog/Dialog.js +0 -1075
- package/dist/components/dialog/Dialog.js.map +0 -1
- package/dist/components/dialog/DiscardChangesDialog.cjs +0 -1192
- package/dist/components/dialog/DiscardChangesDialog.cjs.map +0 -1
- package/dist/components/dialog/DiscardChangesDialog.d.cts +0 -18
- package/dist/components/dialog/DiscardChangesDialog.d.ts +0 -18
- package/dist/components/dialog/DiscardChangesDialog.js +0 -1156
- package/dist/components/dialog/DiscardChangesDialog.js.map +0 -1
- package/dist/components/dialog/InputDialog.cjs +0 -1369
- package/dist/components/dialog/InputDialog.cjs.map +0 -1
- package/dist/components/dialog/InputDialog.d.cts +0 -17
- package/dist/components/dialog/InputDialog.d.ts +0 -17
- package/dist/components/dialog/InputDialog.js +0 -1333
- package/dist/components/dialog/InputDialog.js.map +0 -1
- package/dist/components/dialog/LanguageDialog.cjs +0 -2149
- package/dist/components/dialog/LanguageDialog.cjs.map +0 -1
- package/dist/components/dialog/LanguageDialog.d.cts +0 -16
- package/dist/components/dialog/LanguageDialog.d.ts +0 -16
- package/dist/components/dialog/LanguageDialog.js +0 -2124
- package/dist/components/dialog/LanguageDialog.js.map +0 -1
- package/dist/components/dialog/ThemeDialog.cjs +0 -2188
- package/dist/components/dialog/ThemeDialog.cjs.map +0 -1
- package/dist/components/dialog/ThemeDialog.d.cts +0 -16
- package/dist/components/dialog/ThemeDialog.d.ts +0 -16
- package/dist/components/dialog/ThemeDialog.js +0 -2163
- package/dist/components/dialog/ThemeDialog.js.map +0 -1
- package/dist/components/dialog/index.cjs +0 -2516
- package/dist/components/dialog/index.cjs.map +0 -1
- package/dist/components/dialog/index.d.cts +0 -11
- package/dist/components/dialog/index.d.ts +0 -11
- package/dist/components/dialog/index.js +0 -2486
- package/dist/components/dialog/index.js.map +0 -1
- package/dist/components/form/FormElementWrapper.cjs +0 -167
- package/dist/components/form/FormElementWrapper.cjs.map +0 -1
- package/dist/components/form/FormElementWrapper.d.cts +0 -35
- package/dist/components/form/FormElementWrapper.d.ts +0 -35
- package/dist/components/form/FormElementWrapper.js +0 -133
- package/dist/components/form/FormElementWrapper.js.map +0 -1
- package/dist/components/form/index.cjs +0 -169
- package/dist/components/form/index.cjs.map +0 -1
- package/dist/components/form/index.d.cts +0 -5
- package/dist/components/form/index.d.ts +0 -5
- package/dist/components/form/index.js +0 -133
- package/dist/components/form/index.js.map +0 -1
- package/dist/components/icons-and-geometry/Avatar.cjs +0 -670
- package/dist/components/icons-and-geometry/Avatar.cjs.map +0 -1
- package/dist/components/icons-and-geometry/Avatar.d.cts +0 -36
- package/dist/components/icons-and-geometry/Avatar.d.ts +0 -36
- package/dist/components/icons-and-geometry/Avatar.js +0 -663
- package/dist/components/icons-and-geometry/Avatar.js.map +0 -1
- package/dist/components/icons-and-geometry/Circle.cjs +0 -61
- package/dist/components/icons-and-geometry/Circle.cjs.map +0 -1
- package/dist/components/icons-and-geometry/Circle.d.cts +0 -10
- package/dist/components/icons-and-geometry/Circle.d.ts +0 -10
- package/dist/components/icons-and-geometry/Circle.js +0 -27
- package/dist/components/icons-and-geometry/Circle.js.map +0 -1
- package/dist/components/icons-and-geometry/HelpwaveLogo.cjs +0 -98
- package/dist/components/icons-and-geometry/HelpwaveLogo.cjs.map +0 -1
- package/dist/components/icons-and-geometry/HelpwaveLogo.d.cts +0 -14
- package/dist/components/icons-and-geometry/HelpwaveLogo.d.ts +0 -14
- package/dist/components/icons-and-geometry/HelpwaveLogo.js +0 -74
- package/dist/components/icons-and-geometry/HelpwaveLogo.js.map +0 -1
- package/dist/components/icons-and-geometry/Ring.cjs +0 -333
- package/dist/components/icons-and-geometry/Ring.cjs.map +0 -1
- package/dist/components/icons-and-geometry/Ring.d.cts +0 -35
- package/dist/components/icons-and-geometry/Ring.d.ts +0 -35
- package/dist/components/icons-and-geometry/Ring.js +0 -296
- package/dist/components/icons-and-geometry/Ring.js.map +0 -1
- package/dist/components/icons-and-geometry/Tag.cjs +0 -2945
- package/dist/components/icons-and-geometry/Tag.cjs.map +0 -1
- package/dist/components/icons-and-geometry/Tag.d.cts +0 -16
- package/dist/components/icons-and-geometry/Tag.d.ts +0 -16
- package/dist/components/icons-and-geometry/Tag.js +0 -2940
- package/dist/components/icons-and-geometry/Tag.js.map +0 -1
- package/dist/components/icons-and-geometry/index.cjs +0 -3950
- package/dist/components/icons-and-geometry/index.cjs.map +0 -1
- package/dist/components/icons-and-geometry/index.d.cts +0 -7
- package/dist/components/icons-and-geometry/index.d.ts +0 -7
- package/dist/components/icons-and-geometry/index.js +0 -3934
- package/dist/components/icons-and-geometry/index.js.map +0 -1
- package/dist/components/index.cjs +0 -15692
- package/dist/components/index.cjs.map +0 -1
- package/dist/components/index.d.cts +0 -78
- package/dist/components/index.d.ts +0 -78
- package/dist/components/index.js.map +0 -1
- package/dist/components/layout/Carousel.cjs +0 -1128
- package/dist/components/layout/Carousel.cjs.map +0 -1
- package/dist/components/layout/Carousel.d.cts +0 -35
- package/dist/components/layout/Carousel.d.ts +0 -35
- package/dist/components/layout/Carousel.js +0 -1103
- package/dist/components/layout/Carousel.js.map +0 -1
- package/dist/components/layout/Chip.cjs +0 -123
- package/dist/components/layout/Chip.cjs.map +0 -1
- package/dist/components/layout/Chip.d.cts +0 -31
- package/dist/components/layout/Chip.d.ts +0 -31
- package/dist/components/layout/Chip.js +0 -87
- package/dist/components/layout/Chip.js.map +0 -1
- package/dist/components/layout/DividerInserter.cjs +0 -59
- package/dist/components/layout/DividerInserter.cjs.map +0 -1
- package/dist/components/layout/DividerInserter.d.cts +0 -15
- package/dist/components/layout/DividerInserter.d.ts +0 -15
- package/dist/components/layout/DividerInserter.js +0 -25
- package/dist/components/layout/DividerInserter.js.map +0 -1
- package/dist/components/layout/Expandable.cjs +0 -171
- package/dist/components/layout/Expandable.cjs.map +0 -1
- package/dist/components/layout/Expandable.d.cts +0 -67
- package/dist/components/layout/Expandable.d.ts +0 -67
- package/dist/components/layout/Expandable.js +0 -135
- package/dist/components/layout/Expandable.js.map +0 -1
- package/dist/components/layout/FAQSection.cjs +0 -421
- package/dist/components/layout/FAQSection.cjs.map +0 -1
- package/dist/components/layout/FAQSection.d.cts +0 -26
- package/dist/components/layout/FAQSection.d.ts +0 -26
- package/dist/components/layout/FAQSection.js +0 -387
- package/dist/components/layout/FAQSection.js.map +0 -1
- package/dist/components/layout/FloatingContainer.cjs +0 -220
- package/dist/components/layout/FloatingContainer.cjs.map +0 -1
- package/dist/components/layout/FloatingContainer.d.cts +0 -38
- package/dist/components/layout/FloatingContainer.d.ts +0 -38
- package/dist/components/layout/FloatingContainer.js +0 -196
- package/dist/components/layout/FloatingContainer.js.map +0 -1
- package/dist/components/layout/ListBox.cjs +0 -339
- package/dist/components/layout/ListBox.cjs.map +0 -1
- package/dist/components/layout/ListBox.d.cts +0 -44
- package/dist/components/layout/ListBox.d.ts +0 -44
- package/dist/components/layout/ListBox.js +0 -300
- package/dist/components/layout/ListBox.js.map +0 -1
- package/dist/components/layout/MarkdownInterpreter.cjs +0 -260
- package/dist/components/layout/MarkdownInterpreter.cjs.map +0 -1
- package/dist/components/layout/MarkdownInterpreter.d.cts +0 -28
- package/dist/components/layout/MarkdownInterpreter.d.ts +0 -28
- package/dist/components/layout/MarkdownInterpreter.js +0 -235
- package/dist/components/layout/MarkdownInterpreter.js.map +0 -1
- package/dist/components/layout/ScrollArea.cjs +0 -1252
- package/dist/components/layout/ScrollArea.cjs.map +0 -1
- package/dist/components/layout/ScrollArea.d.cts +0 -15
- package/dist/components/layout/ScrollArea.d.ts +0 -15
- package/dist/components/layout/ScrollArea.js +0 -1216
- package/dist/components/layout/ScrollArea.js.map +0 -1
- package/dist/components/layout/TextImage.cjs +0 -657
- package/dist/components/layout/TextImage.cjs.map +0 -1
- package/dist/components/layout/TextImage.d.cts +0 -19
- package/dist/components/layout/TextImage.d.ts +0 -19
- package/dist/components/layout/TextImage.js +0 -623
- package/dist/components/layout/TextImage.js.map +0 -1
- package/dist/components/layout/VerticalDivider.cjs +0 -80
- package/dist/components/layout/VerticalDivider.cjs.map +0 -1
- package/dist/components/layout/VerticalDivider.d.cts +0 -15
- package/dist/components/layout/VerticalDivider.d.ts +0 -15
- package/dist/components/layout/VerticalDivider.js +0 -56
- package/dist/components/layout/VerticalDivider.js.map +0 -1
- package/dist/components/layout/index.cjs +0 -3434
- package/dist/components/layout/index.cjs.map +0 -1
- package/dist/components/layout/index.d.cts +0 -15
- package/dist/components/layout/index.d.ts +0 -15
- package/dist/components/layout/index.js +0 -3387
- package/dist/components/layout/index.js.map +0 -1
- package/dist/components/loading-states/ErrorComponent.cjs +0 -622
- package/dist/components/loading-states/ErrorComponent.cjs.map +0 -1
- package/dist/components/loading-states/ErrorComponent.d.cts +0 -12
- package/dist/components/loading-states/ErrorComponent.d.ts +0 -12
- package/dist/components/loading-states/ErrorComponent.js +0 -588
- package/dist/components/loading-states/ErrorComponent.js.map +0 -1
- package/dist/components/loading-states/LoadingAndErrorComponent.cjs +0 -67
- package/dist/components/loading-states/LoadingAndErrorComponent.cjs.map +0 -1
- package/dist/components/loading-states/LoadingAndErrorComponent.d.cts +0 -20
- package/dist/components/loading-states/LoadingAndErrorComponent.d.ts +0 -20
- package/dist/components/loading-states/LoadingAndErrorComponent.js +0 -43
- package/dist/components/loading-states/LoadingAndErrorComponent.js.map +0 -1
- package/dist/components/loading-states/LoadingAnimation.cjs +0 -694
- package/dist/components/loading-states/LoadingAnimation.cjs.map +0 -1
- package/dist/components/loading-states/LoadingAnimation.d.cts +0 -12
- package/dist/components/loading-states/LoadingAnimation.d.ts +0 -12
- package/dist/components/loading-states/LoadingAnimation.js +0 -658
- package/dist/components/loading-states/LoadingAnimation.js.map +0 -1
- package/dist/components/loading-states/LoadingButton.cjs +0 -257
- package/dist/components/loading-states/LoadingButton.cjs.map +0 -1
- package/dist/components/loading-states/LoadingButton.d.cts +0 -10
- package/dist/components/loading-states/LoadingButton.d.ts +0 -10
- package/dist/components/loading-states/LoadingButton.js +0 -223
- package/dist/components/loading-states/LoadingButton.js.map +0 -1
- package/dist/components/loading-states/LoadingContainer.cjs +0 -34
- package/dist/components/loading-states/LoadingContainer.cjs.map +0 -1
- package/dist/components/loading-states/LoadingContainer.d.cts +0 -8
- package/dist/components/loading-states/LoadingContainer.d.ts +0 -8
- package/dist/components/loading-states/LoadingContainer.js +0 -10
- package/dist/components/loading-states/LoadingContainer.js.map +0 -1
- package/dist/components/loading-states/ProgressIndicator.cjs +0 -83
- package/dist/components/loading-states/ProgressIndicator.cjs.map +0 -1
- package/dist/components/loading-states/ProgressIndicator.d.cts +0 -24
- package/dist/components/loading-states/ProgressIndicator.d.ts +0 -24
- package/dist/components/loading-states/ProgressIndicator.js +0 -59
- package/dist/components/loading-states/ProgressIndicator.js.map +0 -1
- package/dist/components/loading-states/index.cjs +0 -966
- package/dist/components/loading-states/index.cjs.map +0 -1
- package/dist/components/loading-states/index.d.cts +0 -9
- package/dist/components/loading-states/index.d.ts +0 -9
- package/dist/components/loading-states/index.js +0 -925
- package/dist/components/loading-states/index.js.map +0 -1
- package/dist/components/navigation/BreadCrumb.cjs +0 -3516
- package/dist/components/navigation/BreadCrumb.cjs.map +0 -1
- package/dist/components/navigation/BreadCrumb.d.cts +0 -20
- package/dist/components/navigation/BreadCrumb.d.ts +0 -20
- package/dist/components/navigation/BreadCrumb.js +0 -3511
- package/dist/components/navigation/BreadCrumb.js.map +0 -1
- package/dist/components/navigation/Navigation.cjs +0 -4041
- package/dist/components/navigation/Navigation.cjs.map +0 -1
- package/dist/components/navigation/Navigation.d.cts +0 -21
- package/dist/components/navigation/Navigation.d.ts +0 -21
- package/dist/components/navigation/Navigation.js +0 -4035
- package/dist/components/navigation/Navigation.js.map +0 -1
- package/dist/components/navigation/Pagination.cjs +0 -1007
- package/dist/components/navigation/Pagination.cjs.map +0 -1
- package/dist/components/navigation/Pagination.d.cts +0 -16
- package/dist/components/navigation/Pagination.d.ts +0 -16
- package/dist/components/navigation/Pagination.js +0 -973
- package/dist/components/navigation/Pagination.js.map +0 -1
- package/dist/components/navigation/StepperBar.cjs +0 -903
- package/dist/components/navigation/StepperBar.cjs.map +0 -1
- package/dist/components/navigation/StepperBar.d.cts +0 -23
- package/dist/components/navigation/StepperBar.d.ts +0 -23
- package/dist/components/navigation/StepperBar.js +0 -868
- package/dist/components/navigation/StepperBar.js.map +0 -1
- package/dist/components/navigation/index.cjs +0 -5035
- package/dist/components/navigation/index.cjs.map +0 -1
- package/dist/components/navigation/index.d.cts +0 -6
- package/dist/components/navigation/index.d.ts +0 -6
- package/dist/components/navigation/index.js +0 -5023
- package/dist/components/navigation/index.js.map +0 -1
- package/dist/components/properties/CheckboxProperty.cjs +0 -1736
- package/dist/components/properties/CheckboxProperty.cjs.map +0 -1
- package/dist/components/properties/CheckboxProperty.d.cts +0 -14
- package/dist/components/properties/CheckboxProperty.d.ts +0 -14
- package/dist/components/properties/CheckboxProperty.js +0 -1702
- package/dist/components/properties/CheckboxProperty.js.map +0 -1
- package/dist/components/properties/DateProperty.cjs +0 -1119
- package/dist/components/properties/DateProperty.cjs.map +0 -1
- package/dist/components/properties/DateProperty.d.cts +0 -16
- package/dist/components/properties/DateProperty.d.ts +0 -16
- package/dist/components/properties/DateProperty.js +0 -1085
- package/dist/components/properties/DateProperty.js.map +0 -1
- package/dist/components/properties/MultiSelectProperty.cjs +0 -2058
- package/dist/components/properties/MultiSelectProperty.cjs.map +0 -1
- package/dist/components/properties/MultiSelectProperty.d.cts +0 -14
- package/dist/components/properties/MultiSelectProperty.d.ts +0 -14
- package/dist/components/properties/MultiSelectProperty.js +0 -2035
- package/dist/components/properties/MultiSelectProperty.js.map +0 -1
- package/dist/components/properties/NumberProperty.cjs +0 -1125
- package/dist/components/properties/NumberProperty.cjs.map +0 -1
- package/dist/components/properties/NumberProperty.d.cts +0 -16
- package/dist/components/properties/NumberProperty.d.ts +0 -16
- package/dist/components/properties/NumberProperty.js +0 -1091
- package/dist/components/properties/NumberProperty.js.map +0 -1
- package/dist/components/properties/PropertyBase.cjs +0 -875
- package/dist/components/properties/PropertyBase.cjs.map +0 -1
- package/dist/components/properties/PropertyBase.d.cts +0 -22
- package/dist/components/properties/PropertyBase.d.ts +0 -22
- package/dist/components/properties/PropertyBase.js +0 -841
- package/dist/components/properties/PropertyBase.js.map +0 -1
- package/dist/components/properties/SelectProperty.cjs +0 -2058
- package/dist/components/properties/SelectProperty.cjs.map +0 -1
- package/dist/components/properties/SelectProperty.d.cts +0 -16
- package/dist/components/properties/SelectProperty.d.ts +0 -16
- package/dist/components/properties/SelectProperty.js +0 -2035
- package/dist/components/properties/SelectProperty.js.map +0 -1
- package/dist/components/properties/TextProperty.cjs +0 -1033
- package/dist/components/properties/TextProperty.cjs.map +0 -1
- package/dist/components/properties/TextProperty.d.cts +0 -15
- package/dist/components/properties/TextProperty.d.ts +0 -15
- package/dist/components/properties/TextProperty.js +0 -999
- package/dist/components/properties/TextProperty.js.map +0 -1
- package/dist/components/properties/index.cjs +0 -3383
- package/dist/components/properties/index.cjs.map +0 -1
- package/dist/components/properties/index.d.cts +0 -9
- package/dist/components/properties/index.d.ts +0 -9
- package/dist/components/properties/index.js +0 -3352
- package/dist/components/properties/index.js.map +0 -1
- package/dist/components/table/FillerRowElement.cjs +0 -36
- package/dist/components/table/FillerRowElement.cjs.map +0 -1
- package/dist/components/table/FillerRowElement.d.cts +0 -8
- package/dist/components/table/FillerRowElement.d.ts +0 -8
- package/dist/components/table/FillerRowElement.js +0 -12
- package/dist/components/table/FillerRowElement.js.map +0 -1
- package/dist/components/table/Filter.cjs +0 -41
- package/dist/components/table/Filter.cjs.map +0 -1
- package/dist/components/table/Filter.d.cts +0 -5
- package/dist/components/table/Filter.d.ts +0 -5
- package/dist/components/table/Filter.js +0 -17
- package/dist/components/table/Filter.js.map +0 -1
- package/dist/components/table/Table.cjs +0 -2678
- package/dist/components/table/Table.cjs.map +0 -1
- package/dist/components/table/Table.d.cts +0 -42
- package/dist/components/table/Table.d.ts +0 -42
- package/dist/components/table/Table.js +0 -2649
- package/dist/components/table/Table.js.map +0 -1
- package/dist/components/table/TableCell.cjs +0 -37
- package/dist/components/table/TableCell.cjs.map +0 -1
- package/dist/components/table/TableCell.d.cts +0 -9
- package/dist/components/table/TableCell.d.ts +0 -9
- package/dist/components/table/TableCell.js +0 -13
- package/dist/components/table/TableCell.js.map +0 -1
- package/dist/components/table/TableFilterButton.cjs +0 -1269
- package/dist/components/table/TableFilterButton.cjs.map +0 -1
- package/dist/components/table/TableFilterButton.d.cts +0 -11
- package/dist/components/table/TableFilterButton.d.ts +0 -11
- package/dist/components/table/TableFilterButton.js +0 -1233
- package/dist/components/table/TableFilterButton.js.map +0 -1
- package/dist/components/table/TableSortButton.cjs +0 -206
- package/dist/components/table/TableSortButton.cjs.map +0 -1
- package/dist/components/table/TableSortButton.d.cts +0 -15
- package/dist/components/table/TableSortButton.d.ts +0 -15
- package/dist/components/table/TableSortButton.js +0 -172
- package/dist/components/table/TableSortButton.js.map +0 -1
- package/dist/components/table/index.cjs +0 -2690
- package/dist/components/table/index.cjs.map +0 -1
- package/dist/components/table/index.d.cts +0 -10
- package/dist/components/table/index.d.ts +0 -10
- package/dist/components/table/index.js +0 -2654
- package/dist/components/table/index.js.map +0 -1
- package/dist/components/user-action/Button.cjs +0 -308
- package/dist/components/user-action/Button.cjs.map +0 -1
- package/dist/components/user-action/Button.d.cts +0 -104
- package/dist/components/user-action/Button.d.ts +0 -104
- package/dist/components/user-action/Button.js +0 -268
- package/dist/components/user-action/Button.js.map +0 -1
- package/dist/components/user-action/Checkbox.cjs +0 -878
- package/dist/components/user-action/Checkbox.cjs.map +0 -1
- package/dist/components/user-action/Checkbox.d.cts +0 -25
- package/dist/components/user-action/Checkbox.d.ts +0 -25
- package/dist/components/user-action/Checkbox.js +0 -843
- package/dist/components/user-action/Checkbox.js.map +0 -1
- package/dist/components/user-action/CopyToClipboardWrapper.cjs +0 -695
- package/dist/components/user-action/CopyToClipboardWrapper.cjs.map +0 -1
- package/dist/components/user-action/CopyToClipboardWrapper.d.cts +0 -30
- package/dist/components/user-action/CopyToClipboardWrapper.d.ts +0 -30
- package/dist/components/user-action/CopyToClipboardWrapper.js +0 -671
- package/dist/components/user-action/CopyToClipboardWrapper.js.map +0 -1
- package/dist/components/user-action/DateAndTimePicker.cjs +0 -1492
- package/dist/components/user-action/DateAndTimePicker.cjs.map +0 -1
- package/dist/components/user-action/DateAndTimePicker.d.cts +0 -25
- package/dist/components/user-action/DateAndTimePicker.d.ts +0 -25
- package/dist/components/user-action/DateAndTimePicker.js +0 -1458
- package/dist/components/user-action/DateAndTimePicker.js.map +0 -1
- package/dist/components/user-action/Label.cjs +0 -53
- package/dist/components/user-action/Label.cjs.map +0 -1
- package/dist/components/user-action/Label.d.cts +0 -14
- package/dist/components/user-action/Label.d.ts +0 -14
- package/dist/components/user-action/Label.js +0 -19
- package/dist/components/user-action/Label.js.map +0 -1
- package/dist/components/user-action/Menu.cjs +0 -282
- package/dist/components/user-action/Menu.cjs.map +0 -1
- package/dist/components/user-action/Menu.d.cts +0 -35
- package/dist/components/user-action/Menu.d.ts +0 -35
- package/dist/components/user-action/Menu.js +0 -247
- package/dist/components/user-action/Menu.js.map +0 -1
- package/dist/components/user-action/ScrollPicker.cjs +0 -301
- package/dist/components/user-action/ScrollPicker.cjs.map +0 -1
- package/dist/components/user-action/ScrollPicker.d.cts +0 -15
- package/dist/components/user-action/ScrollPicker.d.ts +0 -15
- package/dist/components/user-action/ScrollPicker.js +0 -267
- package/dist/components/user-action/ScrollPicker.js.map +0 -1
- package/dist/components/user-action/SearchBar.cjs +0 -956
- package/dist/components/user-action/SearchBar.cjs.map +0 -1
- package/dist/components/user-action/SearchBar.d.cts +0 -13
- package/dist/components/user-action/SearchBar.d.ts +0 -13
- package/dist/components/user-action/SearchBar.js +0 -920
- package/dist/components/user-action/SearchBar.js.map +0 -1
- package/dist/components/user-action/Textarea.cjs +0 -231
- package/dist/components/user-action/Textarea.cjs.map +0 -1
- package/dist/components/user-action/Textarea.d.cts +0 -41
- package/dist/components/user-action/Textarea.d.ts +0 -41
- package/dist/components/user-action/Textarea.js +0 -195
- package/dist/components/user-action/Textarea.js.map +0 -1
- package/dist/components/user-action/Tooltip.cjs +0 -139
- package/dist/components/user-action/Tooltip.cjs.map +0 -1
- package/dist/components/user-action/Tooltip.d.cts +0 -37
- package/dist/components/user-action/Tooltip.d.ts +0 -37
- package/dist/components/user-action/Tooltip.js +0 -113
- package/dist/components/user-action/Tooltip.js.map +0 -1
- package/dist/components/user-action/index.cjs +0 -4564
- package/dist/components/user-action/index.cjs.map +0 -1
- package/dist/components/user-action/index.d.cts +0 -26
- package/dist/components/user-action/index.d.ts +0 -26
- package/dist/components/user-action/index.js +0 -4503
- package/dist/components/user-action/index.js.map +0 -1
- package/dist/components/user-action/input/Input.cjs +0 -260
- package/dist/components/user-action/input/Input.cjs.map +0 -1
- package/dist/components/user-action/input/Input.d.cts +0 -37
- package/dist/components/user-action/input/Input.d.ts +0 -37
- package/dist/components/user-action/input/Input.js +0 -225
- package/dist/components/user-action/input/Input.js.map +0 -1
- package/dist/components/user-action/input/InsideLabelInput.cjs +0 -312
- package/dist/components/user-action/input/InsideLabelInput.cjs.map +0 -1
- package/dist/components/user-action/input/InsideLabelInput.d.cts +0 -20
- package/dist/components/user-action/input/InsideLabelInput.d.ts +0 -20
- package/dist/components/user-action/input/InsideLabelInput.js +0 -277
- package/dist/components/user-action/input/InsideLabelInput.js.map +0 -1
- package/dist/components/user-action/input/ToggleableInput.cjs +0 -315
- package/dist/components/user-action/input/ToggleableInput.cjs.map +0 -1
- package/dist/components/user-action/input/ToggleableInput.d.cts +0 -22
- package/dist/components/user-action/input/ToggleableInput.d.ts +0 -22
- package/dist/components/user-action/input/ToggleableInput.js +0 -280
- package/dist/components/user-action/input/ToggleableInput.js.map +0 -1
- package/dist/components/user-action/input/index.cjs +0 -403
- package/dist/components/user-action/input/index.cjs.map +0 -1
- package/dist/components/user-action/input/index.d.cts +0 -6
- package/dist/components/user-action/input/index.d.ts +0 -6
- package/dist/components/user-action/input/index.js +0 -362
- package/dist/components/user-action/input/index.js.map +0 -1
- package/dist/components/user-action/select/Select.cjs +0 -1970
- package/dist/components/user-action/select/Select.cjs.map +0 -1
- package/dist/components/user-action/select/Select.d.cts +0 -104
- package/dist/components/user-action/select/Select.d.ts +0 -104
- package/dist/components/user-action/select/Select.js +0 -1937
- package/dist/components/user-action/select/Select.js.map +0 -1
- package/dist/components/user-action/select/index.cjs +0 -1972
- package/dist/components/user-action/select/index.cjs.map +0 -1
- package/dist/components/user-action/select/index.d.cts +0 -4
- package/dist/components/user-action/select/index.d.ts +0 -4
- package/dist/components/user-action/select/index.js +0 -1937
- package/dist/components/user-action/select/index.js.map +0 -1
- package/dist/components/utils/FocusTrap.cjs +0 -252
- package/dist/components/utils/FocusTrap.cjs.map +0 -1
- package/dist/components/utils/FocusTrap.d.cts +0 -28
- package/dist/components/utils/FocusTrap.d.ts +0 -28
- package/dist/components/utils/FocusTrap.js +0 -229
- package/dist/components/utils/FocusTrap.js.map +0 -1
- package/dist/components/utils/Transition.cjs +0 -74
- package/dist/components/utils/Transition.cjs.map +0 -1
- package/dist/components/utils/Transition.d.cts +0 -26
- package/dist/components/utils/Transition.d.ts +0 -26
- package/dist/components/utils/Transition.js +0 -50
- package/dist/components/utils/Transition.js.map +0 -1
- package/dist/components/utils/index.cjs +0 -302
- package/dist/components/utils/index.cjs.map +0 -1
- package/dist/components/utils/index.d.cts +0 -4
- package/dist/components/utils/index.d.ts +0 -4
- package/dist/components/utils/index.js +0 -275
- package/dist/components/utils/index.js.map +0 -1
- package/dist/hooks/focus/index.cjs +0 -379
- package/dist/hooks/focus/index.cjs.map +0 -1
- package/dist/hooks/focus/index.d.cts +0 -6
- package/dist/hooks/focus/index.d.ts +0 -6
- package/dist/hooks/focus/index.js +0 -339
- package/dist/hooks/focus/index.js.map +0 -1
- package/dist/hooks/focus/useFocusGuards.cjs +0 -74
- package/dist/hooks/focus/useFocusGuards.cjs.map +0 -1
- package/dist/hooks/focus/useFocusGuards.d.cts +0 -3
- package/dist/hooks/focus/useFocusGuards.d.ts +0 -3
- package/dist/hooks/focus/useFocusGuards.js +0 -50
- package/dist/hooks/focus/useFocusGuards.js.map +0 -1
- package/dist/hooks/focus/useFocusManagement.cjs +0 -84
- package/dist/hooks/focus/useFocusManagement.cjs.map +0 -1
- package/dist/hooks/focus/useFocusManagement.d.cts +0 -9
- package/dist/hooks/focus/useFocusManagement.d.ts +0 -9
- package/dist/hooks/focus/useFocusManagement.js +0 -60
- package/dist/hooks/focus/useFocusManagement.js.map +0 -1
- package/dist/hooks/focus/useFocusOnceVisible.cjs +0 -60
- package/dist/hooks/focus/useFocusOnceVisible.cjs.map +0 -1
- package/dist/hooks/focus/useFocusOnceVisible.d.cts +0 -5
- package/dist/hooks/focus/useFocusOnceVisible.d.ts +0 -5
- package/dist/hooks/focus/useFocusOnceVisible.js +0 -26
- package/dist/hooks/focus/useFocusOnceVisible.js.map +0 -1
- package/dist/hooks/focus/useFocusTrap.cjs +0 -233
- package/dist/hooks/focus/useFocusTrap.cjs.map +0 -1
- package/dist/hooks/focus/useFocusTrap.d.cts +0 -16
- package/dist/hooks/focus/useFocusTrap.d.ts +0 -16
- package/dist/hooks/focus/useFocusTrap.js +0 -210
- package/dist/hooks/focus/useFocusTrap.js.map +0 -1
- package/dist/hooks/focus/useIsMounted.cjs +0 -43
- package/dist/hooks/focus/useIsMounted.cjs.map +0 -1
- package/dist/hooks/focus/useIsMounted.d.cts +0 -3
- package/dist/hooks/focus/useIsMounted.d.ts +0 -3
- package/dist/hooks/focus/useIsMounted.js +0 -20
- package/dist/hooks/focus/useIsMounted.js.map +0 -1
- package/dist/hooks/index.cjs +0 -1530
- package/dist/hooks/index.cjs.map +0 -1
- package/dist/hooks/index.d.cts +0 -18
- package/dist/hooks/index.d.ts +0 -18
- package/dist/hooks/index.js +0 -1477
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/useDelay.cjs +0 -67
- package/dist/hooks/useDelay.cjs.map +0 -1
- package/dist/hooks/useDelay.d.cts +0 -12
- package/dist/hooks/useDelay.d.ts +0 -12
- package/dist/hooks/useDelay.js +0 -43
- package/dist/hooks/useDelay.js.map +0 -1
- package/dist/hooks/useFloatingElement.cjs +0 -162
- package/dist/hooks/useFloatingElement.cjs.map +0 -1
- package/dist/hooks/useFloatingElement.d.cts +0 -22
- package/dist/hooks/useFloatingElement.d.ts +0 -22
- package/dist/hooks/useFloatingElement.js +0 -139
- package/dist/hooks/useFloatingElement.js.map +0 -1
- package/dist/hooks/useHoverState.cjs +0 -71
- package/dist/hooks/useHoverState.cjs.map +0 -1
- package/dist/hooks/useHoverState.d.cts +0 -42
- package/dist/hooks/useHoverState.d.ts +0 -42
- package/dist/hooks/useHoverState.js +0 -47
- package/dist/hooks/useHoverState.js.map +0 -1
- package/dist/hooks/useLocalStorage.cjs +0 -97
- package/dist/hooks/useLocalStorage.cjs.map +0 -1
- package/dist/hooks/useLocalStorage.d.cts +0 -17
- package/dist/hooks/useLocalStorage.d.ts +0 -17
- package/dist/hooks/useLocalStorage.js +0 -74
- package/dist/hooks/useLocalStorage.js.map +0 -1
- package/dist/hooks/useLogOnce.cjs +0 -53
- package/dist/hooks/useLogOnce.cjs.map +0 -1
- package/dist/hooks/useLogOnce.d.cts +0 -7
- package/dist/hooks/useLogOnce.d.ts +0 -7
- package/dist/hooks/useLogOnce.js +0 -29
- package/dist/hooks/useLogOnce.js.map +0 -1
- package/dist/hooks/useOutsideClick.cjs +0 -47
- package/dist/hooks/useOutsideClick.cjs.map +0 -1
- package/dist/hooks/useOutsideClick.d.cts +0 -5
- package/dist/hooks/useOutsideClick.d.ts +0 -5
- package/dist/hooks/useOutsideClick.js +0 -23
- package/dist/hooks/useOutsideClick.js.map +0 -1
- package/dist/hooks/useOverwritableState.cjs +0 -49
- package/dist/hooks/useOverwritableState.cjs.map +0 -1
- package/dist/hooks/useOverwritableState.d.cts +0 -5
- package/dist/hooks/useOverwritableState.d.ts +0 -5
- package/dist/hooks/useOverwritableState.js +0 -25
- package/dist/hooks/useOverwritableState.js.map +0 -1
- package/dist/hooks/usePopoverPosition.cjs +0 -81
- package/dist/hooks/usePopoverPosition.cjs.map +0 -1
- package/dist/hooks/usePopoverPosition.d.cts +0 -15
- package/dist/hooks/usePopoverPosition.d.ts +0 -15
- package/dist/hooks/usePopoverPosition.js +0 -57
- package/dist/hooks/usePopoverPosition.js.map +0 -1
- package/dist/hooks/useRerender.cjs +0 -33
- package/dist/hooks/useRerender.cjs.map +0 -1
- package/dist/hooks/useRerender.d.cts +0 -5
- package/dist/hooks/useRerender.d.ts +0 -5
- package/dist/hooks/useRerender.js +0 -9
- package/dist/hooks/useRerender.js.map +0 -1
- package/dist/hooks/useResizeCallbackWrapper.cjs +0 -38
- package/dist/hooks/useResizeCallbackWrapper.cjs.map +0 -1
- package/dist/hooks/useResizeCallbackWrapper.d.cts +0 -11
- package/dist/hooks/useResizeCallbackWrapper.d.ts +0 -11
- package/dist/hooks/useResizeCallbackWrapper.js +0 -14
- package/dist/hooks/useResizeCallbackWrapper.js.map +0 -1
- package/dist/hooks/useSearch.cjs +0 -95
- package/dist/hooks/useSearch.cjs.map +0 -1
- package/dist/hooks/useSearch.d.cts +0 -22
- package/dist/hooks/useSearch.d.ts +0 -22
- package/dist/hooks/useSearch.js +0 -71
- package/dist/hooks/useSearch.js.map +0 -1
- package/dist/hooks/useValidators.cjs +0 -687
- package/dist/hooks/useValidators.cjs.map +0 -1
- package/dist/hooks/useValidators.d.cts +0 -16
- package/dist/hooks/useValidators.d.ts +0 -16
- package/dist/hooks/useValidators.js +0 -660
- package/dist/hooks/useValidators.js.map +0 -1
- package/dist/i18n/LocaleProvider.cjs +0 -202
- package/dist/i18n/LocaleProvider.cjs.map +0 -1
- package/dist/i18n/LocaleProvider.d.cts +0 -23
- package/dist/i18n/LocaleProvider.d.ts +0 -23
- package/dist/i18n/LocaleProvider.js +0 -175
- package/dist/i18n/LocaleProvider.js.map +0 -1
- package/dist/i18n/index.cjs +0 -761
- package/dist/i18n/index.cjs.map +0 -1
- package/dist/i18n/index.d.cts +0 -8
- package/dist/i18n/index.d.ts +0 -8
- package/dist/i18n/index.js +0 -727
- package/dist/i18n/index.js.map +0 -1
- package/dist/i18n/translations.cjs +0 -507
- package/dist/i18n/translations.cjs.map +0 -1
- package/dist/i18n/translations.d.cts +0 -189
- package/dist/i18n/translations.d.ts +0 -189
- package/dist/i18n/translations.js +0 -482
- package/dist/i18n/translations.js.map +0 -1
- package/dist/i18n/useHightideTranslation.cjs +0 -618
- package/dist/i18n/useHightideTranslation.cjs.map +0 -1
- package/dist/i18n/useHightideTranslation.d.cts +0 -21
- package/dist/i18n/useHightideTranslation.d.ts +0 -21
- package/dist/i18n/useHightideTranslation.js +0 -591
- package/dist/i18n/useHightideTranslation.js.map +0 -1
- package/dist/i18n/util.cjs +0 -49
- package/dist/i18n/util.cjs.map +0 -1
- package/dist/i18n/util.d.cts +0 -15
- package/dist/i18n/util.d.ts +0 -15
- package/dist/i18n/util.js +0 -23
- package/dist/i18n/util.js.map +0 -1
- package/dist/index.cjs +0 -16470
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -113
- package/dist/storybook/helper.cjs +0 -61
- package/dist/storybook/helper.cjs.map +0 -1
- package/dist/storybook/helper.d.cts +0 -17
- package/dist/storybook/helper.d.ts +0 -17
- package/dist/storybook/helper.js +0 -37
- package/dist/storybook/helper.js.map +0 -1
- package/dist/theming/index.cjs +0 -190
- package/dist/theming/index.cjs.map +0 -1
- package/dist/theming/index.d.cts +0 -3
- package/dist/theming/index.d.ts +0 -3
- package/dist/theming/index.js +0 -161
- package/dist/theming/index.js.map +0 -1
- package/dist/theming/useTheme.cjs +0 -188
- package/dist/theming/useTheme.cjs.map +0 -1
- package/dist/theming/useTheme.d.cts +0 -26
- package/dist/theming/useTheme.d.ts +0 -26
- package/dist/theming/useTheme.js +0 -161
- package/dist/theming/useTheme.js.map +0 -1
- package/dist/utils/array.cjs +0 -172
- package/dist/utils/array.cjs.map +0 -1
- package/dist/utils/array.d.cts +0 -34
- package/dist/utils/array.d.ts +0 -34
- package/dist/utils/array.js +0 -142
- package/dist/utils/array.js.map +0 -1
- package/dist/utils/bagFunctions.cjs +0 -38
- package/dist/utils/bagFunctions.cjs.map +0 -1
- package/dist/utils/bagFunctions.d.cts +0 -15
- package/dist/utils/bagFunctions.d.ts +0 -15
- package/dist/utils/bagFunctions.js +0 -14
- package/dist/utils/bagFunctions.js.map +0 -1
- package/dist/utils/builder.cjs +0 -33
- package/dist/utils/builder.cjs.map +0 -1
- package/dist/utils/builder.d.cts +0 -8
- package/dist/utils/builder.d.ts +0 -8
- package/dist/utils/builder.js +0 -9
- package/dist/utils/builder.js.map +0 -1
- package/dist/utils/date.cjs +0 -193
- package/dist/utils/date.cjs.map +0 -1
- package/dist/utils/date.d.cts +0 -30
- package/dist/utils/date.d.ts +0 -30
- package/dist/utils/date.js +0 -156
- package/dist/utils/date.js.map +0 -1
- package/dist/utils/easeFunctions.cjs +0 -63
- package/dist/utils/easeFunctions.cjs.map +0 -1
- package/dist/utils/easeFunctions.d.cts +0 -11
- package/dist/utils/easeFunctions.d.ts +0 -11
- package/dist/utils/easeFunctions.js +0 -37
- package/dist/utils/easeFunctions.js.map +0 -1
- package/dist/utils/emailValidation.cjs +0 -32
- package/dist/utils/emailValidation.cjs.map +0 -1
- package/dist/utils/emailValidation.d.cts +0 -3
- package/dist/utils/emailValidation.d.ts +0 -3
- package/dist/utils/emailValidation.js +0 -8
- package/dist/utils/emailValidation.js.map +0 -1
- package/dist/utils/index.cjs +0 -562
- package/dist/utils/index.cjs.map +0 -1
- package/dist/utils/index.d.cts +0 -16
- package/dist/utils/index.d.ts +0 -16
- package/dist/utils/index.js +0 -502
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/loopingArray.cjs +0 -96
- package/dist/utils/loopingArray.cjs.map +0 -1
- package/dist/utils/loopingArray.d.cts +0 -25
- package/dist/utils/loopingArray.d.ts +0 -25
- package/dist/utils/loopingArray.js +0 -72
- package/dist/utils/loopingArray.js.map +0 -1
- package/dist/utils/match.cjs +0 -32
- package/dist/utils/match.cjs.map +0 -1
- package/dist/utils/match.d.cts +0 -3
- package/dist/utils/match.d.ts +0 -3
- package/dist/utils/match.js +0 -8
- package/dist/utils/match.js.map +0 -1
- package/dist/utils/math.cjs +0 -33
- package/dist/utils/math.cjs.map +0 -1
- package/dist/utils/math.d.cts +0 -3
- package/dist/utils/math.d.ts +0 -3
- package/dist/utils/math.js +0 -9
- package/dist/utils/math.js.map +0 -1
- package/dist/utils/noop.cjs +0 -30
- package/dist/utils/noop.cjs.map +0 -1
- package/dist/utils/noop.d.cts +0 -3
- package/dist/utils/noop.d.ts +0 -3
- package/dist/utils/noop.js +0 -6
- package/dist/utils/noop.js.map +0 -1
- package/dist/utils/resolveSetState.cjs +0 -32
- package/dist/utils/resolveSetState.cjs.map +0 -1
- package/dist/utils/resolveSetState.d.cts +0 -5
- package/dist/utils/resolveSetState.d.ts +0 -5
- package/dist/utils/resolveSetState.js +0 -8
- package/dist/utils/resolveSetState.js.map +0 -1
- package/dist/utils/simpleSearch.cjs +0 -59
- package/dist/utils/simpleSearch.cjs.map +0 -1
- package/dist/utils/simpleSearch.d.cts +0 -50
- package/dist/utils/simpleSearch.d.ts +0 -50
- package/dist/utils/simpleSearch.js +0 -32
- package/dist/utils/simpleSearch.js.map +0 -1
- package/dist/utils/storage.cjs +0 -63
- package/dist/utils/storage.cjs.map +0 -1
- package/dist/utils/storage.d.cts +0 -16
- package/dist/utils/storage.d.ts +0 -16
- package/dist/utils/storage.js +0 -38
- package/dist/utils/storage.js.map +0 -1
- package/dist/utils/typing.cjs +0 -18
- package/dist/utils/typing.cjs.map +0 -1
- package/dist/utils/typing.d.cts +0 -8
- package/dist/utils/typing.d.ts +0 -8
- package/dist/utils/typing.js +0 -1
- package/dist/utils/typing.js.map +0 -1
- package/dist/utils/writeToClipboard.cjs +0 -33
- package/dist/utils/writeToClipboard.cjs.map +0 -1
- package/dist/utils/writeToClipboard.d.cts +0 -3
- package/dist/utils/writeToClipboard.d.ts +0 -3
- package/dist/utils/writeToClipboard.js +0 -10
- package/dist/utils/writeToClipboard.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,113 +1,1990 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import React__default, { HTMLAttributes, ButtonHTMLAttributes, ReactNode, PropsWithChildren, InputHTMLAttributes, LabelHTMLAttributes, SVGProps, CSSProperties, MutableRefObject, RefObject, TextareaHTMLAttributes, Dispatch, SetStateAction } from 'react';
|
|
4
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
5
|
+
import { Column, RowData, FilterFn, ColumnDef, Table as Table$1, InitialTableState, Row, TableState, TableOptions, RowSelectionState, SortDirection } from '@tanstack/react-table';
|
|
6
|
+
import { CheckboxProps as CheckboxProps$1 } from '@radix-ui/react-checkbox';
|
|
7
|
+
import { Translation, TranslationEntries, PartialTranslationExtension } from '@helpwave/internationalization';
|
|
8
|
+
|
|
9
|
+
declare const shadingColorValues: readonly [0, 50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800, 850, 900, 950, 1000];
|
|
10
|
+
type ColorShadingValue = typeof shadingColorValues[number];
|
|
11
|
+
type ShadedColors = Record<ColorShadingValue, string>;
|
|
12
|
+
type ColoringStyle = 'background' | 'tonal' | 'tonal-opaque' | 'text' | 'text-border';
|
|
13
|
+
type ColorMode = 'light' | 'dark';
|
|
14
|
+
type Coloring = {
|
|
15
|
+
color: '';
|
|
16
|
+
style?: ColoringStyle;
|
|
17
|
+
mode?: ColorMode;
|
|
18
|
+
hover?: boolean;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
declare const generateShadingColors: (partialShading: Omit<Partial<ShadedColors>, "0" | "1000">) => ShadedColors;
|
|
22
|
+
|
|
23
|
+
type Size = 'sm' | 'md' | 'lg';
|
|
24
|
+
type HelpwaveBadgeProps = HTMLAttributes<HTMLSpanElement> & {
|
|
25
|
+
size?: Size;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* A Badge with the helpwave logo and the helpwave name
|
|
29
|
+
*/
|
|
30
|
+
declare const HelpwaveBadge: ({ size, ...props }: HelpwaveBadgeProps) => react_jsx_runtime.JSX.Element;
|
|
31
|
+
|
|
32
|
+
declare const monthsList: readonly ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"];
|
|
33
|
+
type Month = typeof monthsList[number];
|
|
34
|
+
declare const weekDayList: readonly ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"];
|
|
35
|
+
type WeekDay = typeof weekDayList[number];
|
|
36
|
+
declare const formatDate: (date: Date) => string;
|
|
37
|
+
declare const formatDateTime: (date: Date) => string;
|
|
38
|
+
declare const getDaysInMonth: (year: number, month: number) => number;
|
|
39
|
+
type Duration = {
|
|
40
|
+
years?: number;
|
|
41
|
+
months?: number;
|
|
42
|
+
days?: number;
|
|
43
|
+
hours?: number;
|
|
44
|
+
minutes?: number;
|
|
45
|
+
seconds?: number;
|
|
46
|
+
milliseconds?: number;
|
|
47
|
+
};
|
|
48
|
+
declare const changeDuration: (date: Date, duration: Duration, isAdding?: boolean) => Date;
|
|
49
|
+
declare const addDuration: (date: Date, duration: Duration) => Date;
|
|
50
|
+
declare const subtractDuration: (date: Date, duration: Duration) => Date;
|
|
51
|
+
declare const getBetweenDuration: (startDate: Date, endDate: Date) => Duration;
|
|
52
|
+
/** Checks if a given date is in the range of two dates
|
|
53
|
+
*
|
|
54
|
+
* An undefined value for startDate or endDate means no bound for the start or end respectively
|
|
55
|
+
*/
|
|
56
|
+
declare const isInTimeSpan: (value: Date, startDate?: Date, endDate?: Date) => boolean;
|
|
57
|
+
/** Compare two dates on the year, month, day */
|
|
58
|
+
declare const equalDate: (date1: Date, date2: Date) => boolean;
|
|
59
|
+
declare const getWeeksForCalenderMonth: (date: Date, weekStart: WeekDay, weeks?: number) => Date[][];
|
|
60
|
+
|
|
61
|
+
type DayPickerProps = {
|
|
62
|
+
displayedMonth: Date;
|
|
63
|
+
selected?: Date;
|
|
64
|
+
start?: Date;
|
|
65
|
+
end?: Date;
|
|
66
|
+
onChange?: (date: Date) => void;
|
|
67
|
+
weekStart?: WeekDay;
|
|
68
|
+
markToday?: boolean;
|
|
69
|
+
className?: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* A component for selecting a day of a month
|
|
73
|
+
*/
|
|
74
|
+
declare const DayPicker: ({ displayedMonth, selected, start, end, onChange, weekStart, markToday, className }: DayPickerProps) => react_jsx_runtime.JSX.Element;
|
|
75
|
+
declare const DayPickerUncontrolled: ({ displayedMonth, selected, onChange, ...restProps }: DayPickerProps) => react_jsx_runtime.JSX.Element;
|
|
76
|
+
|
|
77
|
+
type YearMonthPickerProps = {
|
|
78
|
+
displayedYearMonth?: Date;
|
|
79
|
+
start?: Date;
|
|
80
|
+
end?: Date;
|
|
81
|
+
onChange?: (date: Date) => void;
|
|
82
|
+
className?: string;
|
|
83
|
+
maxHeight?: number;
|
|
84
|
+
showValueOpen?: boolean;
|
|
85
|
+
};
|
|
86
|
+
declare const YearMonthPicker: ({ displayedYearMonth, start, end, onChange, className, maxHeight, showValueOpen }: YearMonthPickerProps) => react_jsx_runtime.JSX.Element;
|
|
87
|
+
declare const YearMonthPickerUncontrolled: ({ displayedYearMonth, onChange, ...props }: YearMonthPickerProps) => react_jsx_runtime.JSX.Element;
|
|
88
|
+
|
|
89
|
+
type DisplayMode = 'yearMonth' | 'day';
|
|
90
|
+
type DatePickerProps = {
|
|
91
|
+
value?: Date;
|
|
92
|
+
start?: Date;
|
|
93
|
+
end?: Date;
|
|
94
|
+
initialDisplay?: DisplayMode;
|
|
95
|
+
onChange?: (date: Date) => void;
|
|
96
|
+
dayPickerProps?: Omit<DayPickerProps, 'displayedMonth' | 'onChange' | 'selected'>;
|
|
97
|
+
yearMonthPickerProps?: Omit<YearMonthPickerProps, 'displayedYearMonth' | 'onChange' | 'start' | 'end'>;
|
|
98
|
+
className?: string;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* A Component for picking a date
|
|
102
|
+
*/
|
|
103
|
+
declare const DatePicker: ({ value, start, end, initialDisplay, onChange, yearMonthPickerProps, dayPickerProps, className }: DatePickerProps) => react_jsx_runtime.JSX.Element;
|
|
104
|
+
/**
|
|
105
|
+
* Example for the Date Picker
|
|
106
|
+
*/
|
|
107
|
+
declare const DatePickerUncontrolled: ({ value, onChange, ...props }: DatePickerProps) => react_jsx_runtime.JSX.Element;
|
|
108
|
+
|
|
109
|
+
type TimeDisplayMode = 'daysFromToday' | 'date';
|
|
110
|
+
type TimeDisplayProps = {
|
|
111
|
+
date: Date;
|
|
112
|
+
mode?: TimeDisplayMode;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* A Component for displaying time and dates in a unified fashion
|
|
116
|
+
*/
|
|
117
|
+
declare const TimeDisplay: ({ date, mode }: TimeDisplayProps) => react_jsx_runtime.JSX.Element;
|
|
118
|
+
|
|
119
|
+
type MinuteIncrement = '1min' | '5min' | '10min' | '15min' | '30min';
|
|
120
|
+
type TimePickerProps = {
|
|
121
|
+
time?: Date;
|
|
122
|
+
onChange?: (time: Date) => void;
|
|
123
|
+
is24HourFormat?: boolean;
|
|
124
|
+
minuteIncrement?: MinuteIncrement;
|
|
125
|
+
maxHeight?: number;
|
|
126
|
+
className?: string;
|
|
127
|
+
};
|
|
128
|
+
declare const TimePicker: ({ time, onChange, is24HourFormat, minuteIncrement, maxHeight, className }: TimePickerProps) => react_jsx_runtime.JSX.Element;
|
|
129
|
+
declare const TimePickerUncontrolled: ({ time, onChange, ...props }: TimePickerProps) => react_jsx_runtime.JSX.Element;
|
|
130
|
+
|
|
131
|
+
declare const ButtonColorUtil: {
|
|
132
|
+
solid: readonly ["primary", "secondary", "tertiary", "positive", "warning", "negative", "neutral"];
|
|
133
|
+
text: readonly ["primary", "negative", "neutral"];
|
|
134
|
+
outline: readonly ["primary"];
|
|
135
|
+
};
|
|
136
|
+
declare const IconButtonUtil: {
|
|
137
|
+
icon: readonly ["primary", "secondary", "tertiary", "positive", "warning", "negative", "neutral", "transparent"];
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* The allowed colors for the SolidButton and IconButton
|
|
141
|
+
*/
|
|
142
|
+
type SolidButtonColor = typeof ButtonColorUtil.solid[number];
|
|
143
|
+
/**
|
|
144
|
+
* The allowed colors for the OutlineButton
|
|
145
|
+
*/
|
|
146
|
+
type OutlineButtonColor = typeof ButtonColorUtil.outline[number];
|
|
147
|
+
/**
|
|
148
|
+
* The allowed colors for the TextButton
|
|
149
|
+
*/
|
|
150
|
+
type TextButtonColor = typeof ButtonColorUtil.text[number];
|
|
151
|
+
/**
|
|
152
|
+
* The allowed colors for the IconButton
|
|
153
|
+
*/
|
|
154
|
+
type IconButtonColor = typeof IconButtonUtil.icon[number];
|
|
155
|
+
/**
|
|
156
|
+
* The different sizes for a button
|
|
157
|
+
*/
|
|
158
|
+
type ButtonSizes = 'small' | 'medium' | 'large' | 'none';
|
|
159
|
+
type IconButtonSize = 'tiny' | 'small' | 'medium' | 'large' | 'none';
|
|
160
|
+
/**
|
|
161
|
+
* The shard properties between all button types
|
|
162
|
+
*/
|
|
163
|
+
type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
164
|
+
/**
|
|
165
|
+
* @default 'medium'
|
|
166
|
+
*/
|
|
167
|
+
size?: ButtonSizes;
|
|
168
|
+
};
|
|
169
|
+
declare const ButtonUtil: {
|
|
170
|
+
paddingMapping: Record<ButtonSizes, string>;
|
|
171
|
+
iconPaddingMapping: Record<IconButtonSize, string>;
|
|
172
|
+
};
|
|
173
|
+
type ButtonWithIconsProps = ButtonProps & {
|
|
174
|
+
startIcon?: ReactNode;
|
|
175
|
+
endIcon?: ReactNode;
|
|
176
|
+
};
|
|
177
|
+
type SolidButtonProps = ButtonWithIconsProps & {
|
|
178
|
+
color?: SolidButtonColor;
|
|
179
|
+
};
|
|
180
|
+
type OutlineButtonProps = ButtonWithIconsProps & {
|
|
181
|
+
color?: OutlineButtonColor;
|
|
182
|
+
};
|
|
183
|
+
type TextButtonProps = ButtonWithIconsProps & {
|
|
184
|
+
color?: TextButtonColor;
|
|
185
|
+
coloredHoverBackground?: boolean;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* The shard properties between all button types
|
|
189
|
+
*/
|
|
190
|
+
type IconButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
191
|
+
/**
|
|
192
|
+
* @default 'medium'
|
|
193
|
+
*/
|
|
194
|
+
size?: IconButtonSize;
|
|
195
|
+
color?: IconButtonColor;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* A button with a solid background and different sizes
|
|
199
|
+
*/
|
|
200
|
+
declare const SolidButton: React.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
201
|
+
/**
|
|
202
|
+
* @default 'medium'
|
|
203
|
+
*/
|
|
204
|
+
size?: ButtonSizes;
|
|
205
|
+
} & {
|
|
206
|
+
startIcon?: ReactNode;
|
|
207
|
+
endIcon?: ReactNode;
|
|
208
|
+
} & {
|
|
209
|
+
color?: SolidButtonColor;
|
|
210
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
211
|
+
/**
|
|
212
|
+
* A button with an outline border and different sizes
|
|
213
|
+
*/
|
|
214
|
+
declare const OutlineButton: ({ children, color, size, startIcon, endIcon, onClick, className, ...restProps }: OutlineButtonProps) => react_jsx_runtime.JSX.Element;
|
|
215
|
+
/**
|
|
216
|
+
* A text that is a button that can have different sizes
|
|
217
|
+
*/
|
|
218
|
+
declare const TextButton: ({ children, color, size, startIcon, endIcon, onClick, coloredHoverBackground, className, ...restProps }: TextButtonProps) => react_jsx_runtime.JSX.Element;
|
|
219
|
+
/**
|
|
220
|
+
* A button for icons with a solid background and different sizes
|
|
221
|
+
*/
|
|
222
|
+
declare const IconButton: React.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
223
|
+
/**
|
|
224
|
+
* @default 'medium'
|
|
225
|
+
*/
|
|
226
|
+
size?: IconButtonSize;
|
|
227
|
+
color?: IconButtonColor;
|
|
228
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
229
|
+
|
|
230
|
+
type DialogPosition = 'top' | 'center' | 'none';
|
|
231
|
+
type DialogProps = HTMLAttributes<HTMLDivElement> & {
|
|
232
|
+
/** Whether the dialog is currently open */
|
|
233
|
+
isOpen: boolean;
|
|
234
|
+
/** Title of the Dialog used for accessibility */
|
|
235
|
+
titleElement: ReactNode;
|
|
236
|
+
/** Description of the Dialog used for accessibility */
|
|
237
|
+
description: ReactNode;
|
|
238
|
+
/** Callback when the dialog tries to close */
|
|
239
|
+
onClose?: () => void;
|
|
240
|
+
/** Styling for the background */
|
|
241
|
+
backgroundClassName?: string;
|
|
242
|
+
/** If true shows a close button and sends onClose on background clicks */
|
|
243
|
+
isModal?: boolean;
|
|
244
|
+
position?: DialogPosition;
|
|
245
|
+
isAnimated?: boolean;
|
|
246
|
+
containerClassName?: string;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* A generic dialog window which is managed by its parent
|
|
250
|
+
*/
|
|
251
|
+
declare const Dialog: ({ children, isOpen, titleElement, description, isModal, onClose, backgroundClassName, position, isAnimated, containerClassName, ...props }: PropsWithChildren<DialogProps>) => React.ReactPortal;
|
|
252
|
+
|
|
253
|
+
type ConfirmDialogType = 'positive' | 'negative' | 'neutral' | 'primary';
|
|
254
|
+
type ButtonOverwriteType = {
|
|
255
|
+
text?: string;
|
|
256
|
+
color?: SolidButtonColor;
|
|
257
|
+
disabled?: boolean;
|
|
258
|
+
};
|
|
259
|
+
type ConfirmDialogProps = Omit<DialogProps, 'onClose'> & {
|
|
260
|
+
isShowingDecline?: boolean;
|
|
261
|
+
requireAnswer?: boolean;
|
|
262
|
+
onCancel: () => void;
|
|
263
|
+
onConfirm: () => void;
|
|
264
|
+
onDecline?: () => void;
|
|
265
|
+
confirmType?: ConfirmDialogType;
|
|
266
|
+
/**
|
|
267
|
+
* Order: Cancel, Decline, Confirm
|
|
268
|
+
*/
|
|
269
|
+
buttonOverwrites?: [ButtonOverwriteType, ButtonOverwriteType, ButtonOverwriteType];
|
|
270
|
+
};
|
|
271
|
+
/**
|
|
272
|
+
* A Dialog for asking the user for confirmation
|
|
273
|
+
*/
|
|
274
|
+
declare const ConfirmDialog: ({ children, onCancel, onConfirm, onDecline, confirmType, buttonOverwrites, className, ...restProps }: PropsWithChildren<ConfirmDialogProps>) => react_jsx_runtime.JSX.Element;
|
|
275
|
+
|
|
276
|
+
type DiscardChangesDialogProps = Omit<ConfirmDialogProps, 'onDecline' | 'onConfirm' | 'buttonOverwrites' | 'titleElement' | 'description'> & {
|
|
277
|
+
isShowingDecline?: boolean;
|
|
278
|
+
requireAnswer?: boolean;
|
|
279
|
+
onCancel: () => void;
|
|
280
|
+
onSave: () => void;
|
|
281
|
+
onDontSave: () => void;
|
|
282
|
+
titleOverwrite?: ReactNode;
|
|
283
|
+
descriptionOverwrite?: ReactNode;
|
|
284
|
+
};
|
|
285
|
+
declare const DiscardChangesDialog: ({ children, onCancel, onSave, onDontSave, titleOverwrite, descriptionOverwrite, ...props }: PropsWithChildren<DiscardChangesDialogProps>) => react_jsx_runtime.JSX.Element;
|
|
286
|
+
|
|
287
|
+
type UseDelayOptionsResolved = {
|
|
288
|
+
delay: number;
|
|
289
|
+
disabled: boolean;
|
|
290
|
+
};
|
|
291
|
+
type UseDelayOptions = Partial<UseDelayOptionsResolved>;
|
|
292
|
+
declare function useDelay(options?: UseDelayOptions): {
|
|
293
|
+
restartTimer: (onDelayFinish: () => void) => void;
|
|
294
|
+
clearTimer: () => void;
|
|
295
|
+
hasActiveTimer: boolean;
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
type EditCompleteOptionsResolved = {
|
|
299
|
+
onBlur: boolean;
|
|
300
|
+
afterDelay: boolean;
|
|
301
|
+
allowEnterComplete?: boolean;
|
|
302
|
+
} & Omit<UseDelayOptionsResolved, 'disabled'>;
|
|
303
|
+
type EditCompleteOptions = Partial<EditCompleteOptionsResolved>;
|
|
304
|
+
type InputProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
305
|
+
invalid?: boolean;
|
|
306
|
+
onChangeText?: (text: string) => void;
|
|
307
|
+
onEditCompleted?: (text: string) => void;
|
|
308
|
+
editCompleteOptions?: EditCompleteOptions;
|
|
309
|
+
defaultStyle?: boolean;
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* A Component for inputting text or other information
|
|
313
|
+
*
|
|
314
|
+
* Its state is managed must be managed by the parent
|
|
315
|
+
*/
|
|
316
|
+
declare const Input: React__default.ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & {
|
|
317
|
+
invalid?: boolean;
|
|
318
|
+
onChangeText?: (text: string) => void;
|
|
319
|
+
onEditCompleted?: (text: string) => void;
|
|
320
|
+
editCompleteOptions?: EditCompleteOptions;
|
|
321
|
+
defaultStyle?: boolean;
|
|
322
|
+
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
323
|
+
/**
|
|
324
|
+
* A Component for inputting text or other information
|
|
325
|
+
*
|
|
326
|
+
* Its state is managed by the component itself
|
|
327
|
+
*/
|
|
328
|
+
declare const InputUncontrolled: ({ value, onChangeText, ...props }: InputProps) => react_jsx_runtime.JSX.Element;
|
|
329
|
+
|
|
330
|
+
type InputModalProps = ConfirmDialogProps & {
|
|
331
|
+
inputs: InputProps[];
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* A modal for receiving multiple inputs
|
|
335
|
+
*/
|
|
336
|
+
declare const InputDialog: ({ inputs, buttonOverwrites, ...props }: InputModalProps) => react_jsx_runtime.JSX.Element;
|
|
337
|
+
|
|
338
|
+
type LanguageDialogProps = Omit<DialogProps, 'titleElement' | 'description'> & PropsWithChildren<{
|
|
339
|
+
titleOverwrite?: ReactNode;
|
|
340
|
+
descriptionOverwrite?: ReactNode;
|
|
341
|
+
}>;
|
|
342
|
+
/**
|
|
343
|
+
* A Dialog for selecting the Language
|
|
344
|
+
*
|
|
345
|
+
* The State of open needs to be managed by the parent
|
|
346
|
+
*/
|
|
347
|
+
declare const LanguageDialog: ({ onClose, titleOverwrite, descriptionOverwrite, ...props }: LanguageDialogProps) => react_jsx_runtime.JSX.Element;
|
|
348
|
+
|
|
349
|
+
type ThemeDialogProps = Omit<DialogProps, 'titleElement' | 'description'> & {
|
|
350
|
+
titleOverwrite?: ReactNode;
|
|
351
|
+
descriptionOverwrite?: ReactNode;
|
|
352
|
+
};
|
|
353
|
+
/**
|
|
354
|
+
* A Dialog for selecting the Theme
|
|
355
|
+
*
|
|
356
|
+
* The State of open needs to be managed by the parent
|
|
357
|
+
*/
|
|
358
|
+
declare const ThemeDialog: ({ onClose, titleOverwrite, descriptionOverwrite, ...props }: PropsWithChildren<ThemeDialogProps>) => react_jsx_runtime.JSX.Element;
|
|
359
|
+
|
|
360
|
+
type BagFunction<T> = (bag: T) => ReactNode;
|
|
361
|
+
type BagFunctionOrNode<T> = BagFunction<T> | ReactNode;
|
|
362
|
+
type PropsWithBagFunction<T, P = unknown> = P & {
|
|
363
|
+
children?: BagFunction<T>;
|
|
364
|
+
};
|
|
365
|
+
type PropsWithBagFunctionOrChildren<T, P = unknown> = P & {
|
|
366
|
+
children?: BagFunctionOrNode<T>;
|
|
367
|
+
};
|
|
368
|
+
declare const BagFunctionUtil: {
|
|
369
|
+
resolve: <T>(children: BagFunctionOrNode<T>, bag: T) => ReactNode;
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
type LabelType = 'md' | 'lg';
|
|
373
|
+
type LabelProps = LabelHTMLAttributes<HTMLLabelElement> & {
|
|
374
|
+
/** The size of the label */
|
|
375
|
+
size?: LabelType;
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* A Label component
|
|
379
|
+
*/
|
|
380
|
+
declare const Label: ({ children, size, className, ...props }: LabelProps) => react_jsx_runtime.JSX.Element;
|
|
381
|
+
|
|
382
|
+
type ErrorShowBehaviour = 'always' | 'whenTouched';
|
|
383
|
+
type FormElementHTMLProperties = Pick<HTMLAttributes<HTMLElement>, 'id' | 'aria-labelledby' | 'aria-describedby' | 'aria-disabled' | 'aria-invalid' | 'aria-errormessage' | 'aria-required'>;
|
|
384
|
+
type FormElementStateProperties = {
|
|
385
|
+
invalid: boolean;
|
|
386
|
+
disabled: boolean;
|
|
387
|
+
};
|
|
388
|
+
type FormElementWrapperBag = FormElementHTMLProperties & FormElementStateProperties & {
|
|
389
|
+
required: boolean;
|
|
390
|
+
isShowingError: boolean;
|
|
391
|
+
setIsShowingError: (isShowingError?: boolean) => void;
|
|
392
|
+
};
|
|
393
|
+
type FormElementWrapperProps = {
|
|
394
|
+
children: BagFunction<FormElementWrapperBag>;
|
|
395
|
+
id?: string;
|
|
396
|
+
required?: boolean;
|
|
397
|
+
disabled?: boolean;
|
|
398
|
+
isShowingError?: boolean;
|
|
399
|
+
onIsShowingError?: (isTouched: boolean) => void;
|
|
400
|
+
label?: ReactNode;
|
|
401
|
+
labelProps?: Omit<LabelProps, 'children'>;
|
|
402
|
+
errorShowBehaviour?: ErrorShowBehaviour;
|
|
403
|
+
error?: ReactNode;
|
|
404
|
+
errorProps?: Omit<HTMLAttributes<HTMLParagraphElement>, 'children'>;
|
|
405
|
+
description?: ReactNode;
|
|
406
|
+
descriptionProps?: Omit<HTMLAttributes<HTMLParagraphElement>, 'children'>;
|
|
407
|
+
containerClassName?: string;
|
|
408
|
+
};
|
|
409
|
+
declare const FormElementWrapper: ({ children, id, required, disabled, isShowingError: initialIsShowingError, onIsShowingError, label, labelProps, errorShowBehaviour, error, errorProps, description, descriptionProps, containerClassName, }: FormElementWrapperProps) => react_jsx_runtime.JSX.Element;
|
|
410
|
+
|
|
411
|
+
declare const avtarSizeList: readonly ["sm", "md", "lg", "xl"];
|
|
412
|
+
type AvatarSize = typeof avtarSizeList[number];
|
|
413
|
+
declare const AvatarUtil: {
|
|
414
|
+
avatarSizeMapping: Record<"sm" | "md" | "lg" | "xl", number>;
|
|
415
|
+
sizes: readonly ["sm", "md", "lg", "xl"];
|
|
416
|
+
};
|
|
417
|
+
type ImageConfig = {
|
|
418
|
+
avatarUrl: string;
|
|
419
|
+
alt: string;
|
|
420
|
+
};
|
|
421
|
+
type AvatarProps = {
|
|
422
|
+
image?: ImageConfig;
|
|
423
|
+
name?: string;
|
|
424
|
+
size?: AvatarSize;
|
|
425
|
+
fullyRounded?: boolean;
|
|
426
|
+
className?: string;
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* A component for showing a profile picture
|
|
430
|
+
*/
|
|
431
|
+
declare const Avatar: ({ image, name, size, fullyRounded, className }: AvatarProps) => react_jsx_runtime.JSX.Element;
|
|
432
|
+
type AvatarGroupProps = {
|
|
433
|
+
avatars: Omit<AvatarProps, 'size' | 'fullyRounded'>[];
|
|
434
|
+
maxShownProfiles?: number;
|
|
435
|
+
showTotalNumber?: boolean;
|
|
436
|
+
size?: AvatarSize;
|
|
437
|
+
fullyRounded?: boolean;
|
|
438
|
+
};
|
|
439
|
+
/**
|
|
440
|
+
* A component for showing a group of Avatar's
|
|
441
|
+
*/
|
|
442
|
+
declare const AvatarGroup: ({ avatars, maxShownProfiles, showTotalNumber, size, fullyRounded }: AvatarGroupProps) => react_jsx_runtime.JSX.Element;
|
|
443
|
+
|
|
444
|
+
type CircleProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'color'> & {
|
|
445
|
+
radius: number;
|
|
446
|
+
className?: string;
|
|
447
|
+
};
|
|
448
|
+
declare const Circle: ({ radius, className, style, ...restProps }: CircleProps) => react_jsx_runtime.JSX.Element;
|
|
449
|
+
|
|
450
|
+
type HelpwaveProps = SVGProps<SVGSVGElement> & {
|
|
451
|
+
color?: string;
|
|
452
|
+
animate?: 'none' | 'loading' | 'pulse' | 'bounce';
|
|
453
|
+
size?: 'sm' | 'md' | 'lg';
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* The helpwave loading spinner based on the svg logo.
|
|
457
|
+
*/
|
|
458
|
+
declare const HelpwaveLogo: ({ color, size, animate, ...props }: HelpwaveProps) => react_jsx_runtime.JSX.Element;
|
|
459
|
+
|
|
460
|
+
type RingProps = {
|
|
461
|
+
innerSize: number;
|
|
462
|
+
width: number;
|
|
463
|
+
className?: string;
|
|
464
|
+
};
|
|
465
|
+
declare const Ring: ({ innerSize, width, className, }: RingProps) => react_jsx_runtime.JSX.Element;
|
|
466
|
+
type AnimatedRingProps = RingProps & {
|
|
467
|
+
fillAnimationDuration?: number;
|
|
468
|
+
repeating?: boolean;
|
|
469
|
+
onAnimationFinished?: () => void;
|
|
470
|
+
style?: CSSProperties;
|
|
471
|
+
};
|
|
472
|
+
declare const AnimatedRing: ({ innerSize, width, className, fillAnimationDuration, repeating, onAnimationFinished, style, }: AnimatedRingProps) => react_jsx_runtime.JSX.Element;
|
|
473
|
+
type RingWaveProps = Omit<AnimatedRingProps, 'innerSize'> & {
|
|
474
|
+
startInnerSize: number;
|
|
475
|
+
endInnerSize: number;
|
|
476
|
+
style?: CSSProperties;
|
|
477
|
+
};
|
|
478
|
+
declare const RingWave: ({ startInnerSize, endInnerSize, width, className, fillAnimationDuration, repeating, onAnimationFinished, style }: RingWaveProps) => react_jsx_runtime.JSX.Element;
|
|
479
|
+
type RadialRingsProps = {
|
|
480
|
+
circle1ClassName?: string;
|
|
481
|
+
circle2ClassName?: string;
|
|
482
|
+
circle3ClassName?: string;
|
|
483
|
+
waveWidth?: number;
|
|
484
|
+
waveBaseColor?: string;
|
|
485
|
+
sizeCircle1?: number;
|
|
486
|
+
sizeCircle2?: number;
|
|
487
|
+
sizeCircle3?: number;
|
|
488
|
+
};
|
|
489
|
+
declare const RadialRings: ({ circle1ClassName, circle2ClassName, circle3ClassName, waveWidth, waveBaseColor, sizeCircle1, sizeCircle2, sizeCircle3 }: RadialRingsProps) => react_jsx_runtime.JSX.Element;
|
|
490
|
+
|
|
491
|
+
type TagProps = {
|
|
492
|
+
size?: number;
|
|
493
|
+
className?: string;
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* Tag icon from flaticon
|
|
497
|
+
*
|
|
498
|
+
* https://www.flaticon.com/free-icon/price-tag_721550?term=label&page=1&position=8&origin=tag&related_id=721550
|
|
499
|
+
*
|
|
500
|
+
* When using it make attribution
|
|
501
|
+
*/
|
|
502
|
+
declare const TagIcon: ({ className, size, }: TagProps) => react_jsx_runtime.JSX.Element;
|
|
503
|
+
|
|
504
|
+
interface CarouselSlideProps extends HTMLAttributes<HTMLDivElement> {
|
|
505
|
+
isSelected: boolean;
|
|
506
|
+
index: number;
|
|
507
|
+
}
|
|
508
|
+
declare const CarouselSlide: React__default.ForwardRefExoticComponent<CarouselSlideProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
509
|
+
type CarouselProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
510
|
+
children: ReactNode[];
|
|
511
|
+
animationTime?: number;
|
|
512
|
+
isLooping?: boolean;
|
|
513
|
+
isAutoPlaying?: boolean;
|
|
514
|
+
autoLoopingTimeOut?: number;
|
|
515
|
+
autoLoopAnimationTime?: number;
|
|
516
|
+
hintNext?: boolean;
|
|
517
|
+
arrows?: boolean;
|
|
518
|
+
dots?: boolean;
|
|
519
|
+
/**
|
|
520
|
+
* Percentage that is allowed to be scrolled further
|
|
521
|
+
*/
|
|
522
|
+
overScrollThreshold?: number;
|
|
523
|
+
blurColor?: string;
|
|
524
|
+
heightClassName?: string;
|
|
525
|
+
slideClassName?: string;
|
|
526
|
+
slideContainerProps?: HTMLAttributes<HTMLDivElement>;
|
|
527
|
+
onSlideChanged?: (index: number) => void;
|
|
528
|
+
};
|
|
529
|
+
declare const Carousel: ({ children, animationTime, isLooping, isAutoPlaying, autoLoopingTimeOut, autoLoopAnimationTime, hintNext, arrows, dots, blurColor, heightClassName, slideClassName, slideContainerProps, onSlideChanged, ...props }: CarouselProps) => react_jsx_runtime.JSX.Element;
|
|
530
|
+
|
|
531
|
+
declare const chipColors: readonly ["default", "dark", "red", "yellow", "green", "blue", "pink", "orange"];
|
|
532
|
+
type ChipColor = typeof chipColors[number];
|
|
533
|
+
type ChipVariant = 'normal' | 'fullyRounded';
|
|
534
|
+
type ChipSize = 'sm' | 'md' | 'lg';
|
|
535
|
+
declare const ChipUtil: {
|
|
536
|
+
colors: readonly ["default", "dark", "red", "yellow", "green", "blue", "pink", "orange"];
|
|
537
|
+
};
|
|
538
|
+
type ChipProps = HTMLAttributes<HTMLDivElement> & PropsWithChildren<{
|
|
539
|
+
color?: ChipColor;
|
|
540
|
+
size?: ChipSize;
|
|
541
|
+
icon?: boolean;
|
|
542
|
+
variant?: ChipVariant;
|
|
543
|
+
trailingIcon?: ReactNode;
|
|
544
|
+
}>;
|
|
545
|
+
/**
|
|
546
|
+
* A component for displaying a single chip
|
|
547
|
+
*/
|
|
548
|
+
declare const Chip: ({ children, trailingIcon, color, size, icon, variant, className, ...restProps }: ChipProps) => react_jsx_runtime.JSX.Element;
|
|
549
|
+
type ChipListProps = {
|
|
550
|
+
list: ChipProps[];
|
|
551
|
+
className?: string;
|
|
552
|
+
};
|
|
553
|
+
/**
|
|
554
|
+
* A component for displaying a list of chips
|
|
555
|
+
*/
|
|
556
|
+
declare const ChipList: ({ list, className }: ChipListProps) => react_jsx_runtime.JSX.Element;
|
|
557
|
+
|
|
558
|
+
type DividerInserterProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
559
|
+
children: ReactNode[];
|
|
560
|
+
divider: (index: number) => ReactNode;
|
|
561
|
+
};
|
|
562
|
+
/**
|
|
563
|
+
* A Component for inserting a divider in the middle of each child element
|
|
564
|
+
*
|
|
565
|
+
* undefined elements are removed
|
|
566
|
+
*/
|
|
567
|
+
declare const DividerInserter: ({ children, divider, className, ...restProps }: DividerInserterProps) => react_jsx_runtime.JSX.Element;
|
|
568
|
+
|
|
569
|
+
type ExpansionIconProps = {
|
|
570
|
+
isExpanded?: boolean;
|
|
571
|
+
className?: string;
|
|
572
|
+
};
|
|
573
|
+
declare const ExpansionIcon: ({ isExpanded, className }: ExpansionIconProps) => react_jsx_runtime.JSX.Element;
|
|
574
|
+
type IconBuilder = (expanded: boolean) => ReactNode;
|
|
575
|
+
type ExpandableProps = PropsWithChildren<{
|
|
576
|
+
id?: string;
|
|
577
|
+
label: ReactNode;
|
|
578
|
+
icon?: IconBuilder;
|
|
579
|
+
isExpanded?: boolean;
|
|
580
|
+
onChange?: (isExpanded: boolean) => void;
|
|
581
|
+
/**
|
|
582
|
+
* Whether the expansion should only happen when the header is clicked or on the entire component
|
|
583
|
+
*/
|
|
584
|
+
clickOnlyOnHeader?: boolean;
|
|
585
|
+
disabled?: boolean;
|
|
586
|
+
className?: string;
|
|
587
|
+
headerClassName?: string;
|
|
588
|
+
contentClassName?: string;
|
|
589
|
+
contentExpandedClassName?: string;
|
|
590
|
+
}>;
|
|
591
|
+
/**
|
|
592
|
+
* A Component for showing and hiding content
|
|
593
|
+
*/
|
|
594
|
+
declare const Expandable: React.ForwardRefExoticComponent<{
|
|
595
|
+
id?: string;
|
|
596
|
+
label: ReactNode;
|
|
597
|
+
icon?: IconBuilder;
|
|
598
|
+
isExpanded?: boolean;
|
|
599
|
+
onChange?: (isExpanded: boolean) => void;
|
|
600
|
+
/**
|
|
601
|
+
* Whether the expansion should only happen when the header is clicked or on the entire component
|
|
602
|
+
*/
|
|
603
|
+
clickOnlyOnHeader?: boolean;
|
|
604
|
+
disabled?: boolean;
|
|
605
|
+
className?: string;
|
|
606
|
+
headerClassName?: string;
|
|
607
|
+
contentClassName?: string;
|
|
608
|
+
contentExpandedClassName?: string;
|
|
609
|
+
} & {
|
|
610
|
+
children?: ReactNode | undefined;
|
|
611
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
612
|
+
declare const ExpandableUncontrolled: React.ForwardRefExoticComponent<{
|
|
613
|
+
id?: string;
|
|
614
|
+
label: ReactNode;
|
|
615
|
+
icon?: IconBuilder;
|
|
616
|
+
isExpanded?: boolean;
|
|
617
|
+
onChange?: (isExpanded: boolean) => void;
|
|
618
|
+
/**
|
|
619
|
+
* Whether the expansion should only happen when the header is clicked or on the entire component
|
|
620
|
+
*/
|
|
621
|
+
clickOnlyOnHeader?: boolean;
|
|
622
|
+
disabled?: boolean;
|
|
623
|
+
className?: string;
|
|
624
|
+
headerClassName?: string;
|
|
625
|
+
contentClassName?: string;
|
|
626
|
+
contentExpandedClassName?: string;
|
|
627
|
+
} & {
|
|
628
|
+
children?: ReactNode | undefined;
|
|
629
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
630
|
+
|
|
631
|
+
type ContentType = {
|
|
632
|
+
type: 'markdown';
|
|
633
|
+
value: string;
|
|
634
|
+
} | {
|
|
635
|
+
type: 'custom';
|
|
636
|
+
value: ReactNode;
|
|
637
|
+
};
|
|
638
|
+
type FAQItem = Pick<ExpandableProps, 'isExpanded' | 'className'> & {
|
|
639
|
+
id: string;
|
|
640
|
+
title: string;
|
|
641
|
+
content: ContentType;
|
|
642
|
+
};
|
|
643
|
+
type FAQSectionProps = {
|
|
644
|
+
entries: FAQItem[];
|
|
645
|
+
expandableClassName?: string;
|
|
646
|
+
};
|
|
647
|
+
/**
|
|
648
|
+
* Description
|
|
649
|
+
*/
|
|
650
|
+
declare const FAQSection: ({ entries, expandableClassName }: FAQSectionProps) => react_jsx_runtime.JSX.Element;
|
|
651
|
+
|
|
652
|
+
type FloatingElementAlignment = 'beforeStart' | 'afterStart' | 'center' | 'beforeEnd' | 'afterEnd';
|
|
653
|
+
type CalculatePositionOptions = {
|
|
654
|
+
verticalAlignment?: FloatingElementAlignment;
|
|
655
|
+
horizontalAlignment?: FloatingElementAlignment;
|
|
656
|
+
screenPadding?: number;
|
|
657
|
+
gap?: number;
|
|
658
|
+
};
|
|
659
|
+
type UseFloatingElementOptions = CalculatePositionOptions & {
|
|
660
|
+
isPolling?: boolean;
|
|
661
|
+
pollingInterval?: number;
|
|
662
|
+
};
|
|
663
|
+
type UseFloatingElementProps = UseFloatingElementOptions & {
|
|
664
|
+
containerRef: MutableRefObject<HTMLElement>;
|
|
665
|
+
anchorRef: MutableRefObject<HTMLElement>;
|
|
666
|
+
windowRef?: MutableRefObject<HTMLElement>;
|
|
667
|
+
active?: boolean;
|
|
668
|
+
};
|
|
669
|
+
declare function useFloatingElement({ active, windowRef, anchorRef, containerRef, isPolling, pollingInterval, verticalAlignment, horizontalAlignment, screenPadding, gap, }: UseFloatingElementProps): CSSProperties;
|
|
670
|
+
|
|
671
|
+
type FloatingContainerProps = HTMLAttributes<HTMLDivElement> & UseFloatingElementOptions & {
|
|
672
|
+
anchor?: MutableRefObject<HTMLElement>;
|
|
673
|
+
/**
|
|
674
|
+
* Polls the position of the anchor every 100ms
|
|
675
|
+
*
|
|
676
|
+
* Use sparingly
|
|
677
|
+
*/
|
|
678
|
+
backgroundOverlay?: ReactNode;
|
|
679
|
+
};
|
|
680
|
+
/**
|
|
681
|
+
* A floating container that aligns to its anchor
|
|
682
|
+
*
|
|
683
|
+
* Notes:
|
|
684
|
+
* - to hide it use the hidden attribute as other means break the functionality
|
|
685
|
+
*/
|
|
686
|
+
declare const FloatingContainer: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
687
|
+
verticalAlignment?: FloatingElementAlignment;
|
|
688
|
+
horizontalAlignment?: FloatingElementAlignment;
|
|
689
|
+
screenPadding?: number;
|
|
690
|
+
gap?: number;
|
|
691
|
+
} & {
|
|
692
|
+
isPolling?: boolean;
|
|
693
|
+
pollingInterval?: number;
|
|
694
|
+
} & {
|
|
695
|
+
anchor?: MutableRefObject<HTMLElement>;
|
|
696
|
+
/**
|
|
697
|
+
* Polls the position of the anchor every 100ms
|
|
698
|
+
*
|
|
699
|
+
* Use sparingly
|
|
700
|
+
*/
|
|
701
|
+
backgroundOverlay?: ReactNode;
|
|
702
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
703
|
+
|
|
704
|
+
type ListBoxItemProps = HTMLAttributes<HTMLLIElement> & {
|
|
705
|
+
value: string;
|
|
706
|
+
disabled?: boolean;
|
|
707
|
+
};
|
|
708
|
+
declare const ListBoxItem: React__default.ForwardRefExoticComponent<HTMLAttributes<HTMLLIElement> & {
|
|
709
|
+
value: string;
|
|
710
|
+
disabled?: boolean;
|
|
711
|
+
} & React__default.RefAttributes<HTMLLIElement>>;
|
|
712
|
+
type ListBoxOrientation = 'vertical' | 'horizontal';
|
|
713
|
+
type ListBoxPrimitiveProps = HTMLAttributes<HTMLUListElement> & {
|
|
714
|
+
value?: string[];
|
|
715
|
+
onItemClicked?: (value: string) => void;
|
|
716
|
+
onSelectionChanged?: (value: string[]) => void;
|
|
717
|
+
isSelection?: boolean;
|
|
718
|
+
isMultiple?: boolean;
|
|
719
|
+
orientation?: ListBoxOrientation;
|
|
720
|
+
};
|
|
721
|
+
declare const ListBoxPrimitive: React__default.ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> & {
|
|
722
|
+
value?: string[];
|
|
723
|
+
onItemClicked?: (value: string) => void;
|
|
724
|
+
onSelectionChanged?: (value: string[]) => void;
|
|
725
|
+
isSelection?: boolean;
|
|
726
|
+
isMultiple?: boolean;
|
|
727
|
+
orientation?: ListBoxOrientation;
|
|
728
|
+
} & React__default.RefAttributes<HTMLUListElement>>;
|
|
729
|
+
type ListBoxMultipleProps = Omit<ListBoxPrimitiveProps, 'isMultiple'>;
|
|
730
|
+
declare const ListBoxMultiple: ({ ...props }: ListBoxMultipleProps) => react_jsx_runtime.JSX.Element;
|
|
731
|
+
type ListBoxMultipleUncontrolledProps = ListBoxMultipleProps;
|
|
732
|
+
declare const ListBoxMultipleUncontrolled: ({ value: initialValue, onSelectionChanged, ...props }: ListBoxMultipleUncontrolledProps) => react_jsx_runtime.JSX.Element;
|
|
733
|
+
type ListBoxProps = Omit<ListBoxPrimitiveProps, 'isMultiple' | 'value' | 'onSelectionChanged'> & {
|
|
734
|
+
value?: string;
|
|
735
|
+
onSelectionChanged?: (value: string) => void;
|
|
736
|
+
};
|
|
737
|
+
declare const ListBox: React__default.ForwardRefExoticComponent<Omit<ListBoxPrimitiveProps, "value" | "onSelectionChanged" | "isMultiple"> & {
|
|
738
|
+
value?: string;
|
|
739
|
+
onSelectionChanged?: (value: string) => void;
|
|
740
|
+
} & React__default.RefAttributes<HTMLUListElement>>;
|
|
741
|
+
type ListBoxUncontrolledProps = ListBoxProps;
|
|
742
|
+
declare const ListBoxUncontrolled: ({ value: initialValue, onSelectionChanged, ...props }: ListBoxUncontrolledProps) => react_jsx_runtime.JSX.Element;
|
|
743
|
+
|
|
744
|
+
type ASTNodeModifierType = 'none' | 'italic' | 'bold' | 'underline' | 'font-space' | 'primary' | 'secondary' | 'warn' | 'positive' | 'negative';
|
|
745
|
+
declare const astNodeInserterType: readonly ["helpwave", "newline"];
|
|
746
|
+
type ASTNodeInserterType = typeof astNodeInserterType[number];
|
|
747
|
+
type ASTNodeDefaultType = 'text';
|
|
748
|
+
type ASTNode = {
|
|
749
|
+
type: ASTNodeModifierType;
|
|
750
|
+
children: ASTNode[];
|
|
751
|
+
} | {
|
|
752
|
+
type: ASTNodeInserterType;
|
|
753
|
+
} | {
|
|
754
|
+
type: ASTNodeDefaultType;
|
|
755
|
+
text: string;
|
|
756
|
+
};
|
|
757
|
+
type ASTNodeInterpreterProps = {
|
|
758
|
+
node: ASTNode;
|
|
759
|
+
isRoot?: boolean;
|
|
760
|
+
className?: string;
|
|
761
|
+
};
|
|
762
|
+
declare const ASTNodeInterpreter: ({ node, isRoot, className, }: ASTNodeInterpreterProps) => string | react_jsx_runtime.JSX.Element;
|
|
763
|
+
type MarkdownInterpreterProps = {
|
|
764
|
+
text: string;
|
|
765
|
+
className?: string;
|
|
766
|
+
};
|
|
767
|
+
declare const MarkdownInterpreter: ({ text, className }: MarkdownInterpreterProps) => react_jsx_runtime.JSX.Element;
|
|
768
|
+
|
|
769
|
+
type ScrollBarSize = 'sm' | 'md';
|
|
770
|
+
type ScrollBarType = 'auto' | 'always' | 'scroll' | 'hover';
|
|
771
|
+
type ScrollBarAxis = 'horizontal' | 'vertical' | 'both' | 'none';
|
|
772
|
+
type ScrollAreaProps = Omit<ScrollAreaPrimitive.ScrollAreaProps, 'type'> & PropsWithChildren & {
|
|
773
|
+
scrollbarSize?: ScrollBarSize;
|
|
774
|
+
scrollbarType?: ScrollBarType;
|
|
775
|
+
scrollbarAxis?: ScrollBarAxis;
|
|
776
|
+
};
|
|
777
|
+
declare const ScrollArea: ({ children, scrollbarSize, scrollbarType, scrollbarAxis, className, ...props }: ScrollAreaProps) => react_jsx_runtime.JSX.Element;
|
|
778
|
+
|
|
779
|
+
type TextImageColor = 'primary' | 'secondary' | 'dark';
|
|
780
|
+
type TextImageProps = {
|
|
781
|
+
title: string;
|
|
782
|
+
description: string;
|
|
783
|
+
imageUrl: string;
|
|
784
|
+
onShowMoreClicked?: () => void;
|
|
785
|
+
color?: TextImageColor;
|
|
786
|
+
badge?: string;
|
|
787
|
+
contentClassName?: string;
|
|
788
|
+
className?: string;
|
|
789
|
+
};
|
|
790
|
+
/**
|
|
791
|
+
* A Component for layering a Text upon an image
|
|
792
|
+
*/
|
|
793
|
+
declare const TextImage: ({ title, description, imageUrl, onShowMoreClicked, color, badge, contentClassName, className, }: TextImageProps) => react_jsx_runtime.JSX.Element;
|
|
794
|
+
|
|
795
|
+
type VerticalDividerProps = {
|
|
796
|
+
width?: number;
|
|
797
|
+
height?: number;
|
|
798
|
+
strokeWidth?: number;
|
|
799
|
+
dashGap?: number;
|
|
800
|
+
dashLength?: number;
|
|
801
|
+
};
|
|
802
|
+
/**
|
|
803
|
+
* A Component for creating a vertical Divider
|
|
804
|
+
*/
|
|
805
|
+
declare const VerticalDivider: ({ width, height, strokeWidth, dashGap, dashLength, }: VerticalDividerProps) => react_jsx_runtime.JSX.Element;
|
|
806
|
+
|
|
807
|
+
type ErrorComponentProps = {
|
|
808
|
+
errorText?: string;
|
|
809
|
+
classname?: string;
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* The Component to show when an error occurred
|
|
813
|
+
*/
|
|
814
|
+
declare const ErrorComponent: ({ errorText, classname }: ErrorComponentProps) => react_jsx_runtime.JSX.Element;
|
|
815
|
+
|
|
816
|
+
type LoadingAndErrorComponentProps = PropsWithChildren<{
|
|
817
|
+
isLoading?: boolean;
|
|
818
|
+
hasError?: boolean;
|
|
819
|
+
loadingComponent?: ReactNode;
|
|
820
|
+
errorComponent?: ReactNode;
|
|
821
|
+
/**
|
|
822
|
+
* in milliseconds
|
|
823
|
+
*/
|
|
824
|
+
minimumLoadingDuration?: number;
|
|
825
|
+
className?: string;
|
|
826
|
+
}>;
|
|
827
|
+
/**
|
|
828
|
+
* A Component that shows the Error and Loading animation, when appropriate and the children otherwise
|
|
829
|
+
*/
|
|
830
|
+
declare const LoadingAndErrorComponent: ({ children, isLoading, hasError, loadingComponent, errorComponent, minimumLoadingDuration, className }: LoadingAndErrorComponentProps) => string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode>;
|
|
831
|
+
|
|
832
|
+
type LoadingAnimationProps = {
|
|
833
|
+
loadingText?: string;
|
|
834
|
+
classname?: string;
|
|
835
|
+
};
|
|
836
|
+
/**
|
|
837
|
+
* A Component to show when loading data
|
|
838
|
+
*/
|
|
839
|
+
declare const LoadingAnimation: ({ loadingText, classname }: LoadingAnimationProps) => react_jsx_runtime.JSX.Element;
|
|
840
|
+
|
|
841
|
+
type LoadingButtonProps = {
|
|
842
|
+
isLoading?: boolean;
|
|
843
|
+
} & SolidButtonProps;
|
|
844
|
+
declare const LoadingButton: ({ isLoading, size, onClick, ...rest }: LoadingButtonProps) => react_jsx_runtime.JSX.Element;
|
|
845
|
+
|
|
846
|
+
type LoadingComponentProps = {
|
|
847
|
+
className?: string;
|
|
848
|
+
};
|
|
849
|
+
declare const LoadingContainer: ({ className }: LoadingComponentProps) => react_jsx_runtime.JSX.Element;
|
|
850
|
+
|
|
851
|
+
type ProgressIndicatorProps = {
|
|
852
|
+
progress: number;
|
|
853
|
+
strokeWidth?: number;
|
|
854
|
+
size?: keyof typeof sizeMapping;
|
|
855
|
+
direction?: 'clockwise' | 'counterclockwise';
|
|
856
|
+
rotation?: number;
|
|
857
|
+
};
|
|
858
|
+
declare const sizeMapping: {
|
|
859
|
+
small: number;
|
|
860
|
+
medium: number;
|
|
861
|
+
big: number;
|
|
862
|
+
};
|
|
863
|
+
/**
|
|
864
|
+
* A progress indicator
|
|
865
|
+
*
|
|
866
|
+
* Start rotation is 3 o'clock and fills counterclockwise
|
|
867
|
+
*
|
|
868
|
+
* Progress is given from 0 to 1
|
|
869
|
+
*/
|
|
870
|
+
declare const ProgressIndicator: ({ progress, strokeWidth, size, direction, rotation }: ProgressIndicatorProps) => react_jsx_runtime.JSX.Element;
|
|
871
|
+
|
|
872
|
+
type Crumb = {
|
|
873
|
+
display: ReactNode;
|
|
874
|
+
link: string;
|
|
875
|
+
};
|
|
876
|
+
type BreadCrumbProps = {
|
|
877
|
+
crumbs: Crumb[];
|
|
878
|
+
linkClassName?: string;
|
|
879
|
+
containerClassName?: string;
|
|
880
|
+
};
|
|
881
|
+
/**
|
|
882
|
+
* A component for showing a hierarchical link structure with an independent link on each element
|
|
883
|
+
*
|
|
884
|
+
* e.g. Organizations/Ward/<id>
|
|
885
|
+
*/
|
|
886
|
+
declare const BreadCrumb: ({ crumbs, linkClassName, containerClassName }: BreadCrumbProps) => react_jsx_runtime.JSX.Element;
|
|
887
|
+
|
|
888
|
+
type SimpleNavigationItem = {
|
|
889
|
+
label: ReactNode;
|
|
890
|
+
link: string;
|
|
891
|
+
external?: boolean;
|
|
892
|
+
};
|
|
893
|
+
type SubItemNavigationItem = {
|
|
894
|
+
label: ReactNode;
|
|
895
|
+
items?: SimpleNavigationItem[];
|
|
896
|
+
};
|
|
897
|
+
type NavigationItemType = SimpleNavigationItem | SubItemNavigationItem;
|
|
898
|
+
type NavigationItemListProps = Omit<HTMLAttributes<HTMLElement>, 'children'> & {
|
|
899
|
+
items: NavigationItemType[];
|
|
900
|
+
};
|
|
901
|
+
declare const NavigationItemList: ({ items, ...restProps }: NavigationItemListProps) => react_jsx_runtime.JSX.Element;
|
|
902
|
+
type NavigationProps = NavigationItemListProps;
|
|
903
|
+
declare const Navigation: ({ ...props }: NavigationProps) => react_jsx_runtime.JSX.Element;
|
|
904
|
+
|
|
905
|
+
type PaginationProps = {
|
|
906
|
+
pageIndex: number;
|
|
907
|
+
pageCount: number;
|
|
908
|
+
onPageChanged: (page: number) => void;
|
|
909
|
+
className?: string;
|
|
910
|
+
style?: CSSProperties;
|
|
911
|
+
};
|
|
912
|
+
/**
|
|
913
|
+
* A Component showing the pagination allowing first, before, next and last page navigation
|
|
914
|
+
*/
|
|
915
|
+
declare const Pagination: ({ pageIndex, pageCount, onPageChanged, className, style, }: PaginationProps) => react_jsx_runtime.JSX.Element;
|
|
916
|
+
|
|
917
|
+
type StepperState = {
|
|
918
|
+
currentStep: number;
|
|
919
|
+
seenSteps: Set<number>;
|
|
920
|
+
};
|
|
921
|
+
type StepperBarProps = {
|
|
922
|
+
state?: StepperState;
|
|
923
|
+
numberOfSteps: number;
|
|
924
|
+
disabledSteps?: Set<number>;
|
|
925
|
+
onChange: (state: StepperState) => void;
|
|
926
|
+
onFinish: () => void;
|
|
927
|
+
finishText?: string;
|
|
928
|
+
showDots?: boolean;
|
|
929
|
+
className?: string;
|
|
930
|
+
};
|
|
931
|
+
/**
|
|
932
|
+
* A Component for stepping
|
|
933
|
+
*/
|
|
934
|
+
declare const StepperBar: ({ state, numberOfSteps, disabledSteps, onChange, onFinish, finishText, showDots, className, }: StepperBarProps) => react_jsx_runtime.JSX.Element;
|
|
935
|
+
declare const StepperBarUncontrolled: ({ state, onChange, ...props }: StepperBarProps) => react_jsx_runtime.JSX.Element;
|
|
936
|
+
|
|
937
|
+
type PropertyBaseProps = {
|
|
938
|
+
name: string;
|
|
939
|
+
input: (props: {
|
|
940
|
+
softRequired: boolean;
|
|
941
|
+
hasValue: boolean;
|
|
942
|
+
}) => ReactNode;
|
|
943
|
+
onRemove?: () => void;
|
|
944
|
+
hasValue: boolean;
|
|
945
|
+
softRequired?: boolean;
|
|
946
|
+
readOnly?: boolean;
|
|
947
|
+
icon?: ReactNode;
|
|
948
|
+
className?: string;
|
|
949
|
+
};
|
|
950
|
+
/**
|
|
951
|
+
* A component for showing a properties with uniform styling
|
|
952
|
+
*/
|
|
953
|
+
declare const PropertyBase: ({ name, input, softRequired, hasValue, icon, readOnly, onRemove, className, }: PropertyBaseProps) => react_jsx_runtime.JSX.Element;
|
|
954
|
+
|
|
955
|
+
type CheckboxPropertyProps = Omit<PropertyBaseProps, 'icon' | 'input' | 'hasValue' | 'onRemove'> & {
|
|
956
|
+
value?: boolean;
|
|
957
|
+
onChange?: (value: boolean) => void;
|
|
958
|
+
};
|
|
959
|
+
/**
|
|
960
|
+
* An Input component for a boolean values
|
|
961
|
+
*/
|
|
962
|
+
declare const CheckboxProperty: ({ value, onChange, readOnly, ...baseProps }: CheckboxPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
963
|
+
|
|
964
|
+
type DatePropertyProps = Omit<PropertyBaseProps, 'icon' | 'input' | 'hasValue'> & {
|
|
965
|
+
value?: Date;
|
|
966
|
+
onChange?: (date: Date) => void;
|
|
967
|
+
onEditComplete?: (value: Date) => void;
|
|
968
|
+
type?: 'dateTime' | 'date';
|
|
969
|
+
};
|
|
970
|
+
/**
|
|
971
|
+
* An Input for date properties
|
|
972
|
+
*/
|
|
973
|
+
declare const DateProperty: ({ value, onChange, onEditComplete, readOnly, type, ...baseProps }: DatePropertyProps) => react_jsx_runtime.JSX.Element;
|
|
974
|
+
|
|
975
|
+
type MultiSelectPropertyProps = Omit<PropertyBaseProps, 'icon' | 'input' | 'hasValue' | 'className'> & PropsWithChildren<{
|
|
976
|
+
values: string[];
|
|
977
|
+
onValuesChanged?: (value: string[]) => void;
|
|
978
|
+
}>;
|
|
979
|
+
/**
|
|
980
|
+
* An Input for MultiSelect properties
|
|
981
|
+
*/
|
|
982
|
+
declare const MultiSelectProperty: ({ children, values, onValuesChanged, ...props }: MultiSelectPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
983
|
+
|
|
984
|
+
type NumberPropertyProps = Omit<PropertyBaseProps, 'icon' | 'input' | 'hasValue'> & {
|
|
985
|
+
value?: number;
|
|
986
|
+
suffix?: string;
|
|
987
|
+
onChange?: (value: number) => void;
|
|
988
|
+
onEditComplete?: (value: number) => void;
|
|
989
|
+
};
|
|
990
|
+
/**
|
|
991
|
+
* An Input for number properties
|
|
992
|
+
*/
|
|
993
|
+
declare const NumberProperty: ({ value, onChange, onRemove, onEditComplete, readOnly, suffix, ...baseProps }: NumberPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
994
|
+
|
|
995
|
+
type SingleSelectPropertyProps = Omit<PropertyBaseProps, 'icon' | 'input' | 'hasValue' | 'className'> & PropsWithChildren<{
|
|
996
|
+
value?: string;
|
|
997
|
+
onValueChanged?: (value: string) => void;
|
|
998
|
+
onAddNew?: (value: string) => void;
|
|
999
|
+
selectedDisplay?: (value: string) => ReactNode;
|
|
1000
|
+
}>;
|
|
1001
|
+
/**
|
|
1002
|
+
* An Input for SingleSelect properties
|
|
1003
|
+
*/
|
|
1004
|
+
declare const SingleSelectProperty: ({ children, value, onValueChanged, selectedDisplay, ...props }: SingleSelectPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
1005
|
+
|
|
1006
|
+
type TextPropertyProps = Omit<PropertyBaseProps, 'icon' | 'input' | 'hasValue'> & {
|
|
1007
|
+
value?: string;
|
|
1008
|
+
onChange?: (value: string) => void;
|
|
1009
|
+
onEditComplete?: (value: string) => void;
|
|
1010
|
+
};
|
|
1011
|
+
/**
|
|
1012
|
+
* An Input for Text properties
|
|
1013
|
+
*/
|
|
1014
|
+
declare const TextProperty: ({ value, readOnly, onChange, onRemove, onEditComplete, ...baseProps }: TextPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
1015
|
+
|
|
1016
|
+
type FillerRowElementProps = {
|
|
1017
|
+
className?: string;
|
|
1018
|
+
};
|
|
1019
|
+
declare const FillerRowElement: ({ className }: FillerRowElementProps) => react_jsx_runtime.JSX.Element;
|
|
1020
|
+
|
|
1021
|
+
declare const TableFilters: {
|
|
1022
|
+
dateRange: (row: any, columnId: any, filterValue: [Date | null, Date | null]) => boolean;
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
type TableFilterType = 'text' | 'range' | 'dateRange';
|
|
1026
|
+
type TableFilterButtonProps<T = unknown> = {
|
|
1027
|
+
filterType: TableFilterType;
|
|
1028
|
+
column: Column<T>;
|
|
1029
|
+
};
|
|
1030
|
+
declare const TableFilterButton: <T>({ filterType, column, }: TableFilterButtonProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1031
|
+
|
|
1032
|
+
declare module '@tanstack/react-table' {
|
|
1033
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
1034
|
+
className?: string;
|
|
1035
|
+
filterType?: TableFilterType;
|
|
1036
|
+
}
|
|
1037
|
+
interface TableMeta<TData> {
|
|
1038
|
+
headerRowClassName?: TableFilterType;
|
|
1039
|
+
bodyRowClassName?: string;
|
|
1040
|
+
}
|
|
1041
|
+
interface FilterFns {
|
|
1042
|
+
dateRange: FilterFn<unknown>;
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
type TableProps<T> = {
|
|
1046
|
+
data: T[];
|
|
1047
|
+
columns: ColumnDef<T>[];
|
|
1048
|
+
fillerRow?: (columnId: string, table: Table$1<T>) => ReactNode;
|
|
1049
|
+
initialState?: Omit<InitialTableState, 'columnSizing' | 'columnSizingInfo'>;
|
|
1050
|
+
className?: string;
|
|
1051
|
+
onRowClick?: (row: Row<T>, table: Table$1<T>) => void;
|
|
1052
|
+
state?: Omit<TableState, 'columnSizing' | 'columnSizingInfo'>;
|
|
1053
|
+
tableClassName?: string;
|
|
1054
|
+
} & Partial<TableOptions<T>>;
|
|
1055
|
+
/**
|
|
1056
|
+
* The standard table
|
|
1057
|
+
*/
|
|
1058
|
+
declare const Table: <T>({ data, fillerRow, initialState, onRowClick, className, tableClassName, defaultColumn, state, columns, ...tableOptions }: TableProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1059
|
+
type TableUncontrolledProps<T> = TableProps<T>;
|
|
1060
|
+
declare const TableUncontrolled: <T>({ data, ...props }: TableUncontrolledProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1061
|
+
type TableWithSelectionProps<T> = TableProps<T> & {
|
|
1062
|
+
rowSelection: RowSelectionState;
|
|
1063
|
+
disableClickRowClickSelection?: boolean;
|
|
1064
|
+
selectionRowId?: string;
|
|
1065
|
+
};
|
|
1066
|
+
declare const TableWithSelection: <T>({ columns, state, fillerRow, rowSelection, disableClickRowClickSelection, selectionRowId, onRowClick, meta, ...props }: TableWithSelectionProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1067
|
+
|
|
1068
|
+
type TableCellProps = PropsWithChildren<{
|
|
1069
|
+
className?: string;
|
|
1070
|
+
}>;
|
|
1071
|
+
declare const TableCell: ({ children, className, }: TableCellProps) => react_jsx_runtime.JSX.Element;
|
|
1072
|
+
|
|
1073
|
+
type TableSortButtonProps = IconButtonProps & {
|
|
1074
|
+
sortDirection: SortDirection | false;
|
|
1075
|
+
invert?: boolean;
|
|
1076
|
+
};
|
|
1077
|
+
/**
|
|
1078
|
+
* An Extension of the normal button that displays the sorting state right of the content
|
|
1079
|
+
*/
|
|
1080
|
+
declare const TableSortButton: ({ sortDirection, invert, color, className, ...buttonProps }: TableSortButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1081
|
+
|
|
1082
|
+
type CheckBoxSize = 'sm' | 'md' | 'lg';
|
|
1083
|
+
type CheckboxProps = Omit<CheckboxProps$1, 'checked' | 'onCheckedChange' | 'onChange'> & {
|
|
1084
|
+
checked?: boolean;
|
|
1085
|
+
indeterminate?: boolean;
|
|
1086
|
+
onChange?: (checked: boolean) => void;
|
|
1087
|
+
size?: CheckBoxSize;
|
|
1088
|
+
};
|
|
1089
|
+
/**
|
|
1090
|
+
* A Tristate checkbox
|
|
1091
|
+
*
|
|
1092
|
+
* The state is managed by the parent
|
|
1093
|
+
*/
|
|
1094
|
+
declare const Checkbox: ({ disabled, checked, indeterminate, onChange, size, className, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
1095
|
+
type CheckboxUncontrolledProps = CheckboxProps;
|
|
1096
|
+
/**
|
|
1097
|
+
* A Tristate checkbox
|
|
1098
|
+
*
|
|
1099
|
+
* The state is managed by this component
|
|
1100
|
+
*/
|
|
1101
|
+
declare const CheckboxUncontrolled: ({ checked: initialChecked, onChange, ...props }: CheckboxUncontrolledProps) => react_jsx_runtime.JSX.Element;
|
|
1102
|
+
|
|
1103
|
+
type Position$1 = 'top' | 'bottom' | 'left' | 'right';
|
|
1104
|
+
type CopyToClipboardWrapperProps = PropsWithChildren<{
|
|
1105
|
+
textToCopy: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* Class names of additional styling properties for the tooltip
|
|
1108
|
+
*/
|
|
1109
|
+
tooltipClassName?: string;
|
|
1110
|
+
/**
|
|
1111
|
+
* Class names of additional styling properties for the container from which the tooltip will be created
|
|
1112
|
+
*/
|
|
1113
|
+
containerClassName?: string;
|
|
1114
|
+
position?: Position$1;
|
|
1115
|
+
zIndex?: number;
|
|
1116
|
+
}>;
|
|
1117
|
+
/**
|
|
1118
|
+
* A Component for showing a tooltip when hovering over Content
|
|
1119
|
+
* @param tooltip The tooltip to show can be a text or any ReactNode
|
|
1120
|
+
* @param children The Content for which the tooltip should be created
|
|
1121
|
+
* @param tooltipClassName Additional ClassNames for the Container of the tooltip
|
|
1122
|
+
* @param containerClassName Additional ClassNames for the Container holding the content
|
|
1123
|
+
* @param position The direction of the tooltip relative to the Container
|
|
1124
|
+
* @param zIndex The z Index of the tooltip (you may require this when stacking modal)
|
|
1125
|
+
* @constructor
|
|
1126
|
+
*/
|
|
1127
|
+
declare const CopyToClipboardWrapper: ({ children, textToCopy, tooltipClassName, containerClassName, position, zIndex, }: CopyToClipboardWrapperProps) => react_jsx_runtime.JSX.Element;
|
|
1128
|
+
|
|
1129
|
+
type DateTimePickerMode = 'date' | 'time' | 'dateTime';
|
|
1130
|
+
type DateTimePickerProps = {
|
|
1131
|
+
mode?: DateTimePickerMode;
|
|
1132
|
+
value?: Date;
|
|
1133
|
+
start?: Date;
|
|
1134
|
+
end?: Date;
|
|
1135
|
+
onChange?: (date: Date) => void;
|
|
1136
|
+
onFinish?: (date: Date) => void;
|
|
1137
|
+
onRemove?: () => void;
|
|
1138
|
+
datePickerProps?: Omit<DatePickerProps, 'onChange' | 'value' | 'start' | 'end'>;
|
|
1139
|
+
timePickerProps?: Omit<TimePickerProps, 'onChange' | 'time' | 'maxHeight'>;
|
|
1140
|
+
};
|
|
1141
|
+
/**
|
|
1142
|
+
* A Component for picking a Date and Time
|
|
1143
|
+
*/
|
|
1144
|
+
declare const DateTimePicker: ({ value, start, end, mode, onFinish, onChange, onRemove, timePickerProps, datePickerProps, }: DateTimePickerProps) => react_jsx_runtime.JSX.Element;
|
|
1145
|
+
|
|
1146
|
+
type PopoverHorizontalAlignment = 'leftOutside' | 'leftInside' | 'rightOutside' | 'rightInside' | 'center';
|
|
1147
|
+
type PopoverVerticalAlignment = 'topOutside' | 'topInside' | 'bottomOutside' | 'bottomInside' | 'center';
|
|
1148
|
+
type PopoverPositionOptionsResolved = {
|
|
1149
|
+
edgePadding: number;
|
|
1150
|
+
outerGap: number;
|
|
1151
|
+
verticalAlignment: PopoverVerticalAlignment;
|
|
1152
|
+
horizontalAlignment: PopoverHorizontalAlignment;
|
|
1153
|
+
disabled: boolean;
|
|
1154
|
+
};
|
|
1155
|
+
type PopoverPositionOptions = Partial<PopoverPositionOptionsResolved>;
|
|
1156
|
+
declare const usePopoverPosition: (trigger?: DOMRect, options?: PopoverPositionOptions) => CSSProperties;
|
|
1157
|
+
|
|
1158
|
+
type MenuItemProps = {
|
|
1159
|
+
onClick?: () => void;
|
|
1160
|
+
alignment?: 'left' | 'right';
|
|
1161
|
+
isDisabled?: boolean;
|
|
1162
|
+
className?: string;
|
|
1163
|
+
};
|
|
1164
|
+
declare const MenuItem: ({ children, onClick, alignment, isDisabled, className }: PropsWithChildren<MenuItemProps>) => react_jsx_runtime.JSX.Element;
|
|
1165
|
+
type MenuBag = {
|
|
1166
|
+
isOpen: boolean;
|
|
1167
|
+
disabled: boolean;
|
|
1168
|
+
toggleOpen: () => void;
|
|
1169
|
+
close: () => void;
|
|
1170
|
+
};
|
|
1171
|
+
type MenuProps<T> = PropsWithBagFunctionOrChildren<MenuBag> & {
|
|
1172
|
+
trigger: (bag: MenuBag, ref: RefObject<T>) => ReactNode;
|
|
1173
|
+
/**
|
|
1174
|
+
* @default 'l'
|
|
1175
|
+
*/
|
|
1176
|
+
alignmentHorizontal?: PopoverHorizontalAlignment;
|
|
1177
|
+
alignmentVertical?: PopoverVerticalAlignment;
|
|
1178
|
+
showOnHover?: boolean;
|
|
1179
|
+
menuClassName?: string;
|
|
1180
|
+
disabled?: boolean;
|
|
1181
|
+
};
|
|
1182
|
+
/**
|
|
1183
|
+
* A Menu Component to allow the user to see different functions
|
|
1184
|
+
*/
|
|
1185
|
+
declare const Menu: <T extends HTMLElement>({ trigger, children, alignmentHorizontal, alignmentVertical, showOnHover, disabled, menuClassName, }: MenuProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1186
|
+
|
|
1187
|
+
type ScrollPickerProps<T> = {
|
|
1188
|
+
options: T[];
|
|
1189
|
+
mapping: (value: T) => string;
|
|
1190
|
+
selected?: T;
|
|
1191
|
+
onChange?: (value: T) => void;
|
|
1192
|
+
disabled?: boolean;
|
|
1193
|
+
};
|
|
1194
|
+
/**
|
|
1195
|
+
* A component for picking an option by scrolling
|
|
1196
|
+
*/
|
|
1197
|
+
declare const ScrollPicker: <T>({ options, mapping, selected, onChange, disabled, }: ScrollPickerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1198
|
+
|
|
1199
|
+
type SearchBarProps = InputProps & {
|
|
1200
|
+
onSearch?: () => void;
|
|
1201
|
+
disableOnSearch?: boolean;
|
|
1202
|
+
containerClassName?: string;
|
|
1203
|
+
};
|
|
1204
|
+
declare const SearchBar: ({ placeholder, onSearch, disableOnSearch, containerClassName, ...inputProps }: SearchBarProps) => react_jsx_runtime.JSX.Element;
|
|
1205
|
+
|
|
1206
|
+
type TextareaProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'value'> & {
|
|
1207
|
+
/** Inside the area */
|
|
1208
|
+
value?: string;
|
|
1209
|
+
invalid?: boolean;
|
|
1210
|
+
onChangeText?: (text: string) => void;
|
|
1211
|
+
onEditCompleted?: (text: string) => void;
|
|
1212
|
+
saveDelayOptions?: UseDelayOptions;
|
|
1213
|
+
defaultStyle?: boolean;
|
|
1214
|
+
};
|
|
1215
|
+
/**
|
|
1216
|
+
* A Textarea component for inputting longer texts
|
|
1217
|
+
*
|
|
1218
|
+
* The State is managed by the parent
|
|
1219
|
+
*/
|
|
1220
|
+
declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "value"> & {
|
|
1221
|
+
/** Inside the area */
|
|
1222
|
+
value?: string;
|
|
1223
|
+
invalid?: boolean;
|
|
1224
|
+
onChangeText?: (text: string) => void;
|
|
1225
|
+
onEditCompleted?: (text: string) => void;
|
|
1226
|
+
saveDelayOptions?: UseDelayOptions;
|
|
1227
|
+
defaultStyle?: boolean;
|
|
1228
|
+
} & React.RefAttributes<HTMLTextAreaElement>>;
|
|
1229
|
+
/**
|
|
1230
|
+
* A Textarea component that is not controlled by its parent
|
|
1231
|
+
*/
|
|
1232
|
+
declare const TextareaUncontrolled: ({ value, onChangeText, ...props }: TextareaProps) => react_jsx_runtime.JSX.Element;
|
|
1233
|
+
type TextareaWithHeadlineProps = Omit<TextareaProps, 'defaultStyle'> & {
|
|
1234
|
+
headline: ReactNode;
|
|
1235
|
+
headlineProps: Omit<LabelProps, 'children'>;
|
|
1236
|
+
containerClassName?: string;
|
|
1237
|
+
};
|
|
1238
|
+
declare const TextareaWithHeadline: ({ id, headline, headlineProps, disabled, className, containerClassName, ...props }: TextareaWithHeadlineProps) => react_jsx_runtime.JSX.Element;
|
|
1239
|
+
|
|
1240
|
+
type Position = 'top' | 'bottom' | 'left' | 'right';
|
|
1241
|
+
type TooltipProps = PropsWithChildren<{
|
|
1242
|
+
tooltip: ReactNode;
|
|
1243
|
+
/**
|
|
1244
|
+
* Number of milliseconds until the tooltip appears
|
|
1245
|
+
*
|
|
1246
|
+
* defaults to 1000ms
|
|
1247
|
+
*/
|
|
1248
|
+
animationDelay?: number;
|
|
1249
|
+
/**
|
|
1250
|
+
* Class names of additional styling properties for the tooltip
|
|
1251
|
+
*/
|
|
1252
|
+
tooltipClassName?: string;
|
|
1253
|
+
/**
|
|
1254
|
+
* Class names of additional styling properties for the container from which the tooltip will be created
|
|
1255
|
+
*/
|
|
1256
|
+
containerClassName?: string;
|
|
1257
|
+
position?: Position;
|
|
1258
|
+
zIndex?: number;
|
|
1259
|
+
}>;
|
|
1260
|
+
/**
|
|
1261
|
+
* A Component for showing a tooltip when hovering over Content
|
|
1262
|
+
* @param tooltip The tooltip to show can be a text or any ReactNode
|
|
1263
|
+
* @param children The Content for which the tooltip should be created
|
|
1264
|
+
* @param animationDelay The delay before the tooltip appears
|
|
1265
|
+
* @param tooltipClassName Additional ClassNames for the Container of the tooltip
|
|
1266
|
+
* @param containerClassName Additional ClassNames for the Container holding the content
|
|
1267
|
+
* @param position The direction of the tooltip relative to the Container
|
|
1268
|
+
* @param zIndex The z Index of the tooltip (you may require this when stacking modal)
|
|
1269
|
+
* @constructor
|
|
1270
|
+
*/
|
|
1271
|
+
declare const Tooltip: ({ tooltip, children, animationDelay, tooltipClassName, containerClassName, position, zIndex, }: TooltipProps) => react_jsx_runtime.JSX.Element;
|
|
1272
|
+
|
|
1273
|
+
type InsideLabelInputProps = Omit<InputProps, 'aria-label' | 'aria-labelledby' | 'placeholder'> & {
|
|
1274
|
+
label: ReactNode;
|
|
1275
|
+
};
|
|
1276
|
+
/**
|
|
1277
|
+
* Text input component with a label inside the input that moves up when editing
|
|
1278
|
+
*
|
|
1279
|
+
* The State is managed by the parent
|
|
1280
|
+
*/
|
|
1281
|
+
declare const InsideLabelInput: React.ForwardRefExoticComponent<Omit<InputProps, "aria-label" | "aria-labelledby" | "placeholder"> & {
|
|
1282
|
+
label: ReactNode;
|
|
1283
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
1284
|
+
declare const InsideLabelInputUncontrolled: ({ value: initialValue, ...props }: InsideLabelInputProps) => react_jsx_runtime.JSX.Element;
|
|
1285
|
+
|
|
1286
|
+
type ToggleableInputProps = Omit<InputProps, 'defaultStyle'> & {
|
|
1287
|
+
initialState?: 'editing' | 'display';
|
|
1288
|
+
editCompleteOptions?: Omit<EditCompleteOptions, 'allowEnterComplete'>;
|
|
1289
|
+
};
|
|
1290
|
+
/**
|
|
1291
|
+
* A Text input component for inputting text. It changes appearance upon entering the edit mode and switches
|
|
1292
|
+
* back to display mode on loss of focus or on enter
|
|
1293
|
+
*
|
|
1294
|
+
* The State is managed by the parent
|
|
1295
|
+
*/
|
|
1296
|
+
declare const ToggleableInput: React.ForwardRefExoticComponent<Omit<InputProps, "defaultStyle"> & {
|
|
1297
|
+
initialState?: "editing" | "display";
|
|
1298
|
+
editCompleteOptions?: Omit<EditCompleteOptions, "allowEnterComplete">;
|
|
1299
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
1300
|
+
declare const ToggleableInputUncontrolled: ({ value: initialValue, onChangeText, ...restProps }: ToggleableInputProps) => react_jsx_runtime.JSX.Element;
|
|
1301
|
+
|
|
1302
|
+
type SelectIconAppearance = 'left' | 'right' | 'none';
|
|
1303
|
+
type SelectRootProps = PropsWithChildren<{
|
|
1304
|
+
id?: string;
|
|
1305
|
+
value?: string;
|
|
1306
|
+
onValueChanged?: (value: string) => void;
|
|
1307
|
+
values?: string[];
|
|
1308
|
+
onValuesChanged?: (value: string[]) => void;
|
|
1309
|
+
isOpen?: boolean;
|
|
1310
|
+
disabled?: boolean;
|
|
1311
|
+
invalid?: boolean;
|
|
1312
|
+
isMultiSelect?: boolean;
|
|
1313
|
+
iconAppearance?: SelectIconAppearance;
|
|
1314
|
+
}>;
|
|
1315
|
+
declare const SelectRoot: ({ children, id, value, onValueChanged, values, onValuesChanged, isOpen, disabled, invalid, isMultiSelect, iconAppearance, }: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
1316
|
+
type SelectOptionProps = Omit<HTMLAttributes<HTMLLIElement>, 'children'> & {
|
|
1317
|
+
value: string;
|
|
1318
|
+
disabled?: boolean;
|
|
1319
|
+
iconAppearance?: SelectIconAppearance;
|
|
1320
|
+
children?: ReactNode;
|
|
1321
|
+
};
|
|
1322
|
+
declare const SelectOption: React__default.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLLIElement>, "children"> & {
|
|
1323
|
+
value: string;
|
|
1324
|
+
disabled?: boolean;
|
|
1325
|
+
iconAppearance?: SelectIconAppearance;
|
|
1326
|
+
children?: ReactNode;
|
|
1327
|
+
} & React__default.RefAttributes<HTMLLIElement>>;
|
|
1328
|
+
type SelectButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1329
|
+
placeholder?: ReactNode;
|
|
1330
|
+
selectedDisplay?: (value: string[]) => ReactNode;
|
|
1331
|
+
};
|
|
1332
|
+
declare const SelectButton: React__default.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1333
|
+
placeholder?: ReactNode;
|
|
1334
|
+
selectedDisplay?: (value: string[]) => ReactNode;
|
|
1335
|
+
} & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1336
|
+
type SelectChipDisplayProps = HTMLAttributes<HTMLDivElement> & {
|
|
1337
|
+
disabled?: boolean;
|
|
1338
|
+
placeholder?: ReactNode;
|
|
1339
|
+
};
|
|
1340
|
+
declare const SelectChipDisplay: React__default.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
1341
|
+
disabled?: boolean;
|
|
1342
|
+
placeholder?: ReactNode;
|
|
1343
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
1344
|
+
type Orientation = 'vertical' | 'horizontal';
|
|
1345
|
+
type SelectContentProps = HTMLAttributes<HTMLUListElement> & {
|
|
1346
|
+
alignment?: Pick<UseFloatingElementOptions, 'gap' | 'horizontalAlignment' | 'verticalAlignment'>;
|
|
1347
|
+
orientation?: Orientation;
|
|
1348
|
+
containerClassName?: string;
|
|
1349
|
+
};
|
|
1350
|
+
declare const SelectContent: React__default.ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> & {
|
|
1351
|
+
alignment?: Pick<UseFloatingElementOptions, "gap" | "horizontalAlignment" | "verticalAlignment">;
|
|
1352
|
+
orientation?: Orientation;
|
|
1353
|
+
containerClassName?: string;
|
|
1354
|
+
} & React__default.RefAttributes<HTMLUListElement>>;
|
|
1355
|
+
type SelectProps = Omit<SelectRootProps, 'isMultiSelect' | 'values' | 'onValuesChanged'> & {
|
|
1356
|
+
contentPanelProps?: SelectContentProps;
|
|
1357
|
+
buttonProps?: Omit<SelectButtonProps, 'selectedDisplay'> & {
|
|
1358
|
+
selectedDisplay?: (value: string) => ReactNode;
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1361
|
+
declare const Select: React__default.ForwardRefExoticComponent<Omit<SelectRootProps, "values" | "onValuesChanged" | "isMultiSelect"> & {
|
|
1362
|
+
contentPanelProps?: SelectContentProps;
|
|
1363
|
+
buttonProps?: Omit<SelectButtonProps, "selectedDisplay"> & {
|
|
1364
|
+
selectedDisplay?: (value: string) => ReactNode;
|
|
1365
|
+
};
|
|
1366
|
+
} & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1367
|
+
type SelectUncontrolledProps = SelectProps;
|
|
1368
|
+
declare const SelectUncontrolled: React__default.ForwardRefExoticComponent<Omit<SelectRootProps, "values" | "onValuesChanged" | "isMultiSelect"> & {
|
|
1369
|
+
contentPanelProps?: SelectContentProps;
|
|
1370
|
+
buttonProps?: Omit<SelectButtonProps, "selectedDisplay"> & {
|
|
1371
|
+
selectedDisplay?: (value: string) => ReactNode;
|
|
1372
|
+
};
|
|
1373
|
+
} & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1374
|
+
type MultiSelectProps = Omit<SelectRootProps, 'isMultiSelect' | 'value' | 'onValueChanged'> & {
|
|
1375
|
+
contentPanelProps?: SelectContentProps;
|
|
1376
|
+
buttonProps?: SelectButtonProps;
|
|
1377
|
+
};
|
|
1378
|
+
declare const MultiSelect: React__default.ForwardRefExoticComponent<Omit<SelectRootProps, "value" | "onValueChanged" | "isMultiSelect"> & {
|
|
1379
|
+
contentPanelProps?: SelectContentProps;
|
|
1380
|
+
buttonProps?: SelectButtonProps;
|
|
1381
|
+
} & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1382
|
+
type MultiSelectUncontrolledProps = MultiSelectProps;
|
|
1383
|
+
declare const MultiSelectUncontrolled: React__default.ForwardRefExoticComponent<Omit<SelectRootProps, "value" | "onValueChanged" | "isMultiSelect"> & {
|
|
1384
|
+
contentPanelProps?: SelectContentProps;
|
|
1385
|
+
buttonProps?: SelectButtonProps;
|
|
1386
|
+
} & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1387
|
+
type MultiSelectChipDisplayProps = Omit<SelectRootProps, 'isMultiSelect' | 'value' | 'onValueChanged'> & {
|
|
1388
|
+
contentPanelProps?: SelectContentProps;
|
|
1389
|
+
chipDisplayProps?: SelectChipDisplayProps;
|
|
1390
|
+
};
|
|
1391
|
+
declare const MultiSelectChipDisplay: React__default.ForwardRefExoticComponent<Omit<SelectRootProps, "value" | "onValueChanged" | "isMultiSelect"> & {
|
|
1392
|
+
contentPanelProps?: SelectContentProps;
|
|
1393
|
+
chipDisplayProps?: SelectChipDisplayProps;
|
|
1394
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
1395
|
+
type MultiSelectChipDisplayUncontrolledProps = MultiSelectChipDisplayProps;
|
|
1396
|
+
declare const MultiSelectChipDisplayUncontrolled: React__default.ForwardRefExoticComponent<Omit<SelectRootProps, "value" | "onValueChanged" | "isMultiSelect"> & {
|
|
1397
|
+
contentPanelProps?: SelectContentProps;
|
|
1398
|
+
chipDisplayProps?: SelectChipDisplayProps;
|
|
1399
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
1400
|
+
|
|
1401
|
+
type FocusTrapProps = HTMLAttributes<HTMLDivElement> & {
|
|
1402
|
+
active?: boolean;
|
|
1403
|
+
initialFocus?: MutableRefObject<HTMLElement>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Whether to focus the first element when the initialFocus isn't provided
|
|
1406
|
+
*
|
|
1407
|
+
* Focuses the container instead
|
|
1408
|
+
*/
|
|
1409
|
+
focusFirst?: boolean;
|
|
1410
|
+
};
|
|
1411
|
+
/**
|
|
1412
|
+
* A wrapper for the useFocusTrap hook that directly renders it to a div
|
|
1413
|
+
*/
|
|
1414
|
+
declare const FocusTrap: React.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
1415
|
+
active?: boolean;
|
|
1416
|
+
initialFocus?: MutableRefObject<HTMLElement>;
|
|
1417
|
+
/**
|
|
1418
|
+
* Whether to focus the first element when the initialFocus isn't provided
|
|
1419
|
+
*
|
|
1420
|
+
* Focuses the container instead
|
|
1421
|
+
*/
|
|
1422
|
+
focusFirst?: boolean;
|
|
1423
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1424
|
+
|
|
1425
|
+
type TransitionBag = {
|
|
1426
|
+
isOpen: boolean;
|
|
1427
|
+
isTransitioning: boolean;
|
|
1428
|
+
isUsingReducedMotion: boolean;
|
|
1429
|
+
data: {
|
|
1430
|
+
[key: `data-${string}`]: string | undefined;
|
|
1431
|
+
};
|
|
1432
|
+
handlers: {
|
|
1433
|
+
onTransitionEnd?: () => void;
|
|
1434
|
+
onAnimationEnd?: () => void;
|
|
1435
|
+
onTransitionCancel?: () => void;
|
|
1436
|
+
};
|
|
1437
|
+
};
|
|
1438
|
+
type TransitionWrapperProps = PropsWithBagFunctionOrChildren<TransitionBag> & {
|
|
1439
|
+
show: boolean;
|
|
1440
|
+
includeAnimation?: boolean;
|
|
1441
|
+
};
|
|
1442
|
+
/**
|
|
1443
|
+
* Only use when you have a transition happening
|
|
1444
|
+
*/
|
|
1445
|
+
declare function Transition({ children, show, includeAnimation, }: TransitionWrapperProps): React.ReactNode;
|
|
1446
|
+
|
|
1447
|
+
declare const useFocusGuards: () => void;
|
|
1448
|
+
|
|
1449
|
+
declare function useFocusManagement(): {
|
|
1450
|
+
getFocusableElements: () => HTMLElement[];
|
|
1451
|
+
getNextFocusElement: () => HTMLElement | undefined;
|
|
1452
|
+
getPreviousFocusElement: () => HTMLElement | undefined;
|
|
1453
|
+
focusNext: () => void;
|
|
1454
|
+
focusPrevious: () => void;
|
|
1455
|
+
};
|
|
1456
|
+
|
|
1457
|
+
declare const useFocusOnceVisible: (ref: MutableRefObject<HTMLElement>, disable?: boolean) => void;
|
|
1458
|
+
|
|
1459
|
+
type UseFocusTrapProps = {
|
|
1460
|
+
container: MutableRefObject<HTMLElement>;
|
|
1461
|
+
active?: boolean;
|
|
1462
|
+
initialFocus?: MutableRefObject<HTMLElement>;
|
|
1463
|
+
/**
|
|
1464
|
+
* Whether to focus the first element when the initialFocus isn't provided
|
|
1465
|
+
*
|
|
1466
|
+
* Focuses the container instead
|
|
1467
|
+
*/
|
|
1468
|
+
focusFirst?: boolean;
|
|
1469
|
+
};
|
|
1470
|
+
declare const useFocusTrap: ({ container, active, initialFocus, focusFirst, }: UseFocusTrapProps) => void;
|
|
1471
|
+
|
|
1472
|
+
declare const useIsMounted: () => boolean;
|
|
1473
|
+
|
|
1474
|
+
type UseHoverStateProps = {
|
|
1475
|
+
/**
|
|
1476
|
+
* The delay after which the menu is closed in milliseconds
|
|
1477
|
+
*
|
|
1478
|
+
* default: 200ms
|
|
1479
|
+
*/
|
|
1480
|
+
closingDelay: number;
|
|
1481
|
+
/**
|
|
1482
|
+
* Whether the hover state management should be disabled
|
|
1483
|
+
*
|
|
1484
|
+
* default: false
|
|
1485
|
+
*/
|
|
1486
|
+
isDisabled: boolean;
|
|
1487
|
+
};
|
|
1488
|
+
type UseHoverStateReturnType = {
|
|
1489
|
+
/**
|
|
1490
|
+
* Whether the element is hovered
|
|
1491
|
+
*/
|
|
1492
|
+
isHovered: boolean;
|
|
1493
|
+
/**
|
|
1494
|
+
* Function to change the current hover status
|
|
1495
|
+
*/
|
|
1496
|
+
setIsHovered: Dispatch<SetStateAction<boolean>>;
|
|
1497
|
+
/**
|
|
1498
|
+
* Handlers to pass on to the component that should be hovered
|
|
1499
|
+
*/
|
|
1500
|
+
handlers: {
|
|
1501
|
+
onMouseEnter: () => void;
|
|
1502
|
+
onMouseLeave: () => void;
|
|
1503
|
+
};
|
|
1504
|
+
};
|
|
1505
|
+
/**
|
|
1506
|
+
* @param props See UseHoverStateProps
|
|
1507
|
+
*
|
|
1508
|
+
* A react hook for managing the hover state of a component. The handlers provided should be
|
|
1509
|
+
* forwarded to the component which should be hovered over
|
|
1510
|
+
*/
|
|
1511
|
+
declare const useHoverState: (props?: Partial<UseHoverStateProps> | undefined) => UseHoverStateReturnType;
|
|
1512
|
+
|
|
1513
|
+
type SetValue<T> = Dispatch<SetStateAction<T>>;
|
|
1514
|
+
type UseLocalStorageResult<T> = {
|
|
1515
|
+
value: T;
|
|
1516
|
+
setValue: SetValue<T>;
|
|
1517
|
+
deleteValue: () => void;
|
|
1518
|
+
};
|
|
1519
|
+
/**
|
|
1520
|
+
* @param key Key under which to save the data
|
|
1521
|
+
* @param backupValue Used if the storage is unavailable or no value is present
|
|
1522
|
+
*
|
|
1523
|
+
* The backup value will never be saved to the storage unless you explicitly
|
|
1524
|
+
*/
|
|
1525
|
+
declare const useLocalStorage: <T>(key: string, backupValue: T) => UseLocalStorageResult<T>;
|
|
1526
|
+
|
|
1527
|
+
type OptionsResolved = {
|
|
1528
|
+
type?: 'info' | 'error' | 'warning';
|
|
1529
|
+
};
|
|
1530
|
+
type Options = Partial<OptionsResolved>;
|
|
1531
|
+
declare const useLogOnce: (message: string, condition: boolean, options?: Options) => void;
|
|
1532
|
+
|
|
1533
|
+
declare const useOutsideClick: <Ts extends RefObject<HTMLElement>[]>(refs: Ts, handler: () => void) => void;
|
|
1534
|
+
|
|
1535
|
+
declare const useOverwritableState: <T>(initialValue?: T, onChange?: (value: T) => void) => [T, React__default.Dispatch<React__default.SetStateAction<T>>];
|
|
1536
|
+
|
|
1537
|
+
declare const useRerender: () => React.DispatchWithoutAction;
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* A hook that wraps the event listener attachment
|
|
1541
|
+
*
|
|
1542
|
+
* Make sure your callback is stable (doesn't change every render)
|
|
1543
|
+
* This can easily be achieved by wrapping it in a useCallback() and using it inside the useResizeCallbackWrapper
|
|
1544
|
+
*
|
|
1545
|
+
* @param callback Called when the window resizes
|
|
1546
|
+
*/
|
|
1547
|
+
declare const useResizeCallbackWrapper: (callback: (event: UIEvent) => void) => void;
|
|
1548
|
+
|
|
1549
|
+
type UseSearchProps<T> = {
|
|
1550
|
+
list: T[];
|
|
1551
|
+
searchMapping: (item: T) => string[];
|
|
1552
|
+
initialSearch?: string;
|
|
1553
|
+
additionalSearchTags?: string[];
|
|
1554
|
+
isSearchInstant?: boolean;
|
|
1555
|
+
sortingFunction?: (a: T, b: T) => number;
|
|
1556
|
+
filter?: (item: T) => boolean;
|
|
1557
|
+
disabled?: boolean;
|
|
1558
|
+
};
|
|
1559
|
+
declare const useSearch: <T>({ list, initialSearch, searchMapping, additionalSearchTags, isSearchInstant, sortingFunction, filter, disabled, }: UseSearchProps<T>) => {
|
|
1560
|
+
result: T[];
|
|
1561
|
+
hasResult: boolean;
|
|
1562
|
+
allItems: T[];
|
|
1563
|
+
updateSearch: (newSearch?: string) => void;
|
|
1564
|
+
search: string;
|
|
1565
|
+
setSearch: React.Dispatch<React.SetStateAction<string>>;
|
|
1566
|
+
};
|
|
1567
|
+
|
|
1568
|
+
type ValidatorError = 'notEmpty' | 'invalidEmail' | 'tooLong' | 'tooShort' | 'outOfRangeString' | 'outOfRangeNumber' | 'outOfRangeSelectionItems' | 'tooFewSelectionItems' | 'tooManySelectionItems';
|
|
1569
|
+
type ValidatorResult = ValidatorError | undefined;
|
|
1570
|
+
declare const UseValidators: {
|
|
1571
|
+
notEmpty: (value: unknown) => ValidatorResult;
|
|
1572
|
+
length: (value: string | undefined, bounds: [number | undefined, number | undefined]) => ValidatorResult;
|
|
1573
|
+
email: (value: string | undefined) => string;
|
|
1574
|
+
selection: (value: unknown[], bounds: [number | undefined, number | undefined]) => ValidatorResult;
|
|
1575
|
+
};
|
|
1576
|
+
declare const useTranslatedValidators: () => {
|
|
1577
|
+
notEmpty: (value: unknown) => string;
|
|
1578
|
+
length: (value: string | undefined, length: [number | undefined, number | undefined]) => string;
|
|
1579
|
+
email: (value: string) => string;
|
|
1580
|
+
selection: (value: unknown[] | undefined, length: [number | undefined, number | undefined]) => string;
|
|
1581
|
+
};
|
|
1582
|
+
|
|
1583
|
+
declare const hightideTranslationLocales: readonly ["de-DE", "en-US"];
|
|
1584
|
+
type HightideTranslationLocales = typeof hightideTranslationLocales[number];
|
|
1585
|
+
type HightideTranslationEntries = {
|
|
1586
|
+
'add': string;
|
|
1587
|
+
'age': string;
|
|
1588
|
+
'all': string;
|
|
1589
|
+
'apply': string;
|
|
1590
|
+
'back': string;
|
|
1591
|
+
'cancel': string;
|
|
1592
|
+
'carousel': string;
|
|
1593
|
+
'change': string;
|
|
1594
|
+
'chooseLanguage': string;
|
|
1595
|
+
'chooseSlide': string;
|
|
1596
|
+
'chooseTheme': string;
|
|
1597
|
+
'clear': string;
|
|
1598
|
+
'click': string;
|
|
1599
|
+
'clickToCopy': string;
|
|
1600
|
+
'clickToSelect': string;
|
|
1601
|
+
'close': string;
|
|
1602
|
+
'confirm': string;
|
|
1603
|
+
'copied': string;
|
|
1604
|
+
'copy': string;
|
|
1605
|
+
'create': string;
|
|
1606
|
+
'decline': string;
|
|
1607
|
+
'delete': string;
|
|
1608
|
+
'discard': string;
|
|
1609
|
+
'discardChanges': string;
|
|
1610
|
+
'done': string;
|
|
1611
|
+
'edit': string;
|
|
1612
|
+
'endDate': string;
|
|
1613
|
+
'enterText': string;
|
|
1614
|
+
'entryDate': string;
|
|
1615
|
+
'error': string;
|
|
1616
|
+
'errorOccurred': string;
|
|
1617
|
+
'exit': string;
|
|
1618
|
+
'fieldRequiredError': string;
|
|
1619
|
+
'filter': string;
|
|
1620
|
+
'gender': (values: {
|
|
1621
|
+
gender: string;
|
|
1622
|
+
}) => string;
|
|
1623
|
+
'goodToSeeYou': string;
|
|
1624
|
+
'identifier': string;
|
|
1625
|
+
'invalidEmail': string;
|
|
1626
|
+
'invalidEmailError': string;
|
|
1627
|
+
'language': string;
|
|
1628
|
+
'less': string;
|
|
1629
|
+
'loading': string;
|
|
1630
|
+
'locale': string;
|
|
1631
|
+
'max': string;
|
|
1632
|
+
'maxLengthError': string;
|
|
1633
|
+
'min': string;
|
|
1634
|
+
'minLengthError': string;
|
|
1635
|
+
'more': string;
|
|
1636
|
+
'name': string;
|
|
1637
|
+
'next': string;
|
|
1638
|
+
'no': string;
|
|
1639
|
+
'none': string;
|
|
1640
|
+
'notEmpty': string;
|
|
1641
|
+
'nothingFound': string;
|
|
1642
|
+
'of': string;
|
|
1643
|
+
'optional': string;
|
|
1644
|
+
'outOfRangeNumber': (values: {
|
|
1645
|
+
min: number;
|
|
1646
|
+
max: number;
|
|
1647
|
+
}) => string;
|
|
1648
|
+
'outOfRangeSelectionItems': (values: {
|
|
1649
|
+
min: number;
|
|
1650
|
+
max: number;
|
|
1651
|
+
}) => string;
|
|
1652
|
+
'outOfRangeString': (values: {
|
|
1653
|
+
min: number;
|
|
1654
|
+
max: number;
|
|
1655
|
+
}) => string;
|
|
1656
|
+
'pleaseWait': string;
|
|
1657
|
+
'previous': string;
|
|
1658
|
+
'remove': string;
|
|
1659
|
+
'required': string;
|
|
1660
|
+
'reset': string;
|
|
1661
|
+
'save': string;
|
|
1662
|
+
'saved': string;
|
|
1663
|
+
'search': string;
|
|
1664
|
+
'select': string;
|
|
1665
|
+
'selectOption': string;
|
|
1666
|
+
'show': string;
|
|
1667
|
+
'showLess': string;
|
|
1668
|
+
'showMore': string;
|
|
1669
|
+
'showSlide': (values: {
|
|
1670
|
+
index: number;
|
|
1671
|
+
}) => string;
|
|
1672
|
+
'slide': string;
|
|
1673
|
+
'slideNavigation': string;
|
|
1674
|
+
'slideOf': (values: {
|
|
1675
|
+
index: number;
|
|
1676
|
+
length: number;
|
|
1677
|
+
}) => string;
|
|
1678
|
+
'startDate': string;
|
|
1679
|
+
'street': string;
|
|
1680
|
+
'submit': string;
|
|
1681
|
+
'success': string;
|
|
1682
|
+
'text': string;
|
|
1683
|
+
'themeMode': (values: {
|
|
1684
|
+
theme: string;
|
|
1685
|
+
}) => string;
|
|
1686
|
+
'themes': (values: {
|
|
1687
|
+
count: number;
|
|
1688
|
+
}) => string;
|
|
1689
|
+
'time.ago': string;
|
|
1690
|
+
'time.agoDays': (values: {
|
|
1691
|
+
days: number;
|
|
1692
|
+
}) => string;
|
|
1693
|
+
'time.april': string;
|
|
1694
|
+
'time.august': string;
|
|
1695
|
+
'time.century': (values: {
|
|
1696
|
+
count: number;
|
|
1697
|
+
}) => string;
|
|
1698
|
+
'time.day': (values: {
|
|
1699
|
+
count: number;
|
|
1700
|
+
}) => string;
|
|
1701
|
+
'time.decade': (values: {
|
|
1702
|
+
count: number;
|
|
1703
|
+
}) => string;
|
|
1704
|
+
'time.december': string;
|
|
1705
|
+
'time.february': string;
|
|
1706
|
+
'time.hour': (values: {
|
|
1707
|
+
count: number;
|
|
1708
|
+
}) => string;
|
|
1709
|
+
'time.in': string;
|
|
1710
|
+
'time.inDays': (values: {
|
|
1711
|
+
days: number;
|
|
1712
|
+
}) => string;
|
|
1713
|
+
'time.january': string;
|
|
1714
|
+
'time.july': string;
|
|
1715
|
+
'time.june': string;
|
|
1716
|
+
'time.march': string;
|
|
1717
|
+
'time.may': string;
|
|
1718
|
+
'time.microsecond': (values: {
|
|
1719
|
+
count: number;
|
|
1720
|
+
}) => string;
|
|
1721
|
+
'time.millisecond': (values: {
|
|
1722
|
+
count: number;
|
|
1723
|
+
}) => string;
|
|
1724
|
+
'time.minute': (values: {
|
|
1725
|
+
count: number;
|
|
1726
|
+
}) => string;
|
|
1727
|
+
'time.month': (values: {
|
|
1728
|
+
count: number;
|
|
1729
|
+
}) => string;
|
|
1730
|
+
'time.monthName': (values: {
|
|
1731
|
+
month: string;
|
|
1732
|
+
}) => string;
|
|
1733
|
+
'time.nanosecond': (values: {
|
|
1734
|
+
count: number;
|
|
1735
|
+
}) => string;
|
|
1736
|
+
'time.november': string;
|
|
1737
|
+
'time.october': string;
|
|
1738
|
+
'time.second': (values: {
|
|
1739
|
+
count: number;
|
|
1740
|
+
}) => string;
|
|
1741
|
+
'time.september': string;
|
|
1742
|
+
'time.today': string;
|
|
1743
|
+
'time.tomorrow': string;
|
|
1744
|
+
'time.year': (values: {
|
|
1745
|
+
count: number;
|
|
1746
|
+
}) => string;
|
|
1747
|
+
'time.yesterday': string;
|
|
1748
|
+
'tooFewSelectionItems': (values: {
|
|
1749
|
+
min: number;
|
|
1750
|
+
}) => string;
|
|
1751
|
+
'tooLong': (values: {
|
|
1752
|
+
max: number;
|
|
1753
|
+
}) => string;
|
|
1754
|
+
'tooManySelectionItems': (values: {
|
|
1755
|
+
max: number;
|
|
1756
|
+
}) => string;
|
|
1757
|
+
'tooShort': (values: {
|
|
1758
|
+
min: number;
|
|
1759
|
+
}) => string;
|
|
1760
|
+
'unsavedChanges': string;
|
|
1761
|
+
'unsavedChangesSaveQuestion': string;
|
|
1762
|
+
'update': string;
|
|
1763
|
+
'value': string;
|
|
1764
|
+
'welcome': string;
|
|
1765
|
+
'yes': string;
|
|
1766
|
+
};
|
|
1767
|
+
declare const hightideTranslation: Translation<HightideTranslationLocales, Partial<HightideTranslationEntries>>;
|
|
1768
|
+
|
|
1769
|
+
type LocaleContextValue = {
|
|
1770
|
+
locale: HightideTranslationLocales;
|
|
1771
|
+
setLocale: Dispatch<SetStateAction<HightideTranslationLocales>>;
|
|
1772
|
+
};
|
|
1773
|
+
declare const LocaleContext: React.Context<LocaleContextValue>;
|
|
1774
|
+
type LocaleWithSystem = HightideTranslationLocales | 'system';
|
|
1775
|
+
type LocaleProviderProps = {
|
|
1776
|
+
locale?: LocaleWithSystem;
|
|
1777
|
+
onChangedLocale?: (locale: HightideTranslationLocales) => void;
|
|
1778
|
+
};
|
|
1779
|
+
declare const LocaleProvider: ({ children, locale, onChangedLocale }: PropsWithChildren<LocaleProviderProps>) => react_jsx_runtime.JSX.Element;
|
|
1780
|
+
declare const useLocale: () => LocaleContextValue;
|
|
1781
|
+
declare const useLanguage: () => {
|
|
1782
|
+
language: string;
|
|
1783
|
+
};
|
|
1784
|
+
|
|
1785
|
+
type DeepPartial<T> = T extends string | number | boolean | bigint | symbol | null | undefined | Function ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends Map<infer K, infer V> ? Map<DeepPartial<K>, DeepPartial<V>> : T extends Set<infer U> ? Set<DeepPartial<U>> : T extends object ? {
|
|
1786
|
+
[P in keyof T]?: DeepPartial<T[P]>;
|
|
1787
|
+
} : T;
|
|
1788
|
+
type SuperSet<T, Base> = Base extends T ? T : never;
|
|
1789
|
+
type SingleOrArray<T> = T | T[];
|
|
1790
|
+
type Exact<T, U extends T> = U;
|
|
1791
|
+
|
|
1792
|
+
/**
|
|
1793
|
+
* Use for translations where you know that all values are ICU strings.
|
|
1794
|
+
*
|
|
1795
|
+
* This most likely is the case for Translations provided by a backend,
|
|
1796
|
+
* for more dynamic and typesafe translation use useTranslation instead
|
|
1797
|
+
*/
|
|
1798
|
+
declare function useICUTranslation<L extends string, T extends Record<string, string>>(translations: Translation<L, T>[] | Translation<L, T>, locale: L): (key: string, values?: Record<string, object>) => string;
|
|
1799
|
+
type UseHidetideTranslationOverwrites = {
|
|
1800
|
+
locale?: HightideTranslationLocales;
|
|
1801
|
+
};
|
|
1802
|
+
type HidetideTranslationExtension<L extends string, T extends TranslationEntries> = PartialTranslationExtension<L, HightideTranslationLocales, T, HightideTranslationEntries>;
|
|
1803
|
+
/**
|
|
1804
|
+
* A wrapper for the useHightideTranslation to load and specify the translations for the library
|
|
1805
|
+
*/
|
|
1806
|
+
declare function useHightideTranslation<L extends string, T extends TranslationEntries>(extensions?: SingleOrArray<HidetideTranslationExtension<L, T>>, overwrites?: UseHidetideTranslationOverwrites): <K extends keyof HightideTranslationEntries | keyof T>(key: K, values?: (T & HightideTranslationEntries)[K] extends (...args: infer P) => unknown ? P[0] : never) => string;
|
|
1807
|
+
|
|
1808
|
+
declare function localeToLanguage(locale: HightideTranslationLocales): string;
|
|
1809
|
+
/**
|
|
1810
|
+
* A constant definition for holding data regarding languages
|
|
1811
|
+
*/
|
|
1812
|
+
declare const LocalizationUtil: {
|
|
1813
|
+
locals: readonly ["de-DE", "en-US"];
|
|
1814
|
+
localToLanguage: typeof localeToLanguage;
|
|
1815
|
+
DEFAULT_LOCALE: "en-US";
|
|
1816
|
+
languagesLocalNames: Record<"de-DE" | "en-US", string>;
|
|
1817
|
+
};
|
|
1818
|
+
|
|
1819
|
+
declare const themes: readonly ["light", "dark", "system"];
|
|
1820
|
+
type ThemeType = typeof themes[number];
|
|
1821
|
+
type ResolvedTheme = Exclude<ThemeType, 'system'>;
|
|
1822
|
+
declare const ThemeUtil: {
|
|
1823
|
+
themes: readonly ["light", "dark", "system"];
|
|
1824
|
+
};
|
|
1825
|
+
type ThemeContextType = {
|
|
1826
|
+
theme: ThemeType;
|
|
1827
|
+
resolvedTheme: ResolvedTheme;
|
|
1828
|
+
setTheme: Dispatch<SetStateAction<ThemeType>>;
|
|
1829
|
+
};
|
|
1830
|
+
declare const ThemeContext: React.Context<ThemeContextType>;
|
|
1831
|
+
type ThemeProviderProps = {
|
|
1832
|
+
/**
|
|
1833
|
+
* Only set this if you want to control the theme yourself
|
|
1834
|
+
*/
|
|
1835
|
+
theme?: ThemeType;
|
|
1836
|
+
};
|
|
1837
|
+
declare const ThemeProvider: ({ children, theme }: PropsWithChildren<ThemeProviderProps>) => react_jsx_runtime.JSX.Element;
|
|
1838
|
+
declare const useTheme: () => ThemeContextType;
|
|
1839
|
+
|
|
1840
|
+
declare const equalSizeGroups: <T>(array: T[], groupSize: number) => T[][];
|
|
1841
|
+
type RangeOptions = {
|
|
1842
|
+
/** Whether the range can be defined empty via end < start without a warning */
|
|
1843
|
+
allowEmptyRange: boolean;
|
|
1844
|
+
stepSize: number;
|
|
1845
|
+
exclusiveStart: boolean;
|
|
1846
|
+
exclusiveEnd: boolean;
|
|
1847
|
+
};
|
|
1848
|
+
/**
|
|
1849
|
+
* @param endOrRange The end value or a range [start, end], end is exclusive
|
|
1850
|
+
* @param options the options for defining the range
|
|
1851
|
+
*/
|
|
1852
|
+
declare const range: (endOrRange: number | [number, number], options?: Partial<RangeOptions>) => number[];
|
|
1853
|
+
/** Finds the closest match
|
|
1854
|
+
* @param list The list of all possible matches
|
|
1855
|
+
* @param firstCloser Return whether item1 is closer than item2
|
|
1856
|
+
*/
|
|
1857
|
+
declare const closestMatch: <T>(list: T[], firstCloser: (item1: T, item2: T) => boolean) => T;
|
|
1858
|
+
/**
|
|
1859
|
+
* returns the item in middle of a list and its neighbours before and after
|
|
1860
|
+
* e.g. [1,2,3,4,5,6] for item = 1 would return [5,6,1,2,3]
|
|
1861
|
+
*/
|
|
1862
|
+
declare const getNeighbours: <T>(list: T[], item: T, neighbourDistance?: number) => T[];
|
|
1863
|
+
declare const createLoopingListWithIndex: <T>(list: T[], startIndex?: number, length?: number, forwards?: boolean) => [number, T][];
|
|
1864
|
+
declare const createLoopingList: <T>(list: T[], startIndex?: number, length?: number, forwards?: boolean) => T[];
|
|
1865
|
+
declare function resolveSingleOrArray<T>(value: T | T[]): T[];
|
|
1866
|
+
declare const ArrayUtil: {
|
|
1867
|
+
unique: <T>(list: T[]) => T[];
|
|
1868
|
+
difference: <T>(list: T[], removeList: T[]) => T[];
|
|
1869
|
+
moveItems: <T>(list: T[], move?: number) => any[];
|
|
1870
|
+
resolveSingleOrArray: typeof resolveSingleOrArray;
|
|
1871
|
+
};
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* A simple function that implements the builder pattern
|
|
1875
|
+
* @param value The value to update which gets return with the same reference
|
|
1876
|
+
* @param update The updates to apply on the object
|
|
1877
|
+
*/
|
|
1878
|
+
declare const builder: <T>(value: T, update: (value: T) => void) => T;
|
|
1879
|
+
|
|
1880
|
+
type EaseFunction = (t: number) => number;
|
|
1881
|
+
declare class EaseFunctions {
|
|
1882
|
+
static cubicBezierGeneric(x1: number, y1: number, x2: number, y2: number): {
|
|
1883
|
+
x: EaseFunction;
|
|
1884
|
+
y: EaseFunction;
|
|
1885
|
+
};
|
|
1886
|
+
static cubicBezier(x1: number, y1: number, x2: number, y2: number): EaseFunction;
|
|
1887
|
+
static easeInEaseOut(t: number): number;
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
declare const validateEmail: (email: string) => boolean;
|
|
1891
|
+
|
|
1892
|
+
/**
|
|
1893
|
+
* 1 is forwards
|
|
1894
|
+
*
|
|
1895
|
+
* -1 is backwards
|
|
1896
|
+
*/
|
|
1897
|
+
type Direction = 1 | -1;
|
|
1898
|
+
declare class LoopingArrayCalculator {
|
|
1899
|
+
length: number;
|
|
1900
|
+
isLooping: boolean;
|
|
1901
|
+
allowedOverScroll: number;
|
|
1902
|
+
constructor(length: number, isLooping?: boolean, allowedOverScroll?: number);
|
|
1903
|
+
getCorrectedPosition(position: number): number;
|
|
1904
|
+
static withoutOffset(position: number): number;
|
|
1905
|
+
static getOffset(position: number): number;
|
|
1906
|
+
/**
|
|
1907
|
+
* @return absolute distance forwards or Infinity when the target cannot be reached (only possible when not isLooping)
|
|
1908
|
+
*/
|
|
1909
|
+
getDistanceDirectional(position: number, target: number, direction: Direction): number;
|
|
1910
|
+
getDistanceForward(position: number, target: number): number;
|
|
1911
|
+
getDistanceBackward(position: number, target: number): number;
|
|
1912
|
+
getDistance(position: number, target: number): number;
|
|
1913
|
+
getBestDirection(position: number, target: number): Direction;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
declare const match: <K extends string | number | symbol, V>(key: K, values: Record<K, V>) => Record<K, V>[K];
|
|
1917
|
+
|
|
1918
|
+
declare const clamp: (value: number, range?: [number, number]) => number;
|
|
1919
|
+
|
|
1920
|
+
declare const noop: () => any;
|
|
1921
|
+
|
|
1922
|
+
declare function resolveSetState<T>(action: SetStateAction<T>, prev: T): T;
|
|
1923
|
+
|
|
1924
|
+
/**
|
|
1925
|
+
* Finds all values matching the search values by first mapping the values to a string array and then checking each entry for matches.
|
|
1926
|
+
* Returns the list of all matches.
|
|
1927
|
+
*
|
|
1928
|
+
* @param search The list of search strings e.g. `[name, type]`
|
|
1929
|
+
*
|
|
1930
|
+
* @param objects The list of objects to be searched in
|
|
1931
|
+
*
|
|
1932
|
+
* @param mapping The mapping of objects to the string properties they fulfil
|
|
1933
|
+
*
|
|
1934
|
+
* @return The list of objects that match all search strings
|
|
1935
|
+
*/
|
|
1936
|
+
declare const MultiSubjectSearchWithMapping: <T>(search: string[], objects: T[], mapping: (value: T) => (string[] | undefined)) => T[];
|
|
1937
|
+
/**
|
|
1938
|
+
* Finds all values matching the search value by first mapping the values to a string array and then checking each entry for matches.
|
|
1939
|
+
* Returns the list of all matches.
|
|
1940
|
+
*
|
|
1941
|
+
* @param search The search string e.g `name`
|
|
1942
|
+
*
|
|
1943
|
+
* @param objects The list of objects to be searched in
|
|
1944
|
+
*
|
|
1945
|
+
* @param mapping The mapping of objects to the string properties they fulfil, if undefined it is always fulfilled
|
|
1946
|
+
*
|
|
1947
|
+
* @return The list of objects that match the search string
|
|
1948
|
+
*/
|
|
1949
|
+
declare const MultiSearchWithMapping: <T>(search: string, objects: T[], mapping: (value: T) => (string[] | undefined)) => T[];
|
|
1950
|
+
/**
|
|
1951
|
+
* Finds all values matching the search value by first mapping the values to a string and returns the list of all matches.
|
|
1952
|
+
*
|
|
1953
|
+
* @param search The search string e.g `name`
|
|
1954
|
+
*
|
|
1955
|
+
* @param objects The list of objects to be searched in
|
|
1956
|
+
*
|
|
1957
|
+
* @param mapping The mapping of objects to a string that is compared to the search
|
|
1958
|
+
*
|
|
1959
|
+
* @return The list of objects that match the search string
|
|
1960
|
+
*/
|
|
1961
|
+
declare const SimpleSearchWithMapping: <T>(search: string, objects: T[], mapping: (value: T) => string) => T[];
|
|
1962
|
+
/**
|
|
1963
|
+
* Finds all values matching the search value and returns the list of all matches.
|
|
1964
|
+
*
|
|
1965
|
+
* @param search The search string e.g `name`
|
|
1966
|
+
*
|
|
1967
|
+
* @param objects The list of objects to be searched in
|
|
1968
|
+
*
|
|
1969
|
+
* @return The list of objects that match the search string
|
|
1970
|
+
*/
|
|
1971
|
+
declare const SimpleSearch: (search: string, objects: string[]) => string[];
|
|
1972
|
+
|
|
1973
|
+
declare class StorageService {
|
|
1974
|
+
private storage;
|
|
1975
|
+
constructor(storage: Storage);
|
|
1976
|
+
get<T>(key: string): T | null;
|
|
1977
|
+
set<T>(key: string, value: T): void;
|
|
1978
|
+
delete(key: string): void;
|
|
1979
|
+
deleteAll(): void;
|
|
1980
|
+
}
|
|
1981
|
+
declare class LocalStorageService extends StorageService {
|
|
1982
|
+
constructor();
|
|
1983
|
+
}
|
|
1984
|
+
declare class SessionStorageService extends StorageService {
|
|
1985
|
+
constructor();
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
declare const writeToClipboard: (text: string) => Promise<void>;
|
|
1989
|
+
|
|
1990
|
+
export { ASTNodeInterpreter, type ASTNodeInterpreterProps, AnimatedRing, type AnimatedRingProps, ArrayUtil, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, AvatarUtil, type BagFunction, type BagFunctionOrNode, BagFunctionUtil, BreadCrumb, ButtonColorUtil, type ButtonProps, ButtonUtil, Carousel, type CarouselProps, CarouselSlide, type CarouselSlideProps, Checkbox, CheckboxProperty, type CheckboxPropertyProps, type CheckboxProps, CheckboxUncontrolled, type CheckboxUncontrolledProps, Chip, type ChipColor, ChipList, type ChipListProps, type ChipProps, ChipUtil, Circle, type CircleProps, type ColorMode, type ColorShadingValue, type Coloring, type ColoringStyle, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogType, CopyToClipboardWrapper, type CopyToClipboardWrapperProps, type Crumb, DatePicker, type DatePickerProps, DatePickerUncontrolled, DateProperty, type DatePropertyProps, DateTimePicker, type DateTimePickerMode, type DateTimePickerProps, DayPicker, type DayPickerProps, DayPickerUncontrolled, type DeepPartial, Dialog, type DialogPosition, type DialogProps, type Direction, DiscardChangesDialog, DividerInserter, type DividerInserterProps, type Duration, type EaseFunction, EaseFunctions, type EditCompleteOptions, type EditCompleteOptionsResolved, ErrorComponent, type ErrorComponentProps, type Exact, Expandable, type ExpandableProps, ExpandableUncontrolled, ExpansionIcon, type ExpansionIconProps, type FAQItem, FAQSection, type FAQSectionProps, FillerRowElement, type FillerRowElementProps, FloatingContainer, type FloatingContainerProps, type FloatingElementAlignment, FocusTrap, type FocusTrapProps, type FormElementStateProperties, FormElementWrapper, type FormElementWrapperProps, HelpwaveBadge, type HelpwaveBadgeProps, HelpwaveLogo, type HelpwaveProps, type HightideTranslationEntries, type HightideTranslationLocales, IconButton, type IconButtonColor, type IconButtonProps, IconButtonUtil, Input, InputDialog, type InputModalProps, type InputProps, InputUncontrolled, InsideLabelInput, InsideLabelInputUncontrolled, Label, type LabelProps, type LabelType, LanguageDialog, ListBox, ListBoxItem, type ListBoxItemProps, ListBoxMultiple, type ListBoxMultipleProps, ListBoxMultipleUncontrolled, type ListBoxMultipleUncontrolledProps, ListBoxPrimitive, type ListBoxPrimitiveProps, type ListBoxProps, ListBoxUncontrolled, type ListBoxUncontrolledProps, LoadingAndErrorComponent, type LoadingAndErrorComponentProps, LoadingAnimation, type LoadingAnimationProps, LoadingButton, type LoadingComponentProps, LoadingContainer, LocalStorageService, LocaleContext, type LocaleContextValue, LocaleProvider, LocalizationUtil, LoopingArrayCalculator, MarkdownInterpreter, type MarkdownInterpreterProps, Menu, type MenuBag, MenuItem, type MenuItemProps, type MenuProps, type Month, MultiSearchWithMapping, MultiSelect, MultiSelectChipDisplay, type MultiSelectChipDisplayProps, MultiSelectChipDisplayUncontrolled, type MultiSelectChipDisplayUncontrolledProps, MultiSelectProperty, type MultiSelectPropertyProps, type MultiSelectProps, MultiSelectUncontrolled, type MultiSelectUncontrolledProps, MultiSubjectSearchWithMapping, Navigation, NavigationItemList, type NavigationItemListProps, type NavigationItemType, type NavigationProps, NumberProperty, type NumberPropertyProps, OutlineButton, type OutlineButtonColor, type OutlineButtonProps, Pagination, type PaginationProps, type PopoverHorizontalAlignment, type PopoverVerticalAlignment, ProgressIndicator, type ProgressIndicatorProps, PropertyBase, type PropertyBaseProps, type PropsWithBagFunction, type PropsWithBagFunctionOrChildren, RadialRings, type RadialRingsProps, type RangeOptions, type ResolvedTheme, Ring, type RingProps, RingWave, type RingWaveProps, ScrollArea, type ScrollAreaProps, type ScrollBarAxis, type ScrollBarSize, type ScrollBarType, ScrollPicker, type ScrollPickerProps, SearchBar, type SearchBarProps, Select, SelectButton, SelectChipDisplay, SelectContent, type SelectContentProps, SelectOption, type SelectOptionProps, type SelectProps, SelectRoot, type SelectRootProps, SelectUncontrolled, type SelectUncontrolledProps, SessionStorageService, type ShadedColors, SimpleSearch, SimpleSearchWithMapping, type SingleOrArray, SingleSelectProperty, type SingleSelectPropertyProps, SolidButton, type SolidButtonColor, type SolidButtonProps, StepperBar, type StepperBarProps, StepperBarUncontrolled, type StepperState, type SuperSet, Table, TableCell, type TableCellProps, TableFilterButton, type TableFilterButtonProps, type TableFilterType, TableFilters, type TableProps, TableSortButton, type TableSortButtonProps, TableUncontrolled, type TableUncontrolledProps, TableWithSelection, type TableWithSelectionProps, TagIcon, type TagProps, TextButton, type TextButtonColor, type TextButtonProps, TextImage, type TextImageProps, TextProperty, type TextPropertyProps, Textarea, type TextareaProps, TextareaUncontrolled, TextareaWithHeadline, type TextareaWithHeadlineProps, ThemeContext, ThemeDialog, ThemeProvider, type ThemeType, ThemeUtil, TimeDisplay, TimePicker, type TimePickerProps, TimePickerUncontrolled, ToggleableInput, ToggleableInputUncontrolled, Tooltip, type TooltipProps, Transition, type TransitionWrapperProps, type UseDelayOptions, type UseDelayOptionsResolved, type UseFloatingElementOptions, type UseFloatingElementProps, type UseFocusTrapProps, type UseSearchProps, UseValidators, type ValidatorError, type ValidatorResult, VerticalDivider, type VerticalDividerProps, type WeekDay, YearMonthPicker, type YearMonthPickerProps, YearMonthPickerUncontrolled, addDuration, builder, changeDuration, clamp, closestMatch, createLoopingList, createLoopingListWithIndex, equalDate, equalSizeGroups, formatDate, formatDateTime, generateShadingColors, getBetweenDuration, getDaysInMonth, getNeighbours, getWeeksForCalenderMonth, hightideTranslation, hightideTranslationLocales, isInTimeSpan, match, monthsList, noop, range, resolveSetState, shadingColorValues, subtractDuration, useDelay, useFloatingElement, useFocusGuards, useFocusManagement, useFocusOnceVisible, useFocusTrap, useHightideTranslation, useHoverState, useICUTranslation, useIsMounted, useLanguage, useLocalStorage, useLocale, useLogOnce, useOutsideClick, useOverwritableState, usePopoverPosition, useRerender, useResizeCallbackWrapper, useSearch, useTheme, useTranslatedValidators, validateEmail, weekDayList, writeToClipboard };
|