@spaced-out/ui-design-system 0.5.10 → 0.5.12-beta.0
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/.storybook/public/component-parent-levels.json +77 -77
- package/CHANGELOG.md +22 -0
- package/lib/components/Accordion/Accordion.d.ts +1 -0
- package/lib/components/Accordion/Accordion.d.ts.map +1 -1
- package/lib/components/Accordion/Accordion.js +29 -4
- package/lib/components/Accordion/AccordionGroup.d.ts +2 -1
- package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -1
- package/lib/components/Accordion/AccordionGroup.js +13 -2
- package/lib/components/Avatar/Avatar.d.ts +3 -1
- package/lib/components/Avatar/Avatar.d.ts.map +1 -1
- package/lib/components/Avatar/Avatar.js +58 -11
- package/lib/components/AvatarGroup/AvatarGroup.d.ts +1 -0
- package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -1
- package/lib/components/AvatarGroup/AvatarGroup.js +27 -3
- package/lib/components/Badge/Badge.d.ts +1 -0
- package/lib/components/Badge/Badge.d.ts.map +1 -1
- package/lib/components/Badge/Badge.js +22 -5
- package/lib/components/BadgedIcon/BadgedIcon.d.ts +2 -1
- package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -1
- package/lib/components/BadgedIcon/BadgedIcon.js +20 -4
- package/lib/components/Banner/Banner.d.ts +1 -0
- package/lib/components/Banner/Banner.d.ts.map +1 -1
- package/lib/components/Banner/Banner.js +2 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +1 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +6 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +1 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.js +31 -11
- package/lib/components/Button/Button.d.ts +1 -0
- package/lib/components/Button/Button.d.ts.map +1 -1
- package/lib/components/Button/Button.js +50 -6
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +1 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/ButtonDropdown.js +22 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +1 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +2 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +1 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js +2 -0
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +2 -1
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTabDropdown.js +19 -2
- package/lib/components/ButtonTabs/ButtonTabs.d.ts +1 -0
- package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTabs.js +19 -4
- package/lib/components/Card/Card.d.ts +7 -5
- package/lib/components/Card/Card.d.ts.map +1 -1
- package/lib/components/Card/Card.js +33 -1
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +1 -0
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +1 -1
- package/lib/components/Charts/ChartWrapper/ChartWrapper.js +37 -5
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +2 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.js +2 -0
- package/lib/components/Charts/DonutChart/DonutChart.d.ts +2 -1
- package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -1
- package/lib/components/Charts/DonutChart/DonutChart.js +2 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +2 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.js +2 -0
- package/lib/components/Charts/LineChart/LineChart.d.ts +2 -1
- package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -1
- package/lib/components/Charts/LineChart/LineChart.js +2 -0
- package/lib/components/Charts/SankeyChart/SankeyChart.d.ts +2 -1
- package/lib/components/Charts/SankeyChart/SankeyChart.d.ts.map +1 -1
- package/lib/components/Charts/SankeyChart/SankeyChart.js +2 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +2 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.js +2 -0
- package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts +2 -1
- package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts.map +1 -1
- package/lib/components/Charts/StackedBarChart/StackedBarChart.js +2 -0
- package/lib/components/ChatBubble/ChatBubble.d.ts +13 -6
- package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -1
- package/lib/components/ChatBubble/ChatBubble.js +57 -14
- package/lib/components/Checkbox/Checkbox.d.ts +1 -0
- package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/components/Checkbox/Checkbox.js +34 -5
- package/lib/components/Checkbox/CheckboxGroup.d.ts +1 -0
- package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -1
- package/lib/components/Checkbox/CheckboxGroup.js +21 -2
- package/lib/components/Chip/Chip.d.ts +1 -0
- package/lib/components/Chip/Chip.d.ts.map +1 -1
- package/lib/components/Chip/Chip.js +24 -3
- package/lib/components/CircularLoader/CircularLoader.d.ts +1 -0
- package/lib/components/CircularLoader/CircularLoader.d.ts.map +1 -1
- package/lib/components/CircularLoader/CircularLoader.js +7 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +5 -2
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.js +46 -7
- package/lib/components/Combobox/Combobox.d.ts +1 -0
- package/lib/components/Combobox/Combobox.d.ts.map +1 -1
- package/lib/components/Combobox/Combobox.js +45 -3
- package/lib/components/DateRangePicker/Calendar.d.ts +2 -1
- package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -1
- package/lib/components/DateRangePicker/Calendar.js +24 -2
- package/lib/components/DateRangePicker/DateRangePicker.d.ts +1 -0
- package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangePicker.js +4 -2
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +1 -0
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangeWrapper.js +104 -14
- package/lib/components/DateRangePicker/Day.d.ts +2 -1
- package/lib/components/DateRangePicker/Day.d.ts.map +1 -1
- package/lib/components/DateRangePicker/Day.js +11 -1
- package/lib/components/Dialog/Dialog.d.ts +10 -5
- package/lib/components/Dialog/Dialog.d.ts.map +1 -1
- package/lib/components/Dialog/Dialog.js +76 -11
- package/lib/components/Dropdown/Dropdown.d.ts +1 -0
- package/lib/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/lib/components/Dropdown/Dropdown.js +19 -2
- package/lib/components/Dropdown/SimpleDropdown.d.ts +1 -0
- package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -1
- package/lib/components/Dropdown/SimpleDropdown.js +2 -0
- package/lib/components/EmptyState/EmptyState.d.ts +1 -0
- package/lib/components/EmptyState/EmptyState.d.ts.map +1 -1
- package/lib/components/EmptyState/EmptyState.js +26 -1
- package/lib/components/ErrorMessage/ErrorMessage.d.ts +1 -0
- package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +1 -1
- package/lib/components/ErrorMessage/ErrorMessage.js +30 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +1 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.js +58 -10
- package/lib/components/FileUpload/FileUpload.d.ts +1 -0
- package/lib/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/lib/components/FileUpload/FileUpload.js +30 -4
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +1 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -1
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +18 -1
- package/lib/components/FocusManager/FocusManager.d.ts +1 -0
- package/lib/components/FocusManager/FocusManager.d.ts.map +1 -1
- package/lib/components/FocusManager/FocusManager.js +6 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +2 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +11 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +1 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.js +24 -3
- package/lib/components/Grid/Grid.d.ts +4 -2
- package/lib/components/Grid/Grid.d.ts.map +1 -1
- package/lib/components/Grid/Grid.js +13 -3
- package/lib/components/Icon/ClickableIcon.d.ts +2 -0
- package/lib/components/Icon/ClickableIcon.d.ts.map +1 -1
- package/lib/components/Icon/ClickableIcon.js +13 -1
- package/lib/components/Icon/Icon.d.ts +1 -0
- package/lib/components/Icon/Icon.d.ts.map +1 -1
- package/lib/components/Icon/Icon.docs.d.ts +11 -0
- package/lib/components/Icon/Icon.docs.d.ts.map +1 -1
- package/lib/components/Icon/Icon.docs.js +11 -0
- package/lib/components/Icon/Icon.js +7 -1
- package/lib/components/Icon/SemanticIcon.d.ts +2 -1
- package/lib/components/Icon/SemanticIcon.d.ts.map +1 -1
- package/lib/components/Icon/SemanticIcon.js +11 -1
- package/lib/components/InContextAlert/InContextAlert.d.ts +3 -1
- package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -1
- package/lib/components/InContextAlert/InContextAlert.js +58 -10
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts +1 -0
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts.map +1 -1
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.js +30 -3
- package/lib/components/InfinitePagination/InfinitePagination.d.ts +1 -0
- package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -1
- package/lib/components/InfinitePagination/InfinitePagination.js +20 -3
- package/lib/components/InlineDropdown/InlineDropdown.d.ts +1 -0
- package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -1
- package/lib/components/InlineDropdown/InlineDropdown.js +27 -2
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +2 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.js +2 -0
- package/lib/components/Input/Input.d.ts +1 -0
- package/lib/components/Input/Input.d.ts.map +1 -1
- package/lib/components/Input/Input.js +64 -0
- package/lib/components/KPIBox/KPIBox.d.ts +1 -0
- package/lib/components/KPIBox/KPIBox.d.ts.map +1 -1
- package/lib/components/KPIBox/KPIBox.js +27 -2
- package/lib/components/LinearLoader/LinearLoader.d.ts +1 -0
- package/lib/components/LinearLoader/LinearLoader.d.ts.map +1 -1
- package/lib/components/LinearLoader/LinearLoader.js +7 -1
- package/lib/components/Link/Link.d.ts +1 -0
- package/lib/components/Link/Link.d.ts.map +1 -1
- package/lib/components/Link/Link.js +24 -2
- package/lib/components/Menu/Menu.d.ts +2 -0
- package/lib/components/Menu/Menu.d.ts.map +1 -1
- package/lib/components/Menu/Menu.js +64 -7
- package/lib/components/Menu/MenuOptionButton.d.ts +1 -0
- package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -1
- package/lib/components/Menu/MenuOptionButton.js +84 -8
- package/lib/components/Modal/Modal.d.ts +9 -5
- package/lib/components/Modal/Modal.d.ts.map +1 -1
- package/lib/components/Modal/Modal.js +48 -5
- package/lib/components/Notification/Notification.d.ts +1 -0
- package/lib/components/Notification/Notification.d.ts.map +1 -1
- package/lib/components/Notification/Notification.js +24 -4
- package/lib/components/OptionButton/OptionButton.d.ts +1 -0
- package/lib/components/OptionButton/OptionButton.d.ts.map +1 -1
- package/lib/components/OptionButton/OptionButton.js +20 -2
- package/lib/components/OptionButton/SimpleOptionButton.d.ts +2 -1
- package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -1
- package/lib/components/OptionButton/SimpleOptionButton.js +2 -0
- package/lib/components/PageTitle/PageTitle.d.ts +7 -3
- package/lib/components/PageTitle/PageTitle.d.ts.map +1 -1
- package/lib/components/PageTitle/PageTitle.js +41 -4
- package/lib/components/Pagination/Pagination.d.ts +2 -0
- package/lib/components/Pagination/Pagination.d.ts.map +1 -1
- package/lib/components/Pagination/Pagination.js +33 -3
- package/lib/components/Pagination/PaginationItem.d.ts.map +1 -1
- package/lib/components/Pagination/PaginationItem.js +31 -5
- package/lib/components/Panel/Panel.d.ts +7 -3
- package/lib/components/Panel/Panel.d.ts.map +1 -1
- package/lib/components/Panel/Panel.js +34 -4
- package/lib/components/ProgressDonut/ProgressDonut.d.ts +1 -0
- package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -1
- package/lib/components/ProgressDonut/ProgressDonut.js +11 -2
- package/lib/components/PromptChip/PromptChip.d.ts +3 -0
- package/lib/components/PromptChip/PromptChip.d.ts.map +1 -1
- package/lib/components/PromptChip/PromptChip.js +44 -7
- package/lib/components/PromptInput/PromptInput.d.ts +1 -0
- package/lib/components/PromptInput/PromptInput.d.ts.map +1 -1
- package/lib/components/PromptInput/PromptInput.js +24 -3
- package/lib/components/RadioButton/RadioButton.d.ts +1 -0
- package/lib/components/RadioButton/RadioButton.d.ts.map +1 -1
- package/lib/components/RadioButton/RadioButton.js +14 -0
- package/lib/components/RadioButton/RadioGroup.d.ts +1 -0
- package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -1
- package/lib/components/RadioButton/RadioGroup.js +17 -2
- package/lib/components/RadioTile/RadioTile.d.ts +1 -0
- package/lib/components/RadioTile/RadioTile.d.ts.map +1 -1
- package/lib/components/RadioTile/RadioTile.js +31 -6
- package/lib/components/RangeSlider/RangeSlider.d.ts +1 -0
- package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/lib/components/RangeSlider/RangeSlider.js +33 -4
- package/lib/components/Rating/Rating.d.ts +1 -0
- package/lib/components/Rating/Rating.d.ts.map +1 -1
- package/lib/components/Rating/Rating.js +22 -3
- package/lib/components/ScoreBar/ScoreBar.d.ts +1 -0
- package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -1
- package/lib/components/ScoreBar/ScoreBar.js +16 -2
- package/lib/components/SearchInput/SearchInput.d.ts +1 -0
- package/lib/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/lib/components/SearchInput/SearchInput.js +20 -2
- package/lib/components/Separator/Separator.d.ts +1 -0
- package/lib/components/Separator/Separator.d.ts.map +1 -1
- package/lib/components/Separator/Separator.js +7 -2
- package/lib/components/Shimmer/Shimmer.d.ts +5 -2
- package/lib/components/Shimmer/Shimmer.d.ts.map +1 -1
- package/lib/components/Shimmer/Shimmer.js +39 -8
- package/lib/components/SideMenuLink/SideMenuLink.d.ts +1 -0
- package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -1
- package/lib/components/SideMenuLink/SideMenuLink.js +33 -3
- package/lib/components/StatusIndicator/StatusIndicator.d.ts +1 -0
- package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.js +6 -1
- package/lib/components/Stepper/Step/Step.d.ts +1 -0
- package/lib/components/Stepper/Step/Step.d.ts.map +1 -1
- package/lib/components/Stepper/Step/Step.js +30 -4
- package/lib/components/Stepper/Step/StepContent.d.ts +2 -1
- package/lib/components/Stepper/Step/StepContent.d.ts.map +1 -1
- package/lib/components/Stepper/Step/StepContent.js +7 -1
- package/lib/components/Stepper/Step/StepLabel.d.ts +2 -1
- package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -1
- package/lib/components/Stepper/Step/StepLabel.js +7 -1
- package/lib/components/Stepper/Stepper.d.ts +1 -0
- package/lib/components/Stepper/Stepper.d.ts.map +1 -1
- package/lib/components/Stepper/Stepper.js +13 -2
- package/lib/components/StickyBar/StickyBar.d.ts +4 -2
- package/lib/components/StickyBar/StickyBar.d.ts.map +1 -1
- package/lib/components/StickyBar/StickyBar.js +16 -1
- package/lib/components/SubMenu/SubMenu.d.ts +1 -0
- package/lib/components/SubMenu/SubMenu.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenu.js +21 -3
- package/lib/components/Table/Cell.d.ts +13 -7
- package/lib/components/Table/Cell.d.ts.map +1 -1
- package/lib/components/Table/Cell.js +40 -9
- package/lib/components/Table/DefaultRow.d.ts +5 -2
- package/lib/components/Table/DefaultRow.d.ts.map +1 -1
- package/lib/components/Table/DefaultRow.js +38 -6
- package/lib/components/Table/DefaultTableHeader.d.ts +2 -0
- package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -1
- package/lib/components/Table/DefaultTableHeader.js +17 -2
- package/lib/components/Table/StaticTable.d.ts.map +1 -1
- package/lib/components/Table/StaticTable.js +45 -11
- package/lib/components/Table/Table.d.ts +1 -0
- package/lib/components/Table/Table.d.ts.map +1 -1
- package/lib/components/Table/Table.docs.d.ts +11 -0
- package/lib/components/Table/Table.docs.d.ts.map +1 -1
- package/lib/components/Table/Table.docs.js +11 -0
- package/lib/components/Table/Table.js +6 -3
- package/lib/components/Table/TableActionBar.d.ts +8 -3
- package/lib/components/Table/TableActionBar.d.ts.map +1 -1
- package/lib/components/Table/TableActionBar.js +16 -3
- package/lib/components/Table/TableBottomBar.d.ts +2 -1
- package/lib/components/Table/TableBottomBar.d.ts.map +1 -1
- package/lib/components/Table/TableBottomBar.js +6 -1
- package/lib/components/Table/TableTopBar.d.ts +2 -1
- package/lib/components/Table/TableTopBar.d.ts.map +1 -1
- package/lib/components/Table/TableTopBar.js +6 -1
- package/lib/components/Tabs/Tab/Tab.d.ts +1 -0
- package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -1
- package/lib/components/Tabs/Tab/Tab.js +9 -1
- package/lib/components/Tabs/TabList/TabDropdown.d.ts +2 -1
- package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -1
- package/lib/components/Tabs/TabList/TabDropdown.js +21 -4
- package/lib/components/Tabs/TabList/TabList.d.ts +1 -0
- package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -1
- package/lib/components/Tabs/TabList/TabList.js +20 -5
- package/lib/components/Text/Text.d.ts +2 -0
- package/lib/components/Text/Text.d.ts.map +1 -1
- package/lib/components/Text/Text.js +189 -27
- package/lib/components/TextTile/TextTile.d.ts +1 -0
- package/lib/components/TextTile/TextTile.d.ts.map +1 -1
- package/lib/components/TextTile/TextTile.js +24 -3
- package/lib/components/Textarea/Textarea.d.ts +1 -0
- package/lib/components/Textarea/Textarea.d.ts.map +1 -1
- package/lib/components/Textarea/Textarea.js +38 -0
- package/lib/components/Timeline/Timeline.d.ts +1 -0
- package/lib/components/Timeline/Timeline.d.ts.map +1 -1
- package/lib/components/Timeline/Timeline.js +14 -4
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +1 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.js +44 -3
- package/lib/components/Toast/Toast.d.ts +6 -2
- package/lib/components/Toast/Toast.d.ts.map +1 -1
- package/lib/components/Toast/Toast.js +81 -14
- package/lib/components/Toggle/Toggle.d.ts +1 -0
- package/lib/components/Toggle/Toggle.d.ts.map +1 -1
- package/lib/components/Toggle/Toggle.js +18 -0
- package/lib/components/TokenListInput/TokenListInput.d.ts +1 -0
- package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -1
- package/lib/components/TokenListInput/TokenListInput.js +56 -7
- package/lib/components/TokenListInput/TokenValueChips.d.ts +2 -0
- package/lib/components/TokenListInput/TokenValueChips.d.ts.map +1 -1
- package/lib/components/TokenListInput/TokenValueChips.js +12 -3
- package/lib/components/Tooltip/Tooltip.d.ts +2 -1
- package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/lib/components/Tooltip/Tooltip.js +23 -1
- package/lib/components/Truncate/Truncate.d.ts +1 -0
- package/lib/components/Truncate/Truncate.d.ts.map +1 -1
- package/lib/components/Truncate/Truncate.js +12 -3
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +2 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +15 -1
- package/lib/components/Typeahead/SimpleTypeahead.d.ts +1 -0
- package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -1
- package/lib/components/Typeahead/SimpleTypeahead.js +3 -1
- package/lib/components/Typeahead/Typeahead.d.ts +1 -0
- package/lib/components/Typeahead/Typeahead.d.ts.map +1 -1
- package/lib/components/Typeahead/Typeahead.js +19 -2
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +1 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -1
- package/lib/components/WeekdayPicker/WeekdayPicker.js +16 -4
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ exports.TitleMedium = exports.SubTitleSmall = exports.SubTitleMedium = exports.S
|
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _typography = require("../../types/typography");
|
|
9
9
|
var _classify = _interopRequireDefault(require("../../utils/classify"));
|
|
10
|
+
var _qa = require("../../utils/qa");
|
|
10
11
|
var _string = require("../../utils/string");
|
|
11
12
|
var _typographyModule = _interopRequireDefault(require("../../styles/typography.module.css"));
|
|
12
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -18,7 +19,8 @@ const HighlightText = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
18
19
|
highlight,
|
|
19
20
|
highlightClassName,
|
|
20
21
|
caseSensitiveHighlighting,
|
|
21
|
-
highlightWithBackground
|
|
22
|
+
highlightWithBackground,
|
|
23
|
+
testId
|
|
22
24
|
} = _ref;
|
|
23
25
|
// Split text on highlight term, include term itself into parts, ignore case
|
|
24
26
|
// Convert highlight to an array if it's not already
|
|
@@ -27,6 +29,10 @@ const HighlightText = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
27
29
|
const parts = text.split(new RegExp(`(${highlights})`, caseSensitiveHighlighting ? '' : 'gi')).filter(part => part !== '');
|
|
28
30
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
29
31
|
ref: ref,
|
|
32
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
33
|
+
base: testId,
|
|
34
|
+
slot: 'highlight'
|
|
35
|
+
}),
|
|
30
36
|
children: parts.map((part, idx) => {
|
|
31
37
|
const isHighlighted = highlightArray.some(highlightTerm => caseSensitiveHighlighting ? (0, _string.escapeRegExp)(part).includes((0, _string.escapeRegExp)(highlightTerm)) : (0, _string.escapeRegExp)(part).toLowerCase().includes((0, _string.escapeRegExp)(highlightTerm).toLowerCase()));
|
|
32
38
|
return isHighlighted ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
@@ -47,10 +53,15 @@ const JumboLarge = exports.JumboLarge = /*#__PURE__*/React.forwardRef((_ref2, re
|
|
|
47
53
|
highlightString,
|
|
48
54
|
caseSensitiveHighlighting,
|
|
49
55
|
highlightWithBackground,
|
|
56
|
+
testId,
|
|
50
57
|
...props
|
|
51
58
|
} = _ref2;
|
|
52
59
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
53
60
|
...props,
|
|
61
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
62
|
+
base: testId,
|
|
63
|
+
slot: 'text'
|
|
64
|
+
}),
|
|
54
65
|
className: (0, _classify.default)(_typographyModule.default.jumboLarge, _typographyModule.default[color], className),
|
|
55
66
|
ref: ref,
|
|
56
67
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -58,7 +69,8 @@ const JumboLarge = exports.JumboLarge = /*#__PURE__*/React.forwardRef((_ref2, re
|
|
|
58
69
|
highlight: highlightString,
|
|
59
70
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
60
71
|
highlightClassName: highlightedTextClassName,
|
|
61
|
-
highlightWithBackground: highlightWithBackground
|
|
72
|
+
highlightWithBackground: highlightWithBackground,
|
|
73
|
+
testId: testId
|
|
62
74
|
}) : children
|
|
63
75
|
});
|
|
64
76
|
});
|
|
@@ -71,10 +83,15 @@ const JumboMedium = exports.JumboMedium = /*#__PURE__*/React.forwardRef((_ref3,
|
|
|
71
83
|
highlightString,
|
|
72
84
|
caseSensitiveHighlighting,
|
|
73
85
|
highlightWithBackground,
|
|
86
|
+
testId,
|
|
74
87
|
...props
|
|
75
88
|
} = _ref3;
|
|
76
89
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
77
90
|
...props,
|
|
91
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
92
|
+
base: testId,
|
|
93
|
+
slot: 'text'
|
|
94
|
+
}),
|
|
78
95
|
className: (0, _classify.default)(_typographyModule.default.jumboMedium, _typographyModule.default[color], className),
|
|
79
96
|
ref: ref,
|
|
80
97
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -82,7 +99,8 @@ const JumboMedium = exports.JumboMedium = /*#__PURE__*/React.forwardRef((_ref3,
|
|
|
82
99
|
highlight: highlightString,
|
|
83
100
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
84
101
|
highlightClassName: highlightedTextClassName,
|
|
85
|
-
highlightWithBackground: highlightWithBackground
|
|
102
|
+
highlightWithBackground: highlightWithBackground,
|
|
103
|
+
testId: testId
|
|
86
104
|
}) : children
|
|
87
105
|
});
|
|
88
106
|
});
|
|
@@ -95,10 +113,15 @@ const JumboSmall = exports.JumboSmall = /*#__PURE__*/React.forwardRef((_ref4, re
|
|
|
95
113
|
highlightString,
|
|
96
114
|
caseSensitiveHighlighting,
|
|
97
115
|
highlightWithBackground,
|
|
116
|
+
testId,
|
|
98
117
|
...props
|
|
99
118
|
} = _ref4;
|
|
100
119
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
101
120
|
...props,
|
|
121
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
122
|
+
base: testId,
|
|
123
|
+
slot: 'text'
|
|
124
|
+
}),
|
|
102
125
|
className: (0, _classify.default)(_typographyModule.default.jumboSmall, _typographyModule.default[color], className),
|
|
103
126
|
ref: ref,
|
|
104
127
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -106,7 +129,8 @@ const JumboSmall = exports.JumboSmall = /*#__PURE__*/React.forwardRef((_ref4, re
|
|
|
106
129
|
highlight: highlightString,
|
|
107
130
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
108
131
|
highlightClassName: highlightedTextClassName,
|
|
109
|
-
highlightWithBackground: highlightWithBackground
|
|
132
|
+
highlightWithBackground: highlightWithBackground,
|
|
133
|
+
testId: testId
|
|
110
134
|
}) : children
|
|
111
135
|
});
|
|
112
136
|
});
|
|
@@ -119,10 +143,15 @@ const TitleMedium = exports.TitleMedium = /*#__PURE__*/React.forwardRef((_ref5,
|
|
|
119
143
|
highlightString,
|
|
120
144
|
caseSensitiveHighlighting,
|
|
121
145
|
highlightWithBackground,
|
|
146
|
+
testId,
|
|
122
147
|
...props
|
|
123
148
|
} = _ref5;
|
|
124
149
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("h1", {
|
|
125
150
|
...props,
|
|
151
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
152
|
+
base: testId,
|
|
153
|
+
slot: 'text'
|
|
154
|
+
}),
|
|
126
155
|
className: (0, _classify.default)(_typographyModule.default.titleMedium, _typographyModule.default[color], className),
|
|
127
156
|
ref: ref,
|
|
128
157
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -130,7 +159,8 @@ const TitleMedium = exports.TitleMedium = /*#__PURE__*/React.forwardRef((_ref5,
|
|
|
130
159
|
highlight: highlightString,
|
|
131
160
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
132
161
|
highlightClassName: highlightedTextClassName,
|
|
133
|
-
highlightWithBackground: highlightWithBackground
|
|
162
|
+
highlightWithBackground: highlightWithBackground,
|
|
163
|
+
testId: testId
|
|
134
164
|
}) : children
|
|
135
165
|
});
|
|
136
166
|
});
|
|
@@ -143,10 +173,15 @@ const SubTitleLarge = exports.SubTitleLarge = /*#__PURE__*/React.forwardRef((_re
|
|
|
143
173
|
highlightString,
|
|
144
174
|
caseSensitiveHighlighting,
|
|
145
175
|
highlightWithBackground,
|
|
176
|
+
testId,
|
|
146
177
|
...props
|
|
147
178
|
} = _ref6;
|
|
148
179
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("h2", {
|
|
149
180
|
...props,
|
|
181
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
182
|
+
base: testId,
|
|
183
|
+
slot: 'text'
|
|
184
|
+
}),
|
|
150
185
|
className: (0, _classify.default)(_typographyModule.default.subTitleLarge, _typographyModule.default[color], className),
|
|
151
186
|
ref: ref,
|
|
152
187
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -154,7 +189,8 @@ const SubTitleLarge = exports.SubTitleLarge = /*#__PURE__*/React.forwardRef((_re
|
|
|
154
189
|
highlight: highlightString,
|
|
155
190
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
156
191
|
highlightClassName: highlightedTextClassName,
|
|
157
|
-
highlightWithBackground: highlightWithBackground
|
|
192
|
+
highlightWithBackground: highlightWithBackground,
|
|
193
|
+
testId: testId
|
|
158
194
|
}) : children
|
|
159
195
|
});
|
|
160
196
|
});
|
|
@@ -167,10 +203,15 @@ const SubTitleMedium = exports.SubTitleMedium = /*#__PURE__*/React.forwardRef((_
|
|
|
167
203
|
highlightString,
|
|
168
204
|
caseSensitiveHighlighting,
|
|
169
205
|
highlightWithBackground,
|
|
206
|
+
testId,
|
|
170
207
|
...props
|
|
171
208
|
} = _ref7;
|
|
172
209
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("h3", {
|
|
173
210
|
...props,
|
|
211
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
212
|
+
base: testId,
|
|
213
|
+
slot: 'text'
|
|
214
|
+
}),
|
|
174
215
|
className: (0, _classify.default)(_typographyModule.default.subTitleMedium, _typographyModule.default[color], className),
|
|
175
216
|
ref: ref,
|
|
176
217
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -178,7 +219,8 @@ const SubTitleMedium = exports.SubTitleMedium = /*#__PURE__*/React.forwardRef((_
|
|
|
178
219
|
highlight: highlightString,
|
|
179
220
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
180
221
|
highlightClassName: highlightedTextClassName,
|
|
181
|
-
highlightWithBackground: highlightWithBackground
|
|
222
|
+
highlightWithBackground: highlightWithBackground,
|
|
223
|
+
testId: testId
|
|
182
224
|
}) : children
|
|
183
225
|
});
|
|
184
226
|
});
|
|
@@ -191,10 +233,15 @@ const SubTitleSmall = exports.SubTitleSmall = /*#__PURE__*/React.forwardRef((_re
|
|
|
191
233
|
highlightString,
|
|
192
234
|
caseSensitiveHighlighting,
|
|
193
235
|
highlightWithBackground,
|
|
236
|
+
testId,
|
|
194
237
|
...props
|
|
195
238
|
} = _ref8;
|
|
196
239
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("h4", {
|
|
197
240
|
...props,
|
|
241
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
242
|
+
base: testId,
|
|
243
|
+
slot: 'text'
|
|
244
|
+
}),
|
|
198
245
|
className: (0, _classify.default)(_typographyModule.default.subTitleSmall, _typographyModule.default[color], className),
|
|
199
246
|
ref: ref,
|
|
200
247
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -202,7 +249,8 @@ const SubTitleSmall = exports.SubTitleSmall = /*#__PURE__*/React.forwardRef((_re
|
|
|
202
249
|
highlight: highlightString,
|
|
203
250
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
204
251
|
highlightClassName: highlightedTextClassName,
|
|
205
|
-
highlightWithBackground: highlightWithBackground
|
|
252
|
+
highlightWithBackground: highlightWithBackground,
|
|
253
|
+
testId: testId
|
|
206
254
|
}) : children
|
|
207
255
|
});
|
|
208
256
|
});
|
|
@@ -215,10 +263,15 @@ const SubTitleExtraSmall = exports.SubTitleExtraSmall = /*#__PURE__*/React.forwa
|
|
|
215
263
|
highlightString,
|
|
216
264
|
caseSensitiveHighlighting,
|
|
217
265
|
highlightWithBackground,
|
|
266
|
+
testId,
|
|
218
267
|
...props
|
|
219
268
|
} = _ref9;
|
|
220
269
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("h5", {
|
|
221
270
|
...props,
|
|
271
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
272
|
+
base: testId,
|
|
273
|
+
slot: 'text'
|
|
274
|
+
}),
|
|
222
275
|
className: (0, _classify.default)(_typographyModule.default.subTitleExtraSmall, _typographyModule.default[color], className),
|
|
223
276
|
ref: ref,
|
|
224
277
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -226,7 +279,8 @@ const SubTitleExtraSmall = exports.SubTitleExtraSmall = /*#__PURE__*/React.forwa
|
|
|
226
279
|
highlight: highlightString,
|
|
227
280
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
228
281
|
highlightClassName: highlightedTextClassName,
|
|
229
|
-
highlightWithBackground: highlightWithBackground
|
|
282
|
+
highlightWithBackground: highlightWithBackground,
|
|
283
|
+
testId: testId
|
|
230
284
|
}) : children
|
|
231
285
|
});
|
|
232
286
|
});
|
|
@@ -239,10 +293,15 @@ const ButtonTextMedium = exports.ButtonTextMedium = /*#__PURE__*/React.forwardRe
|
|
|
239
293
|
highlightString,
|
|
240
294
|
caseSensitiveHighlighting,
|
|
241
295
|
highlightWithBackground,
|
|
296
|
+
testId,
|
|
242
297
|
...props
|
|
243
298
|
} = _ref0;
|
|
244
299
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
245
300
|
...props,
|
|
301
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
302
|
+
base: testId,
|
|
303
|
+
slot: 'text'
|
|
304
|
+
}),
|
|
246
305
|
className: (0, _classify.default)(_typographyModule.default.buttonTextMedium, _typographyModule.default[color], className),
|
|
247
306
|
ref: ref,
|
|
248
307
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -250,7 +309,8 @@ const ButtonTextMedium = exports.ButtonTextMedium = /*#__PURE__*/React.forwardRe
|
|
|
250
309
|
highlight: highlightString,
|
|
251
310
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
252
311
|
highlightClassName: highlightedTextClassName,
|
|
253
|
-
highlightWithBackground: highlightWithBackground
|
|
312
|
+
highlightWithBackground: highlightWithBackground,
|
|
313
|
+
testId: testId
|
|
254
314
|
}) : children
|
|
255
315
|
});
|
|
256
316
|
});
|
|
@@ -263,10 +323,15 @@ const ButtonTextSmall = exports.ButtonTextSmall = /*#__PURE__*/React.forwardRef(
|
|
|
263
323
|
highlightString,
|
|
264
324
|
caseSensitiveHighlighting,
|
|
265
325
|
highlightWithBackground,
|
|
326
|
+
testId,
|
|
266
327
|
...props
|
|
267
328
|
} = _ref1;
|
|
268
329
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
269
330
|
...props,
|
|
331
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
332
|
+
base: testId,
|
|
333
|
+
slot: 'text'
|
|
334
|
+
}),
|
|
270
335
|
className: (0, _classify.default)(_typographyModule.default.buttonTextSmall, _typographyModule.default[color], className),
|
|
271
336
|
ref: ref,
|
|
272
337
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -274,7 +339,8 @@ const ButtonTextSmall = exports.ButtonTextSmall = /*#__PURE__*/React.forwardRef(
|
|
|
274
339
|
highlight: highlightString,
|
|
275
340
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
276
341
|
highlightClassName: highlightedTextClassName,
|
|
277
|
-
highlightWithBackground: highlightWithBackground
|
|
342
|
+
highlightWithBackground: highlightWithBackground,
|
|
343
|
+
testId: testId
|
|
278
344
|
}) : children
|
|
279
345
|
});
|
|
280
346
|
});
|
|
@@ -287,10 +353,15 @@ const MenuTextMedium = exports.MenuTextMedium = /*#__PURE__*/React.forwardRef((_
|
|
|
287
353
|
highlightString,
|
|
288
354
|
caseSensitiveHighlighting,
|
|
289
355
|
highlightWithBackground,
|
|
356
|
+
testId,
|
|
290
357
|
...props
|
|
291
358
|
} = _ref10;
|
|
292
359
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
293
360
|
...props,
|
|
361
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
362
|
+
base: testId,
|
|
363
|
+
slot: 'text'
|
|
364
|
+
}),
|
|
294
365
|
className: (0, _classify.default)(_typographyModule.default.menuTextMedium, _typographyModule.default[color], className),
|
|
295
366
|
ref: ref,
|
|
296
367
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -298,7 +369,8 @@ const MenuTextMedium = exports.MenuTextMedium = /*#__PURE__*/React.forwardRef((_
|
|
|
298
369
|
highlight: highlightString,
|
|
299
370
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
300
371
|
highlightClassName: highlightedTextClassName,
|
|
301
|
-
highlightWithBackground: highlightWithBackground
|
|
372
|
+
highlightWithBackground: highlightWithBackground,
|
|
373
|
+
testId: testId
|
|
302
374
|
}) : children
|
|
303
375
|
});
|
|
304
376
|
});
|
|
@@ -311,10 +383,15 @@ const MenuTextSmall = exports.MenuTextSmall = /*#__PURE__*/React.forwardRef((_re
|
|
|
311
383
|
highlightString,
|
|
312
384
|
caseSensitiveHighlighting,
|
|
313
385
|
highlightWithBackground,
|
|
386
|
+
testId,
|
|
314
387
|
...props
|
|
315
388
|
} = _ref11;
|
|
316
389
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
317
390
|
...props,
|
|
391
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
392
|
+
base: testId,
|
|
393
|
+
slot: 'text'
|
|
394
|
+
}),
|
|
318
395
|
className: (0, _classify.default)(_typographyModule.default.menuTextSmall, _typographyModule.default[color], className),
|
|
319
396
|
ref: ref,
|
|
320
397
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -322,7 +399,8 @@ const MenuTextSmall = exports.MenuTextSmall = /*#__PURE__*/React.forwardRef((_re
|
|
|
322
399
|
highlight: highlightString,
|
|
323
400
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
324
401
|
highlightClassName: highlightedTextClassName,
|
|
325
|
-
highlightWithBackground: highlightWithBackground
|
|
402
|
+
highlightWithBackground: highlightWithBackground,
|
|
403
|
+
testId: testId
|
|
326
404
|
}) : children
|
|
327
405
|
});
|
|
328
406
|
});
|
|
@@ -335,10 +413,15 @@ const ButtonTextExtraSmall = exports.ButtonTextExtraSmall = /*#__PURE__*/React.f
|
|
|
335
413
|
highlightString,
|
|
336
414
|
caseSensitiveHighlighting,
|
|
337
415
|
highlightWithBackground,
|
|
416
|
+
testId,
|
|
338
417
|
...props
|
|
339
418
|
} = _ref12;
|
|
340
419
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
341
420
|
...props,
|
|
421
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
422
|
+
base: testId,
|
|
423
|
+
slot: 'text'
|
|
424
|
+
}),
|
|
342
425
|
className: (0, _classify.default)(_typographyModule.default.buttonTextExtraSmall, _typographyModule.default[color], className),
|
|
343
426
|
ref: ref,
|
|
344
427
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -346,7 +429,8 @@ const ButtonTextExtraSmall = exports.ButtonTextExtraSmall = /*#__PURE__*/React.f
|
|
|
346
429
|
highlight: highlightString,
|
|
347
430
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
348
431
|
highlightClassName: highlightedTextClassName,
|
|
349
|
-
highlightWithBackground: highlightWithBackground
|
|
432
|
+
highlightWithBackground: highlightWithBackground,
|
|
433
|
+
testId: testId
|
|
350
434
|
}) : children
|
|
351
435
|
});
|
|
352
436
|
});
|
|
@@ -359,10 +443,15 @@ const ButtonTextMediumUnderline = exports.ButtonTextMediumUnderline = /*#__PURE_
|
|
|
359
443
|
highlightString,
|
|
360
444
|
caseSensitiveHighlighting,
|
|
361
445
|
highlightWithBackground,
|
|
446
|
+
testId,
|
|
362
447
|
...props
|
|
363
448
|
} = _ref13;
|
|
364
449
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
365
450
|
...props,
|
|
451
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
452
|
+
base: testId,
|
|
453
|
+
slot: 'text'
|
|
454
|
+
}),
|
|
366
455
|
className: (0, _classify.default)(_typographyModule.default.buttonTextMedium, _typographyModule.default.underline, _typographyModule.default[color], className),
|
|
367
456
|
ref: ref,
|
|
368
457
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -370,7 +459,8 @@ const ButtonTextMediumUnderline = exports.ButtonTextMediumUnderline = /*#__PURE_
|
|
|
370
459
|
highlight: highlightString,
|
|
371
460
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
372
461
|
highlightClassName: highlightedTextClassName,
|
|
373
|
-
highlightWithBackground: highlightWithBackground
|
|
462
|
+
highlightWithBackground: highlightWithBackground,
|
|
463
|
+
testId: testId
|
|
374
464
|
}) : children
|
|
375
465
|
});
|
|
376
466
|
});
|
|
@@ -383,10 +473,15 @@ const ButtonTextSmallUnderline = exports.ButtonTextSmallUnderline = /*#__PURE__*
|
|
|
383
473
|
highlightString,
|
|
384
474
|
caseSensitiveHighlighting,
|
|
385
475
|
highlightWithBackground,
|
|
476
|
+
testId,
|
|
386
477
|
...props
|
|
387
478
|
} = _ref14;
|
|
388
479
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
389
480
|
...props,
|
|
481
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
482
|
+
base: testId,
|
|
483
|
+
slot: 'text'
|
|
484
|
+
}),
|
|
390
485
|
className: (0, _classify.default)(_typographyModule.default.buttonTextSmall, _typographyModule.default.underline, _typographyModule.default[color], className),
|
|
391
486
|
ref: ref,
|
|
392
487
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -394,7 +489,8 @@ const ButtonTextSmallUnderline = exports.ButtonTextSmallUnderline = /*#__PURE__*
|
|
|
394
489
|
highlight: highlightString,
|
|
395
490
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
396
491
|
highlightClassName: highlightedTextClassName,
|
|
397
|
-
highlightWithBackground: highlightWithBackground
|
|
492
|
+
highlightWithBackground: highlightWithBackground,
|
|
493
|
+
testId: testId
|
|
398
494
|
}) : children
|
|
399
495
|
});
|
|
400
496
|
});
|
|
@@ -407,10 +503,15 @@ const ButtonTextExtraSmallUnderline = exports.ButtonTextExtraSmallUnderline = /*
|
|
|
407
503
|
highlightString,
|
|
408
504
|
caseSensitiveHighlighting,
|
|
409
505
|
highlightWithBackground,
|
|
506
|
+
testId,
|
|
410
507
|
...props
|
|
411
508
|
} = _ref15;
|
|
412
509
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
413
510
|
...props,
|
|
511
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
512
|
+
base: testId,
|
|
513
|
+
slot: 'text'
|
|
514
|
+
}),
|
|
414
515
|
className: (0, _classify.default)(_typographyModule.default.buttonTextExtraSmall, _typographyModule.default.underline, _typographyModule.default[color], className),
|
|
415
516
|
ref: ref,
|
|
416
517
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -418,7 +519,8 @@ const ButtonTextExtraSmallUnderline = exports.ButtonTextExtraSmallUnderline = /*
|
|
|
418
519
|
highlight: highlightString,
|
|
419
520
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
420
521
|
highlightClassName: highlightedTextClassName,
|
|
421
|
-
highlightWithBackground: highlightWithBackground
|
|
522
|
+
highlightWithBackground: highlightWithBackground,
|
|
523
|
+
testId: testId
|
|
422
524
|
}) : children
|
|
423
525
|
});
|
|
424
526
|
});
|
|
@@ -431,10 +533,15 @@ const FormInputMedium = exports.FormInputMedium = /*#__PURE__*/React.forwardRef(
|
|
|
431
533
|
highlightString,
|
|
432
534
|
caseSensitiveHighlighting,
|
|
433
535
|
highlightWithBackground,
|
|
536
|
+
testId,
|
|
434
537
|
...props
|
|
435
538
|
} = _ref16;
|
|
436
539
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
437
540
|
...props,
|
|
541
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
542
|
+
base: testId,
|
|
543
|
+
slot: 'text'
|
|
544
|
+
}),
|
|
438
545
|
className: (0, _classify.default)(_typographyModule.default.formInputMedium, _typographyModule.default[color], className),
|
|
439
546
|
ref: ref,
|
|
440
547
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -442,7 +549,8 @@ const FormInputMedium = exports.FormInputMedium = /*#__PURE__*/React.forwardRef(
|
|
|
442
549
|
highlight: highlightString,
|
|
443
550
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
444
551
|
highlightClassName: highlightedTextClassName,
|
|
445
|
-
highlightWithBackground: highlightWithBackground
|
|
552
|
+
highlightWithBackground: highlightWithBackground,
|
|
553
|
+
testId: testId
|
|
446
554
|
}) : children
|
|
447
555
|
});
|
|
448
556
|
});
|
|
@@ -455,10 +563,15 @@ const FormInputSmall = exports.FormInputSmall = /*#__PURE__*/React.forwardRef((_
|
|
|
455
563
|
highlightString,
|
|
456
564
|
caseSensitiveHighlighting,
|
|
457
565
|
highlightWithBackground,
|
|
566
|
+
testId,
|
|
458
567
|
...props
|
|
459
568
|
} = _ref17;
|
|
460
569
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
461
570
|
...props,
|
|
571
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
572
|
+
base: testId,
|
|
573
|
+
slot: 'text'
|
|
574
|
+
}),
|
|
462
575
|
className: (0, _classify.default)(_typographyModule.default.formInputSmall, _typographyModule.default[color], className),
|
|
463
576
|
ref: ref,
|
|
464
577
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -466,7 +579,8 @@ const FormInputSmall = exports.FormInputSmall = /*#__PURE__*/React.forwardRef((_
|
|
|
466
579
|
highlight: highlightString,
|
|
467
580
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
468
581
|
highlightClassName: highlightedTextClassName,
|
|
469
|
-
highlightWithBackground: highlightWithBackground
|
|
582
|
+
highlightWithBackground: highlightWithBackground,
|
|
583
|
+
testId: testId
|
|
470
584
|
}) : children
|
|
471
585
|
});
|
|
472
586
|
});
|
|
@@ -479,10 +593,15 @@ const BodyLarge = exports.BodyLarge = /*#__PURE__*/React.forwardRef((_ref18, ref
|
|
|
479
593
|
highlightString,
|
|
480
594
|
caseSensitiveHighlighting,
|
|
481
595
|
highlightWithBackground,
|
|
596
|
+
testId,
|
|
482
597
|
...props
|
|
483
598
|
} = _ref18;
|
|
484
599
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
485
600
|
...props,
|
|
601
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
602
|
+
base: testId,
|
|
603
|
+
slot: 'text'
|
|
604
|
+
}),
|
|
486
605
|
className: (0, _classify.default)(_typographyModule.default.bodyLarge, _typographyModule.default[color], className),
|
|
487
606
|
ref: ref,
|
|
488
607
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -490,7 +609,8 @@ const BodyLarge = exports.BodyLarge = /*#__PURE__*/React.forwardRef((_ref18, ref
|
|
|
490
609
|
highlight: highlightString,
|
|
491
610
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
492
611
|
highlightClassName: highlightedTextClassName,
|
|
493
|
-
highlightWithBackground: highlightWithBackground
|
|
612
|
+
highlightWithBackground: highlightWithBackground,
|
|
613
|
+
testId: testId
|
|
494
614
|
}) : children
|
|
495
615
|
});
|
|
496
616
|
});
|
|
@@ -503,10 +623,15 @@ const BodyMedium = exports.BodyMedium = /*#__PURE__*/React.forwardRef((_ref19, r
|
|
|
503
623
|
highlightString,
|
|
504
624
|
caseSensitiveHighlighting,
|
|
505
625
|
highlightWithBackground,
|
|
626
|
+
testId,
|
|
506
627
|
...props
|
|
507
628
|
} = _ref19;
|
|
508
629
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
509
630
|
...props,
|
|
631
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
632
|
+
base: testId,
|
|
633
|
+
slot: 'text'
|
|
634
|
+
}),
|
|
510
635
|
className: (0, _classify.default)(_typographyModule.default.bodyMedium, _typographyModule.default[color], className),
|
|
511
636
|
ref: ref,
|
|
512
637
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -514,7 +639,8 @@ const BodyMedium = exports.BodyMedium = /*#__PURE__*/React.forwardRef((_ref19, r
|
|
|
514
639
|
highlight: highlightString,
|
|
515
640
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
516
641
|
highlightClassName: highlightedTextClassName,
|
|
517
|
-
highlightWithBackground: highlightWithBackground
|
|
642
|
+
highlightWithBackground: highlightWithBackground,
|
|
643
|
+
testId: testId
|
|
518
644
|
}) : children
|
|
519
645
|
});
|
|
520
646
|
});
|
|
@@ -527,10 +653,15 @@ const BodySmall = exports.BodySmall = /*#__PURE__*/React.forwardRef((_ref20, ref
|
|
|
527
653
|
highlightString,
|
|
528
654
|
caseSensitiveHighlighting,
|
|
529
655
|
highlightWithBackground,
|
|
656
|
+
testId,
|
|
530
657
|
...props
|
|
531
658
|
} = _ref20;
|
|
532
659
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
533
660
|
...props,
|
|
661
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
662
|
+
base: testId,
|
|
663
|
+
slot: 'text'
|
|
664
|
+
}),
|
|
534
665
|
className: (0, _classify.default)(_typographyModule.default.bodySmall, _typographyModule.default[color], className),
|
|
535
666
|
ref: ref,
|
|
536
667
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -538,7 +669,8 @@ const BodySmall = exports.BodySmall = /*#__PURE__*/React.forwardRef((_ref20, ref
|
|
|
538
669
|
highlight: highlightString,
|
|
539
670
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
540
671
|
highlightClassName: highlightedTextClassName,
|
|
541
|
-
highlightWithBackground: highlightWithBackground
|
|
672
|
+
highlightWithBackground: highlightWithBackground,
|
|
673
|
+
testId: testId
|
|
542
674
|
}) : children
|
|
543
675
|
});
|
|
544
676
|
});
|
|
@@ -551,10 +683,15 @@ const BodyLargeBold = exports.BodyLargeBold = /*#__PURE__*/React.forwardRef((_re
|
|
|
551
683
|
highlightString,
|
|
552
684
|
caseSensitiveHighlighting,
|
|
553
685
|
highlightWithBackground,
|
|
686
|
+
testId,
|
|
554
687
|
...props
|
|
555
688
|
} = _ref21;
|
|
556
689
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
557
690
|
...props,
|
|
691
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
692
|
+
base: testId,
|
|
693
|
+
slot: 'text'
|
|
694
|
+
}),
|
|
558
695
|
className: (0, _classify.default)(_typographyModule.default.bodyLarge, _typographyModule.default.bold, _typographyModule.default[color], className),
|
|
559
696
|
ref: ref,
|
|
560
697
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -562,7 +699,8 @@ const BodyLargeBold = exports.BodyLargeBold = /*#__PURE__*/React.forwardRef((_re
|
|
|
562
699
|
highlight: highlightString,
|
|
563
700
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
564
701
|
highlightClassName: highlightedTextClassName,
|
|
565
|
-
highlightWithBackground: highlightWithBackground
|
|
702
|
+
highlightWithBackground: highlightWithBackground,
|
|
703
|
+
testId: testId
|
|
566
704
|
}) : children
|
|
567
705
|
});
|
|
568
706
|
});
|
|
@@ -575,10 +713,15 @@ const BodyMediumBold = exports.BodyMediumBold = /*#__PURE__*/React.forwardRef((_
|
|
|
575
713
|
highlightString,
|
|
576
714
|
caseSensitiveHighlighting,
|
|
577
715
|
highlightWithBackground,
|
|
716
|
+
testId,
|
|
578
717
|
...props
|
|
579
718
|
} = _ref22;
|
|
580
719
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
581
720
|
...props,
|
|
721
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
722
|
+
base: testId,
|
|
723
|
+
slot: 'text'
|
|
724
|
+
}),
|
|
582
725
|
className: (0, _classify.default)(_typographyModule.default.bodyMedium, _typographyModule.default.bold, _typographyModule.default[color], className),
|
|
583
726
|
ref: ref,
|
|
584
727
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -586,7 +729,8 @@ const BodyMediumBold = exports.BodyMediumBold = /*#__PURE__*/React.forwardRef((_
|
|
|
586
729
|
highlight: highlightString,
|
|
587
730
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
588
731
|
highlightClassName: highlightedTextClassName,
|
|
589
|
-
highlightWithBackground: highlightWithBackground
|
|
732
|
+
highlightWithBackground: highlightWithBackground,
|
|
733
|
+
testId: testId
|
|
590
734
|
}) : children
|
|
591
735
|
});
|
|
592
736
|
});
|
|
@@ -599,10 +743,15 @@ const BodySmallBold = exports.BodySmallBold = /*#__PURE__*/React.forwardRef((_re
|
|
|
599
743
|
highlightString,
|
|
600
744
|
caseSensitiveHighlighting,
|
|
601
745
|
highlightWithBackground,
|
|
746
|
+
testId,
|
|
602
747
|
...props
|
|
603
748
|
} = _ref23;
|
|
604
749
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
605
750
|
...props,
|
|
751
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
752
|
+
base: testId,
|
|
753
|
+
slot: 'text'
|
|
754
|
+
}),
|
|
606
755
|
className: (0, _classify.default)(_typographyModule.default.bodySmall, _typographyModule.default.bold, _typographyModule.default[color], className),
|
|
607
756
|
ref: ref,
|
|
608
757
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -610,7 +759,8 @@ const BodySmallBold = exports.BodySmallBold = /*#__PURE__*/React.forwardRef((_re
|
|
|
610
759
|
highlight: highlightString,
|
|
611
760
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
612
761
|
highlightClassName: highlightedTextClassName,
|
|
613
|
-
highlightWithBackground: highlightWithBackground
|
|
762
|
+
highlightWithBackground: highlightWithBackground,
|
|
763
|
+
testId: testId
|
|
614
764
|
}) : children
|
|
615
765
|
});
|
|
616
766
|
});
|
|
@@ -623,10 +773,15 @@ const FormLabelMedium = exports.FormLabelMedium = /*#__PURE__*/React.forwardRef(
|
|
|
623
773
|
highlightString,
|
|
624
774
|
caseSensitiveHighlighting,
|
|
625
775
|
highlightWithBackground,
|
|
776
|
+
testId,
|
|
626
777
|
...props
|
|
627
778
|
} = _ref24;
|
|
628
779
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
629
780
|
...props,
|
|
781
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
782
|
+
base: testId,
|
|
783
|
+
slot: 'text'
|
|
784
|
+
}),
|
|
630
785
|
className: (0, _classify.default)(_typographyModule.default.formLabelMedium, _typographyModule.default[color], className),
|
|
631
786
|
ref: ref,
|
|
632
787
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -634,7 +789,8 @@ const FormLabelMedium = exports.FormLabelMedium = /*#__PURE__*/React.forwardRef(
|
|
|
634
789
|
highlight: highlightString,
|
|
635
790
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
636
791
|
highlightClassName: highlightedTextClassName,
|
|
637
|
-
highlightWithBackground: highlightWithBackground
|
|
792
|
+
highlightWithBackground: highlightWithBackground,
|
|
793
|
+
testId: testId
|
|
638
794
|
}) : children
|
|
639
795
|
});
|
|
640
796
|
});
|
|
@@ -647,10 +803,15 @@ const FormLabelSmall = exports.FormLabelSmall = /*#__PURE__*/React.forwardRef((_
|
|
|
647
803
|
highlightString,
|
|
648
804
|
caseSensitiveHighlighting,
|
|
649
805
|
highlightWithBackground,
|
|
806
|
+
testId,
|
|
650
807
|
...props
|
|
651
808
|
} = _ref25;
|
|
652
809
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
653
810
|
...props,
|
|
811
|
+
"data-testid": (0, _qa.generateTestId)({
|
|
812
|
+
base: testId,
|
|
813
|
+
slot: 'text'
|
|
814
|
+
}),
|
|
654
815
|
className: (0, _classify.default)(_typographyModule.default.formLabelSmall, _typographyModule.default[color], className),
|
|
655
816
|
ref: ref,
|
|
656
817
|
children: !!highlightString?.length && typeof children === 'string' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(HighlightText, {
|
|
@@ -658,7 +819,8 @@ const FormLabelSmall = exports.FormLabelSmall = /*#__PURE__*/React.forwardRef((_
|
|
|
658
819
|
highlight: highlightString,
|
|
659
820
|
caseSensitiveHighlighting: caseSensitiveHighlighting,
|
|
660
821
|
highlightClassName: highlightedTextClassName,
|
|
661
|
-
highlightWithBackground: highlightWithBackground
|
|
822
|
+
highlightWithBackground: highlightWithBackground,
|
|
823
|
+
testId: testId
|
|
662
824
|
}) : children
|
|
663
825
|
});
|
|
664
826
|
});
|