@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
|
@@ -1,878 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
-
|
|
29
|
-
// src/components/user-action/Checkbox.tsx
|
|
30
|
-
var Checkbox_exports = {};
|
|
31
|
-
__export(Checkbox_exports, {
|
|
32
|
-
Checkbox: () => Checkbox2,
|
|
33
|
-
CheckboxUncontrolled: () => CheckboxUncontrolled
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(Checkbox_exports);
|
|
36
|
-
var import_lucide_react = require("lucide-react");
|
|
37
|
-
var import_clsx = __toESM(require("clsx"), 1);
|
|
38
|
-
|
|
39
|
-
// node_modules/@radix-ui/react-checkbox/dist/index.mjs
|
|
40
|
-
var React10 = __toESM(require("react"), 1);
|
|
41
|
-
|
|
42
|
-
// node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
43
|
-
var React = __toESM(require("react"), 1);
|
|
44
|
-
function setRef(ref, value) {
|
|
45
|
-
if (typeof ref === "function") {
|
|
46
|
-
return ref(value);
|
|
47
|
-
} else if (ref !== null && ref !== void 0) {
|
|
48
|
-
ref.current = value;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
function composeRefs(...refs) {
|
|
52
|
-
return (node) => {
|
|
53
|
-
let hasCleanup = false;
|
|
54
|
-
const cleanups = refs.map((ref) => {
|
|
55
|
-
const cleanup = setRef(ref, node);
|
|
56
|
-
if (!hasCleanup && typeof cleanup == "function") {
|
|
57
|
-
hasCleanup = true;
|
|
58
|
-
}
|
|
59
|
-
return cleanup;
|
|
60
|
-
});
|
|
61
|
-
if (hasCleanup) {
|
|
62
|
-
return () => {
|
|
63
|
-
for (let i = 0; i < cleanups.length; i++) {
|
|
64
|
-
const cleanup = cleanups[i];
|
|
65
|
-
if (typeof cleanup == "function") {
|
|
66
|
-
cleanup();
|
|
67
|
-
} else {
|
|
68
|
-
setRef(refs[i], null);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
function useComposedRefs(...refs) {
|
|
76
|
-
return React.useCallback(composeRefs(...refs), refs);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// node_modules/@radix-ui/react-context/dist/index.mjs
|
|
80
|
-
var React2 = __toESM(require("react"), 1);
|
|
81
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
82
|
-
function createContextScope(scopeName, createContextScopeDeps = []) {
|
|
83
|
-
let defaultContexts = [];
|
|
84
|
-
function createContext3(rootComponentName, defaultContext) {
|
|
85
|
-
const BaseContext = React2.createContext(defaultContext);
|
|
86
|
-
const index = defaultContexts.length;
|
|
87
|
-
defaultContexts = [...defaultContexts, defaultContext];
|
|
88
|
-
const Provider = (props) => {
|
|
89
|
-
const { scope, children, ...context } = props;
|
|
90
|
-
const Context = scope?.[scopeName]?.[index] || BaseContext;
|
|
91
|
-
const value = React2.useMemo(() => context, Object.values(context));
|
|
92
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Context.Provider, { value, children });
|
|
93
|
-
};
|
|
94
|
-
Provider.displayName = rootComponentName + "Provider";
|
|
95
|
-
function useContext2(consumerName, scope) {
|
|
96
|
-
const Context = scope?.[scopeName]?.[index] || BaseContext;
|
|
97
|
-
const context = React2.useContext(Context);
|
|
98
|
-
if (context) return context;
|
|
99
|
-
if (defaultContext !== void 0) return defaultContext;
|
|
100
|
-
throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
|
|
101
|
-
}
|
|
102
|
-
return [Provider, useContext2];
|
|
103
|
-
}
|
|
104
|
-
const createScope = () => {
|
|
105
|
-
const scopeContexts = defaultContexts.map((defaultContext) => {
|
|
106
|
-
return React2.createContext(defaultContext);
|
|
107
|
-
});
|
|
108
|
-
return function useScope(scope) {
|
|
109
|
-
const contexts = scope?.[scopeName] || scopeContexts;
|
|
110
|
-
return React2.useMemo(
|
|
111
|
-
() => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),
|
|
112
|
-
[scope, contexts]
|
|
113
|
-
);
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
createScope.scopeName = scopeName;
|
|
117
|
-
return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];
|
|
118
|
-
}
|
|
119
|
-
function composeContextScopes(...scopes) {
|
|
120
|
-
const baseScope = scopes[0];
|
|
121
|
-
if (scopes.length === 1) return baseScope;
|
|
122
|
-
const createScope = () => {
|
|
123
|
-
const scopeHooks = scopes.map((createScope2) => ({
|
|
124
|
-
useScope: createScope2(),
|
|
125
|
-
scopeName: createScope2.scopeName
|
|
126
|
-
}));
|
|
127
|
-
return function useComposedScopes(overrideScopes) {
|
|
128
|
-
const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {
|
|
129
|
-
const scopeProps = useScope(overrideScopes);
|
|
130
|
-
const currentScope = scopeProps[`__scope${scopeName}`];
|
|
131
|
-
return { ...nextScopes2, ...currentScope };
|
|
132
|
-
}, {});
|
|
133
|
-
return React2.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
createScope.scopeName = baseScope.scopeName;
|
|
137
|
-
return createScope;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// node_modules/@radix-ui/primitive/dist/index.mjs
|
|
141
|
-
function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
142
|
-
return function handleEvent(event) {
|
|
143
|
-
originalEventHandler?.(event);
|
|
144
|
-
if (checkForDefaultPrevented === false || !event.defaultPrevented) {
|
|
145
|
-
return ourEventHandler?.(event);
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
// node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
151
|
-
var React4 = __toESM(require("react"), 1);
|
|
152
|
-
|
|
153
|
-
// node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
154
|
-
var React3 = __toESM(require("react"), 1);
|
|
155
|
-
var useLayoutEffect2 = globalThis?.document ? React3.useLayoutEffect : () => {
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
// node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
159
|
-
var React22 = __toESM(require("react"), 1);
|
|
160
|
-
var useInsertionEffect = React4[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
|
|
161
|
-
function useControllableState({
|
|
162
|
-
prop,
|
|
163
|
-
defaultProp,
|
|
164
|
-
onChange = () => {
|
|
165
|
-
},
|
|
166
|
-
caller
|
|
167
|
-
}) {
|
|
168
|
-
const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({
|
|
169
|
-
defaultProp,
|
|
170
|
-
onChange
|
|
171
|
-
});
|
|
172
|
-
const isControlled = prop !== void 0;
|
|
173
|
-
const value = isControlled ? prop : uncontrolledProp;
|
|
174
|
-
if (true) {
|
|
175
|
-
const isControlledRef = React4.useRef(prop !== void 0);
|
|
176
|
-
React4.useEffect(() => {
|
|
177
|
-
const wasControlled = isControlledRef.current;
|
|
178
|
-
if (wasControlled !== isControlled) {
|
|
179
|
-
const from = wasControlled ? "controlled" : "uncontrolled";
|
|
180
|
-
const to = isControlled ? "controlled" : "uncontrolled";
|
|
181
|
-
console.warn(
|
|
182
|
-
`${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
183
|
-
);
|
|
184
|
-
}
|
|
185
|
-
isControlledRef.current = isControlled;
|
|
186
|
-
}, [isControlled, caller]);
|
|
187
|
-
}
|
|
188
|
-
const setValue = React4.useCallback(
|
|
189
|
-
(nextValue) => {
|
|
190
|
-
if (isControlled) {
|
|
191
|
-
const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
|
|
192
|
-
if (value2 !== prop) {
|
|
193
|
-
onChangeRef.current?.(value2);
|
|
194
|
-
}
|
|
195
|
-
} else {
|
|
196
|
-
setUncontrolledProp(nextValue);
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
[isControlled, prop, setUncontrolledProp, onChangeRef]
|
|
200
|
-
);
|
|
201
|
-
return [value, setValue];
|
|
202
|
-
}
|
|
203
|
-
function useUncontrolledState({
|
|
204
|
-
defaultProp,
|
|
205
|
-
onChange
|
|
206
|
-
}) {
|
|
207
|
-
const [value, setValue] = React4.useState(defaultProp);
|
|
208
|
-
const prevValueRef = React4.useRef(value);
|
|
209
|
-
const onChangeRef = React4.useRef(onChange);
|
|
210
|
-
useInsertionEffect(() => {
|
|
211
|
-
onChangeRef.current = onChange;
|
|
212
|
-
}, [onChange]);
|
|
213
|
-
React4.useEffect(() => {
|
|
214
|
-
if (prevValueRef.current !== value) {
|
|
215
|
-
onChangeRef.current?.(value);
|
|
216
|
-
prevValueRef.current = value;
|
|
217
|
-
}
|
|
218
|
-
}, [value, prevValueRef]);
|
|
219
|
-
return [value, setValue, onChangeRef];
|
|
220
|
-
}
|
|
221
|
-
function isFunction(value) {
|
|
222
|
-
return typeof value === "function";
|
|
223
|
-
}
|
|
224
|
-
var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
|
|
225
|
-
|
|
226
|
-
// node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
227
|
-
var React5 = __toESM(require("react"), 1);
|
|
228
|
-
function usePrevious(value) {
|
|
229
|
-
const ref = React5.useRef({ value, previous: value });
|
|
230
|
-
return React5.useMemo(() => {
|
|
231
|
-
if (ref.current.value !== value) {
|
|
232
|
-
ref.current.previous = ref.current.value;
|
|
233
|
-
ref.current.value = value;
|
|
234
|
-
}
|
|
235
|
-
return ref.current.previous;
|
|
236
|
-
}, [value]);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
// node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
240
|
-
var React6 = __toESM(require("react"), 1);
|
|
241
|
-
function useSize(element) {
|
|
242
|
-
const [size, setSize] = React6.useState(void 0);
|
|
243
|
-
useLayoutEffect2(() => {
|
|
244
|
-
if (element) {
|
|
245
|
-
setSize({ width: element.offsetWidth, height: element.offsetHeight });
|
|
246
|
-
const resizeObserver = new ResizeObserver((entries) => {
|
|
247
|
-
if (!Array.isArray(entries)) {
|
|
248
|
-
return;
|
|
249
|
-
}
|
|
250
|
-
if (!entries.length) {
|
|
251
|
-
return;
|
|
252
|
-
}
|
|
253
|
-
const entry = entries[0];
|
|
254
|
-
let width;
|
|
255
|
-
let height;
|
|
256
|
-
if ("borderBoxSize" in entry) {
|
|
257
|
-
const borderSizeEntry = entry["borderBoxSize"];
|
|
258
|
-
const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;
|
|
259
|
-
width = borderSize["inlineSize"];
|
|
260
|
-
height = borderSize["blockSize"];
|
|
261
|
-
} else {
|
|
262
|
-
width = element.offsetWidth;
|
|
263
|
-
height = element.offsetHeight;
|
|
264
|
-
}
|
|
265
|
-
setSize({ width, height });
|
|
266
|
-
});
|
|
267
|
-
resizeObserver.observe(element, { box: "border-box" });
|
|
268
|
-
return () => resizeObserver.unobserve(element);
|
|
269
|
-
} else {
|
|
270
|
-
setSize(void 0);
|
|
271
|
-
}
|
|
272
|
-
}, [element]);
|
|
273
|
-
return size;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
// node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
277
|
-
var React23 = __toESM(require("react"), 1);
|
|
278
|
-
var React7 = __toESM(require("react"), 1);
|
|
279
|
-
function useStateMachine(initialState, machine) {
|
|
280
|
-
return React7.useReducer((state, event) => {
|
|
281
|
-
const nextState = machine[state][event];
|
|
282
|
-
return nextState ?? state;
|
|
283
|
-
}, initialState);
|
|
284
|
-
}
|
|
285
|
-
var Presence = (props) => {
|
|
286
|
-
const { present, children } = props;
|
|
287
|
-
const presence = usePresence(present);
|
|
288
|
-
const child = typeof children === "function" ? children({ present: presence.isPresent }) : React23.Children.only(children);
|
|
289
|
-
const ref = useComposedRefs(presence.ref, getElementRef(child));
|
|
290
|
-
const forceMount = typeof children === "function";
|
|
291
|
-
return forceMount || presence.isPresent ? React23.cloneElement(child, { ref }) : null;
|
|
292
|
-
};
|
|
293
|
-
Presence.displayName = "Presence";
|
|
294
|
-
function usePresence(present) {
|
|
295
|
-
const [node, setNode] = React23.useState();
|
|
296
|
-
const stylesRef = React23.useRef(null);
|
|
297
|
-
const prevPresentRef = React23.useRef(present);
|
|
298
|
-
const prevAnimationNameRef = React23.useRef("none");
|
|
299
|
-
const initialState = present ? "mounted" : "unmounted";
|
|
300
|
-
const [state, send] = useStateMachine(initialState, {
|
|
301
|
-
mounted: {
|
|
302
|
-
UNMOUNT: "unmounted",
|
|
303
|
-
ANIMATION_OUT: "unmountSuspended"
|
|
304
|
-
},
|
|
305
|
-
unmountSuspended: {
|
|
306
|
-
MOUNT: "mounted",
|
|
307
|
-
ANIMATION_END: "unmounted"
|
|
308
|
-
},
|
|
309
|
-
unmounted: {
|
|
310
|
-
MOUNT: "mounted"
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
React23.useEffect(() => {
|
|
314
|
-
const currentAnimationName = getAnimationName(stylesRef.current);
|
|
315
|
-
prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
|
|
316
|
-
}, [state]);
|
|
317
|
-
useLayoutEffect2(() => {
|
|
318
|
-
const styles = stylesRef.current;
|
|
319
|
-
const wasPresent = prevPresentRef.current;
|
|
320
|
-
const hasPresentChanged = wasPresent !== present;
|
|
321
|
-
if (hasPresentChanged) {
|
|
322
|
-
const prevAnimationName = prevAnimationNameRef.current;
|
|
323
|
-
const currentAnimationName = getAnimationName(styles);
|
|
324
|
-
if (present) {
|
|
325
|
-
send("MOUNT");
|
|
326
|
-
} else if (currentAnimationName === "none" || styles?.display === "none") {
|
|
327
|
-
send("UNMOUNT");
|
|
328
|
-
} else {
|
|
329
|
-
const isAnimating = prevAnimationName !== currentAnimationName;
|
|
330
|
-
if (wasPresent && isAnimating) {
|
|
331
|
-
send("ANIMATION_OUT");
|
|
332
|
-
} else {
|
|
333
|
-
send("UNMOUNT");
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
prevPresentRef.current = present;
|
|
337
|
-
}
|
|
338
|
-
}, [present, send]);
|
|
339
|
-
useLayoutEffect2(() => {
|
|
340
|
-
if (node) {
|
|
341
|
-
let timeoutId;
|
|
342
|
-
const ownerWindow = node.ownerDocument.defaultView ?? window;
|
|
343
|
-
const handleAnimationEnd = (event) => {
|
|
344
|
-
const currentAnimationName = getAnimationName(stylesRef.current);
|
|
345
|
-
const isCurrentAnimation = currentAnimationName.includes(event.animationName);
|
|
346
|
-
if (event.target === node && isCurrentAnimation) {
|
|
347
|
-
send("ANIMATION_END");
|
|
348
|
-
if (!prevPresentRef.current) {
|
|
349
|
-
const currentFillMode = node.style.animationFillMode;
|
|
350
|
-
node.style.animationFillMode = "forwards";
|
|
351
|
-
timeoutId = ownerWindow.setTimeout(() => {
|
|
352
|
-
if (node.style.animationFillMode === "forwards") {
|
|
353
|
-
node.style.animationFillMode = currentFillMode;
|
|
354
|
-
}
|
|
355
|
-
});
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
};
|
|
359
|
-
const handleAnimationStart = (event) => {
|
|
360
|
-
if (event.target === node) {
|
|
361
|
-
prevAnimationNameRef.current = getAnimationName(stylesRef.current);
|
|
362
|
-
}
|
|
363
|
-
};
|
|
364
|
-
node.addEventListener("animationstart", handleAnimationStart);
|
|
365
|
-
node.addEventListener("animationcancel", handleAnimationEnd);
|
|
366
|
-
node.addEventListener("animationend", handleAnimationEnd);
|
|
367
|
-
return () => {
|
|
368
|
-
ownerWindow.clearTimeout(timeoutId);
|
|
369
|
-
node.removeEventListener("animationstart", handleAnimationStart);
|
|
370
|
-
node.removeEventListener("animationcancel", handleAnimationEnd);
|
|
371
|
-
node.removeEventListener("animationend", handleAnimationEnd);
|
|
372
|
-
};
|
|
373
|
-
} else {
|
|
374
|
-
send("ANIMATION_END");
|
|
375
|
-
}
|
|
376
|
-
}, [node, send]);
|
|
377
|
-
return {
|
|
378
|
-
isPresent: ["mounted", "unmountSuspended"].includes(state),
|
|
379
|
-
ref: React23.useCallback((node2) => {
|
|
380
|
-
stylesRef.current = node2 ? getComputedStyle(node2) : null;
|
|
381
|
-
setNode(node2);
|
|
382
|
-
}, [])
|
|
383
|
-
};
|
|
384
|
-
}
|
|
385
|
-
function getAnimationName(styles) {
|
|
386
|
-
return styles?.animationName || "none";
|
|
387
|
-
}
|
|
388
|
-
function getElementRef(element) {
|
|
389
|
-
let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
|
|
390
|
-
let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
391
|
-
if (mayWarn) {
|
|
392
|
-
return element.ref;
|
|
393
|
-
}
|
|
394
|
-
getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
|
|
395
|
-
mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
396
|
-
if (mayWarn) {
|
|
397
|
-
return element.props.ref;
|
|
398
|
-
}
|
|
399
|
-
return element.props.ref || element.ref;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
// node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
403
|
-
var React9 = __toESM(require("react"), 1);
|
|
404
|
-
var ReactDOM = __toESM(require("react-dom"), 1);
|
|
405
|
-
|
|
406
|
-
// node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
407
|
-
var React8 = __toESM(require("react"), 1);
|
|
408
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
409
|
-
// @__NO_SIDE_EFFECTS__
|
|
410
|
-
function createSlot(ownerName) {
|
|
411
|
-
const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
|
|
412
|
-
const Slot2 = React8.forwardRef((props, forwardedRef) => {
|
|
413
|
-
const { children, ...slotProps } = props;
|
|
414
|
-
const childrenArray = React8.Children.toArray(children);
|
|
415
|
-
const slottable = childrenArray.find(isSlottable);
|
|
416
|
-
if (slottable) {
|
|
417
|
-
const newElement = slottable.props.children;
|
|
418
|
-
const newChildren = childrenArray.map((child) => {
|
|
419
|
-
if (child === slottable) {
|
|
420
|
-
if (React8.Children.count(newElement) > 1) return React8.Children.only(null);
|
|
421
|
-
return React8.isValidElement(newElement) ? newElement.props.children : null;
|
|
422
|
-
} else {
|
|
423
|
-
return child;
|
|
424
|
-
}
|
|
425
|
-
});
|
|
426
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children: React8.isValidElement(newElement) ? React8.cloneElement(newElement, void 0, newChildren) : null });
|
|
427
|
-
}
|
|
428
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SlotClone, { ...slotProps, ref: forwardedRef, children });
|
|
429
|
-
});
|
|
430
|
-
Slot2.displayName = `${ownerName}.Slot`;
|
|
431
|
-
return Slot2;
|
|
432
|
-
}
|
|
433
|
-
// @__NO_SIDE_EFFECTS__
|
|
434
|
-
function createSlotClone(ownerName) {
|
|
435
|
-
const SlotClone = React8.forwardRef((props, forwardedRef) => {
|
|
436
|
-
const { children, ...slotProps } = props;
|
|
437
|
-
if (React8.isValidElement(children)) {
|
|
438
|
-
const childrenRef = getElementRef2(children);
|
|
439
|
-
const props2 = mergeProps(slotProps, children.props);
|
|
440
|
-
if (children.type !== React8.Fragment) {
|
|
441
|
-
props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
|
|
442
|
-
}
|
|
443
|
-
return React8.cloneElement(children, props2);
|
|
444
|
-
}
|
|
445
|
-
return React8.Children.count(children) > 1 ? React8.Children.only(null) : null;
|
|
446
|
-
});
|
|
447
|
-
SlotClone.displayName = `${ownerName}.SlotClone`;
|
|
448
|
-
return SlotClone;
|
|
449
|
-
}
|
|
450
|
-
var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
|
|
451
|
-
function isSlottable(child) {
|
|
452
|
-
return React8.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
|
|
453
|
-
}
|
|
454
|
-
function mergeProps(slotProps, childProps) {
|
|
455
|
-
const overrideProps = { ...childProps };
|
|
456
|
-
for (const propName in childProps) {
|
|
457
|
-
const slotPropValue = slotProps[propName];
|
|
458
|
-
const childPropValue = childProps[propName];
|
|
459
|
-
const isHandler = /^on[A-Z]/.test(propName);
|
|
460
|
-
if (isHandler) {
|
|
461
|
-
if (slotPropValue && childPropValue) {
|
|
462
|
-
overrideProps[propName] = (...args) => {
|
|
463
|
-
const result = childPropValue(...args);
|
|
464
|
-
slotPropValue(...args);
|
|
465
|
-
return result;
|
|
466
|
-
};
|
|
467
|
-
} else if (slotPropValue) {
|
|
468
|
-
overrideProps[propName] = slotPropValue;
|
|
469
|
-
}
|
|
470
|
-
} else if (propName === "style") {
|
|
471
|
-
overrideProps[propName] = { ...slotPropValue, ...childPropValue };
|
|
472
|
-
} else if (propName === "className") {
|
|
473
|
-
overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
return { ...slotProps, ...overrideProps };
|
|
477
|
-
}
|
|
478
|
-
function getElementRef2(element) {
|
|
479
|
-
let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
|
|
480
|
-
let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
481
|
-
if (mayWarn) {
|
|
482
|
-
return element.ref;
|
|
483
|
-
}
|
|
484
|
-
getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
|
|
485
|
-
mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
486
|
-
if (mayWarn) {
|
|
487
|
-
return element.props.ref;
|
|
488
|
-
}
|
|
489
|
-
return element.props.ref || element.ref;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
// node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
493
|
-
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
494
|
-
var NODES = [
|
|
495
|
-
"a",
|
|
496
|
-
"button",
|
|
497
|
-
"div",
|
|
498
|
-
"form",
|
|
499
|
-
"h2",
|
|
500
|
-
"h3",
|
|
501
|
-
"img",
|
|
502
|
-
"input",
|
|
503
|
-
"label",
|
|
504
|
-
"li",
|
|
505
|
-
"nav",
|
|
506
|
-
"ol",
|
|
507
|
-
"p",
|
|
508
|
-
"select",
|
|
509
|
-
"span",
|
|
510
|
-
"svg",
|
|
511
|
-
"ul"
|
|
512
|
-
];
|
|
513
|
-
var Primitive = NODES.reduce((primitive, node) => {
|
|
514
|
-
const Slot = createSlot(`Primitive.${node}`);
|
|
515
|
-
const Node = React9.forwardRef((props, forwardedRef) => {
|
|
516
|
-
const { asChild, ...primitiveProps } = props;
|
|
517
|
-
const Comp = asChild ? Slot : node;
|
|
518
|
-
if (typeof window !== "undefined") {
|
|
519
|
-
window[Symbol.for("radix-ui")] = true;
|
|
520
|
-
}
|
|
521
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Comp, { ...primitiveProps, ref: forwardedRef });
|
|
522
|
-
});
|
|
523
|
-
Node.displayName = `Primitive.${node}`;
|
|
524
|
-
return { ...primitive, [node]: Node };
|
|
525
|
-
}, {});
|
|
526
|
-
|
|
527
|
-
// node_modules/@radix-ui/react-checkbox/dist/index.mjs
|
|
528
|
-
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
529
|
-
var CHECKBOX_NAME = "Checkbox";
|
|
530
|
-
var [createCheckboxContext, createCheckboxScope] = createContextScope(CHECKBOX_NAME);
|
|
531
|
-
var [CheckboxProviderImpl, useCheckboxContext] = createCheckboxContext(CHECKBOX_NAME);
|
|
532
|
-
function CheckboxProvider(props) {
|
|
533
|
-
const {
|
|
534
|
-
__scopeCheckbox,
|
|
535
|
-
checked: checkedProp,
|
|
536
|
-
children,
|
|
537
|
-
defaultChecked,
|
|
538
|
-
disabled,
|
|
539
|
-
form,
|
|
540
|
-
name,
|
|
541
|
-
onCheckedChange,
|
|
542
|
-
required,
|
|
543
|
-
value = "on",
|
|
544
|
-
// @ts-expect-error
|
|
545
|
-
internal_do_not_use_render
|
|
546
|
-
} = props;
|
|
547
|
-
const [checked, setChecked] = useControllableState({
|
|
548
|
-
prop: checkedProp,
|
|
549
|
-
defaultProp: defaultChecked ?? false,
|
|
550
|
-
onChange: onCheckedChange,
|
|
551
|
-
caller: CHECKBOX_NAME
|
|
552
|
-
});
|
|
553
|
-
const [control, setControl] = React10.useState(null);
|
|
554
|
-
const [bubbleInput, setBubbleInput] = React10.useState(null);
|
|
555
|
-
const hasConsumerStoppedPropagationRef = React10.useRef(false);
|
|
556
|
-
const isFormControl = control ? !!form || !!control.closest("form") : (
|
|
557
|
-
// We set this to true by default so that events bubble to forms without JS (SSR)
|
|
558
|
-
true
|
|
559
|
-
);
|
|
560
|
-
const context = {
|
|
561
|
-
checked,
|
|
562
|
-
disabled,
|
|
563
|
-
setChecked,
|
|
564
|
-
control,
|
|
565
|
-
setControl,
|
|
566
|
-
name,
|
|
567
|
-
form,
|
|
568
|
-
value,
|
|
569
|
-
hasConsumerStoppedPropagationRef,
|
|
570
|
-
required,
|
|
571
|
-
defaultChecked: isIndeterminate(defaultChecked) ? false : defaultChecked,
|
|
572
|
-
isFormControl,
|
|
573
|
-
bubbleInput,
|
|
574
|
-
setBubbleInput
|
|
575
|
-
};
|
|
576
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
577
|
-
CheckboxProviderImpl,
|
|
578
|
-
{
|
|
579
|
-
scope: __scopeCheckbox,
|
|
580
|
-
...context,
|
|
581
|
-
children: isFunction2(internal_do_not_use_render) ? internal_do_not_use_render(context) : children
|
|
582
|
-
}
|
|
583
|
-
);
|
|
584
|
-
}
|
|
585
|
-
var TRIGGER_NAME = "CheckboxTrigger";
|
|
586
|
-
var CheckboxTrigger = React10.forwardRef(
|
|
587
|
-
({ __scopeCheckbox, onKeyDown, onClick, ...checkboxProps }, forwardedRef) => {
|
|
588
|
-
const {
|
|
589
|
-
control,
|
|
590
|
-
value,
|
|
591
|
-
disabled,
|
|
592
|
-
checked,
|
|
593
|
-
required,
|
|
594
|
-
setControl,
|
|
595
|
-
setChecked,
|
|
596
|
-
hasConsumerStoppedPropagationRef,
|
|
597
|
-
isFormControl,
|
|
598
|
-
bubbleInput
|
|
599
|
-
} = useCheckboxContext(TRIGGER_NAME, __scopeCheckbox);
|
|
600
|
-
const composedRefs = useComposedRefs(forwardedRef, setControl);
|
|
601
|
-
const initialCheckedStateRef = React10.useRef(checked);
|
|
602
|
-
React10.useEffect(() => {
|
|
603
|
-
const form = control?.form;
|
|
604
|
-
if (form) {
|
|
605
|
-
const reset = () => setChecked(initialCheckedStateRef.current);
|
|
606
|
-
form.addEventListener("reset", reset);
|
|
607
|
-
return () => form.removeEventListener("reset", reset);
|
|
608
|
-
}
|
|
609
|
-
}, [control, setChecked]);
|
|
610
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
611
|
-
Primitive.button,
|
|
612
|
-
{
|
|
613
|
-
type: "button",
|
|
614
|
-
role: "checkbox",
|
|
615
|
-
"aria-checked": isIndeterminate(checked) ? "mixed" : checked,
|
|
616
|
-
"aria-required": required,
|
|
617
|
-
"data-state": getState(checked),
|
|
618
|
-
"data-disabled": disabled ? "" : void 0,
|
|
619
|
-
disabled,
|
|
620
|
-
value,
|
|
621
|
-
...checkboxProps,
|
|
622
|
-
ref: composedRefs,
|
|
623
|
-
onKeyDown: composeEventHandlers(onKeyDown, (event) => {
|
|
624
|
-
if (event.key === "Enter") event.preventDefault();
|
|
625
|
-
}),
|
|
626
|
-
onClick: composeEventHandlers(onClick, (event) => {
|
|
627
|
-
setChecked((prevChecked) => isIndeterminate(prevChecked) ? true : !prevChecked);
|
|
628
|
-
if (bubbleInput && isFormControl) {
|
|
629
|
-
hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();
|
|
630
|
-
if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();
|
|
631
|
-
}
|
|
632
|
-
})
|
|
633
|
-
}
|
|
634
|
-
);
|
|
635
|
-
}
|
|
636
|
-
);
|
|
637
|
-
CheckboxTrigger.displayName = TRIGGER_NAME;
|
|
638
|
-
var Checkbox = React10.forwardRef(
|
|
639
|
-
(props, forwardedRef) => {
|
|
640
|
-
const {
|
|
641
|
-
__scopeCheckbox,
|
|
642
|
-
name,
|
|
643
|
-
checked,
|
|
644
|
-
defaultChecked,
|
|
645
|
-
required,
|
|
646
|
-
disabled,
|
|
647
|
-
value,
|
|
648
|
-
onCheckedChange,
|
|
649
|
-
form,
|
|
650
|
-
...checkboxProps
|
|
651
|
-
} = props;
|
|
652
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
653
|
-
CheckboxProvider,
|
|
654
|
-
{
|
|
655
|
-
__scopeCheckbox,
|
|
656
|
-
checked,
|
|
657
|
-
defaultChecked,
|
|
658
|
-
disabled,
|
|
659
|
-
required,
|
|
660
|
-
onCheckedChange,
|
|
661
|
-
name,
|
|
662
|
-
form,
|
|
663
|
-
value,
|
|
664
|
-
internal_do_not_use_render: ({ isFormControl }) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
|
|
665
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
666
|
-
CheckboxTrigger,
|
|
667
|
-
{
|
|
668
|
-
...checkboxProps,
|
|
669
|
-
ref: forwardedRef,
|
|
670
|
-
__scopeCheckbox
|
|
671
|
-
}
|
|
672
|
-
),
|
|
673
|
-
isFormControl && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
674
|
-
CheckboxBubbleInput,
|
|
675
|
-
{
|
|
676
|
-
__scopeCheckbox
|
|
677
|
-
}
|
|
678
|
-
)
|
|
679
|
-
] })
|
|
680
|
-
}
|
|
681
|
-
);
|
|
682
|
-
}
|
|
683
|
-
);
|
|
684
|
-
Checkbox.displayName = CHECKBOX_NAME;
|
|
685
|
-
var INDICATOR_NAME = "CheckboxIndicator";
|
|
686
|
-
var CheckboxIndicator = React10.forwardRef(
|
|
687
|
-
(props, forwardedRef) => {
|
|
688
|
-
const { __scopeCheckbox, forceMount, ...indicatorProps } = props;
|
|
689
|
-
const context = useCheckboxContext(INDICATOR_NAME, __scopeCheckbox);
|
|
690
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
691
|
-
Presence,
|
|
692
|
-
{
|
|
693
|
-
present: forceMount || isIndeterminate(context.checked) || context.checked === true,
|
|
694
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
695
|
-
Primitive.span,
|
|
696
|
-
{
|
|
697
|
-
"data-state": getState(context.checked),
|
|
698
|
-
"data-disabled": context.disabled ? "" : void 0,
|
|
699
|
-
...indicatorProps,
|
|
700
|
-
ref: forwardedRef,
|
|
701
|
-
style: { pointerEvents: "none", ...props.style }
|
|
702
|
-
}
|
|
703
|
-
)
|
|
704
|
-
}
|
|
705
|
-
);
|
|
706
|
-
}
|
|
707
|
-
);
|
|
708
|
-
CheckboxIndicator.displayName = INDICATOR_NAME;
|
|
709
|
-
var BUBBLE_INPUT_NAME = "CheckboxBubbleInput";
|
|
710
|
-
var CheckboxBubbleInput = React10.forwardRef(
|
|
711
|
-
({ __scopeCheckbox, ...props }, forwardedRef) => {
|
|
712
|
-
const {
|
|
713
|
-
control,
|
|
714
|
-
hasConsumerStoppedPropagationRef,
|
|
715
|
-
checked,
|
|
716
|
-
defaultChecked,
|
|
717
|
-
required,
|
|
718
|
-
disabled,
|
|
719
|
-
name,
|
|
720
|
-
value,
|
|
721
|
-
form,
|
|
722
|
-
bubbleInput,
|
|
723
|
-
setBubbleInput
|
|
724
|
-
} = useCheckboxContext(BUBBLE_INPUT_NAME, __scopeCheckbox);
|
|
725
|
-
const composedRefs = useComposedRefs(forwardedRef, setBubbleInput);
|
|
726
|
-
const prevChecked = usePrevious(checked);
|
|
727
|
-
const controlSize = useSize(control);
|
|
728
|
-
React10.useEffect(() => {
|
|
729
|
-
const input = bubbleInput;
|
|
730
|
-
if (!input) return;
|
|
731
|
-
const inputProto = window.HTMLInputElement.prototype;
|
|
732
|
-
const descriptor = Object.getOwnPropertyDescriptor(
|
|
733
|
-
inputProto,
|
|
734
|
-
"checked"
|
|
735
|
-
);
|
|
736
|
-
const setChecked = descriptor.set;
|
|
737
|
-
const bubbles = !hasConsumerStoppedPropagationRef.current;
|
|
738
|
-
if (prevChecked !== checked && setChecked) {
|
|
739
|
-
const event = new Event("click", { bubbles });
|
|
740
|
-
input.indeterminate = isIndeterminate(checked);
|
|
741
|
-
setChecked.call(input, isIndeterminate(checked) ? false : checked);
|
|
742
|
-
input.dispatchEvent(event);
|
|
743
|
-
}
|
|
744
|
-
}, [bubbleInput, prevChecked, checked, hasConsumerStoppedPropagationRef]);
|
|
745
|
-
const defaultCheckedRef = React10.useRef(isIndeterminate(checked) ? false : checked);
|
|
746
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
747
|
-
Primitive.input,
|
|
748
|
-
{
|
|
749
|
-
type: "checkbox",
|
|
750
|
-
"aria-hidden": true,
|
|
751
|
-
defaultChecked: defaultChecked ?? defaultCheckedRef.current,
|
|
752
|
-
required,
|
|
753
|
-
disabled,
|
|
754
|
-
name,
|
|
755
|
-
value,
|
|
756
|
-
form,
|
|
757
|
-
...props,
|
|
758
|
-
tabIndex: -1,
|
|
759
|
-
ref: composedRefs,
|
|
760
|
-
style: {
|
|
761
|
-
...props.style,
|
|
762
|
-
...controlSize,
|
|
763
|
-
position: "absolute",
|
|
764
|
-
pointerEvents: "none",
|
|
765
|
-
opacity: 0,
|
|
766
|
-
margin: 0,
|
|
767
|
-
// We transform because the input is absolutely positioned but we have
|
|
768
|
-
// rendered it **after** the button. This pulls it back to sit on top
|
|
769
|
-
// of the button.
|
|
770
|
-
transform: "translateX(-100%)"
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
);
|
|
774
|
-
}
|
|
775
|
-
);
|
|
776
|
-
CheckboxBubbleInput.displayName = BUBBLE_INPUT_NAME;
|
|
777
|
-
function isFunction2(value) {
|
|
778
|
-
return typeof value === "function";
|
|
779
|
-
}
|
|
780
|
-
function isIndeterminate(checked) {
|
|
781
|
-
return checked === "indeterminate";
|
|
782
|
-
}
|
|
783
|
-
function getState(checked) {
|
|
784
|
-
return isIndeterminate(checked) ? "indeterminate" : checked ? "checked" : "unchecked";
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
// src/hooks/useOverwritableState.ts
|
|
788
|
-
var import_react = require("react");
|
|
789
|
-
|
|
790
|
-
// src/utils/resolveSetState.ts
|
|
791
|
-
function resolveSetState(action, prev) {
|
|
792
|
-
return typeof action === "function" ? action(prev) : action;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
// src/hooks/useOverwritableState.ts
|
|
796
|
-
var useOverwritableState = (initialValue, onChange) => {
|
|
797
|
-
const [state, setState] = (0, import_react.useState)(initialValue);
|
|
798
|
-
(0, import_react.useEffect)(() => {
|
|
799
|
-
setState(initialValue);
|
|
800
|
-
}, [initialValue]);
|
|
801
|
-
const onChangeWrapper = (action) => {
|
|
802
|
-
const resolved = resolveSetState(action, state);
|
|
803
|
-
setState(resolved);
|
|
804
|
-
onChange?.(state);
|
|
805
|
-
};
|
|
806
|
-
return [state, onChangeWrapper];
|
|
807
|
-
};
|
|
808
|
-
|
|
809
|
-
// src/components/user-action/Checkbox.tsx
|
|
810
|
-
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
811
|
-
var checkboxSizeMapping = {
|
|
812
|
-
sm: "size-5 border-1",
|
|
813
|
-
md: "size-6 border-1",
|
|
814
|
-
lg: "size-8 border-2"
|
|
815
|
-
};
|
|
816
|
-
var checkboxIconSizeMapping = {
|
|
817
|
-
sm: "size-4 stroke-3",
|
|
818
|
-
md: "size-5 stroke-3",
|
|
819
|
-
lg: "size-7 stroke-3"
|
|
820
|
-
};
|
|
821
|
-
var Checkbox2 = ({
|
|
822
|
-
disabled,
|
|
823
|
-
checked = false,
|
|
824
|
-
indeterminate = false,
|
|
825
|
-
onChange,
|
|
826
|
-
size = "md",
|
|
827
|
-
className = "",
|
|
828
|
-
...props
|
|
829
|
-
}) => {
|
|
830
|
-
const usedSizeClass = checkboxSizeMapping[size];
|
|
831
|
-
const innerIconSize = checkboxIconSizeMapping[size];
|
|
832
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
833
|
-
Checkbox,
|
|
834
|
-
{
|
|
835
|
-
...props,
|
|
836
|
-
disabled,
|
|
837
|
-
checked: indeterminate ? "indeterminate" : checked,
|
|
838
|
-
onCheckedChange: onChange,
|
|
839
|
-
className: (0, import_clsx.default)(
|
|
840
|
-
usedSizeClass,
|
|
841
|
-
`flex-col-0 items-center justify-center rounded`,
|
|
842
|
-
{
|
|
843
|
-
"text-disabled border-disabled-outline bg-disabled-background cursor-not-allowed": disabled,
|
|
844
|
-
"hover:border-primary": !disabled,
|
|
845
|
-
"bg-input-background": !disabled && !checked,
|
|
846
|
-
"bg-primary/30 border-primary text-primary": !disabled && (checked || indeterminate)
|
|
847
|
-
},
|
|
848
|
-
className
|
|
849
|
-
),
|
|
850
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(CheckboxIndicator, { children: [
|
|
851
|
-
!checked && !indeterminate && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: (0, import_clsx.default)("bg-input-background", innerIconSize) }),
|
|
852
|
-
checked && !indeterminate && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react.Check, { className: innerIconSize }),
|
|
853
|
-
indeterminate && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react.Minus, { className: innerIconSize })
|
|
854
|
-
] })
|
|
855
|
-
}
|
|
856
|
-
);
|
|
857
|
-
};
|
|
858
|
-
var CheckboxUncontrolled = ({
|
|
859
|
-
checked: initialChecked,
|
|
860
|
-
onChange,
|
|
861
|
-
...props
|
|
862
|
-
}) => {
|
|
863
|
-
const [checked, setChecked] = useOverwritableState(initialChecked, onChange);
|
|
864
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
865
|
-
Checkbox2,
|
|
866
|
-
{
|
|
867
|
-
...props,
|
|
868
|
-
checked,
|
|
869
|
-
onChange: setChecked
|
|
870
|
-
}
|
|
871
|
-
);
|
|
872
|
-
};
|
|
873
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
874
|
-
0 && (module.exports = {
|
|
875
|
-
Checkbox,
|
|
876
|
-
CheckboxUncontrolled
|
|
877
|
-
});
|
|
878
|
-
//# sourceMappingURL=Checkbox.cjs.map
|