@patternfly/react-core 4.206.4 → 4.207.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (496) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/esm/components/CodeBlock/CodeBlockCode.d.ts +4 -0
  3. package/dist/esm/components/CodeBlock/CodeBlockCode.d.ts.map +1 -1
  4. package/dist/esm/components/CodeBlock/CodeBlockCode.js +3 -3
  5. package/dist/esm/components/CodeBlock/CodeBlockCode.js.map +1 -1
  6. package/dist/js/components/CodeBlock/CodeBlockCode.d.ts +4 -0
  7. package/dist/js/components/CodeBlock/CodeBlockCode.d.ts.map +1 -1
  8. package/dist/js/components/CodeBlock/CodeBlockCode.js +3 -3
  9. package/dist/js/components/CodeBlock/CodeBlockCode.js.map +1 -1
  10. package/dist/umd/react-core.js +3 -3
  11. package/dist/umd/react-core.min.css +69 -69
  12. package/dist/umd/react-core.min.js +1 -1
  13. package/package.json +5 -5
  14. package/src/components/AboutModal/__tests__/AboutModal.test.tsx +2 -2
  15. package/src/components/AboutModal/__tests__/AboutModalBox.test.tsx +2 -2
  16. package/src/components/AboutModal/__tests__/AboutModalBoxBrand.test.tsx +2 -2
  17. package/src/components/AboutModal/__tests__/AboutModalBoxCloseButton.test.tsx +6 -6
  18. package/src/components/AboutModal/__tests__/AboutModalBoxContent.test.tsx +2 -2
  19. package/src/components/AboutModal/__tests__/AboutModalBoxHeader.test.tsx +2 -2
  20. package/src/components/AboutModal/__tests__/AboutModalBoxHero.test.tsx +2 -2
  21. package/src/components/AboutModal/__tests__/AboutModalContainer.test.tsx +9 -7
  22. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBox.test.tsx.snap +2 -2
  23. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxBrand.test.tsx.snap +2 -2
  24. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxCloseButton.test.tsx.snap +6 -6
  25. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxContent.test.tsx.snap +2 -2
  26. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxHeader.test.tsx.snap +2 -2
  27. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxHero.test.tsx.snap +2 -2
  28. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalContainer.test.tsx.snap +8 -4
  29. package/src/components/Accordion/__tests__/Accordion.test.tsx +16 -17
  30. package/src/components/Accordion/__tests__/Generated/AccordionContent.test.tsx +2 -2
  31. package/src/components/Accordion/__tests__/Generated/AccordionItem.test.tsx +2 -2
  32. package/src/components/Accordion/__tests__/Generated/AccordionToggle.test.tsx +2 -2
  33. package/src/components/Accordion/__tests__/Generated/__snapshots__/AccordionContent.test.tsx.snap +2 -2
  34. package/src/components/Accordion/__tests__/Generated/__snapshots__/AccordionItem.test.tsx.snap +2 -2
  35. package/src/components/Accordion/__tests__/Generated/__snapshots__/AccordionToggle.test.tsx.snap +2 -2
  36. package/src/components/Accordion/__tests__/__snapshots__/Accordion.test.tsx.snap +10 -10
  37. package/src/components/ActionList/__tests__/ActionList.test.tsx +4 -4
  38. package/src/components/ActionList/__tests__/ActionListGroup.test.tsx +2 -2
  39. package/src/components/ActionList/__tests__/ActionListItem.test.tsx +2 -2
  40. package/src/components/ActionList/__tests__/__snapshots__/ActionList.test.tsx.snap +4 -4
  41. package/src/components/ActionList/__tests__/__snapshots__/ActionListGroup.test.tsx.snap +2 -2
  42. package/src/components/ActionList/__tests__/__snapshots__/ActionListItem.test.tsx.snap +2 -2
  43. package/src/components/Alert/__tests__/Alert.test.tsx +28 -27
  44. package/src/components/Alert/__tests__/Generated/AlertActionCloseButton.test.tsx +2 -2
  45. package/src/components/Alert/__tests__/Generated/AlertActionLink.test.tsx +2 -2
  46. package/src/components/Alert/__tests__/Generated/AlertIcon.test.tsx +2 -2
  47. package/src/components/Alert/__tests__/Generated/__snapshots__/AlertActionCloseButton.test.tsx.snap +2 -2
  48. package/src/components/Alert/__tests__/Generated/__snapshots__/AlertActionLink.test.tsx.snap +2 -2
  49. package/src/components/Alert/__tests__/Generated/__snapshots__/AlertIcon.test.tsx.snap +2 -2
  50. package/src/components/Alert/__tests__/__snapshots__/Alert.test.tsx.snap +100 -110
  51. package/src/components/AlertGroup/__tests__/AlertGroup.test.tsx +6 -7
  52. package/src/components/AlertGroup/__tests__/Generated/AlertGroup.test.tsx +2 -2
  53. package/src/components/AlertGroup/__tests__/Generated/AlertGroupInline.test.tsx +2 -2
  54. package/src/components/AlertGroup/__tests__/Generated/__snapshots__/AlertGroup.test.tsx.snap +1 -1
  55. package/src/components/AlertGroup/__tests__/Generated/__snapshots__/AlertGroupInline.test.tsx.snap +2 -2
  56. package/src/components/AlertGroup/__tests__/__snapshots__/AlertGroup.test.tsx.snap +2 -2
  57. package/src/components/ApplicationLauncher/__tests__/ApplicationLauncher.test.tsx +13 -17
  58. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherContent.test.tsx +2 -2
  59. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherGroup.test.tsx +2 -2
  60. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherIcon.test.tsx +2 -2
  61. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherSeparator.test.tsx +2 -2
  62. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherText.test.tsx +2 -2
  63. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherContent.test.tsx.snap +2 -2
  64. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherGroup.test.tsx.snap +2 -3
  65. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherIcon.test.tsx.snap +2 -2
  66. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherSeparator.test.tsx.snap +2 -2
  67. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherText.test.tsx.snap +2 -2
  68. package/src/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap +12 -12
  69. package/src/components/Avatar/__tests__/Avatar.test.tsx +2 -2
  70. package/src/components/Avatar/__tests__/__snapshots__/Avatar.test.tsx.snap +2 -2
  71. package/src/components/BackToTop/__tests__/BackToTop.test.tsx +7 -7
  72. package/src/components/BackToTop/__tests__/__snapshots__/BackToTop.test.tsx.snap +6 -6
  73. package/src/components/Backdrop/__tests__/Backdrop.test.tsx +2 -2
  74. package/src/components/Backdrop/__tests__/__snapshots__/Backdrop.test.tsx.snap +2 -2
  75. package/src/components/BackgroundImage/__tests__/BackgroundImage.test.tsx +9 -9
  76. package/src/components/BackgroundImage/__tests__/__snapshots__/BackgroundImage.test.tsx.snap +4 -4
  77. package/src/components/Badge/__tests__/Badge.test.tsx +2 -2
  78. package/src/components/Badge/__tests__/__snapshots__/Badge.test.tsx.snap +6 -8
  79. package/src/components/Banner/__tests__/Banner.test.tsx +12 -14
  80. package/src/components/Banner/__tests__/__snapshots__/Banner.test.tsx.snap +17 -22
  81. package/src/components/Brand/__tests__/Brand.test.tsx +5 -4
  82. package/src/components/Brand/__tests__/__snapshots__/Brand.test.tsx.snap +2 -2
  83. package/src/components/Breadcrumb/__tests__/Breadcrumb.test.tsx +8 -8
  84. package/src/components/Breadcrumb/__tests__/BreadcrumbHeading.test.tsx +10 -10
  85. package/src/components/Breadcrumb/__tests__/BreadcrumbItem.test.tsx +16 -18
  86. package/src/components/Breadcrumb/__tests__/__snapshots__/Breadcrumb.test.tsx.snap +8 -8
  87. package/src/components/Breadcrumb/__tests__/__snapshots__/BreadcrumbHeading.test.tsx.snap +10 -10
  88. package/src/components/Breadcrumb/__tests__/__snapshots__/BreadcrumbItem.test.tsx.snap +16 -16
  89. package/src/components/Button/__tests__/Button.test.tsx +29 -30
  90. package/src/components/Button/__tests__/__snapshots__/Button.test.tsx.snap +50 -58
  91. package/src/components/Card/__tests__/Card.test.tsx +24 -27
  92. package/src/components/Card/__tests__/CardBody.test.tsx +5 -8
  93. package/src/components/Card/__tests__/CardExpandableContent.test.tsx +2 -2
  94. package/src/components/Card/__tests__/CardFooter.test.tsx +3 -6
  95. package/src/components/Card/__tests__/CardHeadMain.test.tsx +3 -6
  96. package/src/components/Card/__tests__/CardHeader.test.tsx +2 -2
  97. package/src/components/Card/__tests__/CardHeaderMain.test.tsx +3 -6
  98. package/src/components/Card/__tests__/CardTitle.test.tsx +3 -6
  99. package/src/components/Card/__tests__/Generated/CardActions.test.tsx +2 -2
  100. package/src/components/Card/__tests__/Generated/__snapshots__/CardActions.test.tsx.snap +2 -2
  101. package/src/components/Card/__tests__/__snapshots__/Card.test.tsx.snap +24 -4
  102. package/src/components/Card/__tests__/__snapshots__/CardBody.test.tsx.snap +4 -4
  103. package/src/components/Card/__tests__/__snapshots__/CardExpandableContent.test.tsx.snap +2 -2
  104. package/src/components/Card/__tests__/__snapshots__/CardFooter.test.tsx.snap +2 -2
  105. package/src/components/Card/__tests__/__snapshots__/CardHeadMain.test.tsx.snap +9 -1
  106. package/src/components/Card/__tests__/__snapshots__/CardHeader.test.tsx.snap +2 -2
  107. package/src/components/Card/__tests__/__snapshots__/CardHeaderMain.test.tsx.snap +9 -1
  108. package/src/components/Card/__tests__/__snapshots__/CardTitle.test.tsx.snap +9 -1
  109. package/src/components/Checkbox/__tests__/Checkbox.test.tsx +24 -21
  110. package/src/components/Checkbox/__tests__/__snapshots__/Checkbox.test.tsx.snap +204 -9
  111. package/src/components/Chip/__tests__/Chip.test.tsx +8 -10
  112. package/src/components/Chip/__tests__/__snapshots__/Chip.test.tsx.snap +8 -8
  113. package/src/components/ChipGroup/__tests__/ChipGroup.test.tsx +8 -9
  114. package/src/components/ChipGroup/__tests__/__snapshots__/ChipGroup.test.tsx.snap +8 -9
  115. package/src/components/ClipboardCopy/__tests__/ClipboardCopyButton.test.tsx +5 -4
  116. package/src/components/ClipboardCopy/__tests__/ClipboardCopyExpanded.test.tsx +4 -4
  117. package/src/components/ClipboardCopy/__tests__/ClipboardCopyToggle.test.tsx +7 -5
  118. package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopy.test.tsx +2 -2
  119. package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopy.test.tsx.snap +2 -2
  120. package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyButton.test.tsx.snap +2 -2
  121. package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyExpanded.test.tsx.snap +4 -4
  122. package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyToggle.test.tsx.snap +2 -2
  123. package/src/components/CodeBlock/CodeBlockCode.tsx +8 -2
  124. package/src/components/CodeBlock/__tests__/CodeBlock.test.tsx +8 -8
  125. package/src/components/CodeBlock/__tests__/__snapshots__/CodeBlock.test.tsx.snap +8 -8
  126. package/src/components/ContextSelector/__tests__/ContextSelector.test.tsx +4 -8
  127. package/src/components/ContextSelector/__tests__/ContextSelectorFooter.test.tsx +2 -2
  128. package/src/components/ContextSelector/__tests__/ContextSelectorItem.test.tsx +6 -4
  129. package/src/components/ContextSelector/__tests__/ContextSelectorMenuList.test.tsx +4 -4
  130. package/src/components/ContextSelector/__tests__/ContextSelectorToggle.test.tsx +12 -20
  131. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelector.test.tsx.snap +178 -2
  132. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorFooter.test.tsx.snap +2 -2
  133. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorItem.test.tsx.snap +4 -4
  134. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorMenuList.test.tsx.snap +4 -4
  135. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorToggle.test.tsx.snap +155 -5
  136. package/src/components/DataList/__tests__/DataList.test.tsx +44 -40
  137. package/src/components/DataList/__tests__/Generated/DataListAction.test.tsx +2 -2
  138. package/src/components/DataList/__tests__/Generated/DataListCell.test.tsx +2 -2
  139. package/src/components/DataList/__tests__/Generated/DataListCheck.test.tsx +2 -2
  140. package/src/components/DataList/__tests__/Generated/DataListContent.test.tsx +2 -2
  141. package/src/components/DataList/__tests__/Generated/DataListItem.test.tsx +2 -2
  142. package/src/components/DataList/__tests__/Generated/DataListItemCells.test.tsx +4 -2
  143. package/src/components/DataList/__tests__/Generated/DataListItemRow.test.tsx +2 -2
  144. package/src/components/DataList/__tests__/Generated/DataListToggle.test.tsx +2 -2
  145. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListAction.test.tsx.snap +2 -2
  146. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListCell.test.tsx.snap +2 -2
  147. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListCheck.test.tsx.snap +2 -2
  148. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListContent.test.tsx.snap +2 -2
  149. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListItem.test.tsx.snap +2 -2
  150. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListItemCells.test.tsx.snap +2 -2
  151. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListItemRow.test.tsx.snap +2 -2
  152. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListToggle.test.tsx.snap +2 -2
  153. package/src/components/DataList/__tests__/__snapshots__/DataList.test.tsx.snap +47 -39
  154. package/src/components/DataList/examples/DataListExpandable.tsx +0 -23
  155. package/src/components/DatePicker/__tests__/DatePicker.test.tsx +2 -2
  156. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +2 -3
  157. package/src/components/DescriptionList/__tests__/DescriptionList.test.tsx +34 -34
  158. package/src/components/DescriptionList/__tests__/__snapshots__/DescriptionList.test.tsx.snap +34 -34
  159. package/src/components/Divider/__tests__/Divider.test.tsx +10 -10
  160. package/src/components/Divider/__tests__/__snapshots__/Divider.test.tsx.snap +8 -8
  161. package/src/components/DragDrop/__tests__/DragDrop.test.tsx +4 -8
  162. package/src/components/DragDrop/__tests__/__snapshots__/DragDrop.test.tsx.snap +4 -4
  163. package/src/components/Drawer/__tests__/Drawer.test.tsx +15 -9
  164. package/src/components/Drawer/__tests__/Generated/DrawerContent.test.tsx +4 -2
  165. package/src/components/Drawer/__tests__/Generated/DrawerPanelContent.test.tsx +2 -2
  166. package/src/components/Drawer/__tests__/Generated/__snapshots__/DrawerContent.test.tsx.snap +13 -87
  167. package/src/components/Drawer/__tests__/Generated/__snapshots__/DrawerPanelContent.test.tsx.snap +2 -2
  168. package/src/components/Drawer/__tests__/__snapshots__/Drawer.test.tsx.snap +16 -16
  169. package/src/components/Dropdown/__tests__/Dropdown.test.tsx +36 -34
  170. package/src/components/Dropdown/__tests__/DropdownGroup.test.tsx +2 -2
  171. package/src/components/Dropdown/__tests__/DropdownToggle.test.tsx +27 -30
  172. package/src/components/Dropdown/__tests__/DropdownToggleAction.test.tsx +9 -7
  173. package/src/components/Dropdown/__tests__/DropdownToggleCheckbox.test.tsx +18 -14
  174. package/src/components/Dropdown/__tests__/Generated/DropdownItem.test.tsx +2 -2
  175. package/src/components/Dropdown/__tests__/Generated/DropdownMenu.test.tsx +2 -2
  176. package/src/components/Dropdown/__tests__/Generated/DropdownSeparator.test.tsx +2 -2
  177. package/src/components/Dropdown/__tests__/Generated/KebabToggle.test.tsx +2 -2
  178. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownItem.test.tsx.snap +2 -2
  179. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownMenu.test.tsx.snap +2 -2
  180. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownSeparator.test.tsx.snap +2 -2
  181. package/src/components/Dropdown/__tests__/Generated/__snapshots__/KebabToggle.test.tsx.snap +2 -2
  182. package/src/components/Dropdown/__tests__/InternalDropdownItem.test.tsx +23 -21
  183. package/src/components/Dropdown/__tests__/Toggle.test.tsx +4 -4
  184. package/src/components/Dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +820 -15
  185. package/src/components/Dropdown/__tests__/__snapshots__/DropdownGroup.test.tsx.snap +2 -2
  186. package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggle.test.tsx.snap +208 -17
  187. package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggleAction.test.tsx.snap +6 -6
  188. package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggleCheckbox.test.tsx.snap +141 -7
  189. package/src/components/Dropdown/__tests__/__snapshots__/InternalDropdownItem.test.tsx.snap +157 -10
  190. package/src/components/Dropdown/__tests__/__snapshots__/Toggle.test.tsx.snap +4 -4
  191. package/src/components/DualListSelector/__tests__/DualListSelector.test.tsx +16 -12
  192. package/src/components/DualListSelector/__tests__/__snapshots__/DualListSelector.test.tsx.snap +12 -12
  193. package/src/components/EmptyState/__tests__/EmptyState.test.tsx +25 -24
  194. package/src/components/EmptyState/__tests__/Generated/EmptyStateBody.test.tsx +2 -2
  195. package/src/components/EmptyState/__tests__/Generated/EmptyStateIcon.test.tsx +5 -5
  196. package/src/components/EmptyState/__tests__/Generated/EmptyStatePrimary.test.tsx +2 -2
  197. package/src/components/EmptyState/__tests__/Generated/EmptyStateSecondaryActions.test.tsx +2 -2
  198. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateBody.test.tsx.snap +2 -2
  199. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateIcon.test.tsx.snap +4 -4
  200. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStatePrimary.test.tsx.snap +2 -2
  201. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateSecondaryActions.test.tsx.snap +2 -2
  202. package/src/components/EmptyState/__tests__/__snapshots__/EmptyState.test.tsx.snap +130 -5
  203. package/src/components/ExpandableSection/__tests__/ExpandableSection.test.tsx +23 -12
  204. package/src/components/ExpandableSection/__tests__/__snapshots__/ExpandableSection.test.tsx.snap +12 -12
  205. package/src/components/FileUpload/__tests__/FileUpload.test.tsx +2 -2
  206. package/src/components/FileUpload/__tests__/FileUploadField.test.tsx +2 -2
  207. package/src/components/FileUpload/__tests__/__snapshots__/FileUpload.test.tsx.snap +2 -2
  208. package/src/components/FileUpload/__tests__/__snapshots__/FileUploadField.test.tsx.snap +2 -2
  209. package/src/components/Form/__tests__/ActionGroup.test.tsx +4 -4
  210. package/src/components/Form/__tests__/Form.test.tsx +6 -6
  211. package/src/components/Form/__tests__/FormAlert.test.tsx +2 -4
  212. package/src/components/Form/__tests__/FormFieldGroup.test.tsx +12 -15
  213. package/src/components/Form/__tests__/FormGroup.test.tsx +2 -13
  214. package/src/components/Form/__tests__/FormHelperText.test.tsx +8 -9
  215. package/src/components/Form/__tests__/FormSection.test.tsx +5 -5
  216. package/src/components/Form/__tests__/__snapshots__/ActionGroup.test.tsx.snap +4 -4
  217. package/src/components/Form/__tests__/__snapshots__/Form.test.tsx.snap +6 -6
  218. package/src/components/Form/__tests__/__snapshots__/FormAlert.test.tsx.snap +2 -2
  219. package/src/components/Form/__tests__/__snapshots__/FormFieldGroup.test.tsx.snap +4 -4
  220. package/src/components/Form/__tests__/__snapshots__/FormHelperText.test.tsx.snap +55 -4
  221. package/src/components/Form/__tests__/__snapshots__/FormSection.test.tsx.snap +5 -7
  222. package/src/components/FormSelect/__tests__/FormSelect.test.tsx +25 -26
  223. package/src/components/FormSelect/__tests__/Generated/FormSelectOption.test.tsx +2 -2
  224. package/src/components/FormSelect/__tests__/Generated/FormSelectOptionGroup.test.tsx +2 -2
  225. package/src/components/FormSelect/__tests__/Generated/__snapshots__/FormSelectOption.test.tsx.snap +2 -2
  226. package/src/components/FormSelect/__tests__/Generated/__snapshots__/FormSelectOptionGroup.test.tsx.snap +2 -2
  227. package/src/components/FormSelect/__tests__/__snapshots__/FormSelect.test.tsx.snap +256 -9
  228. package/src/components/HelperText/__tests__/HelperText.test.tsx +13 -13
  229. package/src/components/HelperText/__tests__/__snapshots__/HelperText.test.tsx.snap +25 -30
  230. package/src/components/Hint/__tests__/Hint.test.tsx +2 -2
  231. package/src/components/Hint/__tests__/__snapshots__/Hint.test.tsx.snap +2 -2
  232. package/src/components/InputGroup/__tests__/InputGroup.test.tsx +2 -2
  233. package/src/components/InputGroup/__tests__/InputGroupText.test.tsx +0 -1
  234. package/src/components/JumpLinks/__tests__/JumpLinks.test.tsx +10 -10
  235. package/src/components/JumpLinks/__tests__/__snapshots__/JumpLinks.test.tsx.snap +11 -13
  236. package/src/components/Label/__tests__/Label.test.tsx +33 -66
  237. package/src/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +416 -26
  238. package/src/components/List/__tests__/Generated/ListItem.test.tsx +2 -2
  239. package/src/components/List/__tests__/Generated/__snapshots__/ListItem.test.tsx.snap +2 -2
  240. package/src/components/List/__tests__/List.test.tsx +0 -1
  241. package/src/components/LoginPage/__tests__/Generated/LoginFooter.test.tsx +2 -2
  242. package/src/components/LoginPage/__tests__/Generated/LoginHeader.test.tsx +2 -2
  243. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginFooter.test.tsx.snap +2 -2
  244. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginHeader.test.tsx.snap +2 -2
  245. package/src/components/LoginPage/__tests__/Login.test.tsx +2 -2
  246. package/src/components/LoginPage/__tests__/LoginFooterItem.test.tsx +1 -1
  247. package/src/components/LoginPage/__tests__/LoginForm.test.tsx +9 -7
  248. package/src/components/LoginPage/__tests__/LoginMainBody.test.tsx +5 -5
  249. package/src/components/LoginPage/__tests__/LoginMainFooter.test.tsx +5 -5
  250. package/src/components/LoginPage/__tests__/LoginMainFooterBandItem.test.tsx +1 -1
  251. package/src/components/LoginPage/__tests__/LoginMainFooterLinksItem.test.tsx +7 -7
  252. package/src/components/LoginPage/__tests__/LoginMainHeader.test.tsx +7 -7
  253. package/src/components/LoginPage/__tests__/LoginPage.test.tsx +2 -2
  254. package/src/components/LoginPage/__tests__/__snapshots__/Login.test.tsx.snap +3 -4
  255. package/src/components/LoginPage/__tests__/__snapshots__/LoginForm.test.tsx.snap +402 -3
  256. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainBody.test.tsx.snap +14 -2
  257. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainFooter.test.tsx.snap +14 -2
  258. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainFooterLinksItem.test.tsx.snap +43 -3
  259. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainHeader.test.tsx.snap +35 -3
  260. package/src/components/LoginPage/__tests__/__snapshots__/LoginPage.test.tsx.snap +2 -3
  261. package/src/components/Masthead/__tests__/Masthead.test.tsx +30 -30
  262. package/src/components/Masthead/__tests__/__snapshots__/Masthead.test.tsx.snap +44 -44
  263. package/src/components/Menu/__tests__/Menu.test.tsx +1 -1
  264. package/src/components/MenuToggle/__tests__/MenuToggle.test.tsx +18 -18
  265. package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +18 -18
  266. package/src/components/Modal/__tests__/Modal.test.tsx +5 -6
  267. package/src/components/Modal/__tests__/ModalBox.test.tsx +12 -12
  268. package/src/components/Modal/__tests__/ModalBoxBody.test.tsx +2 -2
  269. package/src/components/Modal/__tests__/ModalBoxDescription.test.tsx +2 -6
  270. package/src/components/Modal/__tests__/ModalBoxFooter.test.tsx +4 -2
  271. package/src/components/Modal/__tests__/ModalBoxHeader.test.tsx +4 -4
  272. package/src/components/Modal/__tests__/ModalBoxTitle.test.tsx +13 -13
  273. package/src/components/Modal/__tests__/ModalContent.test.tsx +34 -22
  274. package/src/components/Modal/__tests__/__snapshots__/ModalBox.test.tsx.snap +12 -12
  275. package/src/components/Modal/__tests__/__snapshots__/ModalBoxBody.test.tsx.snap +2 -2
  276. package/src/components/Modal/__tests__/__snapshots__/ModalBoxDescription.test.tsx.snap +2 -2
  277. package/src/components/Modal/__tests__/__snapshots__/ModalBoxFooter.test.tsx.snap +2 -2
  278. package/src/components/Modal/__tests__/__snapshots__/ModalBoxHeader.test.tsx.snap +4 -4
  279. package/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +12 -13
  280. package/src/components/Modal/__tests__/__snapshots__/ModalContent.test.tsx.snap +16 -23
  281. package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadTitleIcon.test.tsx +2 -2
  282. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadTitleIcon.test.tsx.snap +0 -2
  283. package/src/components/Nav/__tests__/Generated/NavExpandable.test.tsx +3 -3
  284. package/src/components/Nav/__tests__/Generated/NavGroup.test.tsx +2 -2
  285. package/src/components/Nav/__tests__/Generated/NavItem.test.tsx +2 -2
  286. package/src/components/Nav/__tests__/Generated/NavList.test.tsx +2 -2
  287. package/src/components/Nav/__tests__/Generated/__snapshots__/NavExpandable.test.tsx.snap +2 -2
  288. package/src/components/Nav/__tests__/Generated/__snapshots__/NavGroup.test.tsx.snap +2 -2
  289. package/src/components/Nav/__tests__/Generated/__snapshots__/NavItem.test.tsx.snap +2 -2
  290. package/src/components/Nav/__tests__/Generated/__snapshots__/NavList.test.tsx.snap +2 -2
  291. package/src/components/Nav/__tests__/Nav.test.tsx +1 -1
  292. package/src/components/NotificationBadge/__tests__/NotificationBadge.test.tsx +10 -6
  293. package/src/components/NotificationBadge/__tests__/__snapshots__/NotificationBadge.test.tsx.snap +12 -14
  294. package/src/components/NotificationDrawer/__tests__/NotificationDrawer.test.tsx +1 -1
  295. package/src/components/NotificationDrawer/__tests__/NotificationDrawerBody.test.tsx +1 -1
  296. package/src/components/NotificationDrawer/__tests__/NotificationDrawerGroup.test.tsx +13 -3
  297. package/src/components/NotificationDrawer/__tests__/NotificationDrawerGroupList.test.tsx +1 -1
  298. package/src/components/NotificationDrawer/__tests__/NotificationDrawerHeader.test.tsx +1 -1
  299. package/src/components/NotificationDrawer/__tests__/NotificationDrawerList.test.tsx +1 -1
  300. package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItem.test.tsx +1 -1
  301. package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItemBody.test.tsx +1 -1
  302. package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItemHeader.test.tsx +10 -4
  303. package/src/components/NumberInput/__tests__/NumberInput.test.tsx +20 -20
  304. package/src/components/NumberInput/__tests__/__snapshots__/NumberInput.test.tsx.snap +20 -20
  305. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuItem.test.tsx +2 -2
  306. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuItemGroup.test.tsx +3 -3
  307. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuSeparator.test.tsx +2 -2
  308. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuToggle.test.tsx +2 -4
  309. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuToggleWithText.test.tsx +2 -6
  310. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItem.test.tsx.snap +2 -2
  311. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItemGroup.test.tsx.snap +3 -5
  312. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuSeparator.test.tsx.snap +2 -2
  313. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggle.test.tsx.snap +2 -2
  314. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggleWithText.test.tsx.snap +2 -2
  315. package/src/components/OptionsMenu/__tests__/OptionsMenu.test.tsx +16 -16
  316. package/src/components/OptionsMenu/__tests__/__snapshots__/OptionsMenu.test.tsx.snap +16 -16
  317. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuControl.test.tsx +4 -2
  318. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuDropdownItem.test.tsx +2 -2
  319. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuControl.test.tsx.snap +3 -5
  320. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuDropdownItem.test.tsx.snap +2 -2
  321. package/src/components/OverflowMenu/__tests__/OverflowMenu.test.tsx +2 -3
  322. package/src/components/OverflowMenu/__tests__/OverflowMenuControl.test.tsx +0 -1
  323. package/src/components/OverflowMenu/__tests__/OverflowMenuGroup.test.tsx +0 -1
  324. package/src/components/OverflowMenu/__tests__/OverflowMenuItem.test.tsx +0 -1
  325. package/src/components/Page/__tests__/Generated/PageHeaderTools.test.tsx +2 -2
  326. package/src/components/Page/__tests__/Generated/PageHeaderToolsGroup.test.tsx +2 -4
  327. package/src/components/Page/__tests__/Generated/PageHeaderToolsItem.test.tsx +2 -2
  328. package/src/components/Page/__tests__/Generated/PageSidebar.test.tsx +2 -2
  329. package/src/components/Page/__tests__/Generated/__snapshots__/PageHeaderTools.test.tsx.snap +2 -2
  330. package/src/components/Page/__tests__/Generated/__snapshots__/PageHeaderToolsGroup.test.tsx.snap +2 -2
  331. package/src/components/Page/__tests__/Generated/__snapshots__/PageHeaderToolsItem.test.tsx.snap +2 -2
  332. package/src/components/Page/__tests__/Generated/__snapshots__/PageSidebar.test.tsx.snap +2 -2
  333. package/src/components/Page/__tests__/Page.test.tsx +0 -1
  334. package/src/components/Page/__tests__/PageBreadcrumb.test.tsx +14 -14
  335. package/src/components/Page/__tests__/PageGroup.test.tsx +12 -12
  336. package/src/components/Page/__tests__/PageHeader.test.tsx +2 -2
  337. package/src/components/Page/__tests__/PageNavigation.test.tsx +14 -14
  338. package/src/components/Page/__tests__/PageSection.test.tsx +30 -30
  339. package/src/components/Page/__tests__/__snapshots__/PageBreadcrumb.test.tsx.snap +14 -14
  340. package/src/components/Page/__tests__/__snapshots__/PageGroup.test.tsx.snap +12 -12
  341. package/src/components/Page/__tests__/__snapshots__/PageHeader.test.tsx.snap +2 -2
  342. package/src/components/Page/__tests__/__snapshots__/PageNavigation.test.tsx.snap +14 -14
  343. package/src/components/Page/__tests__/__snapshots__/PageSection.test.tsx.snap +30 -30
  344. package/src/components/Pagination/__tests__/Generated/Navigation.test.tsx +2 -2
  345. package/src/components/Pagination/__tests__/Generated/OptionsToggle.test.tsx +2 -2
  346. package/src/components/Pagination/__tests__/Generated/PaginationOptionsMenu.test.tsx +2 -2
  347. package/src/components/Pagination/__tests__/Generated/ToggleTemplate.test.tsx +2 -2
  348. package/src/components/Pagination/__tests__/Generated/__snapshots__/Navigation.test.tsx.snap +2 -2
  349. package/src/components/Pagination/__tests__/Generated/__snapshots__/OptionsToggle.test.tsx.snap +2 -2
  350. package/src/components/Pagination/__tests__/Generated/__snapshots__/PaginationOptionsMenu.test.tsx.snap +2 -2
  351. package/src/components/Pagination/__tests__/Generated/__snapshots__/ToggleTemplate.test.tsx.snap +5 -10
  352. package/src/components/Pagination/__tests__/Pagination.test.tsx +0 -1
  353. package/src/components/Panel/__tests__/Panel.test.tsx +18 -18
  354. package/src/components/Panel/__tests__/__snapshots__/Panel.test.tsx.snap +18 -18
  355. package/src/components/Popover/__tests__/Generated/PopoverArrow.test.tsx +2 -2
  356. package/src/components/Popover/__tests__/Generated/PopoverBody.test.tsx +2 -2
  357. package/src/components/Popover/__tests__/Generated/PopoverCloseButton.test.tsx +2 -2
  358. package/src/components/Popover/__tests__/Generated/PopoverContent.test.tsx +2 -2
  359. package/src/components/Popover/__tests__/Generated/PopoverDialog.test.tsx +2 -2
  360. package/src/components/Popover/__tests__/Generated/PopoverFooter.test.tsx +2 -2
  361. package/src/components/Popover/__tests__/Generated/PopoverHeader.test.tsx +2 -2
  362. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverArrow.test.tsx.snap +2 -2
  363. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverBody.test.tsx.snap +2 -2
  364. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverCloseButton.test.tsx.snap +2 -2
  365. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverContent.test.tsx.snap +2 -2
  366. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverDialog.test.tsx.snap +2 -2
  367. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverFooter.test.tsx.snap +2 -2
  368. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverHeader.test.tsx.snap +2 -2
  369. package/src/components/Popover/__tests__/Popover.test.tsx +8 -8
  370. package/src/components/Popover/__tests__/__snapshots__/Popover.test.tsx.snap +8 -8
  371. package/src/components/Progress/__tests__/Generated/ProgressBar.test.tsx +2 -2
  372. package/src/components/Progress/__tests__/Generated/ProgressContainer.test.tsx +2 -3
  373. package/src/components/Progress/__tests__/Generated/__snapshots__/ProgressBar.test.tsx.snap +2 -2
  374. package/src/components/Progress/__tests__/Generated/__snapshots__/ProgressContainer.test.tsx.snap +2 -2
  375. package/src/components/Progress/__tests__/Progress.test.tsx +27 -27
  376. package/src/components/Progress/__tests__/__snapshots__/Progress.test.tsx.snap +40 -40
  377. package/src/components/ProgressStepper/__tests__/ProgressStepper.test.tsx +24 -24
  378. package/src/components/ProgressStepper/__tests__/__snapshots__/ProgressStepper.test.tsx.snap +40 -46
  379. package/src/components/Radio/__tests__/Radio.test.tsx +19 -8
  380. package/src/components/SearchInput/__tests__/SearchInput.test.tsx +5 -6
  381. package/src/components/Select/__tests__/Select.test.tsx +1 -2
  382. package/src/components/Select/__tests__/SelectGroup.test.tsx +12 -5
  383. package/src/components/Select/__tests__/SelectOption.test.tsx +110 -33
  384. package/src/components/Select/__tests__/__snapshots__/SelectGroup.test.tsx.snap +22 -1
  385. package/src/components/Select/__tests__/__snapshots__/SelectOption.test.tsx.snap +223 -10
  386. package/src/components/SimpleList/__tests__/Generated/SimpleListGroup.test.tsx +2 -2
  387. package/src/components/SimpleList/__tests__/Generated/SimpleListItem.test.tsx +2 -2
  388. package/src/components/SimpleList/__tests__/Generated/__snapshots__/SimpleListGroup.test.tsx.snap +2 -2
  389. package/src/components/SimpleList/__tests__/Generated/__snapshots__/SimpleListItem.test.tsx.snap +2 -2
  390. package/src/components/SimpleList/__tests__/SimpleList.test.tsx +2 -3
  391. package/src/components/Skeleton/__tests__/Skeleton.test.tsx +14 -12
  392. package/src/components/Skeleton/__tests__/__snapshots__/Skeleton.test.tsx.snap +42 -42
  393. package/src/components/SkipToContent/__tests__/SkipToContent.test.tsx +4 -4
  394. package/src/components/SkipToContent/__tests__/__snapshots__/SkipToContent.test.tsx.snap +4 -4
  395. package/src/components/Slider/_tests_/Slider.test.tsx +22 -18
  396. package/src/components/Slider/_tests_/__snapshots__/Slider.test.tsx.snap +20 -22
  397. package/src/components/Spinner/__tests__/Spinner.test.tsx +10 -10
  398. package/src/components/Spinner/__tests__/__snapshots__/Spinner.test.tsx.snap +10 -10
  399. package/src/components/Switch/__tests__/Switch.test.tsx +18 -9
  400. package/src/components/Tabs/__tests__/Generated/TabContent.test.tsx +2 -2
  401. package/src/components/Tabs/__tests__/Generated/__snapshots__/TabContent.test.tsx.snap +2 -2
  402. package/src/components/Tabs/__tests__/Tab.test.tsx +3 -3
  403. package/src/components/Tabs/__tests__/TabButton.test.tsx +2 -2
  404. package/src/components/Tabs/__tests__/Tabs.test.tsx +99 -42
  405. package/src/components/Tabs/__tests__/__snapshots__/Tab.test.tsx.snap +2 -2
  406. package/src/components/Tabs/__tests__/__snapshots__/TabButton.test.tsx.snap +2 -2
  407. package/src/components/Tabs/__tests__/__snapshots__/Tabs.test.tsx.snap +29 -29
  408. package/src/components/Text/__tests__/Generated/TextContent.test.tsx +2 -2
  409. package/src/components/Text/__tests__/Generated/TextList.test.tsx +2 -2
  410. package/src/components/Text/__tests__/Generated/TextListItem.test.tsx +2 -2
  411. package/src/components/Text/__tests__/Generated/__snapshots__/TextContent.test.tsx.snap +2 -2
  412. package/src/components/Text/__tests__/Generated/__snapshots__/TextList.test.tsx.snap +2 -2
  413. package/src/components/Text/__tests__/Generated/__snapshots__/TextListItem.test.tsx.snap +2 -2
  414. package/src/components/Text/__tests__/Text.test.tsx +2 -2
  415. package/src/components/Text/__tests__/__snapshots__/Text.test.tsx.snap +3 -4
  416. package/src/components/TextArea/__tests__/TextArea.test.tsx +10 -7
  417. package/src/components/TextInput/__tests__/TextInput.test.tsx +11 -8
  418. package/src/components/TextInputGroup/__tests__/TextInputGroupMain.test.tsx +3 -3
  419. package/src/components/Tile/__tests__/Tile.test.tsx +14 -14
  420. package/src/components/Tile/__tests__/__snapshots__/Tile.test.tsx.snap +14 -14
  421. package/src/components/TimePicker/__tests__/TimePicker.test.tsx +10 -5
  422. package/src/components/Title/__tests__/Title.test.tsx +0 -3
  423. package/src/components/ToggleGroup/__tests__/ToggleGroup.test.tsx +12 -4
  424. package/src/components/ToggleGroup/__tests__/ToggleGroupItemElement.test.tsx +10 -6
  425. package/src/components/ToggleGroup/__tests__/__snapshots__/ToggleGroupItemElement.test.tsx.snap +6 -6
  426. package/src/components/Toolbar/__tests__/Generated/ToolbarChipGroupContent.test.tsx +2 -2
  427. package/src/components/Toolbar/__tests__/Generated/ToolbarContent.test.tsx +2 -2
  428. package/src/components/Toolbar/__tests__/Generated/ToolbarExpandableContent.test.tsx +2 -2
  429. package/src/components/Toolbar/__tests__/Generated/ToolbarGroup.test.tsx +2 -2
  430. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarChipGroupContent.test.tsx.snap +2 -2
  431. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarContent.test.tsx.snap +2 -2
  432. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarExpandableContent.test.tsx.snap +2 -2
  433. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarGroup.test.tsx.snap +2 -2
  434. package/src/components/Toolbar/__tests__/Toolbar.test.tsx +7 -9
  435. package/src/components/Toolbar/__tests__/ToolbarItem.test.tsx +3 -3
  436. package/src/components/Toolbar/__tests__/ToolbarToggleGroup.test.tsx +1 -1
  437. package/src/components/Toolbar/__tests__/__snapshots__/Toolbar.test.tsx.snap +501 -3
  438. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.test.tsx.snap +10 -1
  439. package/src/components/Tooltip/__tests__/Generated/TooltipArrow.test.tsx +2 -2
  440. package/src/components/Tooltip/__tests__/Generated/TooltipContent.test.tsx +4 -2
  441. package/src/components/Tooltip/__tests__/Generated/__snapshots__/TooltipArrow.test.tsx.snap +2 -2
  442. package/src/components/Tooltip/__tests__/Generated/__snapshots__/TooltipContent.test.tsx.snap +2 -2
  443. package/src/components/Tooltip/__tests__/Tooltip.test.tsx +2 -2
  444. package/src/components/Tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +2 -2
  445. package/src/components/TreeView/__tests__/TreeView.test.tsx +46 -34
  446. package/src/components/TreeView/__tests__/__snapshots__/TreeView.test.tsx.snap +22 -22
  447. package/src/components/Truncate/__tests__/Truncate.test.tsx +18 -6
  448. package/src/components/Truncate/__tests__/__snapshots__/Truncate.test.tsx.snap +7 -8
  449. package/src/components/Wizard/__tests__/Generated/WizardBody.test.tsx +2 -2
  450. package/src/components/Wizard/__tests__/Generated/WizardFooter.test.tsx +2 -2
  451. package/src/components/Wizard/__tests__/Generated/WizardFooterInternal.test.tsx +3 -3
  452. package/src/components/Wizard/__tests__/Generated/WizardHeader.test.tsx +2 -2
  453. package/src/components/Wizard/__tests__/Generated/WizardNav.test.tsx +2 -2
  454. package/src/components/Wizard/__tests__/Generated/WizardNavItem.test.tsx +2 -2
  455. package/src/components/Wizard/__tests__/Generated/WizardToggle.test.tsx +4 -4
  456. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardBody.test.tsx.snap +2 -2
  457. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardFooter.test.tsx.snap +2 -2
  458. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardFooterInternal.test.tsx.snap +2 -2
  459. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardHeader.test.tsx.snap +7 -7
  460. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardNav.test.tsx.snap +2 -2
  461. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardNavItem.test.tsx.snap +2 -2
  462. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardToggle.test.tsx.snap +2 -2
  463. package/src/components/Wizard/__tests__/Wizard.test.tsx +1 -4
  464. package/src/demos/DateTimePicker.md +1 -103
  465. package/src/demos/examples/DateTimePicker/DateTimePicker.tsx +106 -0
  466. package/src/helpers/FocusTrap/__tests__/Generated/FocusTrap.test.tsx +2 -2
  467. package/src/helpers/FocusTrap/__tests__/Generated/__snapshots__/FocusTrap.test.tsx.snap +2 -2
  468. package/src/helpers/GenerateId/__tests__/GenerateId.test.tsx +2 -2
  469. package/src/helpers/GenerateId/__tests__/__snapshots__/GenerateId.test.tsx.snap +2 -2
  470. package/src/helpers/Popper/__tests__/Generated/FindRefWrapper.test.tsx +2 -2
  471. package/src/helpers/Popper/__tests__/Generated/__snapshots__/FindRefWrapper.test.tsx.snap +2 -2
  472. package/src/helpers/__tests__/util.test.ts +2 -2
  473. package/src/layouts/Bullseye/__tests__/Bullseye.test.tsx +1 -4
  474. package/src/layouts/Flex/__tests__/Flex.test.tsx +0 -1
  475. package/src/layouts/Flex/__tests__/Generated/FlexItem.test.tsx +2 -2
  476. package/src/layouts/Flex/__tests__/Generated/__snapshots__/FlexItem.test.tsx.snap +2 -2
  477. package/src/layouts/Gallery/__tests__/Gallery.test.tsx +8 -8
  478. package/src/layouts/Gallery/__tests__/Generated/GalleryItem.test.tsx +2 -2
  479. package/src/layouts/Gallery/__tests__/Generated/__snapshots__/GalleryItem.test.tsx.snap +2 -2
  480. package/src/layouts/Gallery/__tests__/__snapshots__/Gallery.test.tsx.snap +6 -6
  481. package/src/layouts/Grid/__tests__/Grid.test.tsx +6 -6
  482. package/src/layouts/Grid/__tests__/GridItem.test.tsx +12 -12
  483. package/src/layouts/Grid/__tests__/__snapshots__/Grid.test.tsx.snap +4 -4
  484. package/src/layouts/Grid/__tests__/__snapshots__/GridItem.test.tsx.snap +36 -36
  485. package/src/layouts/Level/__tests__/Generated/LevelItem.test.tsx +2 -2
  486. package/src/layouts/Level/__tests__/Generated/__snapshots__/LevelItem.test.tsx.snap +2 -2
  487. package/src/layouts/Level/__tests__/Level.test.tsx +4 -4
  488. package/src/layouts/Level/__tests__/__snapshots__/Level.test.tsx.snap +4 -4
  489. package/src/layouts/Split/__tests__/Generated/SplitItem.test.tsx +2 -2
  490. package/src/layouts/Split/__tests__/Generated/__snapshots__/SplitItem.test.tsx.snap +2 -2
  491. package/src/layouts/Split/__tests__/Split.test.tsx +8 -8
  492. package/src/layouts/Split/__tests__/__snapshots__/Split.test.tsx.snap +8 -8
  493. package/src/layouts/Stack/__tests__/Generated/StackItem.test.tsx +2 -2
  494. package/src/layouts/Stack/__tests__/Generated/__snapshots__/StackItem.test.tsx.snap +2 -2
  495. package/src/layouts/Stack/__tests__/Stack.test.tsx +6 -6
  496. package/src/layouts/Stack/__tests__/__snapshots__/Stack.test.tsx.snap +6 -6
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Renders ContextSelectorItem 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <li
6
6
  role="none"
7
7
  >
@@ -11,11 +11,11 @@ exports[`Renders ContextSelectorItem 1`] = `
11
11
  My Project
12
12
  </button>
13
13
  </li>
14
- </div>
14
+ </DocumentFragment>
15
15
  `;
16
16
 
17
17
  exports[`Renders ContextSelectorItem disabled and hovered 1`] = `
18
- <div>
18
+ <DocumentFragment>
19
19
  <li
20
20
  role="none"
21
21
  >
@@ -26,5 +26,5 @@ exports[`Renders ContextSelectorItem disabled and hovered 1`] = `
26
26
  My Project
27
27
  </button>
28
28
  </li>
29
- </div>
29
+ </DocumentFragment>
30
30
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Renders ContextSelectorMenuList closed 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <ul
6
6
  class="pf-c-context-selector__menu-list"
7
7
  hidden=""
@@ -53,11 +53,11 @@ exports[`Renders ContextSelectorMenuList closed 1`] = `
53
53
  </button>
54
54
  </li>
55
55
  </ul>
56
- </div>
56
+ </DocumentFragment>
57
57
  `;
58
58
 
59
59
  exports[`Renders ContextSelectorMenuList open 1`] = `
60
- <div>
60
+ <DocumentFragment>
61
61
  <ul
62
62
  class="pf-c-context-selector__menu-list"
63
63
  hidden=""
@@ -109,5 +109,5 @@ exports[`Renders ContextSelectorMenuList open 1`] = `
109
109
  </button>
110
110
  </li>
111
111
  </ul>
112
- </div>
112
+ </DocumentFragment>
113
113
  `;
@@ -1,11 +1,161 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`ContextSelectorToggle Renders ContextSelectorToggle 1`] = `"<button id=\\"toggle-id\\" class=\\"pf-c-context-selector__toggle\\" type=\\"button\\" aria-expanded=\\"false\\"><span class=\\"pf-c-context-selector__toggle-text\\"></span><span class=\\"pf-c-context-selector__toggle-icon\\"><svg style=\\"vertical-align: -0.125em;\\" fill=\\"currentColor\\" height=\\"1em\\" width=\\"1em\\" viewBox=\\"0 0 320 512\\" aria-hidden=\\"true\\" role=\\"img\\"><path 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\\"></path></svg></span></button>"`;
3
+ exports[`ContextSelectorToggle Renders ContextSelectorToggle 1`] = `
4
+ <DocumentFragment>
5
+ <button
6
+ aria-expanded="false"
7
+ class="pf-c-context-selector__toggle"
8
+ id="toggle-id"
9
+ type="button"
10
+ >
11
+ <span
12
+ class="pf-c-context-selector__toggle-text"
13
+ />
14
+ <span
15
+ class="pf-c-context-selector__toggle-icon"
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 320 512"
24
+ width="1em"
25
+ >
26
+ <path
27
+ 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"
28
+ />
29
+ </svg>
30
+ </span>
31
+ </button>
32
+ </DocumentFragment>
33
+ `;
4
34
 
5
- exports[`ContextSelectorToggle Verify ESC press 1`] = `"<button id=\\"toggle-id\\" class=\\"pf-c-context-selector__toggle\\" type=\\"button\\" aria-expanded=\\"true\\"><span class=\\"pf-c-context-selector__toggle-text\\"></span><span class=\\"pf-c-context-selector__toggle-icon\\"><svg style=\\"vertical-align: -0.125em;\\" fill=\\"currentColor\\" height=\\"1em\\" width=\\"1em\\" viewBox=\\"0 0 320 512\\" aria-hidden=\\"true\\" role=\\"img\\"><path 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\\"></path></svg></span></button>"`;
35
+ exports[`ContextSelectorToggle Verify ESC press 1`] = `
36
+ <DocumentFragment>
37
+ <button
38
+ aria-expanded="true"
39
+ class="pf-c-context-selector__toggle"
40
+ id="toggle-id"
41
+ type="button"
42
+ >
43
+ <span
44
+ class="pf-c-context-selector__toggle-text"
45
+ />
46
+ <span
47
+ class="pf-c-context-selector__toggle-icon"
48
+ >
49
+ <svg
50
+ aria-hidden="true"
51
+ fill="currentColor"
52
+ height="1em"
53
+ role="img"
54
+ style="vertical-align: -0.125em;"
55
+ viewBox="0 0 320 512"
56
+ width="1em"
57
+ >
58
+ <path
59
+ 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"
60
+ />
61
+ </svg>
62
+ </span>
63
+ </button>
64
+ </DocumentFragment>
65
+ `;
6
66
 
7
- exports[`ContextSelectorToggle Verify ESC press with not isOpen 1`] = `"<button id=\\"toggle-id\\" class=\\"pf-c-context-selector__toggle\\" type=\\"button\\" aria-expanded=\\"false\\"><span class=\\"pf-c-context-selector__toggle-text\\"></span><span class=\\"pf-c-context-selector__toggle-icon\\"><svg style=\\"vertical-align: -0.125em;\\" fill=\\"currentColor\\" height=\\"1em\\" width=\\"1em\\" viewBox=\\"0 0 320 512\\" aria-hidden=\\"true\\" role=\\"img\\"><path 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\\"></path></svg></span></button>"`;
67
+ exports[`ContextSelectorToggle Verify ESC press with not isOpen 1`] = `
68
+ <DocumentFragment>
69
+ <button
70
+ aria-expanded="false"
71
+ class="pf-c-context-selector__toggle"
72
+ id="toggle-id"
73
+ type="button"
74
+ >
75
+ <span
76
+ class="pf-c-context-selector__toggle-text"
77
+ />
78
+ <span
79
+ class="pf-c-context-selector__toggle-icon"
80
+ >
81
+ <svg
82
+ aria-hidden="true"
83
+ fill="currentColor"
84
+ height="1em"
85
+ role="img"
86
+ style="vertical-align: -0.125em;"
87
+ viewBox="0 0 320 512"
88
+ width="1em"
89
+ >
90
+ <path
91
+ 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"
92
+ />
93
+ </svg>
94
+ </span>
95
+ </button>
96
+ </DocumentFragment>
97
+ `;
8
98
 
9
- exports[`ContextSelectorToggle Verify keydown enter 1`] = `"<button id=\\"toggle-id\\" class=\\"pf-c-context-selector__toggle\\" type=\\"button\\" aria-expanded=\\"false\\"><span class=\\"pf-c-context-selector__toggle-text\\"></span><span class=\\"pf-c-context-selector__toggle-icon\\"><svg style=\\"vertical-align: -0.125em;\\" fill=\\"currentColor\\" height=\\"1em\\" width=\\"1em\\" viewBox=\\"0 0 320 512\\" aria-hidden=\\"true\\" role=\\"img\\"><path 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\\"></path></svg></span></button>"`;
99
+ exports[`ContextSelectorToggle Verify keydown enter 1`] = `
100
+ <DocumentFragment>
101
+ <button
102
+ aria-expanded="false"
103
+ class="pf-c-context-selector__toggle"
104
+ id="toggle-id"
105
+ type="button"
106
+ >
107
+ <span
108
+ class="pf-c-context-selector__toggle-text"
109
+ />
110
+ <span
111
+ class="pf-c-context-selector__toggle-icon"
112
+ >
113
+ <svg
114
+ aria-hidden="true"
115
+ fill="currentColor"
116
+ height="1em"
117
+ role="img"
118
+ style="vertical-align: -0.125em;"
119
+ viewBox="0 0 320 512"
120
+ width="1em"
121
+ >
122
+ <path
123
+ 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"
124
+ />
125
+ </svg>
126
+ </span>
127
+ </button>
128
+ </DocumentFragment>
129
+ `;
10
130
 
11
- exports[`ContextSelectorToggle Verify keydown tab 1`] = `"<button id=\\"toggle-id\\" class=\\"pf-c-context-selector__toggle\\" type=\\"button\\" aria-expanded=\\"true\\"><span class=\\"pf-c-context-selector__toggle-text\\"></span><span class=\\"pf-c-context-selector__toggle-icon\\"><svg style=\\"vertical-align: -0.125em;\\" fill=\\"currentColor\\" height=\\"1em\\" width=\\"1em\\" viewBox=\\"0 0 320 512\\" aria-hidden=\\"true\\" role=\\"img\\"><path 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\\"></path></svg></span></button>"`;
131
+ exports[`ContextSelectorToggle Verify keydown tab 1`] = `
132
+ <DocumentFragment>
133
+ <button
134
+ aria-expanded="true"
135
+ class="pf-c-context-selector__toggle"
136
+ id="toggle-id"
137
+ type="button"
138
+ >
139
+ <span
140
+ class="pf-c-context-selector__toggle-text"
141
+ />
142
+ <span
143
+ class="pf-c-context-selector__toggle-icon"
144
+ >
145
+ <svg
146
+ aria-hidden="true"
147
+ fill="currentColor"
148
+ height="1em"
149
+ role="img"
150
+ style="vertical-align: -0.125em;"
151
+ viewBox="0 0 320 512"
152
+ width="1em"
153
+ >
154
+ <path
155
+ 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"
156
+ />
157
+ </svg>
158
+ </span>
159
+ </button>
160
+ </DocumentFragment>
161
+ `;
@@ -15,41 +15,45 @@ import { DropdownItem, Dropdown, KebabToggle, DropdownPosition } from '../../Dro
15
15
 
16
16
  describe('DataList', () => {
17
17
  test('List default', () => {
18
- const view = render(<DataList aria-label="this is a simple list" />);
19
- expect(view.container).toMatchSnapshot();
18
+ const { asFragment } = render(<DataList aria-label="this is a simple list" />);
19
+ expect(asFragment()).toMatchSnapshot();
20
20
  });
21
21
 
22
22
  test('List compact', () => {
23
- const view = render(<DataList aria-label="this is a simple list" isCompact />);
24
- expect(view.container).toMatchSnapshot();
23
+ const { asFragment } = render(<DataList aria-label="this is a simple list" isCompact />);
24
+ expect(asFragment()).toMatchSnapshot();
25
25
  });
26
26
 
27
27
  describe('DataList variants', () => {
28
28
  ['none', 'always', 'sm', 'md', 'lg', 'xl', '2xl'].forEach(oneBreakpoint => {
29
29
  test(`Breakpoint - ${oneBreakpoint}`, () => {
30
- const view = render(<DataList aria-label="this is a simple list" gridBreakpoint={oneBreakpoint as any} />);
31
- expect(view.container).toMatchSnapshot();
30
+ const { asFragment } = render(
31
+ <DataList aria-label="this is a simple list" gridBreakpoint={oneBreakpoint as any} />
32
+ );
33
+ expect(asFragment()).toMatchSnapshot();
32
34
  });
33
35
  });
34
36
  });
35
37
 
36
38
  test('List draggable', () => {
37
- const view = render(<DataList aria-label="this is a simple list" isCompact onDragFinish={jest.fn()} />);
38
- expect(view.container).toMatchSnapshot();
39
+ const { asFragment } = render(<DataList aria-label="this is a simple list" isCompact onDragFinish={jest.fn()} />);
40
+ expect(asFragment()).toMatchSnapshot();
39
41
  });
40
42
 
41
43
  test('List', () => {
42
- const view = render(<DataList key="list-id-1" className="data-list-custom" aria-label="this is a simple list" />);
43
- expect(view.container).toMatchSnapshot();
44
+ const { asFragment } = render(
45
+ <DataList key="list-id-1" className="data-list-custom" aria-label="this is a simple list" />
46
+ );
47
+ expect(asFragment()).toMatchSnapshot();
44
48
  });
45
49
 
46
50
  test('Item default', () => {
47
- render(
51
+ const { asFragment } = render(
48
52
  <DataListItem key="item-id-1" aria-labelledby="item-1">
49
53
  test
50
54
  </DataListItem>
51
55
  );
52
- expect(screen.getByRole('listitem').outerHTML).toMatchSnapshot();
56
+ expect(asFragment()).toMatchSnapshot();
53
57
  });
54
58
 
55
59
  test('Item expanded', () => {
@@ -58,30 +62,30 @@ describe('DataList', () => {
58
62
  test
59
63
  </DataListItem>
60
64
  );
61
- expect(screen.getByRole('listitem').className).toBe('pf-c-data-list__item pf-m-expanded');
65
+ expect(screen.getByRole('listitem')).toHaveClass('pf-c-data-list__item pf-m-expanded');
62
66
  });
63
67
 
64
68
  test('Item', () => {
65
- const view = render(
69
+ const { asFragment } = render(
66
70
  <DataListItem className="data-list-item-custom" aria-labelledby="item-1">
67
71
  test
68
72
  </DataListItem>
69
73
  );
70
- expect(view.container).toMatchSnapshot();
74
+ expect(asFragment()).toMatchSnapshot();
71
75
  });
72
76
 
73
77
  test('item row default', () => {
74
- const view = render(<DataListItemRow>test</DataListItemRow>);
75
- expect(view.container).toMatchSnapshot();
78
+ const { asFragment } = render(<DataListItemRow>test</DataListItemRow>);
79
+ expect(asFragment()).toMatchSnapshot();
76
80
  });
77
81
 
78
82
  test('Cell default', () => {
79
- const view = render(<DataListCell>Secondary</DataListCell>);
80
- expect(view.container).toMatchSnapshot();
83
+ const { asFragment } = render(<DataListCell>Secondary</DataListCell>);
84
+ expect(asFragment()).toMatchSnapshot();
81
85
  });
82
86
 
83
87
  test('Cells', () => {
84
- const view = render(
88
+ const { asFragment } = render(
85
89
  <DataListItemCells
86
90
  dataListCells={[
87
91
  <DataListCell key="list-id-1" id="primary-item" className="data-list-custom">
@@ -93,7 +97,7 @@ describe('DataList', () => {
93
97
  ]}
94
98
  />
95
99
  );
96
- expect(view.container).toMatchSnapshot();
100
+ expect(asFragment()).toMatchSnapshot();
97
101
  });
98
102
 
99
103
  test('Cell with width modifier', () => {
@@ -115,8 +119,8 @@ describe('DataList', () => {
115
119
  const dataListCell = screen.getByTestId(testId);
116
120
 
117
121
  testCase.class === ''
118
- ? expect(dataListCell.className).toBe('pf-c-data-list__cell')
119
- : expect(dataListCell.className).toBe(`pf-c-data-list__cell ${testCase.class}`);
122
+ ? expect(dataListCell).toHaveClass('pf-c-data-list__cell')
123
+ : expect(dataListCell).toHaveClass(`pf-c-data-list__cell ${testCase.class}`);
120
124
  });
121
125
  });
122
126
 
@@ -138,26 +142,26 @@ describe('DataList', () => {
138
142
  const dataListCell = screen.getByTestId(testId);
139
143
 
140
144
  testCase.class === ''
141
- ? expect(dataListCell.className).toBe('pf-c-data-list__cell')
142
- : expect(dataListCell.className).toBe(`pf-c-data-list__cell ${testCase.class}`);
145
+ ? expect(dataListCell).toHaveClass('pf-c-data-list__cell')
146
+ : expect(dataListCell).toHaveClass(`pf-c-data-list__cell ${testCase.class}`);
143
147
  });
144
148
  });
145
149
 
146
150
  test('Toggle default with aria label', () => {
147
151
  render(<DataListToggle aria-label="Toggle details for" id="ex-toggle2" />);
148
152
 
149
- expect(screen.getByRole('button').getAttribute('aria-labelledby')).toEqual(null);
150
- expect(screen.getByRole('button').getAttribute('aria-label')).toEqual('Toggle details for');
151
- expect(screen.getByRole('button').getAttribute('aria-expanded')).toEqual('false');
153
+ expect(screen.getByRole('button')).not.toHaveAttribute('aria-labelledby');
154
+ expect(screen.getByRole('button')).toHaveAttribute('aria-label', 'Toggle details for');
155
+ expect(screen.getByRole('button')).toHaveAttribute('aria-expanded', 'false');
152
156
  });
153
157
 
154
158
  test('Toggle expanded', () => {
155
159
  render(<DataListToggle aria-label="Toggle details for" id="ex-toggle2" isExpanded />);
156
- expect(screen.getByRole('button').getAttribute('aria-expanded')).toEqual('true');
160
+ expect(screen.getByRole('button')).toHaveAttribute('aria-expanded', 'true');
157
161
  });
158
162
 
159
163
  test('DataListAction dropdown', () => {
160
- const view = render(
164
+ const { asFragment } = render(
161
165
  <DataListAction aria-label="Actions" aria-labelledby="ex-action" id="ex-action" isPlainButtonAction>
162
166
  <Dropdown
163
167
  isPlain
@@ -174,16 +178,16 @@ describe('DataList', () => {
174
178
  />
175
179
  </DataListAction>
176
180
  );
177
- expect(view.container).toMatchSnapshot();
181
+ expect(asFragment()).toMatchSnapshot();
178
182
  });
179
183
 
180
184
  test('DataListAction button', () => {
181
- const view = render(
185
+ const { asFragment } = render(
182
186
  <DataListAction aria-label="Actions" aria-labelledby="ex-action" id="ex-action">
183
187
  <Button id="delete-item-1">Delete</Button>
184
188
  </DataListAction>
185
189
  );
186
- expect(view.container).toMatchSnapshot();
190
+ expect(asFragment()).toMatchSnapshot();
187
191
  });
188
192
 
189
193
  test('DataListAction visibility - show button when lg', () => {
@@ -198,8 +202,8 @@ describe('DataList', () => {
198
202
  </DataListAction>
199
203
  );
200
204
 
201
- expect(screen.getByRole('button').parentElement.className).toContain('pf-m-hidden');
202
- expect(screen.getByRole('button').parentElement.className).toContain('pf-m-visible-on-lg');
205
+ expect(screen.getByRole('button').parentElement).toHaveClass('pf-m-hidden');
206
+ expect(screen.getByRole('button').parentElement).toHaveClass('pf-m-visible-on-lg');
203
207
  });
204
208
 
205
209
  test('DataListAction visibility - hide button on 2xl', () => {
@@ -214,20 +218,20 @@ describe('DataList', () => {
214
218
  </DataListAction>
215
219
  );
216
220
 
217
- expect(screen.getByRole('button').parentElement.className).toContain('pf-m-hidden-on-2xl');
221
+ expect(screen.getByRole('button').parentElement).toHaveClass('pf-m-hidden-on-2xl');
218
222
  });
219
223
 
220
224
  test('DataListContent', () => {
221
- const view = render(<DataListContent aria-label="Primary Content Details"> test</DataListContent>);
222
- expect(view.container).toMatchSnapshot();
225
+ const { asFragment } = render(<DataListContent aria-label="Primary Content Details"> test</DataListContent>);
226
+ expect(asFragment()).toMatchSnapshot();
223
227
  });
224
228
 
225
229
  test('DataListContent hasNoPadding', () => {
226
- const view = render(
230
+ const { asFragment } = render(
227
231
  <DataListContent aria-label="Primary Content Details" hidden hasNoPadding>
228
232
  test
229
233
  </DataListContent>
230
234
  );
231
- expect(view.container).toMatchSnapshot();
235
+ expect(asFragment()).toMatchSnapshot();
232
236
  });
233
237
  });
@@ -8,7 +8,7 @@ import { DataListAction } from '../../DataListAction';
8
8
  import {} from '../..';
9
9
 
10
10
  it('DataListAction should match snapshot (auto-generated)', () => {
11
- const view = render(
11
+ const { asFragment } = render(
12
12
  <DataListAction
13
13
  children={<div>ReactNode</div>}
14
14
  className={"''"}
@@ -17,5 +17,5 @@ it('DataListAction should match snapshot (auto-generated)', () => {
17
17
  aria-label={'string'}
18
18
  />
19
19
  );
20
- expect(view.container).toMatchSnapshot();
20
+ expect(asFragment()).toMatchSnapshot();
21
21
  });
@@ -8,7 +8,7 @@ import { DataListCell } from '../../DataListCell';
8
8
  import {} from '../..';
9
9
 
10
10
  it('DataListCell should match snapshot (auto-generated)', () => {
11
- const view = render(
11
+ const { asFragment } = render(
12
12
  <DataListCell
13
13
  children={<>ReactNode</>}
14
14
  className={"''"}
@@ -18,5 +18,5 @@ it('DataListCell should match snapshot (auto-generated)', () => {
18
18
  isIcon={false}
19
19
  />
20
20
  );
21
- expect(view.container).toMatchSnapshot();
21
+ expect(asFragment()).toMatchSnapshot();
22
22
  });
@@ -8,7 +8,7 @@ import { DataListCheck } from '../../DataListCheck';
8
8
  import {} from '../..';
9
9
 
10
10
  it('DataListCheck should match snapshot (auto-generated)', () => {
11
- const view = render(
11
+ const { asFragment } = render(
12
12
  <DataListCheck
13
13
  className={"''"}
14
14
  isValid={true}
@@ -19,5 +19,5 @@ it('DataListCheck should match snapshot (auto-generated)', () => {
19
19
  aria-labelledby={'string'}
20
20
  />
21
21
  );
22
- expect(view.container).toMatchSnapshot();
22
+ expect(asFragment()).toMatchSnapshot();
23
23
  });
@@ -8,7 +8,7 @@ import { DataListContent } from '../../DataListContent';
8
8
  import {} from '../..';
9
9
 
10
10
  it('DataListContent should match snapshot (auto-generated)', () => {
11
- const view = render(
11
+ const { asFragment } = render(
12
12
  <DataListContent
13
13
  children={<>ReactNode</>}
14
14
  className={"''"}
@@ -19,5 +19,5 @@ it('DataListContent should match snapshot (auto-generated)', () => {
19
19
  aria-label={'string'}
20
20
  />
21
21
  );
22
- expect(view.container).toMatchSnapshot();
22
+ expect(asFragment()).toMatchSnapshot();
23
23
  });
@@ -8,7 +8,7 @@ import { DataListItem } from '../../DataListItem';
8
8
  import {} from '../..';
9
9
 
10
10
  it('DataListItem should match snapshot (auto-generated)', () => {
11
- const view = render(
11
+ const { asFragment } = render(
12
12
  <DataListItem
13
13
  isExpanded={false}
14
14
  children={<div>ReactNode</div>}
@@ -17,5 +17,5 @@ it('DataListItem should match snapshot (auto-generated)', () => {
17
17
  id={"''"}
18
18
  />
19
19
  );
20
- expect(view.container).toMatchSnapshot();
20
+ expect(asFragment()).toMatchSnapshot();
21
21
  });
@@ -8,6 +8,8 @@ import { DataListItemCells } from '../../DataListItemCells';
8
8
  import {} from '../..';
9
9
 
10
10
  it('DataListItemCells should match snapshot (auto-generated)', () => {
11
- const view = render(<DataListItemCells className={"''"} dataListCells={<div>ReactNode</div>} rowid={"''"} />);
12
- expect(view.container).toMatchSnapshot();
11
+ const { asFragment } = render(
12
+ <DataListItemCells className={"''"} dataListCells={<div>ReactNode</div>} rowid={"''"} />
13
+ );
14
+ expect(asFragment()).toMatchSnapshot();
13
15
  });
@@ -8,6 +8,6 @@ import { DataListItemRow } from '../../DataListItemRow';
8
8
  import {} from '../..';
9
9
 
10
10
  it('DataListItemRow should match snapshot (auto-generated)', () => {
11
- const view = render(<DataListItemRow children={<div>ReactNode</div>} className={"''"} rowid={"''"} />);
12
- expect(view.container).toMatchSnapshot();
11
+ const { asFragment } = render(<DataListItemRow children={<div>ReactNode</div>} className={"''"} rowid={"''"} />);
12
+ expect(asFragment()).toMatchSnapshot();
13
13
  });
@@ -8,7 +8,7 @@ import { DataListToggle } from '../../DataListToggle';
8
8
  import {} from '../..';
9
9
 
10
10
  it('DataListToggle should match snapshot (auto-generated)', () => {
11
- const view = render(
11
+ const { asFragment } = render(
12
12
  <DataListToggle
13
13
  className={"''"}
14
14
  isExpanded={false}
@@ -19,5 +19,5 @@ it('DataListToggle should match snapshot (auto-generated)', () => {
19
19
  aria-controls={"''"}
20
20
  />
21
21
  );
22
- expect(view.container).toMatchSnapshot();
22
+ expect(asFragment()).toMatchSnapshot();
23
23
  });
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`DataListAction should match snapshot (auto-generated) 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div
6
6
  class="pf-c-data-list__item-action ''"
7
7
  >
@@ -9,5 +9,5 @@ exports[`DataListAction should match snapshot (auto-generated) 1`] = `
9
9
  ReactNode
10
10
  </div>
11
11
  </div>
12
- </div>
12
+ </DocumentFragment>
13
13
  `;
@@ -1,11 +1,11 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`DataListCell should match snapshot (auto-generated) 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div
6
6
  class="pf-c-data-list__cell ''"
7
7
  >
8
8
  ReactNode
9
9
  </div>
10
- </div>
10
+ </DocumentFragment>
11
11
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`DataListCheck should match snapshot (auto-generated) 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div
6
6
  class="pf-c-data-list__item-control ''"
7
7
  >
@@ -15,5 +15,5 @@ exports[`DataListCheck should match snapshot (auto-generated) 1`] = `
15
15
  />
16
16
  </div>
17
17
  </div>
18
- </div>
18
+ </DocumentFragment>
19
19
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`DataListContent should match snapshot (auto-generated) 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <section
6
6
  aria-label="string"
7
7
  class="pf-c-data-list__expandable-content ''"
@@ -13,5 +13,5 @@ exports[`DataListContent should match snapshot (auto-generated) 1`] = `
13
13
  ReactNode
14
14
  </div>
15
15
  </section>
16
- </div>
16
+ </DocumentFragment>
17
17
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`DataListItem should match snapshot (auto-generated) 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <li
6
6
  aria-labelledby="string"
7
7
  class="pf-c-data-list__item ''"
@@ -13,5 +13,5 @@ exports[`DataListItem should match snapshot (auto-generated) 1`] = `
13
13
  ReactNode
14
14
  </div>
15
15
  </li>
16
- </div>
16
+ </DocumentFragment>
17
17
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`DataListItemCells should match snapshot (auto-generated) 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div
6
6
  class="pf-c-data-list__item-content ''"
7
7
  >
@@ -9,5 +9,5 @@ exports[`DataListItemCells should match snapshot (auto-generated) 1`] = `
9
9
  ReactNode
10
10
  </div>
11
11
  </div>
12
- </div>
12
+ </DocumentFragment>
13
13
  `;