@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`skeleton circle skeleton 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
class="pf-c-skeleton pf-m-circle"
|
|
7
7
|
>
|
|
@@ -9,11 +9,11 @@ exports[`skeleton circle skeleton 1`] = `
|
|
|
9
9
|
class="pf-u-screen-reader"
|
|
10
10
|
/>
|
|
11
11
|
</div>
|
|
12
|
-
</
|
|
12
|
+
</DocumentFragment>
|
|
13
13
|
`;
|
|
14
14
|
|
|
15
15
|
exports[`skeleton default 1`] = `
|
|
16
|
-
<
|
|
16
|
+
<DocumentFragment>
|
|
17
17
|
<div
|
|
18
18
|
class="pf-c-skeleton"
|
|
19
19
|
>
|
|
@@ -21,11 +21,11 @@ exports[`skeleton default 1`] = `
|
|
|
21
21
|
class="pf-u-screen-reader"
|
|
22
22
|
/>
|
|
23
23
|
</div>
|
|
24
|
-
</
|
|
24
|
+
</DocumentFragment>
|
|
25
25
|
`;
|
|
26
26
|
|
|
27
27
|
exports[`skeleton skeleton with 2xl font size 1`] = `
|
|
28
|
-
<
|
|
28
|
+
<DocumentFragment>
|
|
29
29
|
<div
|
|
30
30
|
class="pf-c-skeleton pf-m-text-2xl"
|
|
31
31
|
>
|
|
@@ -33,11 +33,11 @@ exports[`skeleton skeleton with 2xl font size 1`] = `
|
|
|
33
33
|
class="pf-u-screen-reader"
|
|
34
34
|
/>
|
|
35
35
|
</div>
|
|
36
|
-
</
|
|
36
|
+
</DocumentFragment>
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
exports[`skeleton skeleton with 3xl font size 1`] = `
|
|
40
|
-
<
|
|
40
|
+
<DocumentFragment>
|
|
41
41
|
<div
|
|
42
42
|
class="pf-c-skeleton pf-m-text-3xl"
|
|
43
43
|
>
|
|
@@ -45,11 +45,11 @@ exports[`skeleton skeleton with 3xl font size 1`] = `
|
|
|
45
45
|
class="pf-u-screen-reader"
|
|
46
46
|
/>
|
|
47
47
|
</div>
|
|
48
|
-
</
|
|
48
|
+
</DocumentFragment>
|
|
49
49
|
`;
|
|
50
50
|
|
|
51
51
|
exports[`skeleton skeleton with 4xl font size 1`] = `
|
|
52
|
-
<
|
|
52
|
+
<DocumentFragment>
|
|
53
53
|
<div
|
|
54
54
|
class="pf-c-skeleton pf-m-text-4xl"
|
|
55
55
|
>
|
|
@@ -57,11 +57,11 @@ exports[`skeleton skeleton with 4xl font size 1`] = `
|
|
|
57
57
|
class="pf-u-screen-reader"
|
|
58
58
|
/>
|
|
59
59
|
</div>
|
|
60
|
-
</
|
|
60
|
+
</DocumentFragment>
|
|
61
61
|
`;
|
|
62
62
|
|
|
63
63
|
exports[`skeleton skeleton with 25% height 1`] = `
|
|
64
|
-
<
|
|
64
|
+
<DocumentFragment>
|
|
65
65
|
<div
|
|
66
66
|
class="pf-c-skeleton"
|
|
67
67
|
style="--pf-c-skeleton--Height: 25%;"
|
|
@@ -70,11 +70,11 @@ exports[`skeleton skeleton with 25% height 1`] = `
|
|
|
70
70
|
class="pf-u-screen-reader"
|
|
71
71
|
/>
|
|
72
72
|
</div>
|
|
73
|
-
</
|
|
73
|
+
</DocumentFragment>
|
|
74
74
|
`;
|
|
75
75
|
|
|
76
76
|
exports[`skeleton skeleton with 25% width 1`] = `
|
|
77
|
-
<
|
|
77
|
+
<DocumentFragment>
|
|
78
78
|
<div
|
|
79
79
|
class="pf-c-skeleton"
|
|
80
80
|
style="--pf-c-skeleton--Width: 25%;"
|
|
@@ -83,11 +83,11 @@ exports[`skeleton skeleton with 25% width 1`] = `
|
|
|
83
83
|
class="pf-u-screen-reader"
|
|
84
84
|
/>
|
|
85
85
|
</div>
|
|
86
|
-
</
|
|
86
|
+
</DocumentFragment>
|
|
87
87
|
`;
|
|
88
88
|
|
|
89
89
|
exports[`skeleton skeleton with 33% height 1`] = `
|
|
90
|
-
<
|
|
90
|
+
<DocumentFragment>
|
|
91
91
|
<div
|
|
92
92
|
class="pf-c-skeleton"
|
|
93
93
|
style="--pf-c-skeleton--Height: 33%;"
|
|
@@ -96,11 +96,11 @@ exports[`skeleton skeleton with 33% height 1`] = `
|
|
|
96
96
|
class="pf-u-screen-reader"
|
|
97
97
|
/>
|
|
98
98
|
</div>
|
|
99
|
-
</
|
|
99
|
+
</DocumentFragment>
|
|
100
100
|
`;
|
|
101
101
|
|
|
102
102
|
exports[`skeleton skeleton with 33% width 1`] = `
|
|
103
|
-
<
|
|
103
|
+
<DocumentFragment>
|
|
104
104
|
<div
|
|
105
105
|
class="pf-c-skeleton"
|
|
106
106
|
style="--pf-c-skeleton--Width: 33%;"
|
|
@@ -109,11 +109,11 @@ exports[`skeleton skeleton with 33% width 1`] = `
|
|
|
109
109
|
class="pf-u-screen-reader"
|
|
110
110
|
/>
|
|
111
111
|
</div>
|
|
112
|
-
</
|
|
112
|
+
</DocumentFragment>
|
|
113
113
|
`;
|
|
114
114
|
|
|
115
115
|
exports[`skeleton skeleton with 50% height 1`] = `
|
|
116
|
-
<
|
|
116
|
+
<DocumentFragment>
|
|
117
117
|
<div
|
|
118
118
|
class="pf-c-skeleton"
|
|
119
119
|
style="--pf-c-skeleton--Height: 50%;"
|
|
@@ -122,11 +122,11 @@ exports[`skeleton skeleton with 50% height 1`] = `
|
|
|
122
122
|
class="pf-u-screen-reader"
|
|
123
123
|
/>
|
|
124
124
|
</div>
|
|
125
|
-
</
|
|
125
|
+
</DocumentFragment>
|
|
126
126
|
`;
|
|
127
127
|
|
|
128
128
|
exports[`skeleton skeleton with 50% width 1`] = `
|
|
129
|
-
<
|
|
129
|
+
<DocumentFragment>
|
|
130
130
|
<div
|
|
131
131
|
class="pf-c-skeleton"
|
|
132
132
|
style="--pf-c-skeleton--Width: 50%;"
|
|
@@ -135,11 +135,11 @@ exports[`skeleton skeleton with 50% width 1`] = `
|
|
|
135
135
|
class="pf-u-screen-reader"
|
|
136
136
|
/>
|
|
137
137
|
</div>
|
|
138
|
-
</
|
|
138
|
+
</DocumentFragment>
|
|
139
139
|
`;
|
|
140
140
|
|
|
141
141
|
exports[`skeleton skeleton with 66% height 1`] = `
|
|
142
|
-
<
|
|
142
|
+
<DocumentFragment>
|
|
143
143
|
<div
|
|
144
144
|
class="pf-c-skeleton"
|
|
145
145
|
style="--pf-c-skeleton--Height: 66%;"
|
|
@@ -148,11 +148,11 @@ exports[`skeleton skeleton with 66% height 1`] = `
|
|
|
148
148
|
class="pf-u-screen-reader"
|
|
149
149
|
/>
|
|
150
150
|
</div>
|
|
151
|
-
</
|
|
151
|
+
</DocumentFragment>
|
|
152
152
|
`;
|
|
153
153
|
|
|
154
154
|
exports[`skeleton skeleton with 66% width 1`] = `
|
|
155
|
-
<
|
|
155
|
+
<DocumentFragment>
|
|
156
156
|
<div
|
|
157
157
|
class="pf-c-skeleton"
|
|
158
158
|
style="--pf-c-skeleton--Width: 66%;"
|
|
@@ -161,11 +161,11 @@ exports[`skeleton skeleton with 66% width 1`] = `
|
|
|
161
161
|
class="pf-u-screen-reader"
|
|
162
162
|
/>
|
|
163
163
|
</div>
|
|
164
|
-
</
|
|
164
|
+
</DocumentFragment>
|
|
165
165
|
`;
|
|
166
166
|
|
|
167
167
|
exports[`skeleton skeleton with 75% height 1`] = `
|
|
168
|
-
<
|
|
168
|
+
<DocumentFragment>
|
|
169
169
|
<div
|
|
170
170
|
class="pf-c-skeleton"
|
|
171
171
|
style="--pf-c-skeleton--Height: 75%;"
|
|
@@ -174,11 +174,11 @@ exports[`skeleton skeleton with 75% height 1`] = `
|
|
|
174
174
|
class="pf-u-screen-reader"
|
|
175
175
|
/>
|
|
176
176
|
</div>
|
|
177
|
-
</
|
|
177
|
+
</DocumentFragment>
|
|
178
178
|
`;
|
|
179
179
|
|
|
180
180
|
exports[`skeleton skeleton with 75% width 1`] = `
|
|
181
|
-
<
|
|
181
|
+
<DocumentFragment>
|
|
182
182
|
<div
|
|
183
183
|
class="pf-c-skeleton"
|
|
184
184
|
style="--pf-c-skeleton--Width: 75%;"
|
|
@@ -187,11 +187,11 @@ exports[`skeleton skeleton with 75% width 1`] = `
|
|
|
187
187
|
class="pf-u-screen-reader"
|
|
188
188
|
/>
|
|
189
189
|
</div>
|
|
190
|
-
</
|
|
190
|
+
</DocumentFragment>
|
|
191
191
|
`;
|
|
192
192
|
|
|
193
193
|
exports[`skeleton skeleton with 100% height 1`] = `
|
|
194
|
-
<
|
|
194
|
+
<DocumentFragment>
|
|
195
195
|
<div
|
|
196
196
|
class="pf-c-skeleton"
|
|
197
197
|
style="--pf-c-skeleton--Height: 100%;"
|
|
@@ -200,11 +200,11 @@ exports[`skeleton skeleton with 100% height 1`] = `
|
|
|
200
200
|
class="pf-u-screen-reader"
|
|
201
201
|
/>
|
|
202
202
|
</div>
|
|
203
|
-
</
|
|
203
|
+
</DocumentFragment>
|
|
204
204
|
`;
|
|
205
205
|
|
|
206
206
|
exports[`skeleton skeleton with lg font size 1`] = `
|
|
207
|
-
<
|
|
207
|
+
<DocumentFragment>
|
|
208
208
|
<div
|
|
209
209
|
class="pf-c-skeleton pf-m-text-lg"
|
|
210
210
|
>
|
|
@@ -212,11 +212,11 @@ exports[`skeleton skeleton with lg font size 1`] = `
|
|
|
212
212
|
class="pf-u-screen-reader"
|
|
213
213
|
/>
|
|
214
214
|
</div>
|
|
215
|
-
</
|
|
215
|
+
</DocumentFragment>
|
|
216
216
|
`;
|
|
217
217
|
|
|
218
218
|
exports[`skeleton skeleton with md font size 1`] = `
|
|
219
|
-
<
|
|
219
|
+
<DocumentFragment>
|
|
220
220
|
<div
|
|
221
221
|
class="pf-c-skeleton pf-m-text-md"
|
|
222
222
|
>
|
|
@@ -224,11 +224,11 @@ exports[`skeleton skeleton with md font size 1`] = `
|
|
|
224
224
|
class="pf-u-screen-reader"
|
|
225
225
|
/>
|
|
226
226
|
</div>
|
|
227
|
-
</
|
|
227
|
+
</DocumentFragment>
|
|
228
228
|
`;
|
|
229
229
|
|
|
230
230
|
exports[`skeleton skeleton with sm font size 1`] = `
|
|
231
|
-
<
|
|
231
|
+
<DocumentFragment>
|
|
232
232
|
<div
|
|
233
233
|
class="pf-c-skeleton pf-m-text-sm"
|
|
234
234
|
>
|
|
@@ -236,11 +236,11 @@ exports[`skeleton skeleton with sm font size 1`] = `
|
|
|
236
236
|
class="pf-u-screen-reader"
|
|
237
237
|
/>
|
|
238
238
|
</div>
|
|
239
|
-
</
|
|
239
|
+
</DocumentFragment>
|
|
240
240
|
`;
|
|
241
241
|
|
|
242
242
|
exports[`skeleton skeleton with xl font size 1`] = `
|
|
243
|
-
<
|
|
243
|
+
<DocumentFragment>
|
|
244
244
|
<div
|
|
245
245
|
class="pf-c-skeleton pf-m-text-xl"
|
|
246
246
|
>
|
|
@@ -248,11 +248,11 @@ exports[`skeleton skeleton with xl font size 1`] = `
|
|
|
248
248
|
class="pf-u-screen-reader"
|
|
249
249
|
/>
|
|
250
250
|
</div>
|
|
251
|
-
</
|
|
251
|
+
</DocumentFragment>
|
|
252
252
|
`;
|
|
253
253
|
|
|
254
254
|
exports[`skeleton square skeleton 1`] = `
|
|
255
|
-
<
|
|
255
|
+
<DocumentFragment>
|
|
256
256
|
<div
|
|
257
257
|
class="pf-c-skeleton pf-m-square"
|
|
258
258
|
>
|
|
@@ -260,5 +260,5 @@ exports[`skeleton square skeleton 1`] = `
|
|
|
260
260
|
class="pf-u-screen-reader"
|
|
261
261
|
/>
|
|
262
262
|
</div>
|
|
263
|
-
</
|
|
263
|
+
</DocumentFragment>
|
|
264
264
|
`;
|
|
@@ -5,13 +5,13 @@ import { SkipToContent } from '../SkipToContent';
|
|
|
5
5
|
const props = {};
|
|
6
6
|
|
|
7
7
|
test('Verify Skip To Content', () => {
|
|
8
|
-
const
|
|
8
|
+
const { asFragment } = render(<SkipToContent href="#main-content" {...props} />);
|
|
9
9
|
// Add a useful assertion here.
|
|
10
|
-
expect(
|
|
10
|
+
expect(asFragment()).toMatchSnapshot();
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
test('Verify Skip To Content if forced to display', () => {
|
|
14
|
-
const
|
|
14
|
+
const { asFragment } = render(<SkipToContent href="#main-content" {...props} show />);
|
|
15
15
|
// Add a useful assertion here.
|
|
16
|
-
expect(
|
|
16
|
+
expect(asFragment()).toMatchSnapshot();
|
|
17
17
|
});
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Verify Skip To Content 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<a
|
|
6
6
|
class="pf-c-button pf-m-primary pf-c-skip-to-content"
|
|
7
7
|
href="#main-content"
|
|
8
8
|
/>
|
|
9
|
-
</
|
|
9
|
+
</DocumentFragment>
|
|
10
10
|
`;
|
|
11
11
|
|
|
12
12
|
exports[`Verify Skip To Content if forced to display 1`] = `
|
|
13
|
-
<
|
|
13
|
+
<DocumentFragment>
|
|
14
14
|
<a
|
|
15
15
|
class="pf-c-button pf-m-primary pf-c-skip-to-content"
|
|
16
16
|
href="#main-content"
|
|
17
17
|
/>
|
|
18
|
-
</
|
|
18
|
+
</DocumentFragment>
|
|
19
19
|
`;
|
|
@@ -5,17 +5,17 @@ import { Button } from '../../Button';
|
|
|
5
5
|
|
|
6
6
|
describe('slider', () => {
|
|
7
7
|
test('renders continuous slider', () => {
|
|
8
|
-
const
|
|
9
|
-
expect(
|
|
8
|
+
const { asFragment } = render(<Slider value={50} isInputVisible inputValue={50} />);
|
|
9
|
+
expect(asFragment()).toMatchSnapshot();
|
|
10
10
|
});
|
|
11
11
|
|
|
12
12
|
test('renders discrete slider', () => {
|
|
13
|
-
const
|
|
14
|
-
expect(
|
|
13
|
+
const { asFragment } = render(<Slider value={50} min={10} max={110} step={2} isInputVisible inputValue={50} />);
|
|
14
|
+
expect(asFragment()).toMatchSnapshot();
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
test('renders discrete slider with custom steps', () => {
|
|
18
|
-
const
|
|
18
|
+
const { asFragment } = render(
|
|
19
19
|
<Slider
|
|
20
20
|
value={50}
|
|
21
21
|
customSteps={[
|
|
@@ -27,11 +27,11 @@ describe('slider', () => {
|
|
|
27
27
|
]}
|
|
28
28
|
/>
|
|
29
29
|
);
|
|
30
|
-
expect(
|
|
30
|
+
expect(asFragment()).toMatchSnapshot();
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
test('renders continuous slider with custom steps', () => {
|
|
34
|
-
const
|
|
34
|
+
const { asFragment } = render(
|
|
35
35
|
<Slider
|
|
36
36
|
value={50}
|
|
37
37
|
areCustomStepsContinuous
|
|
@@ -41,37 +41,41 @@ describe('slider', () => {
|
|
|
41
41
|
]}
|
|
42
42
|
/>
|
|
43
43
|
);
|
|
44
|
-
expect(
|
|
44
|
+
expect(asFragment()).toMatchSnapshot();
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
test('renders slider with input', () => {
|
|
48
|
-
const
|
|
49
|
-
|
|
48
|
+
const { asFragment } = render(
|
|
49
|
+
<Slider value={50} isInputVisible inputValue={50} inputLabel="%" inputPosition="right" />
|
|
50
|
+
);
|
|
51
|
+
expect(asFragment()).toMatchSnapshot();
|
|
50
52
|
});
|
|
51
53
|
|
|
52
54
|
test('renders slider with input above thumb', () => {
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
+
const { asFragment } = render(
|
|
56
|
+
<Slider value={50} isInputVisible inputValue={50} inputLabel="%" inputPosition="aboveThumb" />
|
|
57
|
+
);
|
|
58
|
+
expect(asFragment()).toMatchSnapshot();
|
|
55
59
|
});
|
|
56
60
|
|
|
57
61
|
test('renders slider with input actions', () => {
|
|
58
|
-
const
|
|
62
|
+
const { asFragment } = render(
|
|
59
63
|
<Slider
|
|
60
64
|
value={50}
|
|
61
65
|
leftActions={<Button variant="plain" aria-label="Minus" />}
|
|
62
66
|
rightActions={<Button variant="plain" aria-label="Plus" />}
|
|
63
67
|
/>
|
|
64
68
|
);
|
|
65
|
-
expect(
|
|
69
|
+
expect(asFragment()).toMatchSnapshot();
|
|
66
70
|
});
|
|
67
71
|
|
|
68
72
|
test('renders disabled slider', () => {
|
|
69
|
-
const
|
|
70
|
-
expect(
|
|
73
|
+
const { asFragment } = render(<Slider value={50} isDisabled />);
|
|
74
|
+
expect(asFragment()).toMatchSnapshot();
|
|
71
75
|
});
|
|
72
76
|
|
|
73
77
|
test('renders slider with tooltip on thumb', () => {
|
|
74
|
-
const
|
|
75
|
-
expect(
|
|
78
|
+
const { asFragment } = render(<Slider value={50} hasTooltipOverThumb />);
|
|
79
|
+
expect(asFragment()).toMatchSnapshot();
|
|
76
80
|
});
|
|
77
81
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`slider renders continuous slider 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
class="pf-c-slider"
|
|
7
7
|
style="--pf-c-slider--value: 50%; --pf-c-slider__value--c-form-control--width-chars: 2;"
|
|
@@ -68,11 +68,11 @@ exports[`slider renders continuous slider 1`] = `
|
|
|
68
68
|
/>
|
|
69
69
|
</div>
|
|
70
70
|
</div>
|
|
71
|
-
</
|
|
71
|
+
</DocumentFragment>
|
|
72
72
|
`;
|
|
73
73
|
|
|
74
74
|
exports[`slider renders continuous slider with custom steps 1`] = `
|
|
75
|
-
<
|
|
75
|
+
<DocumentFragment>
|
|
76
76
|
<div
|
|
77
77
|
class="pf-c-slider"
|
|
78
78
|
style="--pf-c-slider--value: 50%; --pf-c-slider__value--c-form-control--width-chars: 1;"
|
|
@@ -131,11 +131,11 @@ exports[`slider renders continuous slider with custom steps 1`] = `
|
|
|
131
131
|
/>
|
|
132
132
|
</div>
|
|
133
133
|
</div>
|
|
134
|
-
</
|
|
134
|
+
</DocumentFragment>
|
|
135
135
|
`;
|
|
136
136
|
|
|
137
137
|
exports[`slider renders disabled slider 1`] = `
|
|
138
|
-
<
|
|
138
|
+
<DocumentFragment>
|
|
139
139
|
<div
|
|
140
140
|
class="pf-c-slider pf-m-disabled"
|
|
141
141
|
style="--pf-c-slider--value: 50%; --pf-c-slider__value--c-form-control--width-chars: 1;"
|
|
@@ -188,11 +188,11 @@ exports[`slider renders disabled slider 1`] = `
|
|
|
188
188
|
/>
|
|
189
189
|
</div>
|
|
190
190
|
</div>
|
|
191
|
-
</
|
|
191
|
+
</DocumentFragment>
|
|
192
192
|
`;
|
|
193
193
|
|
|
194
194
|
exports[`slider renders discrete slider 1`] = `
|
|
195
|
-
<
|
|
195
|
+
<DocumentFragment>
|
|
196
196
|
<div
|
|
197
197
|
class="pf-c-slider"
|
|
198
198
|
style="--pf-c-slider--value: 40%; --pf-c-slider__value--c-form-control--width-chars: 2;"
|
|
@@ -259,11 +259,11 @@ exports[`slider renders discrete slider 1`] = `
|
|
|
259
259
|
/>
|
|
260
260
|
</div>
|
|
261
261
|
</div>
|
|
262
|
-
</
|
|
262
|
+
</DocumentFragment>
|
|
263
263
|
`;
|
|
264
264
|
|
|
265
265
|
exports[`slider renders discrete slider with custom steps 1`] = `
|
|
266
|
-
<
|
|
266
|
+
<DocumentFragment>
|
|
267
267
|
<div
|
|
268
268
|
class="pf-c-slider"
|
|
269
269
|
style="--pf-c-slider--value: 50%; --pf-c-slider__value--c-form-control--width-chars: 1;"
|
|
@@ -351,11 +351,11 @@ exports[`slider renders discrete slider with custom steps 1`] = `
|
|
|
351
351
|
/>
|
|
352
352
|
</div>
|
|
353
353
|
</div>
|
|
354
|
-
</
|
|
354
|
+
</DocumentFragment>
|
|
355
355
|
`;
|
|
356
356
|
|
|
357
357
|
exports[`slider renders slider with input 1`] = `
|
|
358
|
-
<
|
|
358
|
+
<DocumentFragment>
|
|
359
359
|
<div
|
|
360
360
|
class="pf-c-slider"
|
|
361
361
|
style="--pf-c-slider--value: 50%; --pf-c-slider__value--c-form-control--width-chars: 2;"
|
|
@@ -426,17 +426,16 @@ exports[`slider renders slider with input 1`] = `
|
|
|
426
426
|
<span
|
|
427
427
|
class="pf-c-input-group__text pf-m-plain"
|
|
428
428
|
>
|
|
429
|
-
|
|
430
|
-
%
|
|
429
|
+
%
|
|
431
430
|
</span>
|
|
432
431
|
</div>
|
|
433
432
|
</div>
|
|
434
433
|
</div>
|
|
435
|
-
</
|
|
434
|
+
</DocumentFragment>
|
|
436
435
|
`;
|
|
437
436
|
|
|
438
437
|
exports[`slider renders slider with input above thumb 1`] = `
|
|
439
|
-
<
|
|
438
|
+
<DocumentFragment>
|
|
440
439
|
<div
|
|
441
440
|
class="pf-c-slider"
|
|
442
441
|
style="--pf-c-slider--value: 50%; --pf-c-slider__value--c-form-control--width-chars: 2;"
|
|
@@ -506,18 +505,17 @@ exports[`slider renders slider with input above thumb 1`] = `
|
|
|
506
505
|
<span
|
|
507
506
|
class="pf-c-input-group__text pf-m-plain"
|
|
508
507
|
>
|
|
509
|
-
|
|
510
|
-
%
|
|
508
|
+
%
|
|
511
509
|
</span>
|
|
512
510
|
</div>
|
|
513
511
|
</div>
|
|
514
512
|
</div>
|
|
515
513
|
</div>
|
|
516
|
-
</
|
|
514
|
+
</DocumentFragment>
|
|
517
515
|
`;
|
|
518
516
|
|
|
519
517
|
exports[`slider renders slider with input actions 1`] = `
|
|
520
|
-
<
|
|
518
|
+
<DocumentFragment>
|
|
521
519
|
<div
|
|
522
520
|
class="pf-c-slider"
|
|
523
521
|
style="--pf-c-slider--value: 50%; --pf-c-slider__value--c-form-control--width-chars: 1;"
|
|
@@ -596,11 +594,11 @@ exports[`slider renders slider with input actions 1`] = `
|
|
|
596
594
|
/>
|
|
597
595
|
</div>
|
|
598
596
|
</div>
|
|
599
|
-
</
|
|
597
|
+
</DocumentFragment>
|
|
600
598
|
`;
|
|
601
599
|
|
|
602
600
|
exports[`slider renders slider with tooltip on thumb 1`] = `
|
|
603
|
-
<
|
|
601
|
+
<DocumentFragment>
|
|
604
602
|
<div
|
|
605
603
|
class="pf-c-slider"
|
|
606
604
|
style="--pf-c-slider--value: 50%; --pf-c-slider__value--c-form-control--width-chars: 1;"
|
|
@@ -653,5 +651,5 @@ exports[`slider renders slider with tooltip on thumb 1`] = `
|
|
|
653
651
|
/>
|
|
654
652
|
</div>
|
|
655
653
|
</div>
|
|
656
|
-
</
|
|
654
|
+
</DocumentFragment>
|
|
657
655
|
`;
|
|
@@ -3,26 +3,26 @@ import { render } from '@testing-library/react';
|
|
|
3
3
|
import { Spinner } from '../Spinner';
|
|
4
4
|
|
|
5
5
|
test('simple spinner', () => {
|
|
6
|
-
const
|
|
7
|
-
expect(
|
|
6
|
+
const { asFragment } = render(<Spinner />);
|
|
7
|
+
expect(asFragment()).toMatchSnapshot();
|
|
8
8
|
});
|
|
9
9
|
|
|
10
10
|
test('small spinner', () => {
|
|
11
|
-
const
|
|
12
|
-
expect(
|
|
11
|
+
const { asFragment } = render(<Spinner size="sm" />);
|
|
12
|
+
expect(asFragment()).toMatchSnapshot();
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
test('medium spinner', () => {
|
|
16
|
-
const
|
|
17
|
-
expect(
|
|
16
|
+
const { asFragment } = render(<Spinner size="md" />);
|
|
17
|
+
expect(asFragment()).toMatchSnapshot();
|
|
18
18
|
});
|
|
19
19
|
|
|
20
20
|
test('large spinner', () => {
|
|
21
|
-
const
|
|
22
|
-
expect(
|
|
21
|
+
const { asFragment } = render(<Spinner size="lg" />);
|
|
22
|
+
expect(asFragment()).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
test('extra large spinner', () => {
|
|
26
|
-
const
|
|
27
|
-
expect(
|
|
26
|
+
const { asFragment } = render(<Spinner size="xl" />);
|
|
27
|
+
expect(asFragment()).toMatchSnapshot();
|
|
28
28
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`extra large spinner 1`] = `
|
|
4
|
-
<
|
|
4
|
+
<DocumentFragment>
|
|
5
5
|
<span
|
|
6
6
|
aria-label="Contents"
|
|
7
7
|
aria-valuetext="Loading..."
|
|
@@ -18,11 +18,11 @@ exports[`extra large spinner 1`] = `
|
|
|
18
18
|
class="pf-c-spinner__tail-ball"
|
|
19
19
|
/>
|
|
20
20
|
</span>
|
|
21
|
-
</
|
|
21
|
+
</DocumentFragment>
|
|
22
22
|
`;
|
|
23
23
|
|
|
24
24
|
exports[`large spinner 1`] = `
|
|
25
|
-
<
|
|
25
|
+
<DocumentFragment>
|
|
26
26
|
<span
|
|
27
27
|
aria-label="Contents"
|
|
28
28
|
aria-valuetext="Loading..."
|
|
@@ -39,11 +39,11 @@ exports[`large spinner 1`] = `
|
|
|
39
39
|
class="pf-c-spinner__tail-ball"
|
|
40
40
|
/>
|
|
41
41
|
</span>
|
|
42
|
-
</
|
|
42
|
+
</DocumentFragment>
|
|
43
43
|
`;
|
|
44
44
|
|
|
45
45
|
exports[`medium spinner 1`] = `
|
|
46
|
-
<
|
|
46
|
+
<DocumentFragment>
|
|
47
47
|
<span
|
|
48
48
|
aria-label="Contents"
|
|
49
49
|
aria-valuetext="Loading..."
|
|
@@ -60,11 +60,11 @@ exports[`medium spinner 1`] = `
|
|
|
60
60
|
class="pf-c-spinner__tail-ball"
|
|
61
61
|
/>
|
|
62
62
|
</span>
|
|
63
|
-
</
|
|
63
|
+
</DocumentFragment>
|
|
64
64
|
`;
|
|
65
65
|
|
|
66
66
|
exports[`simple spinner 1`] = `
|
|
67
|
-
<
|
|
67
|
+
<DocumentFragment>
|
|
68
68
|
<span
|
|
69
69
|
aria-label="Contents"
|
|
70
70
|
aria-valuetext="Loading..."
|
|
@@ -81,11 +81,11 @@ exports[`simple spinner 1`] = `
|
|
|
81
81
|
class="pf-c-spinner__tail-ball"
|
|
82
82
|
/>
|
|
83
83
|
</span>
|
|
84
|
-
</
|
|
84
|
+
</DocumentFragment>
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
exports[`small spinner 1`] = `
|
|
88
|
-
<
|
|
88
|
+
<DocumentFragment>
|
|
89
89
|
<span
|
|
90
90
|
aria-label="Contents"
|
|
91
91
|
aria-valuetext="Loading..."
|
|
@@ -102,5 +102,5 @@ exports[`small spinner 1`] = `
|
|
|
102
102
|
class="pf-c-spinner__tail-ball"
|
|
103
103
|
/>
|
|
104
104
|
</span>
|
|
105
|
-
</
|
|
105
|
+
</DocumentFragment>
|
|
106
106
|
`;
|