@heymantle/litho 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/ActionList.js +50 -16
- package/dist/cjs/components/AnnouncementBar.js +10 -3
- package/dist/cjs/components/AppProvider.js +10 -1
- package/dist/cjs/components/Autocomplete.js +55 -22
- package/dist/cjs/components/Badge.js +2 -1
- package/dist/cjs/components/Banner.js +35 -31
- package/dist/cjs/components/Box.js +5 -3
- package/dist/cjs/components/Button.js +78 -18
- package/dist/cjs/components/Card.js +6 -45
- package/dist/cjs/components/Checkbox.js +16 -6
- package/dist/cjs/components/ChoiceList.js +7 -4
- package/dist/cjs/components/ColorField.js +10 -5
- package/dist/cjs/components/DatePicker.js +13 -8
- package/dist/cjs/components/DropZone.js +33 -18
- package/dist/cjs/components/EmptyState.js +17 -9
- package/dist/cjs/components/Filters.js +36 -23
- package/dist/cjs/components/FooterHelp.js +7 -2
- package/dist/cjs/components/Form.js +18 -3
- package/dist/cjs/components/Frame.js +48 -23
- package/dist/cjs/components/FrameSaveBar.js +21 -12
- package/dist/cjs/components/HorizontalStack.js +9 -2
- package/dist/cjs/components/Icon.js +1 -0
- package/dist/cjs/components/Layout.js +3 -3
- package/dist/cjs/components/LayoutSection.js +2 -2
- package/dist/cjs/components/Link.js +6 -2
- package/dist/cjs/components/List.js +4 -3
- package/dist/cjs/components/Listbox.js +9 -4
- package/dist/cjs/components/Modal.js +26 -17
- package/dist/cjs/components/Navigation.js +30 -20
- package/dist/cjs/components/Page.js +8 -3
- package/dist/cjs/components/Pagination.js +11 -4
- package/dist/cjs/components/Pane.js +168 -41
- package/dist/cjs/components/Popover.js +59 -6
- package/dist/cjs/components/RangeSlider.js +11 -4
- package/dist/cjs/components/ResourceList.js +9 -3
- package/dist/cjs/components/Select.js +2 -0
- package/dist/cjs/components/Stack.js +223 -0
- package/dist/cjs/components/Table.js +33 -20
- package/dist/cjs/components/Tabs.js +41 -11
- package/dist/cjs/components/Text.js +8 -5
- package/dist/cjs/components/TextField.js +23 -13
- package/dist/cjs/components/Thumbnail.js +7 -2
- package/dist/cjs/components/TimePicker.js +7 -2
- package/dist/cjs/components/Tip.js +10 -4
- package/dist/cjs/components/Tooltip.js +16 -8
- package/dist/cjs/components/TopBar.js +17 -9
- package/dist/cjs/components/VerticalStack.js +8 -2
- package/dist/cjs/dev/verify-publish.js +37 -4
- package/dist/cjs/index.js +4 -0
- package/dist/cjs/postcss.config.js +21 -0
- package/dist/cjs/stories/ActionList.stories.js +365 -0
- package/dist/cjs/stories/AnnouncementBar.stories.js +244 -0
- package/dist/cjs/stories/Autocomplete.stories.js +874 -0
- package/dist/cjs/stories/Badge.stories.js +183 -0
- package/dist/cjs/stories/Banner.stories.js +201 -0
- package/dist/cjs/stories/Box.stories.js +601 -0
- package/dist/cjs/stories/Button.stories.js +325 -0
- package/dist/cjs/stories/ButtonGroup.stories.js +404 -0
- package/dist/cjs/stories/Card.stories.js +278 -0
- package/dist/cjs/stories/Checkbox.stories.js +266 -0
- package/dist/cjs/stories/ChoiceList.stories.js +885 -0
- package/dist/cjs/stories/Collapsible.stories.js +917 -0
- package/dist/cjs/stories/ColorField.stories.js +887 -0
- package/dist/cjs/stories/ContextualSaveBar.stories.js +971 -0
- package/dist/cjs/stories/DatePicker.stories.js +584 -0
- package/dist/cjs/stories/Divider.stories.js +766 -0
- package/dist/cjs/stories/DropZone.stories.js +1210 -0
- package/dist/cjs/stories/EmptyState.stories.js +296 -0
- package/dist/cjs/stories/Filters.stories.js +1355 -0
- package/dist/cjs/stories/FooterHelp.stories.js +874 -0
- package/dist/cjs/stories/Form.stories.js +943 -0
- package/dist/cjs/stories/Grid.stories.js +1199 -0
- package/dist/cjs/stories/HorizontalStack.stories.js +1064 -0
- package/dist/cjs/stories/Icon.stories.js +599 -0
- package/dist/cjs/stories/Image.stories.js +883 -0
- package/dist/cjs/stories/InlineError.stories.js +711 -0
- package/dist/cjs/stories/Label.stories.js +665 -0
- package/dist/cjs/stories/Layout.stories.js +687 -0
- package/dist/cjs/stories/LayoutSection.stories.js +1275 -0
- package/dist/cjs/stories/Link.stories.js +425 -0
- package/dist/cjs/stories/List.stories.js +1048 -0
- package/dist/cjs/stories/Listbox.stories.js +824 -0
- package/dist/cjs/stories/Loading.stories.js +909 -0
- package/dist/cjs/stories/Modal.stories.js +363 -0
- package/dist/cjs/stories/Navigation.stories.js +605 -0
- package/dist/cjs/stories/Page.stories.js +327 -0
- package/dist/cjs/stories/Pagination.stories.js +438 -0
- package/dist/cjs/stories/Pane.stories.js +1550 -0
- package/dist/cjs/stories/Popover.stories.js +641 -0
- package/dist/cjs/stories/PopoverManager.stories.js +1233 -0
- package/dist/cjs/stories/ProgressBar.stories.js +513 -0
- package/dist/cjs/stories/RadioButton.stories.js +642 -0
- package/dist/cjs/stories/RadioButtonCard.stories.js +816 -0
- package/dist/cjs/stories/RangeSlider.stories.js +896 -0
- package/dist/cjs/stories/ResourceList.stories.js +1076 -0
- package/dist/cjs/stories/Select.stories.js +413 -0
- package/dist/cjs/stories/SkeletonText.stories.js +777 -0
- package/dist/cjs/stories/Spinner.stories.js +403 -0
- package/dist/cjs/stories/Stack.stories.js +1397 -0
- package/dist/cjs/stories/Table.stories.js +628 -0
- package/dist/cjs/stories/Tabs.stories.js +722 -0
- package/dist/cjs/stories/Tag.stories.js +628 -0
- package/dist/cjs/stories/Text.stories.js +262 -0
- package/dist/cjs/stories/TextField.stories.js +377 -0
- package/dist/cjs/stories/Thumbnail.stories.js +863 -0
- package/dist/cjs/stories/TimePicker.stories.js +967 -0
- package/dist/cjs/stories/Tip.stories.js +753 -0
- package/dist/cjs/stories/Tooltip.stories.js +357 -0
- package/dist/cjs/stories/TopBar.stories.js +157 -0
- package/dist/cjs/stories/VerticalStack.stories.js +1287 -0
- package/dist/cjs/tailwind.config.js +17 -0
- package/dist/cjs/utilities/transformers.js +66 -0
- package/dist/cjs/vite.config.js +35 -0
- package/dist/esm/components/ActionList.js +41 -12
- package/dist/esm/components/AnnouncementBar.js +3 -1
- package/dist/esm/components/AppProvider.js +10 -1
- package/dist/esm/components/Autocomplete.js +44 -16
- package/dist/esm/components/Badge.js +2 -2
- package/dist/esm/components/Banner.js +20 -21
- package/dist/esm/components/Box.js +5 -4
- package/dist/esm/components/Button.js +68 -13
- package/dist/esm/components/Card.js +6 -4
- package/dist/esm/components/Checkbox.js +6 -1
- package/dist/esm/components/ChoiceList.js +7 -4
- package/dist/esm/components/ColorField.js +3 -3
- package/dist/esm/components/DatePicker.js +6 -1
- package/dist/esm/components/DropZone.js +14 -4
- package/dist/esm/components/EmptyState.js +6 -3
- package/dist/esm/components/Filters.js +14 -6
- package/dist/esm/components/FooterHelp.js +1 -1
- package/dist/esm/components/Form.js +18 -3
- package/dist/esm/components/Frame.js +27 -15
- package/dist/esm/components/FrameSaveBar.js +10 -6
- package/dist/esm/components/HorizontalStack.js +9 -2
- package/dist/esm/components/Icon.js +1 -0
- package/dist/esm/components/InlineError.js +1 -1
- package/dist/esm/components/Layout.js +4 -4
- package/dist/esm/components/LayoutSection.js +2 -2
- package/dist/esm/components/Link.js +6 -2
- package/dist/esm/components/List.js +4 -3
- package/dist/esm/components/Listbox.js +4 -4
- package/dist/esm/components/Modal.js +8 -4
- package/dist/esm/components/Navigation.js +16 -11
- package/dist/esm/components/Page.js +9 -4
- package/dist/esm/components/Pagination.js +3 -1
- package/dist/esm/components/Pane.js +165 -43
- package/dist/esm/components/Popover.js +18 -6
- package/dist/esm/components/RangeSlider.js +3 -1
- package/dist/esm/components/ResourceList.js +2 -1
- package/dist/esm/components/Select.js +2 -0
- package/dist/esm/components/Stack.js +213 -0
- package/dist/esm/components/Table.js +17 -4
- package/dist/esm/components/Tabs.js +41 -11
- package/dist/esm/components/Text.js +8 -6
- package/dist/esm/components/TextField.js +6 -1
- package/dist/esm/components/Thumbnail.js +1 -1
- package/dist/esm/components/TimePicker.js +1 -1
- package/dist/esm/components/Tip.js +3 -2
- package/dist/esm/components/Tooltip.js +4 -1
- package/dist/esm/components/TopBar.js +7 -4
- package/dist/esm/components/VerticalStack.js +8 -2
- package/dist/esm/dev/verify-publish.js +37 -4
- package/dist/esm/index.js +1 -0
- package/dist/esm/postcss.config.js +6 -0
- package/dist/esm/stories/ActionList.stories.js +327 -0
- package/dist/esm/stories/AnnouncementBar.stories.js +212 -0
- package/dist/esm/stories/Autocomplete.stories.js +836 -0
- package/dist/esm/stories/Badge.stories.js +138 -0
- package/dist/esm/stories/Banner.stories.js +159 -0
- package/dist/esm/stories/Box.stories.js +560 -0
- package/dist/esm/stories/Button.stories.js +277 -0
- package/dist/esm/stories/ButtonGroup.stories.js +357 -0
- package/dist/esm/stories/Card.stories.js +240 -0
- package/dist/esm/stories/Checkbox.stories.js +219 -0
- package/dist/esm/stories/ChoiceList.stories.js +835 -0
- package/dist/esm/stories/Collapsible.stories.js +879 -0
- package/dist/esm/stories/ColorField.stories.js +846 -0
- package/dist/esm/stories/ContextualSaveBar.stories.js +939 -0
- package/dist/esm/stories/DatePicker.stories.js +537 -0
- package/dist/esm/stories/Divider.stories.js +722 -0
- package/dist/esm/stories/DropZone.stories.js +1166 -0
- package/dist/esm/stories/EmptyState.stories.js +246 -0
- package/dist/esm/stories/Filters.stories.js +1317 -0
- package/dist/esm/stories/FooterHelp.stories.js +818 -0
- package/dist/esm/stories/Form.stories.js +908 -0
- package/dist/esm/stories/Grid.stories.js +1152 -0
- package/dist/esm/stories/HorizontalStack.stories.js +1011 -0
- package/dist/esm/stories/Icon.stories.js +558 -0
- package/dist/esm/stories/Image.stories.js +836 -0
- package/dist/esm/stories/InlineError.stories.js +667 -0
- package/dist/esm/stories/Label.stories.js +612 -0
- package/dist/esm/stories/Layout.stories.js +649 -0
- package/dist/esm/stories/LayoutSection.stories.js +1234 -0
- package/dist/esm/stories/Link.stories.js +381 -0
- package/dist/esm/stories/List.stories.js +992 -0
- package/dist/esm/stories/Listbox.stories.js +780 -0
- package/dist/esm/stories/Loading.stories.js +859 -0
- package/dist/esm/stories/Modal.stories.js +322 -0
- package/dist/esm/stories/Navigation.stories.js +567 -0
- package/dist/esm/stories/Page.stories.js +280 -0
- package/dist/esm/stories/Pagination.stories.js +394 -0
- package/dist/esm/stories/Pane.stories.js +1512 -0
- package/dist/esm/stories/Popover.stories.js +609 -0
- package/dist/esm/stories/PopoverManager.stories.js +1201 -0
- package/dist/esm/stories/ProgressBar.stories.js +472 -0
- package/dist/esm/stories/RadioButton.stories.js +598 -0
- package/dist/esm/stories/RadioButtonCard.stories.js +772 -0
- package/dist/esm/stories/RangeSlider.stories.js +849 -0
- package/dist/esm/stories/ResourceList.stories.js +1038 -0
- package/dist/esm/stories/Select.stories.js +363 -0
- package/dist/esm/stories/SkeletonText.stories.js +718 -0
- package/dist/esm/stories/Spinner.stories.js +362 -0
- package/dist/esm/stories/Stack.stories.js +1338 -0
- package/dist/esm/stories/Table.stories.js +584 -0
- package/dist/esm/stories/Tabs.stories.js +684 -0
- package/dist/esm/stories/Tag.stories.js +581 -0
- package/dist/esm/stories/Text.stories.js +217 -0
- package/dist/esm/stories/TextField.stories.js +332 -0
- package/dist/esm/stories/Thumbnail.stories.js +810 -0
- package/dist/esm/stories/TimePicker.stories.js +911 -0
- package/dist/esm/stories/Tip.stories.js +706 -0
- package/dist/esm/stories/Tooltip.stories.js +313 -0
- package/dist/esm/stories/TopBar.stories.js +116 -0
- package/dist/esm/stories/VerticalStack.stories.js +1240 -0
- package/dist/esm/tailwind.config.js +7 -0
- package/dist/esm/utilities/transformers.js +47 -0
- package/dist/esm/vite.config.js +20 -0
- package/dist/types/components/ActionList.d.ts +122 -0
- package/dist/types/components/ActionList.d.ts.map +1 -0
- package/dist/types/components/AnnouncementBar.d.ts +21 -0
- package/dist/types/components/AnnouncementBar.d.ts.map +1 -0
- package/dist/types/components/AppProvider.d.ts +61 -0
- package/dist/types/components/AppProvider.d.ts.map +1 -0
- package/dist/types/components/Autocomplete.d.ts +135 -0
- package/dist/types/components/Autocomplete.d.ts.map +1 -0
- package/dist/types/components/Badge.d.ts +21 -0
- package/dist/types/components/Badge.d.ts.map +1 -0
- package/dist/types/components/Banner.d.ts +78 -0
- package/dist/types/components/Banner.d.ts.map +1 -0
- package/dist/types/components/Box.d.ts +70 -0
- package/dist/types/components/Box.d.ts.map +1 -0
- package/dist/types/components/Button.d.ts +133 -0
- package/dist/types/components/Button.d.ts.map +1 -0
- package/dist/types/components/ButtonGroup.d.ts +26 -0
- package/dist/types/components/ButtonGroup.d.ts.map +1 -0
- package/dist/types/components/Card.d.ts +141 -0
- package/dist/types/components/Card.d.ts.map +1 -0
- package/dist/types/components/Checkbox.d.ts +56 -0
- package/dist/types/components/Checkbox.d.ts.map +1 -0
- package/dist/types/components/ChoiceList.d.ts +69 -0
- package/dist/types/components/ChoiceList.d.ts.map +1 -0
- package/dist/types/components/Collapsible.d.ts +17 -0
- package/dist/types/components/Collapsible.d.ts.map +1 -0
- package/dist/types/components/ColorField.d.ts +36 -0
- package/dist/types/components/ColorField.d.ts.map +1 -0
- package/dist/types/components/ContextualSaveBar.d.ts +22 -0
- package/dist/types/components/ContextualSaveBar.d.ts.map +1 -0
- package/dist/types/components/DatePicker.d.ts +66 -0
- package/dist/types/components/DatePicker.d.ts.map +1 -0
- package/dist/types/components/Divider.d.ts +21 -0
- package/dist/types/components/Divider.d.ts.map +1 -0
- package/dist/types/components/DropZone.d.ts +108 -0
- package/dist/types/components/DropZone.d.ts.map +1 -0
- package/dist/types/components/EmptyState.d.ts +52 -0
- package/dist/types/components/EmptyState.d.ts.map +1 -0
- package/dist/types/components/Filters.d.ts +168 -0
- package/dist/types/components/Filters.d.ts.map +1 -0
- package/dist/types/components/FooterHelp.d.ts +21 -0
- package/dist/types/components/FooterHelp.d.ts.map +1 -0
- package/dist/types/components/Form.d.ts +39 -0
- package/dist/types/components/Form.d.ts.map +1 -0
- package/dist/types/components/Frame.d.ts +51 -0
- package/dist/types/components/Frame.d.ts.map +1 -0
- package/dist/types/components/FrameSaveBar.d.ts +8 -0
- package/dist/types/components/FrameSaveBar.d.ts.map +1 -0
- package/dist/types/components/Grid.d.ts +39 -0
- package/dist/types/components/Grid.d.ts.map +1 -0
- package/dist/types/components/HorizontalStack.d.ts +36 -0
- package/dist/types/components/HorizontalStack.d.ts.map +1 -0
- package/dist/types/components/Icon.d.ts +43 -0
- package/dist/types/components/Icon.d.ts.map +1 -0
- package/dist/types/components/Image.d.ts +45 -0
- package/dist/types/components/Image.d.ts.map +1 -0
- package/dist/types/components/InlineError.d.ts +22 -0
- package/dist/types/components/InlineError.d.ts.map +1 -0
- package/dist/types/components/Label.d.ts +28 -0
- package/dist/types/components/Label.d.ts.map +1 -0
- package/dist/types/components/Layout.d.ts +44 -0
- package/dist/types/components/Layout.d.ts.map +1 -0
- package/dist/types/components/LayoutSection.d.ts +24 -0
- package/dist/types/components/LayoutSection.d.ts.map +1 -0
- package/dist/types/components/Link.d.ts +38 -0
- package/dist/types/components/Link.d.ts.map +1 -0
- package/dist/types/components/List.d.ts +33 -0
- package/dist/types/components/List.d.ts.map +1 -0
- package/dist/types/components/Listbox.d.ts +34 -0
- package/dist/types/components/Listbox.d.ts.map +1 -0
- package/dist/types/components/Loading.d.ts +13 -0
- package/dist/types/components/Loading.d.ts.map +1 -0
- package/dist/types/components/Modal.d.ts +75 -0
- package/dist/types/components/Modal.d.ts.map +1 -0
- package/dist/types/components/Navigation.d.ts +105 -0
- package/dist/types/components/Navigation.d.ts.map +1 -0
- package/dist/types/components/Page.d.ts +59 -0
- package/dist/types/components/Page.d.ts.map +1 -0
- package/dist/types/components/Pagination.d.ts +39 -0
- package/dist/types/components/Pagination.d.ts.map +1 -0
- package/dist/types/components/Pane.d.ts +11 -0
- package/dist/types/components/Pane.d.ts.map +1 -0
- package/dist/types/components/Popover.d.ts +56 -0
- package/dist/types/components/Popover.d.ts.map +1 -0
- package/dist/types/components/PopoverManager.d.ts +3 -0
- package/dist/types/components/PopoverManager.d.ts.map +1 -0
- package/dist/types/components/ProgressBar.d.ts +24 -0
- package/dist/types/components/ProgressBar.d.ts.map +1 -0
- package/dist/types/components/RadioButton.d.ts +39 -0
- package/dist/types/components/RadioButton.d.ts.map +1 -0
- package/dist/types/components/RadioButtonCard.d.ts +41 -0
- package/dist/types/components/RadioButtonCard.d.ts.map +1 -0
- package/dist/types/components/RangeSlider.d.ts +44 -0
- package/dist/types/components/RangeSlider.d.ts.map +1 -0
- package/dist/types/components/ResourceList.d.ts +54 -0
- package/dist/types/components/ResourceList.d.ts.map +1 -0
- package/dist/types/components/Select.d.ts +48 -0
- package/dist/types/components/Select.d.ts.map +1 -0
- package/dist/types/components/SkeletonText.d.ts +28 -0
- package/dist/types/components/SkeletonText.d.ts.map +1 -0
- package/dist/types/components/Spinner.d.ts +18 -0
- package/dist/types/components/Spinner.d.ts.map +1 -0
- package/dist/types/components/Stack.d.ts +49 -0
- package/dist/types/components/Stack.d.ts.map +1 -0
- package/dist/types/components/Table.d.ts +197 -0
- package/dist/types/components/Table.d.ts.map +1 -0
- package/dist/types/components/Tabs.d.ts +43 -0
- package/dist/types/components/Tabs.d.ts.map +1 -0
- package/dist/types/components/Tag.d.ts +26 -0
- package/dist/types/components/Tag.d.ts.map +1 -0
- package/dist/types/components/Text.d.ts +32 -0
- package/dist/types/components/Text.d.ts.map +1 -0
- package/dist/types/components/TextField.d.ts +109 -0
- package/dist/types/components/TextField.d.ts.map +1 -0
- package/dist/types/components/Thumbnail.d.ts +18 -0
- package/dist/types/components/Thumbnail.d.ts.map +1 -0
- package/dist/types/components/TimePicker.d.ts +3 -0
- package/dist/types/components/TimePicker.d.ts.map +1 -0
- package/dist/types/components/Tip.d.ts +23 -0
- package/dist/types/components/Tip.d.ts.map +1 -0
- package/dist/types/components/Tooltip.d.ts +84 -0
- package/dist/types/components/Tooltip.d.ts.map +1 -0
- package/dist/types/components/TopBar.d.ts +43 -0
- package/dist/types/components/TopBar.d.ts.map +1 -0
- package/dist/types/components/VerticalStack.d.ts +27 -0
- package/dist/types/components/VerticalStack.d.ts.map +1 -0
- package/dist/types/index.d.ts +63 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/styles/Table.d.ts +1570 -0
- package/dist/types/styles/Table.d.ts.map +1 -0
- package/dist/types/utilities/dates.d.ts +46 -0
- package/dist/types/utilities/dates.d.ts.map +1 -0
- package/dist/types/utilities/transformers.d.ts +4 -0
- package/dist/types/utilities/transformers.d.ts.map +1 -0
- package/dist/types/utilities/useIndexResourceState.d.ts +21 -0
- package/dist/types/utilities/useIndexResourceState.d.ts.map +1 -0
- package/dist/types/utilities/useMounted.d.ts +2 -0
- package/dist/types/utilities/useMounted.d.ts.map +1 -0
- package/dist/types/utilities/useTableScrollState.d.ts +29 -0
- package/dist/types/utilities/useTableScrollState.d.ts.map +1 -0
- package/index.css +17 -0
- package/package.json +38 -7
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
export default Table;
|
|
2
|
+
export type TableHeading = {
|
|
3
|
+
/**
|
|
4
|
+
* - The title content of the heading.
|
|
5
|
+
*/
|
|
6
|
+
title: string | React.ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* - Whether the column is sortable.
|
|
9
|
+
*/
|
|
10
|
+
sortable?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* - Alignment of the heading content.
|
|
13
|
+
*/
|
|
14
|
+
alignment?: "start" | "end" | "left" | "right" | "center";
|
|
15
|
+
/**
|
|
16
|
+
* - Whether the heading is hidden.
|
|
17
|
+
*/
|
|
18
|
+
hidden?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* - Tooltip content for the heading.
|
|
21
|
+
*/
|
|
22
|
+
tooltip?: string | React.ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* - Alternative tooltip content for the heading.
|
|
25
|
+
*/
|
|
26
|
+
tooltipContent?: string | React.ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* - Callback function when the heading is clicked.
|
|
29
|
+
*/
|
|
30
|
+
onAction?: Function;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @typedef {Object} TableHeading
|
|
34
|
+
* @property {string|React.ReactNode} title - The title content of the heading.
|
|
35
|
+
* @property {boolean} [sortable=false] - Whether the column is sortable.
|
|
36
|
+
* @property {"start" | "end" | "left" | "right" | "center"} [alignment="start"] - Alignment of the heading content.
|
|
37
|
+
* @property {boolean} [hidden=false] - Whether the heading is hidden.
|
|
38
|
+
* @property {string|React.ReactNode} [tooltip] - Tooltip content for the heading.
|
|
39
|
+
* @property {string|React.ReactNode} [tooltipContent] - Alternative tooltip content for the heading.
|
|
40
|
+
* @property {Function} [onAction] - Callback function when the heading is clicked.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Table component for displaying data in a customizable, sortable, and scrollable format.
|
|
44
|
+
*
|
|
45
|
+
* @param {Object} props - Component props.
|
|
46
|
+
* @param {Array<TableHeading|string|React.ReactNode>} [props.headings=[]] - Column headings. Can be strings, React nodes, or configuration objects.
|
|
47
|
+
* @param {"default" | "subdued"} [props.headingStyle="default"] - Style of the heading.
|
|
48
|
+
* @param {Array<Array<string | React.ReactNode>>} [props.rows=[]] - Table rows with cell content.
|
|
49
|
+
* @param {string} [props.verticalAlign="middle"] - Vertical alignment ('top', 'middle', 'bottom').
|
|
50
|
+
* @param {number} [props.fixedFirstColumns=0] - Number of fixed left columns.
|
|
51
|
+
* @param {number} [props.fixedLastColumns=0] - Number of fixed right columns.
|
|
52
|
+
* @param {number} [props.initialSortColumnIndex] - Initial sorted column index.
|
|
53
|
+
* @param {"ascending" | "descending"} [props.defaultSortDirection="ascending"] - Default sort direction.
|
|
54
|
+
* @param {Function} [props.onSort] - Callback for sorting.
|
|
55
|
+
* @param {boolean} [props.increasedTableDensity=false] - Whether to reduce padding for higher density.
|
|
56
|
+
* @param {Array<string | React.ReactNode>} [props.footers=[]] - Footer row content.
|
|
57
|
+
* @param {number} [props.firstColumnMinWidth] - Minimum width of the first column.
|
|
58
|
+
* @param {boolean} [props.bordered=false] - Whether to show table borders.
|
|
59
|
+
* @param {boolean} [props.topBorder=true] - Whether to show a top border.
|
|
60
|
+
* @param {number} [props.skeletonRows=20] - Number of skeleton rows to render when loading.
|
|
61
|
+
* @param {string} [props.paginatedSelectAllActionText] - Text for the paginated select all action.
|
|
62
|
+
* @param {Object} [props.resourceName] - Object containing singular and plural resource names.
|
|
63
|
+
* @param {string} [props.resourceName.singular] - Singular resource name.
|
|
64
|
+
* @param {string} [props.resourceName.plural] - Plural resource name.
|
|
65
|
+
* @param {number} [props.itemCount] - Total number of items in the table.
|
|
66
|
+
* @param {boolean} [props.selectable=true] - Whether the table is selectable.
|
|
67
|
+
* @param {Function} [props.onSelectionChange] - Callback for handling selection changes.
|
|
68
|
+
* @param {boolean} [props.loading=false] - Whether the table is loading.
|
|
69
|
+
* @returns {React.ReactElement} The rendered Table component.
|
|
70
|
+
*/
|
|
71
|
+
declare function Table(props?: {
|
|
72
|
+
headings?: Array<TableHeading | string | React.ReactNode>;
|
|
73
|
+
headingStyle?: "default" | "subdued";
|
|
74
|
+
rows?: Array<Array<string | React.ReactNode>>;
|
|
75
|
+
verticalAlign?: string;
|
|
76
|
+
fixedFirstColumns?: number;
|
|
77
|
+
fixedLastColumns?: number;
|
|
78
|
+
initialSortColumnIndex?: number;
|
|
79
|
+
defaultSortDirection?: "ascending" | "descending";
|
|
80
|
+
onSort?: Function;
|
|
81
|
+
increasedTableDensity?: boolean;
|
|
82
|
+
footers?: Array<string | React.ReactNode>;
|
|
83
|
+
firstColumnMinWidth?: number;
|
|
84
|
+
bordered?: boolean;
|
|
85
|
+
topBorder?: boolean;
|
|
86
|
+
skeletonRows?: number;
|
|
87
|
+
paginatedSelectAllActionText?: string;
|
|
88
|
+
resourceName?: {
|
|
89
|
+
singular?: string;
|
|
90
|
+
plural?: string;
|
|
91
|
+
};
|
|
92
|
+
itemCount?: number;
|
|
93
|
+
selectable?: boolean;
|
|
94
|
+
onSelectionChange?: Function;
|
|
95
|
+
loading?: boolean;
|
|
96
|
+
}): React.ReactElement;
|
|
97
|
+
declare namespace Table {
|
|
98
|
+
let displayName: string;
|
|
99
|
+
/**
|
|
100
|
+
* Represents a row within the Table.
|
|
101
|
+
* @param {Object} props - Row properties.
|
|
102
|
+
* @param {string} props.id - Unique row identifier.
|
|
103
|
+
* @param {boolean} props.selected - Whether the row is selected.
|
|
104
|
+
* @param {Function} props.onClick - Click handler.
|
|
105
|
+
* @param {number} props.position - Position index.
|
|
106
|
+
* @param {React.ReactNode} props.children - Row content.
|
|
107
|
+
* @returns {React.ReactElement} The rendered Table.Row component.
|
|
108
|
+
*/
|
|
109
|
+
function Row({ id, selected, onClick, position, children, ...rest }: {
|
|
110
|
+
id: string;
|
|
111
|
+
selected: boolean;
|
|
112
|
+
onClick: Function;
|
|
113
|
+
position: number;
|
|
114
|
+
children: React.ReactNode;
|
|
115
|
+
}): React.ReactElement;
|
|
116
|
+
namespace Row {
|
|
117
|
+
let displayName_1: string;
|
|
118
|
+
export { displayName_1 as displayName };
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Represents a cell within a table row.
|
|
122
|
+
* @param {Object} props - Cell properties.
|
|
123
|
+
* @param {string} [props.alignment="start"] - Text alignment.
|
|
124
|
+
* @param {boolean} [props.selectionCell=false] - Whether this is a selection cell.
|
|
125
|
+
* @param {React.ReactNode} props.children - Cell content.
|
|
126
|
+
* @returns {React.ReactElement} The rendered Table.Cell component.
|
|
127
|
+
*/
|
|
128
|
+
function Cell({ alignment: _alignment, children, selectionCell, }: {
|
|
129
|
+
alignment?: string;
|
|
130
|
+
selectionCell?: boolean;
|
|
131
|
+
children: React.ReactNode;
|
|
132
|
+
}): React.ReactElement;
|
|
133
|
+
namespace Cell {
|
|
134
|
+
let displayName_2: string;
|
|
135
|
+
export { displayName_2 as displayName };
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Footer component for the Table.
|
|
139
|
+
* Displays pagination controls and optionally the total result count.
|
|
140
|
+
*
|
|
141
|
+
* @param {Object} props - The component props.
|
|
142
|
+
* @param {boolean} props.hasNextPage - Whether there is a next page.
|
|
143
|
+
* @param {boolean} props.hasPreviousPage - Whether there is a previous page.
|
|
144
|
+
* @param {Function} props.onNext - Callback function for the next page action.
|
|
145
|
+
* @param {Function} props.onPrevious - Callback function for the previous page action.
|
|
146
|
+
* @param {boolean} [props.showTotalResultCount=false] - Whether to show the total result count.
|
|
147
|
+
* @param {number} [props.total=0] - The total number of results.
|
|
148
|
+
* @param {boolean} [props.paddedHalf=false] - Whether to apply half padding.
|
|
149
|
+
* @returns {JSX.Element|null} The Footer component or null if no pagination is required.
|
|
150
|
+
*/
|
|
151
|
+
function Footer({ hasNextPage, hasPreviousPage, onNext, onPrevious, showTotalResultCount, total, paddedHalf, }: {
|
|
152
|
+
hasNextPage: boolean;
|
|
153
|
+
hasPreviousPage: boolean;
|
|
154
|
+
onNext: Function;
|
|
155
|
+
onPrevious: Function;
|
|
156
|
+
showTotalResultCount?: boolean;
|
|
157
|
+
total?: number;
|
|
158
|
+
paddedHalf?: boolean;
|
|
159
|
+
}): JSX.Element | null;
|
|
160
|
+
namespace Footer {
|
|
161
|
+
let displayName_3: string;
|
|
162
|
+
export { displayName_3 as displayName };
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* BulkActions component for the Table.
|
|
166
|
+
* Displays bulk action buttons with optional promoted actions.
|
|
167
|
+
*
|
|
168
|
+
* @param {Object} props - The component props.
|
|
169
|
+
* @param {Array} [props.bulkActions=[]] - List of bulk actions.
|
|
170
|
+
* @param {Array} [props.promotedBulkActions=[]] - List of promoted bulk actions.
|
|
171
|
+
* @returns {JSX.Element} The BulkActions component.
|
|
172
|
+
*/
|
|
173
|
+
function BulkActions({ bulkActions, promotedBulkActions }: {
|
|
174
|
+
bulkActions?: any[];
|
|
175
|
+
promotedBulkActions?: any[];
|
|
176
|
+
}): JSX.Element;
|
|
177
|
+
namespace BulkActions {
|
|
178
|
+
let displayName_4: string;
|
|
179
|
+
export { displayName_4 as displayName };
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* SkeletonRow component for displaying loading placeholders in the Table.
|
|
183
|
+
*
|
|
184
|
+
* @param {Object} props - The component props.
|
|
185
|
+
* @param {number} [props.columns=1] - The number of columns to render.
|
|
186
|
+
* @returns {JSX.Element} The SkeletonRow component.
|
|
187
|
+
*/
|
|
188
|
+
function SkeletonRow({ columns }: {
|
|
189
|
+
columns?: number;
|
|
190
|
+
}): JSX.Element;
|
|
191
|
+
namespace SkeletonRow {
|
|
192
|
+
let displayName_5: string;
|
|
193
|
+
export { displayName_5 as displayName };
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
import React from "react";
|
|
197
|
+
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../components/Table.js"],"names":[],"mappings":";;;;;WAyCc,MAAM,GAAC,KAAK,CAAC,SAAS;;;;eACtB,OAAO;;;;gBACP,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ;;;;aAC7C,OAAO;;;;cACP,MAAM,GAAC,KAAK,CAAC,SAAS;;;;qBACtB,MAAM,GAAC,KAAK,CAAC,SAAS;;;;;;AAPpC;;;;;;;;;GASG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,+BAzBG;IAA2D,QAAQ,GAA3D,KAAK,CAAC,YAAY,GAAC,MAAM,GAAC,KAAK,CAAC,SAAS,CAAC;IACZ,YAAY,GAA1C,SAAS,GAAG,SAAS;IAC0B,IAAI,GAAnD,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;IACvB,aAAa,GAA5B,MAAM;IACS,iBAAiB,GAAhC,MAAM;IACS,gBAAgB,GAA/B,MAAM;IACS,sBAAsB,GAArC,MAAM;IAC6B,oBAAoB,GAAvD,WAAW,GAAG,YAAY;IACT,MAAM;IACP,qBAAqB,GAArC,OAAO;IACiC,OAAO,GAA/C,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChB,mBAAmB,GAAlC,MAAM;IACU,QAAQ,GAAxB,OAAO;IACS,SAAS,GAAzB,OAAO;IACQ,YAAY,GAA3B,MAAM;IACS,4BAA4B,GAA3C,MAAM;IACS,YAAY,GACnC;QAAoC,QAAQ,GAApC,MAAM;QACsB,MAAM,GAAlC,MAAM;KACd;IAAuB,SAAS,GAAxB,MAAM;IACU,UAAU,GAA1B,OAAO;IACU,iBAAiB;IAClB,OAAO,GAAvB,OAAO;CACf,GAAU,KAAK,CAAC,YAAY,CA8vB9B;;;IAGD;;;;;;;;;OASG;IACH,qEAPG;QAAsB,EAAE,EAAhB,MAAM;QACS,QAAQ,EAAvB,OAAO;QACS,OAAO;QACT,QAAQ,EAAtB,MAAM;QACiB,QAAQ,EAA/B,KAAK,CAAC,SAAS;KACvB,GAAU,KAAK,CAAC,YAAY,CA8F9B;;;;;IAID;;;;;;;OAOG;IACH,mEALG;QAAuB,SAAS,GAAxB,MAAM;QACU,aAAa,GAA7B,OAAO;QACgB,QAAQ,EAA/B,KAAK,CAAC,SAAS;KACvB,GAAU,KAAK,CAAC,YAAY,CAmD9B;;;;;IAID;;;;;;;;;;;;;OAaG;IACH,gHATG;QAAuB,WAAW,EAA1B,OAAO;QACQ,eAAe,EAA9B,OAAO;QACS,MAAM;QACN,UAAU;QACV,oBAAoB,GAApC,OAAO;QACQ,KAAK,GAApB,MAAM;QACU,UAAU,GAA1B,OAAO;KACf,GAAU,GAAG,CAAC,OAAO,GAAC,IAAI,CA6B5B;;;;;IAID;;;;;;;;OAQG;IACH,2DAJG;QAAsB,WAAW;QACX,mBAAmB;KACzC,GAAU,GAAG,CAAC,OAAO,CA4DvB;;;;;IAID;;;;;;OAMG;IACH,kCAHG;QAAuB,OAAO,GAAtB,MAAM;KACd,GAAU,GAAG,CAAC,OAAO,CAoBvB;;;;;;kBAjnCM,OAAO"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export default Tabs;
|
|
2
|
+
/**
|
|
3
|
+
* Tabs component that displays a set of tab items with selectable states.
|
|
4
|
+
*
|
|
5
|
+
* @param {Object} props - Component props.
|
|
6
|
+
* @param {Object[]} props.tabs - List of tabs to display.
|
|
7
|
+
* @param {string} props.tabs[].id - Unique identifier for the tab.
|
|
8
|
+
* @param {string} props.tabs[].content - Content or label to display for the tab.
|
|
9
|
+
* @param {string} [props.tabs[].icon] - Optional icon to display for the tab.
|
|
10
|
+
* @param {boolean} [props.tabs[].disclosure=false] - Whether the tab is part of a "More" disclosure group.
|
|
11
|
+
* @param {number} props.selected - Index of the currently selected tab.
|
|
12
|
+
* @param {Function} props.onSelect - Callback fired when a tab is selected, receives the tab's index.
|
|
13
|
+
* @param {boolean} [props.fullWidth=false] - Whether the tabs should expand to fit the container width.
|
|
14
|
+
* @param {string} [props.disclosureText="More"] - Label for the "More" disclosure tab.
|
|
15
|
+
* @param {boolean} [props.disclosure=false] - Whether the "More" disclosure is enabled.
|
|
16
|
+
* @param {boolean} [props.activeDisclosure=false] - Whether the "More" disclosure is currently active.
|
|
17
|
+
* @param {boolean} [props.padded=true] - If true, applies padding to the Tabs container.
|
|
18
|
+
* @param {boolean} [props.borderBottom=true] - If true, applies a bottom border to the Tabs container.
|
|
19
|
+
* @param {boolean} [props.simpleTabs=false] - If true, simplifies the styling for the selected tab.
|
|
20
|
+
* @returns {JSX.Element} The Tabs component.
|
|
21
|
+
*/
|
|
22
|
+
declare function Tabs(props?: {
|
|
23
|
+
tabs: {
|
|
24
|
+
id: string;
|
|
25
|
+
content: string;
|
|
26
|
+
icon?: string;
|
|
27
|
+
disclosure?: boolean;
|
|
28
|
+
};
|
|
29
|
+
selected: number;
|
|
30
|
+
onSelect: Function;
|
|
31
|
+
fullWidth?: boolean;
|
|
32
|
+
disclosureText?: string;
|
|
33
|
+
disclosure?: boolean;
|
|
34
|
+
activeDisclosure?: boolean;
|
|
35
|
+
padded?: boolean;
|
|
36
|
+
borderBottom?: boolean;
|
|
37
|
+
simpleTabs?: boolean;
|
|
38
|
+
}): JSX.Element;
|
|
39
|
+
declare namespace Tabs {
|
|
40
|
+
export { Tab };
|
|
41
|
+
}
|
|
42
|
+
declare function Tab(props?: {}): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../components/Tabs.js"],"names":[],"mappings":";AAmCA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,8BAjBG;IAAwB,IAAI,EAC5B;QAA6B,EAAE,EAAvB,MAAM;QACe,OAAO,EAA5B,MAAM;QACgB,IAAI,GAA1B,MAAM;QACiB,UAAU,GAAjC,OAAO;KACf;IAAsB,QAAQ,EAAtB,MAAM;IACU,QAAQ;IACR,SAAS,GAAzB,OAAO;IACQ,cAAc,GAA7B,MAAM;IACU,UAAU,GAA1B,OAAO;IACS,gBAAgB,GAAhC,OAAO;IACS,MAAM,GAAtB,OAAO;IACS,YAAY,GAA5B,OAAO;IACS,UAAU,GAA1B,OAAO;CACf,GAAU,GAAG,CAAC,OAAO,CAwLvB;;;;AAoDD,0EA6DC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export default Tag;
|
|
2
|
+
/**
|
|
3
|
+
* Renders a Tag component with optional interactive and removable features.
|
|
4
|
+
*
|
|
5
|
+
* @function Tag
|
|
6
|
+
* @param {Object} props - The properties for the Tag component.
|
|
7
|
+
* @param {React.ReactNode} props.children - The content to be displayed inside the Tag.
|
|
8
|
+
* @param {boolean} [props.disabled=false] - Whether the tag is disabled.
|
|
9
|
+
* @param {Function} [props.onClick] - The callback function to execute on tag click.
|
|
10
|
+
* @param {Function} [props.onRemove] - The callback function to execute when the remove icon is clicked.
|
|
11
|
+
* @param {string} [props.accessibilityLabel] - The accessibility label for the tag.
|
|
12
|
+
* @param {string} [props.url] - The URL to open when the tag is clicked.
|
|
13
|
+
* @param {string} [props.target="_self"] - Specifies where to open the URL.
|
|
14
|
+
*
|
|
15
|
+
* @returns {JSX.Element} The rendered Tag component.
|
|
16
|
+
*/
|
|
17
|
+
declare function Tag(props?: {
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
onClick?: Function;
|
|
21
|
+
onRemove?: Function;
|
|
22
|
+
accessibilityLabel?: string;
|
|
23
|
+
url?: string;
|
|
24
|
+
target?: string;
|
|
25
|
+
}): JSX.Element;
|
|
26
|
+
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../components/Tag.js"],"names":[],"mappings":";AAgFA;;;;;;;;;;;;;;GAcG;AAEH,6BAXG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACC,QAAQ,GAAxB,OAAO;IACU,OAAO;IACP,QAAQ;IACV,kBAAkB,GAAjC,MAAM;IACS,GAAG,GAAlB,MAAM;IACS,MAAM,GAArB,MAAM;CAEd,GAAU,GAAG,CAAC,OAAO,CA2EvB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default Text;
|
|
2
|
+
/**
|
|
3
|
+
* A text component that renders styled text based on provided props.
|
|
4
|
+
*
|
|
5
|
+
* @param {Object} props - Properties to customize the text component.
|
|
6
|
+
* @param {'left' | 'center' | 'right' | 'end' | 'start'} [props.alignment] - Text alignment.
|
|
7
|
+
* @param {'normal' | 'regular' | 'medium' | 'semibold' | 'bold'} [props.fontWeight] - Font weight.
|
|
8
|
+
* @param {'default' | 'subdued' | 'critical' | 'success' | 'warning' | 'alternate' | 'link' | 'disabled'} [props.color] - Text color variant.
|
|
9
|
+
* @param {boolean} [props.truncate] - Whether to truncate text with ellipsis.
|
|
10
|
+
* @param {'headingXl' | 'headingLg' | 'headingMd' | 'headingSm' | 'headingXs' | 'bodyXl' | 'bodyLg' | 'bodyMd' | 'bodySm' | 'bodyXs'} [props.variant] - Text size and style variant.
|
|
11
|
+
* @param {boolean} [props.visuallyHidden] - Visually hides text for accessibility.
|
|
12
|
+
* @param {string} [props.className] - Additional CSS class names.
|
|
13
|
+
* @param {string} [props.as] - Element type (e.g., 'p' or 'span').
|
|
14
|
+
* @param {number} [props.clampLines] - Number of lines to clamp.
|
|
15
|
+
* @param {boolean} [props.strike] - Whether to strike through the text.
|
|
16
|
+
* @param {React.ReactNode} [props.children] - The content to be displayed within the text component. Defaults to an empty string.
|
|
17
|
+
* @returns {JSX.Element} Rendered text component with applied styles.
|
|
18
|
+
*/
|
|
19
|
+
declare function Text(props?: {
|
|
20
|
+
alignment?: "left" | "center" | "right" | "end" | "start";
|
|
21
|
+
fontWeight?: "normal" | "regular" | "medium" | "semibold" | "bold";
|
|
22
|
+
color?: "default" | "subdued" | "critical" | "success" | "warning" | "alternate" | "link" | "disabled";
|
|
23
|
+
truncate?: boolean;
|
|
24
|
+
variant?: "headingXl" | "headingLg" | "headingMd" | "headingSm" | "headingXs" | "bodyXl" | "bodyLg" | "bodyMd" | "bodySm" | "bodyXs";
|
|
25
|
+
visuallyHidden?: boolean;
|
|
26
|
+
className?: string;
|
|
27
|
+
as?: string;
|
|
28
|
+
clampLines?: number;
|
|
29
|
+
strike?: boolean;
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
}): JSX.Element;
|
|
32
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../components/Text.js"],"names":[],"mappings":";AA6IA;;;;;;;;;;;;;;;;GAgBG;AAEH,8BAdG;IAA8D,SAAS,GAA/D,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,OAAO;IACiB,UAAU,GAAxE,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM;IACkD,KAAK,GAA5G,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU;IAC9E,QAAQ,GAAxB,OAAO;IAC4H,OAAO,GAA1I,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ;IAC1G,cAAc,GAA9B,OAAO;IACQ,SAAS,GAAxB,MAAM;IACS,EAAE,GAAjB,MAAM;IACS,UAAU,GAAzB,MAAM;IACU,MAAM,GAAtB,OAAO;IACiB,QAAQ,GAAhC,KAAK,CAAC,SAAS;CACvB,GAAU,GAAG,CAAC,OAAO,CAwCvB"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
export default TextField;
|
|
2
|
+
/**
|
|
3
|
+
* Renders a TextField component.
|
|
4
|
+
*
|
|
5
|
+
* @function TextField
|
|
6
|
+
* @param {Object} props - The properties for the TextField component.
|
|
7
|
+
* @param {string} [props.prefix] - Text content to display before the input.
|
|
8
|
+
* @param {string} [props.suffix] - Text content to display after the input.
|
|
9
|
+
* @param {string} [props.placeholder] - Placeholder text for the input.
|
|
10
|
+
* @param {string} [props.value=''] - The current value of the input.
|
|
11
|
+
* @param {string} [props.helpText] - Helper text to display below the input.
|
|
12
|
+
* @param {string} [props.label] - Label text for the input field.
|
|
13
|
+
* @param {string} [props.labelVariant='bodyMd'] - Visual variant for the label text.
|
|
14
|
+
* @param {Object} [props.labelAction] - Action button to display next to the label.
|
|
15
|
+
* @param {boolean} [props.labelHidden] - Whether to visually hide the label.
|
|
16
|
+
* @param {boolean} [props.disabled=false] - Whether the input is disabled. Defaults to false.
|
|
17
|
+
* @param {boolean} [props.clearButton] - Whether to show a clear button.
|
|
18
|
+
* @param {boolean} [props.readOnly] - Whether the input is read-only.
|
|
19
|
+
* @param {boolean} [props.autoFocus] - Whether to focus the input on mount.
|
|
20
|
+
* @param {boolean} [props.focused] - Whether the input is focused.
|
|
21
|
+
* @param {number} [props.multiline=1] - Number of lines for multiline input (1 for single line). Defaults to 1.
|
|
22
|
+
* @param {boolean} [props.autoGrow=false] - Whether textarea should automatically grow with content. Only applies when multiline > 1.
|
|
23
|
+
* @param {number} [props.maxHeight] - Maximum height in pixels before scrolling starts. Only applies when autoGrow is true.
|
|
24
|
+
* @param {string} [props.error] - Error message to display.
|
|
25
|
+
* @param {ReactNode} [props.connectedRight] - React element to connect to the right of the input.
|
|
26
|
+
* @param {ReactNode} [props.connectedLeft] - React element to connect to the left of the input.
|
|
27
|
+
* @param {string} [props.type='text'] - HTML input type. Defaults to 'text'.
|
|
28
|
+
* @param {boolean} [props.subdued=false] - Whether to use subdued styling.
|
|
29
|
+
* @param {string} [props.name] - Name attribute for the input.
|
|
30
|
+
* @param {string} [props.id] - ID for the input element.
|
|
31
|
+
* @param {string} [props.role] - ARIA role.
|
|
32
|
+
* @param {number} [props.step] - Step value for number inputs.
|
|
33
|
+
* @param {number} [props.largeStep=10] - Large step value when using shift + arrows.
|
|
34
|
+
* @param {string} [props.autoComplete] - HTML autocomplete attribute.
|
|
35
|
+
* @param {number} [props.max] - Maximum value for number inputs.
|
|
36
|
+
* @param {number} [props.maxLength] - Maximum length for text input.
|
|
37
|
+
* @param {number} [props.min] - Minimum value for number inputs.
|
|
38
|
+
* @param {number} [props.minLength] - Minimum length for text input.
|
|
39
|
+
* @param {string} [props.pattern] - Input validation pattern.
|
|
40
|
+
* @param {boolean} [props.spellCheck] - Whether to enable spell checking.
|
|
41
|
+
* @param {string} [props.ariaOwns] - ARIA owns attribute.
|
|
42
|
+
* @param {string} [props.ariaControls] - ARIA controls attribute.
|
|
43
|
+
* @param {boolean} [props.ariaExpanded] - ARIA expanded attribute.
|
|
44
|
+
* @param {string} [props.ariaActiveDescendant] - ARIA active descendant attribute.
|
|
45
|
+
* @param {string} [props.ariaAutocomplete] - ARIA autocomplete attribute.
|
|
46
|
+
* @param {('left'|'center'|'right')} [props.align='left'] - Text alignment within the input.
|
|
47
|
+
* @param {boolean} [props.requiredIndicator] - Whether to show a required field indicator.
|
|
48
|
+
* @param {boolean} [props.selectTextOnFocus] - Whether to select all text when focused.
|
|
49
|
+
* @param {Function} [props.onClearButtonClick] - Handler for clear button click.
|
|
50
|
+
* @param {Function} [props.onChange] - Handler for value changes.
|
|
51
|
+
* @param {Function} [props.onFocus] - Handler for input focus.
|
|
52
|
+
* @param {Function} [props.onBlur] - Handler for input blur.
|
|
53
|
+
* @param {Function} [props.onKeyDown] - Handler for key down.
|
|
54
|
+
* @param {ReactNode} [props.tooltip] - Tooltip content for the label.
|
|
55
|
+
* @param {string} [props.className] - Additional CSS classes.
|
|
56
|
+
* @returns {JSX.Element} The rendered TextField component.
|
|
57
|
+
*/
|
|
58
|
+
declare function TextField(props?: {
|
|
59
|
+
prefix?: string;
|
|
60
|
+
suffix?: string;
|
|
61
|
+
placeholder?: string;
|
|
62
|
+
value?: string;
|
|
63
|
+
helpText?: string;
|
|
64
|
+
label?: string;
|
|
65
|
+
labelVariant?: string;
|
|
66
|
+
labelAction?: any;
|
|
67
|
+
labelHidden?: boolean;
|
|
68
|
+
disabled?: boolean;
|
|
69
|
+
clearButton?: boolean;
|
|
70
|
+
readOnly?: boolean;
|
|
71
|
+
autoFocus?: boolean;
|
|
72
|
+
focused?: boolean;
|
|
73
|
+
multiline?: number;
|
|
74
|
+
autoGrow?: boolean;
|
|
75
|
+
maxHeight?: number;
|
|
76
|
+
error?: string;
|
|
77
|
+
connectedRight?: ReactNode;
|
|
78
|
+
connectedLeft?: ReactNode;
|
|
79
|
+
type?: string;
|
|
80
|
+
subdued?: boolean;
|
|
81
|
+
name?: string;
|
|
82
|
+
id?: string;
|
|
83
|
+
role?: string;
|
|
84
|
+
step?: number;
|
|
85
|
+
largeStep?: number;
|
|
86
|
+
autoComplete?: string;
|
|
87
|
+
max?: number;
|
|
88
|
+
maxLength?: number;
|
|
89
|
+
min?: number;
|
|
90
|
+
minLength?: number;
|
|
91
|
+
pattern?: string;
|
|
92
|
+
spellCheck?: boolean;
|
|
93
|
+
ariaOwns?: string;
|
|
94
|
+
ariaControls?: string;
|
|
95
|
+
ariaExpanded?: boolean;
|
|
96
|
+
ariaActiveDescendant?: string;
|
|
97
|
+
ariaAutocomplete?: string;
|
|
98
|
+
align?: ("left" | "center" | "right");
|
|
99
|
+
requiredIndicator?: boolean;
|
|
100
|
+
selectTextOnFocus?: boolean;
|
|
101
|
+
onClearButtonClick?: Function;
|
|
102
|
+
onChange?: Function;
|
|
103
|
+
onFocus?: Function;
|
|
104
|
+
onBlur?: Function;
|
|
105
|
+
onKeyDown?: Function;
|
|
106
|
+
tooltip?: ReactNode;
|
|
107
|
+
className?: string;
|
|
108
|
+
}): JSX.Element;
|
|
109
|
+
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../components/TextField.js"],"names":[],"mappings":";AA2IA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,mCAnDG;IAAuB,MAAM,GAArB,MAAM;IACS,MAAM,GAArB,MAAM;IACS,WAAW,GAA1B,MAAM;IACS,KAAK,GAApB,MAAM;IACS,QAAQ,GAAvB,MAAM;IACS,KAAK,GAApB,MAAM;IACS,YAAY,GAA3B,MAAM;IACS,WAAW;IACV,WAAW,GAA3B,OAAO;IACS,QAAQ,GAAxB,OAAO;IACS,WAAW,GAA3B,OAAO;IACS,QAAQ,GAAxB,OAAO;IACS,SAAS,GAAzB,OAAO;IACS,OAAO,GAAvB,OAAO;IACQ,SAAS,GAAxB,MAAM;IACU,QAAQ,GAAxB,OAAO;IACQ,SAAS,GAAxB,MAAM;IACS,KAAK,GAApB,MAAM;IACY,cAAc,GAAhC,SAAS;IACS,aAAa,GAA/B,SAAS;IACM,IAAI,GAAnB,MAAM;IACU,OAAO,GAAvB,OAAO;IACQ,IAAI,GAAnB,MAAM;IACS,EAAE,GAAjB,MAAM;IACS,IAAI,GAAnB,MAAM;IACS,IAAI,GAAnB,MAAM;IACS,SAAS,GAAxB,MAAM;IACS,YAAY,GAA3B,MAAM;IACS,GAAG,GAAlB,MAAM;IACS,SAAS,GAAxB,MAAM;IACS,GAAG,GAAlB,MAAM;IACS,SAAS,GAAxB,MAAM;IACS,OAAO,GAAtB,MAAM;IACU,UAAU,GAA1B,OAAO;IACQ,QAAQ,GAAvB,MAAM;IACS,YAAY,GAA3B,MAAM;IACU,YAAY,GAA5B,OAAO;IACQ,oBAAoB,GAAnC,MAAM;IACS,gBAAgB,GAA/B,MAAM;IAC4B,KAAK,GAAvC,CAAC,MAAM,GAAC,QAAQ,GAAC,OAAO,CAAC;IACT,iBAAiB,GAAjC,OAAO;IACS,iBAAiB,GAAjC,OAAO;IACU,kBAAkB;IAClB,QAAQ;IACR,OAAO;IACP,MAAM;IACN,SAAS;IACR,OAAO,GAAzB,SAAS;IACM,SAAS,GAAxB,MAAM;CACd,GAAU,GAAG,CAAC,OAAO,CA2XvB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default Thumbnail;
|
|
2
|
+
/**
|
|
3
|
+
* Thumbnail component to display an image or a placeholder icon.
|
|
4
|
+
*
|
|
5
|
+
* @param {Object} props - The component props.
|
|
6
|
+
* @param {string} [props.src] - The image source URL.
|
|
7
|
+
* @param {string} [props.alt] - The alternative text for the image.
|
|
8
|
+
* @param {("small"|"medium"|"large"|number)} [props.size="medium"] - The size of the thumbnail. Can be "small", "medium", "large", or a numeric pixel value.
|
|
9
|
+
* @param {boolean} [props.skeleton=false] - Whether to show a skeleton loader instead of the image.
|
|
10
|
+
* @returns {JSX.Element} The rendered Thumbnail component.
|
|
11
|
+
*/
|
|
12
|
+
declare function Thumbnail(props?: {
|
|
13
|
+
src?: string;
|
|
14
|
+
alt?: string;
|
|
15
|
+
size?: ("small" | "medium" | "large" | number);
|
|
16
|
+
skeleton?: boolean;
|
|
17
|
+
}): JSX.Element;
|
|
18
|
+
//# sourceMappingURL=Thumbnail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Thumbnail.d.ts","sourceRoot":"","sources":["../../../components/Thumbnail.js"],"names":[],"mappings":";AAyBA;;;;;;;;;GASG;AACH,mCANG;IAAuB,GAAG,GAAlB,MAAM;IACS,GAAG,GAAlB,MAAM;IACoC,IAAI,GAA9C,CAAC,OAAO,GAAC,QAAQ,GAAC,OAAO,GAAC,MAAM,CAAC;IACjB,QAAQ,GAAxB,OAAO;CACf,GAAU,GAAG,CAAC,OAAO,CA0CvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../components/TimePicker.js"],"names":[],"mappings":";AAEA,iFAUC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default Tip;
|
|
2
|
+
/**
|
|
3
|
+
* Tip component for displaying informational messages with optional dismiss functionality.
|
|
4
|
+
*
|
|
5
|
+
* @param {Object} props - The component props.
|
|
6
|
+
* @param {"info" | "critical" | "success" | "warning" | "attention" | "highlight" | "neutral"} [props.status="info"] - The status type of the tip.
|
|
7
|
+
* @param {Function} [props.onDismiss] - Function to call when the dismiss button is clicked.
|
|
8
|
+
* @param {Function} [props.onClick] - Function to call when the tip is clicked.
|
|
9
|
+
* @param {React.ReactNode} props.children - The content of the tip.
|
|
10
|
+
* @param {React.ElementType} [props.icon] - Custom icon for the tip.
|
|
11
|
+
* @param {"left" | "right" | "center"} [props.align="left"] - The alignment of the tip.
|
|
12
|
+
* @returns {JSX.Element} The rendered Tip component.
|
|
13
|
+
*/
|
|
14
|
+
declare function Tip(props?: {
|
|
15
|
+
status?: "info" | "critical" | "success" | "warning" | "attention" | "highlight" | "neutral";
|
|
16
|
+
onDismiss?: Function;
|
|
17
|
+
onClick?: Function;
|
|
18
|
+
children: React.ReactNode;
|
|
19
|
+
icon?: React.ElementType;
|
|
20
|
+
align?: "left" | "right" | "center";
|
|
21
|
+
}): JSX.Element;
|
|
22
|
+
import React from "react";
|
|
23
|
+
//# sourceMappingURL=Tip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tip.d.ts","sourceRoot":"","sources":["../../../components/Tip.js"],"names":[],"mappings":";AAkFA;;;;;;;;;;;GAWG;AACH,6BARG;IAAoG,MAAM,GAAlG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS;IAClE,SAAS;IACT,OAAO;IACD,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACW,IAAI,GAA9B,KAAK,CAAC,WAAW;IACmB,KAAK,GAAzC,MAAM,GAAG,OAAO,GAAG,QAAQ;CACnC,GAAU,GAAG,CAAC,OAAO,CAsDvB;kBAlJ4D,OAAO"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export default Tooltip;
|
|
2
|
+
export type TooltipContentItem = {
|
|
3
|
+
/**
|
|
4
|
+
* - The type of content item
|
|
5
|
+
*/
|
|
6
|
+
type: "paragraph" | "heading" | "list";
|
|
7
|
+
/**
|
|
8
|
+
* - The content of the item. For 'list' type, this should be an array of strings
|
|
9
|
+
*/
|
|
10
|
+
content: string | string[];
|
|
11
|
+
};
|
|
12
|
+
export type TooltipContentObject = {
|
|
13
|
+
/**
|
|
14
|
+
* - Optional heading text for the tooltip
|
|
15
|
+
*/
|
|
16
|
+
heading?: string;
|
|
17
|
+
/**
|
|
18
|
+
* - Array of content items to display in the tooltip
|
|
19
|
+
*/
|
|
20
|
+
content: TooltipContentItem[];
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @typedef {Object} TooltipContentItem
|
|
24
|
+
* @property {'paragraph' | 'heading' | 'list'} type - The type of content item
|
|
25
|
+
* @property {string | string[]} content - The content of the item. For 'list' type, this should be an array of strings
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* @typedef {Object} TooltipContentObject
|
|
29
|
+
* @property {string} [heading] - Optional heading text for the tooltip
|
|
30
|
+
* @property {TooltipContentItem[]} content - Array of content items to display in the tooltip
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* Tooltip component for displaying contextual information when hovering over an element.
|
|
34
|
+
* The tooltip can be positioned above or below the activator with customizable alignment.
|
|
35
|
+
* It includes optional underline styling and supports dynamic z-index overrides.
|
|
36
|
+
*
|
|
37
|
+
* @component
|
|
38
|
+
*
|
|
39
|
+
* @param {Object} props - The props for the Tooltip component.
|
|
40
|
+
* @param {React.ReactNode} props.children - The content that triggers the tooltip on hover.
|
|
41
|
+
* @param {React.ReactNode | TooltipContentObject} props.content - The content displayed inside the tooltip. Can be either a React node or a structured content object.
|
|
42
|
+
* @param {boolean} [props.dismissOnMouseOut=true] - Whether the tooltip should be dismissed when the mouse leaves the activator.
|
|
43
|
+
* @param {boolean} [props.dismissOnActivatorClick=true] - Whether the tooltip should be dismissed when clicking the activator.
|
|
44
|
+
* @param {"above" | "below"} [props.preferredPosition="below"] - The preferred position of the tooltip relative to the activator.
|
|
45
|
+
* @param {"center" | "left" | "right"} [props.alignment="center"] - The alignment of the tooltip content.
|
|
46
|
+
* @param {number} [props.hoverDelay=0] - The delay (in milliseconds) before showing the tooltip on hover.
|
|
47
|
+
* @param {boolean} [props.hasUnderline=false] - Whether the activator should have an underline.
|
|
48
|
+
* @param {number | boolean} [props.zIndexOverride] - Override for the z-index of the tooltip.
|
|
49
|
+
* @param {"inline" | "inline-block" | "block"} [props.display="inline-block"] - The display property of the tooltip container.
|
|
50
|
+
*
|
|
51
|
+
* @returns {React.ReactElement} The rendered Tooltip component.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* // Basic usage with string content
|
|
55
|
+
* <Tooltip content="This is a tooltip">
|
|
56
|
+
* <button>Hover me</button>
|
|
57
|
+
* </Tooltip>
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* // Using structured content object
|
|
61
|
+
* <Tooltip content={{
|
|
62
|
+
* heading: "Important Information",
|
|
63
|
+
* content: [
|
|
64
|
+
* { type: "paragraph", content: "This is a paragraph." },
|
|
65
|
+
* { type: "list", content: ["Item 1", "Item 2", "Item 3"] }
|
|
66
|
+
* ]
|
|
67
|
+
* }}>
|
|
68
|
+
* <span>Hover for structured content</span>
|
|
69
|
+
* </Tooltip>
|
|
70
|
+
*/
|
|
71
|
+
declare function Tooltip(props?: {
|
|
72
|
+
children: React.ReactNode;
|
|
73
|
+
content: React.ReactNode | TooltipContentObject;
|
|
74
|
+
dismissOnMouseOut?: boolean;
|
|
75
|
+
dismissOnActivatorClick?: boolean;
|
|
76
|
+
preferredPosition?: "above" | "below";
|
|
77
|
+
alignment?: "center" | "left" | "right";
|
|
78
|
+
hoverDelay?: number;
|
|
79
|
+
hasUnderline?: boolean;
|
|
80
|
+
zIndexOverride?: number | boolean;
|
|
81
|
+
display?: "inline" | "inline-block" | "block";
|
|
82
|
+
}): React.ReactElement;
|
|
83
|
+
import React from "react";
|
|
84
|
+
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../components/Tooltip.js"],"names":[],"mappings":";;;;;UAuFc,WAAW,GAAG,SAAS,GAAG,MAAM;;;;aAChC,MAAM,GAAG,MAAM,EAAE;;;;;;cAKjB,MAAM;;;;aACN,kBAAkB,EAAE;;AATlC;;;;GAIG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,iCAhCG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IAC+B,OAAO,EAArD,KAAK,CAAC,SAAS,GAAG,oBAAoB;IACtB,iBAAiB,GAAjC,OAAO;IACS,uBAAuB,GAAvC,OAAO;IACmB,iBAAiB,GAA3C,OAAO,GAAG,OAAO;IACmB,SAAS,GAA7C,QAAQ,GAAG,MAAM,GAAG,OAAO;IACZ,UAAU,GAAzB,MAAM;IACU,YAAY,GAA5B,OAAO;IACkB,cAAc,GAAvC,MAAM,GAAG,OAAO;IAC4B,OAAO,GAAnD,QAAQ,GAAG,cAAc,GAAG,OAAO;CAE3C,GAAU,KAAK,CAAC,YAAY,CA2M9B;kBA7TkD,OAAO"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export default TopBar;
|
|
2
|
+
/**
|
|
3
|
+
* TopBar component that displays a top navigation bar with a search trigger and a user menu.
|
|
4
|
+
*
|
|
5
|
+
* @component
|
|
6
|
+
* @param {Object} props - The component props.
|
|
7
|
+
* @param {React.ReactNode} [props.userMenu] - The user menu element.
|
|
8
|
+
* @param {React.ReactNode} [props.searchTrigger] - The search trigger element.
|
|
9
|
+
* @param {boolean} [props.hasNavigation] - Whether the navigation is present.
|
|
10
|
+
* @param {boolean} [props.alwaysShowUserMenuInTopBar] - Whether to always show the user menu in the top bar.
|
|
11
|
+
* @param {React.ReactNode} [props.headerAccessory] - Accessory to render in the header.
|
|
12
|
+
* @returns {JSX.Element} The rendered TopBar component.
|
|
13
|
+
*/
|
|
14
|
+
declare function TopBar(props?: {
|
|
15
|
+
userMenu?: React.ReactNode;
|
|
16
|
+
searchTrigger?: React.ReactNode;
|
|
17
|
+
hasNavigation?: boolean;
|
|
18
|
+
alwaysShowUserMenuInTopBar?: boolean;
|
|
19
|
+
headerAccessory?: React.ReactNode;
|
|
20
|
+
}): JSX.Element;
|
|
21
|
+
declare namespace TopBar {
|
|
22
|
+
export { UserMenu };
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* UserMenu component that displays a user menu with an optional popover.
|
|
26
|
+
*
|
|
27
|
+
* @component
|
|
28
|
+
* @param {Object} props - The component props.
|
|
29
|
+
* @param {string} [props.title] - The title displayed in the user menu.
|
|
30
|
+
* @param {string} [props.subtitle] - The subtitle displayed in the user menu.
|
|
31
|
+
* @param {React.ReactNode} [props.image] - An image element displayed in the user menu.
|
|
32
|
+
* @param {Array} [props.popoverSections] - Sections to display inside the popover.
|
|
33
|
+
* @param {Array} [props.popoverActions] - Actions to display inside the popover.
|
|
34
|
+
* @returns {JSX.Element} The rendered UserMenu component.
|
|
35
|
+
*/
|
|
36
|
+
declare function UserMenu(props?: {
|
|
37
|
+
title?: string;
|
|
38
|
+
subtitle?: string;
|
|
39
|
+
image?: React.ReactNode;
|
|
40
|
+
popoverSections?: any[];
|
|
41
|
+
popoverActions?: any[];
|
|
42
|
+
}): JSX.Element;
|
|
43
|
+
//# sourceMappingURL=TopBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../components/TopBar.js"],"names":[],"mappings":";AAeA;;;;;;;;;;;GAWG;AACH,gCAPG;IAAgC,QAAQ,GAAhC,KAAK,CAAC,SAAS;IACS,aAAa,GAArC,KAAK,CAAC,SAAS;IACC,aAAa,GAA7B,OAAO;IACS,0BAA0B,GAA1C,OAAO;IACiB,eAAe,GAAvC,KAAK,CAAC,SAAS;CACvB,GAAU,GAAG,CAAC,OAAO,CAwCvB;;;;AAYD;;;;;;;;;;;GAWG;AACH,kCAPG;IAAuB,KAAK,GAApB,MAAM;IACS,QAAQ,GAAvB,MAAM;IACkB,KAAK,GAA7B,KAAK,CAAC,SAAS;IACD,eAAe;IACf,cAAc;CACpC,GAAU,GAAG,CAAC,OAAO,CAwDvB"}
|