@pingux/astro 2.155.1 → 2.157.1-alpha.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/lib/cjs/api/users.js +3 -5
- package/lib/cjs/components/AIComponents/AIPanel/AIPanel.d.ts +1 -2
- package/lib/cjs/components/AIComponents/AIPanel/AIPanel.js +1 -2
- package/lib/cjs/components/AIComponents/AIPanel/AIPanel.stories.d.ts +3 -3
- package/lib/cjs/components/AIComponents/AIPanel/AIPanel.stories.js +4 -7
- package/lib/cjs/components/AIComponents/AIPanel/AIPanel.test.js +1 -2
- package/lib/cjs/components/AIComponents/AIPanel/AIPanelHeader.d.ts +1 -2
- package/lib/cjs/components/AIComponents/AIPanel/AIPanelHeader.js +1 -2
- package/lib/cjs/components/AIComponents/Attachment/Attachment.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Attachment/Attachment.js +4 -6
- package/lib/cjs/components/AIComponents/Attachment/Attachment.styles.js +2 -3
- package/lib/cjs/components/AIComponents/Attachment/Attachment.test.js +3 -2
- package/lib/cjs/components/AIComponents/Attachment/constants.js +2 -3
- package/lib/cjs/components/AIComponents/Prompt/Prompt.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Prompt/Prompt.js +1 -2
- package/lib/cjs/components/AIComponents/Prompt/Prompt.stories.d.ts +3 -3
- package/lib/cjs/components/AIComponents/Prompt/Prompt.stories.js +3 -5
- package/lib/cjs/components/AIComponents/PromptInput/PromptInput.js +4 -6
- package/lib/cjs/components/AIComponents/PromptInput/PromptInput.stories.d.ts +3 -3
- package/lib/cjs/components/AIComponents/PromptInput/PromptInput.stories.js +6 -9
- package/lib/cjs/components/AIComponents/PromptInput/PromptInput.test.js +38 -29
- package/lib/cjs/components/AIComponents/PromptInput/PromptUploadButton.d.ts +1 -2
- package/lib/cjs/components/AIComponents/PromptInput/PromptUploadButton.js +3 -4
- package/lib/cjs/components/AIComponents/Response/Response.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Response/Response.js +2 -4
- package/lib/cjs/components/AIComponents/Response/Response.stories.d.ts +4 -4
- package/lib/cjs/components/AIComponents/Response/Response.stories.js +4 -7
- package/lib/cjs/components/AIComponents/Response/Response.test.js +256 -0
- package/lib/cjs/components/AIComponents/Response/ResponseAttachment.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Response/ResponseAttachment.js +2 -4
- package/lib/cjs/components/AIComponents/Response/ResponseList.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Response/ResponseList.js +2 -4
- package/lib/cjs/components/AIComponents/Response/ResponseLoader.js +2 -4
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/MarkdownContainer.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/MarkdownContainer.js +2 -4
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/MarkdownListWrapper.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/MarkdownListWrapper.js +3 -4
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/MarkdownTextContainer.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/MarkdownTextContainer.js +3 -6
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/MarkdownTextWrapper.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/MarkdownTextWrapper.js +3 -4
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/MarkdownWrapper.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/MarkdownWrapper.js +2 -4
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/ResponseListItem.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/ResponseListItem.js +2 -4
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/ResponseMarkdown.d.ts +1 -1
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/ResponseMarkdown.js +6 -10
- package/lib/cjs/components/AIComponents/Response/ResponseText.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Response/ResponseText.js +1 -2
- package/lib/cjs/components/AIComponents/Response/ResponseToolbar.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Response/ResponseToolbar.js +2 -4
- package/lib/cjs/components/AIComponents/Response/ResponseToolbarIcon.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Response/ResponseToolbarIcon.js +2 -4
- package/lib/cjs/components/AIComponents/Suggestions/Suggestion.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Suggestions/Suggestion.js +1 -2
- package/lib/cjs/components/AIComponents/Suggestions/Suggestions.d.ts +1 -2
- package/lib/cjs/components/AIComponents/Suggestions/Suggestions.js +2 -4
- package/lib/cjs/components/AIComponents/Suggestions/Suggestions.stories.d.ts +4 -4
- package/lib/cjs/components/AIComponents/Suggestions/Suggestions.stories.js +4 -7
- package/lib/cjs/components/AccordionGridGroup/AccordionGrid.styles.js +4 -5
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.js +5 -8
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.stories.js +16 -17
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.test.js +169 -93
- package/lib/cjs/components/AccordionGridItem/AccordionGridItem.js +4 -5
- package/lib/cjs/components/AccordionGridItem/AccordionGridItemBody.js +2 -4
- package/lib/cjs/components/AccordionGridItem/AccordionGridItemHeader.js +2 -4
- package/lib/cjs/components/AccordionGroup/Accordion.styles.js +5 -7
- package/lib/cjs/components/AccordionGroup/AccordionGroup.js +4 -6
- package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.d.ts +11 -11
- package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.js +13 -24
- package/lib/cjs/components/AccordionGroup/AccordionGroup.test.js +209 -99
- package/lib/cjs/components/AccordionItem/AccordionItem.d.ts +1 -1
- package/lib/cjs/components/AccordionItem/AccordionItem.js +3 -6
- package/lib/cjs/components/ArrayField/ArrayField.js +4 -6
- package/lib/cjs/components/ArrayField/ArrayField.stories.d.ts +4 -5
- package/lib/cjs/components/ArrayField/ArrayField.stories.js +9 -15
- package/lib/cjs/components/ArrayField/ArrayFieldDeleteButton.js +1 -2
- package/lib/cjs/components/AstroProvider/AstroProvider.js +7 -12
- package/lib/cjs/components/AstroProvider/AstroProvider.stories.js +3 -6
- package/lib/cjs/components/AstroProvider/index.js +1 -2
- package/lib/cjs/components/Avatar/Avatar.js +5 -8
- package/lib/cjs/components/Avatar/Avatar.stories.d.ts +2 -2
- package/lib/cjs/components/Avatar/Avatar.stories.js +9 -17
- package/lib/cjs/components/Avatar/stories/Avatar.chromatic.stories.js +3 -5
- package/lib/cjs/components/Avatar/stories/AvatarNextGen.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/Avatar/stories/AvatarNextGen.chromatic.stories.js +3 -5
- package/lib/cjs/components/Avatar/stories/AvatarNextGen.d.ts +1 -2
- package/lib/cjs/components/Avatar/stories/AvatarNextGen.js +1 -2
- package/lib/cjs/components/Avatar/stories/AvatarNextGenDark.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/Avatar/stories/AvatarNextGenDark.chromatic.stories.js +3 -5
- package/lib/cjs/components/Badge/Badge.js +3 -4
- package/lib/cjs/components/Badge/Badge.stories.js +7 -14
- package/lib/cjs/components/Badge/Badge.styles.js +8 -13
- package/lib/cjs/components/Badge/Convenience/ConvenienceBadges.stories.js +5 -10
- package/lib/cjs/components/Badge/Convenience/DefaultBadge.js +1 -2
- package/lib/cjs/components/Badge/Convenience/ErrorCalloutBadge.js +1 -2
- package/lib/cjs/components/Badge/Convenience/InfoCalloutBadge.js +1 -2
- package/lib/cjs/components/Badge/Convenience/RemovableBadge.js +1 -2
- package/lib/cjs/components/Badge/Convenience/RemovableBadge.test.js +32 -10
- package/lib/cjs/components/Badge/Convenience/SuccessCalloutBadge.js +1 -2
- package/lib/cjs/components/Badge/Convenience/WarningCalloutBadge.js +1 -2
- package/lib/cjs/components/Box/Box.js +5 -7
- package/lib/cjs/components/Box/Box.stories.d.ts +6 -6
- package/lib/cjs/components/Box/Box.stories.js +6 -11
- package/lib/cjs/components/Box/Box.styles.js +2 -3
- package/lib/cjs/components/Bracket/Bracket.js +2 -4
- package/lib/cjs/components/Bracket/Bracket.stories.d.ts +3 -4
- package/lib/cjs/components/Bracket/Bracket.stories.js +3 -6
- package/lib/cjs/components/Bracket/Bracket.styles.js +2 -3
- package/lib/cjs/components/Breadcrumbs/Breadcrumb.styles.js +4 -5
- package/lib/cjs/components/Breadcrumbs/BreadcrumbItem.js +5 -8
- package/lib/cjs/components/Breadcrumbs/Breadcrumbs.js +2 -4
- package/lib/cjs/components/Breadcrumbs/Breadcrumbs.stories.d.ts +2 -2
- package/lib/cjs/components/Breadcrumbs/Breadcrumbs.stories.js +3 -6
- package/lib/cjs/components/Breadcrumbs/Breadcrumbs.test.js +31 -9
- package/lib/cjs/components/Button/Button.js +10 -8
- package/lib/cjs/components/Button/Button.stories.d.ts +10 -11
- package/lib/cjs/components/Button/Button.stories.js +13 -23
- package/lib/cjs/components/Button/Button.test.js +65 -38
- package/lib/cjs/components/Button/Buttons.styles.d.ts +66 -27
- package/lib/cjs/components/Button/Buttons.styles.js +12 -21
- package/lib/cjs/components/Button/buttonAttributes.js +4 -5
- package/lib/cjs/components/Button/constants.js +2 -3
- package/lib/cjs/components/ButtonBar/ButtonBar.js +12 -6
- package/lib/cjs/components/ButtonBar/ButtonBar.stories.d.ts +2 -2
- package/lib/cjs/components/ButtonBar/ButtonBar.stories.js +5 -10
- package/lib/cjs/components/ButtonBar/ButtonBar.styles.js +4 -5
- package/lib/cjs/components/ButtonBar/ButtonBar.test.js +3 -3
- package/lib/cjs/components/Calendar/Calendar.js +6 -8
- package/lib/cjs/components/Calendar/Calendar.styles.js +4 -5
- package/lib/cjs/components/Calendar/Calendar.test.js +324 -180
- package/lib/cjs/components/Calendar/CalendarCell.js +2 -4
- package/lib/cjs/components/Calendar/CalendarGrid.d.ts +1 -2
- package/lib/cjs/components/Calendar/CalendarGrid.js +1 -2
- package/lib/cjs/components/Callout/Callout.js +8 -12
- package/lib/cjs/components/Callout/Callout.stories.d.ts +4 -5
- package/lib/cjs/components/Callout/Callout.stories.js +14 -19
- package/lib/cjs/components/Callout/Callout.styles.js +2 -3
- package/lib/cjs/components/Callout/Callout.test.js +2 -4
- package/lib/cjs/components/Callout/stories/CalloutNextGenComponent.d.ts +1 -2
- package/lib/cjs/components/Callout/stories/CalloutNextGenComponent.js +2 -3
- package/lib/cjs/components/Callout/stories/NextGenCallout.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/Callout/stories/NextGenCallout.chromatic.stories.js +3 -5
- package/lib/cjs/components/Callout/stories/NextGenDarkCallout.chomatic.stories.d.ts +1 -2
- package/lib/cjs/components/Callout/stories/NextGenDarkCallout.chomatic.stories.js +3 -5
- package/lib/cjs/components/Card/Card.js +4 -6
- package/lib/cjs/components/Card/Card.stories.d.ts +9 -10
- package/lib/cjs/components/Card/Card.stories.js +12 -21
- package/lib/cjs/components/Card/Card.styles.js +5 -7
- package/lib/cjs/components/Card/Card.test.js +107 -63
- package/lib/cjs/components/Card/cardAttributes.js +4 -5
- package/lib/cjs/components/Checkbox/Checkbox.js +2 -4
- package/lib/cjs/components/Checkbox/Checkbox.styles.js +2 -3
- package/lib/cjs/components/Checkbox/CheckboxBase.js +2 -4
- package/lib/cjs/components/CheckboxField/CheckboxField.js +6 -7
- package/lib/cjs/components/CheckboxField/CheckboxField.stories.d.ts +2 -2
- package/lib/cjs/components/CheckboxField/CheckboxField.stories.js +28 -38
- package/lib/cjs/components/CheckboxField/CheckboxField.test.js +235 -132
- package/lib/cjs/components/CodeEditor/CodeEditor.chromatic.stories.js +6 -11
- package/lib/cjs/components/CodeEditor/CodeEditor.js +4 -6
- package/lib/cjs/components/CodeEditor/CodeEditor.stories.d.ts +1 -1
- package/lib/cjs/components/CodeEditor/CodeEditor.stories.js +7 -13
- package/lib/cjs/components/CodeEditor/CodeEditor.styles.js +4 -5
- package/lib/cjs/components/CodeView/CodeView.js +24 -15
- package/lib/cjs/components/CodeView/CodeView.stories.d.ts +2 -2
- package/lib/cjs/components/CodeView/CodeView.stories.js +8 -16
- package/lib/cjs/components/CodeView/CodeView.styles.js +2 -3
- package/lib/cjs/components/CodeView/CodeView.test.js +117 -81
- package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.js +2 -4
- package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.stories.d.ts +2 -2
- package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.stories.js +2 -4
- package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.styles.js +36 -8
- package/lib/cjs/components/CollapsiblePanelContainer/CollapsiblePanelBadge.js +2 -4
- package/lib/cjs/components/CollapsiblePanelContainer/CollapsiblePanelContainer.js +2 -4
- package/lib/cjs/components/CollapsiblePanelContainer/CollapsiblePanelContainer.test.js +57 -20
- package/lib/cjs/components/CollapsiblePanelItem/CollapsiblePanelItem.js +2 -4
- package/lib/cjs/components/ColorField/ColorField.js +4 -6
- package/lib/cjs/components/ColorField/ColorField.stories.d.ts +2 -2
- package/lib/cjs/components/ColorField/ColorField.stories.js +7 -11
- package/lib/cjs/components/ColorField/ColorField.styles.js +5 -7
- package/lib/cjs/components/ColorField/ColorField.test.js +92 -39
- package/lib/cjs/components/ColorField/ColorFieldPreviewButton.js +2 -4
- package/lib/cjs/components/ComboBox/ComboBox.styles.js +4 -5
- package/lib/cjs/components/ComboBox/ComboBoxInput.js +6 -7
- package/lib/cjs/components/ComboBoxField/ComboBoxField.js +6 -7
- package/lib/cjs/components/ComboBoxField/ComboBoxField.stories.js +60 -83
- package/lib/cjs/components/ComboBoxField/ComboBoxField.test.js +967 -579
- package/lib/cjs/components/CopyText/CopyButton.js +2 -4
- package/lib/cjs/components/CopyText/CopyText.js +2 -4
- package/lib/cjs/components/CopyText/CopyText.stories.d.ts +2 -2
- package/lib/cjs/components/CopyText/CopyText.stories.js +5 -9
- package/lib/cjs/components/CopyText/CopyText.styles.js +5 -7
- package/lib/cjs/components/CopyText/CopyText.test.js +147 -120
- package/lib/cjs/components/DataTable/DataTable.js +7 -9
- package/lib/cjs/components/DataTable/DataTable.stories.d.ts +9 -9
- package/lib/cjs/components/DataTable/DataTable.stories.js +28 -38
- package/lib/cjs/components/DataTable/DataTable.styles.js +4 -5
- package/lib/cjs/components/DataTable/DataTable.test.js +360 -285
- package/lib/cjs/components/DataTable/DataTableBadge.js +2 -5
- package/lib/cjs/components/DataTable/DataTableMenu.js +2 -4
- package/lib/cjs/components/DataTable/DataTableMultiLine.js +2 -8
- package/lib/cjs/components/DataTable/DataTableVirtualizer.js +5 -8
- package/lib/cjs/components/DataTable/stories/DataTableNextGenComponent.d.ts +1 -2
- package/lib/cjs/components/DataTable/stories/DataTableNextGenComponent.js +2 -3
- package/lib/cjs/components/DataTable/stories/NextGenDarkDataTable.chomatic.stories.d.ts +13 -2
- package/lib/cjs/components/DataTable/stories/NextGenDarkDataTable.chomatic.stories.js +12 -4
- package/lib/cjs/components/DataTable/stories/NextGenDataTable.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/DataTable/stories/NextGenDataTable.chromatic.stories.js +3 -5
- package/lib/cjs/components/DatePicker/DateField.js +4 -6
- package/lib/cjs/components/DatePicker/DatePicker.js +7 -9
- package/lib/cjs/components/DatePicker/DatePicker.stories.js +18 -33
- package/lib/cjs/components/DatePicker/DatePicker.styles.js +5 -7
- package/lib/cjs/components/DatePicker/DatePicker.test.js +452 -265
- package/lib/cjs/components/DatePicker/DateSegment.js +2 -4
- package/lib/cjs/components/EditButton/EditButton.js +5 -8
- package/lib/cjs/components/EditButton/EditButton.stories.js +8 -13
- package/lib/cjs/components/EditButton/EditButton.test.js +34 -13
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +5 -9
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.d.ts +6 -7
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +20 -27
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.js +355 -176
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentalBreadcrumb.styles.js +4 -5
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentalBreadcrumbUniversal.test.js +6 -38
- package/lib/cjs/components/ExpandableText/ExpandableText.js +3 -4
- package/lib/cjs/components/ExpandableText/ExpandableText.stories.d.ts +2 -2
- package/lib/cjs/components/ExpandableText/ExpandableText.stories.js +3 -5
- package/lib/cjs/components/ExpandableText/ExpandableText.styles.js +2 -3
- package/lib/cjs/components/ExpandableText/ExpandableText.test.js +0 -1
- package/lib/cjs/components/FieldHelperText/FieldHelperText.js +4 -6
- package/lib/cjs/components/FieldHelperText/FieldHelperText.stories.d.ts +5 -6
- package/lib/cjs/components/FieldHelperText/FieldHelperText.stories.js +8 -13
- package/lib/cjs/components/FieldHelperText/FieldHelperText.styles.d.ts +66 -27
- package/lib/cjs/components/FieldHelperText/FieldHelperText.styles.js +4 -5
- package/lib/cjs/components/FileInputField/FileInputField.js +5 -8
- package/lib/cjs/components/FileInputField/FileInputField.stories.js +14 -25
- package/lib/cjs/components/FileInputField/FileInputField.styles.js +4 -5
- package/lib/cjs/components/FileInputField/FileInputField.test.js +174 -92
- package/lib/cjs/components/FileInputField/FileItem.js +4 -6
- package/lib/cjs/components/FileInputField/FileSelect.js +3 -4
- package/lib/cjs/components/FileInputField/FileSelectIcon.d.ts +1 -2
- package/lib/cjs/components/FileInputField/FileSelectIcon.js +1 -3
- package/lib/cjs/components/Footer/CopyrightText.d.ts +1 -2
- package/lib/cjs/components/Footer/CopyrightText.js +1 -2
- package/lib/cjs/components/Footer/Footer.js +2 -4
- package/lib/cjs/components/Footer/Footer.stories.d.ts +2 -2
- package/lib/cjs/components/Footer/Footer.stories.js +3 -5
- package/lib/cjs/components/Footer/Footer.styles.js +1 -2
- package/lib/cjs/components/Footer/Footer.test.js +1 -2
- package/lib/cjs/components/Footer/FooterNav.d.ts +1 -2
- package/lib/cjs/components/Footer/FooterNav.js +1 -2
- package/lib/cjs/components/Footer/FooterNavItem.d.ts +1 -1
- package/lib/cjs/components/Footer/FooterNavItem.js +1 -2
- package/lib/cjs/components/Footer/stories/FooterNextGenComponent.d.ts +1 -2
- package/lib/cjs/components/Footer/stories/FooterNextGenComponent.js +2 -3
- package/lib/cjs/components/Footer/stories/NextGenDarkFooterStory.chomatic.stories.d.ts +1 -2
- package/lib/cjs/components/Footer/stories/NextGenDarkFooterStory.chomatic.stories.js +3 -5
- package/lib/cjs/components/Footer/stories/NextGenFooterStory.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/Footer/stories/NextGenFooterStory.chromatic.stories.js +3 -5
- package/lib/cjs/components/Grid/Grid.js +2 -4
- package/lib/cjs/components/Grid/Grid.stories.d.ts +2 -2
- package/lib/cjs/components/Grid/Grid.stories.js +3 -5
- package/lib/cjs/components/Grid/Grid.styles.js +1 -2
- package/lib/cjs/components/GridList/GridList.d.ts +1 -2
- package/lib/cjs/components/GridList/GridList.js +4 -6
- package/lib/cjs/components/GridList/GridList.stories.d.ts +3 -4
- package/lib/cjs/components/GridList/GridList.stories.js +6 -9
- package/lib/cjs/components/GridList/GridList.styles.js +2 -3
- package/lib/cjs/components/GridList/GridList.test.js +65 -41
- package/lib/cjs/components/GridList/GridListRow.js +7 -9
- package/lib/cjs/components/GridList/gridListAttributes.js +2 -3
- package/lib/cjs/components/HelpHint/HelpHint.js +6 -8
- package/lib/cjs/components/HelpHint/HelpHint.stories.d.ts +2 -2
- package/lib/cjs/components/HelpHint/HelpHint.stories.js +7 -13
- package/lib/cjs/components/HelpHint/HelpHint.styles.js +5 -7
- package/lib/cjs/components/HelpHint/HelpHint.test.js +33 -26
- package/lib/cjs/components/Icon/Icon.js +4 -6
- package/lib/cjs/components/Icon/Icon.stories.d.ts +2 -2
- package/lib/cjs/components/Icon/Icon.stories.js +8 -13
- package/lib/cjs/components/Icon/Icon.test.js +1 -2
- package/lib/cjs/components/Icon/NoticeIcon.js +7 -10
- package/lib/cjs/components/IconBadge/IconBadge.js +4 -6
- package/lib/cjs/components/IconBadge/IconBadge.stories.d.ts +2 -2
- package/lib/cjs/components/IconBadge/IconBadge.stories.js +2 -4
- package/lib/cjs/components/IconButton/IconButton.js +10 -8
- package/lib/cjs/components/IconButton/IconButton.stories.d.ts +6 -7
- package/lib/cjs/components/IconButton/IconButton.stories.js +7 -14
- package/lib/cjs/components/IconButton/IconButton.styles.js +6 -9
- package/lib/cjs/components/IconButton/IconButton.test.js +139 -62
- package/lib/cjs/components/IconButton/iconButtonAttributes.d.ts +10 -9
- package/lib/cjs/components/IconButton/iconButtonAttributes.js +6 -9
- package/lib/cjs/components/IconButtonToggle/IconButtonToggle.js +2 -4
- package/lib/cjs/components/IconButtonToggle/IconButtonToggle.stories.d.ts +2 -2
- package/lib/cjs/components/IconButtonToggle/IconButtonToggle.stories.js +5 -9
- package/lib/cjs/components/IconWrapper/IconWrapper.js +4 -6
- package/lib/cjs/components/IconWrapper/IconWrapper.stories.d.ts +3 -3
- package/lib/cjs/components/IconWrapper/IconWrapper.stories.js +5 -7
- package/lib/cjs/components/IconWrapper/iconWrapperAttributes.js +2 -3
- package/lib/cjs/components/Image/Image.js +2 -4
- package/lib/cjs/components/Image/Image.stories.d.ts +2 -2
- package/lib/cjs/components/Image/Image.stories.js +11 -21
- package/lib/cjs/components/Image/Image.styles.js +2 -3
- package/lib/cjs/components/Image/Image.test.js +4 -3
- package/lib/cjs/components/ImageUploadField/ImagePreviewButton.js +2 -4
- package/lib/cjs/components/ImageUploadField/ImageUploadField.js +4 -6
- package/lib/cjs/components/ImageUploadField/ImageUploadField.stories.js +25 -37
- package/lib/cjs/components/ImageUploadField/ImageUploadField.test.js +97 -70
- package/lib/cjs/components/ImageUploadField/ImageUploadFieldBase.js +4 -6
- package/lib/cjs/components/ImageUploadField/imageUpload.js +4 -5
- package/lib/cjs/components/Input/Input.js +24 -9
- package/lib/cjs/components/Input/Input.stories.d.ts +2 -2
- package/lib/cjs/components/Input/Input.stories.js +5 -9
- package/lib/cjs/components/Input/Input.styles.js +15 -18
- package/lib/cjs/components/Input/Input.test.js +49 -16
- package/lib/cjs/components/Label/Label.js +3 -5
- package/lib/cjs/components/Label/Label.stories.d.ts +2 -2
- package/lib/cjs/components/Label/Label.stories.js +5 -9
- package/lib/cjs/components/Label/Label.styles.js +4 -5
- package/lib/cjs/components/Link/Link.js +2 -4
- package/lib/cjs/components/Link/Link.stories.d.ts +2 -2
- package/lib/cjs/components/Link/Link.stories.js +10 -4
- package/lib/cjs/components/Link/Link.styles.js +4 -5
- package/lib/cjs/components/Link/Link.test.js +85 -38
- package/lib/cjs/components/LinkSelectField/LinkSelectField.js +4 -6
- package/lib/cjs/components/LinkSelectField/LinkSelectField.stories.js +25 -38
- package/lib/cjs/components/LinkSelectField/LinkSelectField.test.js +79 -35
- package/lib/cjs/components/ListBox/ListBox.js +10 -12
- package/lib/cjs/components/ListBox/ListBox.styles.js +3 -4
- package/lib/cjs/components/ListBox/ListBox.test.js +34 -13
- package/lib/cjs/components/ListBox/ListBoxContext.js +1 -2
- package/lib/cjs/components/ListBox/ListBoxSection.d.ts +13 -4
- package/lib/cjs/components/ListBox/ListBoxSection.js +2 -4
- package/lib/cjs/components/ListBox/Option.js +5 -7
- package/lib/cjs/components/ListItem/ListItem.js +2 -4
- package/lib/cjs/components/ListItem/ListItem.styles.js +4 -5
- package/lib/cjs/components/ListItem/ListItem.test.js +67 -23
- package/lib/cjs/components/ListView/ListView.js +6 -9
- package/lib/cjs/components/ListView/ListView.stories.d.ts +8 -7
- package/lib/cjs/components/ListView/ListView.stories.js +28 -38
- package/lib/cjs/components/ListView/ListView.styles.js +2 -3
- package/lib/cjs/components/ListView/ListView.test.js +273 -158
- package/lib/cjs/components/ListView/ListViewContext.js +1 -2
- package/lib/cjs/components/ListView/ListViewExpandableItem.d.ts +1 -2
- package/lib/cjs/components/ListView/ListViewExpandableItem.js +5 -4
- package/lib/cjs/components/ListView/ListViewFocusWrapper.d.ts +4 -4
- package/lib/cjs/components/ListView/ListViewFocusWrapper.js +3 -6
- package/lib/cjs/components/ListView/ListViewItem.d.ts +16 -5
- package/lib/cjs/components/ListView/ListViewItem.js +8 -7
- package/lib/cjs/components/ListView/listViewAttributes.js +4 -5
- package/lib/cjs/components/ListView/stories/ListView.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/ListView/stories/ListView.chromatic.stories.js +3 -5
- package/lib/cjs/components/ListView/stories/ListViewNextGenComponent.d.ts +1 -2
- package/lib/cjs/components/ListView/stories/ListViewNextGenComponent.js +3 -5
- package/lib/cjs/components/ListView/stories/ListViewOnyxDark.stories.d.ts +1 -2
- package/lib/cjs/components/ListView/stories/ListViewOnyxDark.stories.js +3 -5
- package/lib/cjs/components/ListViewItem/ListViewItem.js +3 -6
- package/lib/cjs/components/ListViewItem/ListViewItem.stories.js +10 -20
- package/lib/cjs/components/ListViewItem/ListViewItem.styles.js +4 -5
- package/lib/cjs/components/ListViewItem/ListViewItem.test.js +2 -2
- package/lib/cjs/components/ListViewItem/controls/ListViewItemEditButton.js +2 -4
- package/lib/cjs/components/ListViewItem/controls/ListViewItemEditButton.stories.js +3 -5
- package/lib/cjs/components/ListViewItem/controls/ListViewItemEditButton.test.js +31 -9
- package/lib/cjs/components/ListViewItem/controls/ListViewItemMenu.js +2 -4
- package/lib/cjs/components/ListViewItem/controls/ListViewItemMenu.stories.js +5 -7
- package/lib/cjs/components/ListViewItem/controls/ListViewItemMenu.test.js +3 -4
- package/lib/cjs/components/ListViewItem/controls/ListViewItemSwitchField.js +2 -4
- package/lib/cjs/components/ListViewItem/controls/ListViewItemSwitchField.stories.js +5 -7
- package/lib/cjs/components/ListViewItem/controls/ListViewItemSwitchField.test.js +31 -9
- package/lib/cjs/components/ListViewItem/controls/chart/ListViewItemChart.js +6 -9
- package/lib/cjs/components/ListViewItem/controls/chart/ListViewItemChart.stories.js +4 -7
- package/lib/cjs/components/ListViewItem/controls/chart/ListViewItemChart.styles.js +4 -5
- package/lib/cjs/components/ListViewItem/controls/chart/ListViewItemChart.test.js +17 -3
- package/lib/cjs/components/ListViewItem/controls/chart/ListViewItemChartAttributes.js +5 -7
- package/lib/cjs/components/ListViewItem/controls/chart/chartData.js +2 -3
- package/lib/cjs/components/ListViewItem/listViewItemAttributes.js +7 -11
- package/lib/cjs/components/Loader/Loader.js +4 -6
- package/lib/cjs/components/Loader/Loader.stories.d.ts +2 -2
- package/lib/cjs/components/Loader/Loader.stories.js +9 -15
- package/lib/cjs/components/Loader/Loader.styles.js +4 -5
- package/lib/cjs/components/Loader/stories/LoaderOnyxComponent.d.ts +1 -2
- package/lib/cjs/components/Loader/stories/LoaderOnyxComponent.js +2 -3
- package/lib/cjs/components/Loader/stories/OnyxDarkLoader.chomatic.stories.d.ts +1 -2
- package/lib/cjs/components/Loader/stories/OnyxDarkLoader.chomatic.stories.js +3 -5
- package/lib/cjs/components/Loader/stories/OnyxLoader.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/Loader/stories/OnyxLoader.chromatic.stories.js +3 -5
- package/lib/cjs/components/Menu/Menu.js +4 -6
- package/lib/cjs/components/Menu/Menu.styles.js +2 -3
- package/lib/cjs/components/Menu/Menu.test.js +157 -90
- package/lib/cjs/components/Menu/menuAttributes.js +5 -7
- package/lib/cjs/components/MenuItem/MenuItem.js +5 -5
- package/lib/cjs/components/MenuItem/MenuItem.styles.js +2 -3
- package/lib/cjs/components/MenuItem/MenuItem.test.js +129 -57
- package/lib/cjs/components/MenuSection/MenuSection.js +2 -4
- package/lib/cjs/components/MenuSection/MenuSection.styles.js +4 -5
- package/lib/cjs/components/MenuSection/MenuSection.test.js +28 -6
- package/lib/cjs/components/Messages/Message.js +3 -6
- package/lib/cjs/components/Messages/Message.styles.js +3 -5
- package/lib/cjs/components/Messages/Messages.js +4 -6
- package/lib/cjs/components/Messages/Messages.stories.d.ts +11 -11
- package/lib/cjs/components/Messages/Messages.stories.js +16 -24
- package/lib/cjs/components/Messages/Messages.test.js +92 -40
- package/lib/cjs/components/Messages/utils/messagesReducer.d.ts +26 -26
- package/lib/cjs/components/Messages/utils/messagesReducer.js +10 -18
- package/lib/cjs/components/Messages/utils/multiMessagesReducer.d.ts +25 -26
- package/lib/cjs/components/Messages/utils/multiMessagesReducer.js +10 -18
- package/lib/cjs/components/Messages/utils/tests/messagesReducer.test.js +1 -2
- package/lib/cjs/components/Messages/utils/tests/multiMessagesReducer.test.js +1 -2
- package/lib/cjs/components/Modal/Convenience/ModalBody.stories.d.ts +2 -2
- package/lib/cjs/components/Modal/Convenience/ModalBody.stories.js +3 -5
- package/lib/cjs/components/Modal/Convenience/ModalFooter.stories.d.ts +2 -2
- package/lib/cjs/components/Modal/Convenience/ModalFooter.stories.js +3 -5
- package/lib/cjs/components/Modal/Convenience/ModalHeader.stories.d.ts +2 -2
- package/lib/cjs/components/Modal/Convenience/ModalHeader.stories.js +3 -5
- package/lib/cjs/components/Modal/Modal.js +5 -8
- package/lib/cjs/components/Modal/Modal.stories.d.ts +2 -2
- package/lib/cjs/components/Modal/Modal.stories.js +8 -15
- package/lib/cjs/components/Modal/Modal.styles.js +6 -9
- package/lib/cjs/components/Modal/ModalBody.js +2 -4
- package/lib/cjs/components/Modal/ModalFooter.js +2 -4
- package/lib/cjs/components/Modal/ModalFooter.test.js +3 -4
- package/lib/cjs/components/Modal/ModalHeader.js +4 -6
- package/lib/cjs/components/Modal/ModalHeader.test.js +34 -12
- package/lib/cjs/components/Modal/tests/Modal.integration.test.js +85 -33
- package/lib/cjs/components/Modal/tests/Modal.unit.test.js +198 -116
- package/lib/cjs/components/MultivaluesField/CondensedMultivaluesField.js +11 -13
- package/lib/cjs/components/MultivaluesField/DefaultMultivaluesField.js +15 -17
- package/lib/cjs/components/MultivaluesField/MultivaluesField.js +4 -6
- package/lib/cjs/components/MultivaluesField/MultivaluesField.stories.js +110 -128
- package/lib/cjs/components/MultivaluesField/MultivaluesField.test.js +1565 -909
- package/lib/cjs/components/NavBar/NavBar.js +2 -4
- package/lib/cjs/components/NavBar/NavBar.stories.d.ts +2 -2
- package/lib/cjs/components/NavBar/NavBar.stories.js +7 -13
- package/lib/cjs/components/NavBar/NavBar.styles.js +4 -5
- package/lib/cjs/components/NavBar/NavBar.test.js +213 -97
- package/lib/cjs/components/NavBar/stories/NavBar.chromatic.stories.js +3 -5
- package/lib/cjs/components/NavBar/stories/NavBarNextGenComponent.d.ts +1 -2
- package/lib/cjs/components/NavBar/stories/NavBarNextGenComponent.js +2 -3
- package/lib/cjs/components/NavBar/stories/NextGenDarkNavStory.chomatic.stories.d.ts +1 -2
- package/lib/cjs/components/NavBar/stories/NextGenDarkNavStory.chomatic.stories.js +3 -5
- package/lib/cjs/components/NavBar/stories/NextGenNavBar.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/NavBar/stories/NextGenNavBar.chromatic.stories.js +3 -5
- package/lib/cjs/components/NavBarSection/NavBarItem.js +2 -4
- package/lib/cjs/components/NavBarSection/NavBarItemBody.js +4 -6
- package/lib/cjs/components/NavBarSection/NavBarItemButton.d.ts +1 -2
- package/lib/cjs/components/NavBarSection/NavBarItemButton.js +1 -2
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.d.ts +1 -2
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.js +2 -4
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.test.js +2 -2
- package/lib/cjs/components/NavBarSection/NavBarItemLink.d.ts +1 -2
- package/lib/cjs/components/NavBarSection/NavBarItemLink.js +3 -5
- package/lib/cjs/components/NavBarSection/NavBarSection.js +2 -4
- package/lib/cjs/components/NavSideBar/Icon.test.js +1 -2
- package/lib/cjs/components/NavSideBar/NavSideBar.js +2 -4
- package/lib/cjs/components/NavSideBar/NavSideBar.stories.d.ts +2 -2
- package/lib/cjs/components/NavSideBar/NavSideBar.stories.js +7 -13
- package/lib/cjs/components/NavSideBar/NavSideBar.test.js +239 -149
- package/lib/cjs/components/NavSideBar/NavSideBarHeader.js +2 -4
- package/lib/cjs/components/NavSideBar/NavSideBarItem.d.ts +1 -2
- package/lib/cjs/components/NavSideBar/NavSideBarItem.js +2 -4
- package/lib/cjs/components/NavSideBar/NavSideBarSection.js +2 -4
- package/lib/cjs/components/NavSideBar/NavSideBarSectionHeader.d.ts +1 -2
- package/lib/cjs/components/NavSideBar/NavSideBarSectionHeader.js +2 -4
- package/lib/cjs/components/NavSideBar/NavSideBarSectionItem.js +4 -6
- package/lib/cjs/components/NavSideBar/NavSideBarSubTitle.js +1 -2
- package/lib/cjs/components/NavSideBar/icons.d.ts +3 -4
- package/lib/cjs/components/NavSideBar/icons.js +4 -7
- package/lib/cjs/components/NavigationHeader/HeaderAccountMenu.d.ts +1 -2
- package/lib/cjs/components/NavigationHeader/HeaderAccountMenu.js +1 -2
- package/lib/cjs/components/NavigationHeader/NavigationHeader.js +4 -6
- package/lib/cjs/components/NavigationHeader/NavigationHeader.stories.d.ts +3 -3
- package/lib/cjs/components/NavigationHeader/NavigationHeader.stories.js +3 -5
- package/lib/cjs/components/NavigationHeader/NavigationHeader.test.js +95 -49
- package/lib/cjs/components/NumberField/NumberField.js +4 -6
- package/lib/cjs/components/NumberField/NumberField.stories.js +14 -25
- package/lib/cjs/components/NumberField/NumberField.styles.js +8 -10
- package/lib/cjs/components/NumberField/NumberField.test.js +157 -62
- package/lib/cjs/components/OverlayPanel/OverlayPanel.js +2 -4
- package/lib/cjs/components/OverlayPanel/OverlayPanel.stories.d.ts +2 -2
- package/lib/cjs/components/OverlayPanel/OverlayPanel.stories.js +7 -13
- package/lib/cjs/components/OverlayPanel/OverlayPanel.styles.js +2 -3
- package/lib/cjs/components/PageHeader/PageHeader.js +2 -4
- package/lib/cjs/components/PageHeader/PageHeader.stories.js +35 -10
- package/lib/cjs/components/PageHeader/PageHeader.test.js +37 -17
- package/lib/cjs/components/Pagination/Pagination.js +2 -4
- package/lib/cjs/components/Pagination/Pagination.stories.d.ts +6 -6
- package/lib/cjs/components/Pagination/Pagination.stories.js +7 -13
- package/lib/cjs/components/Pagination/Pagination.styles.js +2 -3
- package/lib/cjs/components/Pagination/Pagination.test.js +250 -121
- package/lib/cjs/components/Pagination/PaginationProvider.d.ts +1 -2
- package/lib/cjs/components/Pagination/PaginationProvider.js +2 -4
- package/lib/cjs/components/Pagination/index.js +1 -2
- package/lib/cjs/components/PanelHeader/PanelHeader.js +5 -8
- package/lib/cjs/components/PanelHeader/PanelHeader.stories.js +8 -16
- package/lib/cjs/components/PanelHeader/PanelHeader.styles.js +4 -5
- package/lib/cjs/components/PanelHeader/PanelHeader.test.js +8 -8
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderCloseButton.js +2 -4
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderCloseButton.stories.js +3 -5
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderCloseButton.test.js +31 -9
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderMenu.js +2 -4
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderMenu.stories.js +3 -5
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderMenu.test.js +39 -15
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderSwitchField.js +2 -4
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderSwitchField.stories.js +5 -7
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderSwitchField.test.js +31 -9
- package/lib/cjs/components/PanelHeader/stories/OnyxDarkPanelHeader.chromatic.stories.js +3 -5
- package/lib/cjs/components/PanelHeader/stories/OnyxPanelHeader.chromatic.stories.js +3 -5
- package/lib/cjs/components/PanelHeader/stories/OnyxPanelHeaderComponent.js +1 -2
- package/lib/cjs/components/PasswordField/PasswordField.js +5 -7
- package/lib/cjs/components/PasswordField/PasswordField.stories.d.ts +2 -2
- package/lib/cjs/components/PasswordField/PasswordField.stories.js +67 -82
- package/lib/cjs/components/PasswordField/PasswordField.test.js +138 -74
- package/lib/cjs/components/Popover/Popover.d.ts +1 -2
- package/lib/cjs/components/Popover/Popover.js +4 -6
- package/lib/cjs/components/PopoverContainer/PopoverContainer.js +6 -12
- package/lib/cjs/components/PopoverContainer/index.js +1 -2
- package/lib/cjs/components/PopoverMenu/PopoverMenu.js +4 -6
- package/lib/cjs/components/PopoverMenu/PopoverMenu.stories.d.ts +2 -2
- package/lib/cjs/components/PopoverMenu/PopoverMenu.stories.js +11 -21
- package/lib/cjs/components/PopoverMenu/PopoverMenu.styles.js +2 -3
- package/lib/cjs/components/PopoverMenu/PopoverMenu.test.js +262 -148
- package/lib/cjs/components/ProgressBar/ProgressBar.js +3 -6
- package/lib/cjs/components/ProgressBar/ProgressBar.stories.d.ts +2 -2
- package/lib/cjs/components/ProgressBar/ProgressBar.stories.js +3 -5
- package/lib/cjs/components/ProgressBar/ProgressBar.styles.js +4 -5
- package/lib/cjs/components/ProgressBar/ProgressBar.test.js +1 -2
- package/lib/cjs/components/ProgressBar/index.js +1 -2
- package/lib/cjs/components/Radio/Radio.js +2 -4
- package/lib/cjs/components/Radio/Radio.styles.js +2 -3
- package/lib/cjs/components/RadioField/RadioField.js +5 -8
- package/lib/cjs/components/RadioField/RadioField.test.js +19 -16
- package/lib/cjs/components/RadioField/index.js +1 -2
- package/lib/cjs/components/RadioGroupField/RadioGroupField.js +2 -4
- package/lib/cjs/components/RadioGroupField/RadioGroupField.stories.d.ts +8 -8
- package/lib/cjs/components/RadioGroupField/RadioGroupField.stories.js +11 -19
- package/lib/cjs/components/RadioGroupField/RadioGroupField.test.js +84 -48
- package/lib/cjs/components/RangeCalendar/RangeCalendar.js +6 -10
- package/lib/cjs/components/RangeCalendar/RangeCalendar.stories.d.ts +2 -2
- package/lib/cjs/components/RangeCalendar/RangeCalendar.stories.js +12 -21
- package/lib/cjs/components/RangeCalendar/RangeCalendar.styles.js +2 -3
- package/lib/cjs/components/RangeCalendar/RangeCalendar.test.js +146 -77
- package/lib/cjs/components/RangeCalendar/RangeCalendarCell.js +2 -4
- package/lib/cjs/components/RangeCalendar/RangeCalendarGrid.d.ts +1 -2
- package/lib/cjs/components/RangeCalendar/RangeCalendarGrid.js +1 -2
- package/lib/cjs/components/RangeCalendar/RangeCalendarHeader.js +1 -2
- package/lib/cjs/components/RangeCalendar/index.js +1 -2
- package/lib/cjs/components/RequirementsList/RequirementsList.js +2 -4
- package/lib/cjs/components/RequirementsList/RequirementsList.stories.d.ts +2 -2
- package/lib/cjs/components/RequirementsList/RequirementsList.stories.js +4 -7
- package/lib/cjs/components/RockerButton/RockerButton.js +5 -8
- package/lib/cjs/components/RockerButton/RockerButton.styles.js +4 -5
- package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.js +4 -6
- package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.stories.d.ts +2 -2
- package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.stories.js +8 -15
- package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.test.js +77 -54
- package/lib/cjs/components/RockerButtonGroup/stories/NextGenDarkRockerButtonGroup.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/RockerButtonGroup/stories/NextGenDarkRockerButtonGroup.chromatic.stories.js +3 -5
- package/lib/cjs/components/RockerButtonGroup/stories/NextGenRockerButtonGroup.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/RockerButtonGroup/stories/NextGenRockerButtonGroup.chromatic.stories.js +3 -5
- package/lib/cjs/components/RockerButtonGroup/stories/RockerButtonGroup.chromatic.stories.js +3 -5
- package/lib/cjs/components/RockerButtonGroup/stories/RockerButtonGroupNextGen.d.ts +1 -2
- package/lib/cjs/components/RockerButtonGroup/stories/RockerButtonGroupNextGen.js +1 -2
- package/lib/cjs/components/ScrollBox/ScrollBox.js +4 -6
- package/lib/cjs/components/ScrollBox/ScrollBox.stories.d.ts +2 -2
- package/lib/cjs/components/ScrollBox/ScrollBox.stories.js +2 -4
- package/lib/cjs/components/ScrollBox/ScrollBox.styles.js +2 -3
- package/lib/cjs/components/SearchField/Search.styles.js +5 -9
- package/lib/cjs/components/SearchField/SearchAutoComplete.js +11 -11
- package/lib/cjs/components/SearchField/SearchField.js +2 -4
- package/lib/cjs/components/SearchField/SearchField.stories.d.ts +2 -2
- package/lib/cjs/components/SearchField/SearchField.stories.js +12 -21
- package/lib/cjs/components/SearchField/SearchField.test.js +333 -175
- package/lib/cjs/components/SearchField/SearchFieldBase.js +5 -7
- package/lib/cjs/components/SearchNav/MoreItemsPopover.d.ts +1 -2
- package/lib/cjs/components/SearchNav/MoreItemsPopover.js +2 -4
- package/lib/cjs/components/SearchNav/SearchNav.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/SearchNav/SearchNav.chromatic.stories.js +4 -7
- package/lib/cjs/components/SearchNav/SearchNav.js +10 -8
- package/lib/cjs/components/SearchNav/SearchNav.stories.d.ts +1 -2
- package/lib/cjs/components/SearchNav/SearchNav.stories.js +4 -7
- package/lib/cjs/components/SearchNav/SearchNav.styles.js +4 -5
- package/lib/cjs/components/SearchNav/SearchNav.test.js +45 -46
- package/lib/cjs/components/SearchNav/SearchNavTab.d.ts +1 -2
- package/lib/cjs/components/SearchNav/SearchNavTab.js +2 -4
- package/lib/cjs/components/SelectField/Select.styles.js +3 -4
- package/lib/cjs/components/SelectField/SelectField.js +4 -6
- package/lib/cjs/components/SelectField/SelectField.stories.d.ts +19 -18
- package/lib/cjs/components/SelectField/SelectField.stories.js +35 -54
- package/lib/cjs/components/SelectField/SelectField.test.js +46 -15
- package/lib/cjs/components/SelectFieldBase/HiddenSelect.d.ts +1 -2
- package/lib/cjs/components/SelectFieldBase/HiddenSelect.js +3 -4
- package/lib/cjs/components/SelectFieldBase/HiddenSelect.test.js +5 -7
- package/lib/cjs/components/SelectFieldBase/SelectFieldBase.js +4 -6
- package/lib/cjs/components/SelectFieldBase/SelectFieldBase.test.js +395 -225
- package/lib/cjs/components/Separator/Separator.js +2 -4
- package/lib/cjs/components/Separator/Separator.stories.d.ts +3 -4
- package/lib/cjs/components/Separator/Separator.stories.js +4 -7
- package/lib/cjs/components/Separator/Separator.styles.js +4 -5
- package/lib/cjs/components/ServerErrorBoundary/ServerErrorBoundary.js +2 -4
- package/lib/cjs/components/ServerErrorBoundary/ServerErrorBoundary.stories.d.ts +2 -2
- package/lib/cjs/components/ServerErrorBoundary/ServerErrorBoundary.stories.js +5 -9
- package/lib/cjs/components/ServerErrorBoundary/ServerErrorBoundary.styles.js +2 -3
- package/lib/cjs/components/ServerErrorBoundary/ServerErrorBoundary.test.js +59 -28
- package/lib/cjs/components/Skeleton/Skeleton.js +7 -8
- package/lib/cjs/components/Skeleton/Skeleton.stories.d.ts +3 -4
- package/lib/cjs/components/Skeleton/Skeleton.stories.js +4 -7
- package/lib/cjs/components/Skeleton/Skeleton.styles.js +4 -5
- package/lib/cjs/components/Skeleton/Skeleton.test.js +3 -3
- package/lib/cjs/components/SliderField/Slider.styles.js +4 -5
- package/lib/cjs/components/SliderField/SliderActiveTrack.js +4 -6
- package/lib/cjs/components/SliderField/SliderField.js +4 -6
- package/lib/cjs/components/SliderField/SliderField.stories.d.ts +8 -8
- package/lib/cjs/components/SliderField/SliderField.stories.js +9 -17
- package/lib/cjs/components/SliderField/SliderField.test.js +221 -159
- package/lib/cjs/components/SliderField/SliderLabelContainer.js +2 -4
- package/lib/cjs/components/SliderField/SliderThumb.js +2 -4
- package/lib/cjs/components/StatusIcon/StatusIcon.d.ts +1 -2
- package/lib/cjs/components/StatusIcon/StatusIcon.js +3 -5
- package/lib/cjs/components/StatusIcon/StatusIcon.stories.d.ts +2 -2
- package/lib/cjs/components/StatusIcon/StatusIcon.stories.js +3 -6
- package/lib/cjs/components/StatusIcon/StatusIcon.styles.js +2 -3
- package/lib/cjs/components/StatusIcon/stories/NextGenDarkStatusIcon.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/StatusIcon/stories/NextGenDarkStatusIcon.chromatic.stories.js +3 -5
- package/lib/cjs/components/StatusIcon/stories/NextGenStatusIcon.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/StatusIcon/stories/NextGenStatusIcon.chromatic.stories.js +3 -5
- package/lib/cjs/components/StatusIcon/stories/NextGenStatusIcon.d.ts +1 -2
- package/lib/cjs/components/StatusIcon/stories/NextGenStatusIcon.js +1 -2
- package/lib/cjs/components/Stepper/Line.js +1 -2
- package/lib/cjs/components/Stepper/Step.js +2 -4
- package/lib/cjs/components/Stepper/Stepper.constants.js +2 -3
- package/lib/cjs/components/Stepper/Stepper.js +4 -6
- package/lib/cjs/components/Stepper/Stepper.stories.js +9 -17
- package/lib/cjs/components/Stepper/Stepper.styles.js +5 -7
- package/lib/cjs/components/Stepper/Stepper.test.js +26 -17
- package/lib/cjs/components/Switch/Switch.js +2 -4
- package/lib/cjs/components/Switch/Switch.styles.js +7 -11
- package/lib/cjs/components/SwitchField/SwitchField.js +4 -6
- package/lib/cjs/components/SwitchField/SwitchField.stories.d.ts +2 -2
- package/lib/cjs/components/SwitchField/SwitchField.stories.js +12 -21
- package/lib/cjs/components/SwitchField/SwitchField.test.js +102 -43
- package/lib/cjs/components/SwitchField/switchFieldAttributes.js +5 -7
- package/lib/cjs/components/Tab/Tab.d.ts +1 -1
- package/lib/cjs/components/Tab/Tab.js +4 -8
- package/lib/cjs/components/Tab/index.js +1 -2
- package/lib/cjs/components/TabPicker/TabPicker.js +2 -4
- package/lib/cjs/components/Table/Table.js +2 -4
- package/lib/cjs/components/Table/Table.stories.d.ts +2 -2
- package/lib/cjs/components/Table/Table.stories.js +3 -5
- package/lib/cjs/components/Table/Table.styles.js +4 -5
- package/lib/cjs/components/TableBase/TableBase.js +5 -7
- package/lib/cjs/components/TableBase/TableBase.stories.d.ts +3 -4
- package/lib/cjs/components/TableBase/TableBase.stories.js +11 -19
- package/lib/cjs/components/TableBase/TableBase.styles.js +4 -5
- package/lib/cjs/components/TableBase/TableBase.test.js +273 -194
- package/lib/cjs/components/TableBase/stories/NextGenDarkTableBase.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/TableBase/stories/NextGenDarkTableBase.chromatic.stories.js +3 -5
- package/lib/cjs/components/TableBase/stories/NextGenTableBase.chromatic.stories.d.ts +1 -2
- package/lib/cjs/components/TableBase/stories/NextGenTableBase.chromatic.stories.js +3 -5
- package/lib/cjs/components/TableBase/stories/NextGenTableBase.d.ts +1 -2
- package/lib/cjs/components/TableBase/stories/NextGenTableBase.js +1 -2
- package/lib/cjs/components/TableBody/TableBody.js +2 -4
- package/lib/cjs/components/TableCaption/TableCaption.js +2 -4
- package/lib/cjs/components/TableCell/TableCell.js +2 -4
- package/lib/cjs/components/TableHead/TableHead.js +2 -4
- package/lib/cjs/components/TableRow/TableRow.js +2 -4
- package/lib/cjs/components/Tabs/Tabs.js +5 -8
- package/lib/cjs/components/Tabs/Tabs.stories.d.ts +2 -2
- package/lib/cjs/components/Tabs/Tabs.stories.js +33 -25
- package/lib/cjs/components/Tabs/Tabs.style.js +8 -14
- package/lib/cjs/components/Tabs/Tabs.test.js +134 -99
- package/lib/cjs/components/Tabs/index.js +1 -2
- package/lib/cjs/components/Text/Text.js +2 -3
- package/lib/cjs/components/Text/Text.stories.d.ts +2 -2
- package/lib/cjs/components/Text/Text.stories.js +41 -46
- package/lib/cjs/components/Text/Text.styles.d.ts +533 -216
- package/lib/cjs/components/Text/Text.styles.js +10 -15
- package/lib/cjs/components/Text/Text.test.js +2 -2
- package/lib/cjs/components/TextArea/TextArea.js +2 -4
- package/lib/cjs/components/TextArea/TextArea.styles.js +5 -7
- package/lib/cjs/components/TextAreaField/TextAreaField.js +5 -7
- package/lib/cjs/components/TextAreaField/TextAreaField.stories.d.ts +14 -14
- package/lib/cjs/components/TextAreaField/TextAreaField.stories.js +17 -31
- package/lib/cjs/components/TextAreaField/TextAreaField.test.js +29 -7
- package/lib/cjs/components/TextField/TextField.js +4 -6
- package/lib/cjs/components/TextField/TextField.stories.d.ts +2 -2
- package/lib/cjs/components/TextField/TextField.stories.js +23 -43
- package/lib/cjs/components/TextField/TextField.test.js +38 -14
- package/lib/cjs/components/TimeField/TimeField.js +5 -8
- package/lib/cjs/components/TimeField/TimeField.stories.d.ts +2 -2
- package/lib/cjs/components/TimeField/TimeField.stories.js +11 -21
- package/lib/cjs/components/TimeField/TimeField.styles.d.ts +66 -27
- package/lib/cjs/components/TimeField/TimeField.styles.js +4 -5
- package/lib/cjs/components/TimeField/TimeSegment.js +2 -4
- package/lib/cjs/components/TimeField/index.js +1 -2
- package/lib/cjs/components/TimeZonePicker/TimeZone.styles.js +2 -3
- package/lib/cjs/components/TimeZonePicker/TimeZonePicker.js +5 -7
- package/lib/cjs/components/TimeZonePicker/TimeZonePicker.stories.js +4 -7
- package/lib/cjs/components/TimeZonePicker/TimeZonePicker.test.js +68 -24
- package/lib/cjs/components/TimeZonePicker/timezones.js +2 -4
- package/lib/cjs/components/TooltipTrigger/Tooltip.js +2 -4
- package/lib/cjs/components/TooltipTrigger/Tooltip.styles.js +7 -11
- package/lib/cjs/components/TooltipTrigger/TooltipTrigger.js +5 -7
- package/lib/cjs/components/TooltipTrigger/TooltipTrigger.stories.d.ts +2 -2
- package/lib/cjs/components/TooltipTrigger/TooltipTrigger.stories.js +23 -25
- package/lib/cjs/components/TooltipTrigger/TooltipTrigger.test.js +120 -78
- package/lib/cjs/components/TreeView/InsertionIndicator.js +1 -2
- package/lib/cjs/components/TreeView/TreeView.js +14 -20
- package/lib/cjs/components/TreeView/TreeView.stories.js +9 -14
- package/lib/cjs/components/TreeView/TreeView.styles.js +2 -3
- package/lib/cjs/components/TreeView/TreeView.test.js +226 -129
- package/lib/cjs/components/TreeView/TreeViewItem.js +3 -6
- package/lib/cjs/components/TreeView/TreeViewKeyboardDelegate.js +20 -36
- package/lib/cjs/components/TreeView/TreeViewKeyboardDelegate.test.js +3 -6
- package/lib/cjs/components/TreeView/TreeViewRow.js +4 -6
- package/lib/cjs/components/TreeView/TreeViewSection.js +5 -10
- package/lib/cjs/components/TreeView/TreeViewWrapper.js +1 -2
- package/lib/cjs/context/AccordionContext/index.js +3 -5
- package/lib/cjs/context/AccordionGridContext/index.js +3 -5
- package/lib/cjs/context/BadgeContext/index.d.ts +0 -1
- package/lib/cjs/context/BadgeContext/index.js +1 -2
- package/lib/cjs/context/DataTableContext/index.js +4 -7
- package/lib/cjs/context/MenuContext/index.js +1 -2
- package/lib/cjs/context/MultivaluesContext/index.js +3 -5
- package/lib/cjs/context/NavBarContext/index.js +3 -5
- package/lib/cjs/context/PaginationContext/index.js +3 -5
- package/lib/cjs/context/RadioContext/index.d.ts +2 -0
- package/lib/cjs/context/RadioContext/index.js +10 -0
- package/lib/cjs/context/RockerButtonGroupContext/index.d.ts +0 -1
- package/lib/cjs/context/RockerButtonGroupContext/index.js +1 -2
- package/lib/cjs/context/TooltipContext/index.d.ts +0 -1
- package/lib/cjs/context/TooltipContext/index.js +3 -5
- package/lib/cjs/context/TreeViewContext/index.js +3 -5
- package/lib/cjs/docs/design/ColorDocumentation.stories.js +12 -4
- package/lib/cjs/docs/design/ContainerSizes.stories.js +3 -5
- package/lib/cjs/docs/design/Spacing.stories.js +3 -5
- package/lib/cjs/docs/design/Typography.stories.js +3 -5
- package/lib/cjs/docs/theme/ThemeView.js +2 -3
- package/lib/cjs/fonts.js +2 -4
- package/lib/cjs/hooks/useAriaLabelWarning/useAriaLabelWarning.js +1 -2
- package/lib/cjs/hooks/useAriaLabelWarning/useAriaLabelWarning.test.js +1 -2
- package/lib/cjs/hooks/useCircularLoader/useCircularLoader.js +4 -6
- package/lib/cjs/hooks/useCircularLoader/useCircularLoader.test.js +5 -8
- package/lib/cjs/hooks/useColumnStyles/useColumnStyles.js +1 -2
- package/lib/cjs/hooks/useComponentToggle/useComponentToggle.d.ts +0 -1
- package/lib/cjs/hooks/useComponentToggle/useComponentToggle.js +1 -2
- package/lib/cjs/hooks/useComponentToggle/useComponentToggle.test.js +9 -9
- package/lib/cjs/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +0 -1
- package/lib/cjs/hooks/useCopyToClipboard/useCopyToClipboard.js +4 -6
- package/lib/cjs/hooks/useCopyToClipboard/useCopyToClipboard.test.js +4 -5
- package/lib/cjs/hooks/useDebounce/useDebounce.js +1 -2
- package/lib/cjs/hooks/useDeprecationWarning/useDeprecationWarning.js +1 -2
- package/lib/cjs/hooks/useDeprecationWarning/useDeprecationWarning.test.js +2 -2
- package/lib/cjs/hooks/useDevelopmentWarning/useDevelopmentWarning.js +1 -2
- package/lib/cjs/hooks/useDevelopmentWarning/useDevelopmentWarning.test.js +1 -2
- package/lib/cjs/hooks/useExpandableListViewItem/useExpandableListViewItem.js +6 -7
- package/lib/cjs/hooks/useFallbackImage/useFallbackImage.js +1 -2
- package/lib/cjs/hooks/useFallbackImage/useFallbackImage.test.js +2 -2
- package/lib/cjs/hooks/useField/useField.d.ts +3891 -246
- package/lib/cjs/hooks/useField/useField.js +7 -7
- package/lib/cjs/hooks/useField/useField.test.js +10 -4
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +37 -39
- package/lib/cjs/hooks/useGetTheme/useGetTheme.js +4 -6
- package/lib/cjs/hooks/useGetTheme/useGetTheme.test.js +3 -4
- package/lib/cjs/hooks/useGridList/useGridList.d.ts +0 -1
- package/lib/cjs/hooks/useGridList/useGridList.js +3 -4
- package/lib/cjs/hooks/useGridListItem/useGridListItem.d.ts +253 -246
- package/lib/cjs/hooks/useGridListItem/useGridListItem.js +4 -4
- package/lib/cjs/hooks/useImageUploadState/useImageUploadState.js +2 -3
- package/lib/cjs/hooks/useInputLoader/useInputLoader.js +1 -2
- package/lib/cjs/hooks/useLabelHeight/useLabelHeight.js +1 -2
- package/lib/cjs/hooks/useLoadPrev/useLoadPrev.js +1 -2
- package/lib/cjs/hooks/useLoadPrev/useLoadPrev.test.js +1 -2
- package/lib/cjs/hooks/useLocalOrForwardRef/useLocalOrForwardRef.d.ts +1 -2
- package/lib/cjs/hooks/useLocalOrForwardRef/useLocalOrForwardRef.js +1 -2
- package/lib/cjs/hooks/useLocalOrForwardRef/useLocalOrForwardRef.test.js +1 -2
- package/lib/cjs/hooks/useModalState/useModalState.js +3 -4
- package/lib/cjs/hooks/useMountTransition/useMountTransition.js +2 -3
- package/lib/cjs/hooks/useMountTransition/useMountTransition.test.js +35 -14
- package/lib/cjs/hooks/useNavBarPress/useNavBarPress.js +1 -2
- package/lib/cjs/hooks/useNavBarStyling/useNavBarStyling.js +1 -2
- package/lib/cjs/hooks/useOverlappingMenuHoverState/useOverlappingMenuHoverState.d.ts +0 -1
- package/lib/cjs/hooks/useOverlappingMenuHoverState/useOverlappingMenuHoverState.js +1 -2
- package/lib/cjs/hooks/useOverlappingMenuHoverState/useOverlappingMenuHoverState.test.js +10 -12
- package/lib/cjs/hooks/useOverlayPanelState/useOverlayPanelState.d.ts +0 -1
- package/lib/cjs/hooks/useOverlayPanelState/useOverlayPanelState.js +3 -4
- package/lib/cjs/hooks/usePagination/usePagination.d.ts +153 -161
- package/lib/cjs/hooks/usePagination/usePagination.js +3 -4
- package/lib/cjs/hooks/usePaginationState/usePaginationState.js +1 -2
- package/lib/cjs/hooks/useProgressiveState/useProgressiveState.d.ts +0 -1
- package/lib/cjs/hooks/useProgressiveState/useProgressiveState.js +1 -2
- package/lib/cjs/hooks/useProgressiveState/useProgressiveState.test.js +59 -23
- package/lib/cjs/hooks/usePropWarning/usePropWarning.d.ts +0 -1
- package/lib/cjs/hooks/usePropWarning/usePropWarning.js +1 -2
- package/lib/cjs/hooks/usePropWarning/usePropWarning.test.js +1 -2
- package/lib/cjs/hooks/useReorderableCollection/useReorderableCollection.js +5 -7
- package/lib/cjs/hooks/useSelectField/useSelectField.d.ts +8 -4
- package/lib/cjs/hooks/useSelectField/useSelectField.js +4 -6
- package/lib/cjs/hooks/useSliderField/useSliderField.d.ts +613 -491
- package/lib/cjs/hooks/useSliderField/useSliderField.js +7 -12
- package/lib/cjs/hooks/useSliderField/useSliderField.test.js +3 -4
- package/lib/cjs/hooks/useStatusClasses/useStatusClasses.js +1 -2
- package/lib/cjs/hooks/useTShirtSize/useTShirtSize.js +1 -2
- package/lib/cjs/hooks/useTShirtSize/useTShirtSize.test.js +1 -2
- package/lib/cjs/hooks/useTypeAnimation/useTypeAnimation.js +1 -2
- package/lib/cjs/hooks/useTypeAnimation/useTypeAnimation.test.js +7 -7
- package/lib/cjs/hooks/useTypeAnimationWrapper/useTypeAnimationWrapper.js +1 -2
- package/lib/cjs/hooks/useTypeAnimationWrapper/useTypeAnimationWrapper.test.js +6 -6
- package/lib/cjs/index.js +78 -79
- package/lib/cjs/mocks/browser.js +1 -2
- package/lib/cjs/mocks/constants/index.js +3 -6
- package/lib/cjs/mocks/handlers/users.d.ts +1 -1
- package/lib/cjs/mocks/handlers/users.js +6 -8
- package/lib/cjs/mocks/handlers.d.ts +1 -1
- package/lib/cjs/mocks/handlers.js +1 -2
- package/lib/cjs/mocks/responses/users.js +2 -3
- package/lib/cjs/mocks/types/users.d.ts +0 -1
- package/lib/cjs/patterns/AttributeMappingDisplayViewPattern.stories.hidden.js +3 -5
- package/lib/cjs/patterns/AttributeMappingEditViewPattern.stories.hidden.js +3 -5
- package/lib/cjs/patterns/ListAndPanelPattern.stories.hidden.js +4 -7
- package/lib/cjs/patterns/MessagesPattern.stories.hidden.js +4 -7
- package/lib/cjs/patterns/SaveBarPattern.stories.hidden.js +4 -7
- package/lib/cjs/patterns/UnsavedChangesPattern.stories.hidden.js +4 -7
- package/lib/cjs/recipes/AccordionCard.stories.js +4 -6
- package/lib/cjs/recipes/ApplicationSearchDropdown.stories.hidden.js +6 -9
- package/lib/cjs/recipes/AttributeMapping.stories.js +18 -15
- package/lib/cjs/recipes/CollapsiblePanel.stories.js +6 -9
- package/lib/cjs/recipes/ConditionFilter.stories.js +7 -12
- package/lib/cjs/recipes/CopyToClipboard.stories.js +3 -5
- package/lib/cjs/recipes/CountryPicker.stories.js +3 -6
- package/lib/cjs/recipes/DataVisualization.stories.js +7 -11
- package/lib/cjs/recipes/DateTimeRangePicker.stories.js +3 -6
- package/lib/cjs/recipes/InlineEditing.stories.js +8 -11
- package/lib/cjs/recipes/ListAndPanel.stories.js +10 -16
- package/lib/cjs/recipes/LogoTabs.stories.js +6 -9
- package/lib/cjs/recipes/MaskedValue.stories.js +3 -6
- package/lib/cjs/recipes/MultipagePopup.stories.js +5 -8
- package/lib/cjs/recipes/NoAccess.stories.d.ts +5 -5
- package/lib/cjs/recipes/NoAccess.stories.js +4 -8
- package/lib/cjs/recipes/OneWayToBidirectionalArrow.stories.js +2 -4
- package/lib/cjs/recipes/PanelContent.stories.js +13 -17
- package/lib/cjs/recipes/ScrollableListView.stories.js +4 -7
- package/lib/cjs/recipes/Slider.stories.js +4 -6
- package/lib/cjs/recipes/TrialExperienceIndustryButtons.stories.js +2 -4
- package/lib/cjs/recipes/TrialExperienceStatusBar.stories.js +3 -6
- package/lib/cjs/recipes/items.js +5 -9
- package/lib/cjs/styles/ColorDocumentation.js +9 -19
- package/lib/cjs/styles/breakpoints.js +1 -2
- package/lib/cjs/styles/colors.js +24 -44
- package/lib/cjs/styles/forms/index.js +5 -7
- package/lib/cjs/styles/safariAgent.js +1 -2
- package/lib/cjs/styles/sizes.js +2 -3
- package/lib/cjs/styles/spacing.js +2 -5
- package/lib/cjs/styles/templates/Nav/HeaderBar.js +2 -4
- package/lib/cjs/styles/templates/Nav/Nav.stories.js +3 -6
- package/lib/cjs/styles/templates/Nav/NavData.js +6 -11
- package/lib/cjs/styles/text.js +4 -8
- package/lib/cjs/styles/theme.js +5 -7
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +5 -7
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +1 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.js +4 -5
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +4 -5
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +1 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkStickerSheet.chromatic.stories.d.ts +13 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkStickerSheet.chromatic.stories.js +12 -4
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/avatar.js +2 -3
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.js +3 -4
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +3 -4
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/callout.js +2 -3
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/cards.js +1 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/footer.js +2 -3
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.js +7 -11
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/iconBadge.js +3 -4
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.js +4 -6
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/links.js +4 -5
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/listview.js +4 -7
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/menu.js +3 -5
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/message.js +2 -3
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +4 -5
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/skeleton.js +3 -4
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +2 -3
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +2 -3
- package/lib/cjs/styles/themeOverrides/stories/AccordionGroup.chromatic.stories.js +3 -5
- package/lib/cjs/styles/themeOverrides/stories/Button.chromatic.stories.js +8 -15
- package/lib/cjs/styles/themeOverrides/stories/EnvironmentBreadcrumb.chromatic.stories.js +6 -9
- package/lib/cjs/styles/themeOverrides/stories/IconButton.chromatic.stories.js +4 -7
- package/lib/cjs/styles/themeOverrides/stories/Label.chromatic.stories.js +3 -5
- package/lib/cjs/styles/themeOverrides/stories/Link.chromatic.stories.js +3 -5
- package/lib/cjs/styles/themeOverrides/stories/NumberField.chromatic.stories.js +3 -5
- package/lib/cjs/styles/themeOverrides/stories/OverlayPanel.chromatic.stories.d.ts +1 -1
- package/lib/cjs/styles/themeOverrides/stories/OverlayPanel.chromatic.stories.js +4 -7
- package/lib/cjs/styles/themeOverrides/stories/SearchField.chromatic.stories.js +3 -5
- package/lib/cjs/styles/themeOverrides/stories/SelectField.chromatic.stories.js +3 -5
- package/lib/cjs/styles/themeOverrides/uiLibraryOverride.js +4 -5
- package/lib/cjs/styles/themeOverrides/withUiLibraryCss.js +2 -4
- package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +1 -2
- package/lib/cjs/styles/themes/astro/customProperties/icons.js +3 -5
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +1 -2
- package/lib/cjs/styles/themes/astro/customProperties/index.js +3 -5
- package/lib/cjs/styles/themes/astro/customProperties/styles.js +2 -3
- package/lib/cjs/styles/themes/astro/customProperties/tShirtSizes.js +3 -5
- package/lib/cjs/styles/themes/astro-nano/astro-nano.js +3 -4
- package/lib/cjs/styles/themes/end-user/end-user.js +4 -6
- package/lib/cjs/styles/themes/next-gen/codeView/codeView.js +5 -7
- package/lib/cjs/styles/themes/next-gen/colors/colors.js +7 -12
- package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.js +4 -5
- package/lib/cjs/styles/themes/next-gen/colors/twoTone.js +1 -2
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +4 -8
- package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.js +2 -3
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +1 -2
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +3 -5
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +1 -2
- package/lib/cjs/styles/themes/next-gen/customProperties/index.js +5 -7
- package/lib/cjs/styles/themes/next-gen/customProperties/styles.js +2 -3
- package/lib/cjs/styles/themes/next-gen/customProperties/tShirtSizes.js +3 -5
- package/lib/cjs/styles/themes/next-gen/forms.js +10 -17
- package/lib/cjs/styles/themes/next-gen/next-gen.js +5 -6
- package/lib/cjs/styles/themes/next-gen/sizes.js +2 -3
- package/lib/cjs/styles/themes/next-gen/spacing.js +1 -2
- package/lib/cjs/styles/themes/next-gen/stories/NextGenStickerSheet.chromatic.stories.d.ts +13 -2
- package/lib/cjs/styles/themes/next-gen/stories/NextGenStickerSheet.chromatic.stories.js +12 -4
- package/lib/cjs/styles/themes/next-gen/stories/OnyxInputPatterns.chromatic.stories.d.ts +5 -5
- package/lib/cjs/styles/themes/next-gen/stories/OnyxInputPatterns.chromatic.stories.js +8 -15
- package/lib/cjs/styles/themes/next-gen/stories/StickerSheetComponent.d.ts +1 -2
- package/lib/cjs/styles/themes/next-gen/stories/StickerSheetComponent.js +1 -2
- package/lib/cjs/styles/themes/next-gen/text.js +2 -5
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/accordion.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/avatar.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/badges.js +5 -7
- package/lib/cjs/styles/themes/next-gen/variants/box.js +5 -7
- package/lib/cjs/styles/themes/next-gen/variants/button.js +4 -6
- package/lib/cjs/styles/themes/next-gen/variants/callout.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/cards.js +4 -5
- package/lib/cjs/styles/themes/next-gen/variants/dataTable.js +4 -5
- package/lib/cjs/styles/themes/next-gen/variants/footer.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/iconWrapper.js +3 -4
- package/lib/cjs/styles/themes/next-gen/variants/images.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/input.js +4 -6
- package/lib/cjs/styles/themes/next-gen/variants/label.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/links.js +5 -7
- package/lib/cjs/styles/themes/next-gen/variants/listview.js +6 -11
- package/lib/cjs/styles/themes/next-gen/variants/menu.js +3 -5
- package/lib/cjs/styles/themes/next-gen/variants/messages.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/navbar.js +6 -9
- package/lib/cjs/styles/themes/next-gen/variants/navigationHeader.js +3 -4
- package/lib/cjs/styles/themes/next-gen/variants/panelHeader.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/popoverMenu.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/prompt.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/response.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/searchNav.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/stepper.js +4 -5
- package/lib/cjs/styles/themes/next-gen/variants/suggestion.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/suggestions.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/switch.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/table.js +4 -5
- package/lib/cjs/styles/themes/next-gen/variants/tableBase.js +4 -5
- package/lib/cjs/styles/themes/next-gen/variants/tabs.js +4 -7
- package/lib/cjs/styles/themes/next-gen/variants/text.js +4 -5
- package/lib/cjs/styles/themes/next-gen/variants/tooltip.js +2 -3
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +6 -9
- package/lib/cjs/styles/useAstroTheme.js +2 -4
- package/lib/cjs/styles/variants/index.js +4 -5
- package/lib/cjs/styles/variants/variants.js +5 -7
- package/lib/cjs/types/aiPanel.d.ts +0 -1
- package/lib/cjs/types/badge.d.ts +0 -1
- package/lib/cjs/types/callout.d.ts +0 -1
- package/lib/cjs/types/card.d.ts +1 -0
- package/lib/cjs/types/cell.d.ts +0 -1
- package/lib/cjs/types/collapsiblePanel.d.ts +0 -1
- package/lib/cjs/types/footer.d.ts +0 -1
- package/lib/cjs/types/index.js +54 -54
- package/lib/cjs/types/input.d.ts +1 -1
- package/lib/cjs/types/item.d.ts +2 -1
- package/lib/cjs/types/label.d.ts +0 -1
- package/lib/cjs/types/link.d.ts +1 -0
- package/lib/cjs/types/listBox.d.ts +5 -4
- package/lib/cjs/types/menu.d.ts +0 -1
- package/lib/cjs/types/navSideBar.d.ts +2 -1
- package/lib/cjs/types/overlayPanel.d.ts +0 -1
- package/lib/cjs/types/passwordField.d.ts +0 -1
- package/lib/cjs/types/popoverContainer.d.ts +0 -1
- package/lib/cjs/types/popoverMenu.d.ts +0 -1
- package/lib/cjs/types/promptInput.d.ts +0 -1
- package/lib/cjs/types/searchField.d.ts +1 -1
- package/lib/cjs/types/selectField.d.ts +0 -1
- package/lib/cjs/types/shared/events.d.ts +3 -1
- package/lib/cjs/types/switchField.d.ts +0 -1
- package/lib/cjs/types/textField.d.ts +0 -1
- package/lib/cjs/types/timefield.d.ts +3 -2
- package/lib/cjs/utils/designUtils/figmaLinks.js +2 -3
- package/lib/cjs/utils/devUtils/constants/animals.js +2 -3
- package/lib/cjs/utils/devUtils/constants/firstNames.js +1 -2
- package/lib/cjs/utils/devUtils/constants/htmlElements.js +3 -6
- package/lib/cjs/utils/devUtils/constants/images.js +8 -16
- package/lib/cjs/utils/devUtils/constants/items.js +2 -3
- package/lib/cjs/utils/devUtils/constants/labelModes.js +2 -3
- package/lib/cjs/utils/devUtils/constants/languageMapping.js +2 -3
- package/lib/cjs/utils/devUtils/constants/loadingStates.js +2 -3
- package/lib/cjs/utils/devUtils/constants/logos.d.ts +2 -3
- package/lib/cjs/utils/devUtils/constants/logos.js +3 -5
- package/lib/cjs/utils/devUtils/constants/modalSizes.js +1 -2
- package/lib/cjs/utils/devUtils/constants/orientation.js +2 -3
- package/lib/cjs/utils/devUtils/constants/panelSizes.js +1 -2
- package/lib/cjs/utils/devUtils/constants/pendoID.js +2 -3
- package/lib/cjs/utils/devUtils/constants/statuses.js +2 -4
- package/lib/cjs/utils/devUtils/constants/tShirtSizes.js +3 -5
- package/lib/cjs/utils/devUtils/constants/text.js +1 -2
- package/lib/cjs/utils/devUtils/constants/themes.js +2 -3
- package/lib/cjs/utils/devUtils/constants/variants.js +4 -5
- package/lib/cjs/utils/devUtils/createMockData.js +4 -5
- package/lib/cjs/utils/devUtils/decorators/withDeprecationWarning.js +1 -2
- package/lib/cjs/utils/devUtils/props/isDateWithinRanges.js +2 -3
- package/lib/cjs/utils/devUtils/props/isIterable.js +2 -4
- package/lib/cjs/utils/devUtils/props/isValidPositiveInt.js +1 -2
- package/lib/cjs/utils/devUtils/shouldReturnComingSoon.js +3 -5
- package/lib/cjs/utils/devUtils/styledSystemUtils.js +5 -8
- package/lib/cjs/utils/docUtils/ariaAttributes.d.ts +11 -7
- package/lib/cjs/utils/docUtils/ariaAttributes.js +8 -13
- package/lib/cjs/utils/docUtils/ariaAttributes.test.js +2 -2
- package/lib/cjs/utils/docUtils/docArgTypes.js +5 -9
- package/lib/cjs/utils/docUtils/fieldAttributes.js +6 -9
- package/lib/cjs/utils/docUtils/hoverProps.js +6 -9
- package/lib/cjs/utils/docUtils/iconSizeProps.d.ts +2 -1
- package/lib/cjs/utils/docUtils/iconSizeProps.js +3 -5
- package/lib/cjs/utils/docUtils/pressAttributes.js +4 -5
- package/lib/cjs/utils/docUtils/statusProp.js +7 -11
- package/lib/cjs/utils/styleUtils/index.js +2 -3
- package/lib/cjs/utils/testUtils/dndMocks.js +25 -39
- package/lib/cjs/utils/testUtils/testAxe.js +5 -7
- package/lib/cjs/utils/testUtils/testTheme.js +2 -3
- package/lib/cjs/utils/testUtils/testWrapper.js +5 -7
- package/lib/cjs/utils/testUtils/universalComponentTest.js +7 -10
- package/lib/cjs/utils/testUtils/universalFormSubmitTest.d.ts +1 -0
- package/lib/cjs/utils/testUtils/universalFormSubmitTest.js +105 -60
- package/lib/components/AIComponents/Attachment/Attachment.js +2 -2
- package/lib/components/AIComponents/Attachment/Attachment.test.js +3 -2
- package/lib/components/AIComponents/PromptInput/PromptInput.js +2 -2
- package/lib/components/AIComponents/PromptInput/PromptInput.stories.js +2 -2
- package/lib/components/AIComponents/PromptInput/PromptInput.test.js +38 -29
- package/lib/components/AIComponents/PromptInput/PromptUploadButton.js +2 -2
- package/lib/components/AIComponents/Response/Response.test.js +252 -0
- package/lib/components/AIComponents/Response/ResponseMarkdown/MarkdownListWrapper.js +2 -2
- package/lib/components/AIComponents/Response/ResponseMarkdown/MarkdownTextWrapper.js +2 -2
- package/lib/components/AIComponents/Response/ResponseMarkdown/ResponseMarkdown.js +2 -2
- package/lib/components/AccordionGridGroup/AccordionGrid.styles.js +2 -2
- package/lib/components/AccordionGridGroup/AccordionGridGroup.js +2 -2
- package/lib/components/AccordionGridGroup/AccordionGridGroup.stories.js +10 -6
- package/lib/components/AccordionGridGroup/AccordionGridGroup.test.js +169 -93
- package/lib/components/AccordionGridItem/AccordionGridItem.js +2 -1
- package/lib/components/AccordionGroup/Accordion.styles.js +2 -2
- package/lib/components/AccordionGroup/AccordionGroup.js +2 -2
- package/lib/components/AccordionGroup/AccordionGroup.stories.js +1 -1
- package/lib/components/AccordionGroup/AccordionGroup.test.js +208 -99
- package/lib/components/ArrayField/ArrayField.js +2 -2
- package/lib/components/ArrayField/ArrayField.stories.js +2 -2
- package/lib/components/AstroProvider/AstroProvider.js +3 -4
- package/lib/components/Avatar/Avatar.js +3 -4
- package/lib/components/Badge/Badge.js +2 -2
- package/lib/components/Badge/Badge.styles.js +2 -2
- package/lib/components/Badge/Convenience/RemovableBadge.test.js +32 -10
- package/lib/components/Box/Box.js +3 -3
- package/lib/components/Breadcrumbs/Breadcrumb.styles.js +2 -2
- package/lib/components/Breadcrumbs/BreadcrumbItem.js +2 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.test.js +31 -9
- package/lib/components/Button/Button.js +8 -4
- package/lib/components/Button/Button.stories.js +2 -2
- package/lib/components/Button/Button.test.js +65 -38
- package/lib/components/Button/Buttons.styles.js +2 -2
- package/lib/components/Button/buttonAttributes.js +2 -2
- package/lib/components/ButtonBar/ButtonBar.js +10 -2
- package/lib/components/ButtonBar/ButtonBar.styles.js +2 -2
- package/lib/components/ButtonBar/ButtonBar.test.js +3 -3
- package/lib/components/Calendar/Calendar.js +4 -4
- package/lib/components/Calendar/Calendar.styles.js +2 -2
- package/lib/components/Calendar/Calendar.test.js +324 -180
- package/lib/components/Callout/Callout.js +5 -6
- package/lib/components/Callout/Callout.stories.js +5 -2
- package/lib/components/Callout/Callout.test.js +1 -2
- package/lib/components/Card/Card.js +2 -2
- package/lib/components/Card/Card.stories.js +2 -2
- package/lib/components/Card/Card.styles.js +2 -2
- package/lib/components/Card/Card.test.js +107 -63
- package/lib/components/Card/cardAttributes.js +2 -2
- package/lib/components/CheckboxField/CheckboxField.js +4 -3
- package/lib/components/CheckboxField/CheckboxField.stories.js +17 -17
- package/lib/components/CheckboxField/CheckboxField.test.js +235 -132
- package/lib/components/CodeEditor/CodeEditor.chromatic.stories.js +0 -1
- package/lib/components/CodeEditor/CodeEditor.js +2 -2
- package/lib/components/CodeEditor/CodeEditor.styles.js +2 -2
- package/lib/components/CodeView/CodeView.js +22 -11
- package/lib/components/CodeView/CodeView.test.js +117 -81
- package/lib/components/CollapsiblePanel/CollapsiblePanel.styles.js +34 -4
- package/lib/components/CollapsiblePanelContainer/CollapsiblePanelContainer.test.js +57 -20
- package/lib/components/ColorField/ColorField.js +2 -2
- package/lib/components/ColorField/ColorField.stories.js +2 -2
- package/lib/components/ColorField/ColorField.styles.js +2 -2
- package/lib/components/ColorField/ColorField.test.js +92 -39
- package/lib/components/ComboBox/ComboBox.styles.js +2 -2
- package/lib/components/ComboBox/ComboBoxInput.js +4 -3
- package/lib/components/ComboBoxField/ComboBoxField.js +4 -3
- package/lib/components/ComboBoxField/ComboBoxField.stories.js +37 -38
- package/lib/components/ComboBoxField/ComboBoxField.test.js +966 -577
- package/lib/components/CopyText/CopyText.styles.js +2 -2
- package/lib/components/CopyText/CopyText.test.js +142 -115
- package/lib/components/DataTable/DataTable.js +5 -5
- package/lib/components/DataTable/DataTable.stories.js +19 -20
- package/lib/components/DataTable/DataTable.styles.js +2 -2
- package/lib/components/DataTable/DataTable.test.js +359 -284
- package/lib/components/DataTable/DataTableBadge.js +0 -1
- package/lib/components/DataTable/DataTableMultiLine.js +0 -4
- package/lib/components/DataTable/DataTableVirtualizer.js +3 -4
- package/lib/components/DataTable/stories/NextGenDarkDataTable.chomatic.stories.js +10 -0
- package/lib/components/DatePicker/DateField.js +2 -2
- package/lib/components/DatePicker/DatePicker.js +2 -2
- package/lib/components/DatePicker/DatePicker.stories.js +2 -2
- package/lib/components/DatePicker/DatePicker.styles.js +2 -2
- package/lib/components/DatePicker/DatePicker.test.js +451 -263
- package/lib/components/EditButton/EditButton.js +2 -2
- package/lib/components/EditButton/EditButton.stories.js +2 -2
- package/lib/components/EditButton/EditButton.test.js +34 -13
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +2 -3
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +12 -12
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.js +353 -172
- package/lib/components/EnvironmentBreadcrumb/EnvironmentalBreadcrumb.styles.js +2 -2
- package/lib/components/EnvironmentBreadcrumb/EnvironmentalBreadcrumbUniversal.test.js +6 -37
- package/lib/components/ExpandableText/ExpandableText.js +1 -0
- package/lib/components/ExpandableText/ExpandableText.test.js +0 -1
- package/lib/components/FieldHelperText/FieldHelperText.js +2 -2
- package/lib/components/FieldHelperText/FieldHelperText.stories.js +2 -2
- package/lib/components/FieldHelperText/FieldHelperText.styles.js +2 -2
- package/lib/components/FileInputField/FileInputField.js +2 -2
- package/lib/components/FileInputField/FileInputField.stories.js +2 -2
- package/lib/components/FileInputField/FileInputField.styles.js +2 -2
- package/lib/components/FileInputField/FileInputField.test.js +174 -90
- package/lib/components/FileInputField/FileItem.js +2 -2
- package/lib/components/FileInputField/FileSelect.js +2 -2
- package/lib/components/FileInputField/FileSelectIcon.js +0 -1
- package/lib/components/GridList/GridList.js +2 -2
- package/lib/components/GridList/GridList.stories.js +2 -2
- package/lib/components/GridList/GridList.test.js +65 -41
- package/lib/components/GridList/GridListRow.js +5 -5
- package/lib/components/HelpHint/HelpHint.js +4 -4
- package/lib/components/HelpHint/HelpHint.styles.js +2 -2
- package/lib/components/HelpHint/HelpHint.test.js +33 -26
- package/lib/components/Icon/Icon.js +2 -2
- package/lib/components/Icon/Icon.stories.js +2 -2
- package/lib/components/Icon/NoticeIcon.js +5 -6
- package/lib/components/IconBadge/IconBadge.js +2 -2
- package/lib/components/IconButton/IconButton.js +8 -4
- package/lib/components/IconButton/IconButton.styles.js +2 -2
- package/lib/components/IconButton/IconButton.test.js +139 -62
- package/lib/components/IconButton/iconButtonAttributes.js +2 -2
- package/lib/components/IconWrapper/IconWrapper.js +2 -2
- package/lib/components/IconWrapper/IconWrapper.stories.js +2 -2
- package/lib/components/Image/Image.test.js +4 -3
- package/lib/components/ImageUploadField/ImageUploadField.js +2 -2
- package/lib/components/ImageUploadField/ImageUploadField.stories.js +15 -18
- package/lib/components/ImageUploadField/ImageUploadField.test.js +97 -70
- package/lib/components/ImageUploadField/ImageUploadFieldBase.js +2 -2
- package/lib/components/ImageUploadField/imageUpload.js +2 -2
- package/lib/components/Input/Input.js +22 -3
- package/lib/components/Input/Input.styles.js +13 -14
- package/lib/components/Input/Input.test.js +49 -16
- package/lib/components/Label/Label.js +1 -1
- package/lib/components/Label/Label.styles.js +2 -3
- package/lib/components/Link/Link.stories.js +8 -0
- package/lib/components/Link/Link.styles.js +2 -2
- package/lib/components/Link/Link.test.js +85 -38
- package/lib/components/LinkSelectField/LinkSelectField.js +2 -2
- package/lib/components/LinkSelectField/LinkSelectField.stories.js +12 -13
- package/lib/components/LinkSelectField/LinkSelectField.test.js +79 -35
- package/lib/components/ListBox/ListBox.js +7 -6
- package/lib/components/ListBox/ListBox.styles.js +2 -2
- package/lib/components/ListBox/ListBox.test.js +34 -10
- package/lib/components/ListBox/Option.js +3 -3
- package/lib/components/ListItem/ListItem.styles.js +2 -2
- package/lib/components/ListItem/ListItem.test.js +67 -23
- package/lib/components/ListView/ListView.js +3 -3
- package/lib/components/ListView/ListView.stories.js +19 -21
- package/lib/components/ListView/ListView.test.js +272 -156
- package/lib/components/ListView/ListViewExpandableItem.js +3 -0
- package/lib/components/ListView/ListViewItem.js +6 -3
- package/lib/components/ListView/listViewAttributes.js +2 -2
- package/lib/components/ListViewItem/ListViewItem.styles.js +2 -2
- package/lib/components/ListViewItem/ListViewItem.test.js +2 -2
- package/lib/components/ListViewItem/controls/ListViewItemEditButton.test.js +31 -9
- package/lib/components/ListViewItem/controls/ListViewItemMenu.stories.js +2 -2
- package/lib/components/ListViewItem/controls/ListViewItemMenu.test.js +3 -4
- package/lib/components/ListViewItem/controls/ListViewItemSwitchField.stories.js +2 -2
- package/lib/components/ListViewItem/controls/ListViewItemSwitchField.test.js +31 -9
- package/lib/components/ListViewItem/controls/chart/ListViewItemChart.js +4 -5
- package/lib/components/ListViewItem/controls/chart/ListViewItemChart.styles.js +2 -2
- package/lib/components/ListViewItem/controls/chart/ListViewItemChart.test.js +17 -3
- package/lib/components/ListViewItem/controls/chart/ListViewItemChartAttributes.js +2 -2
- package/lib/components/ListViewItem/listViewItemAttributes.js +2 -2
- package/lib/components/Loader/Loader.js +2 -2
- package/lib/components/Loader/Loader.stories.js +2 -2
- package/lib/components/Loader/Loader.styles.js +2 -2
- package/lib/components/Menu/Menu.js +2 -2
- package/lib/components/Menu/Menu.test.js +156 -90
- package/lib/components/Menu/menuAttributes.js +2 -2
- package/lib/components/MenuItem/MenuItem.js +3 -1
- package/lib/components/MenuItem/MenuItem.test.js +128 -57
- package/lib/components/MenuSection/MenuSection.styles.js +2 -2
- package/lib/components/MenuSection/MenuSection.test.js +28 -6
- package/lib/components/Messages/Messages.js +2 -2
- package/lib/components/Messages/Messages.stories.js +5 -2
- package/lib/components/Messages/Messages.test.js +92 -37
- package/lib/components/Messages/utils/messagesReducer.js +2 -2
- package/lib/components/Messages/utils/multiMessagesReducer.js +2 -2
- package/lib/components/Modal/Modal.js +3 -4
- package/lib/components/Modal/Modal.styles.js +2 -2
- package/lib/components/Modal/ModalFooter.test.js +3 -4
- package/lib/components/Modal/ModalHeader.js +2 -2
- package/lib/components/Modal/ModalHeader.test.js +34 -12
- package/lib/components/Modal/tests/Modal.integration.test.js +83 -31
- package/lib/components/Modal/tests/Modal.unit.test.js +198 -116
- package/lib/components/MultivaluesField/CondensedMultivaluesField.js +9 -9
- package/lib/components/MultivaluesField/DefaultMultivaluesField.js +13 -13
- package/lib/components/MultivaluesField/MultivaluesField.js +2 -2
- package/lib/components/MultivaluesField/MultivaluesField.stories.js +92 -93
- package/lib/components/MultivaluesField/MultivaluesField.test.js +1564 -907
- package/lib/components/NavBar/NavBar.styles.js +2 -2
- package/lib/components/NavBar/NavBar.test.js +213 -94
- package/lib/components/NavBarSection/NavBarItemBody.js +2 -2
- package/lib/components/NavBarSection/NavBarItemHeader.test.js +2 -2
- package/lib/components/NavBarSection/NavBarItemLink.js +2 -3
- package/lib/components/NavSideBar/NavSideBar.test.js +238 -149
- package/lib/components/NavSideBar/NavSideBarSectionItem.js +2 -2
- package/lib/components/NavigationHeader/NavigationHeader.js +2 -2
- package/lib/components/NavigationHeader/NavigationHeader.test.js +94 -47
- package/lib/components/NumberField/NumberField.js +2 -2
- package/lib/components/NumberField/NumberField.stories.js +2 -2
- package/lib/components/NumberField/NumberField.styles.js +6 -7
- package/lib/components/NumberField/NumberField.test.js +157 -62
- package/lib/components/PageHeader/PageHeader.stories.js +30 -0
- package/lib/components/PageHeader/PageHeader.test.js +37 -17
- package/lib/components/Pagination/Pagination.test.js +250 -121
- package/lib/components/PanelHeader/PanelHeader.js +2 -2
- package/lib/components/PanelHeader/PanelHeader.styles.js +2 -2
- package/lib/components/PanelHeader/PanelHeader.test.js +8 -8
- package/lib/components/PanelHeader/controls/PanelHeaderCloseButton.test.js +31 -9
- package/lib/components/PanelHeader/controls/PanelHeaderMenu.test.js +39 -15
- package/lib/components/PanelHeader/controls/PanelHeaderSwitchField.stories.js +2 -2
- package/lib/components/PanelHeader/controls/PanelHeaderSwitchField.test.js +31 -9
- package/lib/components/PasswordField/PasswordField.js +3 -3
- package/lib/components/PasswordField/PasswordField.stories.js +55 -55
- package/lib/components/PasswordField/PasswordField.test.js +139 -75
- package/lib/components/Popover/Popover.js +2 -2
- package/lib/components/PopoverContainer/PopoverContainer.js +2 -4
- package/lib/components/PopoverMenu/PopoverMenu.js +2 -2
- package/lib/components/PopoverMenu/PopoverMenu.test.js +263 -149
- package/lib/components/ProgressBar/ProgressBar.styles.js +2 -2
- package/lib/components/RadioField/RadioField.js +2 -2
- package/lib/components/RadioField/RadioField.test.js +19 -10
- package/lib/components/RadioGroupField/RadioGroupField.stories.js +2 -2
- package/lib/components/RadioGroupField/RadioGroupField.test.js +84 -48
- package/lib/components/RangeCalendar/RangeCalendar.js +2 -2
- package/lib/components/RangeCalendar/RangeCalendar.stories.js +2 -2
- package/lib/components/RangeCalendar/RangeCalendar.test.js +144 -74
- package/lib/components/RockerButton/RockerButton.js +2 -2
- package/lib/components/RockerButton/RockerButton.styles.js +2 -2
- package/lib/components/RockerButtonGroup/RockerButtonGroup.js +2 -2
- package/lib/components/RockerButtonGroup/RockerButtonGroup.test.js +77 -54
- package/lib/components/ScrollBox/ScrollBox.js +2 -2
- package/lib/components/SearchField/SearchAutoComplete.js +8 -6
- package/lib/components/SearchField/SearchField.stories.js +2 -5
- package/lib/components/SearchField/SearchField.test.js +333 -175
- package/lib/components/SearchField/SearchFieldBase.js +2 -2
- package/lib/components/SearchNav/SearchNav.js +5 -0
- package/lib/components/SearchNav/SearchNav.styles.js +2 -2
- package/lib/components/SearchNav/SearchNav.test.js +43 -43
- package/lib/components/SelectField/Select.styles.js +2 -2
- package/lib/components/SelectField/SelectField.js +2 -2
- package/lib/components/SelectField/SelectField.stories.js +16 -17
- package/lib/components/SelectField/SelectField.test.js +46 -15
- package/lib/components/SelectFieldBase/HiddenSelect.js +2 -2
- package/lib/components/SelectFieldBase/HiddenSelect.test.js +4 -5
- package/lib/components/SelectFieldBase/SelectFieldBase.js +2 -2
- package/lib/components/SelectFieldBase/SelectFieldBase.test.js +394 -223
- package/lib/components/Separator/Separator.styles.js +2 -2
- package/lib/components/ServerErrorBoundary/ServerErrorBoundary.test.js +59 -28
- package/lib/components/Skeleton/Skeleton.js +5 -4
- package/lib/components/Skeleton/Skeleton.styles.js +2 -2
- package/lib/components/Skeleton/Skeleton.test.js +3 -3
- package/lib/components/SliderField/Slider.styles.js +2 -2
- package/lib/components/SliderField/SliderActiveTrack.js +2 -2
- package/lib/components/SliderField/SliderField.js +2 -2
- package/lib/components/SliderField/SliderField.test.js +221 -159
- package/lib/components/StatusIcon/StatusIcon.js +2 -3
- package/lib/components/Stepper/Stepper.js +2 -2
- package/lib/components/Stepper/Stepper.styles.js +2 -2
- package/lib/components/Stepper/Stepper.test.js +32 -23
- package/lib/components/Switch/Switch.styles.js +2 -2
- package/lib/components/SwitchField/SwitchField.js +2 -2
- package/lib/components/SwitchField/SwitchField.stories.js +2 -2
- package/lib/components/SwitchField/SwitchField.test.js +102 -43
- package/lib/components/SwitchField/switchFieldAttributes.js +2 -2
- package/lib/components/Table/Table.styles.js +2 -2
- package/lib/components/TableBase/TableBase.js +3 -3
- package/lib/components/TableBase/TableBase.stories.js +4 -5
- package/lib/components/TableBase/TableBase.styles.js +2 -2
- package/lib/components/TableBase/TableBase.test.js +273 -194
- package/lib/components/Tabs/Tabs.js +2 -2
- package/lib/components/Tabs/Tabs.stories.js +20 -0
- package/lib/components/Tabs/Tabs.style.js +2 -2
- package/lib/components/Tabs/Tabs.test.js +134 -99
- package/lib/components/Text/Text.js +1 -1
- package/lib/components/Text/Text.stories.js +36 -36
- package/lib/components/Text/Text.styles.js +3 -3
- package/lib/components/Text/Text.test.js +2 -2
- package/lib/components/TextArea/TextArea.styles.js +2 -2
- package/lib/components/TextAreaField/TextAreaField.js +3 -3
- package/lib/components/TextAreaField/TextAreaField.stories.js +2 -2
- package/lib/components/TextAreaField/TextAreaField.test.js +28 -7
- package/lib/components/TextField/TextField.js +2 -2
- package/lib/components/TextField/TextField.stories.js +2 -2
- package/lib/components/TextField/TextField.test.js +37 -14
- package/lib/components/TimeField/TimeField.js +2 -2
- package/lib/components/TimeField/TimeField.styles.js +2 -2
- package/lib/components/TimeZonePicker/TimeZonePicker.js +3 -3
- package/lib/components/TimeZonePicker/TimeZonePicker.test.js +68 -24
- package/lib/components/TooltipTrigger/Tooltip.styles.js +2 -2
- package/lib/components/TooltipTrigger/TooltipTrigger.js +3 -3
- package/lib/components/TooltipTrigger/TooltipTrigger.stories.js +10 -0
- package/lib/components/TooltipTrigger/TooltipTrigger.test.js +120 -78
- package/lib/components/TreeView/TreeView.js +8 -8
- package/lib/components/TreeView/TreeView.stories.js +4 -5
- package/lib/components/TreeView/TreeView.test.js +225 -127
- package/lib/components/TreeView/TreeViewKeyboardDelegate.js +3 -3
- package/lib/components/TreeView/TreeViewRow.js +2 -2
- package/lib/context/RadioContext/index.js +3 -0
- package/lib/docs/design/ColorDocumentation.stories.js +10 -0
- package/lib/hooks/useAriaLabelWarning/useAriaLabelWarning.test.js +1 -2
- package/lib/hooks/useCircularLoader/useCircularLoader.js +2 -2
- package/lib/hooks/useCircularLoader/useCircularLoader.test.js +4 -6
- package/lib/hooks/useComponentToggle/useComponentToggle.test.js +8 -7
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js +3 -4
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.test.js +4 -5
- package/lib/hooks/useDeprecationWarning/useDeprecationWarning.test.js +2 -2
- package/lib/hooks/useDevelopmentWarning/useDevelopmentWarning.test.js +1 -2
- package/lib/hooks/useExpandableListViewItem/useExpandableListViewItem.js +5 -5
- package/lib/hooks/useFallbackImage/useFallbackImage.test.js +2 -2
- package/lib/hooks/useField/useField.js +6 -5
- package/lib/hooks/useField/useField.test.js +10 -4
- package/lib/hooks/useGetTheme/useGetTheme.js +2 -4
- package/lib/hooks/useGetTheme/useGetTheme.test.js +2 -2
- package/lib/hooks/useGridList/useGridList.js +2 -2
- package/lib/hooks/useGridListItem/useGridListItem.js +3 -2
- package/lib/hooks/useImageUploadState/useImageUploadState.js +1 -1
- package/lib/hooks/useInputLoader/useInputLoader.js +0 -1
- package/lib/hooks/useModalState/useModalState.js +2 -2
- package/lib/hooks/useMountTransition/useMountTransition.js +1 -1
- package/lib/hooks/useMountTransition/useMountTransition.test.js +35 -11
- package/lib/hooks/useOverlappingMenuHoverState/useOverlappingMenuHoverState.test.js +9 -10
- package/lib/hooks/useOverlayPanelState/useOverlayPanelState.js +2 -2
- package/lib/hooks/usePagination/usePagination.js +2 -2
- package/lib/hooks/useProgressiveState/useProgressiveState.test.js +58 -22
- package/lib/hooks/usePropWarning/usePropWarning.test.js +1 -2
- package/lib/hooks/useReorderableCollection/useReorderableCollection.js +4 -5
- package/lib/hooks/useSelectField/useSelectField.js +2 -2
- package/lib/hooks/useSliderField/useSliderField.js +2 -2
- package/lib/hooks/useSliderField/useSliderField.test.js +2 -2
- package/lib/hooks/useTShirtSize/useTShirtSize.test.js +1 -2
- package/lib/hooks/useTypeAnimation/useTypeAnimation.test.js +3 -3
- package/lib/hooks/useTypeAnimationWrapper/useTypeAnimationWrapper.test.js +1 -1
- package/lib/mocks/handlers/users.js +4 -5
- package/lib/recipes/AccordionCard.stories.js +2 -2
- package/lib/recipes/ApplicationSearchDropdown.stories.hidden.js +2 -2
- package/lib/recipes/AttributeMapping.stories.js +10 -0
- package/lib/recipes/CollapsiblePanel.stories.js +2 -2
- package/lib/recipes/ConditionFilter.stories.js +2 -2
- package/lib/recipes/DataVisualization.stories.js +3 -4
- package/lib/recipes/InlineEditing.stories.js +5 -5
- package/lib/recipes/ListAndPanel.stories.js +4 -5
- package/lib/recipes/LogoTabs.stories.js +2 -2
- package/lib/recipes/MultipagePopup.stories.js +2 -2
- package/lib/recipes/PanelContent.stories.js +5 -2
- package/lib/recipes/Slider.stories.js +2 -2
- package/lib/styles/ColorDocumentation.js +8 -17
- package/lib/styles/colors.js +3 -3
- package/lib/styles/forms/index.js +2 -2
- package/lib/styles/spacing.js +0 -1
- package/lib/styles/text.js +1 -2
- package/lib/styles/theme.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/customProperties/icons.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkStickerSheet.chromatic.stories.js +10 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/badges.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/forms.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/iconBadge.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/input.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/links.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/skeleton.js +2 -2
- package/lib/styles/themeOverrides/stories/EnvironmentBreadcrumb.chromatic.stories.js +2 -2
- package/lib/styles/themeOverrides/uiLibraryOverride.js +2 -2
- package/lib/styles/themes/astro/customProperties/icons.js +1 -1
- package/lib/styles/themes/astro-nano/astro-nano.js +2 -2
- package/lib/styles/themes/end-user/end-user.js +2 -3
- package/lib/styles/themes/next-gen/codeView/codeView.js +2 -2
- package/lib/styles/themes/next-gen/colors/colors.js +2 -2
- package/lib/styles/themes/next-gen/colors/iconWrapper.js +2 -2
- package/lib/styles/themes/next-gen/customProperties/icons.js +1 -1
- package/lib/styles/themes/next-gen/customProperties/index.js +2 -2
- package/lib/styles/themes/next-gen/forms.js +2 -2
- package/lib/styles/themes/next-gen/next-gen.js +3 -3
- package/lib/styles/themes/next-gen/stories/NextGenStickerSheet.chromatic.stories.js +10 -0
- package/lib/styles/themes/next-gen/text.js +1 -2
- package/lib/styles/themes/next-gen/variants/badges.js +2 -2
- package/lib/styles/themes/next-gen/variants/box.js +2 -2
- package/lib/styles/themes/next-gen/variants/button.js +2 -2
- package/lib/styles/themes/next-gen/variants/cards.js +2 -2
- package/lib/styles/themes/next-gen/variants/dataTable.js +2 -2
- package/lib/styles/themes/next-gen/variants/iconWrapper.js +2 -2
- package/lib/styles/themes/next-gen/variants/input.js +2 -2
- package/lib/styles/themes/next-gen/variants/links.js +2 -2
- package/lib/styles/themes/next-gen/variants/navbar.js +2 -2
- package/lib/styles/themes/next-gen/variants/navigationHeader.js +2 -2
- package/lib/styles/themes/next-gen/variants/stepper.js +2 -2
- package/lib/styles/themes/next-gen/variants/table.js +2 -2
- package/lib/styles/themes/next-gen/variants/tableBase.js +2 -2
- package/lib/styles/themes/next-gen/variants/text.js +2 -2
- package/lib/styles/themes/next-gen/variants/variants.js +2 -2
- package/lib/styles/variants/index.js +2 -2
- package/lib/styles/variants/variants.js +2 -2
- package/lib/tsconfig.lib.tsbuildinfo +1 -0
- package/lib/utils/devUtils/createMockData.js +2 -2
- package/lib/utils/devUtils/styledSystemUtils.js +2 -2
- package/lib/utils/docUtils/ariaAttributes.js +2 -2
- package/lib/utils/docUtils/ariaAttributes.test.js +2 -2
- package/lib/utils/docUtils/fieldAttributes.js +2 -2
- package/lib/utils/docUtils/hoverProps.js +2 -2
- package/lib/utils/docUtils/pressAttributes.js +2 -2
- package/lib/utils/docUtils/statusProp.js +2 -2
- package/lib/utils/testUtils/dndMocks.js +20 -28
- package/lib/utils/testUtils/testAxe.js +4 -5
- package/lib/utils/testUtils/testWrapper.js +3 -4
- package/lib/utils/testUtils/universalComponentTest.js +4 -5
- package/lib/utils/testUtils/universalFormSubmitTest.js +102 -55
- package/package.json +74 -47
- package/LICENSE +0 -202
- package/README.md +0 -103
- package/lib/cjs/components/AIComponents/AIPanel/AIPanel.test.d.ts +0 -1
- package/lib/cjs/components/AIComponents/Attachment/Attachment.test.d.ts +0 -1
- package/lib/cjs/components/AIComponents/Prompt/Prompt.test.d.ts +0 -1
- package/lib/cjs/components/AIComponents/PromptInput/PromptInput.test.d.ts +0 -1
- package/lib/cjs/components/AIComponents/PromptInput/PromptUploadButton.test.d.ts +0 -1
- package/lib/cjs/components/AIComponents/Response/Response.test.jsx +0 -191
- package/lib/cjs/components/AIComponents/Response/ResponseMarkdown/ResponseMarkdown.test.d.ts +0 -1
- package/lib/cjs/components/AIComponents/Suggestions/Suggestions.test.d.ts +0 -1
- package/lib/cjs/components/AccordionGroup/AccordionGroup.test.d.ts +0 -1
- package/lib/cjs/components/ArrayField/ArrayField.test.d.ts +0 -1
- package/lib/cjs/components/Avatar/Avatar.test.d.ts +0 -1
- package/lib/cjs/components/Badge/Badge.test.d.ts +0 -1
- package/lib/cjs/components/Box/Box.test.d.ts +0 -1
- package/lib/cjs/components/Bracket/Bracket.test.d.ts +0 -1
- package/lib/cjs/components/Breadcrumbs/Breadcrumbs.test.d.ts +0 -1
- package/lib/cjs/components/Button/Button.test.d.ts +0 -1
- package/lib/cjs/components/ButtonBar/ButtonBar.test.d.ts +0 -1
- package/lib/cjs/components/Calendar/Calendar.test.d.ts +0 -1
- package/lib/cjs/components/Callout/Callout.test.d.ts +0 -1
- package/lib/cjs/components/Card/Card.test.d.ts +0 -1
- package/lib/cjs/components/CheckboxField/CheckboxField.test.d.ts +0 -1
- package/lib/cjs/components/CodeEditor/CodeEditor.test.d.ts +0 -1
- package/lib/cjs/components/CodeView/CodeView.test.d.ts +0 -1
- package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.test.d.ts +0 -1
- package/lib/cjs/components/CollapsiblePanelContainer/CollapsiblePanelBadge.test.d.ts +0 -1
- package/lib/cjs/components/CollapsiblePanelContainer/CollapsiblePanelContainer.test.d.ts +0 -1
- package/lib/cjs/components/CollapsiblePanelItem/CollapsiblePanelItem.test.d.ts +0 -1
- package/lib/cjs/components/ColorField/ColorField.test.d.ts +0 -1
- package/lib/cjs/components/CopyText/CopyText.test.d.ts +0 -1
- package/lib/cjs/components/DataTable/DataTable.test.d.ts +0 -1
- package/lib/cjs/components/DataTable/DataTableBadge.test.d.ts +0 -1
- package/lib/cjs/components/DataTable/DataTableMenu.test.d.ts +0 -1
- package/lib/cjs/components/DataTable/DataTableMultiLine.test.d.ts +0 -1
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.d.ts +0 -4
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentalBreadcrumbUniversal.test.d.ts +0 -1
- package/lib/cjs/components/ExpandableText/ExpandableText.test.d.ts +0 -1
- package/lib/cjs/components/FieldHelperText/FieldHelperText.test.d.ts +0 -1
- package/lib/cjs/components/Footer/Footer.test.d.ts +0 -1
- package/lib/cjs/components/Grid/Grid.test.d.ts +0 -1
- package/lib/cjs/components/GridList/GridList.test.d.ts +0 -1
- package/lib/cjs/components/HelpHint/HelpHint.test.d.ts +0 -1
- package/lib/cjs/components/Icon/Icon.test.d.ts +0 -1
- package/lib/cjs/components/Icon/NoticeIcon.test.d.ts +0 -1
- package/lib/cjs/components/IconBadge/IconBadge.test.d.ts +0 -1
- package/lib/cjs/components/IconButton/IconButton.test.d.ts +0 -1
- package/lib/cjs/components/IconButtonToggle/IconButtonToggle.test.d.ts +0 -1
- package/lib/cjs/components/IconWrapper/IconWrapper.test.d.ts +0 -1
- package/lib/cjs/components/Image/Image.test.d.ts +0 -1
- package/lib/cjs/components/Input/Input.test.d.ts +0 -1
- package/lib/cjs/components/Label/Label.test.d.ts +0 -1
- package/lib/cjs/components/Link/Link.test.d.ts +0 -1
- package/lib/cjs/components/ListBox/ListBox.test.d.ts +0 -1
- package/lib/cjs/components/ListItem/ListItem.test.d.ts +0 -1
- package/lib/cjs/components/ListView/ListView.test.d.ts +0 -1
- package/lib/cjs/components/Loader/Loader.test.d.ts +0 -1
- package/lib/cjs/components/Menu/Menu.test.d.ts +0 -1
- package/lib/cjs/components/MenuItem/MenuItem.test.d.ts +0 -1
- package/lib/cjs/components/MenuSection/MenuSection.test.d.ts +0 -1
- package/lib/cjs/components/Messages/Messages.test.d.ts +0 -1
- package/lib/cjs/components/Messages/utils/tests/messagesReducer.test.d.ts +0 -1
- package/lib/cjs/components/Messages/utils/tests/multiMessagesReducer.test.d.ts +0 -1
- package/lib/cjs/components/Modal/ModalBody.test.d.ts +0 -1
- package/lib/cjs/components/Modal/ModalFooter.test.d.ts +0 -1
- package/lib/cjs/components/Modal/ModalHeader.test.d.ts +0 -1
- package/lib/cjs/components/Modal/tests/Modal.integration.test.d.ts +0 -1
- package/lib/cjs/components/Modal/tests/Modal.unit.test.d.ts +0 -1
- package/lib/cjs/components/NavBar/NavBar.test.d.ts +0 -1
- package/lib/cjs/components/NavBarSection/NavBarItemBody.test.d.ts +0 -1
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.test.d.ts +0 -1
- package/lib/cjs/components/NavSideBar/Icon.test.d.ts +0 -1
- package/lib/cjs/components/NavSideBar/NavSideBar.test.d.ts +0 -1
- package/lib/cjs/components/NavigationHeader/NavigationHeader.test.d.ts +0 -1
- package/lib/cjs/components/OverlayPanel/OverlayPanel.test.d.ts +0 -1
- package/lib/cjs/components/Pagination/Pagination.test.d.ts +0 -1
- package/lib/cjs/components/PasswordField/PasswordField.test.d.ts +0 -1
- package/lib/cjs/components/Popover/Popover.test.d.ts +0 -1
- package/lib/cjs/components/PopoverMenu/PopoverMenu.test.d.ts +0 -1
- package/lib/cjs/components/ProgressBar/ProgressBar.test.d.ts +0 -1
- package/lib/cjs/components/RadioField/RadioField.test.d.ts +0 -1
- package/lib/cjs/components/RadioGroupField/RadioGroupField.test.d.ts +0 -1
- package/lib/cjs/components/RangeCalendar/RangeCalendar.test.d.ts +0 -1
- package/lib/cjs/components/RequirementsList/RequirementsList.test.d.ts +0 -1
- package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.test.d.ts +0 -1
- package/lib/cjs/components/ScrollBox/ScrollBox.test.d.ts +0 -1
- package/lib/cjs/components/SearchField/SearchField.test.d.ts +0 -1
- package/lib/cjs/components/SearchNav/SearchNav.test.d.ts +0 -1
- package/lib/cjs/components/SelectField/SelectField.test.d.ts +0 -1
- package/lib/cjs/components/SelectFieldBase/HiddenSelect.test.d.ts +0 -1
- package/lib/cjs/components/SelectFieldBase/SelectFieldBase.test.d.ts +0 -1
- package/lib/cjs/components/Separator/Separator.test.d.ts +0 -1
- package/lib/cjs/components/ServerErrorBoundary/ServerErrorBoundary.test.d.ts +0 -1
- package/lib/cjs/components/Skeleton/Skeleton.test.d.ts +0 -1
- package/lib/cjs/components/SliderField/SliderField.test.d.ts +0 -1
- package/lib/cjs/components/StatusIcon/StatusIcon.test.d.ts +0 -1
- package/lib/cjs/components/SwitchField/SwitchField.test.d.ts +0 -1
- package/lib/cjs/components/Table/Table.test.d.ts +0 -1
- package/lib/cjs/components/TableBase/TableBase.test.d.ts +0 -1
- package/lib/cjs/components/TableBody/TableBody.test.d.ts +0 -1
- package/lib/cjs/components/TableCaption/TableCaption.test.d.ts +0 -1
- package/lib/cjs/components/TableCell/TableCell.test.d.ts +0 -1
- package/lib/cjs/components/TableHead/TableHead.test.d.ts +0 -1
- package/lib/cjs/components/TableRow/TableRow.test.d.ts +0 -1
- package/lib/cjs/components/Tabs/Tabs.test.d.ts +0 -1
- package/lib/cjs/components/Text/Text.test.d.ts +0 -1
- package/lib/cjs/components/TextAreaField/TextAreaField.test.d.ts +0 -1
- package/lib/cjs/components/TextField/TextField.test.d.ts +0 -1
- package/lib/cjs/components/TimeField/TimeField.test.d.ts +0 -1
- package/lib/cjs/components/TooltipTrigger/TooltipTrigger.test.d.ts +0 -1
- package/lib/cjs/hooks/useAriaLabelWarning/useAriaLabelWarning.test.d.ts +0 -1
- package/lib/cjs/hooks/useCircularLoader/useCircularLoader.test.d.ts +0 -1
- package/lib/cjs/hooks/useComponentToggle/useComponentToggle.test.d.ts +0 -1
- package/lib/cjs/hooks/useCopyToClipboard/useCopyToClipboard.test.d.ts +0 -1
- package/lib/cjs/hooks/useDevelopmentWarning/useDevelopmentWarning.test.d.ts +0 -1
- package/lib/cjs/hooks/useFallbackImage/useFallbackImage.test.d.ts +0 -1
- package/lib/cjs/hooks/useField/useField.test.d.ts +0 -1
- package/lib/cjs/hooks/useGetTheme/useGetTheme.test.d.ts +0 -1
- package/lib/cjs/hooks/useLoadPrev/useLoadPrev.test.d.ts +0 -1
- package/lib/cjs/hooks/useLocalOrForwardRef/useLocalOrForwardRef.test.d.ts +0 -1
- package/lib/cjs/hooks/useModalState/useModalState.test.d.ts +0 -1
- package/lib/cjs/hooks/useMountTransition/useMountTransition.test.d.ts +0 -1
- package/lib/cjs/hooks/useNavBarPress/useNavBarPress.test.d.ts +0 -1
- package/lib/cjs/hooks/useNavBarStyling/useNavBarStyling.test.d.ts +0 -1
- package/lib/cjs/hooks/useOverlappingMenuHoverState/useOverlappingMenuHoverState.test.d.ts +0 -1
- package/lib/cjs/hooks/useOverlayPanelState/useOverlayPanelState.test.d.ts +0 -1
- package/lib/cjs/hooks/useProgressiveState/useProgressiveState.test.d.ts +0 -1
- package/lib/cjs/hooks/usePropWarning/usePropWarning.test.d.ts +0 -1
- package/lib/cjs/hooks/useSliderField/useSliderField.test.d.ts +0 -1
- package/lib/cjs/hooks/useStatusClasses/useStatusClasses.test.d.ts +0 -1
- package/lib/cjs/hooks/useTShirtSize/useTShirtSize.test.d.ts +0 -1
- package/lib/cjs/hooks/useTypeAnimation/useTypeAnimation.test.d.ts +0 -1
- package/lib/cjs/hooks/useTypeAnimationWrapper/useTypeAnimationWrapper.test.d.ts +0 -1
- package/lib/components/AIComponents/Response/Response.test.jsx +0 -191
|
@@ -1,6 +1,16 @@
|
|
|
1
|
+
import _Symbol from "@babel/runtime-corejs3/core-js-stable/symbol";
|
|
2
|
+
import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
|
|
3
|
+
import _Object$create from "@babel/runtime-corejs3/core-js-stable/object/create";
|
|
4
|
+
import _Object$getPrototypeOf from "@babel/runtime-corejs3/core-js-stable/object/get-prototype-of";
|
|
5
|
+
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
|
|
6
|
+
import _Object$setPrototypeOf from "@babel/runtime-corejs3/core-js-stable/object/set-prototype-of";
|
|
7
|
+
import _Promise from "@babel/runtime-corejs3/core-js-stable/promise";
|
|
8
|
+
import _typeof from "@babel/runtime-corejs3/helpers/esm/typeof";
|
|
1
9
|
import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
|
|
10
|
+
import _asyncToGenerator from "@babel/runtime-corejs3/helpers/esm/asyncToGenerator";
|
|
2
11
|
import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
|
3
12
|
import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/slice";
|
|
13
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof _Symbol ? _Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return _Object$defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = _Object$create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = _Object$getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(l); function g(t) { var _context8; _forEachInstanceProperty(_context8 = ["next", "throw", "return"]).call(_context8, function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == _typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i["return"] && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], _forEachInstanceProperty(t).call(t, w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return _Object$setPrototypeOf ? _Object$setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = _Object$create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = _Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { var _context9; if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, _forEachInstanceProperty(_context9 = this.tryEntries).call(_context9, m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+_sliceInstanceProperty(e).call(e, 1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, "catch": function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
4
14
|
import React from 'react';
|
|
5
15
|
import { Item } from 'react-stately';
|
|
6
16
|
import userEvent from '@testing-library/user-event';
|
|
@@ -170,31 +180,54 @@ var getComponentWithSlot = function getComponentWithSlot(props) {
|
|
|
170
180
|
slots: props.slots
|
|
171
181
|
}, ___EmotionJSX(Text, null, "Render me!"))));
|
|
172
182
|
};
|
|
173
|
-
test('button press uses callback', function () {
|
|
174
|
-
var onPress
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
183
|
+
test('button press uses callback', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
184
|
+
var onPress, buttons, selectedItem;
|
|
185
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
186
|
+
while (1) switch (_context.prev = _context.next) {
|
|
187
|
+
case 0:
|
|
188
|
+
onPress = jest.fn();
|
|
189
|
+
getComponent({
|
|
190
|
+
onExpandedChange: onPress
|
|
191
|
+
});
|
|
192
|
+
buttons = screen.getAllByRole('button');
|
|
193
|
+
selectedItem = buttons[0];
|
|
194
|
+
expect(selectedItem).not.toHaveClass('is-pressed');
|
|
195
|
+
expect(onPress).not.toHaveBeenCalled();
|
|
182
196
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
197
|
+
// Hold down the button to see pressed styles
|
|
198
|
+
_context.next = 8;
|
|
199
|
+
return userEvent.click(selectedItem);
|
|
200
|
+
case 8:
|
|
201
|
+
expect(onPress).toHaveBeenCalled();
|
|
202
|
+
case 9:
|
|
203
|
+
case "end":
|
|
204
|
+
return _context.stop();
|
|
205
|
+
}
|
|
206
|
+
}, _callee);
|
|
207
|
+
})));
|
|
208
|
+
test('toggle accordion on mouse click', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
209
|
+
var buttons, selectedItem;
|
|
210
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
211
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
212
|
+
case 0:
|
|
213
|
+
getComponent();
|
|
214
|
+
buttons = screen.getAllByRole('button');
|
|
215
|
+
selectedItem = buttons[0];
|
|
216
|
+
expect(selectedItem).toHaveAttribute('aria-expanded', 'false');
|
|
217
|
+
_context2.next = 6;
|
|
218
|
+
return userEvent.click(selectedItem);
|
|
219
|
+
case 6:
|
|
220
|
+
expect(selectedItem).toHaveAttribute('aria-expanded', 'true');
|
|
221
|
+
_context2.next = 9;
|
|
222
|
+
return userEvent.click(selectedItem);
|
|
223
|
+
case 9:
|
|
224
|
+
expect(selectedItem).toHaveAttribute('aria-expanded', 'false');
|
|
225
|
+
case 10:
|
|
226
|
+
case "end":
|
|
227
|
+
return _context2.stop();
|
|
228
|
+
}
|
|
229
|
+
}, _callee2);
|
|
230
|
+
})));
|
|
198
231
|
test('allows users to open and close accordion item with enter / space key', function () {
|
|
199
232
|
getComponent();
|
|
200
233
|
var buttons = screen.getAllByRole('button');
|
|
@@ -251,34 +284,54 @@ test('allows users to naviagte accordion headers through arrow keys', function (
|
|
|
251
284
|
});
|
|
252
285
|
expect(secondItem).toHaveFocus();
|
|
253
286
|
});
|
|
254
|
-
test('allows users to navigate accordion headers through the tab key', function () {
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
287
|
+
test('allows users to navigate accordion headers through the tab key', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
288
|
+
var buttons, _buttons2, firstItem, secondItem, thirdItem;
|
|
289
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
290
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
291
|
+
case 0:
|
|
292
|
+
getComponent();
|
|
293
|
+
buttons = screen.getAllByRole('button');
|
|
294
|
+
_buttons2 = _slicedToArray(buttons, 3), firstItem = _buttons2[0], secondItem = _buttons2[1], thirdItem = _buttons2[2];
|
|
295
|
+
_context3.next = 5;
|
|
296
|
+
return userEvent.tab();
|
|
297
|
+
case 5:
|
|
298
|
+
expect(firstItem).toHaveFocus();
|
|
299
|
+
_context3.next = 8;
|
|
300
|
+
return userEvent.tab();
|
|
301
|
+
case 8:
|
|
302
|
+
expect(secondItem).toHaveFocus();
|
|
303
|
+
_context3.next = 11;
|
|
304
|
+
return userEvent.tab({
|
|
305
|
+
shift: true
|
|
306
|
+
});
|
|
307
|
+
case 11:
|
|
308
|
+
expect(firstItem).toHaveFocus();
|
|
309
|
+
_context3.next = 14;
|
|
310
|
+
return userEvent.tab();
|
|
311
|
+
case 14:
|
|
312
|
+
expect(secondItem).toHaveFocus();
|
|
313
|
+
_context3.next = 17;
|
|
314
|
+
return userEvent.tab();
|
|
315
|
+
case 17:
|
|
316
|
+
expect(thirdItem).toHaveFocus();
|
|
317
|
+
_context3.next = 20;
|
|
318
|
+
return userEvent.tab();
|
|
319
|
+
case 20:
|
|
320
|
+
expect(firstItem).not.toHaveFocus();
|
|
321
|
+
expect(secondItem).not.toHaveFocus();
|
|
322
|
+
expect(thirdItem).not.toHaveFocus();
|
|
323
|
+
_context3.next = 25;
|
|
324
|
+
return userEvent.tab({
|
|
325
|
+
shift: true
|
|
326
|
+
});
|
|
327
|
+
case 25:
|
|
328
|
+
expect(thirdItem).toHaveFocus();
|
|
329
|
+
case 26:
|
|
330
|
+
case "end":
|
|
331
|
+
return _context3.stop();
|
|
332
|
+
}
|
|
333
|
+
}, _callee3);
|
|
334
|
+
})));
|
|
282
335
|
test('disabled keys prop disables an accordion item', function () {
|
|
283
336
|
getComponent({
|
|
284
337
|
disabledKeys: ['first']
|
|
@@ -302,25 +355,49 @@ test('expanded keys expands an accordion item', function () {
|
|
|
302
355
|
var selectedItem = buttons[0];
|
|
303
356
|
expect(selectedItem).toHaveAttribute('aria-expanded', 'true');
|
|
304
357
|
});
|
|
305
|
-
test('input recives focus in expanded accordion item when click', function () {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
});
|
|
358
|
+
test('input recives focus in expanded accordion item when click', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
359
|
+
var input;
|
|
360
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
361
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
362
|
+
case 0:
|
|
363
|
+
getComponentWithInput({
|
|
364
|
+
expandedKeys: ['second']
|
|
365
|
+
});
|
|
366
|
+
input = screen.getByTestId('testInput');
|
|
367
|
+
expect(input).not.toHaveFocus();
|
|
368
|
+
_context4.next = 5;
|
|
369
|
+
return userEvent.click(input);
|
|
370
|
+
case 5:
|
|
371
|
+
expect(input).toHaveFocus();
|
|
372
|
+
case 6:
|
|
373
|
+
case "end":
|
|
374
|
+
return _context4.stop();
|
|
375
|
+
}
|
|
376
|
+
}, _callee4);
|
|
377
|
+
})));
|
|
378
|
+
test('able to click a textfield that is the rendered child of an accordion', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
379
|
+
var field, input;
|
|
380
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
381
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
382
|
+
case 0:
|
|
383
|
+
getComponent({
|
|
384
|
+
expandedKeys: ['third']
|
|
385
|
+
});
|
|
386
|
+
field = screen.getByTestId('testField');
|
|
387
|
+
input = screen.getByRole('form');
|
|
388
|
+
_context5.next = 5;
|
|
389
|
+
return userEvent.click(input);
|
|
390
|
+
case 5:
|
|
391
|
+
_context5.next = 7;
|
|
392
|
+
return userEvent.type(input, 'banana');
|
|
393
|
+
case 7:
|
|
394
|
+
expect(field).toHaveClass('has-focus-within');
|
|
395
|
+
case 8:
|
|
396
|
+
case "end":
|
|
397
|
+
return _context5.stop();
|
|
398
|
+
}
|
|
399
|
+
}, _callee5);
|
|
400
|
+
})));
|
|
324
401
|
test('Item accepts a data-id and the data-id can be found in the DOM', function () {
|
|
325
402
|
getComponent();
|
|
326
403
|
var buttons = screen.getAllByText('Accordion item');
|
|
@@ -334,34 +411,66 @@ test('items do not automatically expand if wrapped in an open OverlayPanel', fun
|
|
|
334
411
|
var selectedItem = buttons[0];
|
|
335
412
|
expect(selectedItem).not.toHaveAttribute('aria-expanded', 'true');
|
|
336
413
|
});
|
|
337
|
-
test('accordion is compatible with another component that uses an overlay', function () {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
414
|
+
test('accordion is compatible with another component that uses an overlay', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
|
415
|
+
var buttons, popoverButton, selectedItem;
|
|
416
|
+
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
417
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
418
|
+
case 0:
|
|
419
|
+
getComponentWithPopover();
|
|
420
|
+
buttons = screen.getAllByRole('button');
|
|
421
|
+
popoverButton = screen.getByTestId('popoverbutton');
|
|
422
|
+
_context6.next = 5;
|
|
423
|
+
return userEvent.click(popoverButton);
|
|
424
|
+
case 5:
|
|
425
|
+
selectedItem = buttons[0];
|
|
426
|
+
expect(selectedItem).toHaveAttribute('aria-expanded', 'true');
|
|
427
|
+
_context6.next = 9;
|
|
428
|
+
return userEvent.click(selectedItem);
|
|
429
|
+
case 9:
|
|
430
|
+
expect(selectedItem).toHaveAttribute('aria-expanded', 'false');
|
|
431
|
+
_context6.next = 12;
|
|
432
|
+
return userEvent.click(selectedItem);
|
|
433
|
+
case 12:
|
|
434
|
+
expect(selectedItem).toHaveAttribute('aria-expanded', 'true');
|
|
435
|
+
case 13:
|
|
436
|
+
case "end":
|
|
437
|
+
return _context6.stop();
|
|
438
|
+
}
|
|
439
|
+
}, _callee6);
|
|
440
|
+
})));
|
|
441
|
+
test('accordion works if there are multiple, controlled on the same implementation', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
|
|
442
|
+
var buttons, selectedItem, secondSelectedItem;
|
|
443
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
444
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
445
|
+
case 0:
|
|
446
|
+
getComponentWithMultipleAccordion();
|
|
447
|
+
buttons = screen.getAllByRole('button');
|
|
448
|
+
selectedItem = buttons[0];
|
|
449
|
+
secondSelectedItem = buttons[1];
|
|
450
|
+
expect(selectedItem).toHaveAttribute('aria-expanded', 'true');
|
|
451
|
+
_context7.next = 7;
|
|
452
|
+
return userEvent.click(selectedItem);
|
|
453
|
+
case 7:
|
|
454
|
+
expect(selectedItem).toHaveAttribute('aria-expanded', 'false');
|
|
455
|
+
_context7.next = 10;
|
|
456
|
+
return userEvent.click(selectedItem);
|
|
457
|
+
case 10:
|
|
458
|
+
expect(selectedItem).toHaveAttribute('aria-expanded', 'true');
|
|
459
|
+
expect(secondSelectedItem).toHaveAttribute('aria-expanded', 'false');
|
|
460
|
+
_context7.next = 14;
|
|
461
|
+
return userEvent.click(secondSelectedItem);
|
|
462
|
+
case 14:
|
|
463
|
+
expect(secondSelectedItem).toHaveAttribute('aria-expanded', 'true');
|
|
464
|
+
_context7.next = 17;
|
|
465
|
+
return userEvent.click(secondSelectedItem);
|
|
466
|
+
case 17:
|
|
467
|
+
expect(secondSelectedItem).toHaveAttribute('aria-expanded', 'false');
|
|
468
|
+
case 18:
|
|
469
|
+
case "end":
|
|
470
|
+
return _context7.stop();
|
|
471
|
+
}
|
|
472
|
+
}, _callee7);
|
|
473
|
+
})));
|
|
365
474
|
|
|
366
475
|
// get the last char of heading tag and convert to number, 'h1' => 1
|
|
367
476
|
var getLabelHeadingLevel = function getLabelHeadingLevel(labelHeading) {
|
|
@@ -11,8 +11,8 @@ import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
|
|
|
11
11
|
import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
|
|
12
12
|
var _excluded = ["addButtonLabel", "addButtonProps", "defaultValue", "fieldControlWrapperProps", "value", "label", "helperText", "status", "onAdd", "onChange", "onDelete", "renderField", "labelProps", "maxSize", "maxSizeText", "slots"],
|
|
13
13
|
_excluded2 = ["id", "onComponentRender", "fieldValue"];
|
|
14
|
-
function ownKeys(
|
|
15
|
-
function _objectSpread(
|
|
14
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context4 = ownKeys(Object(t))).call(_context4, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
16
|
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/map";
|
|
17
17
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
18
18
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
@@ -11,8 +11,8 @@ import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
|
|
11
11
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
12
12
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
13
13
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
14
|
-
function ownKeys(
|
|
15
|
-
function _objectSpread(
|
|
14
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
16
|
import React from 'react';
|
|
17
17
|
import { OverlayProvider } from 'react-aria';
|
|
18
18
|
import { v4 as uuid } from 'uuid';
|
|
@@ -22,7 +22,7 @@ export var GlobalStyles = function GlobalStyles(_ref2) {
|
|
|
22
22
|
isOnyx = _useGetTheme$themeSta.isOnyx,
|
|
23
23
|
isOnyxDark = _useGetTheme$themeSta.isOnyxDark;
|
|
24
24
|
return ___EmotionJSX(Global, {
|
|
25
|
-
styles: /*#__PURE__*/css("@import url(\"https://use.typekit.net/icz8cni.css\");{}", emotionNormalize, " ", pingitoFont, " ", openSansFont, " *{box-sizing:border-box;}html,body{padding:0;margin:0;background:white;min-height:100%;font-family:", isEndUserTheme && 'pingito, ', " ", isOnyx && 'Open Sans, ', " \"Helvetica Neue\",Helvetica,sans-serif;}.is-disabled{opacity:", isOnyx || isOnyxDark ? 0.65 : 0.5, ";pointer-events:none;}[data-live-announcer]{display:none;}button:focus-visible,[type=\"button\"]:focus-visible,[type=\"reset\"]:focus-visible,[type=\"submit\"]:focus-visible{outline:0;}" + (process.env.NODE_ENV === "production" ? "" : ";label:GlobalStyles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
25
|
+
styles: /*#__PURE__*/css("@import url(\"https://use.typekit.net/icz8cni.css\");{}", emotionNormalize, " ", pingitoFont, " ", openSansFont, " *{box-sizing:border-box;}html,body{padding:0;margin:0;background:white;min-height:100%;font-family:", isEndUserTheme && 'pingito, ', " ", isOnyx && 'Open Sans, ', " \"Helvetica Neue\",Helvetica,sans-serif;}.is-disabled{opacity:", isOnyx || isOnyxDark ? 0.65 : 0.5, ";pointer-events:none;}[data-live-announcer]{display:none;}button:focus-visible,[type=\"button\"]:focus-visible,[type=\"reset\"]:focus-visible,[type=\"submit\"]:focus-visible{outline:0;}" + (process.env.NODE_ENV === "production" ? "" : ";label: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XgsIGlzT255eERhcmsgfSB9ID0gdXNlR2V0VGhlbWUoKTtcbiAgcmV0dXJuIChcbiAgICA8R2xvYmFsXG4gICAgICBzdHlsZXM9e2Nzc2BcbiAgICAgICAgQGltcG9ydCB1cmwoXCJodHRwczovL3VzZS50eXBla2l0Lm5ldC9pY3o4Y25pLmNzc1wiKTtcbiAgICAgICAgJHtlbW90aW9uTm9ybWFsaXplfVxuICAgICAgICAke3BpbmdpdG9Gb250fVxuICAgICAgICAke29wZW5TYW5zRm9udH1cbiAgICAgICAgKiB7XG4gICAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgICAgICAgfVxuICAgICAgICBodG1sLFxuICAgICAgICBib2R5IHtcbiAgICAgICAgICBwYWRkaW5nOiAwO1xuICAgICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgICBiYWNrZ3JvdW5kOiB3aGl0ZTtcbiAgICAgICAgICBtaW4taGVpZ2h0OiAxMDAlO1xuICAgICAgICAgIGZvbnQtZmFtaWx5OiAke2lzRW5kVXNlclRoZW1lICYmICdwaW5naXRvLCAnfSAke2lzT255eCAmJiAnT3BlbiBTYW5zLCAnfSBcIkhlbHZldGljYSBOZXVlXCIsIEhlbHZldGljYSwgc2Fucy1zZXJpZjtcbiAgICAgICAgfVxuICAgICAgICAuaXMtZGlzYWJsZWQge1xuICAgICAgICAgIG9wYWNpdHk6ICR7aXNPbnl4IHx8IGlzT255eERhcmsgPyAwLjY1IDogMC41fTtcbiAgICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICAgICAgfVxuICAgICAgICBbZGF0YS1saXZlLWFubm91bmNlcl0ge1xuICAgICAgICAgIGRpc3BsYXk6IG5vbmU7XG4gICAgICAgIH1cbiAgICAgICAgYnV0dG9uOmZvY3VzLXZpc2libGUsXG4gICAgICAgIFt0eXBlPVwiYnV0dG9uXCJdOmZvY3VzLXZpc2libGUsXG4gICAgICAgIFt0eXBlPVwicmVzZXRcIl06Zm9jdXMtdml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O1xuXG5leHBvcnQgeyBUaGVtZVByb3ZpZGVyIH07XG5leHBvcnQgZGVmYXVsdCBBc3Ryb1Byb3ZpZGVyO1xuIl19 */")
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
28
|
GlobalStyles.propTypes = {
|
|
@@ -79,8 +79,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
79
79
|
styles: "@import url(\"https://use.typekit.net/icz8cni.css\");{}[data-tippy-root]{max-width:calc(100vw - 10px);}"
|
|
80
80
|
} : {
|
|
81
81
|
name: "1385fa1-PageWrapper",
|
|
82
|
-
styles: "@import url(\"https://use.typekit.net/icz8cni.css\");{}[data-tippy-root]{max-width:calc(100vw - 10px);};label:PageWrapper;",
|
|
83
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0FzdHJvUHJvdmlkZXIvQXN0cm9Qcm92aWRlci5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5R21CIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0FzdHJvUHJvdmlkZXIvQXN0cm9Qcm92aWRlci5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBmb3J3YXJkUmVmLCB1c2VNZW1vIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgY3NzLCBHbG9iYWwsIFRoZW1lUHJvdmlkZXIgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgZW1vdGlvbk5vcm1hbGl6ZSBmcm9tICdlbW90aW9uLW5vcm1hbGl6ZSc7XG5pbXBvcnQgUHJvcFR5cGVzIGZyb20gJ3Byb3AtdHlwZXMnO1xuaW1wb3J0IHsgbWVyZ2UgfSBmcm9tICd0aGVtZS11aSc7XG5cbmltcG9ydCB7IG9wZW5TYW5zRm9udCwgcGluZ2l0b0Zv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mF5T2YoUHJvcFR5cGVzLnNoYXBlKHt9KSksXG4gIC8qKiBUaGUgZGVmYXVsdCB0aGVtZSBhcHBsaWVkIHRvIHRoZSBBc3RybyBjb21wb25lbnRzLlxuICAgKiBPdmVycmlkaW5nIHRoaXMgaXMgYW4gYWR2YW5jZWQgdXNlIGNhc2Ugc29cbiAgICogcGxlYXNlIHVuZGVyc3RhbmQgcG90ZW50aWFsIHJlcHJlY3Vzc2lvbnMgYmVmb3JlIGVkaXRpbmcgKi9cbiAgZGVmYXVsdFRoZW1lOiBQcm9wVHlwZXMuc2hhcGUoe30pLFxufTtcblxuZXhwb3J0IHsgVGhlbWVQcm92aWRlciB9O1xuZXhwb3J0IGRlZmF1bHQgQXN0cm9Qcm92aWRlcjtcbiJdfQ== */",
|
|
82
|
+
styles: "@import url(\"https://use.typekit.net/icz8cni.css\");{}[data-tippy-root]{max-width:calc(100vw - 10px);};label:PageWrapper;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvYXN0cm8vc3JjL2NvbXBvbmVudHMvQXN0cm9Qcm92aWRlci9Bc3Ryb1Byb3ZpZGVyLmpzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5R21CIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uL2xpYnMvYXN0cm8vc3JjL2NvbXBvbmVudHMvQXN0cm9Qcm92aWRlci9Bc3Ryb1Byb3ZpZGVyLmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBmb3J3YXJkUmVmLCB1c2VNZW1vIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgY3NzLCBHbG9iYWwsIFRoZW1lUHJvdmlkZXIgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgZW1vdGlvbk5vcm1hbGl6ZSBmcm9tICdlbW90aW9uLW5vcm1hbGl6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fSB0aGVtZT17dGhlbWV9IHsuLi5vdGhlcnN9PlxuICAgICAgPEdsb2JhbFxuICAgICAgICBzdHlsZXM9e2Nzc2BcbiAgICAgICAgICBAaW1wb3J0IHVybChcImh0dHBzOi8vdXNlLnR5cGVraXQubmV0L2ljejhjbmkuY3NzXCIpO1xuXG4gICAgICAgICAgW2RhdGEtdGlwcHktcm9vdF0ge1xuICAgICAgICAgICAgbWF4LXdpZHRoOiBjYWxjKDEwMHZ3IC0gMTBweCk7XG4gICAgICAgICAgfVxuICAgICAgICBgfVxuICAgICAgLz5cbiAgICAgIDxCb3hcbiAgICAgICAgY3NzPXtjc3NgXG4gICAgICAgICAgJHtlbW90aW9uTm9ybWFsaXplfVxuXG4gICAgICAgICAgKiB7XG4gICAgICAgICAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgICAgICAgICAgZm9udC1mYW1pbHk6IFwiSGVsdmV0aWNhIE5ldWVcIiwgSGVsdmV0aWNhLCBzYW5zLXNlcmlmO1xuXG4gICAgICAgICAgICAuaXMtZGlzYWJsZWQge1xuICAgICAgICAgICAgICBvcGFjaXR5OiAwLjU7XG4gICAgICAgICAgICAgIHBvaW50ZXItZXZlbnRzOiBub25lO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgYH1cbiAgICAgICAgey4uLnByb3BzfVxuICAgICAgPlxuICAgICAgICB7Y2hpbGRyZW59XG4gICAgICA8L0JveD5cbiAgICA8L1RoZW1lUHJvdmlkZXI+XG4gICk7XG59KTtcblxuUGFnZVdyYXBwZXIucHJvcFR5cGVzID0ge1xuICAvKiogQXJyYXkgb2YgdGhlbWUgb2JqZWN0cyB3aGljaCB3aWxsIGJlIG1lcmdlZCB3aXRoIHRoZSBkZWZhdWx0IHRoZW1lLlxuICAgKiBJbiB0aGUgY2FzZSBvZiBjbGFzaGVzLCB0aGVzZSB3aWxsIHRha2UgcHJpb3JpdHkuXG4gICAqIFVzZWZ1bCBmb3IgY3VzdG9taXppbmcgdGhlIGRlZmF1bHQgdmFyaWFudHMsIGFkZGluZyBuZXcgb25lcyxcbiAgICogIG9yIG92ZXJyaWRpbmcgb3RoZXIgdGhlbWUgdmFsdWVzLiAqL1xuICB0aGVtZU92ZXJyaWRlczogUHJvcFR5cGVzLmFycmF5T2YoUHJvcFR5cGVzLnNoYXBlKHt9KSksXG4gIC8qKiBUaGUgZGVmYXVsdCB0aGVtZSBhcHBsaWVkIHRvIHRoZSBBc3RybyBjb21wb25lbnRzLlxuICAgKiBPdmVycmlkaW5nIHRoaXMgaXMgYW4gYWR2YW5jZWQgdXNlIGNhc2Ugc29cbiAgICogcGxlYXNlIHVuZGVyc3RhbmQgcG90ZW50aWFsIHJlcHJlY3Vzc2lvbnMgYmVmb3JlIGVkaXRpbmcgKi9cbiAgZGVmYXVsdFRoZW1lOiBQcm9wVHlwZXMuc2hhcGUoe30pLFxufTtcblxuZXhwb3J0IHsgVGhlbWVQcm92aWRlciB9O1xuZXhwb3J0IGRlZmF1bHQgQXN0cm9Qcm92aWRlcjtcbiJdfQ== */",
|
|
84
83
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
85
84
|
};
|
|
86
85
|
export var PageWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
@@ -100,7 +99,7 @@ export var PageWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
100
99
|
}, others), ___EmotionJSX(Global, {
|
|
101
100
|
styles: _ref
|
|
102
101
|
}), ___EmotionJSX(Box, _extends({
|
|
103
|
-
css: /*#__PURE__*/css(emotionNormalize, " *{box-sizing:border-box;font-family:\"Helvetica Neue\",Helvetica,sans-serif;.is-disabled{opacity:0.5;pointer-events:none;}}" + (process.env.NODE_ENV === "production" ? "" : ";label:PageWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
102
|
+
css: /*#__PURE__*/css(emotionNormalize, " *{box-sizing:border-box;font-family:\"Helvetica Neue\",Helvetica,sans-serif;.is-disabled{opacity:0.5;pointer-events:none;}}" + (process.env.NODE_ENV === "production" ? "" : ";label:PageWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvYXN0cm8vc3JjL2NvbXBvbmVudHMvQXN0cm9Qcm92aWRlci9Bc3Ryb1Byb3ZpZGVyLmpzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrSGdCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uL2xpYnMvYXN0cm8vc3JjL2NvbXBvbmVudHMvQXN0cm9Qcm92aWRlci9Bc3Ryb1Byb3ZpZGVyLmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBmb3J3YXJkUmVmLCB1c2VNZW1vIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgY3NzLCBHbG9iYWwsIFRoZW1lUHJvdmlkZXIgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgZW1vdGlvbk5vcm1hbGl6ZSBmcm9tICdlbW90aW9uLW5vcm1hbGl6ZSc7XG5pbXBvcnQgUHJvcFR5cGVzIGZyb20gJ3Byb3AtdHlwZXMnO1xuaW1wb3J0IHsgbWVyZ2UgfSBmcm9tICd0aGVtZS11aSc7XG5cbmltcG9ydCB7IG9wZW5TYW5zRm9udCwgcGluZ2l0b0ZvbnQgfSBmcm9tICcuLi8uLi9mb250cyc7XG5pbXBvcnQgdXNlR2V0VGhlbWUgZnJvbSAnLi4vLi4vaG9va3MvdXNlR2V0VGhlbWUnO1xuaW1wb3J0IGFzdHJvVGhlbWUgZnJvbSAnLi4vLi4vc3R5bGVzL3RoZW1lJztcbmltcG9ydCBCb3ggZnJvbSAnLi4vQm94JztcblxuZXhwb3J0IGNvbnN0IEdsb2JhbFN0eWxlcyA9ICh7IGl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mb3JlIGVkaXRpbmcgKi9cbiAgZGVmYXVsdFRoZW1lOiBQcm9wVHlwZXMuc2hhcGUoe30pLFxufTtcblxuZXhwb3J0IHsgVGhlbWVQcm92aWRlciB9O1xuZXhwb3J0IGRlZmF1bHQgQXN0cm9Qcm92aWRlcjtcbiJdfQ== */")
|
|
104
103
|
}, props), children));
|
|
105
104
|
});
|
|
106
105
|
PageWrapper.propTypes = {
|
|
@@ -10,14 +10,13 @@ import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
|
|
10
10
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
11
11
|
import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
|
|
12
12
|
var _excluded = ["alt", "defaultText", "color", "className", "size", "src", "sx", "children", "isSquare", "isLogo"];
|
|
13
|
-
function ownKeys(
|
|
14
|
-
function _objectSpread(
|
|
13
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
15
|
import React, { forwardRef } from 'react';
|
|
16
16
|
import { Avatar as ThemeUIAvatar, Box } from 'theme-ui';
|
|
17
17
|
import { useStatusClasses } from '../../hooks';
|
|
18
18
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
19
19
|
var Avatar = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
20
|
-
var _useStatusClasses2;
|
|
21
20
|
var _props$alt = props.alt,
|
|
22
21
|
alt = _props$alt === void 0 ? 'Avatar' : _props$alt,
|
|
23
22
|
_props$defaultText = props.defaultText,
|
|
@@ -32,7 +31,7 @@ var Avatar = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
32
31
|
isSquare = props.isSquare,
|
|
33
32
|
isLogo = props.isLogo,
|
|
34
33
|
others = _objectWithoutProperties(props, _excluded);
|
|
35
|
-
var _useStatusClasses = useStatusClasses(className, (
|
|
34
|
+
var _useStatusClasses = useStatusClasses(className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "is-".concat(color), color), "size-".concat(size), size), "font-size-".concat(size), src ? false : size), 'is-square', isSquare), 'is-image', src), 'is-logo', isLogo)),
|
|
36
35
|
classNames = _useStatusClasses.classNames;
|
|
37
36
|
if (src) {
|
|
38
37
|
return ___EmotionJSX(Box, {
|
|
@@ -11,8 +11,8 @@ import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
|
11
11
|
import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
|
|
12
12
|
var _excluded = ["align", "bg", "children", "isUppercase", "label", "sx", "slots", "textColor", "textProps", "variant"];
|
|
13
13
|
import _includesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/includes";
|
|
14
|
-
function ownKeys(
|
|
15
|
-
function _objectSpread(
|
|
14
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
16
|
import React from 'react';
|
|
17
17
|
import { Badge as ThemeUIBadge } from 'theme-ui';
|
|
18
18
|
import { Box, Text } from '../..';
|
|
@@ -7,8 +7,8 @@ import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-st
|
|
|
7
7
|
import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
|
|
8
8
|
import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
|
|
9
9
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
10
|
-
function ownKeys(
|
|
11
|
-
function _objectSpread(
|
|
10
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
12
|
import { focusWithCroppedOutline } from '../Button/Buttons.styles';
|
|
13
13
|
export var baseBadge = {
|
|
14
14
|
cursor: 'default',
|