@patternfly/react-core 4.202.31 → 4.202.34
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/ApplicationLauncher/ApplicationLauncher.d.ts +9 -2
- package/dist/esm/components/ApplicationLauncher/ApplicationLauncher.d.ts.map +1 -1
- package/dist/esm/components/ApplicationLauncher/ApplicationLauncher.js.map +1 -1
- package/dist/esm/components/ContextSelector/ContextSelector.d.ts +10 -2
- package/dist/esm/components/ContextSelector/ContextSelector.d.ts.map +1 -1
- package/dist/esm/components/ContextSelector/ContextSelector.js +3 -2
- package/dist/esm/components/ContextSelector/ContextSelector.js.map +1 -1
- package/dist/esm/components/ContextSelector/ContextSelectorToggle.js +3 -3
- package/dist/esm/components/ContextSelector/ContextSelectorToggle.js.map +1 -1
- package/dist/esm/components/Dropdown/Dropdown.d.ts +9 -2
- package/dist/esm/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/esm/components/Dropdown/Dropdown.js +2 -2
- package/dist/esm/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/esm/components/OptionsMenu/OptionsMenu.d.ts +9 -2
- package/dist/esm/components/OptionsMenu/OptionsMenu.d.ts.map +1 -1
- package/dist/esm/components/OptionsMenu/OptionsMenu.js.map +1 -1
- package/dist/esm/components/Select/Select.d.ts +9 -2
- package/dist/esm/components/Select/Select.d.ts.map +1 -1
- package/dist/esm/components/Select/Select.js.map +1 -1
- 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/esm/helpers/Popper/Popper.d.ts +0 -10
- package/dist/esm/helpers/Popper/Popper.d.ts.map +1 -1
- package/dist/esm/helpers/Popper/Popper.js.map +1 -1
- package/dist/js/components/ApplicationLauncher/ApplicationLauncher.d.ts +9 -2
- package/dist/js/components/ApplicationLauncher/ApplicationLauncher.d.ts.map +1 -1
- package/dist/js/components/ApplicationLauncher/ApplicationLauncher.js.map +1 -1
- package/dist/js/components/ContextSelector/ContextSelector.d.ts +10 -2
- package/dist/js/components/ContextSelector/ContextSelector.d.ts.map +1 -1
- package/dist/js/components/ContextSelector/ContextSelector.js +3 -2
- package/dist/js/components/ContextSelector/ContextSelector.js.map +1 -1
- package/dist/js/components/ContextSelector/ContextSelectorToggle.js +3 -3
- package/dist/js/components/ContextSelector/ContextSelectorToggle.js.map +1 -1
- package/dist/js/components/Dropdown/Dropdown.d.ts +9 -2
- package/dist/js/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/js/components/Dropdown/Dropdown.js +2 -2
- package/dist/js/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/js/components/OptionsMenu/OptionsMenu.d.ts +9 -2
- package/dist/js/components/OptionsMenu/OptionsMenu.d.ts.map +1 -1
- package/dist/js/components/OptionsMenu/OptionsMenu.js.map +1 -1
- package/dist/js/components/Select/Select.d.ts +9 -2
- package/dist/js/components/Select/Select.d.ts.map +1 -1
- package/dist/js/components/Select/Select.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/js/helpers/Popper/Popper.d.ts +0 -10
- package/dist/js/helpers/Popper/Popper.d.ts.map +1 -1
- package/dist/js/helpers/Popper/Popper.js.map +1 -1
- package/dist/umd/react-core.js +13 -11
- package/dist/umd/react-core.min.js +2 -2
- package/package.json +5 -5
- package/src/components/ApplicationLauncher/ApplicationLauncher.tsx +9 -2
- package/src/components/ContextSelector/ContextSelector.tsx +12 -4
- package/src/components/ContextSelector/ContextSelectorToggle.tsx +3 -3
- package/src/components/Dropdown/Dropdown.tsx +11 -3
- package/src/components/OptionsMenu/OptionsMenu.tsx +9 -2
- package/src/components/Select/Select.tsx +10 -3
- package/src/components/Wizard/Wizard.tsx +5 -0
- package/src/components/Wizard/WizardHeader.tsx +5 -2
- package/src/components/Wizard/examples/Wizard.md +168 -103
- package/src/helpers/Popper/Popper.tsx +0 -11
- 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/PageHeader.test.tsx +0 -28
- package/src/components/Page/__tests__/Generated/PageSection.test.tsx +0 -22
- 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/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/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/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/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/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,51 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`NotificationDrawerGroup should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<section
|
|
6
|
-
class="pf-c-notification-drawer__group pf-m-expanded ''"
|
|
7
|
-
>
|
|
8
|
-
<h1>
|
|
9
|
-
<button
|
|
10
|
-
aria-expanded="true"
|
|
11
|
-
class="pf-c-notification-drawer__group-toggle"
|
|
12
|
-
>
|
|
13
|
-
<div
|
|
14
|
-
class="pf-c-notification-drawer__group-toggle-title"
|
|
15
|
-
>
|
|
16
|
-
string
|
|
17
|
-
</div>
|
|
18
|
-
<div
|
|
19
|
-
class="pf-c-notification-drawer__group-toggle-count"
|
|
20
|
-
>
|
|
21
|
-
<span
|
|
22
|
-
class="pf-c-badge pf-m-unread"
|
|
23
|
-
>
|
|
24
|
-
42
|
|
25
|
-
</span>
|
|
26
|
-
</div>
|
|
27
|
-
<span
|
|
28
|
-
class="pf-c-notification-drawer__group-toggle-icon"
|
|
29
|
-
>
|
|
30
|
-
<svg
|
|
31
|
-
aria-hidden="true"
|
|
32
|
-
fill="currentColor"
|
|
33
|
-
height="1em"
|
|
34
|
-
role="img"
|
|
35
|
-
style="vertical-align: -0.125em;"
|
|
36
|
-
viewBox="0 0 256 512"
|
|
37
|
-
width="1em"
|
|
38
|
-
>
|
|
39
|
-
<path
|
|
40
|
-
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"
|
|
41
|
-
/>
|
|
42
|
-
</svg>
|
|
43
|
-
</span>
|
|
44
|
-
</button>
|
|
45
|
-
</h1>
|
|
46
|
-
<div>
|
|
47
|
-
ReactNode
|
|
48
|
-
</div>
|
|
49
|
-
</section>
|
|
50
|
-
</div>
|
|
51
|
-
`;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`NotificationDrawerGroupList should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<div
|
|
6
|
-
class="pf-c-notification-drawer__group-list ''"
|
|
7
|
-
>
|
|
8
|
-
<div>
|
|
9
|
-
ReactNode
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
`;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`NotificationDrawerHeader should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<div
|
|
6
|
-
class="pf-c-notification-drawer__header ''"
|
|
7
|
-
>
|
|
8
|
-
<h1
|
|
9
|
-
class="pf-c-notification-drawer__header-title"
|
|
10
|
-
data-ouia-component-id="OUIA-Generated-Text-1"
|
|
11
|
-
data-ouia-component-type="PF4/Text"
|
|
12
|
-
data-ouia-safe="true"
|
|
13
|
-
data-pf-content="true"
|
|
14
|
-
>
|
|
15
|
-
'Notifications'
|
|
16
|
-
</h1>
|
|
17
|
-
<span
|
|
18
|
-
class="pf-c-notification-drawer__header-status"
|
|
19
|
-
>
|
|
20
|
-
42 unread
|
|
21
|
-
</span>
|
|
22
|
-
<div
|
|
23
|
-
class="pf-c-notification-drawer__header-action"
|
|
24
|
-
>
|
|
25
|
-
<div>
|
|
26
|
-
ReactNode
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
`;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`NotificationDrawerListItem should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<li
|
|
6
|
-
class="pf-c-notification-drawer__list-item pf-m-hoverable pf-m-default ''"
|
|
7
|
-
tabindex="0"
|
|
8
|
-
>
|
|
9
|
-
<div>
|
|
10
|
-
ReactNode
|
|
11
|
-
</div>
|
|
12
|
-
</li>
|
|
13
|
-
</div>
|
|
14
|
-
`;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`NotificationDrawerListItemBody should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<div
|
|
6
|
-
class="pf-c-notification-drawer__list-item-description ''"
|
|
7
|
-
>
|
|
8
|
-
<div>
|
|
9
|
-
ReactNode
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
<div
|
|
13
|
-
class="pf-c-notification-drawer__list-item-timestamp ''"
|
|
14
|
-
>
|
|
15
|
-
<div>
|
|
16
|
-
ReactNode
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
`;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`NotificationDrawerListItemHeader should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<div
|
|
6
|
-
class="pf-c-notification-drawer__list-item-header ''"
|
|
7
|
-
>
|
|
8
|
-
<span
|
|
9
|
-
class="pf-c-notification-drawer__list-item-header-icon"
|
|
10
|
-
>
|
|
11
|
-
<svg
|
|
12
|
-
aria-hidden="true"
|
|
13
|
-
fill="currentColor"
|
|
14
|
-
height="1em"
|
|
15
|
-
role="img"
|
|
16
|
-
style="vertical-align: -0.125em;"
|
|
17
|
-
viewBox="0 0 896 1024"
|
|
18
|
-
width="1em"
|
|
19
|
-
>
|
|
20
|
-
<path
|
|
21
|
-
d="M448,0 C465.333333,0 480.333333,6.33333333 493,19 C505.666667,31.6666667 512,46.6666667 512,64 L512,106 L514.23,106.45 C587.89,121.39 648.48,157.24 696,214 C744,271.333333 768,338.666667 768,416 C768,500 780,568.666667 804,622 C818.666667,652.666667 841.333333,684 872,716 C873.773676,718.829136 875.780658,721.505113 878,724 C890,737.333333 896,752.333333 896,769 C896,785.666667 890,800.333333 878,813 C866,825.666667 850.666667,832 832,832 L63.3,832 C44.9533333,831.84 29.8533333,825.506667 18,813 C6,800.333333 0,785.666667 0,769 C0,752.333333 6,737.333333 18,724 L24,716 L25.06,714.9 C55.1933333,683.28 77.5066667,652.313333 92,622 C116,568.666667 128,500 128,416 C128,338.666667 152,271.333333 200,214 C248,156.666667 309.333333,120.666667 384,106 L384,63.31 C384.166667,46.27 390.5,31.5 403,19 C415.666667,6.33333333 430.666667,0 448,0 Z M576,896 L576,897.08 C575.74,932.6 563.073333,962.573333 538,987 C512.666667,1011.66667 482.666667,1024 448,1024 C413.333333,1024 383.333333,1011.66667 358,987 C332.666667,962.333333 320,932 320,896 L576,896 Z"
|
|
22
|
-
/>
|
|
23
|
-
</svg>
|
|
24
|
-
</span>
|
|
25
|
-
<h2
|
|
26
|
-
class="pf-c-notification-drawer__list-item-header-title"
|
|
27
|
-
>
|
|
28
|
-
<span
|
|
29
|
-
class="pf-u-screen-reader"
|
|
30
|
-
>
|
|
31
|
-
string
|
|
32
|
-
</span>
|
|
33
|
-
string
|
|
34
|
-
</h2>
|
|
35
|
-
</div>
|
|
36
|
-
<div
|
|
37
|
-
class="pf-c-notification-drawer__list-item-action"
|
|
38
|
-
>
|
|
39
|
-
<div>
|
|
40
|
-
ReactNode
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
`;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { OptionsMenu } from '../../OptionsMenu';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('OptionsMenu should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<OptionsMenu
|
|
13
|
-
className={"''"}
|
|
14
|
-
id={'string'}
|
|
15
|
-
menuItems={[]}
|
|
16
|
-
toggle={<p>ReactElement</p>}
|
|
17
|
-
isPlain={true}
|
|
18
|
-
isOpen={true}
|
|
19
|
-
isText={false}
|
|
20
|
-
isGrouped={false}
|
|
21
|
-
position={'right'}
|
|
22
|
-
direction={'up'}
|
|
23
|
-
/>
|
|
24
|
-
);
|
|
25
|
-
expect(view.container).toMatchSnapshot();
|
|
26
|
-
});
|
package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenu.test.tsx.snap
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`OptionsMenu should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<div
|
|
6
|
-
class="pf-c-options-menu pf-m-top pf-m-align-right pf-m-expanded ''"
|
|
7
|
-
data-ouia-component-id="OUIA-Generated-OptionsMenu-1"
|
|
8
|
-
data-ouia-component-type="PF4/OptionsMenu"
|
|
9
|
-
data-ouia-safe="true"
|
|
10
|
-
id="string"
|
|
11
|
-
>
|
|
12
|
-
<p
|
|
13
|
-
aria-haspopup="false"
|
|
14
|
-
id="pf-dropdown-toggle-id-0"
|
|
15
|
-
parentref="[object Object]"
|
|
16
|
-
>
|
|
17
|
-
ReactElement
|
|
18
|
-
</p>
|
|
19
|
-
<div
|
|
20
|
-
class="pf-c-options-menu__menu pf-m-align-right"
|
|
21
|
-
/>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
`;
|
|
@@ -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 { OverflowMenu } from '../../OverflowMenu';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('OverflowMenu should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(<OverflowMenu children={'any'} className={'string'} breakpoint={'md'} />);
|
|
12
|
-
expect(view.container).toMatchSnapshot();
|
|
13
|
-
});
|
|
@@ -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 { OverflowMenuContent } from '../../OverflowMenuContent';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('OverflowMenuContent should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(<OverflowMenuContent children={'any'} className={'string'} isPersistent={true} />);
|
|
12
|
-
expect(view.container).toMatchSnapshot();
|
|
13
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { OverflowMenuGroup } from '../../OverflowMenuGroup';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('OverflowMenuGroup should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<OverflowMenuGroup children={'any'} className={'string'} isPersistent={false} groupType={'button'} />
|
|
13
|
-
);
|
|
14
|
-
expect(view.container).toMatchSnapshot();
|
|
15
|
-
});
|
|
@@ -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 { OverflowMenuItem } from '../../OverflowMenuItem';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('OverflowMenuItem should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(<OverflowMenuItem children={'any'} className={'string'} isPersistent={false} />);
|
|
12
|
-
expect(view.container).toMatchSnapshot();
|
|
13
|
-
});
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { PageHeader } from '../../PageHeader';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('PageHeader should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<PageHeader
|
|
13
|
-
className={"''"}
|
|
14
|
-
logo={null}
|
|
15
|
-
logoProps={null}
|
|
16
|
-
logoComponent={'a'}
|
|
17
|
-
headerTools={null}
|
|
18
|
-
topNav={null}
|
|
19
|
-
showNavToggle={false}
|
|
20
|
-
isNavOpen={true}
|
|
21
|
-
isManagedSidebar={true}
|
|
22
|
-
role={'string'}
|
|
23
|
-
onNavToggle={() => undefined as any}
|
|
24
|
-
aria-label={"'Global navigation'"}
|
|
25
|
-
/>
|
|
26
|
-
);
|
|
27
|
-
expect(view.container).toMatchSnapshot();
|
|
28
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { PageSection } from '../../PageSection';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('PageSection should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<PageSection
|
|
13
|
-
children={<div>ReactNode</div>}
|
|
14
|
-
className={"''"}
|
|
15
|
-
variant={'default'}
|
|
16
|
-
type={'default'}
|
|
17
|
-
isFilled={true}
|
|
18
|
-
padding={{ default: 'noPadding' }}
|
|
19
|
-
/>
|
|
20
|
-
);
|
|
21
|
-
expect(view.container).toMatchSnapshot();
|
|
22
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`PageSection should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<section
|
|
6
|
-
class="pf-c-page__main-section pf-m-no-padding pf-m-fill ''"
|
|
7
|
-
>
|
|
8
|
-
<div>
|
|
9
|
-
ReactNode
|
|
10
|
-
</div>
|
|
11
|
-
</section>
|
|
12
|
-
</div>
|
|
13
|
-
`;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { Popover } from '../../Popover';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('Popover should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<Popover
|
|
13
|
-
id="test"
|
|
14
|
-
aria-label={"''"}
|
|
15
|
-
appendTo={() => document.body}
|
|
16
|
-
bodyContent={<div>ReactNode</div>}
|
|
17
|
-
children={<p>ReactElement</p>}
|
|
18
|
-
className={"''"}
|
|
19
|
-
closeBtnAriaLabel={"'Close'"}
|
|
20
|
-
distance={25}
|
|
21
|
-
enableFlip={true}
|
|
22
|
-
flipBehavior={['top', 'right', 'bottom', 'left', 'top', 'right', 'bottom']}
|
|
23
|
-
footerContent={null}
|
|
24
|
-
headerContent={null}
|
|
25
|
-
hideOnOutsideClick={true}
|
|
26
|
-
isVisible={null}
|
|
27
|
-
minWidth={'string'}
|
|
28
|
-
maxWidth={'string'}
|
|
29
|
-
onHidden={(): void => null}
|
|
30
|
-
onHide={(): void => null}
|
|
31
|
-
onMount={(): void => null}
|
|
32
|
-
onShow={(): void => null}
|
|
33
|
-
onShown={(): void => null}
|
|
34
|
-
position={'top'}
|
|
35
|
-
shouldClose={(): void => null}
|
|
36
|
-
zIndex={9999}
|
|
37
|
-
/>
|
|
38
|
-
);
|
|
39
|
-
expect(view.container).toMatchSnapshot();
|
|
40
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { Progress } from '../../Progress';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('Progress should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<Progress
|
|
13
|
-
className={"''"}
|
|
14
|
-
size={null}
|
|
15
|
-
measureLocation={'outside'}
|
|
16
|
-
variant={'danger'}
|
|
17
|
-
title={"''"}
|
|
18
|
-
label={null}
|
|
19
|
-
value={0}
|
|
20
|
-
id={"''"}
|
|
21
|
-
min={0}
|
|
22
|
-
max={100}
|
|
23
|
-
valueText={'null'}
|
|
24
|
-
/>
|
|
25
|
-
);
|
|
26
|
-
expect(view.container).toMatchSnapshot();
|
|
27
|
-
});
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Progress should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<div
|
|
6
|
-
class="pf-c-progress pf-m-danger pf-m-outside ''"
|
|
7
|
-
id="''"
|
|
8
|
-
>
|
|
9
|
-
<div
|
|
10
|
-
aria-hidden="true"
|
|
11
|
-
class="pf-c-progress__description"
|
|
12
|
-
id="''-description"
|
|
13
|
-
>
|
|
14
|
-
''
|
|
15
|
-
</div>
|
|
16
|
-
<div
|
|
17
|
-
aria-hidden="true"
|
|
18
|
-
class="pf-c-progress__status"
|
|
19
|
-
>
|
|
20
|
-
<span
|
|
21
|
-
class="pf-c-progress__measure"
|
|
22
|
-
>
|
|
23
|
-
0%
|
|
24
|
-
</span>
|
|
25
|
-
<span
|
|
26
|
-
class="pf-c-progress__status-icon"
|
|
27
|
-
>
|
|
28
|
-
<svg
|
|
29
|
-
aria-hidden="true"
|
|
30
|
-
fill="currentColor"
|
|
31
|
-
height="1em"
|
|
32
|
-
role="img"
|
|
33
|
-
style="vertical-align: -0.125em;"
|
|
34
|
-
viewBox="0 0 512 512"
|
|
35
|
-
width="1em"
|
|
36
|
-
>
|
|
37
|
-
<path
|
|
38
|
-
d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
39
|
-
/>
|
|
40
|
-
</svg>
|
|
41
|
-
</span>
|
|
42
|
-
</div>
|
|
43
|
-
<div
|
|
44
|
-
aria-labelledby="''-description"
|
|
45
|
-
aria-valuemax="100"
|
|
46
|
-
aria-valuemin="0"
|
|
47
|
-
aria-valuenow="0"
|
|
48
|
-
aria-valuetext="null"
|
|
49
|
-
class="pf-c-progress__bar"
|
|
50
|
-
role="progressbar"
|
|
51
|
-
>
|
|
52
|
-
<div
|
|
53
|
-
class="pf-c-progress__indicator"
|
|
54
|
-
style="width: 0%;"
|
|
55
|
-
>
|
|
56
|
-
<span
|
|
57
|
-
class="pf-c-progress__measure"
|
|
58
|
-
/>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
`;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This test was generated
|
|
3
|
-
*/
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { render } from '@testing-library/react';
|
|
6
|
-
import { SkipToContent } from '../../SkipToContent';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('SkipToContent should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(
|
|
12
|
-
<SkipToContent component={'a'} href={'string'} children={<div>ReactNode</div>} className={"''"} show={false} />
|
|
13
|
-
);
|
|
14
|
-
expect(view.container).toMatchSnapshot();
|
|
15
|
-
});
|
package/src/components/SkipToContent/__tests__/Generated/__snapshots__/SkipToContent.test.tsx.snap
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`SkipToContent should match snapshot (auto-generated) 1`] = `
|
|
4
|
-
<div>
|
|
5
|
-
<a
|
|
6
|
-
class="pf-c-button pf-m-primary pf-c-skip-to-content ''"
|
|
7
|
-
component="a"
|
|
8
|
-
href="string"
|
|
9
|
-
>
|
|
10
|
-
<div>
|
|
11
|
-
ReactNode
|
|
12
|
-
</div>
|
|
13
|
-
</a>
|
|
14
|
-
</div>
|
|
15
|
-
`;
|
|
@@ -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 { Spinner } from '../../Spinner';
|
|
7
|
-
// any missing imports can usually be resolved by adding them here
|
|
8
|
-
import {} from '../..';
|
|
9
|
-
|
|
10
|
-
it('Spinner should match snapshot (auto-generated)', () => {
|
|
11
|
-
const view = render(<Spinner className={"test"} size={'xl'} aria-valuetext={"'Loading...'"} />);
|
|
12
|
-
expect(view.container).toMatchSnapshot();
|
|
13
|
-
});
|
|
@@ -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
|
-
`;
|