@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
|
@@ -9,14 +9,12 @@ exports.sizePropTypes = exports.sizeArgTypes = void 0;
|
|
|
9
9
|
var _keys = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/object/keys"));
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
var _tShirtSizes = require("../devUtils/constants/tShirtSizes");
|
|
12
|
-
var sizeArgTypes = {
|
|
12
|
+
var sizeArgTypes = exports.sizeArgTypes = {
|
|
13
13
|
size: {
|
|
14
14
|
control: 'select',
|
|
15
15
|
description: "The size of the icon container. If given a number value, it will be converted to pixels. \n Tshirt sizing is recommended and can be passed to the size prop as \"xxs\", \"xs\", \"sm\" , \"md\" \n rendering 9, 15, 20, and 25 pixel svg containers."
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
|
-
exports.
|
|
19
|
-
var sizePropTypes = {
|
|
18
|
+
var sizePropTypes = exports.sizePropTypes = {
|
|
20
19
|
size: _propTypes["default"].oneOf((0, _keys["default"])(_tShirtSizes.tShirtSizes))
|
|
21
|
-
};
|
|
22
|
-
exports.sizePropTypes = sizePropTypes;
|
|
20
|
+
};
|
|
@@ -15,8 +15,8 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
15
15
|
exports.onPressArgTypes = void 0;
|
|
16
16
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
17
17
|
var _docArgTypes = require("./docArgTypes");
|
|
18
|
-
function ownKeys(
|
|
19
|
-
function _objectSpread(
|
|
18
|
+
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; }
|
|
19
|
+
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) { (0, _defineProperty2["default"])(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; }
|
|
20
20
|
var descriptions = {
|
|
21
21
|
onPress: 'Handler that is called when the press is released over the target. (e: PressEvent) => void',
|
|
22
22
|
onPressChange: 'Handler that is called when the press state changes. (isPressed: boolean) => void',
|
|
@@ -29,7 +29,7 @@ var baseDocSettings = _objectSpread(_objectSpread({}, _docArgTypes.funcArg), {},
|
|
|
29
29
|
category: 'Press Handlers'
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
|
-
var onPressArgTypes = {
|
|
32
|
+
var onPressArgTypes = exports.onPressArgTypes = {
|
|
33
33
|
onPress: _objectSpread({
|
|
34
34
|
description: descriptions.onPress
|
|
35
35
|
}, baseDocSettings),
|
|
@@ -45,5 +45,4 @@ var onPressArgTypes = {
|
|
|
45
45
|
onPressUp: _objectSpread({
|
|
46
46
|
description: descriptions.onPressUp
|
|
47
47
|
}, baseDocSettings)
|
|
48
|
-
};
|
|
49
|
-
exports.onPressArgTypes = onPressArgTypes;
|
|
48
|
+
};
|
|
@@ -19,12 +19,12 @@ var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable
|
|
|
19
19
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
20
20
|
var _statuses = _interopRequireDefault(require("../devUtils/constants/statuses"));
|
|
21
21
|
var _context;
|
|
22
|
-
function ownKeys(
|
|
23
|
-
function _objectSpread(
|
|
22
|
+
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; }
|
|
23
|
+
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) { (0, _defineProperty2["default"])(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; }
|
|
24
24
|
var descriptions = {
|
|
25
25
|
status: 'Determines any status related styling.'
|
|
26
26
|
};
|
|
27
|
-
var statusBaseDocSettings = {
|
|
27
|
+
var statusBaseDocSettings = exports.statusBaseDocSettings = {
|
|
28
28
|
control: {
|
|
29
29
|
type: 'radio',
|
|
30
30
|
options: (0, _values["default"])(_statuses["default"])
|
|
@@ -38,18 +38,14 @@ var statusBaseDocSettings = {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
|
-
exports.
|
|
42
|
-
var statusArgTypes = {
|
|
41
|
+
var statusArgTypes = exports.statusArgTypes = {
|
|
43
42
|
'status': _objectSpread({
|
|
44
43
|
description: descriptions.status
|
|
45
44
|
}, statusBaseDocSettings)
|
|
46
45
|
};
|
|
47
|
-
exports.
|
|
48
|
-
var statusPropTypes = {
|
|
46
|
+
var statusPropTypes = exports.statusPropTypes = {
|
|
49
47
|
status: _propTypes["default"].oneOf((0, _values["default"])(_statuses["default"]))
|
|
50
48
|
};
|
|
51
|
-
exports.
|
|
52
|
-
var statusDefaultProp = {
|
|
49
|
+
var statusDefaultProp = exports.statusDefaultProp = {
|
|
53
50
|
status: _statuses["default"].DEFAULT
|
|
54
|
-
};
|
|
55
|
-
exports.statusDefaultProp = statusDefaultProp;
|
|
51
|
+
};
|
|
@@ -9,7 +9,6 @@ var disabledStyles = {
|
|
|
9
9
|
opacity: 0.5,
|
|
10
10
|
pointerEvents: 'none'
|
|
11
11
|
};
|
|
12
|
-
var getDisabledStyles = function getDisabledStyles(isDisabled) {
|
|
12
|
+
var getDisabledStyles = exports.getDisabledStyles = function getDisabledStyles(isDisabled) {
|
|
13
13
|
return isDisabled ? disabledStyles : {};
|
|
14
|
-
};
|
|
15
|
-
exports.getDisabledStyles = getDisabledStyles;
|
|
14
|
+
};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _typeof = require("@babel/runtime-corejs3/helpers/typeof");
|
|
4
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
5
4
|
var _Symbol = require("@babel/runtime-corejs3/core-js-stable/symbol");
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
6
6
|
var _Object$create = require("@babel/runtime-corejs3/core-js-stable/object/create");
|
|
7
7
|
var _Object$getPrototypeOf = require("@babel/runtime-corejs3/core-js-stable/object/get-prototype-of");
|
|
8
8
|
var _forEachInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
|
|
9
9
|
var _Object$setPrototypeOf = require("@babel/runtime-corejs3/core-js-stable/object/set-prototype-of");
|
|
10
10
|
var _Promise = require("@babel/runtime-corejs3/core-js-stable/promise");
|
|
11
|
-
var _reverseInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/reverse");
|
|
12
11
|
var _sliceInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/slice");
|
|
13
12
|
var _Reflect$construct = require("@babel/runtime-corejs3/core-js-stable/reflect/construct");
|
|
14
13
|
var _Object$keys = require("@babel/runtime-corejs3/core-js-stable/object/keys");
|
|
@@ -29,24 +28,24 @@ var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable
|
|
|
29
28
|
var _filter = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/filter"));
|
|
30
29
|
var _find = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/find"));
|
|
31
30
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
32
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/inherits"));
|
|
33
31
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/possibleConstructorReturn"));
|
|
34
32
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/getPrototypeOf"));
|
|
33
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/inherits"));
|
|
35
34
|
var _wrapNativeSuper2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/wrapNativeSuper"));
|
|
36
35
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/classCallCheck"));
|
|
37
36
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/createClass"));
|
|
38
|
-
function ownKeys(
|
|
39
|
-
function _objectSpread(
|
|
40
|
-
function
|
|
41
|
-
function _isNativeReflectConstruct() {
|
|
42
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = _Object$defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof _Symbol ? _Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return _Object$defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = _Object$create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = _Object$getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(IteratorPrototype); function defineIteratorMethods(prototype) { var _context6; _forEachInstanceProperty(_context6 = ["next", "throw", "return"]).call(_context6, function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], _forEachInstanceProperty(tryLocsList).call(tryLocsList, pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return _Object$setPrototypeOf ? _Object$setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = _Object$create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = _Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return _reverseInstanceProperty(keys).call(keys), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { var _context7; if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, _forEachInstanceProperty(_context7 = this.tryEntries).call(_context7, resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+_sliceInstanceProperty(name).call(name, 1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
37
|
+
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty2(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
38
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context8, _context9; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context8 = ownKeys(Object(t), !0)).call(_context8, function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context9 = ownKeys(Object(t))).call(_context9, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39
|
+
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? _Reflect$construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
40
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
41
|
+
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 _context6; _forEachInstanceProperty(_context6 = ["next", "throw", "return"]).call(_context6, 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 _context7; if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, _forEachInstanceProperty(_context7 = this.tryEntries).call(_context7, 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; }
|
|
43
42
|
/* eslint max-classes-per-file: 0 */
|
|
44
43
|
var FileSystemDirectoryReader = /*#__PURE__*/function () {
|
|
45
44
|
function FileSystemDirectoryReader(entries) {
|
|
46
45
|
(0, _classCallCheck2["default"])(this, FileSystemDirectoryReader);
|
|
47
46
|
this._entries = entries;
|
|
48
47
|
}
|
|
49
|
-
(0, _createClass2["default"])(FileSystemDirectoryReader, [{
|
|
48
|
+
return (0, _createClass2["default"])(FileSystemDirectoryReader, [{
|
|
50
49
|
key: "readEntries",
|
|
51
50
|
value: function readEntries(cb) {
|
|
52
51
|
var entries = this._entries;
|
|
@@ -54,9 +53,8 @@ var FileSystemDirectoryReader = /*#__PURE__*/function () {
|
|
|
54
53
|
cb(entries);
|
|
55
54
|
}
|
|
56
55
|
}]);
|
|
57
|
-
return FileSystemDirectoryReader;
|
|
58
56
|
}();
|
|
59
|
-
var FileSystemDirectoryEntry = /*#__PURE__*/function () {
|
|
57
|
+
var FileSystemDirectoryEntry = exports.FileSystemDirectoryEntry = /*#__PURE__*/function () {
|
|
60
58
|
function FileSystemDirectoryEntry(name, entries) {
|
|
61
59
|
(0, _classCallCheck2["default"])(this, FileSystemDirectoryEntry);
|
|
62
60
|
this.isFile = false;
|
|
@@ -64,16 +62,14 @@ var FileSystemDirectoryEntry = /*#__PURE__*/function () {
|
|
|
64
62
|
this.name = name;
|
|
65
63
|
this._entries = entries;
|
|
66
64
|
}
|
|
67
|
-
(0, _createClass2["default"])(FileSystemDirectoryEntry, [{
|
|
65
|
+
return (0, _createClass2["default"])(FileSystemDirectoryEntry, [{
|
|
68
66
|
key: "createReader",
|
|
69
67
|
value: function createReader() {
|
|
70
68
|
return new FileSystemDirectoryReader(this._entries);
|
|
71
69
|
}
|
|
72
70
|
}]);
|
|
73
|
-
return FileSystemDirectoryEntry;
|
|
74
71
|
}();
|
|
75
|
-
exports.
|
|
76
|
-
var FileSystemFileEntry = /*#__PURE__*/function () {
|
|
72
|
+
var FileSystemFileEntry = exports.FileSystemFileEntry = /*#__PURE__*/function () {
|
|
77
73
|
function FileSystemFileEntry(file) {
|
|
78
74
|
(0, _classCallCheck2["default"])(this, FileSystemFileEntry);
|
|
79
75
|
this.isFile = true;
|
|
@@ -81,16 +77,14 @@ var FileSystemFileEntry = /*#__PURE__*/function () {
|
|
|
81
77
|
this.name = file.name;
|
|
82
78
|
this._file = file;
|
|
83
79
|
}
|
|
84
|
-
(0, _createClass2["default"])(FileSystemFileEntry, [{
|
|
80
|
+
return (0, _createClass2["default"])(FileSystemFileEntry, [{
|
|
85
81
|
key: "file",
|
|
86
82
|
value: function file(cb) {
|
|
87
83
|
cb(this._file);
|
|
88
84
|
}
|
|
89
85
|
}]);
|
|
90
|
-
return FileSystemFileEntry;
|
|
91
86
|
}();
|
|
92
|
-
exports.
|
|
93
|
-
var DataTransferItem = /*#__PURE__*/function () {
|
|
87
|
+
var DataTransferItem = exports.DataTransferItem = /*#__PURE__*/function () {
|
|
94
88
|
function DataTransferItem(type, data) {
|
|
95
89
|
var kind = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'string';
|
|
96
90
|
(0, _classCallCheck2["default"])(this, DataTransferItem);
|
|
@@ -98,7 +92,7 @@ var DataTransferItem = /*#__PURE__*/function () {
|
|
|
98
92
|
this.type = type;
|
|
99
93
|
this._data = data;
|
|
100
94
|
}
|
|
101
|
-
(0, _createClass2["default"])(DataTransferItem, [{
|
|
95
|
+
return (0, _createClass2["default"])(DataTransferItem, [{
|
|
102
96
|
key: "getAsString",
|
|
103
97
|
value: function getAsString(callback) {
|
|
104
98
|
if (this.kind === 'string') {
|
|
@@ -122,16 +116,14 @@ var DataTransferItem = /*#__PURE__*/function () {
|
|
|
122
116
|
return null;
|
|
123
117
|
}
|
|
124
118
|
}]);
|
|
125
|
-
return DataTransferItem;
|
|
126
119
|
}();
|
|
127
|
-
exports.
|
|
128
|
-
var DataTransferItemList = /*#__PURE__*/function (_Symbol$iterator) {
|
|
120
|
+
var DataTransferItemList = exports.DataTransferItemList = /*#__PURE__*/function () {
|
|
129
121
|
function DataTransferItemList() {
|
|
130
122
|
var items = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
131
123
|
(0, _classCallCheck2["default"])(this, DataTransferItemList);
|
|
132
124
|
this._items = items;
|
|
133
125
|
}
|
|
134
|
-
(0, _createClass2["default"])(DataTransferItemList, [{
|
|
126
|
+
return (0, _createClass2["default"])(DataTransferItemList, [{
|
|
135
127
|
key: "add",
|
|
136
128
|
value: function add(data, type) {
|
|
137
129
|
if (data instanceof File) {
|
|
@@ -144,7 +136,7 @@ var DataTransferItemList = /*#__PURE__*/function (_Symbol$iterator) {
|
|
|
144
136
|
}
|
|
145
137
|
}
|
|
146
138
|
}, {
|
|
147
|
-
key:
|
|
139
|
+
key: _iterator["default"],
|
|
148
140
|
value: /*#__PURE__*/_regeneratorRuntime().mark(function value() {
|
|
149
141
|
return _regeneratorRuntime().wrap(function value$(_context) {
|
|
150
142
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -157,17 +149,15 @@ var DataTransferItemList = /*#__PURE__*/function (_Symbol$iterator) {
|
|
|
157
149
|
}, value, this);
|
|
158
150
|
})
|
|
159
151
|
}]);
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
exports.DataTransferItemList = DataTransferItemList;
|
|
163
|
-
var DataTransfer = /*#__PURE__*/function () {
|
|
152
|
+
}();
|
|
153
|
+
var DataTransfer = exports.DataTransfer = /*#__PURE__*/function () {
|
|
164
154
|
function DataTransfer() {
|
|
165
155
|
(0, _classCallCheck2["default"])(this, DataTransfer);
|
|
166
156
|
this.items = new DataTransferItemList();
|
|
167
157
|
this.dropEffect = 'none';
|
|
168
158
|
this.effectAllowed = 'all';
|
|
169
159
|
}
|
|
170
|
-
(0, _createClass2["default"])(DataTransfer, [{
|
|
160
|
+
return (0, _createClass2["default"])(DataTransfer, [{
|
|
171
161
|
key: "setDragImage",
|
|
172
162
|
value: function setDragImage(dragImage, x, y) {
|
|
173
163
|
this._dragImage = {
|
|
@@ -210,23 +200,19 @@ var DataTransfer = /*#__PURE__*/function () {
|
|
|
210
200
|
})) === null || _this$items$_items$fi === void 0 ? void 0 : _this$items$_items$fi._data;
|
|
211
201
|
}
|
|
212
202
|
}]);
|
|
213
|
-
return DataTransfer;
|
|
214
203
|
}();
|
|
215
|
-
exports.
|
|
216
|
-
var DragEvent = /*#__PURE__*/function (_MouseEvent) {
|
|
217
|
-
(0, _inherits2["default"])(DragEvent, _MouseEvent);
|
|
218
|
-
var _super = _createSuper(DragEvent);
|
|
204
|
+
var DragEvent = exports.DragEvent = /*#__PURE__*/function (_MouseEvent) {
|
|
219
205
|
function DragEvent(type, init) {
|
|
220
206
|
var _this;
|
|
221
207
|
(0, _classCallCheck2["default"])(this, DragEvent);
|
|
222
|
-
_this =
|
|
208
|
+
_this = _callSuper(this, DragEvent, [type, _objectSpread(_objectSpread({}, init), {}, {
|
|
223
209
|
bubbles: true,
|
|
224
210
|
cancelable: true,
|
|
225
211
|
composed: true
|
|
226
|
-
}));
|
|
212
|
+
})]);
|
|
227
213
|
_this.dataTransfer = init.dataTransfer;
|
|
228
214
|
return _this;
|
|
229
215
|
}
|
|
216
|
+
(0, _inherits2["default"])(DragEvent, _MouseEvent);
|
|
230
217
|
return (0, _createClass2["default"])(DragEvent);
|
|
231
|
-
}(
|
|
232
|
-
exports.DragEvent = DragEvent;
|
|
218
|
+
}(/*#__PURE__*/(0, _wrapNativeSuper2["default"])(MouseEvent));
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _typeof = require("@babel/runtime-corejs3/helpers/typeof");
|
|
4
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
5
4
|
var _Symbol = require("@babel/runtime-corejs3/core-js-stable/symbol");
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
6
6
|
var _Object$create = require("@babel/runtime-corejs3/core-js-stable/object/create");
|
|
7
7
|
var _Object$getPrototypeOf = require("@babel/runtime-corejs3/core-js-stable/object/get-prototype-of");
|
|
8
8
|
var _forEachInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
|
|
9
9
|
var _Object$setPrototypeOf = require("@babel/runtime-corejs3/core-js-stable/object/set-prototype-of");
|
|
10
10
|
var _Promise = require("@babel/runtime-corejs3/core-js-stable/promise");
|
|
11
|
-
var _reverseInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/reverse");
|
|
12
11
|
var _sliceInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/slice");
|
|
13
12
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
14
13
|
_Object$defineProperty(exports, "__esModule", {
|
|
@@ -17,16 +16,16 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
17
16
|
exports["default"] = void 0;
|
|
18
17
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/asyncToGenerator"));
|
|
19
18
|
var _jestAxe = require("jest-axe");
|
|
20
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = _Object$defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof _Symbol ? _Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return _Object$defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = _Object$create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = _Object$getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(IteratorPrototype); function defineIteratorMethods(prototype) { var _context3; _forEachInstanceProperty(_context3 = ["next", "throw", "return"]).call(_context3, function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], _forEachInstanceProperty(tryLocsList).call(tryLocsList, pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return _Object$setPrototypeOf ? _Object$setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = _Object$create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = _Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return _reverseInstanceProperty(keys).call(keys), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { var _context4; if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, _forEachInstanceProperty(_context4 = this.tryEntries).call(_context4, resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+_sliceInstanceProperty(name).call(name, 1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
19
|
+
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 _context3; _forEachInstanceProperty(_context3 = ["next", "throw", "return"]).call(_context3, 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 _context4; if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, _forEachInstanceProperty(_context4 = this.tryEntries).call(_context4, 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; }
|
|
21
20
|
var axeTest = /*#__PURE__*/function () {
|
|
22
|
-
var _ref = (0, _asyncToGenerator2["default"])(
|
|
21
|
+
var _ref = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(getComponent) {
|
|
23
22
|
var rules,
|
|
24
23
|
_args2 = arguments;
|
|
25
24
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
26
25
|
while (1) switch (_context2.prev = _context2.next) {
|
|
27
26
|
case 0:
|
|
28
27
|
rules = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : {};
|
|
29
|
-
test('should have no accessibility violations', /*#__PURE__*/(0, _asyncToGenerator2["default"])(
|
|
28
|
+
test('should have no accessibility violations', /*#__PURE__*/(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
30
29
|
var _getComponent, container, results;
|
|
31
30
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
32
31
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -54,5 +53,4 @@ var axeTest = /*#__PURE__*/function () {
|
|
|
54
53
|
return _ref.apply(this, arguments);
|
|
55
54
|
};
|
|
56
55
|
}();
|
|
57
|
-
var _default = axeTest;
|
|
58
|
-
exports["default"] = _default;
|
|
56
|
+
var _default = exports["default"] = axeTest;
|
|
@@ -5,7 +5,7 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports["default"] = void 0;
|
|
8
|
-
var _default = {
|
|
8
|
+
var _default = exports["default"] = {
|
|
9
9
|
fontWeights: {
|
|
10
10
|
0: 400,
|
|
11
11
|
1: 500
|
|
@@ -24,5 +24,4 @@ var _default = {
|
|
|
24
24
|
fontSize: 'lg'
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
};
|
|
28
|
-
exports["default"] = _default;
|
|
27
|
+
};
|
|
@@ -35,16 +35,15 @@ _forEachInstanceProperty(_context3 = _Object$keys(_react3)).call(_context3, func
|
|
|
35
35
|
});
|
|
36
36
|
var _themeUi = require("theme-ui");
|
|
37
37
|
var _theme = _interopRequireDefault(require("../../styles/theme"));
|
|
38
|
-
function ownKeys(
|
|
39
|
-
function _objectSpread(
|
|
38
|
+
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; }
|
|
39
|
+
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) { (0, _defineProperty2["default"])(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; }
|
|
40
40
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
41
41
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
42
42
|
name: "1n30otp",
|
|
43
43
|
styles: ".is-disabled{opacity:0.5;pointer-events:none;}"
|
|
44
44
|
} : {
|
|
45
45
|
name: "zxbwtf-GlobalTestStyles",
|
|
46
|
-
styles: ".is-disabled{opacity:0.5;pointer-events:none;};label:GlobalTestStyles;",
|
|
47
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy91dGlscy90ZXN0VXRpbHMvdGVzdFdyYXBwZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVVTIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy91dGlscy90ZXN0VXRpbHMvdGVzdFdyYXBwZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0LCB7IFJlYWN0Tm9kZSB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGNzcywgR2xvYmFsLCBUaGVtZSB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcbmltcG9ydCB7IHJlbmRlciwgUmVuZGVyT3B0aW9ucyB9IGZyb20gJ0B0ZXN0aW5nLWxpYnJhcnkvcmVhY3QnO1xuaW1wb3J0IHsgVGhlbWVQcm92aWRlciB9IGZyb20gJ3RoZW1lLXVpJztcblxuaW1wb3J0IHRoZW1lIGZyb20gJy4uLy4uL3N0eWxlcy90aGVtZSc7XG5cbmNvbnN0IEdsb2JhbFRlc3RTdHlsZXM6IFJlYWN0LkZDID0gKCkgPT4gKFxuICA8R2xvYmFsXG4gICAgc3R5bGVzPXtcbiAgICAgIGNzc2BcbiAgICAgICAgLmlzLWRpc2FibGVkIHtcbiAgICAgICAgICBvcGFjaXR5OiAwLjU7XG4gICAgICAgICAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gICAgICAgIH1cbiAgICAgIGBcbiAgICB9XG4gIC8+XG4pO1xuXG4vKipcbiAqIFRPRE86IENoYW5nZSBKZXN0IGNvbmZpZyBzbyB0aGlzIGRvZXNuJ3QgaGF2ZSB0byBiZSBpbXBvcnRlZCByZWxhdGl2ZWx5Li4uXG4gKiBodHRwczovL3Rlc3RpbmctbGlicmFyeS5jb20vZG9jcy9yZWFjdC10ZXN0aW5nLWxpYnJhcnkvc2V0dXAvI2NvbmZpZ3VyaW5nLWplc3Qtd2l0aC10ZXN0LXV0aWxzXG4gKlxuICogVXNlIHRoaXMgd3JhcHBlciB3aGVuIHRlc3RpbmcgdGhlIHRoZW1lIG91dHB1dCBmb3JcbiAqIGEgY29tcG9uZW50IHVzaW5nIC50b0hhdmVTdHlsZSBvciAudG9IYXZlU3R5bGVSdWxlXG4gKlxuICogU2VlIEJ1dHRvbi50ZXN0LmpzIGFzIGFuIGV4YW1wbGUgZm9yIGhvdyB0byBhcHBseSBjb25kaXRpb25hbCBjbGFzc2VzIGFuZCB0aGVuIHRlc3RpbmcgdGhhdFxuICogdGhvc2UgY2xhc3NlcyBoYXZlIHRoZSBhcHByb3ByaWF0ZSBzdHlsZXMgdGllZCB0byB0aGVtIGluIHRoZSB0aGVtZS5cbiAqL1xuXG5pbnRlcmZhY2UgV3JhcHBlclByb3BzIHtcbiAgY2hpbGRyZW46IFJlYWN0Tm9kZTtcbiAgcHJvdmlkZXJUaGVtZTogVGhlbWU7XG59XG5cbmNvbnN0IFdyYXBwZXI6IFJlYWN0LkZDPFdyYXBwZXJQcm9wcz4gPSAoeyBjaGlsZHJlbiwgcHJvdmlkZXJUaGVtZSB9KSA9PiAoXG4gIDxUaGVtZVByb3ZpZGVyIHRoZW1lPXtwcm92aWRlclRoZW1lfT5cbiAgICA8R2xvYmFsVGVzdFN0eWxlcyAvPlxuICAgIHtjaGlsZHJlbn1cbiAgPC9UaGVtZVByb3ZpZGVyPlxuKTtcblxuY29uc3QgY3VzdG9tUmVuZGVyID0gKHVpOiBSZWFjdC5SZWFjdEVsZW1lbnQsIG9wdGlvbnM/OiB7cHJvdmlkZXJUaGVtZTogVGhlbWV9KSA9PiByZW5kZXIodWksXG4gIHsgd3JhcHBlcjogcHJvcHMgPT4gKFxuICAgIDxXcmFwcGVyXG4gICAgICBwcm92aWRlclRoZW1lPXt0aGVtZX1cbiAgICAgIHsuLi5wcm9wc31cbiAgICAgIHsuLi5vcHRpb25zfVxuICAgIC8+XG4gICksXG4gIC4uLm9wdGlvbnMgfSxcbik7XG5cbi8vIHJlLWV4cG9ydCBldmVyeXRoaW5nIC1cbmV4cG9ydCAqIGZyb20gJ0B0ZXN0aW5nLWxpYnJhcnkvcmVhY3QnO1xuXG4vLyBvdmVycmlkZSByZW5kZXIgbWV0aG9kXG5leHBvcnQgeyBjdXN0b21SZW5kZXIgYXMgcmVuZGVyIH07XG4iXX0= */",
|
|
46
|
+
styles: ".is-disabled{opacity:0.5;pointer-events:none;};label:GlobalTestStyles;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvYXN0cm8vc3JjL3V0aWxzL3Rlc3RVdGlscy90ZXN0V3JhcHBlci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVVMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9hc3Ryby9zcmMvdXRpbHMvdGVzdFV0aWxzL3Rlc3RXcmFwcGVyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBjc3MsIEdsb2JhbCwgVGhlbWUgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW5kZXIsIFJlbmRlck9wdGlvbnMgfSBmcm9tICdAdGVzdGluZy1saWJyYXJ5L3JlYWN0JztcbmltcG9ydCB7IFRoZW1lUHJvdmlkZXIgfSBmcm9tICd0aGVtZS11aSc7XG5cbmltcG9ydCB0aGVtZSBmcm9tICcuLi8uLi9zdHlsZXMvdGhlbWUnO1xuXG5jb25zdCBHbG9iYWxUZXN0U3R5bGVzOiBSZWFjdC5GQyA9ICgpID0+IChcbiAgPEdsb2JhbFxuICAgIHN0eWxlcz17XG4gICAgICBjc3NgXG4gICAgICAgIC5pcy1kaXNhYmxlZCB7XG4gICAgICAgICAgb3BhY2l0eTogMC41O1xuICAgICAgICAgIHBvaW50ZXItZXZlbnRzOiBub25lO1xuICAgICAgICB9XG4gICAgICBgXG4gICAgfVxuICAvPlxuKTtcblxuLyoqXG4gKiBUT0RPOiBDaGFuZ2UgSmVzdCBjb25maWcgc28gdGhpcyBkb2Vzbid0IGhhdmUgdG8gYmUgaW1wb3J0ZWQgcmVsYXRpdmVseS4uLlxuICogaHR0cHM6Ly90ZXN0aW5nLWxpYnJhcnkuY29tL2RvY3MvcmVhY3QtdGVzdGluZy1saWJyYXJ5L3NldHVwLyNjb25maWd1cmluZy1qZXN0LXdpdGgtdGVzdC11dGlsc1xuICpcbiAqIFVzZSB0aGlzIHdyYXBwZXIgd2hlbiB0ZXN0aW5nIHRoZSB0aGVtZSBvdXRwdXQgZm9yXG4gKiBhIGNvbXBvbmVudCB1c2luZyAudG9IYXZlU3R5bGUgb3IgLnRvSGF2ZVN0eWxlUnVsZVxuICpcbiAqIFNlZSBCdXR0b24udGVzdC5qcyBhcyBhbiBleGFtcGxlIGZvciBob3cgdG8gYXBwbHkgY29uZGl0aW9uYWwgY2xhc3NlcyBhbmQgdGhlbiB0ZXN0aW5nIHRoYXRcbiAqIHRob3NlIGNsYXNzZXMgaGF2ZSB0aGUgYXBwcm9wcmlhdGUgc3R5bGVzIHRpZWQgdG8gdGhlbSBpbiB0aGUgdGhlbWUuXG4gKi9cblxuaW50ZXJmYWNlIFdyYXBwZXJQcm9wcyB7XG4gIGNoaWxkcmVuOiBSZWFjdE5vZGU7XG4gIHByb3ZpZGVyVGhlbWU6IFRoZW1lO1xufVxuXG5jb25zdCBXcmFwcGVyOiBSZWFjdC5GQzxXcmFwcGVyUHJvcHM+ID0gKHsgY2hpbGRyZW4sIHByb3ZpZGVyVGhlbWUgfSkgPT4gKFxuICA8VGhlbWVQcm92aWRlciB0aGVtZT17cHJvdmlkZXJUaGVtZX0+XG4gICAgPEdsb2JhbFRlc3RTdHlsZXMgLz5cbiAgICB7Y2hpbGRyZW59XG4gIDwvVGhlbWVQcm92aWRlcj5cbik7XG5cbmNvbnN0IGN1c3RvbVJlbmRlciA9ICh1aTogUmVhY3QuUmVhY3RFbGVtZW50LCBvcHRpb25zPzoge3Byb3ZpZGVyVGhlbWU6IFRoZW1lfSkgPT4gcmVuZGVyKHVpLFxuICB7IHdyYXBwZXI6IHByb3BzID0+IChcbiAgICA8V3JhcHBlclxuICAgICAgcHJvdmlkZXJUaGVtZT17dGhlbWV9XG4gICAgICB7Li4ucHJvcHN9XG4gICAgICB7Li4ub3B0aW9uc31cbiAgICAvPlxuICApLFxuICAuLi5vcHRpb25zIH0sXG4pO1xuXG4vLyByZS1leHBvcnQgZXZlcnl0aGluZyAtXG5leHBvcnQgKiBmcm9tICdAdGVzdGluZy1saWJyYXJ5L3JlYWN0JztcblxuLy8gb3ZlcnJpZGUgcmVuZGVyIG1ldGhvZFxuZXhwb3J0IHsgY3VzdG9tUmVuZGVyIGFzIHJlbmRlciB9O1xuIl19 */",
|
|
48
47
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
49
48
|
};
|
|
50
49
|
var GlobalTestStyles = function GlobalTestStyles() {
|
|
@@ -71,7 +70,7 @@ var Wrapper = function Wrapper(_ref2) {
|
|
|
71
70
|
theme: providerTheme
|
|
72
71
|
}, (0, _react2.jsx)(GlobalTestStyles, null), children);
|
|
73
72
|
};
|
|
74
|
-
var customRender = function customRender(ui, options) {
|
|
73
|
+
var customRender = exports.render = function customRender(ui, options) {
|
|
75
74
|
return (0, _react3.render)(ui, _objectSpread({
|
|
76
75
|
wrapper: function wrapper(props) {
|
|
77
76
|
return (0, _react2.jsx)(Wrapper, (0, _extends2["default"])({
|
|
@@ -83,5 +82,4 @@ var customRender = function customRender(ui, options) {
|
|
|
83
82
|
|
|
84
83
|
// re-export everything -
|
|
85
84
|
|
|
86
|
-
// override render method
|
|
87
|
-
exports.render = customRender;
|
|
85
|
+
// override render method
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _typeof = require("@babel/runtime-corejs3/helpers/typeof");
|
|
4
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
5
4
|
var _Symbol = require("@babel/runtime-corejs3/core-js-stable/symbol");
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
6
6
|
var _Object$create = require("@babel/runtime-corejs3/core-js-stable/object/create");
|
|
7
7
|
var _Object$getPrototypeOf = require("@babel/runtime-corejs3/core-js-stable/object/get-prototype-of");
|
|
8
8
|
var _forEachInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
|
|
9
9
|
var _Object$setPrototypeOf = require("@babel/runtime-corejs3/core-js-stable/object/set-prototype-of");
|
|
10
10
|
var _Promise = require("@babel/runtime-corejs3/core-js-stable/promise");
|
|
11
|
-
var _reverseInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/reverse");
|
|
12
11
|
var _sliceInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/slice");
|
|
13
12
|
var _WeakMap = require("@babel/runtime-corejs3/core-js-stable/weak-map");
|
|
14
13
|
var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
|
|
@@ -23,9 +22,8 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
23
22
|
var _react2 = require("@testing-library/react");
|
|
24
23
|
var _jestAxe = require("jest-axe");
|
|
25
24
|
var _react3 = require("@emotion/react");
|
|
26
|
-
function
|
|
27
|
-
function
|
|
28
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = _Object$defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof _Symbol ? _Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return _Object$defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = _Object$create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = _Object$getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(IteratorPrototype); function defineIteratorMethods(prototype) { var _context3; _forEachInstanceProperty(_context3 = ["next", "throw", "return"]).call(_context3, function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], _forEachInstanceProperty(tryLocsList).call(tryLocsList, pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return _Object$setPrototypeOf ? _Object$setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = _Object$create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = _Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return _reverseInstanceProperty(keys).call(keys), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { var _context4; if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, _forEachInstanceProperty(_context4 = this.tryEntries).call(_context4, resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+_sliceInstanceProperty(name).call(name, 1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
25
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof _WeakMap) var r = new _WeakMap(), n = new _WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = _Object$defineProperty) && _Object$getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
26
|
+
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 _context3; _forEachInstanceProperty(_context3 = ["next", "throw", "return"]).call(_context3, 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 _context4; if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, _forEachInstanceProperty(_context4 = this.tryEntries).call(_context4, 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; }
|
|
29
27
|
var HAS_REF = 'ref';
|
|
30
28
|
var ComponentWithRef = function ComponentWithRef(_ref) {
|
|
31
29
|
var renderComponent = _ref.renderComponent;
|
|
@@ -42,15 +40,15 @@ var ComponentWithRef = function ComponentWithRef(_ref) {
|
|
|
42
40
|
ref: ref
|
|
43
41
|
}), state && HAS_REF);
|
|
44
42
|
};
|
|
45
|
-
var universalComponentTests = /*#__PURE__*/function () {
|
|
46
|
-
var _ref3 = (0, _asyncToGenerator2["default"])(
|
|
43
|
+
var universalComponentTests = exports.universalComponentTests = /*#__PURE__*/function () {
|
|
44
|
+
var _ref3 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref2) {
|
|
47
45
|
var renderComponent, _ref2$rules, rules;
|
|
48
46
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
49
47
|
while (1) switch (_context2.prev = _context2.next) {
|
|
50
48
|
case 0:
|
|
51
49
|
renderComponent = _ref2.renderComponent, _ref2$rules = _ref2.rules, rules = _ref2$rules === void 0 ? {} : _ref2$rules;
|
|
52
50
|
describe('Universal Component Tests', function () {
|
|
53
|
-
test('should have no accessibility violations', /*#__PURE__*/(0, _asyncToGenerator2["default"])(
|
|
51
|
+
test('should have no accessibility violations', /*#__PURE__*/(0, _asyncToGenerator2["default"])(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
54
52
|
var _render, container, results;
|
|
55
53
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
56
54
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -87,5 +85,4 @@ var universalComponentTests = /*#__PURE__*/function () {
|
|
|
87
85
|
return function universalComponentTests(_x) {
|
|
88
86
|
return _ref3.apply(this, arguments);
|
|
89
87
|
};
|
|
90
|
-
}();
|
|
91
|
-
exports.universalComponentTests = universalComponentTests;
|
|
88
|
+
}();
|