@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,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.ChatFooterRightSlot = exports.ChatFooterLeftSlot = exports.ChatFooter = exports.ChatContent = exports.ChatBubble = exports.ChatBody = exports.ChatAnchor = exports.CHAT_BUBBLE_ORIENTATION = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _classify = _interopRequireDefault(require("
|
|
9
|
-
var _Avatar = require("
|
|
10
|
-
var _Icon = require("
|
|
11
|
-
var _Tooltip = require("
|
|
12
|
-
var _ChatBubbleModule = _interopRequireDefault(require("
|
|
8
|
+
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
9
|
+
var _Avatar = require("../Avatar");
|
|
10
|
+
var _Icon = require("../Icon");
|
|
11
|
+
var _Tooltip = require("../Tooltip");
|
|
12
|
+
var _ChatBubbleModule = _interopRequireDefault(require("./ChatBubble.module.css"));
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
15
|
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); }
|
|
15
|
-
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); }
|
|
16
16
|
// Define the expected props for chat child elements
|
|
17
17
|
|
|
18
18
|
// Type for a chat child element that can be checked for displayName
|
|
@@ -45,13 +45,14 @@ const ChatBubble = exports.ChatBubble = /*#__PURE__*/React.forwardRef((_ref, ref
|
|
|
45
45
|
const childrenArray = React.Children.toArray(children);
|
|
46
46
|
const anchorComponent = getNamedComponent(childrenArray, 'ChatAnchor');
|
|
47
47
|
const chatComponent = getNamedComponent(childrenArray, 'ChatContent');
|
|
48
|
-
return /*#__PURE__*/
|
|
48
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
49
49
|
ref: ref,
|
|
50
50
|
"data-testid": "ChatBubble",
|
|
51
51
|
className: (0, _classify.default)(_ChatBubbleModule.default.chatBubbleWrapper, {
|
|
52
52
|
[_ChatBubbleModule.default.chatBubbleWrapperRight]: !isLeftAligned
|
|
53
|
-
}, classNames?.wrapper)
|
|
54
|
-
|
|
53
|
+
}, classNames?.wrapper),
|
|
54
|
+
children: [anchorComponent, chatComponent]
|
|
55
|
+
});
|
|
55
56
|
});
|
|
56
57
|
const ChatAnchor = _ref2 => {
|
|
57
58
|
let {
|
|
@@ -60,17 +61,22 @@ const ChatAnchor = _ref2 => {
|
|
|
60
61
|
classNames,
|
|
61
62
|
avatarProps
|
|
62
63
|
} = _ref2;
|
|
63
|
-
return /*#__PURE__*/
|
|
64
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
64
65
|
"data-testid": "ChatAnchor",
|
|
65
|
-
className: (0, _classify.default)(_ChatBubbleModule.default.chatAnchorWrapper, classNames?.wrapper)
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
66
|
+
className: (0, _classify.default)(_ChatBubbleModule.default.chatAnchorWrapper, classNames?.wrapper),
|
|
67
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tooltip.Tooltip, {
|
|
68
|
+
...tooltip,
|
|
69
|
+
hidden: !tooltip,
|
|
70
|
+
children: isAI ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
71
|
+
name: "sparkle",
|
|
72
|
+
color: "information",
|
|
73
|
+
type: _Icon.ICON_TYPE.solid,
|
|
74
|
+
size: _Icon.ICON_SIZE.large
|
|
75
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Avatar.Avatar, {
|
|
76
|
+
...avatarProps
|
|
77
|
+
})
|
|
78
|
+
})
|
|
79
|
+
});
|
|
74
80
|
};
|
|
75
81
|
exports.ChatAnchor = ChatAnchor;
|
|
76
82
|
ChatAnchor.displayName = 'ChatAnchor';
|
|
@@ -79,10 +85,11 @@ const ChatContent = _ref3 => {
|
|
|
79
85
|
classNames,
|
|
80
86
|
children
|
|
81
87
|
} = _ref3;
|
|
82
|
-
return /*#__PURE__*/
|
|
88
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
83
89
|
"data-testid": "ChatContent",
|
|
84
|
-
className: (0, _classify.default)(_ChatBubbleModule.default.chatContentWrapper, classNames?.wrapper)
|
|
85
|
-
|
|
90
|
+
className: (0, _classify.default)(_ChatBubbleModule.default.chatContentWrapper, classNames?.wrapper),
|
|
91
|
+
children: children
|
|
92
|
+
});
|
|
86
93
|
};
|
|
87
94
|
exports.ChatContent = ChatContent;
|
|
88
95
|
ChatContent.displayName = 'ChatContent';
|
|
@@ -94,25 +101,29 @@ const ChatBody = _ref4 => {
|
|
|
94
101
|
loadingText = 'Generating',
|
|
95
102
|
classNames
|
|
96
103
|
} = _ref4;
|
|
97
|
-
return /*#__PURE__*/
|
|
104
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
98
105
|
"data-testid": "ChatBody",
|
|
99
106
|
className: (0, _classify.default)(_ChatBubbleModule.default.chatBodyWrapper, {
|
|
100
107
|
[_ChatBubbleModule.default.chatBodyWrapperLoading]: isLoading || !withBgColor,
|
|
101
108
|
[_ChatBubbleModule.default.chatBodyWrapperBgColor]: withBgColor
|
|
102
|
-
}, classNames?.wrapper)
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
109
|
+
}, classNames?.wrapper),
|
|
110
|
+
children: isLoading ? /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
111
|
+
className: (0, _classify.default)(_ChatBubbleModule.default.loadingContainer, classNames?.wrapper),
|
|
112
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
113
|
+
className: _ChatBubbleModule.default.loadingText,
|
|
114
|
+
children: loadingText
|
|
115
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
116
|
+
className: _ChatBubbleModule.default.loader,
|
|
117
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
118
|
+
className: _ChatBubbleModule.default.dot
|
|
119
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
120
|
+
className: _ChatBubbleModule.default.dot
|
|
121
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
122
|
+
className: _ChatBubbleModule.default.dot
|
|
123
|
+
})]
|
|
124
|
+
})]
|
|
125
|
+
}) : children
|
|
126
|
+
});
|
|
116
127
|
};
|
|
117
128
|
exports.ChatBody = ChatBody;
|
|
118
129
|
ChatBody.displayName = 'ChatBody';
|
|
@@ -124,10 +135,11 @@ const ChatFooter = _ref5 => {
|
|
|
124
135
|
const childrenArray = React.Children.toArray(children);
|
|
125
136
|
const leftSlot = getNamedComponent(childrenArray, 'ChatFooterLeftSlot');
|
|
126
137
|
const rightSlot = getNamedComponent(childrenArray, 'ChatFooterRightSlot');
|
|
127
|
-
return /*#__PURE__*/
|
|
138
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
128
139
|
"data-testid": "ChatFooter",
|
|
129
|
-
className: (0, _classify.default)(_ChatBubbleModule.default.chatFooterWrapper, classNames?.wrapper)
|
|
130
|
-
|
|
140
|
+
className: (0, _classify.default)(_ChatBubbleModule.default.chatFooterWrapper, classNames?.wrapper),
|
|
141
|
+
children: [leftSlot, rightSlot]
|
|
142
|
+
});
|
|
131
143
|
};
|
|
132
144
|
exports.ChatFooter = ChatFooter;
|
|
133
145
|
ChatFooter.displayName = 'ChatFooter';
|
|
@@ -136,9 +148,10 @@ const ChatFooterRightSlot = _ref6 => {
|
|
|
136
148
|
children,
|
|
137
149
|
classNames
|
|
138
150
|
} = _ref6;
|
|
139
|
-
return /*#__PURE__*/
|
|
140
|
-
className: classNames?.wrapper
|
|
141
|
-
|
|
151
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
152
|
+
className: classNames?.wrapper,
|
|
153
|
+
children: children
|
|
154
|
+
});
|
|
142
155
|
};
|
|
143
156
|
exports.ChatFooterRightSlot = ChatFooterRightSlot;
|
|
144
157
|
ChatFooterRightSlot.displayName = 'ChatFooterRightSlot';
|
|
@@ -147,9 +160,10 @@ const ChatFooterLeftSlot = _ref7 => {
|
|
|
147
160
|
children,
|
|
148
161
|
classNames
|
|
149
162
|
} = _ref7;
|
|
150
|
-
return /*#__PURE__*/
|
|
151
|
-
className: classNames?.wrapper
|
|
152
|
-
|
|
163
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
164
|
+
className: classNames?.wrapper,
|
|
165
|
+
children: children
|
|
166
|
+
});
|
|
153
167
|
};
|
|
154
168
|
exports.ChatFooterLeftSlot = ChatFooterLeftSlot;
|
|
155
169
|
ChatFooterLeftSlot.displayName = 'ChatFooterLeftSlot';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '../../components/ChatBubble/ChatBubble';
|
|
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 _ChatBubble = require("
|
|
6
|
+
var _ChatBubble = require("./ChatBubble");
|
|
7
7
|
Object.keys(_ChatBubble).forEach(function (key) {
|
|
8
8
|
if (key === "default" || key === "__esModule") return;
|
|
9
9
|
if (key in exports && exports[key] === _ChatBubble[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 { GroupAlign } from '
|
|
3
|
+
import type { GroupAlign } from '../../types/common';
|
|
4
4
|
type ClassNames = Readonly<{
|
|
5
5
|
wrapper?: string;
|
|
6
6
|
checkboxSquare?: string;
|
|
@@ -5,9 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Checkbox = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _classify = _interopRequireDefault(require("
|
|
9
|
-
var _Icon = require("
|
|
10
|
-
var _CheckboxModule = _interopRequireDefault(require("
|
|
8
|
+
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
9
|
+
var _Icon = require("../Icon");
|
|
10
|
+
var _CheckboxModule = _interopRequireDefault(require("./Checkbox.module.css"));
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
13
|
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); }
|
|
13
14
|
/*
|
|
@@ -54,47 +55,51 @@ const Checkbox = exports.Checkbox = /*#__PURE__*/React.forwardRef((_ref, forward
|
|
|
54
55
|
checkboxInput.current.indeterminate = false;
|
|
55
56
|
}
|
|
56
57
|
}, [indeterminate]);
|
|
57
|
-
return /*#__PURE__*/
|
|
58
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
58
59
|
"data-testid": "checkbox",
|
|
59
60
|
className: (0, _classify.default)(_CheckboxModule.default.checkboxContainer, {
|
|
60
61
|
[_CheckboxModule.default.disabled]: disabled,
|
|
61
62
|
[_CheckboxModule.default.horizontalCheckbox]: align === 'horizontal-fixed',
|
|
62
63
|
[_CheckboxModule.default.fluidCheckbox]: align === 'horizontal-fluid'
|
|
63
64
|
}, classNames?.wrapper),
|
|
64
|
-
onClick: handleOnClick
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
65
|
+
onClick: handleOnClick,
|
|
66
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
67
|
+
className: (0, _classify.default)(_CheckboxModule.default.checkboxSquare, {
|
|
68
|
+
[_CheckboxModule.default.disabled]: disabled
|
|
69
|
+
}, classNames?.checkboxSquare),
|
|
70
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
|
|
71
|
+
tabIndex: disabled ? -1 : tabIndex,
|
|
72
|
+
type: "checkbox",
|
|
73
|
+
checked: checked,
|
|
74
|
+
readOnly: true,
|
|
75
|
+
ref: checkboxInput,
|
|
76
|
+
className: (0, _classify.default)(_CheckboxModule.default.inputCheckbox),
|
|
77
|
+
disabled: disabled,
|
|
78
|
+
name: name,
|
|
79
|
+
"aria-label": ariaLabel || children
|
|
80
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
|
81
|
+
className: (0, _classify.default)(_CheckboxModule.default.checkboxSquareInner, {
|
|
82
|
+
[_CheckboxModule.default.enabled]: !disabled && !error,
|
|
83
|
+
[_CheckboxModule.default.disabled]: disabled,
|
|
84
|
+
[_CheckboxModule.default.error]: error && !disabled
|
|
85
|
+
}),
|
|
86
|
+
children: [indeterminate && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
87
|
+
color: disabled ? 'disabled' : 'inversePrimary',
|
|
88
|
+
name: "hyphen",
|
|
89
|
+
size: "small",
|
|
90
|
+
type: "regular"
|
|
91
|
+
}), checked && !indeterminate && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
92
|
+
color: disabled ? 'disabled' : 'inversePrimary',
|
|
93
|
+
name: "check",
|
|
94
|
+
size: "small",
|
|
95
|
+
type: "regular"
|
|
96
|
+
})]
|
|
97
|
+
})]
|
|
98
|
+
}), React.Children.count(children) > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
99
|
+
className: (0, _classify.default)(_CheckboxModule.default.checkboxLabel, {
|
|
100
|
+
[_CheckboxModule.default.labelDisabled]: disabled
|
|
101
|
+
}, classNames?.label),
|
|
102
|
+
children: children
|
|
103
|
+
})]
|
|
104
|
+
});
|
|
100
105
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { Flow } from 'flow-to-typescript-codemod';
|
|
3
|
-
import type { GroupAlign } from '
|
|
3
|
+
import type { GroupAlign } from '../../types/common';
|
|
4
4
|
type ClassNames = Readonly<{
|
|
5
5
|
wrapper?: string;
|
|
6
6
|
checkboxGroup?: string;
|
|
@@ -5,9 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.CheckboxGroup = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _classify = _interopRequireDefault(require("
|
|
9
|
-
var _Text = require("
|
|
10
|
-
var _CheckboxGroupModule = _interopRequireDefault(require("
|
|
8
|
+
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
9
|
+
var _Text = require("../Text/Text");
|
|
10
|
+
var _CheckboxGroupModule = _interopRequireDefault(require("./CheckboxGroup.module.css"));
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
13
|
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); }
|
|
13
14
|
// Type definitions for checkbox child props
|
|
@@ -67,17 +68,20 @@ const CheckboxGroup = exports.CheckboxGroup = /*#__PURE__*/React.forwardRef((_re
|
|
|
67
68
|
}
|
|
68
69
|
return child;
|
|
69
70
|
});
|
|
70
|
-
return /*#__PURE__*/
|
|
71
|
-
className: (0, _classify.default)(_CheckboxGroupModule.default.checkboxGroupContainer, classNames?.wrapper)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
71
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
72
|
+
className: (0, _classify.default)(_CheckboxGroupModule.default.checkboxGroupContainer, classNames?.wrapper),
|
|
73
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
74
|
+
className: (0, _classify.default)({
|
|
75
|
+
[_CheckboxGroupModule.default.vertical]: align === 'vertical',
|
|
76
|
+
[_CheckboxGroupModule.default.horizontal]: align === 'horizontal-fixed',
|
|
77
|
+
[_CheckboxGroupModule.default.horizontalFluid]: align === 'horizontal-fluid'
|
|
78
|
+
}, classNames?.checkboxGroup),
|
|
79
|
+
ref: forwardRef,
|
|
80
|
+
children: childrenWithProps
|
|
81
|
+
}), error && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.BodySmall, {
|
|
82
|
+
className: (0, _classify.default)(classNames?.errorText),
|
|
83
|
+
color: "danger",
|
|
84
|
+
children: errorText
|
|
85
|
+
})]
|
|
86
|
+
});
|
|
83
87
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
1
|
+
export * from '../../components/Checkbox/Checkbox';
|
|
2
|
+
export * from '../../components/Checkbox/CheckboxGroup';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var _Checkbox = require("
|
|
6
|
+
var _Checkbox = require("./Checkbox");
|
|
7
7
|
Object.keys(_Checkbox).forEach(function (key) {
|
|
8
8
|
if (key === "default" || key === "__esModule") return;
|
|
9
9
|
if (key in exports && exports[key] === _Checkbox[key]) return;
|
|
@@ -14,7 +14,7 @@ Object.keys(_Checkbox).forEach(function (key) {
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
|
-
var _CheckboxGroup = require("
|
|
17
|
+
var _CheckboxGroup = require("./CheckboxGroup");
|
|
18
18
|
Object.keys(_CheckboxGroup).forEach(function (key) {
|
|
19
19
|
if (key === "default" || key === "__esModule") return;
|
|
20
20
|
if (key in exports && exports[key] === _CheckboxGroup[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 { IconType } from '
|
|
3
|
+
import type { IconType } from '../../components/Icon';
|
|
4
4
|
type ClassNames = Readonly<{
|
|
5
5
|
wrapper?: string;
|
|
6
6
|
icon?: string;
|
|
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Chip = exports.CHIP_SEMANTIC = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _classify = require("
|
|
9
|
-
var _Icon = require("
|
|
10
|
-
var _StatusIndicator = require("
|
|
11
|
-
var _Truncate = require("
|
|
12
|
-
var _ChipModule = _interopRequireDefault(require("
|
|
8
|
+
var _classify = require("../../utils/classify");
|
|
9
|
+
var _Icon = require("../Icon");
|
|
10
|
+
var _StatusIndicator = require("../StatusIndicator");
|
|
11
|
+
var _Truncate = require("../Truncate");
|
|
12
|
+
var _ChipModule = _interopRequireDefault(require("./Chip.module.css"));
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
15
|
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); }
|
|
15
|
-
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); }
|
|
16
16
|
const CHIP_SEMANTIC = exports.CHIP_SEMANTIC = Object.freeze({
|
|
17
17
|
primary: 'primary',
|
|
18
18
|
information: 'information',
|
|
@@ -67,9 +67,9 @@ const Chip = exports.Chip = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
67
67
|
onClick?.(event);
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
|
-
return /*#__PURE__*/
|
|
71
|
-
"data-testid": "Chip"
|
|
72
|
-
|
|
70
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
71
|
+
"data-testid": "Chip",
|
|
72
|
+
...restProps,
|
|
73
73
|
ref: ref,
|
|
74
74
|
className: (0, _classify.classify)(_ChipModule.default.chipWrapper, {
|
|
75
75
|
[_ChipModule.default.primary]: semantic === CHIP_SEMANTIC.primary,
|
|
@@ -89,40 +89,42 @@ const Chip = exports.Chip = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
89
89
|
onClick: onClick,
|
|
90
90
|
onKeyDown: handleKeyDown,
|
|
91
91
|
tabIndex: showStatusIndicator || disableHoverState || disabled ? undefined : 0,
|
|
92
|
-
role: showStatusIndicator || disableHoverState ? undefined : 'button'
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
[_ChipModule.default.alignTop]: line > 1
|
|
102
|
-
}, classNames?.icon),
|
|
103
|
-
name: iconName,
|
|
104
|
-
type: iconType,
|
|
105
|
-
size: "small"
|
|
106
|
-
}), /*#__PURE__*/React.createElement(_Truncate.Truncate, {
|
|
107
|
-
line: line,
|
|
108
|
-
wordBreak: wordBreak
|
|
109
|
-
}, children), dismissable && size !== 'small' && /*#__PURE__*/React.createElement(_Icon.CloseIcon, {
|
|
110
|
-
classNames: {
|
|
111
|
-
icon: _ChipModule.default.dismissIcon,
|
|
112
|
-
button: (0, _classify.classify)({
|
|
92
|
+
role: showStatusIndicator || disableHoverState ? undefined : 'button',
|
|
93
|
+
children: [showStatusIndicator && size !== 'small' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_StatusIndicator.StatusIndicator, {
|
|
94
|
+
status: semantic,
|
|
95
|
+
classNames: {
|
|
96
|
+
wrapper: (0, _classify.classify)(_ChipModule.default.statusIndicatorBlock, classNames?.statusIndicator)
|
|
97
|
+
},
|
|
98
|
+
disabled: disabled
|
|
99
|
+
}), iconName && size !== 'small' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
100
|
+
className: (0, _classify.classify)(_ChipModule.default.chipIcon, {
|
|
113
101
|
[_ChipModule.default.alignTop]: line > 1
|
|
114
|
-
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
102
|
+
}, classNames?.icon),
|
|
103
|
+
name: iconName,
|
|
104
|
+
type: iconType,
|
|
105
|
+
size: "small"
|
|
106
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Truncate.Truncate, {
|
|
107
|
+
line: line,
|
|
108
|
+
wordBreak: wordBreak,
|
|
109
|
+
children: children
|
|
110
|
+
}), dismissable && size !== 'small' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.CloseIcon, {
|
|
111
|
+
classNames: {
|
|
112
|
+
icon: _ChipModule.default.dismissIcon,
|
|
113
|
+
button: (0, _classify.classify)({
|
|
114
|
+
[_ChipModule.default.alignTop]: line > 1
|
|
115
|
+
}, _ChipModule.default.dismissIconWrapper)
|
|
116
|
+
},
|
|
117
|
+
type: iconType,
|
|
118
|
+
size: "small",
|
|
119
|
+
ariaLabel: "Dismiss",
|
|
120
|
+
disabled: disabled,
|
|
121
|
+
onClick: event => {
|
|
122
|
+
event.stopPropagation();
|
|
123
|
+
if (!disabled && onDismiss) {
|
|
124
|
+
onDismiss(event);
|
|
125
|
+
}
|
|
124
126
|
}
|
|
125
|
-
}
|
|
126
|
-
})
|
|
127
|
+
})]
|
|
128
|
+
});
|
|
127
129
|
});
|
|
128
130
|
Chip.displayName = 'Chip';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { ChipProps, ChipSemanticType } from '
|
|
2
|
-
export { Chip, CHIP_SEMANTIC } from '
|
|
1
|
+
export type { ChipProps, ChipSemanticType } from '../../components/Chip/Chip';
|
|
2
|
+
export { Chip, CHIP_SEMANTIC } from '../../components/Chip/Chip';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Flow } from 'flow-to-typescript-codemod';
|
|
2
|
-
import * as COLORS from '
|
|
2
|
+
import * as COLORS from '../../styles/variables/_color';
|
|
3
3
|
export interface CircularLoaderProps {
|
|
4
4
|
size?: 'large' | 'medium' | 'small';
|
|
5
5
|
className?: string;
|
|
@@ -5,9 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.CircularLoader = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var COLORS = _interopRequireWildcard(require("
|
|
9
|
-
var _classify = _interopRequireDefault(require("
|
|
10
|
-
var _CircularLoaderModule = _interopRequireDefault(require("
|
|
8
|
+
var COLORS = _interopRequireWildcard(require("../../styles/variables/_color"));
|
|
9
|
+
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
10
|
+
var _CircularLoaderModule = _interopRequireDefault(require("./CircularLoader.module.css"));
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
13
|
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); }
|
|
13
14
|
const CircularLoader = exports.CircularLoader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -17,7 +18,7 @@ const CircularLoader = exports.CircularLoader = /*#__PURE__*/React.forwardRef((_
|
|
|
17
18
|
colorToken = 'colorTextClickable',
|
|
18
19
|
ariaLabel = 'Loading'
|
|
19
20
|
} = _ref;
|
|
20
|
-
return /*#__PURE__*/
|
|
21
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
21
22
|
className: (0, _classify.default)(_CircularLoaderModule.default.container, {
|
|
22
23
|
[_CircularLoaderModule.default.mediumContainer]: size === 'medium',
|
|
23
24
|
[_CircularLoaderModule.default.smallContainer]: size === 'small'
|
|
@@ -25,19 +26,21 @@ const CircularLoader = exports.CircularLoader = /*#__PURE__*/React.forwardRef((_
|
|
|
25
26
|
ref: ref,
|
|
26
27
|
"aria-label": ariaLabel,
|
|
27
28
|
role: "alert",
|
|
28
|
-
"aria-busy": "true"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
29
|
+
"aria-busy": "true",
|
|
30
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
31
|
+
className: _CircularLoaderModule.default.spinLoader,
|
|
32
|
+
"aria-hidden": "true",
|
|
33
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
34
|
+
className: _CircularLoaderModule.default.outerCircle,
|
|
35
|
+
style: {
|
|
36
|
+
'--color': COLORS[colorToken]
|
|
37
|
+
}
|
|
38
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
39
|
+
className: _CircularLoaderModule.default.ellipse,
|
|
40
|
+
style: {
|
|
41
|
+
'--color': COLORS[colorToken]
|
|
42
|
+
}
|
|
43
|
+
})]
|
|
44
|
+
})
|
|
45
|
+
});
|
|
43
46
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { CircularLoader } from '
|
|
1
|
+
export { CircularLoader } from '../../components/CircularLoader/CircularLoader';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { Flow } from 'flow-to-typescript-codemod';
|
|
3
|
-
import type { IconType } from '
|
|
3
|
+
import type { IconType } from '../../components/Icon';
|
|
4
4
|
export declare const COLLAPSIBLE_CARD_SEMANTIC: Readonly<{
|
|
5
5
|
neutral: "neutral";
|
|
6
6
|
success: "success";
|