@patternfly/react-core 4.206.5 → 4.206.6
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 +8 -0
- package/dist/umd/react-core.css +39 -39
- 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/__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/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
|
@@ -13,7 +13,10 @@ const options = [
|
|
|
13
13
|
{
|
|
14
14
|
name: 'Application 1',
|
|
15
15
|
id: 'App1',
|
|
16
|
-
children: [
|
|
16
|
+
children: [
|
|
17
|
+
{ name: 'Settings', id: 'App1Settings' },
|
|
18
|
+
{ name: 'Current', id: 'App1Current' }
|
|
19
|
+
]
|
|
17
20
|
},
|
|
18
21
|
{
|
|
19
22
|
name: 'Application 2',
|
|
@@ -41,7 +44,10 @@ const options = [
|
|
|
41
44
|
{
|
|
42
45
|
name: 'Application 3',
|
|
43
46
|
id: 'App3',
|
|
44
|
-
children: [
|
|
47
|
+
children: [
|
|
48
|
+
{ name: 'Settings', id: 'App3Settings' },
|
|
49
|
+
{ name: 'Current', id: 'App3Current' }
|
|
50
|
+
]
|
|
45
51
|
}
|
|
46
52
|
]
|
|
47
53
|
},
|
|
@@ -68,7 +74,10 @@ const flagOptions = [
|
|
|
68
74
|
{
|
|
69
75
|
name: 'Application 1',
|
|
70
76
|
id: 'App1',
|
|
71
|
-
children: [
|
|
77
|
+
children: [
|
|
78
|
+
{ name: 'Settings', id: 'App1Settings' },
|
|
79
|
+
{ name: 'Current', id: 'App1Current' }
|
|
80
|
+
]
|
|
72
81
|
},
|
|
73
82
|
{
|
|
74
83
|
name: 'Application 2',
|
|
@@ -103,7 +112,10 @@ const flagOptions = [
|
|
|
103
112
|
{
|
|
104
113
|
name: 'Application 3',
|
|
105
114
|
id: 'App3',
|
|
106
|
-
children: [
|
|
115
|
+
children: [
|
|
116
|
+
{ name: 'Settings', id: 'App3Settings' },
|
|
117
|
+
{ name: 'Current', id: 'App3Current' }
|
|
118
|
+
]
|
|
107
119
|
}
|
|
108
120
|
]
|
|
109
121
|
},
|
|
@@ -123,45 +135,45 @@ const active = [
|
|
|
123
135
|
{
|
|
124
136
|
name: 'Application 1',
|
|
125
137
|
id: 'App1',
|
|
126
|
-
children: [
|
|
138
|
+
children: [
|
|
139
|
+
{ name: 'Settings', id: 'App1Settings' },
|
|
140
|
+
{ name: 'Current', id: 'App1Current' }
|
|
141
|
+
]
|
|
127
142
|
}
|
|
128
143
|
];
|
|
129
144
|
|
|
130
145
|
describe('tree view', () => {
|
|
131
146
|
test('renders basic successfully', () => {
|
|
132
|
-
const
|
|
133
|
-
expect(
|
|
147
|
+
const { asFragment } = render(<TreeView data={options} onSelect={jest.fn()} />);
|
|
148
|
+
expect(asFragment()).toMatchSnapshot();
|
|
134
149
|
});
|
|
135
150
|
|
|
136
151
|
test('renders active successfully', () => {
|
|
137
|
-
const
|
|
138
|
-
expect(
|
|
152
|
+
const { asFragment } = render(<TreeView data={options} activeItems={active} onSelect={jest.fn()} />);
|
|
153
|
+
expect(asFragment()).toMatchSnapshot();
|
|
139
154
|
});
|
|
140
155
|
|
|
141
156
|
test('renders search successfully', () => {
|
|
142
|
-
const
|
|
143
|
-
<TreeViewSearch
|
|
144
|
-
onSearch={jest.fn()}
|
|
145
|
-
id='input-search'
|
|
146
|
-
name='search-input'
|
|
147
|
-
aria-label='Search input example'
|
|
148
|
-
/>
|
|
157
|
+
const { asFragment } = render(
|
|
158
|
+
<TreeViewSearch onSearch={jest.fn()} id="input-search" name="search-input" aria-label="Search input example" />
|
|
149
159
|
);
|
|
150
|
-
expect(
|
|
160
|
+
expect(asFragment()).toMatchSnapshot();
|
|
151
161
|
});
|
|
152
162
|
|
|
153
163
|
test('renders toolbar successfully', () => {
|
|
154
|
-
const
|
|
155
|
-
|
|
164
|
+
const { asFragment } = render(
|
|
165
|
+
<TreeView data={options} activeItems={active} onSelect={jest.fn()} toolbar={<div>test</div>} />
|
|
166
|
+
);
|
|
167
|
+
expect(asFragment()).toMatchSnapshot();
|
|
156
168
|
});
|
|
157
169
|
|
|
158
170
|
test('renders checkboxes successfully', () => {
|
|
159
|
-
const
|
|
160
|
-
expect(
|
|
171
|
+
const { asFragment } = render(<TreeView data={options} activeItems={active} onSelect={jest.fn()} hasChecks />);
|
|
172
|
+
expect(asFragment()).toMatchSnapshot();
|
|
161
173
|
});
|
|
162
174
|
|
|
163
175
|
test('renders icons successfully', () => {
|
|
164
|
-
const
|
|
176
|
+
const { asFragment } = render(
|
|
165
177
|
<TreeView
|
|
166
178
|
data={options}
|
|
167
179
|
activeItems={active}
|
|
@@ -170,31 +182,31 @@ describe('tree view', () => {
|
|
|
170
182
|
expandedIcon={<FolderOpenIcon />}
|
|
171
183
|
/>
|
|
172
184
|
);
|
|
173
|
-
expect(
|
|
185
|
+
expect(asFragment()).toMatchSnapshot();
|
|
174
186
|
});
|
|
175
187
|
|
|
176
188
|
test('renders badges successfully', () => {
|
|
177
|
-
const
|
|
178
|
-
expect(
|
|
189
|
+
const { asFragment } = render(<TreeView data={options} activeItems={active} onSelect={jest.fn()} hasBadges />);
|
|
190
|
+
expect(asFragment()).toMatchSnapshot();
|
|
179
191
|
});
|
|
180
192
|
|
|
181
193
|
test('renders individual flag options successfully', () => {
|
|
182
|
-
const
|
|
183
|
-
expect(
|
|
194
|
+
const { asFragment } = render(<TreeView data={flagOptions} activeItems={active} onSelect={jest.fn()} />);
|
|
195
|
+
expect(asFragment()).toMatchSnapshot();
|
|
184
196
|
});
|
|
185
197
|
});
|
|
186
198
|
|
|
187
199
|
test('renders guides successfully', () => {
|
|
188
|
-
const
|
|
189
|
-
|
|
200
|
+
const { asFragment } = render(<TreeView data={options} onSelect={jest.fn()} hasGuides={true} />);
|
|
201
|
+
expect(asFragment()).toMatchSnapshot();
|
|
190
202
|
});
|
|
191
203
|
|
|
192
204
|
test('renders compact successfully', () => {
|
|
193
|
-
const
|
|
194
|
-
|
|
205
|
+
const { asFragment } = render(<TreeView data={options} onSelect={jest.fn()} variant="compact" />);
|
|
206
|
+
expect(asFragment()).toMatchSnapshot();
|
|
195
207
|
});
|
|
196
208
|
|
|
197
209
|
test('renders compact no background successfully', () => {
|
|
198
|
-
const
|
|
199
|
-
|
|
200
|
-
});
|
|
210
|
+
const { asFragment } = render(<TreeView data={options} onSelect={jest.fn()} variant="compactNoBackground" />);
|
|
211
|
+
expect(asFragment()).toMatchSnapshot();
|
|
212
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`renders compact no background successfully 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
class="pf-c-tree-view pf-m-compact pf-m-no-background"
|
|
7
7
|
>
|
|
@@ -323,11 +323,11 @@ exports[`renders compact no background successfully 1`] = `
|
|
|
323
323
|
</li>
|
|
324
324
|
</ul>
|
|
325
325
|
</div>
|
|
326
|
-
</
|
|
326
|
+
</DocumentFragment>
|
|
327
327
|
`;
|
|
328
328
|
|
|
329
329
|
exports[`renders compact successfully 1`] = `
|
|
330
|
-
<
|
|
330
|
+
<DocumentFragment>
|
|
331
331
|
<div
|
|
332
332
|
class="pf-c-tree-view pf-m-compact"
|
|
333
333
|
>
|
|
@@ -649,11 +649,11 @@ exports[`renders compact successfully 1`] = `
|
|
|
649
649
|
</li>
|
|
650
650
|
</ul>
|
|
651
651
|
</div>
|
|
652
|
-
</
|
|
652
|
+
</DocumentFragment>
|
|
653
653
|
`;
|
|
654
654
|
|
|
655
655
|
exports[`renders guides successfully 1`] = `
|
|
656
|
-
<
|
|
656
|
+
<DocumentFragment>
|
|
657
657
|
<div
|
|
658
658
|
class="pf-c-tree-view pf-m-guides"
|
|
659
659
|
>
|
|
@@ -951,11 +951,11 @@ exports[`renders guides successfully 1`] = `
|
|
|
951
951
|
</li>
|
|
952
952
|
</ul>
|
|
953
953
|
</div>
|
|
954
|
-
</
|
|
954
|
+
</DocumentFragment>
|
|
955
955
|
`;
|
|
956
956
|
|
|
957
957
|
exports[`tree view renders active successfully 1`] = `
|
|
958
|
-
<
|
|
958
|
+
<DocumentFragment>
|
|
959
959
|
<div
|
|
960
960
|
class="pf-c-tree-view"
|
|
961
961
|
>
|
|
@@ -1253,11 +1253,11 @@ exports[`tree view renders active successfully 1`] = `
|
|
|
1253
1253
|
</li>
|
|
1254
1254
|
</ul>
|
|
1255
1255
|
</div>
|
|
1256
|
-
</
|
|
1256
|
+
</DocumentFragment>
|
|
1257
1257
|
`;
|
|
1258
1258
|
|
|
1259
1259
|
exports[`tree view renders badges successfully 1`] = `
|
|
1260
|
-
<
|
|
1260
|
+
<DocumentFragment>
|
|
1261
1261
|
<div
|
|
1262
1262
|
class="pf-c-tree-view"
|
|
1263
1263
|
>
|
|
@@ -1609,11 +1609,11 @@ exports[`tree view renders badges successfully 1`] = `
|
|
|
1609
1609
|
</li>
|
|
1610
1610
|
</ul>
|
|
1611
1611
|
</div>
|
|
1612
|
-
</
|
|
1612
|
+
</DocumentFragment>
|
|
1613
1613
|
`;
|
|
1614
1614
|
|
|
1615
1615
|
exports[`tree view renders basic successfully 1`] = `
|
|
1616
|
-
<
|
|
1616
|
+
<DocumentFragment>
|
|
1617
1617
|
<div
|
|
1618
1618
|
class="pf-c-tree-view"
|
|
1619
1619
|
>
|
|
@@ -1911,11 +1911,11 @@ exports[`tree view renders basic successfully 1`] = `
|
|
|
1911
1911
|
</li>
|
|
1912
1912
|
</ul>
|
|
1913
1913
|
</div>
|
|
1914
|
-
</
|
|
1914
|
+
</DocumentFragment>
|
|
1915
1915
|
`;
|
|
1916
1916
|
|
|
1917
1917
|
exports[`tree view renders checkboxes successfully 1`] = `
|
|
1918
|
-
<
|
|
1918
|
+
<DocumentFragment>
|
|
1919
1919
|
<div
|
|
1920
1920
|
class="pf-c-tree-view"
|
|
1921
1921
|
>
|
|
@@ -2285,11 +2285,11 @@ exports[`tree view renders checkboxes successfully 1`] = `
|
|
|
2285
2285
|
</li>
|
|
2286
2286
|
</ul>
|
|
2287
2287
|
</div>
|
|
2288
|
-
</
|
|
2288
|
+
</DocumentFragment>
|
|
2289
2289
|
`;
|
|
2290
2290
|
|
|
2291
2291
|
exports[`tree view renders icons successfully 1`] = `
|
|
2292
|
-
<
|
|
2292
|
+
<DocumentFragment>
|
|
2293
2293
|
<div
|
|
2294
2294
|
class="pf-c-tree-view"
|
|
2295
2295
|
>
|
|
@@ -2689,11 +2689,11 @@ exports[`tree view renders icons successfully 1`] = `
|
|
|
2689
2689
|
</li>
|
|
2690
2690
|
</ul>
|
|
2691
2691
|
</div>
|
|
2692
|
-
</
|
|
2692
|
+
</DocumentFragment>
|
|
2693
2693
|
`;
|
|
2694
2694
|
|
|
2695
2695
|
exports[`tree view renders individual flag options successfully 1`] = `
|
|
2696
|
-
<
|
|
2696
|
+
<DocumentFragment>
|
|
2697
2697
|
<div
|
|
2698
2698
|
class="pf-c-tree-view"
|
|
2699
2699
|
>
|
|
@@ -3065,11 +3065,11 @@ exports[`tree view renders individual flag options successfully 1`] = `
|
|
|
3065
3065
|
</li>
|
|
3066
3066
|
</ul>
|
|
3067
3067
|
</div>
|
|
3068
|
-
</
|
|
3068
|
+
</DocumentFragment>
|
|
3069
3069
|
`;
|
|
3070
3070
|
|
|
3071
3071
|
exports[`tree view renders search successfully 1`] = `
|
|
3072
|
-
<
|
|
3072
|
+
<DocumentFragment>
|
|
3073
3073
|
<div
|
|
3074
3074
|
class="pf-c-tree-view__search"
|
|
3075
3075
|
>
|
|
@@ -3081,11 +3081,11 @@ exports[`tree view renders search successfully 1`] = `
|
|
|
3081
3081
|
type="search"
|
|
3082
3082
|
/>
|
|
3083
3083
|
</div>
|
|
3084
|
-
</
|
|
3084
|
+
</DocumentFragment>
|
|
3085
3085
|
`;
|
|
3086
3086
|
|
|
3087
3087
|
exports[`tree view renders toolbar successfully 1`] = `
|
|
3088
|
-
<
|
|
3088
|
+
<DocumentFragment>
|
|
3089
3089
|
<div
|
|
3090
3090
|
class="pf-c-tree-view"
|
|
3091
3091
|
>
|
|
@@ -3389,5 +3389,5 @@ exports[`tree view renders toolbar successfully 1`] = `
|
|
|
3389
3389
|
</li>
|
|
3390
3390
|
</ul>
|
|
3391
3391
|
</div>
|
|
3392
|
-
</
|
|
3392
|
+
</DocumentFragment>
|
|
3393
3393
|
`;
|
|
@@ -3,16 +3,28 @@ import { render } from '@testing-library/react';
|
|
|
3
3
|
import { Truncate } from '../Truncate';
|
|
4
4
|
|
|
5
5
|
test('renders default truncation', () => {
|
|
6
|
-
const
|
|
7
|
-
|
|
6
|
+
const { asFragment } = render(
|
|
7
|
+
<Truncate content={'Vestibulum interdum risus et enim faucibus, sit amet molestie est accumsan.'} />
|
|
8
|
+
);
|
|
9
|
+
expect(asFragment()).toMatchSnapshot();
|
|
8
10
|
});
|
|
9
11
|
|
|
10
12
|
test('renders start truncation', () => {
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
+
const { asFragment } = render(
|
|
14
|
+
<Truncate
|
|
15
|
+
content={'Vestibulum interdum risus et enim faucibus, sit amet molestie est accumsan.'}
|
|
16
|
+
position={'start'}
|
|
17
|
+
/>
|
|
18
|
+
);
|
|
19
|
+
expect(asFragment()).toMatchSnapshot();
|
|
13
20
|
});
|
|
14
21
|
|
|
15
22
|
test('renders middle truncation', () => {
|
|
16
|
-
const
|
|
17
|
-
|
|
23
|
+
const { asFragment } = render(
|
|
24
|
+
<Truncate
|
|
25
|
+
content={'Vestibulum interdum risus et enim faucibus, sit amet molestie est accumsan.'}
|
|
26
|
+
position={'middle'}
|
|
27
|
+
/>
|
|
28
|
+
);
|
|
29
|
+
expect(asFragment()).toMatchSnapshot();
|
|
18
30
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`renders default truncation 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<span
|
|
6
6
|
class="pf-c-truncate"
|
|
7
7
|
>
|
|
@@ -11,11 +11,11 @@ exports[`renders default truncation 1`] = `
|
|
|
11
11
|
Vestibulum interdum risus et enim faucibus, sit amet molestie est accumsan.
|
|
12
12
|
</span>
|
|
13
13
|
</span>
|
|
14
|
-
</
|
|
14
|
+
</DocumentFragment>
|
|
15
15
|
`;
|
|
16
16
|
|
|
17
17
|
exports[`renders middle truncation 1`] = `
|
|
18
|
-
<
|
|
18
|
+
<DocumentFragment>
|
|
19
19
|
<span
|
|
20
20
|
class="pf-c-truncate"
|
|
21
21
|
>
|
|
@@ -30,20 +30,19 @@ exports[`renders middle truncation 1`] = `
|
|
|
30
30
|
cumsan.
|
|
31
31
|
</span>
|
|
32
32
|
</span>
|
|
33
|
-
</
|
|
33
|
+
</DocumentFragment>
|
|
34
34
|
`;
|
|
35
35
|
|
|
36
36
|
exports[`renders start truncation 1`] = `
|
|
37
|
-
<
|
|
37
|
+
<DocumentFragment>
|
|
38
38
|
<span
|
|
39
39
|
class="pf-c-truncate"
|
|
40
40
|
>
|
|
41
41
|
<span
|
|
42
42
|
class="pf-c-truncate__end"
|
|
43
43
|
>
|
|
44
|
-
Vestibulum interdum risus et enim faucibus, sit amet molestie est accumsan
|
|
45
|
-
|
|
44
|
+
Vestibulum interdum risus et enim faucibus, sit amet molestie est accumsan.
|
|
46
45
|
</span>
|
|
47
46
|
</span>
|
|
48
|
-
</
|
|
47
|
+
</DocumentFragment>
|
|
49
48
|
`;
|
|
@@ -8,7 +8,7 @@ import { WizardBody } from '../../WizardBody';
|
|
|
8
8
|
import {} from '../..';
|
|
9
9
|
|
|
10
10
|
it('WizardBody should match snapshot (auto-generated)', () => {
|
|
11
|
-
const
|
|
11
|
+
const { asFragment } = render(
|
|
12
12
|
<WizardBody
|
|
13
13
|
children={'any'}
|
|
14
14
|
hasNoBodyPadding={false}
|
|
@@ -17,5 +17,5 @@ it('WizardBody should match snapshot (auto-generated)', () => {
|
|
|
17
17
|
mainComponent={'div'}
|
|
18
18
|
/>
|
|
19
19
|
);
|
|
20
|
-
expect(
|
|
20
|
+
expect(asFragment()).toMatchSnapshot();
|
|
21
21
|
});
|
|
@@ -8,6 +8,6 @@ import { WizardFooter } from '../../WizardFooter';
|
|
|
8
8
|
import {} from '../..';
|
|
9
9
|
|
|
10
10
|
it('WizardFooter should match snapshot (auto-generated)', () => {
|
|
11
|
-
const
|
|
12
|
-
expect(
|
|
11
|
+
const { asFragment } = render(<WizardFooter children={'any'} />);
|
|
12
|
+
expect(asFragment()).toMatchSnapshot();
|
|
13
13
|
});
|
|
@@ -8,18 +8,18 @@ import { WizardFooterInternal } from '../../WizardFooterInternal';
|
|
|
8
8
|
import {} from '../..';
|
|
9
9
|
|
|
10
10
|
it('WizardFooterInternal should match snapshot (auto-generated)', () => {
|
|
11
|
-
const
|
|
11
|
+
const { asFragment } = render(
|
|
12
12
|
<WizardFooterInternal
|
|
13
13
|
onNext={'any'}
|
|
14
14
|
onBack={'any'}
|
|
15
15
|
onClose={'any'}
|
|
16
16
|
isValid={true}
|
|
17
17
|
firstStep={true}
|
|
18
|
-
activeStep={{
|
|
18
|
+
activeStep={{ name: 'some step' }}
|
|
19
19
|
nextButtonText={<div>ReactNode</div>}
|
|
20
20
|
backButtonText={<div>ReactNode</div>}
|
|
21
21
|
cancelButtonText={<div>ReactNode</div>}
|
|
22
22
|
/>
|
|
23
23
|
);
|
|
24
|
-
expect(
|
|
24
|
+
expect(asFragment()).toMatchSnapshot();
|
|
25
25
|
});
|
|
@@ -8,7 +8,7 @@ import { WizardHeader } from '../../WizardHeader';
|
|
|
8
8
|
import {} from '../..';
|
|
9
9
|
|
|
10
10
|
it('WizardHeader should match snapshot (auto-generated)', () => {
|
|
11
|
-
const
|
|
11
|
+
const { asFragment } = render(
|
|
12
12
|
<WizardHeader
|
|
13
13
|
onClose={() => undefined}
|
|
14
14
|
title={'string'}
|
|
@@ -19,5 +19,5 @@ it('WizardHeader should match snapshot (auto-generated)', () => {
|
|
|
19
19
|
descriptionId={'string'}
|
|
20
20
|
/>
|
|
21
21
|
);
|
|
22
|
-
expect(
|
|
22
|
+
expect(asFragment()).toMatchSnapshot();
|
|
23
23
|
});
|
|
@@ -8,8 +8,8 @@ import { WizardNav } from '../../WizardNav';
|
|
|
8
8
|
import {} from '../..';
|
|
9
9
|
|
|
10
10
|
it('WizardNav should match snapshot (auto-generated)', () => {
|
|
11
|
-
const
|
|
11
|
+
const { asFragment } = render(
|
|
12
12
|
<WizardNav children={'any'} aria-label={'string'} aria-labelledby={'string'} isOpen={false} returnList={false} />
|
|
13
13
|
);
|
|
14
|
-
expect(
|
|
14
|
+
expect(asFragment()).toMatchSnapshot();
|
|
15
15
|
});
|
|
@@ -8,7 +8,7 @@ import { WizardNavItem } from '../../WizardNavItem';
|
|
|
8
8
|
import {} from '../..';
|
|
9
9
|
|
|
10
10
|
it('WizardNavItem should match snapshot (auto-generated)', () => {
|
|
11
|
-
const
|
|
11
|
+
const { asFragment } = render(
|
|
12
12
|
<WizardNavItem
|
|
13
13
|
children={<>ReactNode</>}
|
|
14
14
|
content={''}
|
|
@@ -20,5 +20,5 @@ it('WizardNavItem should match snapshot (auto-generated)', () => {
|
|
|
20
20
|
href={'null'}
|
|
21
21
|
/>
|
|
22
22
|
);
|
|
23
|
-
expect(
|
|
23
|
+
expect(asFragment()).toMatchSnapshot();
|
|
24
24
|
});
|
|
@@ -8,11 +8,11 @@ import { WizardToggle } from '../../WizardToggle';
|
|
|
8
8
|
import {} from '../..';
|
|
9
9
|
|
|
10
10
|
it('WizardToggle should match snapshot (auto-generated)', () => {
|
|
11
|
-
const
|
|
11
|
+
const { asFragment } = render(
|
|
12
12
|
<WizardToggle
|
|
13
|
-
nav={(
|
|
13
|
+
nav={(_isWizardNavOpen: boolean) => undefined as React.ReactElement}
|
|
14
14
|
steps={[]}
|
|
15
|
-
activeStep={{
|
|
15
|
+
activeStep={{ name: 'some step' }}
|
|
16
16
|
children={<div>ReactNode</div>}
|
|
17
17
|
hasNoBodyPadding={false}
|
|
18
18
|
isNavOpen={true}
|
|
@@ -23,5 +23,5 @@ it('WizardToggle should match snapshot (auto-generated)', () => {
|
|
|
23
23
|
isInPage={true}
|
|
24
24
|
/>
|
|
25
25
|
);
|
|
26
|
-
expect(
|
|
26
|
+
expect(asFragment()).toMatchSnapshot();
|
|
27
27
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`WizardBody should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
aria-label="null"
|
|
7
7
|
aria-labelledby="string"
|
|
@@ -13,5 +13,5 @@ exports[`WizardBody should match snapshot (auto-generated) 1`] = `
|
|
|
13
13
|
any
|
|
14
14
|
</div>
|
|
15
15
|
</div>
|
|
16
|
-
</
|
|
16
|
+
</DocumentFragment>
|
|
17
17
|
`;
|
package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardFooterInternal.test.tsx.snap
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`WizardFooterInternal should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<footer
|
|
6
6
|
class="pf-c-wizard__footer"
|
|
7
7
|
>
|
|
@@ -47,5 +47,5 @@ exports[`WizardFooterInternal should match snapshot (auto-generated) 1`] = `
|
|
|
47
47
|
</button>
|
|
48
48
|
</div>
|
|
49
49
|
</footer>
|
|
50
|
-
</
|
|
50
|
+
</DocumentFragment>
|
|
51
51
|
`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`WizardHeader should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
class="pf-c-wizard__header"
|
|
7
7
|
>
|
|
@@ -18,11 +18,11 @@ exports[`WizardHeader should match snapshot (auto-generated) 1`] = `
|
|
|
18
18
|
<p
|
|
19
19
|
class="pf-c-wizard__description"
|
|
20
20
|
id="string"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
/>
|
|
22
|
+
<div>
|
|
23
|
+
ReactNode
|
|
24
|
+
</div>
|
|
25
|
+
<p />
|
|
26
26
|
</div>
|
|
27
|
-
</
|
|
27
|
+
</DocumentFragment>
|
|
28
28
|
`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`WizardNav should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<nav
|
|
6
6
|
aria-label="string"
|
|
7
7
|
aria-labelledby="string"
|
|
@@ -13,5 +13,5 @@ exports[`WizardNav should match snapshot (auto-generated) 1`] = `
|
|
|
13
13
|
any
|
|
14
14
|
</ol>
|
|
15
15
|
</nav>
|
|
16
|
-
</
|
|
16
|
+
</DocumentFragment>
|
|
17
17
|
`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`WizardNavItem should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<li
|
|
6
6
|
class="pf-c-wizard__nav-item"
|
|
7
7
|
>
|
|
@@ -11,5 +11,5 @@ exports[`WizardNavItem should match snapshot (auto-generated) 1`] = `
|
|
|
11
11
|
/>
|
|
12
12
|
ReactNode
|
|
13
13
|
</li>
|
|
14
|
-
</
|
|
14
|
+
</DocumentFragment>
|
|
15
15
|
`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`WizardToggle should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<button
|
|
6
6
|
aria-expanded="true"
|
|
7
7
|
aria-label="'Wizard Toggle'"
|
|
@@ -57,5 +57,5 @@ exports[`WizardToggle should match snapshot (auto-generated) 1`] = `
|
|
|
57
57
|
ReactNode
|
|
58
58
|
</div>
|
|
59
59
|
</div>
|
|
60
|
-
</
|
|
60
|
+
</DocumentFragment>
|
|
61
61
|
`;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
2
|
import { render, screen } from '@testing-library/react';
|
|
4
|
-
import '@testing-library/jest-dom';
|
|
5
|
-
|
|
6
3
|
import { Wizard, WizardStepFunctionType, WizardStep } from '../Wizard';
|
|
7
4
|
|
|
8
5
|
describe('Wizard', () => {
|
|
@@ -96,7 +93,7 @@ describe('Wizard', () => {
|
|
|
96
93
|
test('wiz with title', () => {
|
|
97
94
|
const steps: WizardStep[] = [{ name: 'A', component: <p>Step 1</p> }];
|
|
98
95
|
|
|
99
|
-
render(<Wizard title="Wizard" description="This wizard has a title" steps={steps}
|
|
96
|
+
render(<Wizard title="Wizard" description="This wizard has a title" steps={steps} />);
|
|
100
97
|
expect(screen.getByRole('heading', { name: 'Wizard' })).toBeInTheDocument();
|
|
101
98
|
});
|
|
102
99
|
|