@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.
Files changed (293) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/esm/components/Wizard/Wizard.d.ts +2 -0
  3. package/dist/esm/components/Wizard/Wizard.d.ts.map +1 -1
  4. package/dist/esm/components/Wizard/Wizard.js +3 -2
  5. package/dist/esm/components/Wizard/Wizard.js.map +1 -1
  6. package/dist/esm/components/Wizard/WizardHeader.d.ts +2 -0
  7. package/dist/esm/components/Wizard/WizardHeader.d.ts.map +1 -1
  8. package/dist/esm/components/Wizard/WizardHeader.js +2 -2
  9. package/dist/esm/components/Wizard/WizardHeader.js.map +1 -1
  10. package/dist/js/components/Wizard/Wizard.d.ts +2 -0
  11. package/dist/js/components/Wizard/Wizard.d.ts.map +1 -1
  12. package/dist/js/components/Wizard/Wizard.js +3 -2
  13. package/dist/js/components/Wizard/Wizard.js.map +1 -1
  14. package/dist/js/components/Wizard/WizardHeader.d.ts +2 -0
  15. package/dist/js/components/Wizard/WizardHeader.d.ts.map +1 -1
  16. package/dist/js/components/Wizard/WizardHeader.js +2 -2
  17. package/dist/js/components/Wizard/WizardHeader.js.map +1 -1
  18. package/dist/umd/react-core.js +5 -4
  19. package/dist/umd/react-core.min.js +1 -1
  20. package/package.json +5 -5
  21. package/src/components/Dropdown/__tests__/DropdownToggleCheckbox.test.tsx +1 -1
  22. package/src/components/Page/__tests__/Page.test.tsx +225 -205
  23. package/src/components/Page/__tests__/__snapshots__/Page.test.tsx.snap +1088 -2059
  24. package/src/components/Pagination/__tests__/Pagination.test.tsx +235 -283
  25. package/src/components/Pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +143 -577
  26. package/src/components/Radio/__tests__/Radio.test.tsx +38 -44
  27. package/src/components/Radio/__tests__/__snapshots__/Radio.test.tsx.snap +30 -30
  28. package/src/components/SearchInput/__tests__/SearchInput.test.tsx +87 -68
  29. package/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap +230 -137
  30. package/src/components/Select/__tests__/Select.test.tsx +238 -195
  31. package/src/components/Select/__tests__/SelectToggle.test.tsx +68 -130
  32. package/src/components/Select/__tests__/__snapshots__/Select.test.tsx.snap +978 -2149
  33. package/src/components/Select/__tests__/__snapshots__/SelectToggle.test.tsx.snap +3 -3
  34. package/src/components/SimpleList/__tests__/SimpleList.test.tsx +29 -32
  35. package/src/components/SimpleList/__tests__/__snapshots__/SimpleList.test.tsx.snap +4 -366
  36. package/src/components/Switch/__tests__/Switch.test.tsx +85 -75
  37. package/src/components/Switch/__tests__/__snapshots__/Switch.test.tsx.snap +30 -40
  38. package/src/components/TextArea/__tests__/TextArea.test.tsx +98 -103
  39. package/src/components/TextArea/__tests__/__snapshots__/TextArea.test.tsx.snap +24 -103
  40. package/src/components/TextInput/__tests__/TextInput.test.tsx +71 -70
  41. package/src/components/TextInput/__tests__/__snapshots__/TextInput.test.tsx.snap +15 -103
  42. package/src/components/TextInputGroup/__tests__/TextInputGroup.test.tsx +65 -39
  43. package/src/components/TextInputGroup/__tests__/__snapshots__/TextInputGroup.test.tsx.snap +53 -14
  44. package/src/components/TimePicker/__tests__/TimePicker.test.tsx +113 -110
  45. package/src/components/Title/__tests__/Title.test.tsx +21 -20
  46. package/src/components/Title/__tests__/__snapshots__/Title.test.tsx.snap +24 -30
  47. package/src/components/ToggleGroup/__tests__/ToggleGroup.test.tsx +43 -39
  48. package/src/components/ToggleGroup/__tests__/__snapshots__/ToggleGroup.test.tsx.snap +20 -19
  49. package/src/components/Wizard/Wizard.tsx +5 -0
  50. package/src/components/Wizard/WizardHeader.tsx +5 -2
  51. package/src/components/Wizard/__tests__/Wizard.test.tsx +195 -189
  52. package/src/components/Wizard/__tests__/__snapshots__/Wizard.test.tsx.snap +131 -10
  53. package/src/components/Wizard/examples/Wizard.md +168 -103
  54. package/src/helpers/__tests__/util.test.ts +113 -0
  55. package/src/layouts/Bullseye/__tests__/Bullseye.test.tsx +25 -25
  56. package/src/layouts/Bullseye/__tests__/__snapshots__/Bullseye.test.tsx.snap +3 -5
  57. package/src/layouts/Flex/__tests__/Flex.test.tsx +159 -96
  58. package/src/layouts/Flex/__tests__/__snapshots__/Flex.test.tsx.snap +9 -17
  59. package/src/components/AboutModal/__tests__/Generated/AboutModal.test.tsx +0 -27
  60. package/src/components/AboutModal/__tests__/Generated/AboutModalBox.test.tsx +0 -13
  61. package/src/components/AboutModal/__tests__/Generated/AboutModalBoxBrand.test.tsx +0 -13
  62. package/src/components/AboutModal/__tests__/Generated/AboutModalBoxCloseButton.test.tsx +0 -13
  63. package/src/components/AboutModal/__tests__/Generated/AboutModalBoxContent.test.tsx +0 -21
  64. package/src/components/AboutModal/__tests__/Generated/AboutModalBoxHeader.test.tsx +0 -13
  65. package/src/components/AboutModal/__tests__/Generated/AboutModalBoxHero.test.tsx +0 -13
  66. package/src/components/AboutModal/__tests__/Generated/AboutModalContainer.test.tsx +0 -27
  67. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModal.test.tsx.snap +0 -3
  68. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBox.test.tsx.snap +0 -15
  69. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxBrand.test.tsx.snap +0 -15
  70. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxCloseButton.test.tsx.snap +0 -33
  71. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxContent.test.tsx.snap +0 -27
  72. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxHeader.test.tsx.snap +0 -19
  73. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxHero.test.tsx.snap +0 -10
  74. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalContainer.test.tsx.snap +0 -3
  75. package/src/components/Accordion/__tests__/Generated/Accordion.test.tsx +0 -22
  76. package/src/components/Accordion/__tests__/Generated/__snapshots__/Accordion.test.tsx.snap +0 -12
  77. package/src/components/Alert/__tests__/Generated/Alert.test.tsx +0 -26
  78. package/src/components/Alert/__tests__/Generated/__snapshots__/Alert.test.tsx.snap +0 -47
  79. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncher.test.tsx +0 -36
  80. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncher.test.tsx.snap +0 -30
  81. package/src/components/Avatar/__tests__/Generated/Avatar.test.tsx +0 -13
  82. package/src/components/Avatar/__tests__/Generated/__snapshots__/Avatar.test.tsx.snap +0 -11
  83. package/src/components/Backdrop/__tests__/Generated/Backdrop.test.tsx +0 -13
  84. package/src/components/Backdrop/__tests__/Generated/__snapshots__/Backdrop.test.tsx.snap +0 -11
  85. package/src/components/BackgroundImage/__tests__/Generated/BackgroundImage.test.tsx +0 -13
  86. package/src/components/BackgroundImage/__tests__/Generated/__snapshots__/BackgroundImage.test.tsx.snap +0 -47
  87. package/src/components/Badge/__tests__/Generated/Badge.test.tsx +0 -13
  88. package/src/components/Badge/__tests__/Generated/__snapshots__/Badge.test.tsx.snap +0 -9
  89. package/src/components/Brand/__tests__/Generated/Brand.test.tsx +0 -13
  90. package/src/components/Brand/__tests__/Generated/__snapshots__/Brand.test.tsx.snap +0 -11
  91. package/src/components/Breadcrumb/__tests__/Generated/Breadcrumb.test.tsx +0 -13
  92. package/src/components/Breadcrumb/__tests__/Generated/BreadcrumbHeading.test.tsx +0 -15
  93. package/src/components/Breadcrumb/__tests__/Generated/BreadcrumbItem.test.tsx +0 -22
  94. package/src/components/Breadcrumb/__tests__/Generated/__snapshots__/Breadcrumb.test.tsx.snap +0 -19
  95. package/src/components/Breadcrumb/__tests__/Generated/__snapshots__/BreadcrumbHeading.test.tsx.snap +0 -22
  96. package/src/components/Breadcrumb/__tests__/Generated/__snapshots__/BreadcrumbItem.test.tsx.snap +0 -17
  97. package/src/components/Button/__tests__/Generated/Button.test.tsx +0 -31
  98. package/src/components/Button/__tests__/Generated/__snapshots__/Button.test.tsx.snap +0 -17
  99. package/src/components/Card/__tests__/Generated/Card.test.tsx +0 -15
  100. package/src/components/Card/__tests__/Generated/CardBody.test.tsx +0 -13
  101. package/src/components/Card/__tests__/Generated/CardFooter.test.tsx +0 -13
  102. package/src/components/Card/__tests__/Generated/CardHead.test.tsx +0 -13
  103. package/src/components/Card/__tests__/Generated/CardHeader.test.tsx +0 -13
  104. package/src/components/Card/__tests__/Generated/__snapshots__/Card.test.tsx.snap +0 -15
  105. package/src/components/Card/__tests__/Generated/__snapshots__/CardBody.test.tsx.snap +0 -11
  106. package/src/components/Card/__tests__/Generated/__snapshots__/CardFooter.test.tsx.snap +0 -11
  107. package/src/components/Card/__tests__/Generated/__snapshots__/CardHead.test.tsx.snap +0 -11
  108. package/src/components/Card/__tests__/Generated/__snapshots__/CardHeader.test.tsx.snap +0 -11
  109. package/src/components/Checkbox/__tests__/Generated/Checkbox.test.tsx +0 -26
  110. package/src/components/Checkbox/__tests__/Generated/__snapshots__/Checkbox.test.tsx.snap +0 -35
  111. package/src/components/Chip/__tests__/Generated/Chip.test.tsx +0 -24
  112. package/src/components/Chip/__tests__/Generated/__snapshots__/Chip.test.tsx.snap +0 -46
  113. package/src/components/ChipGroup/__tests__/Generated/ChipGroup.test.tsx +0 -24
  114. package/src/components/ChipGroup/__tests__/Generated/__snapshots__/ChipGroup.test.tsx.snap +0 -33
  115. package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopyButton.test.tsx +0 -26
  116. package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopyExpanded.test.tsx +0 -21
  117. package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopyToggle.test.tsx +0 -22
  118. package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopyButton.test.tsx.snap +0 -31
  119. package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopyExpanded.test.tsx.snap +0 -14
  120. package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopyToggle.test.tsx.snap +0 -32
  121. package/src/components/ContextSelector/__tests__/Generated/ContextSelector.test.tsx +0 -28
  122. package/src/components/ContextSelector/__tests__/Generated/ContextSelectorItem.test.tsx +0 -23
  123. package/src/components/ContextSelector/__tests__/Generated/ContextSelectorMenuList.test.tsx +0 -13
  124. package/src/components/ContextSelector/__tests__/Generated/ContextSelectorToggle.test.tsx +0 -26
  125. package/src/components/ContextSelector/__tests__/Generated/__snapshots__/ContextSelector.test.tsx.snap +0 -49
  126. package/src/components/ContextSelector/__tests__/Generated/__snapshots__/ContextSelectorItem.test.tsx.snap +0 -15
  127. package/src/components/ContextSelector/__tests__/Generated/__snapshots__/ContextSelectorMenuList.test.tsx.snap +0 -12
  128. package/src/components/ContextSelector/__tests__/Generated/__snapshots__/ContextSelectorToggle.test.tsx.snap +0 -35
  129. package/src/components/DataList/__tests__/Generated/DataList.test.tsx +0 -21
  130. package/src/components/DataList/__tests__/Generated/__snapshots__/DataList.test.tsx.snap +0 -12
  131. package/src/components/Divider/__tests__/Generated/Divider.test.tsx +0 -13
  132. package/src/components/Divider/__tests__/Generated/__snapshots__/Divider.test.tsx.snap +0 -9
  133. package/src/components/Drawer/__tests__/Generated/Drawer.test.tsx +0 -13
  134. package/src/components/Drawer/__tests__/Generated/__snapshots__/Drawer.test.tsx.snap +0 -13
  135. package/src/components/Dropdown/__tests__/Generated/Dropdown.test.tsx +0 -27
  136. package/src/components/Dropdown/__tests__/Generated/DropdownGroup.test.tsx +0 -13
  137. package/src/components/Dropdown/__tests__/Generated/DropdownToggle.test.tsx +0 -34
  138. package/src/components/Dropdown/__tests__/Generated/DropdownToggleAction.test.tsx +0 -22
  139. package/src/components/Dropdown/__tests__/Generated/DropdownToggleCheckbox.test.tsx +0 -25
  140. package/src/components/Dropdown/__tests__/Generated/Toggle.test.tsx +0 -31
  141. package/src/components/Dropdown/__tests__/Generated/__snapshots__/Dropdown.test.tsx.snap +0 -27
  142. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownGroup.test.tsx.snap +0 -16
  143. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownToggle.test.tsx.snap +0 -34
  144. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownToggleAction.test.tsx.snap +0 -15
  145. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownToggleCheckbox.test.tsx.snap +0 -30
  146. package/src/components/Dropdown/__tests__/Generated/__snapshots__/Toggle.test.tsx.snap +0 -17
  147. package/src/components/EmptyState/__tests__/Generated/EmptyState.test.tsx +0 -13
  148. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyState.test.tsx.snap +0 -17
  149. package/src/components/ExpandableSection/__tests__/Generated/ExpandableSection.test.tsx +0 -24
  150. package/src/components/ExpandableSection/__tests__/Generated/__snapshots__/ExpandableSection.test.tsx.snap +0 -46
  151. package/src/components/Form/__tests__/Generated/ActionGroup.test.tsx +0 -13
  152. package/src/components/Form/__tests__/Generated/Form.test.tsx +0 -13
  153. package/src/components/Form/__tests__/Generated/FormGroup.test.tsx +0 -27
  154. package/src/components/Form/__tests__/Generated/FormHelperText.test.tsx +0 -13
  155. package/src/components/Form/__tests__/Generated/__snapshots__/ActionGroup.test.tsx.snap +0 -19
  156. package/src/components/Form/__tests__/Generated/__snapshots__/Form.test.tsx.snap +0 -12
  157. package/src/components/Form/__tests__/Generated/__snapshots__/FormGroup.test.tsx.snap +0 -38
  158. package/src/components/Form/__tests__/Generated/__snapshots__/FormHelperText.test.tsx.snap +0 -11
  159. package/src/components/FormSelect/__tests__/Generated/FormSelect.test.tsx +0 -26
  160. package/src/components/FormSelect/__tests__/Generated/__snapshots__/FormSelect.test.tsx.snap +0 -18
  161. package/src/components/InputGroup/__tests__/Generated/InputGroup.test.tsx +0 -13
  162. package/src/components/InputGroup/__tests__/Generated/InputGroupText.test.tsx +0 -13
  163. package/src/components/InputGroup/__tests__/Generated/__snapshots__/InputGroup.test.tsx.snap +0 -13
  164. package/src/components/InputGroup/__tests__/Generated/__snapshots__/InputGroupText.test.tsx.snap +0 -13
  165. package/src/components/Label/__tests__/Generated/Label.test.tsx +0 -13
  166. package/src/components/Label/__tests__/Generated/__snapshots__/Label.test.tsx.snap +0 -17
  167. package/src/components/LabelGroup/__tests__/Generated/LabelGroup.test.tsx +0 -29
  168. package/src/components/LabelGroup/__tests__/Generated/__snapshots__/LabelGroup.test.tsx.snap +0 -34
  169. package/src/components/LoginPage/__tests__/Generated/Login.test.tsx +0 -13
  170. package/src/components/LoginPage/__tests__/Generated/LoginFooterItem.test.tsx +0 -13
  171. package/src/components/LoginPage/__tests__/Generated/LoginForm.test.tsx +0 -34
  172. package/src/components/LoginPage/__tests__/Generated/LoginMainBody.test.tsx +0 -13
  173. package/src/components/LoginPage/__tests__/Generated/LoginMainFooter.test.tsx +0 -21
  174. package/src/components/LoginPage/__tests__/Generated/LoginMainFooterBandItem.test.tsx +0 -13
  175. package/src/components/LoginPage/__tests__/Generated/LoginMainFooterLinksItem.test.tsx +0 -22
  176. package/src/components/LoginPage/__tests__/Generated/LoginMainHeader.test.tsx +0 -13
  177. package/src/components/LoginPage/__tests__/Generated/LoginPage.test.tsx +0 -30
  178. package/src/components/LoginPage/__tests__/Generated/__snapshots__/Login.test.tsx.snap +0 -19
  179. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginFooterItem.test.tsx.snap +0 -7
  180. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginForm.test.tsx.snap +0 -150
  181. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainBody.test.tsx.snap +0 -11
  182. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainFooter.test.tsx.snap +0 -11
  183. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainFooterBandItem.test.tsx.snap +0 -11
  184. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainFooterLinksItem.test.tsx.snap +0 -17
  185. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainHeader.test.tsx.snap +0 -24
  186. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginPage.test.tsx.snap +0 -60
  187. package/src/components/Modal/__tests__/Generated/Modal.test.tsx +0 -35
  188. package/src/components/Modal/__tests__/Generated/ModalBox.test.tsx +0 -22
  189. package/src/components/Modal/__tests__/Generated/ModalBoxBody.test.tsx +0 -13
  190. package/src/components/Modal/__tests__/Generated/ModalBoxCloseButton.test.tsx +0 -13
  191. package/src/components/Modal/__tests__/Generated/ModalBoxDescription.test.tsx +0 -13
  192. package/src/components/Modal/__tests__/Generated/ModalBoxFooter.test.tsx +0 -13
  193. package/src/components/Modal/__tests__/Generated/ModalBoxHeader.test.tsx +0 -13
  194. package/src/components/Modal/__tests__/Generated/ModalContent.test.tsx +0 -36
  195. package/src/components/Modal/__tests__/Generated/__snapshots__/Modal.test.tsx.snap +0 -3
  196. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBox.test.tsx.snap +0 -18
  197. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxBody.test.tsx.snap +0 -11
  198. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxCloseButton.test.tsx.snap +0 -29
  199. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxDescription.test.tsx.snap +0 -12
  200. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxFooter.test.tsx.snap +0 -11
  201. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxHeader.test.tsx.snap +0 -11
  202. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalContent.test.tsx.snap +0 -3
  203. package/src/components/Nav/__tests__/Generated/Nav.test.tsx +0 -22
  204. package/src/components/Nav/__tests__/Generated/__snapshots__/Nav.test.tsx.snap +0 -15
  205. package/src/components/NotificationBadge/__tests__/Generated/NotificationBadge.test.tsx +0 -15
  206. package/src/components/NotificationBadge/__tests__/Generated/__snapshots__/NotificationBadge.test.tsx.snap +0 -23
  207. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawer.test.tsx +0 -13
  208. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerBody.test.tsx +0 -13
  209. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerGroup.test.tsx +0 -23
  210. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerGroupList.test.tsx +0 -13
  211. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerHeader.test.tsx +0 -15
  212. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerList.test.tsx +0 -13
  213. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerListItem.test.tsx +0 -22
  214. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerListItemBody.test.tsx +0 -15
  215. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerListItemHeader.test.tsx +0 -22
  216. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawer.test.tsx.snap +0 -13
  217. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerBody.test.tsx.snap +0 -13
  218. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerGroup.test.tsx.snap +0 -51
  219. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerGroupList.test.tsx.snap +0 -13
  220. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerHeader.test.tsx.snap +0 -31
  221. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerList.test.tsx.snap +0 -13
  222. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerListItem.test.tsx.snap +0 -14
  223. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerListItemBody.test.tsx.snap +0 -20
  224. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerListItemHeader.test.tsx.snap +0 -44
  225. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenu.test.tsx +0 -26
  226. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenu.test.tsx.snap +0 -24
  227. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenu.test.tsx +0 -13
  228. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuContent.test.tsx +0 -13
  229. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuGroup.test.tsx +0 -15
  230. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuItem.test.tsx +0 -13
  231. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenu.test.tsx.snap +0 -11
  232. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuContent.test.tsx.snap +0 -11
  233. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuGroup.test.tsx.snap +0 -11
  234. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuItem.test.tsx.snap +0 -13
  235. package/src/components/Page/__tests__/Generated/Page.test.tsx +0 -28
  236. package/src/components/Page/__tests__/Generated/PageHeader.test.tsx +0 -28
  237. package/src/components/Page/__tests__/Generated/PageSection.test.tsx +0 -22
  238. package/src/components/Page/__tests__/Generated/__snapshots__/Page.test.tsx.snap +0 -19
  239. package/src/components/Page/__tests__/Generated/__snapshots__/PageHeader.test.tsx.snap +0 -10
  240. package/src/components/Page/__tests__/Generated/__snapshots__/PageSection.test.tsx.snap +0 -13
  241. package/src/components/Pagination/__tests__/Generated/Pagination.test.tsx +0 -58
  242. package/src/components/Pagination/__tests__/Generated/__snapshots__/Pagination.test.tsx.snap +0 -205
  243. package/src/components/Popover/__tests__/Generated/Popover.test.tsx +0 -40
  244. package/src/components/Popover/__tests__/Generated/__snapshots__/Popover.test.tsx.snap +0 -9
  245. package/src/components/Progress/__tests__/Generated/Progress.test.tsx +0 -27
  246. package/src/components/Progress/__tests__/Generated/__snapshots__/Progress.test.tsx.snap +0 -63
  247. package/src/components/Radio/__tests__/Generated/Radio.test.tsx +0 -29
  248. package/src/components/Radio/__tests__/Generated/__snapshots__/Radio.test.tsx.snap +0 -36
  249. package/src/components/Select/__tests__/Generated/Select.test.tsx +0 -49
  250. package/src/components/Select/__tests__/Generated/SelectToggle.test.tsx +0 -34
  251. package/src/components/Select/__tests__/Generated/__snapshots__/Select.test.tsx.snap +0 -48
  252. package/src/components/Select/__tests__/Generated/__snapshots__/SelectToggle.test.tsx.snap +0 -36
  253. package/src/components/SimpleList/__tests__/Generated/SimpleList.test.tsx +0 -22
  254. package/src/components/SimpleList/__tests__/Generated/__snapshots__/SimpleList.test.tsx.snap +0 -13
  255. package/src/components/SkipToContent/__tests__/Generated/SkipToContent.test.tsx +0 -15
  256. package/src/components/SkipToContent/__tests__/Generated/__snapshots__/SkipToContent.test.tsx.snap +0 -15
  257. package/src/components/Spinner/__tests__/Generated/Spinner.test.tsx +0 -13
  258. package/src/components/Spinner/__tests__/Generated/__snapshots__/Spinner.test.tsx.snap +0 -22
  259. package/src/components/Switch/__tests__/Generated/Switch.test.tsx +0 -24
  260. package/src/components/Switch/__tests__/Generated/__snapshots__/Switch.test.tsx.snap +0 -36
  261. package/src/components/Tabs/__tests__/Generated/TabButton.test.tsx +0 -20
  262. package/src/components/Tabs/__tests__/Generated/Tabs.test.tsx +0 -29
  263. package/src/components/Tabs/__tests__/Generated/__snapshots__/TabButton.test.tsx.snap +0 -16
  264. package/src/components/Tabs/__tests__/Generated/__snapshots__/Tabs.test.tsx.snap +0 -75
  265. package/src/components/Text/__tests__/Generated/Text.test.tsx +0 -13
  266. package/src/components/Text/__tests__/Generated/__snapshots__/Text.test.tsx.snap +0 -15
  267. package/src/components/TextArea/__tests__/Generated/TextArea.test.tsx +0 -23
  268. package/src/components/TextArea/__tests__/Generated/__snapshots__/TextArea.test.tsx.snap +0 -13
  269. package/src/components/Title/__tests__/Generated/Title.test.tsx +0 -13
  270. package/src/components/Title/__tests__/Generated/__snapshots__/Title.test.tsx.snap +0 -12
  271. package/src/components/Toolbar/__tests__/Generated/Toolbar.test.tsx +0 -24
  272. package/src/components/Toolbar/__tests__/Generated/ToolbarItem.test.tsx +0 -20
  273. package/src/components/Toolbar/__tests__/Generated/__snapshots__/Toolbar.test.tsx.snap +0 -25
  274. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarItem.test.tsx.snap +0 -14
  275. package/src/components/Tooltip/__tests__/Generated/Tooltip.test.tsx +0 -33
  276. package/src/components/Tooltip/__tests__/Generated/__snapshots__/Tooltip.test.tsx.snap +0 -9
  277. package/src/helpers/__tests__/util.test.js +0 -235
  278. package/src/layouts/Bullseye/__tests__/Generated/Bullseye.test.tsx +0 -13
  279. package/src/layouts/Bullseye/__tests__/Generated/__snapshots__/Bullseye.test.tsx.snap +0 -11
  280. package/src/layouts/Flex/__tests__/Generated/Flex.test.tsx +0 -13
  281. package/src/layouts/Flex/__tests__/Generated/__snapshots__/Flex.test.tsx.snap +0 -11
  282. package/src/layouts/Gallery/__tests__/Generated/Gallery.test.tsx +0 -13
  283. package/src/layouts/Gallery/__tests__/Generated/__snapshots__/Gallery.test.tsx.snap +0 -11
  284. package/src/layouts/Grid/__tests__/Generated/Grid.test.tsx +0 -15
  285. package/src/layouts/Grid/__tests__/Generated/GridItem.test.tsx +0 -36
  286. package/src/layouts/Grid/__tests__/Generated/__snapshots__/Grid.test.tsx.snap +0 -11
  287. package/src/layouts/Grid/__tests__/Generated/__snapshots__/GridItem.test.tsx.snap +0 -11
  288. package/src/layouts/Level/__tests__/Generated/Level.test.tsx +0 -13
  289. package/src/layouts/Level/__tests__/Generated/__snapshots__/Level.test.tsx.snap +0 -11
  290. package/src/layouts/Split/__tests__/Generated/Split.test.tsx +0 -13
  291. package/src/layouts/Split/__tests__/Generated/__snapshots__/Split.test.tsx.snap +0 -11
  292. package/src/layouts/Stack/__tests__/Generated/Stack.test.tsx +0 -13
  293. package/src/layouts/Stack/__tests__/Generated/__snapshots__/Stack.test.tsx.snap +0 -11
@@ -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 { Card } from '../../Card';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('Card should match snapshot (auto-generated)', () => {
11
- const view = render(
12
- <Card children={<>ReactNode</>} className={"''"} component={'article'} isHoverable={false} isCompact={false} />
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 { CardBody } from '../../CardBody';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('CardBody should match snapshot (auto-generated)', () => {
11
- const view = render(<CardBody children={<>ReactNode</>} className={"''"} component={'div'} isFilled={true} />);
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 { CardFooter } from '../../CardFooter';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('CardFooter should match snapshot (auto-generated)', () => {
11
- const view = render(<CardFooter children={<>ReactNode</>} className={"''"} component={'div'} />);
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 { CardHeader } from '../../CardHeader';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('CardHeader should match snapshot (auto-generated)', () => {
11
- const view = render(<CardHeader children={<>ReactNode</>} className={"''"} />);
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 { CardTitle } from '../../CardTitle';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('CardTitle should match snapshot (auto-generated)', () => {
11
- const view = render(<CardTitle children={<>ReactNode</>} className={"''"} />);
12
- expect(view.container).toMatchSnapshot();
13
- });
@@ -1,15 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Card should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <article
6
- class="pf-c-card ''"
7
- data-ouia-component-id="OUIA-Generated-Card-1"
8
- data-ouia-component-type="PF4/Card"
9
- data-ouia-safe="true"
10
- id=""
11
- >
12
- ReactNode
13
- </article>
14
- </div>
15
- `;
@@ -1,11 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`CardBody should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <div
6
- class="pf-c-card__body ''"
7
- >
8
- ReactNode
9
- </div>
10
- </div>
11
- `;
@@ -1,11 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`CardFooter should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <div
6
- class="pf-c-card__footer ''"
7
- >
8
- ReactNode
9
- </div>
10
- </div>
11
- `;
@@ -1,11 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`CardHeader should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <div
6
- class="pf-c-card__header ''"
7
- >
8
- ReactNode
9
- </div>
10
- </div>
11
- `;
@@ -1,11 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`CardTitle should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <div
6
- class="pf-c-card__title ''"
7
- >
8
- ReactNode
9
- </div>
10
- </div>
11
- `;
@@ -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 { Checkbox } from '../../Checkbox';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('Checkbox should match snapshot (auto-generated)', () => {
11
- const view = render(
12
- <Checkbox
13
- className={"''"}
14
- isValid={true}
15
- isDisabled={false}
16
- isChecked={false}
17
- checked={true}
18
- onChange={() => {}}
19
- label={<div>ReactNode</div>}
20
- id={'string'}
21
- aria-label={'string'}
22
- description={<div>ReactNode</div>}
23
- />
24
- );
25
- expect(view.container).toMatchSnapshot();
26
- });
@@ -1,35 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Checkbox should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <div
6
- class="pf-c-check ''"
7
- >
8
- <input
9
- aria-invalid="false"
10
- aria-label="string"
11
- class="pf-c-check__input"
12
- data-ouia-component-id="OUIA-Generated-Checkbox-1"
13
- data-ouia-component-type="PF4/Checkbox"
14
- data-ouia-safe="true"
15
- id="string"
16
- type="checkbox"
17
- />
18
- <label
19
- class="pf-c-check__label"
20
- for="string"
21
- >
22
- <div>
23
- ReactNode
24
- </div>
25
- </label>
26
- <span
27
- class="pf-c-check__description"
28
- >
29
- <div>
30
- ReactNode
31
- </div>
32
- </span>
33
- </div>
34
- </div>
35
- `;
@@ -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 { Chip } from '../../Chip';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('Chip should match snapshot (auto-generated)', () => {
11
- const view = render(
12
- <Chip
13
- children={<div>ReactNode</div>}
14
- closeBtnAriaLabel={"'close'"}
15
- className={"''"}
16
- isOverflowChip={false}
17
- isReadOnly={false}
18
- onClick={(_e: React.MouseEvent) => undefined as any}
19
- component={'div'}
20
- tooltipPosition={'top'}
21
- />
22
- );
23
- expect(view.container).toMatchSnapshot();
24
- });
@@ -1,46 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Chip should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <div
6
- class="pf-c-chip ''"
7
- data-ouia-component-id="OUIA-Generated-Chip-1"
8
- data-ouia-component-type="PF4/Chip"
9
- data-ouia-safe="true"
10
- >
11
- <span
12
- class="pf-c-chip__text"
13
- id="pf-random-id-0"
14
- >
15
- <div>
16
- ReactNode
17
- </div>
18
- </span>
19
- <button
20
- aria-disabled="false"
21
- aria-label="'close'"
22
- aria-labelledby="remove_pf-random-id-0 pf-random-id-0"
23
- class="pf-c-button pf-m-plain"
24
- data-ouia-component-id="'close'"
25
- data-ouia-component-type="PF4/Button"
26
- data-ouia-safe="true"
27
- id="remove_pf-random-id-0"
28
- type="button"
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 352 512"
37
- width="1em"
38
- >
39
- <path
40
- d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
41
- />
42
- </svg>
43
- </button>
44
- </div>
45
- </div>
46
- `;
@@ -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 { ChipGroup } from '../../ChipGroup';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('ChipGroup should match snapshot (auto-generated)', () => {
11
- const view = render(
12
- <ChipGroup
13
- children={<div>ReactNode</div>}
14
- className={"''"}
15
- defaultIsOpen={false}
16
- expandedText={"'Show Less'"}
17
- collapsedText={"'${remaining} more'"}
18
- withToolbar={false}
19
- headingLevel={'h1'}
20
- numChips={3}
21
- />
22
- );
23
- expect(view.container).toMatchSnapshot();
24
- });
@@ -1,33 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`ChipGroup should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <div
6
- aria-label="Chip group category"
7
- class="pf-c-chip-group ''"
8
- data-ouia-component-type="PF4/ChipGroup"
9
- data-ouia-safe="true"
10
- role="group"
11
- >
12
- <div
13
- class="pf-c-chip-group__main"
14
- >
15
-
16
- <ul
17
- aria-label="Chip group category"
18
- class="pf-c-chip-group__list"
19
- headinglevel="h1"
20
- role="list"
21
- >
22
- <li
23
- class="pf-c-chip-group__list-item"
24
- >
25
- <div>
26
- ReactNode
27
- </div>
28
- </li>
29
- </ul>
30
- </div>
31
- </div>
32
- </div>
33
- `;
@@ -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 { ClipboardCopyButton } from '../../ClipboardCopyButton';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('ClipboardCopyButton should match snapshot (auto-generated)', () => {
11
- const view = render(
12
- <ClipboardCopyButton
13
- onClick={(event: React.MouseEvent) => undefined as void}
14
- children={<div>ReactNode</div>}
15
- id={'string'}
16
- textId={'string'}
17
- className={"''"}
18
- exitDelay={100}
19
- entryDelay={100}
20
- maxWidth={"'100px'"}
21
- position={'top'}
22
- aria-label={"'Copyable input'"}
23
- />
24
- );
25
- expect(view.container).toMatchSnapshot();
26
- });
@@ -1,21 +0,0 @@
1
- /**
2
- * This test was generated
3
- */
4
- import * as React from 'react';
5
- import { render } from '@testing-library/react';
6
- import { ClipboardCopyExpanded } from '../../ClipboardCopyExpanded';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('ClipboardCopyExpanded should match snapshot (auto-generated)', () => {
11
- const view = render(
12
- <ClipboardCopyExpanded
13
- className={"''"}
14
- children={<div>ReactNode</div>}
15
- onChange={(): any => undefined}
16
- isReadOnly={false}
17
- isCode={false}
18
- />
19
- );
20
- expect(view.container).toMatchSnapshot();
21
- });
@@ -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 { ClipboardCopyToggle } from '../../ClipboardCopyToggle';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('ClipboardCopyToggle should match snapshot (auto-generated)', () => {
11
- const view = render(
12
- <ClipboardCopyToggle
13
- onClick={(event: React.MouseEvent) => undefined as void}
14
- id={'string'}
15
- textId={'string'}
16
- contentId={'string'}
17
- isExpanded={false}
18
- className={"''"}
19
- />
20
- );
21
- expect(view.container).toMatchSnapshot();
22
- });
@@ -1,31 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`ClipboardCopyButton should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <button
6
- aria-disabled="false"
7
- aria-label="'Copyable input'"
8
- aria-labelledby="string string"
9
- class="pf-c-button pf-m-control ''"
10
- data-ouia-component-id="OUIA-Generated-Button-control-1"
11
- data-ouia-component-type="PF4/Button"
12
- data-ouia-safe="true"
13
- id="string"
14
- type="button"
15
- >
16
- <svg
17
- aria-hidden="true"
18
- fill="currentColor"
19
- height="1em"
20
- role="img"
21
- style="vertical-align: -0.125em;"
22
- viewBox="0 0 448 512"
23
- width="1em"
24
- >
25
- <path
26
- d="M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"
27
- />
28
- </svg>
29
- </button>
30
- </div>
31
- `;
@@ -1,14 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`ClipboardCopyExpanded should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <div
6
- class="pf-c-clipboard-copy__expandable-content ''"
7
- contenteditable="true"
8
- >
9
- <div>
10
- ReactNode
11
- </div>
12
- </div>
13
- </div>
14
- `;
@@ -1,32 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`ClipboardCopyToggle should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <button
6
- aria-controls="string string"
7
- aria-disabled="false"
8
- aria-expanded="false"
9
- aria-labelledby="string string"
10
- class="pf-c-button pf-m-control ''"
11
- data-ouia-component-id="OUIA-Generated-Button-control-1"
12
- data-ouia-component-type="PF4/Button"
13
- data-ouia-safe="true"
14
- id="string"
15
- type="button"
16
- >
17
- <svg
18
- aria-hidden="true"
19
- fill="currentColor"
20
- height="1em"
21
- role="img"
22
- style="vertical-align: -0.125em;"
23
- viewBox="0 0 256 512"
24
- width="1em"
25
- >
26
- <path
27
- 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"
28
- />
29
- </svg>
30
- </button>
31
- </div>
32
- `;
@@ -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 { ContextSelector } from '../../ContextSelector';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('ContextSelector should match snapshot (auto-generated)', () => {
11
- const view = render(
12
- <ContextSelector
13
- children={<>ReactNode</>}
14
- className={"''"}
15
- isOpen={false}
16
- onToggle={() => undefined as any}
17
- onSelect={() => undefined as any}
18
- screenReaderLabel={"''"}
19
- toggleText={"''"}
20
- searchButtonAriaLabel={"'Search menu items'"}
21
- searchInputValue={"''"}
22
- onSearchInputChange={() => undefined as any}
23
- searchInputPlaceholder={"'Search'"}
24
- onSearchButtonClick={() => undefined as any}
25
- />
26
- );
27
- expect(view.container).toMatchSnapshot();
28
- });
@@ -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 { ContextSelectorItem } from '../../ContextSelectorItem';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('ContextSelectorItem should match snapshot (auto-generated)', () => {
11
- const view = render(
12
- <ContextSelectorItem
13
- children={<>ReactNode</>}
14
- className={"''"}
15
- isDisabled={false}
16
- isHovered={false}
17
- onClick={(): any => undefined}
18
- index={42}
19
- sendRef={() => {}}
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 { ContextSelectorMenuList } from '../../ContextSelectorMenuList';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('ContextSelectorMenuList should match snapshot (auto-generated)', () => {
11
- const view = render(<ContextSelectorMenuList children={<>ReactNode</>} className={"''"} isOpen={true} />);
12
- expect(view.container).toMatchSnapshot();
13
- });
@@ -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 { ContextSelectorToggle } from '../../ContextSelectorToggle';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('ContextSelectorToggle should match snapshot (auto-generated)', () => {
11
- const view = render(
12
- <ContextSelectorToggle
13
- id={'string'}
14
- className={"''"}
15
- toggleText={"''"}
16
- isOpen={false}
17
- onToggle={(event: any, value: boolean) => undefined as any}
18
- onEnter={() => undefined as any}
19
- parentRef={null}
20
- isFocused={false}
21
- isHovered={false}
22
- isActive={false}
23
- />
24
- );
25
- expect(view.container).toMatchSnapshot();
26
- });
@@ -1,49 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`ContextSelector should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <div
6
- class="pf-c-context-selector ''"
7
- data-ouia-component-id="OUIA-Generated-ContextSelector-1"
8
- data-ouia-component-type="PF4/ContextSelector"
9
- data-ouia-safe="true"
10
- >
11
- <span
12
- hidden=""
13
- id="pf-context-selector-label-id-0"
14
- >
15
- ''
16
- </span>
17
- <button
18
- aria-expanded="false"
19
- aria-labelledby="pf-context-selector-label-id-0 pf-context-selector-toggle-id-0"
20
- class="pf-c-context-selector__toggle"
21
- id="pf-context-selector-toggle-id-0"
22
- type="button"
23
- >
24
- <span
25
- class="pf-c-context-selector__toggle-text"
26
- >
27
- ''
28
- </span>
29
- <span
30
- class="pf-c-context-selector__toggle-icon"
31
- >
32
- <svg
33
- aria-hidden="true"
34
- fill="currentColor"
35
- height="1em"
36
- role="img"
37
- style="vertical-align: -0.125em;"
38
- viewBox="0 0 320 512"
39
- width="1em"
40
- >
41
- <path
42
- d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
43
- />
44
- </svg>
45
- </span>
46
- </button>
47
- </div>
48
- </div>
49
- `;
@@ -1,15 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`ContextSelectorItem should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <li
6
- role="none"
7
- >
8
- <button
9
- class="pf-c-context-selector__menu-list-item ''"
10
- >
11
- ReactNode
12
- </button>
13
- </li>
14
- </div>
15
- `;
@@ -1,12 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`ContextSelectorMenuList should match snapshot (auto-generated) 1`] = `
4
- <div>
5
- <ul
6
- class="pf-c-context-selector__menu-list ''"
7
- role="menu"
8
- >
9
- ReactNode
10
- </ul>
11
- </div>
12
- `;