@patternfly/react-core 4.206.4 → 4.207.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/CHANGELOG.md +27 -0
- package/dist/esm/components/CodeBlock/CodeBlockCode.d.ts +4 -0
- package/dist/esm/components/CodeBlock/CodeBlockCode.d.ts.map +1 -1
- package/dist/esm/components/CodeBlock/CodeBlockCode.js +3 -3
- package/dist/esm/components/CodeBlock/CodeBlockCode.js.map +1 -1
- package/dist/js/components/CodeBlock/CodeBlockCode.d.ts +4 -0
- package/dist/js/components/CodeBlock/CodeBlockCode.d.ts.map +1 -1
- package/dist/js/components/CodeBlock/CodeBlockCode.js +3 -3
- package/dist/js/components/CodeBlock/CodeBlockCode.js.map +1 -1
- package/dist/umd/react-core.js +3 -3
- package/dist/umd/react-core.min.css +69 -69
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +5 -5
- package/src/components/AboutModal/__tests__/AboutModal.test.tsx +2 -2
- package/src/components/AboutModal/__tests__/AboutModalBox.test.tsx +2 -2
- package/src/components/AboutModal/__tests__/AboutModalBoxBrand.test.tsx +2 -2
- package/src/components/AboutModal/__tests__/AboutModalBoxCloseButton.test.tsx +6 -6
- package/src/components/AboutModal/__tests__/AboutModalBoxContent.test.tsx +2 -2
- package/src/components/AboutModal/__tests__/AboutModalBoxHeader.test.tsx +2 -2
- package/src/components/AboutModal/__tests__/AboutModalBoxHero.test.tsx +2 -2
- package/src/components/AboutModal/__tests__/AboutModalContainer.test.tsx +9 -7
- package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBox.test.tsx.snap +2 -2
- package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxBrand.test.tsx.snap +2 -2
- package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxCloseButton.test.tsx.snap +6 -6
- package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxContent.test.tsx.snap +2 -2
- package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxHeader.test.tsx.snap +2 -2
- package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxHero.test.tsx.snap +2 -2
- package/src/components/AboutModal/__tests__/__snapshots__/AboutModalContainer.test.tsx.snap +8 -4
- package/src/components/Accordion/__tests__/Accordion.test.tsx +16 -17
- package/src/components/Accordion/__tests__/Generated/AccordionContent.test.tsx +2 -2
- package/src/components/Accordion/__tests__/Generated/AccordionItem.test.tsx +2 -2
- package/src/components/Accordion/__tests__/Generated/AccordionToggle.test.tsx +2 -2
- package/src/components/Accordion/__tests__/Generated/__snapshots__/AccordionContent.test.tsx.snap +2 -2
- package/src/components/Accordion/__tests__/Generated/__snapshots__/AccordionItem.test.tsx.snap +2 -2
- package/src/components/Accordion/__tests__/Generated/__snapshots__/AccordionToggle.test.tsx.snap +2 -2
- package/src/components/Accordion/__tests__/__snapshots__/Accordion.test.tsx.snap +10 -10
- package/src/components/ActionList/__tests__/ActionList.test.tsx +4 -4
- package/src/components/ActionList/__tests__/ActionListGroup.test.tsx +2 -2
- package/src/components/ActionList/__tests__/ActionListItem.test.tsx +2 -2
- package/src/components/ActionList/__tests__/__snapshots__/ActionList.test.tsx.snap +4 -4
- package/src/components/ActionList/__tests__/__snapshots__/ActionListGroup.test.tsx.snap +2 -2
- package/src/components/ActionList/__tests__/__snapshots__/ActionListItem.test.tsx.snap +2 -2
- package/src/components/Alert/__tests__/Alert.test.tsx +28 -27
- package/src/components/Alert/__tests__/Generated/AlertActionCloseButton.test.tsx +2 -2
- package/src/components/Alert/__tests__/Generated/AlertActionLink.test.tsx +2 -2
- package/src/components/Alert/__tests__/Generated/AlertIcon.test.tsx +2 -2
- package/src/components/Alert/__tests__/Generated/__snapshots__/AlertActionCloseButton.test.tsx.snap +2 -2
- package/src/components/Alert/__tests__/Generated/__snapshots__/AlertActionLink.test.tsx.snap +2 -2
- package/src/components/Alert/__tests__/Generated/__snapshots__/AlertIcon.test.tsx.snap +2 -2
- package/src/components/Alert/__tests__/__snapshots__/Alert.test.tsx.snap +100 -110
- package/src/components/AlertGroup/__tests__/AlertGroup.test.tsx +6 -7
- package/src/components/AlertGroup/__tests__/Generated/AlertGroup.test.tsx +2 -2
- package/src/components/AlertGroup/__tests__/Generated/AlertGroupInline.test.tsx +2 -2
- package/src/components/AlertGroup/__tests__/Generated/__snapshots__/AlertGroup.test.tsx.snap +1 -1
- package/src/components/AlertGroup/__tests__/Generated/__snapshots__/AlertGroupInline.test.tsx.snap +2 -2
- package/src/components/AlertGroup/__tests__/__snapshots__/AlertGroup.test.tsx.snap +2 -2
- package/src/components/ApplicationLauncher/__tests__/ApplicationLauncher.test.tsx +13 -17
- package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherContent.test.tsx +2 -2
- package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherGroup.test.tsx +2 -2
- package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherIcon.test.tsx +2 -2
- package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherSeparator.test.tsx +2 -2
- package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherText.test.tsx +2 -2
- package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherContent.test.tsx.snap +2 -2
- package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherGroup.test.tsx.snap +2 -3
- package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherIcon.test.tsx.snap +2 -2
- package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherSeparator.test.tsx.snap +2 -2
- package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherText.test.tsx.snap +2 -2
- package/src/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap +12 -12
- package/src/components/Avatar/__tests__/Avatar.test.tsx +2 -2
- package/src/components/Avatar/__tests__/__snapshots__/Avatar.test.tsx.snap +2 -2
- package/src/components/BackToTop/__tests__/BackToTop.test.tsx +7 -7
- package/src/components/BackToTop/__tests__/__snapshots__/BackToTop.test.tsx.snap +6 -6
- package/src/components/Backdrop/__tests__/Backdrop.test.tsx +2 -2
- package/src/components/Backdrop/__tests__/__snapshots__/Backdrop.test.tsx.snap +2 -2
- package/src/components/BackgroundImage/__tests__/BackgroundImage.test.tsx +9 -9
- package/src/components/BackgroundImage/__tests__/__snapshots__/BackgroundImage.test.tsx.snap +4 -4
- package/src/components/Badge/__tests__/Badge.test.tsx +2 -2
- package/src/components/Badge/__tests__/__snapshots__/Badge.test.tsx.snap +6 -8
- package/src/components/Banner/__tests__/Banner.test.tsx +12 -14
- package/src/components/Banner/__tests__/__snapshots__/Banner.test.tsx.snap +17 -22
- package/src/components/Brand/__tests__/Brand.test.tsx +5 -4
- package/src/components/Brand/__tests__/__snapshots__/Brand.test.tsx.snap +2 -2
- package/src/components/Breadcrumb/__tests__/Breadcrumb.test.tsx +8 -8
- package/src/components/Breadcrumb/__tests__/BreadcrumbHeading.test.tsx +10 -10
- package/src/components/Breadcrumb/__tests__/BreadcrumbItem.test.tsx +16 -18
- package/src/components/Breadcrumb/__tests__/__snapshots__/Breadcrumb.test.tsx.snap +8 -8
- package/src/components/Breadcrumb/__tests__/__snapshots__/BreadcrumbHeading.test.tsx.snap +10 -10
- package/src/components/Breadcrumb/__tests__/__snapshots__/BreadcrumbItem.test.tsx.snap +16 -16
- package/src/components/Button/__tests__/Button.test.tsx +29 -30
- package/src/components/Button/__tests__/__snapshots__/Button.test.tsx.snap +50 -58
- package/src/components/Card/__tests__/Card.test.tsx +24 -27
- package/src/components/Card/__tests__/CardBody.test.tsx +5 -8
- package/src/components/Card/__tests__/CardExpandableContent.test.tsx +2 -2
- package/src/components/Card/__tests__/CardFooter.test.tsx +3 -6
- package/src/components/Card/__tests__/CardHeadMain.test.tsx +3 -6
- package/src/components/Card/__tests__/CardHeader.test.tsx +2 -2
- package/src/components/Card/__tests__/CardHeaderMain.test.tsx +3 -6
- package/src/components/Card/__tests__/CardTitle.test.tsx +3 -6
- package/src/components/Card/__tests__/Generated/CardActions.test.tsx +2 -2
- package/src/components/Card/__tests__/Generated/__snapshots__/CardActions.test.tsx.snap +2 -2
- package/src/components/Card/__tests__/__snapshots__/Card.test.tsx.snap +24 -4
- package/src/components/Card/__tests__/__snapshots__/CardBody.test.tsx.snap +4 -4
- package/src/components/Card/__tests__/__snapshots__/CardExpandableContent.test.tsx.snap +2 -2
- package/src/components/Card/__tests__/__snapshots__/CardFooter.test.tsx.snap +2 -2
- package/src/components/Card/__tests__/__snapshots__/CardHeadMain.test.tsx.snap +9 -1
- package/src/components/Card/__tests__/__snapshots__/CardHeader.test.tsx.snap +2 -2
- package/src/components/Card/__tests__/__snapshots__/CardHeaderMain.test.tsx.snap +9 -1
- package/src/components/Card/__tests__/__snapshots__/CardTitle.test.tsx.snap +9 -1
- package/src/components/Checkbox/__tests__/Checkbox.test.tsx +24 -21
- package/src/components/Checkbox/__tests__/__snapshots__/Checkbox.test.tsx.snap +204 -9
- package/src/components/Chip/__tests__/Chip.test.tsx +8 -10
- package/src/components/Chip/__tests__/__snapshots__/Chip.test.tsx.snap +8 -8
- package/src/components/ChipGroup/__tests__/ChipGroup.test.tsx +8 -9
- package/src/components/ChipGroup/__tests__/__snapshots__/ChipGroup.test.tsx.snap +8 -9
- package/src/components/ClipboardCopy/__tests__/ClipboardCopyButton.test.tsx +5 -4
- package/src/components/ClipboardCopy/__tests__/ClipboardCopyExpanded.test.tsx +4 -4
- package/src/components/ClipboardCopy/__tests__/ClipboardCopyToggle.test.tsx +7 -5
- package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopy.test.tsx +2 -2
- package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopy.test.tsx.snap +2 -2
- package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyButton.test.tsx.snap +2 -2
- package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyExpanded.test.tsx.snap +4 -4
- package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyToggle.test.tsx.snap +2 -2
- package/src/components/CodeBlock/CodeBlockCode.tsx +8 -2
- package/src/components/CodeBlock/__tests__/CodeBlock.test.tsx +8 -8
- package/src/components/CodeBlock/__tests__/__snapshots__/CodeBlock.test.tsx.snap +8 -8
- package/src/components/ContextSelector/__tests__/ContextSelector.test.tsx +4 -8
- package/src/components/ContextSelector/__tests__/ContextSelectorFooter.test.tsx +2 -2
- package/src/components/ContextSelector/__tests__/ContextSelectorItem.test.tsx +6 -4
- package/src/components/ContextSelector/__tests__/ContextSelectorMenuList.test.tsx +4 -4
- package/src/components/ContextSelector/__tests__/ContextSelectorToggle.test.tsx +12 -20
- package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelector.test.tsx.snap +178 -2
- package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorFooter.test.tsx.snap +2 -2
- package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorItem.test.tsx.snap +4 -4
- package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorMenuList.test.tsx.snap +4 -4
- package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorToggle.test.tsx.snap +155 -5
- package/src/components/DataList/__tests__/DataList.test.tsx +44 -40
- package/src/components/DataList/__tests__/Generated/DataListAction.test.tsx +2 -2
- package/src/components/DataList/__tests__/Generated/DataListCell.test.tsx +2 -2
- package/src/components/DataList/__tests__/Generated/DataListCheck.test.tsx +2 -2
- package/src/components/DataList/__tests__/Generated/DataListContent.test.tsx +2 -2
- package/src/components/DataList/__tests__/Generated/DataListItem.test.tsx +2 -2
- package/src/components/DataList/__tests__/Generated/DataListItemCells.test.tsx +4 -2
- package/src/components/DataList/__tests__/Generated/DataListItemRow.test.tsx +2 -2
- package/src/components/DataList/__tests__/Generated/DataListToggle.test.tsx +2 -2
- package/src/components/DataList/__tests__/Generated/__snapshots__/DataListAction.test.tsx.snap +2 -2
- package/src/components/DataList/__tests__/Generated/__snapshots__/DataListCell.test.tsx.snap +2 -2
- package/src/components/DataList/__tests__/Generated/__snapshots__/DataListCheck.test.tsx.snap +2 -2
- package/src/components/DataList/__tests__/Generated/__snapshots__/DataListContent.test.tsx.snap +2 -2
- package/src/components/DataList/__tests__/Generated/__snapshots__/DataListItem.test.tsx.snap +2 -2
- package/src/components/DataList/__tests__/Generated/__snapshots__/DataListItemCells.test.tsx.snap +2 -2
- package/src/components/DataList/__tests__/Generated/__snapshots__/DataListItemRow.test.tsx.snap +2 -2
- package/src/components/DataList/__tests__/Generated/__snapshots__/DataListToggle.test.tsx.snap +2 -2
- package/src/components/DataList/__tests__/__snapshots__/DataList.test.tsx.snap +47 -39
- package/src/components/DataList/examples/DataListExpandable.tsx +0 -23
- package/src/components/DatePicker/__tests__/DatePicker.test.tsx +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +2 -3
- package/src/components/DescriptionList/__tests__/DescriptionList.test.tsx +34 -34
- package/src/components/DescriptionList/__tests__/__snapshots__/DescriptionList.test.tsx.snap +34 -34
- package/src/components/Divider/__tests__/Divider.test.tsx +10 -10
- package/src/components/Divider/__tests__/__snapshots__/Divider.test.tsx.snap +8 -8
- package/src/components/DragDrop/__tests__/DragDrop.test.tsx +4 -8
- package/src/components/DragDrop/__tests__/__snapshots__/DragDrop.test.tsx.snap +4 -4
- package/src/components/Drawer/__tests__/Drawer.test.tsx +15 -9
- package/src/components/Drawer/__tests__/Generated/DrawerContent.test.tsx +4 -2
- package/src/components/Drawer/__tests__/Generated/DrawerPanelContent.test.tsx +2 -2
- package/src/components/Drawer/__tests__/Generated/__snapshots__/DrawerContent.test.tsx.snap +13 -87
- package/src/components/Drawer/__tests__/Generated/__snapshots__/DrawerPanelContent.test.tsx.snap +2 -2
- package/src/components/Drawer/__tests__/__snapshots__/Drawer.test.tsx.snap +16 -16
- package/src/components/Dropdown/__tests__/Dropdown.test.tsx +36 -34
- package/src/components/Dropdown/__tests__/DropdownGroup.test.tsx +2 -2
- package/src/components/Dropdown/__tests__/DropdownToggle.test.tsx +27 -30
- package/src/components/Dropdown/__tests__/DropdownToggleAction.test.tsx +9 -7
- package/src/components/Dropdown/__tests__/DropdownToggleCheckbox.test.tsx +18 -14
- package/src/components/Dropdown/__tests__/Generated/DropdownItem.test.tsx +2 -2
- package/src/components/Dropdown/__tests__/Generated/DropdownMenu.test.tsx +2 -2
- package/src/components/Dropdown/__tests__/Generated/DropdownSeparator.test.tsx +2 -2
- package/src/components/Dropdown/__tests__/Generated/KebabToggle.test.tsx +2 -2
- package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownItem.test.tsx.snap +2 -2
- package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownMenu.test.tsx.snap +2 -2
- package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownSeparator.test.tsx.snap +2 -2
- package/src/components/Dropdown/__tests__/Generated/__snapshots__/KebabToggle.test.tsx.snap +2 -2
- package/src/components/Dropdown/__tests__/InternalDropdownItem.test.tsx +23 -21
- package/src/components/Dropdown/__tests__/Toggle.test.tsx +4 -4
- package/src/components/Dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +820 -15
- package/src/components/Dropdown/__tests__/__snapshots__/DropdownGroup.test.tsx.snap +2 -2
- package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggle.test.tsx.snap +208 -17
- package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggleAction.test.tsx.snap +6 -6
- package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggleCheckbox.test.tsx.snap +141 -7
- package/src/components/Dropdown/__tests__/__snapshots__/InternalDropdownItem.test.tsx.snap +157 -10
- package/src/components/Dropdown/__tests__/__snapshots__/Toggle.test.tsx.snap +4 -4
- package/src/components/DualListSelector/__tests__/DualListSelector.test.tsx +16 -12
- package/src/components/DualListSelector/__tests__/__snapshots__/DualListSelector.test.tsx.snap +12 -12
- package/src/components/EmptyState/__tests__/EmptyState.test.tsx +25 -24
- package/src/components/EmptyState/__tests__/Generated/EmptyStateBody.test.tsx +2 -2
- package/src/components/EmptyState/__tests__/Generated/EmptyStateIcon.test.tsx +5 -5
- package/src/components/EmptyState/__tests__/Generated/EmptyStatePrimary.test.tsx +2 -2
- package/src/components/EmptyState/__tests__/Generated/EmptyStateSecondaryActions.test.tsx +2 -2
- package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateBody.test.tsx.snap +2 -2
- package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateIcon.test.tsx.snap +4 -4
- package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStatePrimary.test.tsx.snap +2 -2
- package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateSecondaryActions.test.tsx.snap +2 -2
- package/src/components/EmptyState/__tests__/__snapshots__/EmptyState.test.tsx.snap +130 -5
- package/src/components/ExpandableSection/__tests__/ExpandableSection.test.tsx +23 -12
- package/src/components/ExpandableSection/__tests__/__snapshots__/ExpandableSection.test.tsx.snap +12 -12
- package/src/components/FileUpload/__tests__/FileUpload.test.tsx +2 -2
- package/src/components/FileUpload/__tests__/FileUploadField.test.tsx +2 -2
- package/src/components/FileUpload/__tests__/__snapshots__/FileUpload.test.tsx.snap +2 -2
- package/src/components/FileUpload/__tests__/__snapshots__/FileUploadField.test.tsx.snap +2 -2
- package/src/components/Form/__tests__/ActionGroup.test.tsx +4 -4
- package/src/components/Form/__tests__/Form.test.tsx +6 -6
- package/src/components/Form/__tests__/FormAlert.test.tsx +2 -4
- package/src/components/Form/__tests__/FormFieldGroup.test.tsx +12 -15
- package/src/components/Form/__tests__/FormGroup.test.tsx +2 -13
- package/src/components/Form/__tests__/FormHelperText.test.tsx +8 -9
- package/src/components/Form/__tests__/FormSection.test.tsx +5 -5
- package/src/components/Form/__tests__/__snapshots__/ActionGroup.test.tsx.snap +4 -4
- package/src/components/Form/__tests__/__snapshots__/Form.test.tsx.snap +6 -6
- package/src/components/Form/__tests__/__snapshots__/FormAlert.test.tsx.snap +2 -2
- package/src/components/Form/__tests__/__snapshots__/FormFieldGroup.test.tsx.snap +4 -4
- package/src/components/Form/__tests__/__snapshots__/FormHelperText.test.tsx.snap +55 -4
- package/src/components/Form/__tests__/__snapshots__/FormSection.test.tsx.snap +5 -7
- package/src/components/FormSelect/__tests__/FormSelect.test.tsx +25 -26
- package/src/components/FormSelect/__tests__/Generated/FormSelectOption.test.tsx +2 -2
- package/src/components/FormSelect/__tests__/Generated/FormSelectOptionGroup.test.tsx +2 -2
- package/src/components/FormSelect/__tests__/Generated/__snapshots__/FormSelectOption.test.tsx.snap +2 -2
- package/src/components/FormSelect/__tests__/Generated/__snapshots__/FormSelectOptionGroup.test.tsx.snap +2 -2
- package/src/components/FormSelect/__tests__/__snapshots__/FormSelect.test.tsx.snap +256 -9
- package/src/components/HelperText/__tests__/HelperText.test.tsx +13 -13
- package/src/components/HelperText/__tests__/__snapshots__/HelperText.test.tsx.snap +25 -30
- package/src/components/Hint/__tests__/Hint.test.tsx +2 -2
- package/src/components/Hint/__tests__/__snapshots__/Hint.test.tsx.snap +2 -2
- package/src/components/InputGroup/__tests__/InputGroup.test.tsx +2 -2
- package/src/components/InputGroup/__tests__/InputGroupText.test.tsx +0 -1
- package/src/components/JumpLinks/__tests__/JumpLinks.test.tsx +10 -10
- package/src/components/JumpLinks/__tests__/__snapshots__/JumpLinks.test.tsx.snap +11 -13
- package/src/components/Label/__tests__/Label.test.tsx +33 -66
- package/src/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +416 -26
- package/src/components/List/__tests__/Generated/ListItem.test.tsx +2 -2
- package/src/components/List/__tests__/Generated/__snapshots__/ListItem.test.tsx.snap +2 -2
- package/src/components/List/__tests__/List.test.tsx +0 -1
- package/src/components/LoginPage/__tests__/Generated/LoginFooter.test.tsx +2 -2
- package/src/components/LoginPage/__tests__/Generated/LoginHeader.test.tsx +2 -2
- package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginFooter.test.tsx.snap +2 -2
- package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginHeader.test.tsx.snap +2 -2
- package/src/components/LoginPage/__tests__/Login.test.tsx +2 -2
- package/src/components/LoginPage/__tests__/LoginFooterItem.test.tsx +1 -1
- package/src/components/LoginPage/__tests__/LoginForm.test.tsx +9 -7
- package/src/components/LoginPage/__tests__/LoginMainBody.test.tsx +5 -5
- package/src/components/LoginPage/__tests__/LoginMainFooter.test.tsx +5 -5
- package/src/components/LoginPage/__tests__/LoginMainFooterBandItem.test.tsx +1 -1
- package/src/components/LoginPage/__tests__/LoginMainFooterLinksItem.test.tsx +7 -7
- package/src/components/LoginPage/__tests__/LoginMainHeader.test.tsx +7 -7
- package/src/components/LoginPage/__tests__/LoginPage.test.tsx +2 -2
- package/src/components/LoginPage/__tests__/__snapshots__/Login.test.tsx.snap +3 -4
- package/src/components/LoginPage/__tests__/__snapshots__/LoginForm.test.tsx.snap +402 -3
- package/src/components/LoginPage/__tests__/__snapshots__/LoginMainBody.test.tsx.snap +14 -2
- package/src/components/LoginPage/__tests__/__snapshots__/LoginMainFooter.test.tsx.snap +14 -2
- package/src/components/LoginPage/__tests__/__snapshots__/LoginMainFooterLinksItem.test.tsx.snap +43 -3
- package/src/components/LoginPage/__tests__/__snapshots__/LoginMainHeader.test.tsx.snap +35 -3
- package/src/components/LoginPage/__tests__/__snapshots__/LoginPage.test.tsx.snap +2 -3
- package/src/components/Masthead/__tests__/Masthead.test.tsx +30 -30
- package/src/components/Masthead/__tests__/__snapshots__/Masthead.test.tsx.snap +44 -44
- package/src/components/Menu/__tests__/Menu.test.tsx +1 -1
- package/src/components/MenuToggle/__tests__/MenuToggle.test.tsx +18 -18
- package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +18 -18
- package/src/components/Modal/__tests__/Modal.test.tsx +5 -6
- package/src/components/Modal/__tests__/ModalBox.test.tsx +12 -12
- package/src/components/Modal/__tests__/ModalBoxBody.test.tsx +2 -2
- package/src/components/Modal/__tests__/ModalBoxDescription.test.tsx +2 -6
- package/src/components/Modal/__tests__/ModalBoxFooter.test.tsx +4 -2
- package/src/components/Modal/__tests__/ModalBoxHeader.test.tsx +4 -4
- package/src/components/Modal/__tests__/ModalBoxTitle.test.tsx +13 -13
- package/src/components/Modal/__tests__/ModalContent.test.tsx +34 -22
- package/src/components/Modal/__tests__/__snapshots__/ModalBox.test.tsx.snap +12 -12
- package/src/components/Modal/__tests__/__snapshots__/ModalBoxBody.test.tsx.snap +2 -2
- package/src/components/Modal/__tests__/__snapshots__/ModalBoxDescription.test.tsx.snap +2 -2
- package/src/components/Modal/__tests__/__snapshots__/ModalBoxFooter.test.tsx.snap +2 -2
- package/src/components/Modal/__tests__/__snapshots__/ModalBoxHeader.test.tsx.snap +4 -4
- package/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +12 -13
- package/src/components/Modal/__tests__/__snapshots__/ModalContent.test.tsx.snap +16 -23
- package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadTitleIcon.test.tsx +2 -2
- package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadTitleIcon.test.tsx.snap +0 -2
- package/src/components/Nav/__tests__/Generated/NavExpandable.test.tsx +3 -3
- package/src/components/Nav/__tests__/Generated/NavGroup.test.tsx +2 -2
- package/src/components/Nav/__tests__/Generated/NavItem.test.tsx +2 -2
- package/src/components/Nav/__tests__/Generated/NavList.test.tsx +2 -2
- package/src/components/Nav/__tests__/Generated/__snapshots__/NavExpandable.test.tsx.snap +2 -2
- package/src/components/Nav/__tests__/Generated/__snapshots__/NavGroup.test.tsx.snap +2 -2
- package/src/components/Nav/__tests__/Generated/__snapshots__/NavItem.test.tsx.snap +2 -2
- package/src/components/Nav/__tests__/Generated/__snapshots__/NavList.test.tsx.snap +2 -2
- package/src/components/Nav/__tests__/Nav.test.tsx +1 -1
- package/src/components/NotificationBadge/__tests__/NotificationBadge.test.tsx +10 -6
- package/src/components/NotificationBadge/__tests__/__snapshots__/NotificationBadge.test.tsx.snap +12 -14
- package/src/components/NotificationDrawer/__tests__/NotificationDrawer.test.tsx +1 -1
- package/src/components/NotificationDrawer/__tests__/NotificationDrawerBody.test.tsx +1 -1
- package/src/components/NotificationDrawer/__tests__/NotificationDrawerGroup.test.tsx +13 -3
- package/src/components/NotificationDrawer/__tests__/NotificationDrawerGroupList.test.tsx +1 -1
- package/src/components/NotificationDrawer/__tests__/NotificationDrawerHeader.test.tsx +1 -1
- package/src/components/NotificationDrawer/__tests__/NotificationDrawerList.test.tsx +1 -1
- package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItem.test.tsx +1 -1
- package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItemBody.test.tsx +1 -1
- package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItemHeader.test.tsx +10 -4
- package/src/components/NumberInput/__tests__/NumberInput.test.tsx +20 -20
- package/src/components/NumberInput/__tests__/__snapshots__/NumberInput.test.tsx.snap +20 -20
- package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuItem.test.tsx +2 -2
- package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuItemGroup.test.tsx +3 -3
- package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuSeparator.test.tsx +2 -2
- package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuToggle.test.tsx +2 -4
- package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuToggleWithText.test.tsx +2 -6
- package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItem.test.tsx.snap +2 -2
- package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItemGroup.test.tsx.snap +3 -5
- package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuSeparator.test.tsx.snap +2 -2
- package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggle.test.tsx.snap +2 -2
- package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggleWithText.test.tsx.snap +2 -2
- package/src/components/OptionsMenu/__tests__/OptionsMenu.test.tsx +16 -16
- package/src/components/OptionsMenu/__tests__/__snapshots__/OptionsMenu.test.tsx.snap +16 -16
- package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuControl.test.tsx +4 -2
- package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuDropdownItem.test.tsx +2 -2
- package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuControl.test.tsx.snap +3 -5
- package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuDropdownItem.test.tsx.snap +2 -2
- package/src/components/OverflowMenu/__tests__/OverflowMenu.test.tsx +2 -3
- package/src/components/OverflowMenu/__tests__/OverflowMenuControl.test.tsx +0 -1
- package/src/components/OverflowMenu/__tests__/OverflowMenuGroup.test.tsx +0 -1
- package/src/components/OverflowMenu/__tests__/OverflowMenuItem.test.tsx +0 -1
- package/src/components/Page/__tests__/Generated/PageHeaderTools.test.tsx +2 -2
- package/src/components/Page/__tests__/Generated/PageHeaderToolsGroup.test.tsx +2 -4
- package/src/components/Page/__tests__/Generated/PageHeaderToolsItem.test.tsx +2 -2
- package/src/components/Page/__tests__/Generated/PageSidebar.test.tsx +2 -2
- package/src/components/Page/__tests__/Generated/__snapshots__/PageHeaderTools.test.tsx.snap +2 -2
- package/src/components/Page/__tests__/Generated/__snapshots__/PageHeaderToolsGroup.test.tsx.snap +2 -2
- package/src/components/Page/__tests__/Generated/__snapshots__/PageHeaderToolsItem.test.tsx.snap +2 -2
- package/src/components/Page/__tests__/Generated/__snapshots__/PageSidebar.test.tsx.snap +2 -2
- package/src/components/Page/__tests__/Page.test.tsx +0 -1
- package/src/components/Page/__tests__/PageBreadcrumb.test.tsx +14 -14
- package/src/components/Page/__tests__/PageGroup.test.tsx +12 -12
- package/src/components/Page/__tests__/PageHeader.test.tsx +2 -2
- package/src/components/Page/__tests__/PageNavigation.test.tsx +14 -14
- package/src/components/Page/__tests__/PageSection.test.tsx +30 -30
- package/src/components/Page/__tests__/__snapshots__/PageBreadcrumb.test.tsx.snap +14 -14
- package/src/components/Page/__tests__/__snapshots__/PageGroup.test.tsx.snap +12 -12
- package/src/components/Page/__tests__/__snapshots__/PageHeader.test.tsx.snap +2 -2
- package/src/components/Page/__tests__/__snapshots__/PageNavigation.test.tsx.snap +14 -14
- package/src/components/Page/__tests__/__snapshots__/PageSection.test.tsx.snap +30 -30
- package/src/components/Pagination/__tests__/Generated/Navigation.test.tsx +2 -2
- package/src/components/Pagination/__tests__/Generated/OptionsToggle.test.tsx +2 -2
- package/src/components/Pagination/__tests__/Generated/PaginationOptionsMenu.test.tsx +2 -2
- package/src/components/Pagination/__tests__/Generated/ToggleTemplate.test.tsx +2 -2
- package/src/components/Pagination/__tests__/Generated/__snapshots__/Navigation.test.tsx.snap +2 -2
- package/src/components/Pagination/__tests__/Generated/__snapshots__/OptionsToggle.test.tsx.snap +2 -2
- package/src/components/Pagination/__tests__/Generated/__snapshots__/PaginationOptionsMenu.test.tsx.snap +2 -2
- package/src/components/Pagination/__tests__/Generated/__snapshots__/ToggleTemplate.test.tsx.snap +5 -10
- package/src/components/Pagination/__tests__/Pagination.test.tsx +0 -1
- package/src/components/Panel/__tests__/Panel.test.tsx +18 -18
- package/src/components/Panel/__tests__/__snapshots__/Panel.test.tsx.snap +18 -18
- package/src/components/Popover/__tests__/Generated/PopoverArrow.test.tsx +2 -2
- package/src/components/Popover/__tests__/Generated/PopoverBody.test.tsx +2 -2
- package/src/components/Popover/__tests__/Generated/PopoverCloseButton.test.tsx +2 -2
- package/src/components/Popover/__tests__/Generated/PopoverContent.test.tsx +2 -2
- package/src/components/Popover/__tests__/Generated/PopoverDialog.test.tsx +2 -2
- package/src/components/Popover/__tests__/Generated/PopoverFooter.test.tsx +2 -2
- package/src/components/Popover/__tests__/Generated/PopoverHeader.test.tsx +2 -2
- package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverArrow.test.tsx.snap +2 -2
- package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverBody.test.tsx.snap +2 -2
- package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverCloseButton.test.tsx.snap +2 -2
- package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverContent.test.tsx.snap +2 -2
- package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverDialog.test.tsx.snap +2 -2
- package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverFooter.test.tsx.snap +2 -2
- package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverHeader.test.tsx.snap +2 -2
- package/src/components/Popover/__tests__/Popover.test.tsx +8 -8
- package/src/components/Popover/__tests__/__snapshots__/Popover.test.tsx.snap +8 -8
- package/src/components/Progress/__tests__/Generated/ProgressBar.test.tsx +2 -2
- package/src/components/Progress/__tests__/Generated/ProgressContainer.test.tsx +2 -3
- package/src/components/Progress/__tests__/Generated/__snapshots__/ProgressBar.test.tsx.snap +2 -2
- package/src/components/Progress/__tests__/Generated/__snapshots__/ProgressContainer.test.tsx.snap +2 -2
- package/src/components/Progress/__tests__/Progress.test.tsx +27 -27
- package/src/components/Progress/__tests__/__snapshots__/Progress.test.tsx.snap +40 -40
- package/src/components/ProgressStepper/__tests__/ProgressStepper.test.tsx +24 -24
- package/src/components/ProgressStepper/__tests__/__snapshots__/ProgressStepper.test.tsx.snap +40 -46
- package/src/components/Radio/__tests__/Radio.test.tsx +19 -8
- package/src/components/SearchInput/__tests__/SearchInput.test.tsx +5 -6
- package/src/components/Select/__tests__/Select.test.tsx +1 -2
- package/src/components/Select/__tests__/SelectGroup.test.tsx +12 -5
- package/src/components/Select/__tests__/SelectOption.test.tsx +110 -33
- package/src/components/Select/__tests__/__snapshots__/SelectGroup.test.tsx.snap +22 -1
- package/src/components/Select/__tests__/__snapshots__/SelectOption.test.tsx.snap +223 -10
- package/src/components/SimpleList/__tests__/Generated/SimpleListGroup.test.tsx +2 -2
- package/src/components/SimpleList/__tests__/Generated/SimpleListItem.test.tsx +2 -2
- package/src/components/SimpleList/__tests__/Generated/__snapshots__/SimpleListGroup.test.tsx.snap +2 -2
- package/src/components/SimpleList/__tests__/Generated/__snapshots__/SimpleListItem.test.tsx.snap +2 -2
- package/src/components/SimpleList/__tests__/SimpleList.test.tsx +2 -3
- package/src/components/Skeleton/__tests__/Skeleton.test.tsx +14 -12
- package/src/components/Skeleton/__tests__/__snapshots__/Skeleton.test.tsx.snap +42 -42
- package/src/components/SkipToContent/__tests__/SkipToContent.test.tsx +4 -4
- package/src/components/SkipToContent/__tests__/__snapshots__/SkipToContent.test.tsx.snap +4 -4
- package/src/components/Slider/_tests_/Slider.test.tsx +22 -18
- package/src/components/Slider/_tests_/__snapshots__/Slider.test.tsx.snap +20 -22
- package/src/components/Spinner/__tests__/Spinner.test.tsx +10 -10
- package/src/components/Spinner/__tests__/__snapshots__/Spinner.test.tsx.snap +10 -10
- package/src/components/Switch/__tests__/Switch.test.tsx +18 -9
- package/src/components/Tabs/__tests__/Generated/TabContent.test.tsx +2 -2
- package/src/components/Tabs/__tests__/Generated/__snapshots__/TabContent.test.tsx.snap +2 -2
- package/src/components/Tabs/__tests__/Tab.test.tsx +3 -3
- package/src/components/Tabs/__tests__/TabButton.test.tsx +2 -2
- package/src/components/Tabs/__tests__/Tabs.test.tsx +99 -42
- package/src/components/Tabs/__tests__/__snapshots__/Tab.test.tsx.snap +2 -2
- package/src/components/Tabs/__tests__/__snapshots__/TabButton.test.tsx.snap +2 -2
- package/src/components/Tabs/__tests__/__snapshots__/Tabs.test.tsx.snap +29 -29
- package/src/components/Text/__tests__/Generated/TextContent.test.tsx +2 -2
- package/src/components/Text/__tests__/Generated/TextList.test.tsx +2 -2
- package/src/components/Text/__tests__/Generated/TextListItem.test.tsx +2 -2
- package/src/components/Text/__tests__/Generated/__snapshots__/TextContent.test.tsx.snap +2 -2
- package/src/components/Text/__tests__/Generated/__snapshots__/TextList.test.tsx.snap +2 -2
- package/src/components/Text/__tests__/Generated/__snapshots__/TextListItem.test.tsx.snap +2 -2
- package/src/components/Text/__tests__/Text.test.tsx +2 -2
- package/src/components/Text/__tests__/__snapshots__/Text.test.tsx.snap +3 -4
- package/src/components/TextArea/__tests__/TextArea.test.tsx +10 -7
- package/src/components/TextInput/__tests__/TextInput.test.tsx +11 -8
- package/src/components/TextInputGroup/__tests__/TextInputGroupMain.test.tsx +3 -3
- package/src/components/Tile/__tests__/Tile.test.tsx +14 -14
- package/src/components/Tile/__tests__/__snapshots__/Tile.test.tsx.snap +14 -14
- package/src/components/TimePicker/__tests__/TimePicker.test.tsx +10 -5
- package/src/components/Title/__tests__/Title.test.tsx +0 -3
- package/src/components/ToggleGroup/__tests__/ToggleGroup.test.tsx +12 -4
- package/src/components/ToggleGroup/__tests__/ToggleGroupItemElement.test.tsx +10 -6
- package/src/components/ToggleGroup/__tests__/__snapshots__/ToggleGroupItemElement.test.tsx.snap +6 -6
- package/src/components/Toolbar/__tests__/Generated/ToolbarChipGroupContent.test.tsx +2 -2
- package/src/components/Toolbar/__tests__/Generated/ToolbarContent.test.tsx +2 -2
- package/src/components/Toolbar/__tests__/Generated/ToolbarExpandableContent.test.tsx +2 -2
- package/src/components/Toolbar/__tests__/Generated/ToolbarGroup.test.tsx +2 -2
- package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarChipGroupContent.test.tsx.snap +2 -2
- package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarContent.test.tsx.snap +2 -2
- package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarExpandableContent.test.tsx.snap +2 -2
- package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarGroup.test.tsx.snap +2 -2
- package/src/components/Toolbar/__tests__/Toolbar.test.tsx +7 -9
- package/src/components/Toolbar/__tests__/ToolbarItem.test.tsx +3 -3
- package/src/components/Toolbar/__tests__/ToolbarToggleGroup.test.tsx +1 -1
- package/src/components/Toolbar/__tests__/__snapshots__/Toolbar.test.tsx.snap +501 -3
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.test.tsx.snap +10 -1
- package/src/components/Tooltip/__tests__/Generated/TooltipArrow.test.tsx +2 -2
- package/src/components/Tooltip/__tests__/Generated/TooltipContent.test.tsx +4 -2
- package/src/components/Tooltip/__tests__/Generated/__snapshots__/TooltipArrow.test.tsx.snap +2 -2
- package/src/components/Tooltip/__tests__/Generated/__snapshots__/TooltipContent.test.tsx.snap +2 -2
- package/src/components/Tooltip/__tests__/Tooltip.test.tsx +2 -2
- package/src/components/Tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +2 -2
- package/src/components/TreeView/__tests__/TreeView.test.tsx +46 -34
- package/src/components/TreeView/__tests__/__snapshots__/TreeView.test.tsx.snap +22 -22
- package/src/components/Truncate/__tests__/Truncate.test.tsx +18 -6
- package/src/components/Truncate/__tests__/__snapshots__/Truncate.test.tsx.snap +7 -8
- package/src/components/Wizard/__tests__/Generated/WizardBody.test.tsx +2 -2
- package/src/components/Wizard/__tests__/Generated/WizardFooter.test.tsx +2 -2
- package/src/components/Wizard/__tests__/Generated/WizardFooterInternal.test.tsx +3 -3
- package/src/components/Wizard/__tests__/Generated/WizardHeader.test.tsx +2 -2
- package/src/components/Wizard/__tests__/Generated/WizardNav.test.tsx +2 -2
- package/src/components/Wizard/__tests__/Generated/WizardNavItem.test.tsx +2 -2
- package/src/components/Wizard/__tests__/Generated/WizardToggle.test.tsx +4 -4
- package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardBody.test.tsx.snap +2 -2
- package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardFooter.test.tsx.snap +2 -2
- package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardFooterInternal.test.tsx.snap +2 -2
- package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardHeader.test.tsx.snap +7 -7
- package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardNav.test.tsx.snap +2 -2
- package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardNavItem.test.tsx.snap +2 -2
- package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardToggle.test.tsx.snap +2 -2
- package/src/components/Wizard/__tests__/Wizard.test.tsx +1 -4
- package/src/demos/DateTimePicker.md +1 -103
- package/src/demos/examples/DateTimePicker/DateTimePicker.tsx +106 -0
- package/src/helpers/FocusTrap/__tests__/Generated/FocusTrap.test.tsx +2 -2
- package/src/helpers/FocusTrap/__tests__/Generated/__snapshots__/FocusTrap.test.tsx.snap +2 -2
- package/src/helpers/GenerateId/__tests__/GenerateId.test.tsx +2 -2
- package/src/helpers/GenerateId/__tests__/__snapshots__/GenerateId.test.tsx.snap +2 -2
- package/src/helpers/Popper/__tests__/Generated/FindRefWrapper.test.tsx +2 -2
- package/src/helpers/Popper/__tests__/Generated/__snapshots__/FindRefWrapper.test.tsx.snap +2 -2
- package/src/helpers/__tests__/util.test.ts +2 -2
- package/src/layouts/Bullseye/__tests__/Bullseye.test.tsx +1 -4
- package/src/layouts/Flex/__tests__/Flex.test.tsx +0 -1
- package/src/layouts/Flex/__tests__/Generated/FlexItem.test.tsx +2 -2
- package/src/layouts/Flex/__tests__/Generated/__snapshots__/FlexItem.test.tsx.snap +2 -2
- package/src/layouts/Gallery/__tests__/Gallery.test.tsx +8 -8
- package/src/layouts/Gallery/__tests__/Generated/GalleryItem.test.tsx +2 -2
- package/src/layouts/Gallery/__tests__/Generated/__snapshots__/GalleryItem.test.tsx.snap +2 -2
- package/src/layouts/Gallery/__tests__/__snapshots__/Gallery.test.tsx.snap +6 -6
- package/src/layouts/Grid/__tests__/Grid.test.tsx +6 -6
- package/src/layouts/Grid/__tests__/GridItem.test.tsx +12 -12
- package/src/layouts/Grid/__tests__/__snapshots__/Grid.test.tsx.snap +4 -4
- package/src/layouts/Grid/__tests__/__snapshots__/GridItem.test.tsx.snap +36 -36
- package/src/layouts/Level/__tests__/Generated/LevelItem.test.tsx +2 -2
- package/src/layouts/Level/__tests__/Generated/__snapshots__/LevelItem.test.tsx.snap +2 -2
- package/src/layouts/Level/__tests__/Level.test.tsx +4 -4
- package/src/layouts/Level/__tests__/__snapshots__/Level.test.tsx.snap +4 -4
- package/src/layouts/Split/__tests__/Generated/SplitItem.test.tsx +2 -2
- package/src/layouts/Split/__tests__/Generated/__snapshots__/SplitItem.test.tsx.snap +2 -2
- package/src/layouts/Split/__tests__/Split.test.tsx +8 -8
- package/src/layouts/Split/__tests__/__snapshots__/Split.test.tsx.snap +8 -8
- package/src/layouts/Stack/__tests__/Generated/StackItem.test.tsx +2 -2
- package/src/layouts/Stack/__tests__/Generated/__snapshots__/StackItem.test.tsx.snap +2 -2
- package/src/layouts/Stack/__tests__/Stack.test.tsx +6 -6
- package/src/layouts/Stack/__tests__/__snapshots__/Stack.test.tsx.snap +6 -6
|
@@ -4,52 +4,52 @@ import { NumberInput } from '../NumberInput';
|
|
|
4
4
|
|
|
5
5
|
describe('numberInput', () => {
|
|
6
6
|
test('renders defaults & extra props', () => {
|
|
7
|
-
const
|
|
8
|
-
expect(
|
|
7
|
+
const { asFragment } = render(<NumberInput className="custom" id="numberInput1" />);
|
|
8
|
+
expect(asFragment()).toMatchSnapshot();
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
test('renders value', () => {
|
|
12
|
-
const
|
|
13
|
-
expect(
|
|
12
|
+
const { asFragment } = render(<NumberInput value={90} />);
|
|
13
|
+
expect(asFragment()).toMatchSnapshot();
|
|
14
14
|
});
|
|
15
15
|
|
|
16
16
|
test('renders disabled', () => {
|
|
17
|
-
const
|
|
18
|
-
expect(
|
|
17
|
+
const { asFragment } = render(<NumberInput value={90} isDisabled />);
|
|
18
|
+
expect(asFragment()).toMatchSnapshot();
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
test('disables lower threshold', () => {
|
|
22
|
-
const
|
|
23
|
-
expect(
|
|
22
|
+
const { asFragment } = render(<NumberInput value={0} min={0} />);
|
|
23
|
+
expect(asFragment()).toMatchSnapshot();
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
test('disables upper threshold', () => {
|
|
27
|
-
const
|
|
28
|
-
expect(
|
|
27
|
+
const { asFragment } = render(<NumberInput value={100} max={100} />);
|
|
28
|
+
expect(asFragment()).toMatchSnapshot();
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
test('renders unit', () => {
|
|
32
|
-
const
|
|
33
|
-
expect(
|
|
32
|
+
const { asFragment } = render(<NumberInput value={5} unit="%" unitPosition="after" />);
|
|
33
|
+
expect(asFragment()).toMatchSnapshot();
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
test('renders unit & position', () => {
|
|
37
|
-
const
|
|
38
|
-
expect(
|
|
37
|
+
const { asFragment } = render(<NumberInput value={5} unit="$" unitPosition="before" />);
|
|
38
|
+
expect(asFragment()).toMatchSnapshot();
|
|
39
39
|
});
|
|
40
40
|
|
|
41
41
|
test('renders custom width', () => {
|
|
42
|
-
const
|
|
43
|
-
expect(
|
|
42
|
+
const { asFragment } = render(<NumberInput value={5} widthChars={10} />);
|
|
43
|
+
expect(asFragment()).toMatchSnapshot();
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
test('passes input props successfully', () => {
|
|
47
|
-
const
|
|
48
|
-
expect(
|
|
47
|
+
const { asFragment } = render(<NumberInput value={5} onChange={jest.fn()} inputName="test-name" />);
|
|
48
|
+
expect(asFragment()).toMatchSnapshot();
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
test('passes button props successfully', () => {
|
|
52
|
-
const
|
|
52
|
+
const { asFragment } = render(
|
|
53
53
|
<NumberInput
|
|
54
54
|
value={5}
|
|
55
55
|
onMinus={jest.fn()}
|
|
@@ -58,6 +58,6 @@ describe('numberInput', () => {
|
|
|
58
58
|
plusBtnProps={{ id: 'plus-id' }}
|
|
59
59
|
/>
|
|
60
60
|
);
|
|
61
|
-
expect(
|
|
61
|
+
expect(asFragment()).toMatchSnapshot();
|
|
62
62
|
});
|
|
63
63
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`numberInput disables lower threshold 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
class="pf-c-number-input"
|
|
7
7
|
>
|
|
@@ -72,11 +72,11 @@ exports[`numberInput disables lower threshold 1`] = `
|
|
|
72
72
|
</button>
|
|
73
73
|
</div>
|
|
74
74
|
</div>
|
|
75
|
-
</
|
|
75
|
+
</DocumentFragment>
|
|
76
76
|
`;
|
|
77
77
|
|
|
78
78
|
exports[`numberInput disables upper threshold 1`] = `
|
|
79
|
-
<
|
|
79
|
+
<DocumentFragment>
|
|
80
80
|
<div
|
|
81
81
|
class="pf-c-number-input"
|
|
82
82
|
>
|
|
@@ -147,11 +147,11 @@ exports[`numberInput disables upper threshold 1`] = `
|
|
|
147
147
|
</button>
|
|
148
148
|
</div>
|
|
149
149
|
</div>
|
|
150
|
-
</
|
|
150
|
+
</DocumentFragment>
|
|
151
151
|
`;
|
|
152
152
|
|
|
153
153
|
exports[`numberInput passes button props successfully 1`] = `
|
|
154
|
-
<
|
|
154
|
+
<DocumentFragment>
|
|
155
155
|
<div
|
|
156
156
|
class="pf-c-number-input"
|
|
157
157
|
>
|
|
@@ -223,11 +223,11 @@ exports[`numberInput passes button props successfully 1`] = `
|
|
|
223
223
|
</button>
|
|
224
224
|
</div>
|
|
225
225
|
</div>
|
|
226
|
-
</
|
|
226
|
+
</DocumentFragment>
|
|
227
227
|
`;
|
|
228
228
|
|
|
229
229
|
exports[`numberInput passes input props successfully 1`] = `
|
|
230
|
-
<
|
|
230
|
+
<DocumentFragment>
|
|
231
231
|
<div
|
|
232
232
|
class="pf-c-number-input"
|
|
233
233
|
>
|
|
@@ -297,11 +297,11 @@ exports[`numberInput passes input props successfully 1`] = `
|
|
|
297
297
|
</button>
|
|
298
298
|
</div>
|
|
299
299
|
</div>
|
|
300
|
-
</
|
|
300
|
+
</DocumentFragment>
|
|
301
301
|
`;
|
|
302
302
|
|
|
303
303
|
exports[`numberInput renders custom width 1`] = `
|
|
304
|
-
<
|
|
304
|
+
<DocumentFragment>
|
|
305
305
|
<div
|
|
306
306
|
class="pf-c-number-input"
|
|
307
307
|
style="--pf-c-number-input--c-form-control--width-chars: 10;"
|
|
@@ -372,11 +372,11 @@ exports[`numberInput renders custom width 1`] = `
|
|
|
372
372
|
</button>
|
|
373
373
|
</div>
|
|
374
374
|
</div>
|
|
375
|
-
</
|
|
375
|
+
</DocumentFragment>
|
|
376
376
|
`;
|
|
377
377
|
|
|
378
378
|
exports[`numberInput renders defaults & extra props 1`] = `
|
|
379
|
-
<
|
|
379
|
+
<DocumentFragment>
|
|
380
380
|
<div
|
|
381
381
|
class="pf-c-number-input custom"
|
|
382
382
|
id="numberInput1"
|
|
@@ -447,11 +447,11 @@ exports[`numberInput renders defaults & extra props 1`] = `
|
|
|
447
447
|
</button>
|
|
448
448
|
</div>
|
|
449
449
|
</div>
|
|
450
|
-
</
|
|
450
|
+
</DocumentFragment>
|
|
451
451
|
`;
|
|
452
452
|
|
|
453
453
|
exports[`numberInput renders disabled 1`] = `
|
|
454
|
-
<
|
|
454
|
+
<DocumentFragment>
|
|
455
455
|
<div
|
|
456
456
|
class="pf-c-number-input"
|
|
457
457
|
>
|
|
@@ -524,11 +524,11 @@ exports[`numberInput renders disabled 1`] = `
|
|
|
524
524
|
</button>
|
|
525
525
|
</div>
|
|
526
526
|
</div>
|
|
527
|
-
</
|
|
527
|
+
</DocumentFragment>
|
|
528
528
|
`;
|
|
529
529
|
|
|
530
530
|
exports[`numberInput renders unit & position 1`] = `
|
|
531
|
-
<
|
|
531
|
+
<DocumentFragment>
|
|
532
532
|
<div
|
|
533
533
|
class="pf-c-number-input"
|
|
534
534
|
>
|
|
@@ -603,11 +603,11 @@ exports[`numberInput renders unit & position 1`] = `
|
|
|
603
603
|
</button>
|
|
604
604
|
</div>
|
|
605
605
|
</div>
|
|
606
|
-
</
|
|
606
|
+
</DocumentFragment>
|
|
607
607
|
`;
|
|
608
608
|
|
|
609
609
|
exports[`numberInput renders unit 1`] = `
|
|
610
|
-
<
|
|
610
|
+
<DocumentFragment>
|
|
611
611
|
<div
|
|
612
612
|
class="pf-c-number-input"
|
|
613
613
|
>
|
|
@@ -682,11 +682,11 @@ exports[`numberInput renders unit 1`] = `
|
|
|
682
682
|
%
|
|
683
683
|
</div>
|
|
684
684
|
</div>
|
|
685
|
-
</
|
|
685
|
+
</DocumentFragment>
|
|
686
686
|
`;
|
|
687
687
|
|
|
688
688
|
exports[`numberInput renders value 1`] = `
|
|
689
|
-
<
|
|
689
|
+
<DocumentFragment>
|
|
690
690
|
<div
|
|
691
691
|
class="pf-c-number-input"
|
|
692
692
|
>
|
|
@@ -756,5 +756,5 @@ exports[`numberInput renders value 1`] = `
|
|
|
756
756
|
</button>
|
|
757
757
|
</div>
|
|
758
758
|
</div>
|
|
759
|
-
</
|
|
759
|
+
</DocumentFragment>
|
|
760
760
|
`;
|
|
@@ -7,7 +7,7 @@ import { DropdownArrowContext } from '../../../Dropdown';
|
|
|
7
7
|
|
|
8
8
|
describe('OptionsMenuItem', () => {
|
|
9
9
|
it('should match snapshot', () => {
|
|
10
|
-
const
|
|
10
|
+
const { asFragment } = render(
|
|
11
11
|
<DropdownArrowContext.Provider value={{ sendRef: jest.fn(), keyHandler: undefined }}>
|
|
12
12
|
<OptionsMenuItem
|
|
13
13
|
children={<>ReactNode</>}
|
|
@@ -19,6 +19,6 @@ describe('OptionsMenuItem', () => {
|
|
|
19
19
|
/>{' '}
|
|
20
20
|
</DropdownArrowContext.Provider>
|
|
21
21
|
);
|
|
22
|
-
expect(
|
|
22
|
+
expect(asFragment()).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -8,14 +8,14 @@ import { OptionsMenuItemGroup } from '../../OptionsMenuItemGroup';
|
|
|
8
8
|
import {} from '../..';
|
|
9
9
|
|
|
10
10
|
it('OptionsMenuItemGroup should match snapshot (auto-generated)', () => {
|
|
11
|
-
const
|
|
11
|
+
const { asFragment } = render(
|
|
12
12
|
<OptionsMenuItemGroup
|
|
13
13
|
children={<>ReactNode</>}
|
|
14
14
|
className={"''"}
|
|
15
|
-
|
|
15
|
+
aria-label={"''"}
|
|
16
16
|
groupTitle={''}
|
|
17
17
|
hasSeparator={false}
|
|
18
18
|
/>
|
|
19
19
|
);
|
|
20
|
-
expect(
|
|
20
|
+
expect(asFragment()).toMatchSnapshot();
|
|
21
21
|
});
|
|
@@ -8,6 +8,6 @@ import { OptionsMenuSeparator } from '../../OptionsMenuSeparator';
|
|
|
8
8
|
import {} from '../..';
|
|
9
9
|
|
|
10
10
|
it('OptionsMenuSeparator should match snapshot (auto-generated)', () => {
|
|
11
|
-
const
|
|
12
|
-
expect(
|
|
11
|
+
const { asFragment } = render(<OptionsMenuSeparator className={"''"} />);
|
|
12
|
+
expect(asFragment()).toMatchSnapshot();
|
|
13
13
|
});
|
|
@@ -8,14 +8,12 @@ import { OptionsMenuToggle } from '../../OptionsMenuToggle';
|
|
|
8
8
|
import {} from '../..';
|
|
9
9
|
|
|
10
10
|
it('OptionsMenuToggle should match snapshot (auto-generated)', () => {
|
|
11
|
-
const
|
|
11
|
+
const { asFragment } = render(
|
|
12
12
|
<OptionsMenuToggle
|
|
13
13
|
parentId={"''"}
|
|
14
14
|
onToggle={(isOpen: boolean) => undefined as void}
|
|
15
15
|
isOpen={false}
|
|
16
16
|
isPlain={false}
|
|
17
|
-
isFocused={false}
|
|
18
|
-
isHovered={false}
|
|
19
17
|
isSplitButton={false}
|
|
20
18
|
isActive={false}
|
|
21
19
|
isDisabled={false}
|
|
@@ -26,5 +24,5 @@ it('OptionsMenuToggle should match snapshot (auto-generated)', () => {
|
|
|
26
24
|
toggleTemplate={<div>ReactNode</div>}
|
|
27
25
|
/>
|
|
28
26
|
);
|
|
29
|
-
expect(
|
|
27
|
+
expect(asFragment()).toMatchSnapshot();
|
|
30
28
|
});
|
|
@@ -8,7 +8,7 @@ import { OptionsMenuToggleWithText } from '../../OptionsMenuToggleWithText';
|
|
|
8
8
|
import {} from '../..';
|
|
9
9
|
|
|
10
10
|
it('OptionsMenuToggleWithText should match snapshot (auto-generated)', () => {
|
|
11
|
-
const
|
|
11
|
+
const { asFragment } = render(
|
|
12
12
|
<OptionsMenuToggleWithText
|
|
13
13
|
parentId={"''"}
|
|
14
14
|
toggleText={<div>ReactNode</div>}
|
|
@@ -16,17 +16,13 @@ it('OptionsMenuToggleWithText should match snapshot (auto-generated)', () => {
|
|
|
16
16
|
toggleButtonContents={<div>ReactNode</div>}
|
|
17
17
|
toggleButtonContentsClassName={"''"}
|
|
18
18
|
onToggle={() => null as any}
|
|
19
|
-
onEnter={(event: React.MouseEvent<HTMLButtonElement>) => undefined as void}
|
|
20
19
|
isOpen={false}
|
|
21
20
|
isPlain={false}
|
|
22
|
-
isFocused={false}
|
|
23
|
-
isHovered={false}
|
|
24
21
|
isActive={false}
|
|
25
22
|
isDisabled={false}
|
|
26
|
-
parentRef={document.body}
|
|
27
23
|
aria-haspopup={true}
|
|
28
24
|
aria-label={"'Options menu'"}
|
|
29
25
|
/>
|
|
30
26
|
);
|
|
31
|
-
expect(
|
|
27
|
+
expect(asFragment()).toMatchSnapshot();
|
|
32
28
|
});
|
package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItem.test.tsx.snap
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`OptionsMenuItem should match snapshot 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<li
|
|
6
6
|
id="''"
|
|
7
7
|
role="menuitem"
|
|
@@ -19,5 +19,5 @@ exports[`OptionsMenuItem should match snapshot 1`] = `
|
|
|
19
19
|
</button>
|
|
20
20
|
</li>
|
|
21
21
|
|
|
22
|
-
</
|
|
22
|
+
</DocumentFragment>
|
|
23
23
|
`;
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`OptionsMenuItemGroup should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<section
|
|
6
|
-
arialabel="''"
|
|
7
6
|
class="pf-c-options-menu__group"
|
|
8
7
|
>
|
|
9
|
-
|
|
10
8
|
<ul
|
|
11
|
-
aria-label=""
|
|
9
|
+
aria-label="''"
|
|
12
10
|
class="''"
|
|
13
11
|
>
|
|
14
12
|
ReactNode
|
|
15
13
|
</ul>
|
|
16
14
|
</section>
|
|
17
|
-
</
|
|
15
|
+
</DocumentFragment>
|
|
18
16
|
`;
|
package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggle.test.tsx.snap
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`OptionsMenuToggle should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<button
|
|
6
6
|
aria-expanded="false"
|
|
7
7
|
aria-haspopup="listbox"
|
|
@@ -38,5 +38,5 @@ exports[`OptionsMenuToggle should match snapshot (auto-generated) 1`] = `
|
|
|
38
38
|
</svg>
|
|
39
39
|
</span>
|
|
40
40
|
</button>
|
|
41
|
-
</
|
|
41
|
+
</DocumentFragment>
|
|
42
42
|
`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`OptionsMenuToggleWithText should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
class="pf-c-options-menu__toggle pf-m-text"
|
|
7
7
|
>
|
|
@@ -28,5 +28,5 @@ exports[`OptionsMenuToggleWithText should match snapshot (auto-generated) 1`] =
|
|
|
28
28
|
</span>
|
|
29
29
|
</button>
|
|
30
30
|
</div>
|
|
31
|
-
</
|
|
31
|
+
</DocumentFragment>
|
|
32
32
|
`;
|
|
@@ -25,14 +25,14 @@ const menuItems = [
|
|
|
25
25
|
|
|
26
26
|
describe('optionsMenu', () => {
|
|
27
27
|
test('regular', () => {
|
|
28
|
-
const
|
|
28
|
+
const { asFragment } = render(
|
|
29
29
|
<OptionsMenu id="regular" menuItems={menuItems} toggle={<OptionsMenuToggle>Options Menu</OptionsMenuToggle>} />
|
|
30
30
|
);
|
|
31
|
-
expect(
|
|
31
|
+
expect(asFragment()).toMatchSnapshot();
|
|
32
32
|
});
|
|
33
33
|
|
|
34
34
|
test('right aligned', () => {
|
|
35
|
-
const
|
|
35
|
+
const { asFragment } = render(
|
|
36
36
|
<OptionsMenu
|
|
37
37
|
id="rightAligned"
|
|
38
38
|
menuItems={menuItems}
|
|
@@ -40,11 +40,11 @@ describe('optionsMenu', () => {
|
|
|
40
40
|
toggle={<OptionsMenuToggle>Options Menu</OptionsMenuToggle>}
|
|
41
41
|
/>
|
|
42
42
|
);
|
|
43
|
-
expect(
|
|
43
|
+
expect(asFragment()).toMatchSnapshot();
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
test('open up', () => {
|
|
47
|
-
const
|
|
47
|
+
const { asFragment } = render(
|
|
48
48
|
<OptionsMenu
|
|
49
49
|
id="openUp"
|
|
50
50
|
menuItems={menuItems}
|
|
@@ -52,11 +52,11 @@ describe('optionsMenu', () => {
|
|
|
52
52
|
toggle={<OptionsMenuToggle>Options Menu</OptionsMenuToggle>}
|
|
53
53
|
/>
|
|
54
54
|
);
|
|
55
|
-
expect(
|
|
55
|
+
expect(asFragment()).toMatchSnapshot();
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
test('right aligned + open up', () => {
|
|
59
|
-
const
|
|
59
|
+
const { asFragment } = render(
|
|
60
60
|
<OptionsMenu
|
|
61
61
|
id="rightAlignedOpenUp"
|
|
62
62
|
menuItems={menuItems}
|
|
@@ -65,11 +65,11 @@ describe('optionsMenu', () => {
|
|
|
65
65
|
toggle={<OptionsMenuToggle>Options Menu</OptionsMenuToggle>}
|
|
66
66
|
/>
|
|
67
67
|
);
|
|
68
|
-
expect(
|
|
68
|
+
expect(asFragment()).toMatchSnapshot();
|
|
69
69
|
});
|
|
70
70
|
|
|
71
71
|
test('expanded', () => {
|
|
72
|
-
const
|
|
72
|
+
const { asFragment } = render(
|
|
73
73
|
<OptionsMenu
|
|
74
74
|
id="expanded"
|
|
75
75
|
menuItems={menuItems}
|
|
@@ -77,11 +77,11 @@ describe('optionsMenu', () => {
|
|
|
77
77
|
toggle={<OptionsMenuToggle>Options Menu</OptionsMenuToggle>}
|
|
78
78
|
/>
|
|
79
79
|
);
|
|
80
|
-
expect(
|
|
80
|
+
expect(asFragment()).toMatchSnapshot();
|
|
81
81
|
});
|
|
82
82
|
|
|
83
83
|
test('plain', () => {
|
|
84
|
-
const
|
|
84
|
+
const { asFragment } = render(
|
|
85
85
|
<OptionsMenu
|
|
86
86
|
id="plain"
|
|
87
87
|
menuItems={menuItems}
|
|
@@ -89,11 +89,11 @@ describe('optionsMenu', () => {
|
|
|
89
89
|
toggle={<OptionsMenuToggle>Options Menu</OptionsMenuToggle>}
|
|
90
90
|
/>
|
|
91
91
|
);
|
|
92
|
-
expect(
|
|
92
|
+
expect(asFragment()).toMatchSnapshot();
|
|
93
93
|
});
|
|
94
94
|
|
|
95
95
|
test('text', () => {
|
|
96
|
-
const
|
|
96
|
+
const { asFragment } = render(
|
|
97
97
|
<OptionsMenu
|
|
98
98
|
id="text"
|
|
99
99
|
menuItems={menuItems}
|
|
@@ -102,17 +102,17 @@ describe('optionsMenu', () => {
|
|
|
102
102
|
}
|
|
103
103
|
/>
|
|
104
104
|
);
|
|
105
|
-
expect(
|
|
105
|
+
expect(asFragment()).toMatchSnapshot();
|
|
106
106
|
});
|
|
107
107
|
|
|
108
108
|
test('isDisabled', () => {
|
|
109
|
-
const
|
|
109
|
+
const { asFragment } = render(
|
|
110
110
|
<OptionsMenu
|
|
111
111
|
id="disabled"
|
|
112
112
|
menuItems={menuItems}
|
|
113
113
|
toggle={<OptionsMenuToggle isDisabled>Options Menu</OptionsMenuToggle>}
|
|
114
114
|
/>
|
|
115
115
|
);
|
|
116
|
-
expect(
|
|
116
|
+
expect(asFragment()).toMatchSnapshot();
|
|
117
117
|
});
|
|
118
118
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`optionsMenu expanded 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
class="pf-c-options-menu pf-m-expanded"
|
|
7
7
|
data-ouia-component-id="OUIA-Generated-OptionsMenu-5"
|
|
@@ -183,11 +183,11 @@ exports[`optionsMenu expanded 1`] = `
|
|
|
183
183
|
</section>
|
|
184
184
|
</ul>
|
|
185
185
|
</div>
|
|
186
|
-
</
|
|
186
|
+
</DocumentFragment>
|
|
187
187
|
`;
|
|
188
188
|
|
|
189
189
|
exports[`optionsMenu isDisabled 1`] = `
|
|
190
|
-
<
|
|
190
|
+
<DocumentFragment>
|
|
191
191
|
<div
|
|
192
192
|
class="pf-c-options-menu"
|
|
193
193
|
data-ouia-component-id="OUIA-Generated-OptionsMenu-8"
|
|
@@ -229,11 +229,11 @@ exports[`optionsMenu isDisabled 1`] = `
|
|
|
229
229
|
</span>
|
|
230
230
|
</button>
|
|
231
231
|
</div>
|
|
232
|
-
</
|
|
232
|
+
</DocumentFragment>
|
|
233
233
|
`;
|
|
234
234
|
|
|
235
235
|
exports[`optionsMenu open up 1`] = `
|
|
236
|
-
<
|
|
236
|
+
<DocumentFragment>
|
|
237
237
|
<div
|
|
238
238
|
class="pf-c-options-menu pf-m-top"
|
|
239
239
|
data-ouia-component-id="OUIA-Generated-OptionsMenu-3"
|
|
@@ -274,11 +274,11 @@ exports[`optionsMenu open up 1`] = `
|
|
|
274
274
|
</span>
|
|
275
275
|
</button>
|
|
276
276
|
</div>
|
|
277
|
-
</
|
|
277
|
+
</DocumentFragment>
|
|
278
278
|
`;
|
|
279
279
|
|
|
280
280
|
exports[`optionsMenu plain 1`] = `
|
|
281
|
-
<
|
|
281
|
+
<DocumentFragment>
|
|
282
282
|
<div
|
|
283
283
|
class="pf-c-options-menu"
|
|
284
284
|
data-ouia-component-id="OUIA-Generated-OptionsMenu-6"
|
|
@@ -300,11 +300,11 @@ exports[`optionsMenu plain 1`] = `
|
|
|
300
300
|
<span />
|
|
301
301
|
</button>
|
|
302
302
|
</div>
|
|
303
|
-
</
|
|
303
|
+
</DocumentFragment>
|
|
304
304
|
`;
|
|
305
305
|
|
|
306
306
|
exports[`optionsMenu regular 1`] = `
|
|
307
|
-
<
|
|
307
|
+
<DocumentFragment>
|
|
308
308
|
<div
|
|
309
309
|
class="pf-c-options-menu"
|
|
310
310
|
data-ouia-component-id="OUIA-Generated-OptionsMenu-1"
|
|
@@ -345,11 +345,11 @@ exports[`optionsMenu regular 1`] = `
|
|
|
345
345
|
</span>
|
|
346
346
|
</button>
|
|
347
347
|
</div>
|
|
348
|
-
</
|
|
348
|
+
</DocumentFragment>
|
|
349
349
|
`;
|
|
350
350
|
|
|
351
351
|
exports[`optionsMenu right aligned + open up 1`] = `
|
|
352
|
-
<
|
|
352
|
+
<DocumentFragment>
|
|
353
353
|
<div
|
|
354
354
|
class="pf-c-options-menu pf-m-top pf-m-align-right"
|
|
355
355
|
data-ouia-component-id="OUIA-Generated-OptionsMenu-4"
|
|
@@ -390,11 +390,11 @@ exports[`optionsMenu right aligned + open up 1`] = `
|
|
|
390
390
|
</span>
|
|
391
391
|
</button>
|
|
392
392
|
</div>
|
|
393
|
-
</
|
|
393
|
+
</DocumentFragment>
|
|
394
394
|
`;
|
|
395
395
|
|
|
396
396
|
exports[`optionsMenu right aligned 1`] = `
|
|
397
|
-
<
|
|
397
|
+
<DocumentFragment>
|
|
398
398
|
<div
|
|
399
399
|
class="pf-c-options-menu pf-m-align-right"
|
|
400
400
|
data-ouia-component-id="OUIA-Generated-OptionsMenu-2"
|
|
@@ -435,11 +435,11 @@ exports[`optionsMenu right aligned 1`] = `
|
|
|
435
435
|
</span>
|
|
436
436
|
</button>
|
|
437
437
|
</div>
|
|
438
|
-
</
|
|
438
|
+
</DocumentFragment>
|
|
439
439
|
`;
|
|
440
440
|
|
|
441
441
|
exports[`optionsMenu text 1`] = `
|
|
442
|
-
<
|
|
442
|
+
<DocumentFragment>
|
|
443
443
|
<div
|
|
444
444
|
class="pf-c-options-menu"
|
|
445
445
|
data-ouia-component-id="OUIA-Generated-OptionsMenu-7"
|
|
@@ -471,5 +471,5 @@ exports[`optionsMenu text 1`] = `
|
|
|
471
471
|
</button>
|
|
472
472
|
</div>
|
|
473
473
|
</div>
|
|
474
|
-
</
|
|
474
|
+
</DocumentFragment>
|
|
475
475
|
`;
|
|
@@ -8,6 +8,8 @@ import { OverflowMenuControl } from '../../OverflowMenuControl';
|
|
|
8
8
|
import {} from '../..';
|
|
9
9
|
|
|
10
10
|
it('OverflowMenuControl should match snapshot (auto-generated)', () => {
|
|
11
|
-
const
|
|
12
|
-
|
|
11
|
+
const { asFragment } = render(
|
|
12
|
+
<OverflowMenuControl children={'any'} className={'string'} hasAdditionalOptions={true} />
|
|
13
|
+
);
|
|
14
|
+
expect(asFragment()).toMatchSnapshot();
|
|
13
15
|
});
|
|
@@ -7,11 +7,11 @@ import { DropdownArrowContext } from '../../../Dropdown';
|
|
|
7
7
|
|
|
8
8
|
describe('OverflowMenuDropdownItem', () => {
|
|
9
9
|
it('should match snapshot', () => {
|
|
10
|
-
const
|
|
10
|
+
const { asFragment } = render(
|
|
11
11
|
<DropdownArrowContext.Provider value={{ sendRef: jest.fn(), keyHandler: undefined }}>
|
|
12
12
|
<OverflowMenuDropdownItem children={'any'} isShared={false} />
|
|
13
13
|
</DropdownArrowContext.Provider>
|
|
14
14
|
);
|
|
15
|
-
expect(
|
|
15
|
+
expect(asFragment()).toMatchSnapshot();
|
|
16
16
|
});
|
|
17
17
|
});
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`OverflowMenuControl should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
class="pf-c-overflow-menu__control string"
|
|
7
7
|
>
|
|
8
|
-
|
|
9
|
-
any
|
|
10
|
-
|
|
8
|
+
any
|
|
11
9
|
</div>
|
|
12
|
-
</
|
|
10
|
+
</DocumentFragment>
|
|
13
11
|
`;
|