@patternfly/react-core 4.202.30 → 4.202.33
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 +24 -0
- package/dist/esm/components/Wizard/Wizard.d.ts +2 -0
- package/dist/esm/components/Wizard/Wizard.d.ts.map +1 -1
- package/dist/esm/components/Wizard/Wizard.js +3 -2
- package/dist/esm/components/Wizard/Wizard.js.map +1 -1
- package/dist/esm/components/Wizard/WizardHeader.d.ts +2 -0
- package/dist/esm/components/Wizard/WizardHeader.d.ts.map +1 -1
- package/dist/esm/components/Wizard/WizardHeader.js +2 -2
- package/dist/esm/components/Wizard/WizardHeader.js.map +1 -1
- package/dist/js/components/Wizard/Wizard.d.ts +2 -0
- package/dist/js/components/Wizard/Wizard.d.ts.map +1 -1
- package/dist/js/components/Wizard/Wizard.js +3 -2
- package/dist/js/components/Wizard/Wizard.js.map +1 -1
- package/dist/js/components/Wizard/WizardHeader.d.ts +2 -0
- package/dist/js/components/Wizard/WizardHeader.d.ts.map +1 -1
- package/dist/js/components/Wizard/WizardHeader.js +2 -2
- package/dist/js/components/Wizard/WizardHeader.js.map +1 -1
- package/dist/umd/react-core.js +5 -4
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +5 -5
- package/src/components/Dropdown/__tests__/DropdownToggleCheckbox.test.tsx +1 -1
- package/src/components/Page/__tests__/Page.test.tsx +225 -205
- package/src/components/Page/__tests__/__snapshots__/Page.test.tsx.snap +1088 -2059
- package/src/components/Pagination/__tests__/Pagination.test.tsx +235 -283
- package/src/components/Pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +143 -577
- package/src/components/Radio/__tests__/Radio.test.tsx +38 -44
- package/src/components/Radio/__tests__/__snapshots__/Radio.test.tsx.snap +30 -30
- package/src/components/SearchInput/__tests__/SearchInput.test.tsx +87 -68
- package/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap +230 -137
- package/src/components/Select/__tests__/Select.test.tsx +238 -195
- package/src/components/Select/__tests__/SelectToggle.test.tsx +68 -130
- package/src/components/Select/__tests__/__snapshots__/Select.test.tsx.snap +978 -2149
- package/src/components/Select/__tests__/__snapshots__/SelectToggle.test.tsx.snap +3 -3
- package/src/components/SimpleList/__tests__/SimpleList.test.tsx +29 -32
- package/src/components/SimpleList/__tests__/__snapshots__/SimpleList.test.tsx.snap +4 -366
- package/src/components/Switch/__tests__/Switch.test.tsx +85 -75
- package/src/components/Switch/__tests__/__snapshots__/Switch.test.tsx.snap +30 -40
- package/src/components/TextArea/__tests__/TextArea.test.tsx +98 -103
- package/src/components/TextArea/__tests__/__snapshots__/TextArea.test.tsx.snap +24 -103
- package/src/components/TextInput/__tests__/TextInput.test.tsx +71 -70
- package/src/components/TextInput/__tests__/__snapshots__/TextInput.test.tsx.snap +15 -103
- package/src/components/TextInputGroup/__tests__/TextInputGroup.test.tsx +65 -39
- package/src/components/TextInputGroup/__tests__/__snapshots__/TextInputGroup.test.tsx.snap +53 -14
- package/src/components/TimePicker/__tests__/TimePicker.test.tsx +113 -110
- package/src/components/Title/__tests__/Title.test.tsx +21 -20
- package/src/components/Title/__tests__/__snapshots__/Title.test.tsx.snap +24 -30
- package/src/components/ToggleGroup/__tests__/ToggleGroup.test.tsx +43 -39
- package/src/components/ToggleGroup/__tests__/__snapshots__/ToggleGroup.test.tsx.snap +20 -19
- package/src/components/Wizard/Wizard.tsx +5 -0
- package/src/components/Wizard/WizardHeader.tsx +5 -2
- package/src/components/Wizard/__tests__/Wizard.test.tsx +195 -189
- package/src/components/Wizard/__tests__/__snapshots__/Wizard.test.tsx.snap +131 -10
- package/src/components/Wizard/examples/Wizard.md +168 -103
- package/src/helpers/__tests__/util.test.ts +113 -0
- package/src/layouts/Bullseye/__tests__/Bullseye.test.tsx +25 -25
- package/src/layouts/Bullseye/__tests__/__snapshots__/Bullseye.test.tsx.snap +3 -5
- package/src/layouts/Flex/__tests__/Flex.test.tsx +159 -96
- package/src/layouts/Flex/__tests__/__snapshots__/Flex.test.tsx.snap +9 -17
- package/src/components/AboutModal/__tests__/Generated/AboutModal.test.tsx +0 -27
- package/src/components/AboutModal/__tests__/Generated/AboutModalBox.test.tsx +0 -13
- package/src/components/AboutModal/__tests__/Generated/AboutModalBoxBrand.test.tsx +0 -13
- package/src/components/AboutModal/__tests__/Generated/AboutModalBoxCloseButton.test.tsx +0 -13
- package/src/components/AboutModal/__tests__/Generated/AboutModalBoxContent.test.tsx +0 -21
- package/src/components/AboutModal/__tests__/Generated/AboutModalBoxHeader.test.tsx +0 -13
- package/src/components/AboutModal/__tests__/Generated/AboutModalBoxHero.test.tsx +0 -13
- package/src/components/AboutModal/__tests__/Generated/AboutModalContainer.test.tsx +0 -27
- package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModal.test.tsx.snap +0 -3
- package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBox.test.tsx.snap +0 -15
- package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxBrand.test.tsx.snap +0 -15
- package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxCloseButton.test.tsx.snap +0 -33
- package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxContent.test.tsx.snap +0 -27
- package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxHeader.test.tsx.snap +0 -19
- package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxHero.test.tsx.snap +0 -10
- package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalContainer.test.tsx.snap +0 -3
- package/src/components/Accordion/__tests__/Generated/Accordion.test.tsx +0 -22
- package/src/components/Accordion/__tests__/Generated/__snapshots__/Accordion.test.tsx.snap +0 -12
- package/src/components/Alert/__tests__/Generated/Alert.test.tsx +0 -26
- package/src/components/Alert/__tests__/Generated/__snapshots__/Alert.test.tsx.snap +0 -47
- package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncher.test.tsx +0 -36
- package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncher.test.tsx.snap +0 -30
- package/src/components/Avatar/__tests__/Generated/Avatar.test.tsx +0 -13
- package/src/components/Avatar/__tests__/Generated/__snapshots__/Avatar.test.tsx.snap +0 -11
- package/src/components/Backdrop/__tests__/Generated/Backdrop.test.tsx +0 -13
- package/src/components/Backdrop/__tests__/Generated/__snapshots__/Backdrop.test.tsx.snap +0 -11
- package/src/components/BackgroundImage/__tests__/Generated/BackgroundImage.test.tsx +0 -13
- package/src/components/BackgroundImage/__tests__/Generated/__snapshots__/BackgroundImage.test.tsx.snap +0 -47
- package/src/components/Badge/__tests__/Generated/Badge.test.tsx +0 -13
- package/src/components/Badge/__tests__/Generated/__snapshots__/Badge.test.tsx.snap +0 -9
- package/src/components/Brand/__tests__/Generated/Brand.test.tsx +0 -13
- package/src/components/Brand/__tests__/Generated/__snapshots__/Brand.test.tsx.snap +0 -11
- package/src/components/Breadcrumb/__tests__/Generated/Breadcrumb.test.tsx +0 -13
- package/src/components/Breadcrumb/__tests__/Generated/BreadcrumbHeading.test.tsx +0 -15
- package/src/components/Breadcrumb/__tests__/Generated/BreadcrumbItem.test.tsx +0 -22
- package/src/components/Breadcrumb/__tests__/Generated/__snapshots__/Breadcrumb.test.tsx.snap +0 -19
- package/src/components/Breadcrumb/__tests__/Generated/__snapshots__/BreadcrumbHeading.test.tsx.snap +0 -22
- package/src/components/Breadcrumb/__tests__/Generated/__snapshots__/BreadcrumbItem.test.tsx.snap +0 -17
- package/src/components/Button/__tests__/Generated/Button.test.tsx +0 -31
- package/src/components/Button/__tests__/Generated/__snapshots__/Button.test.tsx.snap +0 -17
- package/src/components/Card/__tests__/Generated/Card.test.tsx +0 -15
- package/src/components/Card/__tests__/Generated/CardBody.test.tsx +0 -13
- package/src/components/Card/__tests__/Generated/CardFooter.test.tsx +0 -13
- package/src/components/Card/__tests__/Generated/CardHead.test.tsx +0 -13
- package/src/components/Card/__tests__/Generated/CardHeader.test.tsx +0 -13
- package/src/components/Card/__tests__/Generated/__snapshots__/Card.test.tsx.snap +0 -15
- package/src/components/Card/__tests__/Generated/__snapshots__/CardBody.test.tsx.snap +0 -11
- package/src/components/Card/__tests__/Generated/__snapshots__/CardFooter.test.tsx.snap +0 -11
- package/src/components/Card/__tests__/Generated/__snapshots__/CardHead.test.tsx.snap +0 -11
- package/src/components/Card/__tests__/Generated/__snapshots__/CardHeader.test.tsx.snap +0 -11
- package/src/components/Checkbox/__tests__/Generated/Checkbox.test.tsx +0 -26
- package/src/components/Checkbox/__tests__/Generated/__snapshots__/Checkbox.test.tsx.snap +0 -35
- package/src/components/Chip/__tests__/Generated/Chip.test.tsx +0 -24
- package/src/components/Chip/__tests__/Generated/__snapshots__/Chip.test.tsx.snap +0 -46
- package/src/components/ChipGroup/__tests__/Generated/ChipGroup.test.tsx +0 -24
- package/src/components/ChipGroup/__tests__/Generated/__snapshots__/ChipGroup.test.tsx.snap +0 -33
- package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopyButton.test.tsx +0 -26
- package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopyExpanded.test.tsx +0 -21
- package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopyToggle.test.tsx +0 -22
- package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopyButton.test.tsx.snap +0 -31
- package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopyExpanded.test.tsx.snap +0 -14
- package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopyToggle.test.tsx.snap +0 -32
- package/src/components/ContextSelector/__tests__/Generated/ContextSelector.test.tsx +0 -28
- package/src/components/ContextSelector/__tests__/Generated/ContextSelectorItem.test.tsx +0 -23
- package/src/components/ContextSelector/__tests__/Generated/ContextSelectorMenuList.test.tsx +0 -13
- package/src/components/ContextSelector/__tests__/Generated/ContextSelectorToggle.test.tsx +0 -26
- package/src/components/ContextSelector/__tests__/Generated/__snapshots__/ContextSelector.test.tsx.snap +0 -49
- package/src/components/ContextSelector/__tests__/Generated/__snapshots__/ContextSelectorItem.test.tsx.snap +0 -15
- package/src/components/ContextSelector/__tests__/Generated/__snapshots__/ContextSelectorMenuList.test.tsx.snap +0 -12
- package/src/components/ContextSelector/__tests__/Generated/__snapshots__/ContextSelectorToggle.test.tsx.snap +0 -35
- package/src/components/DataList/__tests__/Generated/DataList.test.tsx +0 -21
- package/src/components/DataList/__tests__/Generated/__snapshots__/DataList.test.tsx.snap +0 -12
- package/src/components/Divider/__tests__/Generated/Divider.test.tsx +0 -13
- package/src/components/Divider/__tests__/Generated/__snapshots__/Divider.test.tsx.snap +0 -9
- package/src/components/Drawer/__tests__/Generated/Drawer.test.tsx +0 -13
- package/src/components/Drawer/__tests__/Generated/__snapshots__/Drawer.test.tsx.snap +0 -13
- package/src/components/Dropdown/__tests__/Generated/Dropdown.test.tsx +0 -27
- package/src/components/Dropdown/__tests__/Generated/DropdownGroup.test.tsx +0 -13
- package/src/components/Dropdown/__tests__/Generated/DropdownToggle.test.tsx +0 -34
- package/src/components/Dropdown/__tests__/Generated/DropdownToggleAction.test.tsx +0 -22
- package/src/components/Dropdown/__tests__/Generated/DropdownToggleCheckbox.test.tsx +0 -25
- package/src/components/Dropdown/__tests__/Generated/Toggle.test.tsx +0 -31
- package/src/components/Dropdown/__tests__/Generated/__snapshots__/Dropdown.test.tsx.snap +0 -27
- package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownGroup.test.tsx.snap +0 -16
- package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownToggle.test.tsx.snap +0 -34
- package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownToggleAction.test.tsx.snap +0 -15
- package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownToggleCheckbox.test.tsx.snap +0 -30
- package/src/components/Dropdown/__tests__/Generated/__snapshots__/Toggle.test.tsx.snap +0 -17
- package/src/components/EmptyState/__tests__/Generated/EmptyState.test.tsx +0 -13
- package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyState.test.tsx.snap +0 -17
- package/src/components/ExpandableSection/__tests__/Generated/ExpandableSection.test.tsx +0 -24
- package/src/components/ExpandableSection/__tests__/Generated/__snapshots__/ExpandableSection.test.tsx.snap +0 -46
- package/src/components/Form/__tests__/Generated/ActionGroup.test.tsx +0 -13
- package/src/components/Form/__tests__/Generated/Form.test.tsx +0 -13
- package/src/components/Form/__tests__/Generated/FormGroup.test.tsx +0 -27
- package/src/components/Form/__tests__/Generated/FormHelperText.test.tsx +0 -13
- package/src/components/Form/__tests__/Generated/__snapshots__/ActionGroup.test.tsx.snap +0 -19
- package/src/components/Form/__tests__/Generated/__snapshots__/Form.test.tsx.snap +0 -12
- package/src/components/Form/__tests__/Generated/__snapshots__/FormGroup.test.tsx.snap +0 -38
- package/src/components/Form/__tests__/Generated/__snapshots__/FormHelperText.test.tsx.snap +0 -11
- package/src/components/FormSelect/__tests__/Generated/FormSelect.test.tsx +0 -26
- package/src/components/FormSelect/__tests__/Generated/__snapshots__/FormSelect.test.tsx.snap +0 -18
- package/src/components/InputGroup/__tests__/Generated/InputGroup.test.tsx +0 -13
- package/src/components/InputGroup/__tests__/Generated/InputGroupText.test.tsx +0 -13
- package/src/components/InputGroup/__tests__/Generated/__snapshots__/InputGroup.test.tsx.snap +0 -13
- package/src/components/InputGroup/__tests__/Generated/__snapshots__/InputGroupText.test.tsx.snap +0 -13
- package/src/components/Label/__tests__/Generated/Label.test.tsx +0 -13
- package/src/components/Label/__tests__/Generated/__snapshots__/Label.test.tsx.snap +0 -17
- package/src/components/LabelGroup/__tests__/Generated/LabelGroup.test.tsx +0 -29
- package/src/components/LabelGroup/__tests__/Generated/__snapshots__/LabelGroup.test.tsx.snap +0 -34
- package/src/components/LoginPage/__tests__/Generated/Login.test.tsx +0 -13
- package/src/components/LoginPage/__tests__/Generated/LoginFooterItem.test.tsx +0 -13
- package/src/components/LoginPage/__tests__/Generated/LoginForm.test.tsx +0 -34
- package/src/components/LoginPage/__tests__/Generated/LoginMainBody.test.tsx +0 -13
- package/src/components/LoginPage/__tests__/Generated/LoginMainFooter.test.tsx +0 -21
- package/src/components/LoginPage/__tests__/Generated/LoginMainFooterBandItem.test.tsx +0 -13
- package/src/components/LoginPage/__tests__/Generated/LoginMainFooterLinksItem.test.tsx +0 -22
- package/src/components/LoginPage/__tests__/Generated/LoginMainHeader.test.tsx +0 -13
- package/src/components/LoginPage/__tests__/Generated/LoginPage.test.tsx +0 -30
- package/src/components/LoginPage/__tests__/Generated/__snapshots__/Login.test.tsx.snap +0 -19
- package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginFooterItem.test.tsx.snap +0 -7
- package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginForm.test.tsx.snap +0 -150
- package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainBody.test.tsx.snap +0 -11
- package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainFooter.test.tsx.snap +0 -11
- package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainFooterBandItem.test.tsx.snap +0 -11
- package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainFooterLinksItem.test.tsx.snap +0 -17
- package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainHeader.test.tsx.snap +0 -24
- package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginPage.test.tsx.snap +0 -60
- package/src/components/Modal/__tests__/Generated/Modal.test.tsx +0 -35
- package/src/components/Modal/__tests__/Generated/ModalBox.test.tsx +0 -22
- package/src/components/Modal/__tests__/Generated/ModalBoxBody.test.tsx +0 -13
- package/src/components/Modal/__tests__/Generated/ModalBoxCloseButton.test.tsx +0 -13
- package/src/components/Modal/__tests__/Generated/ModalBoxDescription.test.tsx +0 -13
- package/src/components/Modal/__tests__/Generated/ModalBoxFooter.test.tsx +0 -13
- package/src/components/Modal/__tests__/Generated/ModalBoxHeader.test.tsx +0 -13
- package/src/components/Modal/__tests__/Generated/ModalContent.test.tsx +0 -36
- package/src/components/Modal/__tests__/Generated/__snapshots__/Modal.test.tsx.snap +0 -3
- package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBox.test.tsx.snap +0 -18
- package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxBody.test.tsx.snap +0 -11
- package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxCloseButton.test.tsx.snap +0 -29
- package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxDescription.test.tsx.snap +0 -12
- package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxFooter.test.tsx.snap +0 -11
- package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxHeader.test.tsx.snap +0 -11
- package/src/components/Modal/__tests__/Generated/__snapshots__/ModalContent.test.tsx.snap +0 -3
- package/src/components/Nav/__tests__/Generated/Nav.test.tsx +0 -22
- package/src/components/Nav/__tests__/Generated/__snapshots__/Nav.test.tsx.snap +0 -15
- package/src/components/NotificationBadge/__tests__/Generated/NotificationBadge.test.tsx +0 -15
- package/src/components/NotificationBadge/__tests__/Generated/__snapshots__/NotificationBadge.test.tsx.snap +0 -23
- package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawer.test.tsx +0 -13
- package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerBody.test.tsx +0 -13
- package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerGroup.test.tsx +0 -23
- package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerGroupList.test.tsx +0 -13
- package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerHeader.test.tsx +0 -15
- package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerList.test.tsx +0 -13
- package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerListItem.test.tsx +0 -22
- package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerListItemBody.test.tsx +0 -15
- package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerListItemHeader.test.tsx +0 -22
- package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawer.test.tsx.snap +0 -13
- package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerBody.test.tsx.snap +0 -13
- package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerGroup.test.tsx.snap +0 -51
- package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerGroupList.test.tsx.snap +0 -13
- package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerHeader.test.tsx.snap +0 -31
- package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerList.test.tsx.snap +0 -13
- package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerListItem.test.tsx.snap +0 -14
- package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerListItemBody.test.tsx.snap +0 -20
- package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerListItemHeader.test.tsx.snap +0 -44
- package/src/components/OptionsMenu/__tests__/Generated/OptionsMenu.test.tsx +0 -26
- package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenu.test.tsx.snap +0 -24
- package/src/components/OverflowMenu/__tests__/Generated/OverflowMenu.test.tsx +0 -13
- package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuContent.test.tsx +0 -13
- package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuGroup.test.tsx +0 -15
- package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuItem.test.tsx +0 -13
- package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenu.test.tsx.snap +0 -11
- package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuContent.test.tsx.snap +0 -11
- package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuGroup.test.tsx.snap +0 -11
- package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuItem.test.tsx.snap +0 -13
- package/src/components/Page/__tests__/Generated/Page.test.tsx +0 -28
- package/src/components/Page/__tests__/Generated/PageHeader.test.tsx +0 -28
- package/src/components/Page/__tests__/Generated/PageSection.test.tsx +0 -22
- package/src/components/Page/__tests__/Generated/__snapshots__/Page.test.tsx.snap +0 -19
- package/src/components/Page/__tests__/Generated/__snapshots__/PageHeader.test.tsx.snap +0 -10
- package/src/components/Page/__tests__/Generated/__snapshots__/PageSection.test.tsx.snap +0 -13
- package/src/components/Pagination/__tests__/Generated/Pagination.test.tsx +0 -58
- package/src/components/Pagination/__tests__/Generated/__snapshots__/Pagination.test.tsx.snap +0 -205
- package/src/components/Popover/__tests__/Generated/Popover.test.tsx +0 -40
- package/src/components/Popover/__tests__/Generated/__snapshots__/Popover.test.tsx.snap +0 -9
- package/src/components/Progress/__tests__/Generated/Progress.test.tsx +0 -27
- package/src/components/Progress/__tests__/Generated/__snapshots__/Progress.test.tsx.snap +0 -63
- package/src/components/Radio/__tests__/Generated/Radio.test.tsx +0 -29
- package/src/components/Radio/__tests__/Generated/__snapshots__/Radio.test.tsx.snap +0 -36
- package/src/components/Select/__tests__/Generated/Select.test.tsx +0 -49
- package/src/components/Select/__tests__/Generated/SelectToggle.test.tsx +0 -34
- package/src/components/Select/__tests__/Generated/__snapshots__/Select.test.tsx.snap +0 -48
- package/src/components/Select/__tests__/Generated/__snapshots__/SelectToggle.test.tsx.snap +0 -36
- package/src/components/SimpleList/__tests__/Generated/SimpleList.test.tsx +0 -22
- package/src/components/SimpleList/__tests__/Generated/__snapshots__/SimpleList.test.tsx.snap +0 -13
- package/src/components/SkipToContent/__tests__/Generated/SkipToContent.test.tsx +0 -15
- package/src/components/SkipToContent/__tests__/Generated/__snapshots__/SkipToContent.test.tsx.snap +0 -15
- package/src/components/Spinner/__tests__/Generated/Spinner.test.tsx +0 -13
- package/src/components/Spinner/__tests__/Generated/__snapshots__/Spinner.test.tsx.snap +0 -22
- package/src/components/Switch/__tests__/Generated/Switch.test.tsx +0 -24
- package/src/components/Switch/__tests__/Generated/__snapshots__/Switch.test.tsx.snap +0 -36
- package/src/components/Tabs/__tests__/Generated/TabButton.test.tsx +0 -20
- package/src/components/Tabs/__tests__/Generated/Tabs.test.tsx +0 -29
- package/src/components/Tabs/__tests__/Generated/__snapshots__/TabButton.test.tsx.snap +0 -16
- package/src/components/Tabs/__tests__/Generated/__snapshots__/Tabs.test.tsx.snap +0 -75
- package/src/components/Text/__tests__/Generated/Text.test.tsx +0 -13
- package/src/components/Text/__tests__/Generated/__snapshots__/Text.test.tsx.snap +0 -15
- package/src/components/TextArea/__tests__/Generated/TextArea.test.tsx +0 -23
- package/src/components/TextArea/__tests__/Generated/__snapshots__/TextArea.test.tsx.snap +0 -13
- package/src/components/Title/__tests__/Generated/Title.test.tsx +0 -13
- package/src/components/Title/__tests__/Generated/__snapshots__/Title.test.tsx.snap +0 -12
- package/src/components/Toolbar/__tests__/Generated/Toolbar.test.tsx +0 -24
- package/src/components/Toolbar/__tests__/Generated/ToolbarItem.test.tsx +0 -20
- package/src/components/Toolbar/__tests__/Generated/__snapshots__/Toolbar.test.tsx.snap +0 -25
- package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarItem.test.tsx.snap +0 -14
- package/src/components/Tooltip/__tests__/Generated/Tooltip.test.tsx +0 -33
- package/src/components/Tooltip/__tests__/Generated/__snapshots__/Tooltip.test.tsx.snap +0 -9
- package/src/helpers/__tests__/util.test.js +0 -235
- package/src/layouts/Bullseye/__tests__/Generated/Bullseye.test.tsx +0 -13
- package/src/layouts/Bullseye/__tests__/Generated/__snapshots__/Bullseye.test.tsx.snap +0 -11
- package/src/layouts/Flex/__tests__/Generated/Flex.test.tsx +0 -13
- package/src/layouts/Flex/__tests__/Generated/__snapshots__/Flex.test.tsx.snap +0 -11
- package/src/layouts/Gallery/__tests__/Generated/Gallery.test.tsx +0 -13
- package/src/layouts/Gallery/__tests__/Generated/__snapshots__/Gallery.test.tsx.snap +0 -11
- package/src/layouts/Grid/__tests__/Generated/Grid.test.tsx +0 -15
- package/src/layouts/Grid/__tests__/Generated/GridItem.test.tsx +0 -36
- package/src/layouts/Grid/__tests__/Generated/__snapshots__/Grid.test.tsx.snap +0 -11
- package/src/layouts/Grid/__tests__/Generated/__snapshots__/GridItem.test.tsx.snap +0 -11
- package/src/layouts/Level/__tests__/Generated/Level.test.tsx +0 -13
- package/src/layouts/Level/__tests__/Generated/__snapshots__/Level.test.tsx.snap +0 -11
- package/src/layouts/Split/__tests__/Generated/Split.test.tsx +0 -13
- package/src/layouts/Split/__tests__/Generated/__snapshots__/Split.test.tsx.snap +0 -11
- package/src/layouts/Stack/__tests__/Generated/Stack.test.tsx +0 -13
- package/src/layouts/Stack/__tests__/Generated/__snapshots__/Stack.test.tsx.snap +0 -11
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Spinner should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<span
|
|
6
|
-
aria-label="Contents"
|
|
7
|
-
aria-valuetext="'Loading...'"
|
|
8
|
-
class="pf-c-spinner pf-m-xl test"
|
|
9
|
-
role="progressbar"
|
|
10
|
-
>
|
|
11
|
-
<span
|
|
12
|
-
class="pf-c-spinner__clipper"
|
|
13
|
-
/>
|
|
14
|
-
<span
|
|
15
|
-
class="pf-c-spinner__lead-ball"
|
|
16
|
-
/>
|
|
17
|
-
<span
|
|
18
|
-
class="pf-c-spinner__tail-ball"
|
|
19
|
-
/>
|
|
20
|
-
</span>
|
|
21
|
-
</div>
|
|
22
|
-
`;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { Switch } from '../../Switch';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('Switch should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<Switch
|
|
13
|
-
id={"''"}
|
|
14
|
-
className={"''"}
|
|
15
|
-
label={"''"}
|
|
16
|
-
labelOff={"''"}
|
|
17
|
-
isChecked={true}
|
|
18
|
-
isDisabled={false}
|
|
19
|
-
onChange={() => undefined as any}
|
|
20
|
-
aria-label={"''"}
|
|
21
|
-
/>
|
|
22
|
-
);
|
|
23
|
-
expect(view.container).toMatchSnapshot();
|
|
24
|
-
});
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Switch should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<label
|
|
6
|
-
class="pf-c-switch ''"
|
|
7
|
-
data-ouia-component-id="OUIA-Generated-Switch-1"
|
|
8
|
-
data-ouia-component-type="PF4/Switch"
|
|
9
|
-
data-ouia-safe="true"
|
|
10
|
-
for="''"
|
|
11
|
-
>
|
|
12
|
-
<input
|
|
13
|
-
aria-label="''"
|
|
14
|
-
checked=""
|
|
15
|
-
class="pf-c-switch__input"
|
|
16
|
-
id="''"
|
|
17
|
-
type="checkbox"
|
|
18
|
-
/>
|
|
19
|
-
<span
|
|
20
|
-
class="pf-c-switch__toggle"
|
|
21
|
-
/>
|
|
22
|
-
<span
|
|
23
|
-
aria-hidden="true"
|
|
24
|
-
class="pf-c-switch__label pf-m-on"
|
|
25
|
-
>
|
|
26
|
-
''
|
|
27
|
-
</span>
|
|
28
|
-
<span
|
|
29
|
-
aria-hidden="true"
|
|
30
|
-
class="pf-c-switch__label pf-m-off"
|
|
31
|
-
>
|
|
32
|
-
''
|
|
33
|
-
</span>
|
|
34
|
-
</label>
|
|
35
|
-
</div>
|
|
36
|
-
`;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { TabButton } from '../../TabButton';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('TabButton should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<TabButton
|
|
13
|
-
children={<div>ReactNode</div>}
|
|
14
|
-
className={"''"}
|
|
15
|
-
href={'string'}
|
|
16
|
-
tabContentRef={{ current: document.createElement('div') }}
|
|
17
|
-
/>
|
|
18
|
-
);
|
|
19
|
-
expect(view.container).toMatchSnapshot();
|
|
20
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { Tabs } from '../../Tabs';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('Tabs should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<Tabs
|
|
13
|
-
children={<div>ReactNode</div>}
|
|
14
|
-
className={"''"}
|
|
15
|
-
activeKey={0}
|
|
16
|
-
onSelect={() => undefined as any}
|
|
17
|
-
id={'string'}
|
|
18
|
-
isFilled={false}
|
|
19
|
-
isSecondary={false}
|
|
20
|
-
leftScrollAriaLabel={"'Scroll left'"}
|
|
21
|
-
rightScrollAriaLabel={"'Scroll right'"}
|
|
22
|
-
variant={'div'}
|
|
23
|
-
aria-label={'string'}
|
|
24
|
-
mountOnEnter={false}
|
|
25
|
-
unmountOnExit={false}
|
|
26
|
-
/>
|
|
27
|
-
);
|
|
28
|
-
expect(view.container).toMatchSnapshot();
|
|
29
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`TabButton should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<a
|
|
6
|
-
class="''"
|
|
7
|
-
data-ouia-component-type="PF4/TabButton"
|
|
8
|
-
data-ouia-safe="true"
|
|
9
|
-
href="string"
|
|
10
|
-
>
|
|
11
|
-
<div>
|
|
12
|
-
ReactNode
|
|
13
|
-
</div>
|
|
14
|
-
</a>
|
|
15
|
-
</div>
|
|
16
|
-
`;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Tabs should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<div
|
|
6
|
-
aria-label="string"
|
|
7
|
-
class="pf-c-tabs ''"
|
|
8
|
-
data-ouia-component-id="OUIA-Generated-Tabs-1"
|
|
9
|
-
data-ouia-component-type="PF4/Tabs"
|
|
10
|
-
data-ouia-safe="true"
|
|
11
|
-
id="string"
|
|
12
|
-
>
|
|
13
|
-
<button
|
|
14
|
-
aria-hidden="true"
|
|
15
|
-
aria-label="'Scroll left'"
|
|
16
|
-
class="pf-c-tabs__scroll-button"
|
|
17
|
-
disabled=""
|
|
18
|
-
>
|
|
19
|
-
<svg
|
|
20
|
-
aria-hidden="true"
|
|
21
|
-
fill="currentColor"
|
|
22
|
-
height="1em"
|
|
23
|
-
role="img"
|
|
24
|
-
style="vertical-align: -0.125em;"
|
|
25
|
-
viewBox="0 0 256 512"
|
|
26
|
-
width="1em"
|
|
27
|
-
>
|
|
28
|
-
<path
|
|
29
|
-
d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"
|
|
30
|
-
/>
|
|
31
|
-
</svg>
|
|
32
|
-
</button>
|
|
33
|
-
<ul
|
|
34
|
-
class="pf-c-tabs__list"
|
|
35
|
-
role="tablist"
|
|
36
|
-
>
|
|
37
|
-
<div>
|
|
38
|
-
ReactNode
|
|
39
|
-
</div>
|
|
40
|
-
</ul>
|
|
41
|
-
<button
|
|
42
|
-
aria-hidden="true"
|
|
43
|
-
aria-label="'Scroll right'"
|
|
44
|
-
class="pf-c-tabs__scroll-button"
|
|
45
|
-
disabled=""
|
|
46
|
-
>
|
|
47
|
-
<svg
|
|
48
|
-
aria-hidden="true"
|
|
49
|
-
fill="currentColor"
|
|
50
|
-
height="1em"
|
|
51
|
-
role="img"
|
|
52
|
-
style="vertical-align: -0.125em;"
|
|
53
|
-
viewBox="0 0 256 512"
|
|
54
|
-
width="1em"
|
|
55
|
-
>
|
|
56
|
-
<path
|
|
57
|
-
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
|
|
58
|
-
/>
|
|
59
|
-
</svg>
|
|
60
|
-
</button>
|
|
61
|
-
</div>
|
|
62
|
-
<section
|
|
63
|
-
aria-labelledby="pf-tab-undefined-string"
|
|
64
|
-
class="pf-c-tab-content"
|
|
65
|
-
data-ouia-component-type="PF4/TabContent"
|
|
66
|
-
data-ouia-safe="true"
|
|
67
|
-
hidden=""
|
|
68
|
-
id="pf-tab-section-undefined-string"
|
|
69
|
-
role="tabpanel"
|
|
70
|
-
tabindex="0"
|
|
71
|
-
>
|
|
72
|
-
ReactNode
|
|
73
|
-
</section>
|
|
74
|
-
</div>
|
|
75
|
-
`;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { Text } from '../../Text';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('Text should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(<Text component={'h1'} children={<>ReactNode</>} className={"''"} />);
|
|
12
|
-
expect(view.container).toMatchSnapshot();
|
|
13
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Text should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<h1
|
|
6
|
-
class="''"
|
|
7
|
-
data-ouia-component-id="OUIA-Generated-Text-1"
|
|
8
|
-
data-ouia-component-type="PF4/Text"
|
|
9
|
-
data-ouia-safe="true"
|
|
10
|
-
data-pf-content="true"
|
|
11
|
-
>
|
|
12
|
-
ReactNode
|
|
13
|
-
</h1>
|
|
14
|
-
</div>
|
|
15
|
-
`;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { TextArea } from '../../TextArea';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('TextArea should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<TextArea
|
|
13
|
-
className={"''"}
|
|
14
|
-
isRequired={false}
|
|
15
|
-
validated={'default'}
|
|
16
|
-
value={'string'}
|
|
17
|
-
onChange={(value: string, event: React.ChangeEvent<HTMLTextAreaElement>) => undefined as void}
|
|
18
|
-
resizeOrientation={'both'}
|
|
19
|
-
aria-label={'null'}
|
|
20
|
-
/>
|
|
21
|
-
);
|
|
22
|
-
expect(view.container).toMatchSnapshot();
|
|
23
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { Title } from '../../Title';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('Title should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(<Title size={'md'} children={''} className={"''"} headingLevel={'h1'} />);
|
|
12
|
-
expect(view.container).toMatchSnapshot();
|
|
13
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Title should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<h1
|
|
6
|
-
class="pf-c-title pf-m-md ''"
|
|
7
|
-
data-ouia-component-id="OUIA-Generated-Title-1"
|
|
8
|
-
data-ouia-component-type="PF4/Title"
|
|
9
|
-
data-ouia-safe="true"
|
|
10
|
-
/>
|
|
11
|
-
</div>
|
|
12
|
-
`;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { Toolbar } from '../../Toolbar';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('Toolbar should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<Toolbar
|
|
13
|
-
clearAllFilters={() => undefined as void}
|
|
14
|
-
clearFiltersButtonText={'string'}
|
|
15
|
-
collapseListedFiltersBreakpoint={'md'}
|
|
16
|
-
isExpanded={true}
|
|
17
|
-
toggleIsExpanded={() => undefined as void}
|
|
18
|
-
className={'string'}
|
|
19
|
-
children={<div>ReactNode</div>}
|
|
20
|
-
id={'string'}
|
|
21
|
-
/>
|
|
22
|
-
);
|
|
23
|
-
expect(view.container).toMatchSnapshot();
|
|
24
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { ToolbarItem } from '../../ToolbarItem';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('ToolbarItem should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<ToolbarItem
|
|
13
|
-
className={'string'}
|
|
14
|
-
variant={'bulk-select'}
|
|
15
|
-
id={'string'}
|
|
16
|
-
children={<div>ReactNode</div>}
|
|
17
|
-
/>
|
|
18
|
-
);
|
|
19
|
-
expect(view.container).toMatchSnapshot();
|
|
20
|
-
});
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Toolbar should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<div
|
|
6
|
-
class="pf-c-toolbar string"
|
|
7
|
-
data-ouia-component-id="OUIA-Generated-Toolbar-1"
|
|
8
|
-
data-ouia-component-type="PF4/Toolbar"
|
|
9
|
-
data-ouia-safe="true"
|
|
10
|
-
id="string"
|
|
11
|
-
>
|
|
12
|
-
<div>
|
|
13
|
-
ReactNode
|
|
14
|
-
</div>
|
|
15
|
-
<div
|
|
16
|
-
class="pf-c-toolbar__content pf-m-hidden"
|
|
17
|
-
hidden=""
|
|
18
|
-
>
|
|
19
|
-
<div
|
|
20
|
-
class="pf-c-toolbar__group"
|
|
21
|
-
/>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
`;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`ToolbarItem should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<div
|
|
6
|
-
class="pf-c-toolbar__item pf-m-bulk-select string"
|
|
7
|
-
id="string"
|
|
8
|
-
>
|
|
9
|
-
<div>
|
|
10
|
-
ReactNode
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
`;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { Tooltip } from '../../Tooltip';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('Tooltip should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<Tooltip
|
|
13
|
-
appendTo={() => document.body}
|
|
14
|
-
aria={'describedby'}
|
|
15
|
-
children={<p>ReactElement</p>}
|
|
16
|
-
className={"''"}
|
|
17
|
-
content={<div>ReactNode</div>}
|
|
18
|
-
distance={15}
|
|
19
|
-
enableFlip={true}
|
|
20
|
-
entryDelay={500}
|
|
21
|
-
exitDelay={500}
|
|
22
|
-
flipBehavior={['top', 'right', 'bottom', 'left', 'top', 'right', 'bottom']}
|
|
23
|
-
maxWidth={'string'}
|
|
24
|
-
position={'top'}
|
|
25
|
-
trigger={"'mouseenter focus'"}
|
|
26
|
-
isContentLeftAligned={false}
|
|
27
|
-
isVisible={false}
|
|
28
|
-
zIndex={9999}
|
|
29
|
-
id={"''"}
|
|
30
|
-
/>
|
|
31
|
-
);
|
|
32
|
-
expect(view.container).toMatchSnapshot();
|
|
33
|
-
});
|