@spaced-out/ui-design-system 0.5.7-beta.3 → 0.5.7
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/.vscode/settings.json +3 -1
- package/CHANGELOG.md +19 -0
- package/babel.config.js +16 -3
- package/gulpfile.js +7 -17
- package/lib/components/Accordion/Accordion.js +39 -33
- package/lib/components/Accordion/AccordionGroup.js +7 -5
- package/lib/components/Accordion/index.d.ts +2 -2
- package/lib/components/Accordion/index.js +2 -2
- package/lib/components/Avatar/Avatar.d.ts +3 -3
- package/lib/components/Avatar/Avatar.js +85 -74
- package/lib/components/Avatar/index.d.ts +1 -1
- package/lib/components/Avatar/index.js +1 -1
- package/lib/components/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/lib/components/AvatarGroup/AvatarGroup.js +39 -32
- package/lib/components/AvatarGroup/index.d.ts +1 -1
- package/lib/components/AvatarGroup/index.js +1 -1
- package/lib/components/Badge/Badge.d.ts +1 -1
- package/lib/components/Badge/Badge.js +30 -26
- package/lib/components/Badge/index.d.ts +1 -1
- package/lib/components/Badge/index.js +1 -1
- package/lib/components/BadgedIcon/BadgedIcon.d.ts +1 -1
- package/lib/components/BadgedIcon/BadgedIcon.js +28 -23
- package/lib/components/BadgedIcon/index.d.ts +1 -1
- package/lib/components/BadgedIcon/index.js +1 -1
- package/lib/components/Banner/Banner.d.ts +1 -1
- package/lib/components/Banner/Banner.js +27 -24
- package/lib/components/Banner/index.d.ts +1 -1
- package/lib/components/Banner/index.js +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +7 -6
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.js +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.js +18 -16
- package/lib/components/Breadcrumbs/index.d.ts +2 -2
- package/lib/components/Breadcrumbs/index.js +2 -2
- package/lib/components/Button/Button.d.ts +1 -1
- package/lib/components/Button/Button.js +85 -69
- package/lib/components/Button/index.d.ts +2 -2
- package/lib/components/Button/index.js +1 -1
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +4 -4
- package/lib/components/ButtonDropdown/ButtonDropdown.js +94 -82
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +6 -6
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +8 -6
- package/lib/components/ButtonDropdown/index.d.ts +2 -2
- package/lib/components/ButtonDropdown/index.js +2 -2
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +1 -1
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js +9 -7
- package/lib/components/ButtonTabs/ButtonTab/index.d.ts +1 -1
- package/lib/components/ButtonTabs/ButtonTab/index.js +1 -1
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +3 -3
- package/lib/components/ButtonTabs/ButtonTabDropdown.js +60 -51
- package/lib/components/ButtonTabs/ButtonTabs.d.ts +2 -2
- package/lib/components/ButtonTabs/ButtonTabs.js +12 -9
- package/lib/components/ButtonTabs/index.d.ts +2 -2
- package/lib/components/ButtonTabs/index.js +2 -2
- package/lib/components/Card/Card.js +38 -25
- package/lib/components/Card/index.d.ts +1 -1
- package/lib/components/Card/index.js +1 -1
- package/lib/components/Charts/ChartTooltip/index.d.ts +1 -1
- package/lib/components/Charts/ChartTooltip/index.js +2 -2
- package/lib/components/Charts/ChartWrapper/ChartWrapper.js +32 -24
- package/lib/components/Charts/ChartWrapper/index.d.ts +1 -1
- package/lib/components/Charts/ChartWrapper/index.js +1 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +2 -2
- package/lib/components/Charts/ColumnChart/ColumnChart.js +16 -14
- package/lib/components/Charts/ColumnChart/index.d.ts +1 -1
- package/lib/components/Charts/ColumnChart/index.js +1 -1
- package/lib/components/Charts/DonutChart/DonutChart.d.ts +2 -2
- package/lib/components/Charts/DonutChart/DonutChart.js +17 -15
- package/lib/components/Charts/DonutChart/index.d.ts +1 -1
- package/lib/components/Charts/DonutChart/index.js +1 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +2 -2
- package/lib/components/Charts/FunnelChart/FunnelChart.js +17 -15
- package/lib/components/Charts/FunnelChart/index.d.ts +1 -1
- package/lib/components/Charts/FunnelChart/index.js +1 -1
- package/lib/components/Charts/LineChart/LineChart.d.ts +2 -2
- package/lib/components/Charts/LineChart/LineChart.js +16 -14
- package/lib/components/Charts/LineChart/index.d.ts +1 -1
- package/lib/components/Charts/LineChart/index.js +1 -1
- package/lib/components/Charts/SankeyChart/SankeyChart.d.ts +2 -2
- package/lib/components/Charts/SankeyChart/SankeyChart.js +16 -14
- package/lib/components/Charts/SankeyChart/index.d.ts +1 -1
- package/lib/components/Charts/SankeyChart/index.js +1 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +2 -2
- package/lib/components/Charts/SpiderChart/SpiderChart.js +16 -14
- package/lib/components/Charts/SpiderChart/index.d.ts +1 -1
- package/lib/components/Charts/SpiderChart/index.js +1 -1
- package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts +2 -2
- package/lib/components/Charts/StackedBarChart/StackedBarChart.js +16 -14
- package/lib/components/Charts/StackedBarChart/index.d.ts +1 -1
- package/lib/components/Charts/StackedBarChart/index.js +1 -1
- package/lib/components/Charts/index.d.ts +9 -9
- package/lib/components/Charts/index.js +9 -9
- package/lib/components/ChatBubble/ChatBubble.d.ts +2 -2
- package/lib/components/ChatBubble/ChatBubble.js +60 -46
- package/lib/components/ChatBubble/index.d.ts +1 -1
- package/lib/components/ChatBubble/index.js +1 -1
- package/lib/components/Checkbox/Checkbox.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.js +45 -40
- package/lib/components/Checkbox/CheckboxGroup.d.ts +1 -1
- package/lib/components/Checkbox/CheckboxGroup.js +20 -16
- package/lib/components/Checkbox/index.d.ts +2 -2
- package/lib/components/Checkbox/index.js +2 -2
- package/lib/components/Chip/Chip.d.ts +1 -1
- package/lib/components/Chip/Chip.js +44 -42
- package/lib/components/Chip/index.d.ts +2 -2
- package/lib/components/Chip/index.js +1 -1
- package/lib/components/CircularLoader/CircularLoader.d.ts +1 -1
- package/lib/components/CircularLoader/CircularLoader.js +22 -19
- package/lib/components/CircularLoader/index.d.ts +1 -1
- package/lib/components/CircularLoader/index.js +1 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +1 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.js +51 -41
- package/lib/components/CollapsibleCard/index.d.ts +1 -1
- package/lib/components/CollapsibleCard/index.js +1 -1
- package/lib/components/Combobox/Combobox.d.ts +3 -3
- package/lib/components/Combobox/Combobox.js +99 -89
- package/lib/components/Combobox/helper.d.ts +1 -1
- package/lib/components/Combobox/index.d.ts +1 -1
- package/lib/components/Combobox/index.js +1 -1
- package/lib/components/ConditionalWrapper/index.d.ts +1 -1
- package/lib/components/ConditionalWrapper/index.js +1 -1
- package/lib/components/DateRangePicker/Calendar.d.ts +2 -2
- package/lib/components/DateRangePicker/Calendar.js +43 -41
- package/lib/components/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/lib/components/DateRangePicker/DateRangePicker.js +7 -6
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +2 -2
- package/lib/components/DateRangePicker/DateRangeWrapper.js +163 -146
- package/lib/components/DateRangePicker/Day.js +16 -13
- package/lib/components/DateRangePicker/index.d.ts +1 -1
- package/lib/components/DateRangePicker/index.js +1 -1
- package/lib/components/Dialog/Dialog.d.ts +1 -1
- package/lib/components/Dialog/Dialog.js +75 -52
- package/lib/components/Dialog/index.d.ts +1 -1
- package/lib/components/Dialog/index.js +1 -1
- package/lib/components/Disclaimer/Disclaimer.d.ts +1 -1
- package/lib/components/Disclaimer/Disclaimer.js +8 -8
- package/lib/components/Disclaimer/index.d.ts +1 -1
- package/lib/components/Disclaimer/index.js +1 -1
- package/lib/components/Dropdown/Dropdown.d.ts +4 -4
- package/lib/components/Dropdown/Dropdown.js +93 -85
- package/lib/components/Dropdown/SimpleDropdown.d.ts +5 -5
- package/lib/components/Dropdown/SimpleDropdown.js +6 -5
- package/lib/components/Dropdown/index.d.ts +2 -2
- package/lib/components/Dropdown/index.js +2 -2
- package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.js +85 -83
- package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.js +163 -161
- package/lib/components/EmptyState/EmptyImages/DataEmptyImage.js +99 -95
- package/lib/components/EmptyState/EmptyImages/FileEmptyImage.js +102 -100
- package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.js +47 -45
- package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.js +49 -47
- package/lib/components/EmptyState/EmptyImages/index.d.ts +6 -6
- package/lib/components/EmptyState/EmptyImages/index.js +6 -6
- package/lib/components/EmptyState/EmptyState.js +25 -19
- package/lib/components/EmptyState/index.d.ts +1 -1
- package/lib/components/EmptyState/index.js +1 -1
- package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.js +64 -62
- package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.js +95 -90
- package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.js +189 -187
- package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.js +53 -51
- package/lib/components/ErrorMessage/ErrorImages/index.d.ts +4 -4
- package/lib/components/ErrorMessage/ErrorImages/index.js +4 -4
- package/lib/components/ErrorMessage/ErrorMessage.js +28 -21
- package/lib/components/ErrorMessage/index.d.ts +1 -1
- package/lib/components/ErrorMessage/index.js +1 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +1 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.js +66 -46
- package/lib/components/FileUpload/FileBlock/index.d.ts +1 -1
- package/lib/components/FileUpload/FileBlock/index.js +1 -1
- package/lib/components/FileUpload/FileUpload.js +48 -37
- package/lib/components/FileUpload/index.d.ts +2 -2
- package/lib/components/FileUpload/index.js +2 -2
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +4 -4
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +70 -61
- package/lib/components/FilterButtonOverlay/index.d.ts +1 -1
- package/lib/components/FilterButtonOverlay/index.js +1 -1
- package/lib/components/FocusManager/FocusManager.js +13 -10
- package/lib/components/FocusManager/index.d.ts +1 -1
- package/lib/components/FocusManager/index.js +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +19 -14
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.js +1 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +2 -2
- package/lib/components/FormTitleWrapper/FormTitleWrapper.js +22 -17
- package/lib/components/FormTitleWrapper/index.d.ts +1 -1
- package/lib/components/FormTitleWrapper/index.js +1 -1
- package/lib/components/Grid/Grid.js +11 -8
- package/lib/components/Grid/index.d.ts +1 -1
- package/lib/components/Grid/index.js +1 -1
- package/lib/components/Icon/ClickableIcon.d.ts +2 -2
- package/lib/components/Icon/ClickableIcon.js +20 -17
- package/lib/components/Icon/Icon.d.ts +1 -1
- package/lib/components/Icon/Icon.docs.js +2 -2
- package/lib/components/Icon/Icon.js +17 -13
- package/lib/components/Icon/SemanticIcon.d.ts +2 -2
- package/lib/components/Icon/SemanticIcon.js +17 -13
- package/lib/components/Icon/index.d.ts +3 -3
- package/lib/components/Icon/index.js +3 -3
- package/lib/components/InContextAlert/InContextAlert.d.ts +3 -3
- package/lib/components/InContextAlert/InContextAlert.js +55 -47
- package/lib/components/InContextAlert/index.d.ts +1 -1
- package/lib/components/InContextAlert/index.js +1 -1
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts +2 -2
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.js +54 -43
- package/lib/components/InContextAlertWithMultipleActions/index.d.ts +1 -1
- package/lib/components/InContextAlertWithMultipleActions/index.js +1 -1
- package/lib/components/InfinitePagination/InfinitePagination.d.ts +1 -1
- package/lib/components/InfinitePagination/InfinitePagination.js +37 -31
- package/lib/components/InfinitePagination/index.d.ts +1 -1
- package/lib/components/InfinitePagination/index.js +1 -1
- package/lib/components/InlineDropdown/InlineDropdown.d.ts +5 -5
- package/lib/components/InlineDropdown/InlineDropdown.js +88 -77
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +6 -6
- package/lib/components/InlineDropdown/SimpleInlineDropdown.js +8 -6
- package/lib/components/InlineDropdown/index.d.ts +2 -2
- package/lib/components/InlineDropdown/index.js +2 -2
- package/lib/components/Input/Input.d.ts +1 -1
- package/lib/components/Input/Input.js +94 -80
- package/lib/components/Input/index.d.ts +1 -1
- package/lib/components/Input/index.js +1 -1
- package/lib/components/KPIBox/KPIBox.d.ts +2 -2
- package/lib/components/KPIBox/KPIBox.js +26 -20
- package/lib/components/KPIBox/index.d.ts +1 -1
- package/lib/components/KPIBox/index.js +1 -1
- package/lib/components/LinearLoader/LinearLoader.js +18 -16
- package/lib/components/LinearLoader/index.d.ts +1 -1
- package/lib/components/LinearLoader/index.js +1 -1
- package/lib/components/Link/Link.d.ts +2 -2
- package/lib/components/Link/Link.js +36 -30
- package/lib/components/Link/index.d.ts +1 -1
- package/lib/components/Link/index.js +1 -1
- package/lib/components/Menu/Menu.d.ts +2 -2
- package/lib/components/Menu/Menu.js +104 -89
- package/lib/components/Menu/MenuOptionButton.d.ts +1 -1
- package/lib/components/Menu/MenuOptionButton.js +58 -47
- package/lib/components/Menu/index.d.ts +2 -2
- package/lib/components/Menu/index.js +2 -2
- package/lib/components/Modal/Modal.js +76 -61
- package/lib/components/Modal/index.d.ts +2 -2
- package/lib/components/Modal/index.js +1 -1
- package/lib/components/Notification/Notification.d.ts +1 -1
- package/lib/components/Notification/Notification.js +38 -32
- package/lib/components/Notification/index.d.ts +1 -1
- package/lib/components/Notification/index.js +1 -1
- package/lib/components/OptionButton/OptionButton.d.ts +5 -5
- package/lib/components/OptionButton/OptionButton.js +61 -56
- package/lib/components/OptionButton/SimpleOptionButton.d.ts +6 -6
- package/lib/components/OptionButton/SimpleOptionButton.js +8 -6
- package/lib/components/OptionButton/index.d.ts +2 -2
- package/lib/components/OptionButton/index.js +2 -2
- package/lib/components/PageTitle/PageTitle.js +60 -44
- package/lib/components/PageTitle/index.d.ts +1 -1
- package/lib/components/PageTitle/index.js +1 -1
- package/lib/components/Pagination/Pagination.js +46 -39
- package/lib/components/Pagination/PaginationItem.d.ts +1 -1
- package/lib/components/Pagination/PaginationItem.js +23 -17
- package/lib/components/Pagination/index.d.ts +1 -1
- package/lib/components/Pagination/index.js +1 -1
- package/lib/components/Panel/Panel.d.ts +1 -1
- package/lib/components/Panel/Panel.js +45 -33
- package/lib/components/Panel/index.d.ts +2 -2
- package/lib/components/Panel/index.js +1 -1
- package/lib/components/ProgressDonut/ProgressDonut.d.ts +1 -1
- package/lib/components/ProgressDonut/ProgressDonut.js +37 -32
- package/lib/components/ProgressDonut/index.d.ts +1 -1
- package/lib/components/ProgressDonut/index.js +1 -1
- package/lib/components/PromptChip/PromptChip.d.ts +3 -3
- package/lib/components/PromptChip/PromptChip.js +62 -50
- package/lib/components/PromptChip/index.d.ts +1 -1
- package/lib/components/PromptChip/index.js +1 -1
- package/lib/components/PromptInput/PromptInput.d.ts +1 -1
- package/lib/components/PromptInput/PromptInput.js +57 -50
- package/lib/components/PromptInput/index.d.ts +1 -1
- package/lib/components/PromptInput/index.js +1 -1
- package/lib/components/RadioButton/RadioButton.d.ts +1 -1
- package/lib/components/RadioButton/RadioButton.js +31 -28
- package/lib/components/RadioButton/RadioGroup.d.ts +1 -1
- package/lib/components/RadioButton/RadioGroup.js +20 -16
- package/lib/components/RadioButton/index.d.ts +2 -2
- package/lib/components/RadioButton/index.js +2 -2
- package/lib/components/RadioTile/RadioTile.d.ts +2 -2
- package/lib/components/RadioTile/RadioTile.js +52 -42
- package/lib/components/RadioTile/index.d.ts +1 -1
- package/lib/components/RadioTile/index.js +1 -1
- package/lib/components/RangeSlider/RangeSlider.d.ts +1 -1
- package/lib/components/RangeSlider/RangeSlider.js +73 -68
- package/lib/components/RangeSlider/index.d.ts +1 -1
- package/lib/components/RangeSlider/index.js +1 -1
- package/lib/components/Rating/Rating.d.ts +2 -2
- package/lib/components/Rating/Rating.js +48 -43
- package/lib/components/Rating/index.d.ts +1 -1
- package/lib/components/Rating/index.js +1 -1
- package/lib/components/ScoreBar/ScoreBar.js +29 -26
- package/lib/components/ScoreBar/index.d.ts +1 -1
- package/lib/components/ScoreBar/index.js +1 -1
- package/lib/components/SearchInput/SearchInput.d.ts +1 -1
- package/lib/components/SearchInput/SearchInput.js +35 -32
- package/lib/components/SearchInput/index.d.ts +2 -2
- package/lib/components/SearchInput/index.js +1 -1
- package/lib/components/Separator/Separator.js +5 -4
- package/lib/components/Separator/index.d.ts +1 -1
- package/lib/components/Separator/index.js +1 -1
- package/lib/components/Shimmer/Shimmer.js +39 -31
- package/lib/components/Shimmer/index.d.ts +1 -1
- package/lib/components/Shimmer/index.js +1 -1
- package/lib/components/SideMenuLink/SideMenuLink.d.ts +3 -3
- package/lib/components/SideMenuLink/SideMenuLink.js +63 -52
- package/lib/components/SideMenuLink/index.d.ts +1 -1
- package/lib/components/SideMenuLink/index.js +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.d.ts +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.js +7 -6
- package/lib/components/StatusIndicator/index.d.ts +1 -1
- package/lib/components/StatusIndicator/index.js +1 -1
- package/lib/components/Stepper/Step/Step.d.ts +1 -1
- package/lib/components/Stepper/Step/Step.js +33 -27
- package/lib/components/Stepper/Step/StepContent.js +7 -5
- package/lib/components/Stepper/Step/StepLabel.js +7 -5
- package/lib/components/Stepper/Step/index.d.ts +3 -3
- package/lib/components/Stepper/Step/index.js +3 -3
- package/lib/components/Stepper/Stepper.js +7 -5
- package/lib/components/Stepper/index.d.ts +2 -2
- package/lib/components/Stepper/index.js +2 -2
- package/lib/components/StickyBar/StickyBar.js +18 -12
- package/lib/components/StickyBar/index.d.ts +1 -1
- package/lib/components/StickyBar/index.js +1 -1
- package/lib/components/SubMenu/SubMenu.d.ts +1 -1
- package/lib/components/SubMenu/SubMenu.js +41 -35
- package/lib/components/SubMenu/SubMenuGroup.d.ts +2 -2
- package/lib/components/SubMenu/SubMenuGroup.js +63 -54
- package/lib/components/SubMenu/SubMenuItem.d.ts +3 -3
- package/lib/components/SubMenu/SubMenuItem.js +35 -24
- package/lib/components/SubMenu/SubMenuLink.d.ts +1 -1
- package/lib/components/SubMenu/SubMenuLink.js +34 -27
- package/lib/components/SubMenu/index.d.ts +4 -4
- package/lib/components/SubMenu/index.js +4 -4
- package/lib/components/Table/Cell.d.ts +1 -1
- package/lib/components/Table/Cell.js +44 -34
- package/lib/components/Table/DefaultRow.d.ts +3 -3
- package/lib/components/Table/DefaultRow.js +64 -57
- package/lib/components/Table/DefaultTableHeader.d.ts +3 -3
- package/lib/components/Table/DefaultTableHeader.js +103 -89
- package/lib/components/Table/StaticTable.d.ts +3 -3
- package/lib/components/Table/StaticTable.js +124 -114
- package/lib/components/Table/Table.d.ts +3 -3
- package/lib/components/Table/Table.js +10 -6
- package/lib/components/Table/TableActionBar.d.ts +2 -2
- package/lib/components/Table/TableActionBar.js +16 -12
- package/lib/components/Table/TableBottomBar.js +8 -6
- package/lib/components/Table/TableTopBar.js +8 -6
- package/lib/components/Table/hooks.d.ts +1 -1
- package/lib/components/Table/index.d.ts +8 -8
- package/lib/components/Table/index.js +8 -8
- package/lib/components/Tabs/Tab/Tab.d.ts +2 -2
- package/lib/components/Tabs/Tab/Tab.js +64 -53
- package/lib/components/Tabs/Tab/index.d.ts +1 -1
- package/lib/components/Tabs/Tab/index.js +1 -1
- package/lib/components/Tabs/TabList/TabDropdown.d.ts +4 -4
- package/lib/components/Tabs/TabList/TabDropdown.js +62 -53
- package/lib/components/Tabs/TabList/TabList.d.ts +1 -1
- package/lib/components/Tabs/TabList/TabList.js +13 -12
- package/lib/components/Tabs/TabList/index.d.ts +1 -1
- package/lib/components/Tabs/TabList/index.js +1 -1
- package/lib/components/Tabs/index.d.ts +2 -2
- package/lib/components/Tabs/index.js +2 -2
- package/lib/components/Text/Text.d.ts +1 -1
- package/lib/components/Text/Text.js +303 -251
- package/lib/components/Text/index.d.ts +3 -3
- package/lib/components/Text/index.js +2 -2
- package/lib/components/TextTile/TextTile.js +21 -14
- package/lib/components/TextTile/index.d.ts +1 -1
- package/lib/components/TextTile/index.js +1 -1
- package/lib/components/Textarea/Textarea.js +49 -39
- package/lib/components/Textarea/index.d.ts +2 -2
- package/lib/components/Textarea/index.js +1 -1
- package/lib/components/Timeline/Timeline.js +7 -5
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +3 -3
- package/lib/components/Timeline/TimelineItem/TimelineItem.js +55 -45
- package/lib/components/Timeline/TimelineItem/index.d.ts +1 -1
- package/lib/components/Timeline/TimelineItem/index.js +1 -1
- package/lib/components/Timeline/index.d.ts +2 -2
- package/lib/components/Timeline/index.js +2 -2
- package/lib/components/Toast/Toast.js +55 -46
- package/lib/components/Toast/ToastContainer.js +10 -9
- package/lib/components/Toast/ToastManager.d.ts +1 -1
- package/lib/components/Toast/ToastManager.js +1 -1
- package/lib/components/Toast/index.d.ts +4 -4
- package/lib/components/Toast/index.js +3 -3
- package/lib/components/Toggle/Toggle.js +30 -25
- package/lib/components/Toggle/index.d.ts +1 -1
- package/lib/components/Toggle/index.js +1 -1
- package/lib/components/TokenListInput/TokenListInput.d.ts +5 -5
- package/lib/components/TokenListInput/TokenListInput.js +152 -137
- package/lib/components/TokenListInput/TokenValueChips.js +13 -11
- package/lib/components/TokenListInput/index.d.ts +1 -1
- package/lib/components/TokenListInput/index.js +1 -1
- package/lib/components/Tooltip/Tooltip.js +44 -32
- package/lib/components/Tooltip/index.d.ts +1 -1
- package/lib/components/Tooltip/index.js +1 -1
- package/lib/components/Truncate/Truncate.js +11 -8
- package/lib/components/Truncate/index.d.ts +2 -2
- package/lib/components/Truncate/index.js +1 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +1 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +23 -18
- package/lib/components/TruncatedTextWithTooltip/index.d.ts +1 -1
- package/lib/components/TruncatedTextWithTooltip/index.js +1 -1
- package/lib/components/Typeahead/SimpleTypeahead.d.ts +5 -5
- package/lib/components/Typeahead/SimpleTypeahead.js +6 -5
- package/lib/components/Typeahead/Typeahead.d.ts +4 -4
- package/lib/components/Typeahead/Typeahead.js +111 -99
- package/lib/components/Typeahead/index.d.ts +2 -2
- package/lib/components/Typeahead/index.js +2 -2
- package/lib/components/WeekdayPicker/WeekdayPicker.js +52 -47
- package/lib/components/WeekdayPicker/index.d.ts +1 -1
- package/lib/components/WeekdayPicker/index.js +1 -1
- package/lib/components/index.d.ts +75 -75
- package/lib/components/index.js +75 -75
- package/lib/hooks/index.d.ts +16 -16
- package/lib/hooks/index.js +16 -16
- package/lib/hooks/useArbitraryOptionAddition/index.d.ts +1 -1
- package/lib/hooks/useArbitraryOptionAddition/index.js +1 -1
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +1 -1
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +1 -1
- package/lib/hooks/useCopyToClipboard/index.d.ts +1 -1
- package/lib/hooks/useCopyToClipboard/index.js +1 -1
- package/lib/hooks/useDebounce/index.d.ts +1 -1
- package/lib/hooks/useDebounce/index.js +1 -1
- package/lib/hooks/useFileUpload/index.d.ts +1 -1
- package/lib/hooks/useFileUpload/index.js +1 -1
- package/lib/hooks/useFileUpload/useFileUpload.d.ts +1 -1
- package/lib/hooks/useFileUpload/useFileUpload.js +1 -1
- package/lib/hooks/useFilteredOptions/index.d.ts +1 -1
- package/lib/hooks/useFilteredOptions/index.js +1 -1
- package/lib/hooks/useInfiniteScroll/index.d.ts +1 -1
- package/lib/hooks/useInfiniteScroll/index.js +1 -1
- package/lib/hooks/useInputState/index.d.ts +1 -1
- package/lib/hooks/useInputState/index.js +1 -1
- package/lib/hooks/useLockedBody/index.d.ts +1 -1
- package/lib/hooks/useLockedBody/index.js +1 -1
- package/lib/hooks/useModal/index.d.ts +1 -1
- package/lib/hooks/useModal/index.js +1 -1
- package/lib/hooks/useModal/useModal.d.ts +1 -1
- package/lib/hooks/useModal/useModal.js +1 -1
- package/lib/hooks/usePagination/index.d.ts +1 -1
- package/lib/hooks/usePagination/index.js +1 -1
- package/lib/hooks/usePagination/usePagination.d.ts +1 -1
- package/lib/hooks/usePagination/usePagination.js +1 -1
- package/lib/hooks/useReferenceElementWidth/index.d.ts +1 -1
- package/lib/hooks/useReferenceElementWidth/index.js +1 -1
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.js +1 -1
- package/lib/hooks/useResizeObserver/index.d.ts +1 -1
- package/lib/hooks/useResizeObserver/index.js +1 -1
- package/lib/hooks/useToastPortal/index.d.ts +1 -1
- package/lib/hooks/useToastPortal/index.js +1 -1
- package/lib/hooks/useToastPortal/useToastPortal.js +2 -2
- package/lib/hooks/useToggle/index.d.ts +1 -1
- package/lib/hooks/useToggle/index.js +1 -1
- package/lib/hooks/useWindowSize/index.d.ts +1 -1
- package/lib/hooks/useWindowSize/index.js +1 -1
- package/lib/index.d.ts +5 -5
- package/lib/index.js +5 -5
- package/lib/types/index.d.ts +7 -7
- package/lib/types/index.js +7 -7
- package/lib/utils/array/index.d.ts +1 -1
- package/lib/utils/array/index.js +1 -1
- package/lib/utils/charts/charts.d.ts +1 -1
- package/lib/utils/charts/charts.js +5 -5
- package/lib/utils/charts/columnChart.d.ts +1 -1
- package/lib/utils/charts/columnChart.js +3 -3
- package/lib/utils/charts/donutChart.d.ts +1 -1
- package/lib/utils/charts/donutChart.js +2 -2
- package/lib/utils/charts/funnelChart.d.ts +2 -2
- package/lib/utils/charts/funnelChart.js +4 -4
- package/lib/utils/charts/helpers.js +2 -2
- package/lib/utils/charts/index.d.ts +10 -10
- package/lib/utils/charts/index.js +10 -10
- package/lib/utils/charts/lineChart.d.ts +1 -1
- package/lib/utils/charts/lineChart.js +4 -4
- package/lib/utils/charts/sankeyChart.d.ts +1 -1
- package/lib/utils/charts/sankeyChart.js +2 -2
- package/lib/utils/charts/spiderChart.d.ts +1 -1
- package/lib/utils/charts/spiderChart.js +4 -4
- package/lib/utils/charts/stackedBarChart.d.ts +1 -1
- package/lib/utils/charts/stackedBarChart.js +3 -3
- package/lib/utils/charts/typography.js +2 -2
- package/lib/utils/click-away/click-away.js +1 -1
- package/lib/utils/click-away/index.d.ts +1 -1
- package/lib/utils/click-away/index.js +1 -1
- package/lib/utils/date-range-picker/date-range-picker.d.ts +2 -2
- package/lib/utils/date-range-picker/date-range-picker.js +1 -1
- package/lib/utils/date-range-picker/index.d.ts +2 -2
- package/lib/utils/date-range-picker/index.js +2 -2
- package/lib/utils/dom/index.d.ts +1 -1
- package/lib/utils/dom/index.js +1 -1
- package/lib/utils/helpers/index.d.ts +1 -1
- package/lib/utils/helpers/index.js +1 -1
- package/lib/utils/index.d.ts +14 -14
- package/lib/utils/index.js +14 -14
- package/lib/utils/makeClassNameComponent/index.d.ts +1 -1
- package/lib/utils/makeClassNameComponent/index.js +1 -1
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +1 -1
- package/lib/utils/menu/index.d.ts +1 -1
- package/lib/utils/menu/index.js +1 -1
- package/lib/utils/menu/menu.d.ts +1 -1
- package/lib/utils/merge-refs/index.d.ts +1 -1
- package/lib/utils/merge-refs/index.js +1 -1
- package/lib/utils/rating/index.d.ts +1 -1
- package/lib/utils/rating/index.js +1 -1
- package/lib/utils/score-bar/index.d.ts +1 -1
- package/lib/utils/score-bar/index.js +1 -1
- package/lib/utils/score-bar/score-bar.d.ts +1 -1
- package/lib/utils/string/index.d.ts +1 -1
- package/lib/utils/string/index.js +1 -1
- package/lib/utils/tokens/index.d.ts +1 -1
- package/lib/utils/tokens/index.js +1 -1
- package/package.json +4 -2
- package/tsconfig.declaration.json +14 -2
- package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts +0 -19
- package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts.map +0 -1
- package/lib/components/Accordion/Accordion.stories.d.ts +0 -144
- package/lib/components/Accordion/Accordion.stories.d.ts.map +0 -1
- package/lib/components/Accordion/AccordionGroup.stories.d.ts +0 -90
- package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +0 -1
- package/lib/components/Avatar/Avatar.stories.d.ts +0 -149
- package/lib/components/Avatar/Avatar.stories.d.ts.map +0 -1
- package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts +0 -101
- package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts.map +0 -1
- package/lib/components/Badge/Badge.stories.d.ts +0 -123
- package/lib/components/Badge/Badge.stories.d.ts.map +0 -1
- package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts +0 -111
- package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts.map +0 -1
- package/lib/components/Banner/Banner.stories.d.ts +0 -187
- package/lib/components/Banner/Banner.stories.d.ts.map +0 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts +0 -98
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts.map +0 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -57
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
- package/lib/components/Button/Button.stories.d.ts +0 -245
- package/lib/components/Button/Button.stories.d.ts.map +0 -1
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +0 -1978
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +0 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +0 -2900
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +0 -1
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts +0 -142
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts.map +0 -1
- package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts +0 -201
- package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts.map +0 -1
- package/lib/components/Card/Card.stories.d.ts +0 -150
- package/lib/components/Card/Card.stories.d.ts.map +0 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts +0 -446
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts.map +0 -1
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +0 -227
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts.map +0 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts +0 -308
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts.map +0 -1
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts +0 -311
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts.map +0 -1
- package/lib/components/Charts/SankeyChart/SankeyChart.stories.d.ts +0 -267
- package/lib/components/Charts/SankeyChart/SankeyChart.stories.d.ts.map +0 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts +0 -150
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts.map +0 -1
- package/lib/components/Charts/StackedBarChart/StackedBarChart.stories.d.ts +0 -192
- package/lib/components/Charts/StackedBarChart/StackedBarChart.stories.d.ts.map +0 -1
- package/lib/components/ChatBubble/ChatAnchor.stories.d.ts +0 -101
- package/lib/components/ChatBubble/ChatAnchor.stories.d.ts.map +0 -1
- package/lib/components/ChatBubble/ChatBubble.stories.d.ts +0 -102
- package/lib/components/ChatBubble/ChatBubble.stories.d.ts.map +0 -1
- package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -168
- package/lib/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +0 -163
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +0 -1
- package/lib/components/Chip/Chip.stories.d.ts +0 -238
- package/lib/components/Chip/Chip.stories.d.ts.map +0 -1
- package/lib/components/CircularLoader/CircularLoader.stories.d.ts +0 -64
- package/lib/components/CircularLoader/CircularLoader.stories.d.ts.map +0 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts +0 -225
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts.map +0 -1
- package/lib/components/Combobox/Combobox.stories.d.ts +0 -198
- package/lib/components/Combobox/Combobox.stories.d.ts.map +0 -1
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts +0 -16
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts.map +0 -1
- package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts +0 -184
- package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +0 -1
- package/lib/components/Dialog/Dialog.stories.d.ts +0 -171
- package/lib/components/Dialog/Dialog.stories.d.ts.map +0 -1
- package/lib/components/Disclaimer/Disclaimer.stories.d.ts +0 -156
- package/lib/components/Disclaimer/Disclaimer.stories.d.ts.map +0 -1
- package/lib/components/Dropdown/Dropdown.stories.d.ts +0 -417
- package/lib/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts +0 -424
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +0 -1
- package/lib/components/EmptyState/EmptyState.stories.d.ts +0 -91
- package/lib/components/EmptyState/EmptyState.stories.d.ts.map +0 -1
- package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts +0 -97
- package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts.map +0 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts +0 -82
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts.map +0 -1
- package/lib/components/FileUpload/FileUpload.stories.d.ts +0 -341
- package/lib/components/FileUpload/FileUpload.stories.d.ts.map +0 -1
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts +0 -300
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +0 -1
- package/lib/components/FocusManager/FocusManager.stories.d.ts +0 -103
- package/lib/components/FocusManager/FocusManager.stories.d.ts.map +0 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts +0 -175
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +0 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts +0 -128
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts.map +0 -1
- package/lib/components/Grid/Col.stories.d.ts +0 -66
- package/lib/components/Grid/Col.stories.d.ts.map +0 -1
- package/lib/components/Grid/GridPatterns.stories.d.ts +0 -18
- package/lib/components/Grid/GridPatterns.stories.d.ts.map +0 -1
- package/lib/components/Grid/Row.stories.d.ts +0 -41
- package/lib/components/Grid/Row.stories.d.ts.map +0 -1
- package/lib/components/Grid/Tablist.layout.stories.d.ts +0 -20
- package/lib/components/Grid/Tablist.layout.stories.d.ts.map +0 -1
- package/lib/components/Icon/Icon.stories.d.ts +0 -193
- package/lib/components/Icon/Icon.stories.d.ts.map +0 -1
- package/lib/components/Icon/SemanticIcon.stories.d.ts +0 -190
- package/lib/components/Icon/SemanticIcon.stories.d.ts.map +0 -1
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts +0 -181
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +0 -1
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.d.ts +0 -249
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.d.ts.map +0 -1
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts +0 -145
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +0 -1
- package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +0 -1202
- package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +0 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +0 -2173
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +0 -1
- package/lib/components/Input/Input.stories.d.ts +0 -502
- package/lib/components/Input/Input.stories.d.ts.map +0 -1
- package/lib/components/Input/NativeColorpicker.stories.d.ts +0 -370
- package/lib/components/Input/NativeColorpicker.stories.d.ts.map +0 -1
- package/lib/components/Input/NativeDatepicker.stories.d.ts +0 -388
- package/lib/components/Input/NativeDatepicker.stories.d.ts.map +0 -1
- package/lib/components/KPIBox/KPIBox.stories.d.ts +0 -132
- package/lib/components/KPIBox/KPIBox.stories.d.ts.map +0 -1
- package/lib/components/LinearLoader/LinearLoader.stories.d.ts +0 -78
- package/lib/components/LinearLoader/LinearLoader.stories.d.ts.map +0 -1
- package/lib/components/Link/Link.stories.d.ts +0 -284
- package/lib/components/Link/Link.stories.d.ts.map +0 -1
- package/lib/components/Menu/Menu.stories.d.ts +0 -526
- package/lib/components/Menu/Menu.stories.d.ts.map +0 -1
- package/lib/components/Modal/Modal.stories.d.ts +0 -149
- package/lib/components/Modal/Modal.stories.d.ts.map +0 -1
- package/lib/components/Notification/Notification.stories.d.ts +0 -136
- package/lib/components/Notification/Notification.stories.d.ts.map +0 -1
- package/lib/components/OptionButton/OptionButton.stories.d.ts +0 -366
- package/lib/components/OptionButton/OptionButton.stories.d.ts.map +0 -1
- package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +0 -1638
- package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +0 -1
- package/lib/components/PageTitle/PageTitle.stories.d.ts +0 -83
- package/lib/components/PageTitle/PageTitle.stories.d.ts.map +0 -1
- package/lib/components/Pagination/Pagination.stories.d.ts +0 -203
- package/lib/components/Pagination/Pagination.stories.d.ts.map +0 -1
- package/lib/components/Panel/Panel.stories.d.ts +0 -187
- package/lib/components/Panel/Panel.stories.d.ts.map +0 -1
- package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts +0 -72
- package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts.map +0 -1
- package/lib/components/PromptChip/PromptChip.stories.d.ts +0 -205
- package/lib/components/PromptChip/PromptChip.stories.d.ts.map +0 -1
- package/lib/components/PromptInput/PromptInput.stories.d.ts +0 -265
- package/lib/components/PromptInput/PromptInput.stories.d.ts.map +0 -1
- package/lib/components/RadioButton/RadioButton.stories.d.ts +0 -149
- package/lib/components/RadioButton/RadioButton.stories.d.ts.map +0 -1
- package/lib/components/RadioButton/RadioGroup.stories.d.ts +0 -137
- package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +0 -1
- package/lib/components/RadioTile/RadioTile.stories.d.ts +0 -171
- package/lib/components/RadioTile/RadioTile.stories.d.ts.map +0 -1
- package/lib/components/RangeSlider/RangeSlider.stories.d.ts +0 -287
- package/lib/components/RangeSlider/RangeSlider.stories.d.ts.map +0 -1
- package/lib/components/Rating/Rating.stories.d.ts +0 -237
- package/lib/components/Rating/Rating.stories.d.ts.map +0 -1
- package/lib/components/ScoreBar/ScoreBar.stories.d.ts +0 -156
- package/lib/components/ScoreBar/ScoreBar.stories.d.ts.map +0 -1
- package/lib/components/SearchInput/SearchInput.stories.d.ts +0 -260
- package/lib/components/SearchInput/SearchInput.stories.d.ts.map +0 -1
- package/lib/components/Separator/Separator.stories.d.ts +0 -79
- package/lib/components/Separator/Separator.stories.d.ts.map +0 -1
- package/lib/components/Shimmer/Shimmer.stories.d.ts +0 -213
- package/lib/components/Shimmer/Shimmer.stories.d.ts.map +0 -1
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts +0 -96
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +0 -1
- package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts +0 -92
- package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts.map +0 -1
- package/lib/components/Stepper/Step/Step.stories.d.ts +0 -120
- package/lib/components/Stepper/Step/Step.stories.d.ts.map +0 -1
- package/lib/components/Stepper/Stepper.stories.d.ts +0 -210
- package/lib/components/Stepper/Stepper.stories.d.ts.map +0 -1
- package/lib/components/StickyBar/StickyBar.stories.d.ts +0 -35
- package/lib/components/StickyBar/StickyBar.stories.d.ts.map +0 -1
- package/lib/components/SubMenu/SubMenu.stories.d.ts +0 -114
- package/lib/components/SubMenu/SubMenu.stories.d.ts.map +0 -1
- package/lib/components/Table/BasicTable.stories.d.ts +0 -691
- package/lib/components/Table/BasicTable.stories.d.ts.map +0 -1
- package/lib/components/Table/BulkActions.stories.d.ts +0 -327
- package/lib/components/Table/BulkActions.stories.d.ts.map +0 -1
- package/lib/components/Table/InlineEdit.stories.d.ts +0 -314
- package/lib/components/Table/InlineEdit.stories.d.ts.map +0 -1
- package/lib/components/Tabs/Tab/Tab.stories.d.ts +0 -156
- package/lib/components/Tabs/Tab/Tab.stories.d.ts.map +0 -1
- package/lib/components/Tabs/TabList/TabList.stories.d.ts +0 -133
- package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +0 -1
- package/lib/components/Text/HighlightedText.stories.d.ts +0 -120
- package/lib/components/Text/HighlightedText.stories.d.ts.map +0 -1
- package/lib/components/Text/Text.stories.d.ts +0 -271
- package/lib/components/Text/Text.stories.d.ts.map +0 -1
- package/lib/components/TextTile/TextTile.stories.d.ts +0 -76
- package/lib/components/TextTile/TextTile.stories.d.ts.map +0 -1
- package/lib/components/Textarea/Textarea.stories.d.ts +0 -264
- package/lib/components/Textarea/Textarea.stories.d.ts.map +0 -1
- package/lib/components/Timeline/Timeline.stories.d.ts +0 -62
- package/lib/components/Timeline/Timeline.stories.d.ts.map +0 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts +0 -184
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +0 -1
- package/lib/components/Toast/Toast.stories.d.ts +0 -105
- package/lib/components/Toast/Toast.stories.d.ts.map +0 -1
- package/lib/components/Toggle/Toggle.stories.d.ts +0 -142
- package/lib/components/Toggle/Toggle.stories.d.ts.map +0 -1
- package/lib/components/TokenListInput/TokenListInput.stories.d.ts +0 -379
- package/lib/components/TokenListInput/TokenListInput.stories.d.ts.map +0 -1
- package/lib/components/Tooltip/Tooltip.stories.d.ts +0 -172
- package/lib/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
- package/lib/components/Truncate/Truncate.stories.d.ts +0 -94
- package/lib/components/Truncate/Truncate.stories.d.ts.map +0 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +0 -110
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts.map +0 -1
- package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts +0 -396
- package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +0 -1
- package/lib/components/Typeahead/Typeahead.stories.d.ts +0 -399
- package/lib/components/Typeahead/Typeahead.stories.d.ts.map +0 -1
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts +0 -238
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +0 -1
- package/lib/devtools/DependencyGraph/DependencyGraph.stories.d.ts +0 -19
- package/lib/devtools/DependencyGraph/DependencyGraph.stories.d.ts.map +0 -1
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts +0 -18
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +0 -1
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts +0 -24
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts.map +0 -1
- package/lib/hooks/useDebounce/useDebounce.stories.d.ts +0 -26
- package/lib/hooks/useDebounce/useDebounce.stories.d.ts.map +0 -1
- package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts +0 -16
- package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +0 -1
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts +0 -18
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts.map +0 -1
- package/lib/hooks/useInputState/useInputState.stories.d.ts +0 -16
- package/lib/hooks/useInputState/useInputState.stories.d.ts.map +0 -1
- package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts +0 -17
- package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts.map +0 -1
- package/lib/hooks/useModal/useModal.stories.d.ts +0 -17
- package/lib/hooks/useModal/useModal.stories.d.ts.map +0 -1
- package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts +0 -16
- package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts.map +0 -1
- package/lib/hooks/usePagination/usePagination.stories.d.ts +0 -18
- package/lib/hooks/usePagination/usePagination.stories.d.ts.map +0 -1
- package/lib/hooks/useToggle/useToggle.stories.d.ts +0 -17
- package/lib/hooks/useToggle/useToggle.stories.d.ts.map +0 -1
- package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts +0 -17
- package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts.map +0 -1
- package/lib/stories/Border/Border.stories.d.ts +0 -12
- package/lib/stories/Border/Border.stories.d.ts.map +0 -1
- package/lib/stories/Color/Color.stories.d.ts +0 -13
- package/lib/stories/Color/Color.stories.d.ts.map +0 -1
- package/lib/stories/Elevation/Elevation.stories.d.ts +0 -12
- package/lib/stories/Elevation/Elevation.stories.d.ts.map +0 -1
- package/lib/stories/Motion/Motion.stories.d.ts +0 -12
- package/lib/stories/Motion/Motion.stories.d.ts.map +0 -1
- package/lib/stories/Opacity/Opacity.stories.d.ts +0 -12
- package/lib/stories/Opacity/Opacity.stories.d.ts.map +0 -1
- package/lib/stories/Shadow/Shadow.stories.d.ts +0 -12
- package/lib/stories/Shadow/Shadow.stories.d.ts.map +0 -1
- package/lib/stories/Size/Size.stories.d.ts +0 -12
- package/lib/stories/Size/Size.stories.d.ts.map +0 -1
- package/lib/stories/Space/Space.stories.d.ts +0 -12
- package/lib/stories/Space/Space.stories.d.ts.map +0 -1
- package/lib/utils/classify/classify.stories.d.ts +0 -17
- package/lib/utils/classify/classify.stories.d.ts.map +0 -1
- package/lib/utils/click-away/ClickAway.stories.d.ts +0 -106
- package/lib/utils/click-away/ClickAway.stories.d.ts.map +0 -1
- package/lib/utils/dom/dom.stories.d.ts +0 -15
- package/lib/utils/dom/dom.stories.d.ts.map +0 -1
- package/lib/utils/helpers/helpers.stories.d.ts +0 -15
- package/lib/utils/helpers/helpers.stories.d.ts.map +0 -1
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts +0 -15
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts.map +0 -1
- package/lib/utils/merge-refs/merge-refs.stories.d.ts +0 -15
- package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +0 -1
- package/lib/utils/string/string.stories.d.ts +0 -15
- package/lib/utils/string/string.stories.d.ts.map +0 -1
|
@@ -5,16 +5,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.TabSlot = exports.RightSlot = exports.PageTitle = exports.PageName = exports.PAGE_NAME_LIST = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _color = require("
|
|
9
|
-
var _classify = _interopRequireDefault(require("
|
|
10
|
-
var _Button = require("
|
|
11
|
-
var _Icon = require("
|
|
12
|
-
var _Text = require("
|
|
13
|
-
var _Tooltip = require("
|
|
14
|
-
var _PageTitleModule = _interopRequireDefault(require("
|
|
8
|
+
var _color = require("../../styles/variables/_color");
|
|
9
|
+
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
10
|
+
var _Button = require("../Button");
|
|
11
|
+
var _Icon = require("../Icon");
|
|
12
|
+
var _Text = require("../Text");
|
|
13
|
+
var _Tooltip = require("../Tooltip");
|
|
14
|
+
var _PageTitleModule = _interopRequireDefault(require("./PageTitle.module.css"));
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
17
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
18
18
|
// Define the expected props for page title children
|
|
19
19
|
|
|
20
20
|
// Type for a page title child element that can be checked for displayName
|
|
@@ -145,9 +145,11 @@ const TabSlot = _ref => {
|
|
|
145
145
|
className,
|
|
146
146
|
...props
|
|
147
147
|
} = _ref;
|
|
148
|
-
return /*#__PURE__*/
|
|
149
|
-
|
|
150
|
-
|
|
148
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
149
|
+
...props,
|
|
150
|
+
className: (0, _classify.default)(_PageTitleModule.default.tabSlot, className),
|
|
151
|
+
children: children
|
|
152
|
+
});
|
|
151
153
|
};
|
|
152
154
|
exports.TabSlot = TabSlot;
|
|
153
155
|
TabSlot.displayName = 'TabSlot';
|
|
@@ -156,7 +158,10 @@ const RightSlot = _ref2 => {
|
|
|
156
158
|
children,
|
|
157
159
|
...props
|
|
158
160
|
} = _ref2;
|
|
159
|
-
return /*#__PURE__*/
|
|
161
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
162
|
+
...props,
|
|
163
|
+
children: children
|
|
164
|
+
});
|
|
160
165
|
};
|
|
161
166
|
exports.RightSlot = RightSlot;
|
|
162
167
|
RightSlot.displayName = 'RightSlot';
|
|
@@ -165,9 +170,11 @@ const PageName = _ref3 => {
|
|
|
165
170
|
children,
|
|
166
171
|
...props
|
|
167
172
|
} = _ref3;
|
|
168
|
-
return /*#__PURE__*/
|
|
169
|
-
|
|
170
|
-
|
|
173
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
174
|
+
...props,
|
|
175
|
+
className: _PageTitleModule.default.pageTitle,
|
|
176
|
+
children: children
|
|
177
|
+
});
|
|
171
178
|
};
|
|
172
179
|
exports.PageName = PageName;
|
|
173
180
|
PageName.displayName = 'PageName';
|
|
@@ -198,35 +205,44 @@ const PageTitle = exports.PageTitle = /*#__PURE__*/React.forwardRef((_ref4, ref)
|
|
|
198
205
|
const handleBack = () => {
|
|
199
206
|
onBack?.();
|
|
200
207
|
};
|
|
201
|
-
return /*#__PURE__*/
|
|
208
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
202
209
|
"data-testid": "PageTitle",
|
|
203
210
|
className: (0, _classify.default)(_PageTitleModule.default.pageTitleWrapper, classNames?.wrapper),
|
|
204
|
-
ref: ref
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
211
|
+
ref: ref,
|
|
212
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
213
|
+
className: (0, _classify.default)(_PageTitleModule.default.leftSlot, classNames?.leftSlot),
|
|
214
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
215
|
+
className: _PageTitleModule.default.headerWithBackBtn,
|
|
216
|
+
children: [showBackButton && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tooltip.Tooltip, {
|
|
217
|
+
title: "Navigate Back",
|
|
218
|
+
delayMotionDuration: "slow",
|
|
219
|
+
placement: "top-start",
|
|
220
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
221
|
+
onClick: handleBack,
|
|
222
|
+
type: "tertiary",
|
|
223
|
+
iconLeftName: "chevron-left",
|
|
224
|
+
ariaLabel: "Navigate Back Button"
|
|
225
|
+
})
|
|
226
|
+
}), pageNameKey && PAGE_NAME_LIST[pageNameKey] ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(PageName, {
|
|
227
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_Text.TitleMedium, {
|
|
228
|
+
children: [PAGE_NAME_LIST[pageNameKey].title, ' ']
|
|
229
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
230
|
+
type: PAGE_NAME_LIST[pageNameKey].iconType,
|
|
231
|
+
name: PAGE_NAME_LIST[pageNameKey].iconName,
|
|
232
|
+
size: "medium",
|
|
233
|
+
color: _Text.TEXT_COLORS.primary,
|
|
234
|
+
style: {
|
|
235
|
+
'--fa-primary-color': _color.colorIconPrimary,
|
|
236
|
+
'--fa-secondary-color': _color.colorIconSecondary,
|
|
237
|
+
'--fa-primary-opacity': '1.0',
|
|
238
|
+
'--fa-secondary-opacity': '1.0'
|
|
239
|
+
}
|
|
240
|
+
})]
|
|
241
|
+
}) : getNamedComp('PageName')]
|
|
242
|
+
}), getNamedComp('TabSlot')]
|
|
243
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
244
|
+
className: (0, _classify.default)(_PageTitleModule.default.rightSlot, classNames?.rightSlot),
|
|
245
|
+
children: getNamedComp('RightSlot')
|
|
246
|
+
})]
|
|
247
|
+
});
|
|
232
248
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '../../components/PageTitle/PageTitle';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var _PageTitle = require("
|
|
6
|
+
var _PageTitle = require("./PageTitle");
|
|
7
7
|
Object.keys(_PageTitle).forEach(function (key) {
|
|
8
8
|
if (key === "default" || key === "__esModule") return;
|
|
9
9
|
if (key in exports && exports[key] === _PageTitle[key]) return;
|
|
@@ -5,17 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Pagination = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _usePagination = require("
|
|
9
|
-
var _useWindowSize = require("
|
|
10
|
-
var _classify = _interopRequireDefault(require("
|
|
11
|
-
var _helpers = require("
|
|
12
|
-
var _Dropdown = require("
|
|
13
|
-
var _PaginationItem = require("
|
|
14
|
-
var _Text = require("
|
|
15
|
-
var _PaginationModule = _interopRequireDefault(require("
|
|
8
|
+
var _usePagination = require("../../hooks/usePagination");
|
|
9
|
+
var _useWindowSize = require("../../hooks/useWindowSize");
|
|
10
|
+
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
11
|
+
var _helpers = require("../../utils/helpers");
|
|
12
|
+
var _Dropdown = require("../Dropdown");
|
|
13
|
+
var _PaginationItem = require("./PaginationItem");
|
|
14
|
+
var _Text = require("../Text");
|
|
15
|
+
var _PaginationModule = _interopRequireDefault(require("./Pagination.module.css"));
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
17
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
18
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
18
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
19
19
|
const LARGE_LIST_DROPDOWN_OPTIONS = 50;
|
|
20
20
|
const TABLET_SCREEN_SIZE = 640;
|
|
21
21
|
const Pagination = exports.Pagination = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
@@ -55,36 +55,43 @@ const Pagination = exports.Pagination = /*#__PURE__*/React.forwardRef((props, re
|
|
|
55
55
|
key: page.toString(),
|
|
56
56
|
label: page.toString()
|
|
57
57
|
}));
|
|
58
|
-
return /*#__PURE__*/
|
|
58
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
59
59
|
ref: ref,
|
|
60
60
|
"data-testid": "Pagination",
|
|
61
|
-
className: (0, _classify.default)(_PaginationModule.default.wrapper, classNames?.wrapper)
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
61
|
+
className: (0, _classify.default)(_PaginationModule.default.wrapper, classNames?.wrapper),
|
|
62
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
63
|
+
className: (0, _classify.default)(_PaginationModule.default.childrenSlot, classNames?.children),
|
|
64
|
+
children: children
|
|
65
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
66
|
+
className: _PaginationModule.default.paginatorSlots,
|
|
67
|
+
children: [style === 'secondary' && showPageSelectionDropDown && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
68
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Dropdown.Dropdown, {
|
|
69
|
+
size: "small",
|
|
70
|
+
classNames: {
|
|
71
|
+
wrapper: _PaginationModule.default.dropdownWrapper
|
|
72
|
+
},
|
|
73
|
+
menu: {
|
|
74
|
+
options,
|
|
75
|
+
isFluid: true,
|
|
76
|
+
classNames: {
|
|
77
|
+
wrapper: _PaginationModule.default.menuWrapper
|
|
78
|
+
},
|
|
79
|
+
selectedKeys: currentPage ? [currentPage.toString()] : [],
|
|
80
|
+
virtualization: menuVirtualization
|
|
81
|
+
},
|
|
82
|
+
dropdownInputText: currentPage.toString(),
|
|
83
|
+
onChange: option => onChange?.(parseInt(option.key))
|
|
84
|
+
}), !!totalPages && !!currentPage && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.SubTitleExtraSmall, {
|
|
85
|
+
color: "tertiary",
|
|
86
|
+
className: _PaginationModule.default.secondaryLabel,
|
|
87
|
+
children: staticPaginationLabel ? staticPaginationLabel : `of ${totalPages} ${totalPages > 1 ? 'Pages' : 'Page'}`
|
|
88
|
+
})]
|
|
89
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
90
|
+
className: (0, _classify.default)(_PaginationModule.default.paginatorSlot, classNames?.paginator),
|
|
91
|
+
children: items?.map(item => /*#__PURE__*/(0, _jsxRuntime.jsx)(_PaginationItem.PaginationItem, {
|
|
92
|
+
...item
|
|
93
|
+
}, item.id))
|
|
94
|
+
})]
|
|
95
|
+
})]
|
|
96
|
+
});
|
|
90
97
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { PaginationItemProps } from '
|
|
2
|
+
import type { PaginationItemProps } from '../../components/Pagination/Pagination';
|
|
3
3
|
export declare const PaginationButton: (props: PaginationItemProps) => React.JSX.Element | undefined;
|
|
4
4
|
export declare const PaginationItem: (props: PaginationItemProps) => React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=PaginationItem.d.ts.map
|
|
@@ -5,10 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.PaginationItem = exports.PaginationButton = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _classify = _interopRequireDefault(require("
|
|
9
|
-
var _Button = require("
|
|
10
|
-
var _Text = require("
|
|
11
|
-
var _PaginationModule = _interopRequireDefault(require("
|
|
8
|
+
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
9
|
+
var _Button = require("../Button");
|
|
10
|
+
var _Text = require("../Text");
|
|
11
|
+
var _PaginationModule = _interopRequireDefault(require("./Pagination.module.css"));
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
14
15
|
const PaginationButton = props => {
|
|
@@ -27,7 +28,7 @@ const PaginationButton = props => {
|
|
|
27
28
|
}, [selected]);
|
|
28
29
|
switch (type) {
|
|
29
30
|
case 'first':
|
|
30
|
-
return /*#__PURE__*/
|
|
31
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
31
32
|
classNames: {
|
|
32
33
|
icon: (0, _classify.default)(_PaginationModule.default.icon, {
|
|
33
34
|
[_PaginationModule.default.disabled]: disabled
|
|
@@ -45,7 +46,7 @@ const PaginationButton = props => {
|
|
|
45
46
|
ariaLabel: "First page"
|
|
46
47
|
});
|
|
47
48
|
case 'previous':
|
|
48
|
-
return /*#__PURE__*/
|
|
49
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
49
50
|
classNames: {
|
|
50
51
|
icon: (0, _classify.default)(_PaginationModule.default.icon, {
|
|
51
52
|
[_PaginationModule.default.disabled]: disabled
|
|
@@ -63,7 +64,7 @@ const PaginationButton = props => {
|
|
|
63
64
|
ariaLabel: "Previous page"
|
|
64
65
|
});
|
|
65
66
|
case 'page':
|
|
66
|
-
return /*#__PURE__*/
|
|
67
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
67
68
|
classNames: {
|
|
68
69
|
wrapper: (0, _classify.default)(_PaginationModule.default.paginatorButton, {
|
|
69
70
|
[_PaginationModule.default.selected]: selected
|
|
@@ -74,17 +75,20 @@ const PaginationButton = props => {
|
|
|
74
75
|
onClick: onClick,
|
|
75
76
|
disabled: disabled,
|
|
76
77
|
ref: paginationBtnRef,
|
|
77
|
-
tabIndex: selected ? -1 : 0
|
|
78
|
-
|
|
78
|
+
tabIndex: selected ? -1 : 0,
|
|
79
|
+
children: page
|
|
80
|
+
});
|
|
79
81
|
case 'start-ellipsis':
|
|
80
82
|
case 'end-ellipsis':
|
|
81
|
-
return /*#__PURE__*/
|
|
82
|
-
className: (0, _classify.default)(_PaginationModule.default.separator)
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
84
|
+
className: (0, _classify.default)(_PaginationModule.default.separator),
|
|
85
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.ButtonTextSmall, {
|
|
86
|
+
color: "disabled",
|
|
87
|
+
children: "..."
|
|
88
|
+
})
|
|
89
|
+
});
|
|
86
90
|
case 'next':
|
|
87
|
-
return /*#__PURE__*/
|
|
91
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
88
92
|
classNames: {
|
|
89
93
|
icon: (0, _classify.default)(_PaginationModule.default.icon, {
|
|
90
94
|
[_PaginationModule.default.disabled]: disabled
|
|
@@ -102,7 +106,7 @@ const PaginationButton = props => {
|
|
|
102
106
|
ariaLabel: "Next page"
|
|
103
107
|
});
|
|
104
108
|
case 'last':
|
|
105
|
-
return /*#__PURE__*/
|
|
109
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
106
110
|
classNames: {
|
|
107
111
|
icon: (0, _classify.default)(_PaginationModule.default.icon, {
|
|
108
112
|
[_PaginationModule.default.disabled]: disabled
|
|
@@ -124,5 +128,7 @@ const PaginationButton = props => {
|
|
|
124
128
|
}
|
|
125
129
|
};
|
|
126
130
|
exports.PaginationButton = PaginationButton;
|
|
127
|
-
const PaginationItem = props => /*#__PURE__*/
|
|
131
|
+
const PaginationItem = props => /*#__PURE__*/(0, _jsxRuntime.jsx)(PaginationButton, {
|
|
132
|
+
...props
|
|
133
|
+
});
|
|
128
134
|
exports.PaginationItem = PaginationItem;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '../../components/Pagination/Pagination';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var _Pagination = require("
|
|
6
|
+
var _Pagination = require("./Pagination");
|
|
7
7
|
Object.keys(_Pagination).forEach(function (key) {
|
|
8
8
|
if (key === "default" || key === "__esModule") return;
|
|
9
9
|
if (key in exports && exports[key] === _Pagination[key]) return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { Flow } from 'flow-to-typescript-codemod';
|
|
3
|
-
import type { ModalProps } from '
|
|
3
|
+
import type { ModalProps } from '../../components/Modal';
|
|
4
4
|
export type PanelSize = 'small' | 'medium' | 'large';
|
|
5
5
|
export type PanelAnchor = 'left' | 'right';
|
|
6
6
|
export interface PanelHeaderProps {
|
|
@@ -5,17 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.PanelHeader = exports.PanelFooter = exports.PanelBody = exports.Panel = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _useMountTransition = _interopRequireDefault(require("
|
|
9
|
-
var _motion = require("
|
|
10
|
-
var _space = require("
|
|
11
|
-
var _classify = _interopRequireDefault(require("
|
|
12
|
-
var _Button = require("
|
|
13
|
-
var _Modal = require("
|
|
14
|
-
var _Truncate = require("
|
|
15
|
-
var _PanelModule = _interopRequireDefault(require("
|
|
8
|
+
var _useMountTransition = _interopRequireDefault(require("../../hooks/useMountTransition"));
|
|
9
|
+
var _motion = require("../../styles/variables/_motion");
|
|
10
|
+
var _space = require("../../styles/variables/_space");
|
|
11
|
+
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
12
|
+
var _Button = require("../Button");
|
|
13
|
+
var _Modal = require("../Modal");
|
|
14
|
+
var _Truncate = require("../Truncate");
|
|
15
|
+
var _PanelModule = _interopRequireDefault(require("./Panel.module.css"));
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
17
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
18
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
18
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
19
19
|
const getDefaultPanelAnimation = anchor => ({
|
|
20
20
|
// Configure both open and close durations:
|
|
21
21
|
duration: {
|
|
@@ -40,17 +40,23 @@ const PanelHeader = _ref => {
|
|
|
40
40
|
className,
|
|
41
41
|
size
|
|
42
42
|
} = _ref;
|
|
43
|
-
return /*#__PURE__*/
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
43
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
44
|
+
children: React.Children.count(children) > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
45
|
+
className: (0, _classify.default)(_PanelModule.default.panelHeader, className),
|
|
46
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
47
|
+
className: _PanelModule.default.headerContent,
|
|
48
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Truncate.Truncate, {
|
|
49
|
+
children: children
|
|
50
|
+
})
|
|
51
|
+
}), !hideCloseBtn && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
52
|
+
iconLeftName: "xmark",
|
|
53
|
+
type: "ghost",
|
|
54
|
+
onClick: onCloseButtonClick,
|
|
55
|
+
ariaLabel: "Close Button",
|
|
56
|
+
size: size
|
|
57
|
+
})]
|
|
58
|
+
})
|
|
59
|
+
});
|
|
54
60
|
};
|
|
55
61
|
exports.PanelHeader = PanelHeader;
|
|
56
62
|
const PanelBody = exports.PanelBody = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
@@ -58,21 +64,26 @@ const PanelBody = exports.PanelBody = /*#__PURE__*/React.forwardRef((_ref2, ref)
|
|
|
58
64
|
children,
|
|
59
65
|
className
|
|
60
66
|
} = _ref2;
|
|
61
|
-
return /*#__PURE__*/
|
|
67
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
62
68
|
ref: ref,
|
|
63
|
-
className: (0, _classify.default)(_PanelModule.default.panelBody, className)
|
|
64
|
-
|
|
69
|
+
className: (0, _classify.default)(_PanelModule.default.panelBody, className),
|
|
70
|
+
children: children
|
|
71
|
+
});
|
|
65
72
|
});
|
|
66
73
|
const PanelFooter = _ref3 => {
|
|
67
74
|
let {
|
|
68
75
|
children,
|
|
69
76
|
classNames
|
|
70
77
|
} = _ref3;
|
|
71
|
-
return /*#__PURE__*/
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
78
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
79
|
+
children: React.Children.count(children) > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
80
|
+
className: (0, _classify.default)(_PanelModule.default.panelFooter, classNames?.wrapper),
|
|
81
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
82
|
+
className: (0, _classify.default)(_PanelModule.default.panelFooterActions, classNames?.actions),
|
|
83
|
+
children: children
|
|
84
|
+
})
|
|
85
|
+
})
|
|
86
|
+
});
|
|
76
87
|
};
|
|
77
88
|
exports.PanelFooter = PanelFooter;
|
|
78
89
|
const Panel = _ref4 => {
|
|
@@ -91,13 +102,13 @@ const Panel = _ref4 => {
|
|
|
91
102
|
} = _ref4;
|
|
92
103
|
const isTransitioning = (0, _useMountTransition.default)(isOpen, parseInt(_motion.motionDurationNormal));
|
|
93
104
|
const defaultPanelAnimation = getDefaultPanelAnimation(anchor);
|
|
94
|
-
return /*#__PURE__*/
|
|
105
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Modal.Modal, {
|
|
95
106
|
isOpen: isOpen,
|
|
96
107
|
onClose: onClose,
|
|
97
108
|
hideBackdrop: hideBackdrop,
|
|
98
109
|
tapOutsideToClose: allowBackgroundInteraction ? false : tapOutsideToClose,
|
|
99
|
-
allowBackgroundInteraction: allowBackgroundInteraction
|
|
100
|
-
|
|
110
|
+
allowBackgroundInteraction: allowBackgroundInteraction,
|
|
111
|
+
...restPanelProps,
|
|
101
112
|
classNames: {
|
|
102
113
|
container: (0, _classify.default)(_PanelModule.default.panelContainer, {
|
|
103
114
|
[_PanelModule.default.in]: isTransitioning,
|
|
@@ -110,7 +121,8 @@ const Panel = _ref4 => {
|
|
|
110
121
|
}, classNames?.content),
|
|
111
122
|
backdrop: (0, _classify.default)(classNames?.backdrop)
|
|
112
123
|
},
|
|
113
|
-
customAnimation: customAnimation || defaultPanelAnimation
|
|
114
|
-
|
|
124
|
+
customAnimation: customAnimation || defaultPanelAnimation,
|
|
125
|
+
children: children
|
|
126
|
+
});
|
|
115
127
|
};
|
|
116
128
|
exports.Panel = Panel;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { PanelAnchor, PanelBodyProps, PanelFooterProps, PanelHeaderProps, PanelProps, PanelSize, } from '
|
|
2
|
-
export { Panel, PanelBody, PanelFooter, PanelHeader, } from '
|
|
1
|
+
export type { PanelAnchor, PanelBodyProps, PanelFooterProps, PanelHeaderProps, PanelProps, PanelSize, } from '../../components/Panel/Panel';
|
|
2
|
+
export { Panel, PanelBody, PanelFooter, PanelHeader, } from '../../components/Panel/Panel';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,10 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.ProgressDonut = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var COLORS = _interopRequireWildcard(require("
|
|
9
|
-
var _classify = _interopRequireDefault(require("
|
|
10
|
-
var _Text = require("
|
|
11
|
-
var _ProgressDonutModule = _interopRequireDefault(require("
|
|
8
|
+
var COLORS = _interopRequireWildcard(require("../../styles/variables/_color"));
|
|
9
|
+
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
10
|
+
var _Text = require("../Text");
|
|
11
|
+
var _ProgressDonutModule = _interopRequireDefault(require("./ProgressDonut.module.css"));
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
14
15
|
const STROKE_WIDTH = 8;
|
|
@@ -41,34 +42,38 @@ const ProgressDonut = exports.ProgressDonut = /*#__PURE__*/React.forwardRef((_re
|
|
|
41
42
|
const radius = React.useMemo(() => (LARGE_DONUT_SIZE - STROKE_WIDTH) / DIVISOR_TWO, [LARGE_DONUT_SIZE]);
|
|
42
43
|
const circumference = React.useMemo(() => DIVISOR_TWO * Math.PI * radius, [radius]);
|
|
43
44
|
const offset = React.useMemo(() => circumference - donutPercentage / MAX_PERCENTAGE * circumference, [circumference, donutPercentage]);
|
|
44
|
-
return /*#__PURE__*/
|
|
45
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
45
46
|
ref: ref,
|
|
46
47
|
"data-testid": "ProgressDonut",
|
|
47
|
-
className: (0, _classify.default)(_ProgressDonutModule.default.wrapper, classNames?.wrapper)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
48
|
+
className: (0, _classify.default)(_ProgressDonutModule.default.wrapper, classNames?.wrapper),
|
|
49
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
50
|
+
className: _ProgressDonutModule.default.donutChart,
|
|
51
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
|
|
52
|
+
width: LARGE_DONUT_SIZE,
|
|
53
|
+
height: LARGE_DONUT_SIZE,
|
|
54
|
+
viewBox: `0 0 ${LARGE_DONUT_SIZE} ${LARGE_DONUT_SIZE}`,
|
|
55
|
+
className: _ProgressDonutModule.default.donutChartSvg,
|
|
56
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
57
|
+
className: _ProgressDonutModule.default.donutChartBackground,
|
|
58
|
+
cx: LARGE_DONUT_SIZE / DIVISOR_TWO,
|
|
59
|
+
cy: LARGE_DONUT_SIZE / DIVISOR_TWO,
|
|
60
|
+
r: radius,
|
|
61
|
+
strokeWidth: STROKE_WIDTH
|
|
62
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
63
|
+
className: _ProgressDonutModule.default.donutChartForeground,
|
|
64
|
+
cx: LARGE_DONUT_SIZE / DIVISOR_TWO,
|
|
65
|
+
cy: LARGE_DONUT_SIZE / DIVISOR_TWO,
|
|
66
|
+
r: radius,
|
|
67
|
+
strokeWidth: STROKE_WIDTH,
|
|
68
|
+
strokeDasharray: circumference,
|
|
69
|
+
strokeDashoffset: donutPercentage === MIN_PERCENTAGE ? circumference : offset,
|
|
70
|
+
stroke: COLORS[color || ''] || donutColor,
|
|
71
|
+
strokeLinecap: "round"
|
|
72
|
+
})]
|
|
73
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.BodyLargeBold, {
|
|
74
|
+
className: _ProgressDonutModule.default.donutChartPercentage,
|
|
75
|
+
children: `${donutPercentage}%`
|
|
76
|
+
})]
|
|
77
|
+
})
|
|
78
|
+
});
|
|
74
79
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '../../components/ProgressDonut/ProgressDonut';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|