@patternfly/react-core 4.206.3 → 4.206.6

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 (484) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/umd/react-core.css +39 -39
  3. package/package.json +5 -5
  4. package/src/components/AboutModal/__tests__/AboutModal.test.tsx +2 -2
  5. package/src/components/AboutModal/__tests__/AboutModalBox.test.tsx +2 -2
  6. package/src/components/AboutModal/__tests__/AboutModalBoxBrand.test.tsx +2 -2
  7. package/src/components/AboutModal/__tests__/AboutModalBoxCloseButton.test.tsx +6 -6
  8. package/src/components/AboutModal/__tests__/AboutModalBoxContent.test.tsx +2 -2
  9. package/src/components/AboutModal/__tests__/AboutModalBoxHeader.test.tsx +2 -2
  10. package/src/components/AboutModal/__tests__/AboutModalBoxHero.test.tsx +2 -2
  11. package/src/components/AboutModal/__tests__/AboutModalContainer.test.tsx +9 -7
  12. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBox.test.tsx.snap +2 -2
  13. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxBrand.test.tsx.snap +2 -2
  14. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxCloseButton.test.tsx.snap +6 -6
  15. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxContent.test.tsx.snap +2 -2
  16. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxHeader.test.tsx.snap +2 -2
  17. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxHero.test.tsx.snap +2 -2
  18. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalContainer.test.tsx.snap +8 -4
  19. package/src/components/Accordion/__tests__/Accordion.test.tsx +16 -17
  20. package/src/components/Accordion/__tests__/Generated/AccordionContent.test.tsx +2 -2
  21. package/src/components/Accordion/__tests__/Generated/AccordionItem.test.tsx +2 -2
  22. package/src/components/Accordion/__tests__/Generated/AccordionToggle.test.tsx +2 -2
  23. package/src/components/Accordion/__tests__/Generated/__snapshots__/AccordionContent.test.tsx.snap +2 -2
  24. package/src/components/Accordion/__tests__/Generated/__snapshots__/AccordionItem.test.tsx.snap +2 -2
  25. package/src/components/Accordion/__tests__/Generated/__snapshots__/AccordionToggle.test.tsx.snap +2 -2
  26. package/src/components/Accordion/__tests__/__snapshots__/Accordion.test.tsx.snap +10 -10
  27. package/src/components/ActionList/__tests__/ActionList.test.tsx +4 -4
  28. package/src/components/ActionList/__tests__/ActionListGroup.test.tsx +2 -2
  29. package/src/components/ActionList/__tests__/ActionListItem.test.tsx +2 -2
  30. package/src/components/ActionList/__tests__/__snapshots__/ActionList.test.tsx.snap +4 -4
  31. package/src/components/ActionList/__tests__/__snapshots__/ActionListGroup.test.tsx.snap +2 -2
  32. package/src/components/ActionList/__tests__/__snapshots__/ActionListItem.test.tsx.snap +2 -2
  33. package/src/components/Alert/__tests__/Alert.test.tsx +28 -27
  34. package/src/components/Alert/__tests__/Generated/AlertActionCloseButton.test.tsx +2 -2
  35. package/src/components/Alert/__tests__/Generated/AlertActionLink.test.tsx +2 -2
  36. package/src/components/Alert/__tests__/Generated/AlertIcon.test.tsx +2 -2
  37. package/src/components/Alert/__tests__/Generated/__snapshots__/AlertActionCloseButton.test.tsx.snap +2 -2
  38. package/src/components/Alert/__tests__/Generated/__snapshots__/AlertActionLink.test.tsx.snap +2 -2
  39. package/src/components/Alert/__tests__/Generated/__snapshots__/AlertIcon.test.tsx.snap +2 -2
  40. package/src/components/Alert/__tests__/__snapshots__/Alert.test.tsx.snap +100 -110
  41. package/src/components/AlertGroup/__tests__/AlertGroup.test.tsx +6 -7
  42. package/src/components/AlertGroup/__tests__/Generated/AlertGroup.test.tsx +2 -2
  43. package/src/components/AlertGroup/__tests__/Generated/AlertGroupInline.test.tsx +2 -2
  44. package/src/components/AlertGroup/__tests__/Generated/__snapshots__/AlertGroup.test.tsx.snap +1 -1
  45. package/src/components/AlertGroup/__tests__/Generated/__snapshots__/AlertGroupInline.test.tsx.snap +2 -2
  46. package/src/components/AlertGroup/__tests__/__snapshots__/AlertGroup.test.tsx.snap +2 -2
  47. package/src/components/ApplicationLauncher/__tests__/ApplicationLauncher.test.tsx +13 -17
  48. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherContent.test.tsx +2 -2
  49. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherGroup.test.tsx +2 -2
  50. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherIcon.test.tsx +2 -2
  51. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherSeparator.test.tsx +2 -2
  52. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherText.test.tsx +2 -2
  53. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherContent.test.tsx.snap +2 -2
  54. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherGroup.test.tsx.snap +2 -3
  55. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherIcon.test.tsx.snap +2 -2
  56. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherSeparator.test.tsx.snap +2 -2
  57. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherText.test.tsx.snap +2 -2
  58. package/src/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap +12 -12
  59. package/src/components/Avatar/__tests__/Avatar.test.tsx +2 -2
  60. package/src/components/Avatar/__tests__/__snapshots__/Avatar.test.tsx.snap +2 -2
  61. package/src/components/BackToTop/__tests__/BackToTop.test.tsx +7 -7
  62. package/src/components/BackToTop/__tests__/__snapshots__/BackToTop.test.tsx.snap +6 -6
  63. package/src/components/Backdrop/__tests__/Backdrop.test.tsx +2 -2
  64. package/src/components/Backdrop/__tests__/__snapshots__/Backdrop.test.tsx.snap +2 -2
  65. package/src/components/BackgroundImage/__tests__/BackgroundImage.test.tsx +9 -9
  66. package/src/components/BackgroundImage/__tests__/__snapshots__/BackgroundImage.test.tsx.snap +4 -4
  67. package/src/components/Badge/__tests__/Badge.test.tsx +2 -2
  68. package/src/components/Badge/__tests__/__snapshots__/Badge.test.tsx.snap +6 -8
  69. package/src/components/Banner/__tests__/Banner.test.tsx +12 -14
  70. package/src/components/Banner/__tests__/__snapshots__/Banner.test.tsx.snap +17 -22
  71. package/src/components/Brand/__tests__/Brand.test.tsx +5 -4
  72. package/src/components/Brand/__tests__/__snapshots__/Brand.test.tsx.snap +2 -2
  73. package/src/components/Breadcrumb/__tests__/Breadcrumb.test.tsx +8 -8
  74. package/src/components/Breadcrumb/__tests__/BreadcrumbHeading.test.tsx +10 -10
  75. package/src/components/Breadcrumb/__tests__/BreadcrumbItem.test.tsx +16 -18
  76. package/src/components/Breadcrumb/__tests__/__snapshots__/Breadcrumb.test.tsx.snap +8 -8
  77. package/src/components/Breadcrumb/__tests__/__snapshots__/BreadcrumbHeading.test.tsx.snap +10 -10
  78. package/src/components/Breadcrumb/__tests__/__snapshots__/BreadcrumbItem.test.tsx.snap +16 -16
  79. package/src/components/Button/__tests__/Button.test.tsx +29 -30
  80. package/src/components/Button/__tests__/__snapshots__/Button.test.tsx.snap +50 -58
  81. package/src/components/Card/__tests__/Card.test.tsx +24 -27
  82. package/src/components/Card/__tests__/CardBody.test.tsx +5 -8
  83. package/src/components/Card/__tests__/CardExpandableContent.test.tsx +2 -2
  84. package/src/components/Card/__tests__/CardFooter.test.tsx +3 -6
  85. package/src/components/Card/__tests__/CardHeadMain.test.tsx +3 -6
  86. package/src/components/Card/__tests__/CardHeader.test.tsx +2 -2
  87. package/src/components/Card/__tests__/CardHeaderMain.test.tsx +3 -6
  88. package/src/components/Card/__tests__/CardTitle.test.tsx +3 -6
  89. package/src/components/Card/__tests__/Generated/CardActions.test.tsx +2 -2
  90. package/src/components/Card/__tests__/Generated/__snapshots__/CardActions.test.tsx.snap +2 -2
  91. package/src/components/Card/__tests__/__snapshots__/Card.test.tsx.snap +24 -4
  92. package/src/components/Card/__tests__/__snapshots__/CardBody.test.tsx.snap +4 -4
  93. package/src/components/Card/__tests__/__snapshots__/CardExpandableContent.test.tsx.snap +2 -2
  94. package/src/components/Card/__tests__/__snapshots__/CardFooter.test.tsx.snap +2 -2
  95. package/src/components/Card/__tests__/__snapshots__/CardHeadMain.test.tsx.snap +9 -1
  96. package/src/components/Card/__tests__/__snapshots__/CardHeader.test.tsx.snap +2 -2
  97. package/src/components/Card/__tests__/__snapshots__/CardHeaderMain.test.tsx.snap +9 -1
  98. package/src/components/Card/__tests__/__snapshots__/CardTitle.test.tsx.snap +9 -1
  99. package/src/components/Checkbox/__tests__/Checkbox.test.tsx +24 -21
  100. package/src/components/Checkbox/__tests__/__snapshots__/Checkbox.test.tsx.snap +204 -9
  101. package/src/components/Chip/__tests__/Chip.test.tsx +8 -10
  102. package/src/components/Chip/__tests__/__snapshots__/Chip.test.tsx.snap +8 -8
  103. package/src/components/ChipGroup/__tests__/ChipGroup.test.tsx +8 -9
  104. package/src/components/ChipGroup/__tests__/__snapshots__/ChipGroup.test.tsx.snap +8 -9
  105. package/src/components/ClipboardCopy/__tests__/ClipboardCopyButton.test.tsx +5 -4
  106. package/src/components/ClipboardCopy/__tests__/ClipboardCopyExpanded.test.tsx +4 -4
  107. package/src/components/ClipboardCopy/__tests__/ClipboardCopyToggle.test.tsx +7 -5
  108. package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopy.test.tsx +2 -2
  109. package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopy.test.tsx.snap +2 -2
  110. package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyButton.test.tsx.snap +2 -2
  111. package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyExpanded.test.tsx.snap +4 -4
  112. package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyToggle.test.tsx.snap +2 -2
  113. package/src/components/CodeBlock/__tests__/CodeBlock.test.tsx +8 -8
  114. package/src/components/CodeBlock/__tests__/__snapshots__/CodeBlock.test.tsx.snap +8 -8
  115. package/src/components/ContextSelector/__tests__/ContextSelector.test.tsx +4 -8
  116. package/src/components/ContextSelector/__tests__/ContextSelectorFooter.test.tsx +2 -2
  117. package/src/components/ContextSelector/__tests__/ContextSelectorItem.test.tsx +6 -4
  118. package/src/components/ContextSelector/__tests__/ContextSelectorMenuList.test.tsx +4 -4
  119. package/src/components/ContextSelector/__tests__/ContextSelectorToggle.test.tsx +12 -20
  120. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelector.test.tsx.snap +178 -2
  121. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorFooter.test.tsx.snap +2 -2
  122. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorItem.test.tsx.snap +4 -4
  123. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorMenuList.test.tsx.snap +4 -4
  124. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorToggle.test.tsx.snap +155 -5
  125. package/src/components/DataList/__tests__/DataList.test.tsx +44 -40
  126. package/src/components/DataList/__tests__/Generated/DataListAction.test.tsx +2 -2
  127. package/src/components/DataList/__tests__/Generated/DataListCell.test.tsx +2 -2
  128. package/src/components/DataList/__tests__/Generated/DataListCheck.test.tsx +2 -2
  129. package/src/components/DataList/__tests__/Generated/DataListContent.test.tsx +2 -2
  130. package/src/components/DataList/__tests__/Generated/DataListItem.test.tsx +2 -2
  131. package/src/components/DataList/__tests__/Generated/DataListItemCells.test.tsx +4 -2
  132. package/src/components/DataList/__tests__/Generated/DataListItemRow.test.tsx +2 -2
  133. package/src/components/DataList/__tests__/Generated/DataListToggle.test.tsx +2 -2
  134. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListAction.test.tsx.snap +2 -2
  135. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListCell.test.tsx.snap +2 -2
  136. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListCheck.test.tsx.snap +2 -2
  137. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListContent.test.tsx.snap +2 -2
  138. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListItem.test.tsx.snap +2 -2
  139. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListItemCells.test.tsx.snap +2 -2
  140. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListItemRow.test.tsx.snap +2 -2
  141. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListToggle.test.tsx.snap +2 -2
  142. package/src/components/DataList/__tests__/__snapshots__/DataList.test.tsx.snap +47 -39
  143. package/src/components/DataList/examples/DataListExpandable.tsx +0 -23
  144. package/src/components/DatePicker/__tests__/DatePicker.test.tsx +2 -2
  145. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +2 -3
  146. package/src/components/DescriptionList/__tests__/DescriptionList.test.tsx +34 -34
  147. package/src/components/DescriptionList/__tests__/__snapshots__/DescriptionList.test.tsx.snap +34 -34
  148. package/src/components/Divider/__tests__/Divider.test.tsx +10 -10
  149. package/src/components/Divider/__tests__/__snapshots__/Divider.test.tsx.snap +8 -8
  150. package/src/components/DragDrop/__tests__/DragDrop.test.tsx +4 -8
  151. package/src/components/DragDrop/__tests__/__snapshots__/DragDrop.test.tsx.snap +4 -4
  152. package/src/components/Drawer/__tests__/Drawer.test.tsx +15 -9
  153. package/src/components/Drawer/__tests__/Generated/DrawerContent.test.tsx +4 -2
  154. package/src/components/Drawer/__tests__/Generated/DrawerPanelContent.test.tsx +2 -2
  155. package/src/components/Drawer/__tests__/Generated/__snapshots__/DrawerContent.test.tsx.snap +13 -87
  156. package/src/components/Drawer/__tests__/Generated/__snapshots__/DrawerPanelContent.test.tsx.snap +2 -2
  157. package/src/components/Drawer/__tests__/__snapshots__/Drawer.test.tsx.snap +16 -16
  158. package/src/components/Dropdown/__tests__/Dropdown.test.tsx +36 -34
  159. package/src/components/Dropdown/__tests__/DropdownGroup.test.tsx +2 -2
  160. package/src/components/Dropdown/__tests__/DropdownToggle.test.tsx +27 -30
  161. package/src/components/Dropdown/__tests__/DropdownToggleAction.test.tsx +9 -7
  162. package/src/components/Dropdown/__tests__/DropdownToggleCheckbox.test.tsx +18 -14
  163. package/src/components/Dropdown/__tests__/Generated/DropdownItem.test.tsx +2 -2
  164. package/src/components/Dropdown/__tests__/Generated/DropdownMenu.test.tsx +2 -2
  165. package/src/components/Dropdown/__tests__/Generated/DropdownSeparator.test.tsx +2 -2
  166. package/src/components/Dropdown/__tests__/Generated/KebabToggle.test.tsx +2 -2
  167. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownItem.test.tsx.snap +2 -2
  168. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownMenu.test.tsx.snap +2 -2
  169. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownSeparator.test.tsx.snap +2 -2
  170. package/src/components/Dropdown/__tests__/Generated/__snapshots__/KebabToggle.test.tsx.snap +2 -2
  171. package/src/components/Dropdown/__tests__/InternalDropdownItem.test.tsx +23 -21
  172. package/src/components/Dropdown/__tests__/Toggle.test.tsx +4 -4
  173. package/src/components/Dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +820 -15
  174. package/src/components/Dropdown/__tests__/__snapshots__/DropdownGroup.test.tsx.snap +2 -2
  175. package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggle.test.tsx.snap +208 -17
  176. package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggleAction.test.tsx.snap +6 -6
  177. package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggleCheckbox.test.tsx.snap +141 -7
  178. package/src/components/Dropdown/__tests__/__snapshots__/InternalDropdownItem.test.tsx.snap +157 -10
  179. package/src/components/Dropdown/__tests__/__snapshots__/Toggle.test.tsx.snap +4 -4
  180. package/src/components/DualListSelector/__tests__/DualListSelector.test.tsx +16 -12
  181. package/src/components/DualListSelector/__tests__/__snapshots__/DualListSelector.test.tsx.snap +12 -12
  182. package/src/components/EmptyState/__tests__/EmptyState.test.tsx +25 -24
  183. package/src/components/EmptyState/__tests__/Generated/EmptyStateBody.test.tsx +2 -2
  184. package/src/components/EmptyState/__tests__/Generated/EmptyStateIcon.test.tsx +5 -5
  185. package/src/components/EmptyState/__tests__/Generated/EmptyStatePrimary.test.tsx +2 -2
  186. package/src/components/EmptyState/__tests__/Generated/EmptyStateSecondaryActions.test.tsx +2 -2
  187. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateBody.test.tsx.snap +2 -2
  188. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateIcon.test.tsx.snap +4 -4
  189. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStatePrimary.test.tsx.snap +2 -2
  190. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateSecondaryActions.test.tsx.snap +2 -2
  191. package/src/components/EmptyState/__tests__/__snapshots__/EmptyState.test.tsx.snap +130 -5
  192. package/src/components/ExpandableSection/__tests__/ExpandableSection.test.tsx +23 -12
  193. package/src/components/ExpandableSection/__tests__/__snapshots__/ExpandableSection.test.tsx.snap +12 -12
  194. package/src/components/FileUpload/__tests__/FileUpload.test.tsx +2 -2
  195. package/src/components/FileUpload/__tests__/FileUploadField.test.tsx +2 -2
  196. package/src/components/FileUpload/__tests__/__snapshots__/FileUpload.test.tsx.snap +2 -2
  197. package/src/components/FileUpload/__tests__/__snapshots__/FileUploadField.test.tsx.snap +2 -2
  198. package/src/components/Form/__tests__/ActionGroup.test.tsx +4 -4
  199. package/src/components/Form/__tests__/Form.test.tsx +6 -6
  200. package/src/components/Form/__tests__/FormAlert.test.tsx +2 -4
  201. package/src/components/Form/__tests__/FormFieldGroup.test.tsx +12 -15
  202. package/src/components/Form/__tests__/FormGroup.test.tsx +2 -13
  203. package/src/components/Form/__tests__/FormHelperText.test.tsx +8 -9
  204. package/src/components/Form/__tests__/FormSection.test.tsx +5 -5
  205. package/src/components/Form/__tests__/__snapshots__/ActionGroup.test.tsx.snap +4 -4
  206. package/src/components/Form/__tests__/__snapshots__/Form.test.tsx.snap +6 -6
  207. package/src/components/Form/__tests__/__snapshots__/FormAlert.test.tsx.snap +2 -2
  208. package/src/components/Form/__tests__/__snapshots__/FormFieldGroup.test.tsx.snap +4 -4
  209. package/src/components/Form/__tests__/__snapshots__/FormHelperText.test.tsx.snap +55 -4
  210. package/src/components/Form/__tests__/__snapshots__/FormSection.test.tsx.snap +5 -7
  211. package/src/components/FormSelect/__tests__/FormSelect.test.tsx +25 -26
  212. package/src/components/FormSelect/__tests__/Generated/FormSelectOption.test.tsx +2 -2
  213. package/src/components/FormSelect/__tests__/Generated/FormSelectOptionGroup.test.tsx +2 -2
  214. package/src/components/FormSelect/__tests__/Generated/__snapshots__/FormSelectOption.test.tsx.snap +2 -2
  215. package/src/components/FormSelect/__tests__/Generated/__snapshots__/FormSelectOptionGroup.test.tsx.snap +2 -2
  216. package/src/components/FormSelect/__tests__/__snapshots__/FormSelect.test.tsx.snap +256 -9
  217. package/src/components/HelperText/__tests__/HelperText.test.tsx +13 -13
  218. package/src/components/HelperText/__tests__/__snapshots__/HelperText.test.tsx.snap +25 -30
  219. package/src/components/Hint/__tests__/Hint.test.tsx +2 -2
  220. package/src/components/Hint/__tests__/__snapshots__/Hint.test.tsx.snap +2 -2
  221. package/src/components/InputGroup/__tests__/InputGroup.test.tsx +2 -2
  222. package/src/components/InputGroup/__tests__/InputGroupText.test.tsx +0 -1
  223. package/src/components/JumpLinks/__tests__/JumpLinks.test.tsx +10 -10
  224. package/src/components/JumpLinks/__tests__/__snapshots__/JumpLinks.test.tsx.snap +11 -13
  225. package/src/components/Label/__tests__/Label.test.tsx +33 -66
  226. package/src/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +416 -26
  227. package/src/components/List/__tests__/Generated/ListItem.test.tsx +2 -2
  228. package/src/components/List/__tests__/Generated/__snapshots__/ListItem.test.tsx.snap +2 -2
  229. package/src/components/List/__tests__/List.test.tsx +0 -1
  230. package/src/components/LoginPage/__tests__/Generated/LoginFooter.test.tsx +2 -2
  231. package/src/components/LoginPage/__tests__/Generated/LoginHeader.test.tsx +2 -2
  232. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginFooter.test.tsx.snap +2 -2
  233. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginHeader.test.tsx.snap +2 -2
  234. package/src/components/LoginPage/__tests__/Login.test.tsx +2 -2
  235. package/src/components/LoginPage/__tests__/LoginFooterItem.test.tsx +1 -1
  236. package/src/components/LoginPage/__tests__/LoginForm.test.tsx +9 -7
  237. package/src/components/LoginPage/__tests__/LoginMainBody.test.tsx +5 -5
  238. package/src/components/LoginPage/__tests__/LoginMainFooter.test.tsx +5 -5
  239. package/src/components/LoginPage/__tests__/LoginMainFooterBandItem.test.tsx +1 -1
  240. package/src/components/LoginPage/__tests__/LoginMainFooterLinksItem.test.tsx +7 -7
  241. package/src/components/LoginPage/__tests__/LoginMainHeader.test.tsx +7 -7
  242. package/src/components/LoginPage/__tests__/LoginPage.test.tsx +2 -2
  243. package/src/components/LoginPage/__tests__/__snapshots__/Login.test.tsx.snap +3 -4
  244. package/src/components/LoginPage/__tests__/__snapshots__/LoginForm.test.tsx.snap +402 -3
  245. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainBody.test.tsx.snap +14 -2
  246. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainFooter.test.tsx.snap +14 -2
  247. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainFooterLinksItem.test.tsx.snap +43 -3
  248. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainHeader.test.tsx.snap +35 -3
  249. package/src/components/LoginPage/__tests__/__snapshots__/LoginPage.test.tsx.snap +2 -3
  250. package/src/components/Masthead/__tests__/Masthead.test.tsx +30 -30
  251. package/src/components/Masthead/__tests__/__snapshots__/Masthead.test.tsx.snap +44 -44
  252. package/src/components/Menu/__tests__/Menu.test.tsx +1 -1
  253. package/src/components/MenuToggle/__tests__/MenuToggle.test.tsx +18 -18
  254. package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +18 -18
  255. package/src/components/Modal/__tests__/Modal.test.tsx +5 -6
  256. package/src/components/Modal/__tests__/ModalBox.test.tsx +12 -12
  257. package/src/components/Modal/__tests__/ModalBoxBody.test.tsx +2 -2
  258. package/src/components/Modal/__tests__/ModalBoxDescription.test.tsx +2 -6
  259. package/src/components/Modal/__tests__/ModalBoxFooter.test.tsx +4 -2
  260. package/src/components/Modal/__tests__/ModalBoxHeader.test.tsx +4 -4
  261. package/src/components/Modal/__tests__/ModalBoxTitle.test.tsx +13 -13
  262. package/src/components/Modal/__tests__/ModalContent.test.tsx +34 -22
  263. package/src/components/Modal/__tests__/__snapshots__/ModalBox.test.tsx.snap +12 -12
  264. package/src/components/Modal/__tests__/__snapshots__/ModalBoxBody.test.tsx.snap +2 -2
  265. package/src/components/Modal/__tests__/__snapshots__/ModalBoxDescription.test.tsx.snap +2 -2
  266. package/src/components/Modal/__tests__/__snapshots__/ModalBoxFooter.test.tsx.snap +2 -2
  267. package/src/components/Modal/__tests__/__snapshots__/ModalBoxHeader.test.tsx.snap +4 -4
  268. package/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +12 -13
  269. package/src/components/Modal/__tests__/__snapshots__/ModalContent.test.tsx.snap +16 -23
  270. package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadTitleIcon.test.tsx +2 -2
  271. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadTitleIcon.test.tsx.snap +0 -2
  272. package/src/components/Nav/__tests__/Generated/NavExpandable.test.tsx +3 -3
  273. package/src/components/Nav/__tests__/Generated/NavGroup.test.tsx +2 -2
  274. package/src/components/Nav/__tests__/Generated/NavItem.test.tsx +2 -2
  275. package/src/components/Nav/__tests__/Generated/NavList.test.tsx +2 -2
  276. package/src/components/Nav/__tests__/Generated/__snapshots__/NavExpandable.test.tsx.snap +2 -2
  277. package/src/components/Nav/__tests__/Generated/__snapshots__/NavGroup.test.tsx.snap +2 -2
  278. package/src/components/Nav/__tests__/Generated/__snapshots__/NavItem.test.tsx.snap +2 -2
  279. package/src/components/Nav/__tests__/Generated/__snapshots__/NavList.test.tsx.snap +2 -2
  280. package/src/components/Nav/__tests__/Nav.test.tsx +1 -1
  281. package/src/components/NotificationBadge/__tests__/NotificationBadge.test.tsx +10 -6
  282. package/src/components/NotificationBadge/__tests__/__snapshots__/NotificationBadge.test.tsx.snap +12 -14
  283. package/src/components/NotificationDrawer/__tests__/NotificationDrawer.test.tsx +1 -1
  284. package/src/components/NotificationDrawer/__tests__/NotificationDrawerBody.test.tsx +1 -1
  285. package/src/components/NotificationDrawer/__tests__/NotificationDrawerGroup.test.tsx +13 -3
  286. package/src/components/NotificationDrawer/__tests__/NotificationDrawerGroupList.test.tsx +1 -1
  287. package/src/components/NotificationDrawer/__tests__/NotificationDrawerHeader.test.tsx +1 -1
  288. package/src/components/NotificationDrawer/__tests__/NotificationDrawerList.test.tsx +1 -1
  289. package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItem.test.tsx +1 -1
  290. package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItemBody.test.tsx +1 -1
  291. package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItemHeader.test.tsx +10 -4
  292. package/src/components/NumberInput/__tests__/NumberInput.test.tsx +20 -20
  293. package/src/components/NumberInput/__tests__/__snapshots__/NumberInput.test.tsx.snap +20 -20
  294. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuItem.test.tsx +2 -2
  295. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuItemGroup.test.tsx +3 -3
  296. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuSeparator.test.tsx +2 -2
  297. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuToggle.test.tsx +2 -4
  298. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuToggleWithText.test.tsx +2 -6
  299. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItem.test.tsx.snap +2 -2
  300. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItemGroup.test.tsx.snap +3 -5
  301. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuSeparator.test.tsx.snap +2 -2
  302. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggle.test.tsx.snap +2 -2
  303. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggleWithText.test.tsx.snap +2 -2
  304. package/src/components/OptionsMenu/__tests__/OptionsMenu.test.tsx +16 -16
  305. package/src/components/OptionsMenu/__tests__/__snapshots__/OptionsMenu.test.tsx.snap +16 -16
  306. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuControl.test.tsx +4 -2
  307. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuDropdownItem.test.tsx +2 -2
  308. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuControl.test.tsx.snap +3 -5
  309. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuDropdownItem.test.tsx.snap +2 -2
  310. package/src/components/OverflowMenu/__tests__/OverflowMenu.test.tsx +2 -3
  311. package/src/components/OverflowMenu/__tests__/OverflowMenuControl.test.tsx +0 -1
  312. package/src/components/OverflowMenu/__tests__/OverflowMenuGroup.test.tsx +0 -1
  313. package/src/components/OverflowMenu/__tests__/OverflowMenuItem.test.tsx +0 -1
  314. package/src/components/Page/__tests__/Generated/PageHeaderTools.test.tsx +2 -2
  315. package/src/components/Page/__tests__/Generated/PageHeaderToolsGroup.test.tsx +2 -4
  316. package/src/components/Page/__tests__/Generated/PageHeaderToolsItem.test.tsx +2 -2
  317. package/src/components/Page/__tests__/Generated/PageSidebar.test.tsx +2 -2
  318. package/src/components/Page/__tests__/Generated/__snapshots__/PageHeaderTools.test.tsx.snap +2 -2
  319. package/src/components/Page/__tests__/Generated/__snapshots__/PageHeaderToolsGroup.test.tsx.snap +2 -2
  320. package/src/components/Page/__tests__/Generated/__snapshots__/PageHeaderToolsItem.test.tsx.snap +2 -2
  321. package/src/components/Page/__tests__/Generated/__snapshots__/PageSidebar.test.tsx.snap +2 -2
  322. package/src/components/Page/__tests__/Page.test.tsx +0 -1
  323. package/src/components/Page/__tests__/PageBreadcrumb.test.tsx +14 -14
  324. package/src/components/Page/__tests__/PageGroup.test.tsx +12 -12
  325. package/src/components/Page/__tests__/PageHeader.test.tsx +2 -2
  326. package/src/components/Page/__tests__/PageNavigation.test.tsx +14 -14
  327. package/src/components/Page/__tests__/PageSection.test.tsx +30 -30
  328. package/src/components/Page/__tests__/__snapshots__/PageBreadcrumb.test.tsx.snap +14 -14
  329. package/src/components/Page/__tests__/__snapshots__/PageGroup.test.tsx.snap +12 -12
  330. package/src/components/Page/__tests__/__snapshots__/PageHeader.test.tsx.snap +2 -2
  331. package/src/components/Page/__tests__/__snapshots__/PageNavigation.test.tsx.snap +14 -14
  332. package/src/components/Page/__tests__/__snapshots__/PageSection.test.tsx.snap +30 -30
  333. package/src/components/Pagination/__tests__/Generated/Navigation.test.tsx +2 -2
  334. package/src/components/Pagination/__tests__/Generated/OptionsToggle.test.tsx +2 -2
  335. package/src/components/Pagination/__tests__/Generated/PaginationOptionsMenu.test.tsx +2 -2
  336. package/src/components/Pagination/__tests__/Generated/ToggleTemplate.test.tsx +2 -2
  337. package/src/components/Pagination/__tests__/Generated/__snapshots__/Navigation.test.tsx.snap +2 -2
  338. package/src/components/Pagination/__tests__/Generated/__snapshots__/OptionsToggle.test.tsx.snap +2 -2
  339. package/src/components/Pagination/__tests__/Generated/__snapshots__/PaginationOptionsMenu.test.tsx.snap +2 -2
  340. package/src/components/Pagination/__tests__/Generated/__snapshots__/ToggleTemplate.test.tsx.snap +5 -10
  341. package/src/components/Pagination/__tests__/Pagination.test.tsx +0 -1
  342. package/src/components/Panel/__tests__/Panel.test.tsx +18 -18
  343. package/src/components/Panel/__tests__/__snapshots__/Panel.test.tsx.snap +18 -18
  344. package/src/components/Popover/__tests__/Generated/PopoverArrow.test.tsx +2 -2
  345. package/src/components/Popover/__tests__/Generated/PopoverBody.test.tsx +2 -2
  346. package/src/components/Popover/__tests__/Generated/PopoverCloseButton.test.tsx +2 -2
  347. package/src/components/Popover/__tests__/Generated/PopoverContent.test.tsx +2 -2
  348. package/src/components/Popover/__tests__/Generated/PopoverDialog.test.tsx +2 -2
  349. package/src/components/Popover/__tests__/Generated/PopoverFooter.test.tsx +2 -2
  350. package/src/components/Popover/__tests__/Generated/PopoverHeader.test.tsx +2 -2
  351. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverArrow.test.tsx.snap +2 -2
  352. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverBody.test.tsx.snap +2 -2
  353. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverCloseButton.test.tsx.snap +2 -2
  354. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverContent.test.tsx.snap +2 -2
  355. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverDialog.test.tsx.snap +2 -2
  356. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverFooter.test.tsx.snap +2 -2
  357. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverHeader.test.tsx.snap +2 -2
  358. package/src/components/Popover/__tests__/Popover.test.tsx +8 -8
  359. package/src/components/Popover/__tests__/__snapshots__/Popover.test.tsx.snap +8 -8
  360. package/src/components/Progress/__tests__/Generated/ProgressBar.test.tsx +2 -2
  361. package/src/components/Progress/__tests__/Generated/ProgressContainer.test.tsx +2 -3
  362. package/src/components/Progress/__tests__/Generated/__snapshots__/ProgressBar.test.tsx.snap +2 -2
  363. package/src/components/Progress/__tests__/Generated/__snapshots__/ProgressContainer.test.tsx.snap +2 -2
  364. package/src/components/Progress/__tests__/Progress.test.tsx +27 -27
  365. package/src/components/Progress/__tests__/__snapshots__/Progress.test.tsx.snap +40 -40
  366. package/src/components/ProgressStepper/__tests__/ProgressStepper.test.tsx +24 -24
  367. package/src/components/ProgressStepper/__tests__/__snapshots__/ProgressStepper.test.tsx.snap +40 -46
  368. package/src/components/Radio/__tests__/Radio.test.tsx +19 -8
  369. package/src/components/SearchInput/__tests__/SearchInput.test.tsx +5 -6
  370. package/src/components/Select/__tests__/Select.test.tsx +1 -2
  371. package/src/components/Select/__tests__/SelectGroup.test.tsx +12 -5
  372. package/src/components/Select/__tests__/SelectOption.test.tsx +110 -33
  373. package/src/components/Select/__tests__/__snapshots__/SelectGroup.test.tsx.snap +22 -1
  374. package/src/components/Select/__tests__/__snapshots__/SelectOption.test.tsx.snap +223 -10
  375. package/src/components/SimpleList/__tests__/Generated/SimpleListGroup.test.tsx +2 -2
  376. package/src/components/SimpleList/__tests__/Generated/SimpleListItem.test.tsx +2 -2
  377. package/src/components/SimpleList/__tests__/Generated/__snapshots__/SimpleListGroup.test.tsx.snap +2 -2
  378. package/src/components/SimpleList/__tests__/Generated/__snapshots__/SimpleListItem.test.tsx.snap +2 -2
  379. package/src/components/SimpleList/__tests__/SimpleList.test.tsx +2 -3
  380. package/src/components/Skeleton/__tests__/Skeleton.test.tsx +14 -12
  381. package/src/components/Skeleton/__tests__/__snapshots__/Skeleton.test.tsx.snap +42 -42
  382. package/src/components/SkipToContent/__tests__/SkipToContent.test.tsx +4 -4
  383. package/src/components/SkipToContent/__tests__/__snapshots__/SkipToContent.test.tsx.snap +4 -4
  384. package/src/components/Slider/_tests_/Slider.test.tsx +22 -18
  385. package/src/components/Slider/_tests_/__snapshots__/Slider.test.tsx.snap +20 -22
  386. package/src/components/Spinner/__tests__/Spinner.test.tsx +10 -10
  387. package/src/components/Spinner/__tests__/__snapshots__/Spinner.test.tsx.snap +10 -10
  388. package/src/components/Switch/__tests__/Switch.test.tsx +18 -9
  389. package/src/components/Tabs/__tests__/Generated/TabContent.test.tsx +2 -2
  390. package/src/components/Tabs/__tests__/Generated/__snapshots__/TabContent.test.tsx.snap +2 -2
  391. package/src/components/Tabs/__tests__/Tab.test.tsx +3 -3
  392. package/src/components/Tabs/__tests__/TabButton.test.tsx +2 -2
  393. package/src/components/Tabs/__tests__/Tabs.test.tsx +99 -42
  394. package/src/components/Tabs/__tests__/__snapshots__/Tab.test.tsx.snap +2 -2
  395. package/src/components/Tabs/__tests__/__snapshots__/TabButton.test.tsx.snap +2 -2
  396. package/src/components/Tabs/__tests__/__snapshots__/Tabs.test.tsx.snap +29 -29
  397. package/src/components/Text/__tests__/Generated/TextContent.test.tsx +2 -2
  398. package/src/components/Text/__tests__/Generated/TextList.test.tsx +2 -2
  399. package/src/components/Text/__tests__/Generated/TextListItem.test.tsx +2 -2
  400. package/src/components/Text/__tests__/Generated/__snapshots__/TextContent.test.tsx.snap +2 -2
  401. package/src/components/Text/__tests__/Generated/__snapshots__/TextList.test.tsx.snap +2 -2
  402. package/src/components/Text/__tests__/Generated/__snapshots__/TextListItem.test.tsx.snap +2 -2
  403. package/src/components/Text/__tests__/Text.test.tsx +2 -2
  404. package/src/components/Text/__tests__/__snapshots__/Text.test.tsx.snap +3 -4
  405. package/src/components/TextArea/__tests__/TextArea.test.tsx +10 -7
  406. package/src/components/TextInput/__tests__/TextInput.test.tsx +11 -8
  407. package/src/components/TextInputGroup/__tests__/TextInputGroupMain.test.tsx +3 -3
  408. package/src/components/Tile/__tests__/Tile.test.tsx +14 -14
  409. package/src/components/Tile/__tests__/__snapshots__/Tile.test.tsx.snap +14 -14
  410. package/src/components/TimePicker/__tests__/TimePicker.test.tsx +10 -5
  411. package/src/components/Title/__tests__/Title.test.tsx +0 -3
  412. package/src/components/ToggleGroup/__tests__/ToggleGroup.test.tsx +12 -4
  413. package/src/components/ToggleGroup/__tests__/ToggleGroupItemElement.test.tsx +10 -6
  414. package/src/components/ToggleGroup/__tests__/__snapshots__/ToggleGroupItemElement.test.tsx.snap +6 -6
  415. package/src/components/Toolbar/__tests__/Generated/ToolbarChipGroupContent.test.tsx +2 -2
  416. package/src/components/Toolbar/__tests__/Generated/ToolbarContent.test.tsx +2 -2
  417. package/src/components/Toolbar/__tests__/Generated/ToolbarExpandableContent.test.tsx +2 -2
  418. package/src/components/Toolbar/__tests__/Generated/ToolbarGroup.test.tsx +2 -2
  419. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarChipGroupContent.test.tsx.snap +2 -2
  420. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarContent.test.tsx.snap +2 -2
  421. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarExpandableContent.test.tsx.snap +2 -2
  422. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarGroup.test.tsx.snap +2 -2
  423. package/src/components/Toolbar/__tests__/Toolbar.test.tsx +7 -9
  424. package/src/components/Toolbar/__tests__/ToolbarItem.test.tsx +3 -3
  425. package/src/components/Toolbar/__tests__/ToolbarToggleGroup.test.tsx +1 -1
  426. package/src/components/Toolbar/__tests__/__snapshots__/Toolbar.test.tsx.snap +501 -3
  427. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.test.tsx.snap +10 -1
  428. package/src/components/Tooltip/__tests__/Generated/TooltipArrow.test.tsx +2 -2
  429. package/src/components/Tooltip/__tests__/Generated/TooltipContent.test.tsx +4 -2
  430. package/src/components/Tooltip/__tests__/Generated/__snapshots__/TooltipArrow.test.tsx.snap +2 -2
  431. package/src/components/Tooltip/__tests__/Generated/__snapshots__/TooltipContent.test.tsx.snap +2 -2
  432. package/src/components/Tooltip/__tests__/Tooltip.test.tsx +2 -2
  433. package/src/components/Tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +2 -2
  434. package/src/components/TreeView/__tests__/TreeView.test.tsx +46 -34
  435. package/src/components/TreeView/__tests__/__snapshots__/TreeView.test.tsx.snap +22 -22
  436. package/src/components/Truncate/__tests__/Truncate.test.tsx +18 -6
  437. package/src/components/Truncate/__tests__/__snapshots__/Truncate.test.tsx.snap +7 -8
  438. package/src/components/Wizard/__tests__/Generated/WizardBody.test.tsx +2 -2
  439. package/src/components/Wizard/__tests__/Generated/WizardFooter.test.tsx +2 -2
  440. package/src/components/Wizard/__tests__/Generated/WizardFooterInternal.test.tsx +3 -3
  441. package/src/components/Wizard/__tests__/Generated/WizardHeader.test.tsx +2 -2
  442. package/src/components/Wizard/__tests__/Generated/WizardNav.test.tsx +2 -2
  443. package/src/components/Wizard/__tests__/Generated/WizardNavItem.test.tsx +2 -2
  444. package/src/components/Wizard/__tests__/Generated/WizardToggle.test.tsx +4 -4
  445. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardBody.test.tsx.snap +2 -2
  446. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardFooter.test.tsx.snap +2 -2
  447. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardFooterInternal.test.tsx.snap +2 -2
  448. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardHeader.test.tsx.snap +7 -7
  449. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardNav.test.tsx.snap +2 -2
  450. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardNavItem.test.tsx.snap +2 -2
  451. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardToggle.test.tsx.snap +2 -2
  452. package/src/components/Wizard/__tests__/Wizard.test.tsx +1 -4
  453. package/src/demos/DateTimePicker.md +67 -51
  454. package/src/helpers/FocusTrap/__tests__/Generated/FocusTrap.test.tsx +2 -2
  455. package/src/helpers/FocusTrap/__tests__/Generated/__snapshots__/FocusTrap.test.tsx.snap +2 -2
  456. package/src/helpers/GenerateId/__tests__/GenerateId.test.tsx +2 -2
  457. package/src/helpers/GenerateId/__tests__/__snapshots__/GenerateId.test.tsx.snap +2 -2
  458. package/src/helpers/Popper/__tests__/Generated/FindRefWrapper.test.tsx +2 -2
  459. package/src/helpers/Popper/__tests__/Generated/__snapshots__/FindRefWrapper.test.tsx.snap +2 -2
  460. package/src/helpers/__tests__/util.test.ts +2 -2
  461. package/src/layouts/Bullseye/__tests__/Bullseye.test.tsx +1 -4
  462. package/src/layouts/Flex/__tests__/Flex.test.tsx +0 -1
  463. package/src/layouts/Flex/__tests__/Generated/FlexItem.test.tsx +2 -2
  464. package/src/layouts/Flex/__tests__/Generated/__snapshots__/FlexItem.test.tsx.snap +2 -2
  465. package/src/layouts/Gallery/__tests__/Gallery.test.tsx +8 -8
  466. package/src/layouts/Gallery/__tests__/Generated/GalleryItem.test.tsx +2 -2
  467. package/src/layouts/Gallery/__tests__/Generated/__snapshots__/GalleryItem.test.tsx.snap +2 -2
  468. package/src/layouts/Gallery/__tests__/__snapshots__/Gallery.test.tsx.snap +6 -6
  469. package/src/layouts/Grid/__tests__/Grid.test.tsx +6 -6
  470. package/src/layouts/Grid/__tests__/GridItem.test.tsx +12 -12
  471. package/src/layouts/Grid/__tests__/__snapshots__/Grid.test.tsx.snap +4 -4
  472. package/src/layouts/Grid/__tests__/__snapshots__/GridItem.test.tsx.snap +36 -36
  473. package/src/layouts/Level/__tests__/Generated/LevelItem.test.tsx +2 -2
  474. package/src/layouts/Level/__tests__/Generated/__snapshots__/LevelItem.test.tsx.snap +2 -2
  475. package/src/layouts/Level/__tests__/Level.test.tsx +4 -4
  476. package/src/layouts/Level/__tests__/__snapshots__/Level.test.tsx.snap +4 -4
  477. package/src/layouts/Split/__tests__/Generated/SplitItem.test.tsx +2 -2
  478. package/src/layouts/Split/__tests__/Generated/__snapshots__/SplitItem.test.tsx.snap +2 -2
  479. package/src/layouts/Split/__tests__/Split.test.tsx +8 -8
  480. package/src/layouts/Split/__tests__/__snapshots__/Split.test.tsx.snap +8 -8
  481. package/src/layouts/Stack/__tests__/Generated/StackItem.test.tsx +2 -2
  482. package/src/layouts/Stack/__tests__/Generated/__snapshots__/StackItem.test.tsx.snap +2 -2
  483. package/src/layouts/Stack/__tests__/Stack.test.tsx +6 -6
  484. package/src/layouts/Stack/__tests__/__snapshots__/Stack.test.tsx.snap +6 -6
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 4.206.6 (2022-04-27)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-core
9
+
10
+
11
+
12
+
13
+
14
+ ## 4.206.5 (2022-04-26)
15
+
16
+ **Note:** Version bump only for package @patternfly/react-core
17
+
18
+
19
+
20
+
21
+
22
+ ## 4.206.4 (2022-04-25)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **DateTimePicker:** update date placeholder ([#7266](https://github.com/patternfly/patternfly-react/issues/7266)) ([4e9a73e](https://github.com/patternfly/patternfly-react/commit/4e9a73e8f7645b7a885d15754f99b9e078449806))
28
+
29
+
30
+
31
+
32
+
6
33
  ## 4.206.3 (2022-04-23)
7
34
 
8
35
  **Note:** Version bump only for package @patternfly/react-core
@@ -18179,6 +18179,45 @@ svg.pf-c-spinner.pf-m-xl {
18179
18179
  vertical-align: top;
18180
18180
  }
18181
18181
 
18182
+ .pf-c-tab-content {
18183
+ --pf-c-tab-content__body--PaddingTop: 0;
18184
+ --pf-c-tab-content__body--PaddingRight: 0;
18185
+ --pf-c-tab-content__body--PaddingBottom: 0;
18186
+ --pf-c-tab-content__body--PaddingLeft: 0;
18187
+ --pf-c-tab-content__body--m-padding--PaddingTop: var(--pf-global--spacer--md);
18188
+ --pf-c-tab-content__body--m-padding--PaddingRight: var(--pf-global--spacer--md);
18189
+ --pf-c-tab-content__body--m-padding--PaddingBottom: var(--pf-global--spacer--md);
18190
+ --pf-c-tab-content__body--m-padding--PaddingLeft: var(--pf-global--spacer--md);
18191
+ --pf-c-tab-content__body--m-padding--xl--PaddingTop: var(--pf-global--spacer--lg);
18192
+ --pf-c-tab-content__body--m-padding--xl--PaddingRight: var(--pf-global--spacer--lg);
18193
+ --pf-c-tab-content__body--m-padding--xl--PaddingBottom: var(--pf-global--spacer--lg);
18194
+ --pf-c-tab-content__body--m-padding--xl--PaddingLeft: var(--pf-global--spacer--lg);
18195
+ --pf-c-tab-content--m-light-300: var(--pf-global--BackgroundColor--light-300);
18196
+ }
18197
+
18198
+ @media screen and (min-width: 1200px) {
18199
+ .pf-c-tab-content {
18200
+ --pf-c-tab-content__body--m-padding--PaddingTop: var(--pf-c-tab-content__body--m-padding--xl--PaddingTop);
18201
+ --pf-c-tab-content__body--m-padding--PaddingRight: var(--pf-c-tab-content__body--m-padding--xl--PaddingRight);
18202
+ --pf-c-tab-content__body--m-padding--PaddingBottom: var(--pf-c-tab-content__body--m-padding--xl--PaddingBottom);
18203
+ --pf-c-tab-content__body--m-padding--PaddingLeft: var(--pf-c-tab-content__body--m-padding--xl--PaddingLeft);
18204
+ }
18205
+ }
18206
+ .pf-c-tab-content.pf-m-light-300 {
18207
+ background-color: var(--pf-c-tab-content--m-light-300);
18208
+ }
18209
+
18210
+ .pf-c-tab-content__body {
18211
+ padding: var(--pf-c-tab-content__body--PaddingTop) var(--pf-c-tab-content__body--PaddingRight) var(--pf-c-tab-content__body--PaddingBottom) var(--pf-c-tab-content__body--PaddingLeft);
18212
+ }
18213
+
18214
+ .pf-c-tab-content__body.pf-m-padding {
18215
+ --pf-c-tab-content__body--PaddingTop: var(--pf-c-tab-content__body--m-padding--PaddingTop);
18216
+ --pf-c-tab-content__body--PaddingRight: var(--pf-c-tab-content__body--m-padding--PaddingRight);
18217
+ --pf-c-tab-content__body--PaddingBottom: var(--pf-c-tab-content__body--m-padding--PaddingBottom);
18218
+ --pf-c-tab-content__body--PaddingLeft: var(--pf-c-tab-content__body--m-padding--PaddingLeft);
18219
+ }
18220
+
18182
18221
  .pf-c-tabs {
18183
18222
  --pf-c-tabs--inset: 0;
18184
18223
  --pf-c-tabs--Width: auto;
@@ -19100,45 +19139,6 @@ svg.pf-c-spinner.pf-m-xl {
19100
19139
  --pf-c-tabs--m-vertical--m-box--inset: var(--pf-global--spacer--2xl);
19101
19140
  }
19102
19141
  }
19103
- .pf-c-tab-content {
19104
- --pf-c-tab-content__body--PaddingTop: 0;
19105
- --pf-c-tab-content__body--PaddingRight: 0;
19106
- --pf-c-tab-content__body--PaddingBottom: 0;
19107
- --pf-c-tab-content__body--PaddingLeft: 0;
19108
- --pf-c-tab-content__body--m-padding--PaddingTop: var(--pf-global--spacer--md);
19109
- --pf-c-tab-content__body--m-padding--PaddingRight: var(--pf-global--spacer--md);
19110
- --pf-c-tab-content__body--m-padding--PaddingBottom: var(--pf-global--spacer--md);
19111
- --pf-c-tab-content__body--m-padding--PaddingLeft: var(--pf-global--spacer--md);
19112
- --pf-c-tab-content__body--m-padding--xl--PaddingTop: var(--pf-global--spacer--lg);
19113
- --pf-c-tab-content__body--m-padding--xl--PaddingRight: var(--pf-global--spacer--lg);
19114
- --pf-c-tab-content__body--m-padding--xl--PaddingBottom: var(--pf-global--spacer--lg);
19115
- --pf-c-tab-content__body--m-padding--xl--PaddingLeft: var(--pf-global--spacer--lg);
19116
- --pf-c-tab-content--m-light-300: var(--pf-global--BackgroundColor--light-300);
19117
- }
19118
-
19119
- @media screen and (min-width: 1200px) {
19120
- .pf-c-tab-content {
19121
- --pf-c-tab-content__body--m-padding--PaddingTop: var(--pf-c-tab-content__body--m-padding--xl--PaddingTop);
19122
- --pf-c-tab-content__body--m-padding--PaddingRight: var(--pf-c-tab-content__body--m-padding--xl--PaddingRight);
19123
- --pf-c-tab-content__body--m-padding--PaddingBottom: var(--pf-c-tab-content__body--m-padding--xl--PaddingBottom);
19124
- --pf-c-tab-content__body--m-padding--PaddingLeft: var(--pf-c-tab-content__body--m-padding--xl--PaddingLeft);
19125
- }
19126
- }
19127
- .pf-c-tab-content.pf-m-light-300 {
19128
- background-color: var(--pf-c-tab-content--m-light-300);
19129
- }
19130
-
19131
- .pf-c-tab-content__body {
19132
- padding: var(--pf-c-tab-content__body--PaddingTop) var(--pf-c-tab-content__body--PaddingRight) var(--pf-c-tab-content__body--PaddingBottom) var(--pf-c-tab-content__body--PaddingLeft);
19133
- }
19134
-
19135
- .pf-c-tab-content__body.pf-m-padding {
19136
- --pf-c-tab-content__body--PaddingTop: var(--pf-c-tab-content__body--m-padding--PaddingTop);
19137
- --pf-c-tab-content__body--PaddingRight: var(--pf-c-tab-content__body--m-padding--PaddingRight);
19138
- --pf-c-tab-content__body--PaddingBottom: var(--pf-c-tab-content__body--m-padding--PaddingBottom);
19139
- --pf-c-tab-content__body--PaddingLeft: var(--pf-c-tab-content__body--m-padding--PaddingLeft);
19140
- }
19141
-
19142
19142
  .pf-c-content {
19143
19143
  --pf-c-content--MarginBottom: var(--pf-global--spacer--md);
19144
19144
  --pf-c-content--LineHeight: var(--pf-global--LineHeight--md);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-core",
3
- "version": "4.206.3",
3
+ "version": "4.206.6",
4
4
  "description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -34,9 +34,9 @@
34
34
  "generate": "node scripts/copyStyles.js"
35
35
  },
36
36
  "dependencies": {
37
- "@patternfly/react-icons": "^4.57.3",
38
- "@patternfly/react-styles": "^4.56.3",
39
- "@patternfly/react-tokens": "^4.58.3",
37
+ "@patternfly/react-icons": "^4.57.6",
38
+ "@patternfly/react-styles": "^4.56.6",
39
+ "@patternfly/react-tokens": "^4.58.6",
40
40
  "focus-trap": "6.2.2",
41
41
  "react-dropzone": "9.0.0",
42
42
  "tippy.js": "5.1.2",
@@ -60,5 +60,5 @@
60
60
  "react": "^16.8.0 || ^17.0.0",
61
61
  "react-dom": "^16.8.0 || ^17.0.0"
62
62
  },
63
- "gitHead": "626f964eb2406efd476a85071138f088cad6b042"
63
+ "gitHead": "5e76a80a71eb15e178e22d50d422768884af51b2"
64
64
  }
@@ -19,7 +19,7 @@ describe('AboutModal', () => {
19
19
  render(<AboutModal {...props} isOpen />);
20
20
 
21
21
  userEvent.type(screen.getByRole('dialog'), '{esc}');
22
- expect(props.onClose).toBeCalled();
22
+ expect(props.onClose).toHaveBeenCalled();
23
23
  });
24
24
 
25
25
  test('does not render the modal when isOpen is not specified', () => {
@@ -48,6 +48,6 @@ describe('AboutModal', () => {
48
48
  global.console = { error: myMock } as any;
49
49
 
50
50
  render(<AboutModal {...noImgAltrops}>Test About Modal</AboutModal>);
51
- expect(myMock).toBeCalled();
51
+ expect(myMock).toHaveBeenCalled();
52
52
  });
53
53
  });
@@ -3,10 +3,10 @@ import { render } from '@testing-library/react';
3
3
  import { AboutModalBox } from '../AboutModalBox';
4
4
 
5
5
  test('AboutModalBox Test', () => {
6
- const view = render(
6
+ const { asFragment } = render(
7
7
  <AboutModalBox aria-labelledby="id" aria-describedby="id2">
8
8
  This is a AboutModalBox
9
9
  </AboutModalBox>
10
10
  );
11
- expect(view.container).toMatchSnapshot();
11
+ expect(asFragment()).toMatchSnapshot();
12
12
  });
@@ -3,6 +3,6 @@ import { render } from '@testing-library/react';
3
3
  import { AboutModalBoxBrand } from '../AboutModalBoxBrand';
4
4
 
5
5
  test('test About Modal Brand', () => {
6
- const view = render(<AboutModalBoxBrand src="testimage.." alt="brand" />);
7
- expect(view.container).toMatchSnapshot();
6
+ const { asFragment } = render(<AboutModalBoxBrand src="testimage.." alt="brand" />);
7
+ expect(asFragment()).toMatchSnapshot();
8
8
  });
@@ -3,18 +3,18 @@ import { render } from '@testing-library/react';
3
3
  import { AboutModalBoxCloseButton } from '../AboutModalBoxCloseButton';
4
4
 
5
5
  test('AboutModalBoxCloseButton Test', () => {
6
- const view = render(<AboutModalBoxCloseButton />);
7
- expect(view.container).toMatchSnapshot();
6
+ const { asFragment } = render(<AboutModalBoxCloseButton />);
7
+ expect(asFragment()).toMatchSnapshot();
8
8
  });
9
9
 
10
10
  test('AboutModalBoxCloseButton Test onclose', () => {
11
11
  const onClose = jest.fn();
12
- const view = render(<AboutModalBoxCloseButton onClose={onClose} />);
13
- expect(view.container).toMatchSnapshot();
12
+ const { asFragment } = render(<AboutModalBoxCloseButton onClose={onClose} />);
13
+ expect(asFragment()).toMatchSnapshot();
14
14
  });
15
15
 
16
16
  test('AboutModalBoxCloseButton Test close button aria label', () => {
17
17
  const closeButtonAriaLabel = 'Klose Daylok';
18
- const view = render(<AboutModalBoxCloseButton aria-label={closeButtonAriaLabel} />);
19
- expect(view.container).toMatchSnapshot();
18
+ const { asFragment } = render(<AboutModalBoxCloseButton aria-label={closeButtonAriaLabel} />);
19
+ expect(asFragment()).toMatchSnapshot();
20
20
  });
@@ -3,10 +3,10 @@ import { render } from '@testing-library/react';
3
3
  import { AboutModalBoxContent } from '../AboutModalBoxContent';
4
4
 
5
5
  test('AboutModalBoxContent Test', () => {
6
- const view = render(
6
+ const { asFragment } = render(
7
7
  <AboutModalBoxContent trademark="trademark" id="id">
8
8
  This is a AboutModalBoxContent
9
9
  </AboutModalBoxContent>
10
10
  );
11
- expect(view.container).toMatchSnapshot();
11
+ expect(asFragment()).toMatchSnapshot();
12
12
  });
@@ -3,10 +3,10 @@ import { render } from '@testing-library/react';
3
3
  import { AboutModalBoxHeader } from '../AboutModalBoxHeader';
4
4
 
5
5
  test('AboutModalBoxHeader Test', () => {
6
- const view = render(
6
+ const { asFragment } = render(
7
7
  <AboutModalBoxHeader productName="Product Name" id="id">
8
8
  This is a AboutModalBox header
9
9
  </AboutModalBoxHeader>
10
10
  );
11
- expect(view.container).toMatchSnapshot();
11
+ expect(asFragment()).toMatchSnapshot();
12
12
  });
@@ -3,6 +3,6 @@ import { render } from '@testing-library/react';
3
3
  import { AboutModalBoxHero } from '../AboutModalBoxHero';
4
4
 
5
5
  test('test About Modal Box SHero', () => {
6
- const view = render(<AboutModalBoxHero />);
7
- expect(view.container).toMatchSnapshot();
6
+ const { asFragment } = render(<AboutModalBoxHero />);
7
+ expect(asFragment()).toMatchSnapshot();
8
8
  });
@@ -10,27 +10,29 @@ const props = {
10
10
  brandImageAlt: 'Brand Image',
11
11
  backgroundImageSrc: 'backgroundImageSrc...',
12
12
  'aria-labelledby': 'ariaLablledbyId',
13
- 'aria-describedby': 'ariaDescribedById'
13
+ 'aria-describedby': 'ariaDescribedById',
14
+ aboutModalBoxHeaderId: 'header-id',
15
+ aboutModalBoxContentId: 'content-id'
14
16
  };
15
17
  test('About Modal Container Test simple', () => {
16
- const view = render(<AboutModalContainer {...props}>This is ModalBox content</AboutModalContainer>);
17
- expect(view.container).toMatchSnapshot();
18
+ const { asFragment } = render(<AboutModalContainer {...props}>This is ModalBox content</AboutModalContainer>);
19
+ expect(asFragment()).toMatchSnapshot();
18
20
  });
19
21
 
20
22
  test('About Modal Container Test isOpen', () => {
21
- const view = render(
23
+ const { asFragment } = render(
22
24
  <AboutModalContainer title="Test Modal Container title" {...props} isOpen>
23
25
  This is ModalBox content
24
26
  </AboutModalContainer>
25
27
  );
26
- expect(view.container).toMatchSnapshot();
28
+ expect(asFragment()).toMatchSnapshot();
27
29
  });
28
30
 
29
31
  test('About Modal Container Test with onlose', () => {
30
- const view = render(
32
+ const { asFragment } = render(
31
33
  <AboutModalContainer onClose={() => undefined} {...props}>
32
34
  This is ModalBox content
33
35
  </AboutModalContainer>
34
36
  );
35
- expect(view.container).toMatchSnapshot();
37
+ expect(asFragment()).toMatchSnapshot();
36
38
  });
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`AboutModalBox Test 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div
6
6
  aria-describedby="id2"
7
7
  aria-labelledby="id"
@@ -11,5 +11,5 @@ exports[`AboutModalBox Test 1`] = `
11
11
  >
12
12
  This is a AboutModalBox
13
13
  </div>
14
- </div>
14
+ </DocumentFragment>
15
15
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`test About Modal Brand 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div
6
6
  class="pf-c-about-modal-box__brand"
7
7
  >
@@ -11,5 +11,5 @@ exports[`test About Modal Brand 1`] = `
11
11
  src="testimage.."
12
12
  />
13
13
  </div>
14
- </div>
14
+ </DocumentFragment>
15
15
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`AboutModalBoxCloseButton Test 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div
6
6
  class="pf-c-about-modal-box__close"
7
7
  >
@@ -29,11 +29,11 @@ exports[`AboutModalBoxCloseButton Test 1`] = `
29
29
  </svg>
30
30
  </button>
31
31
  </div>
32
- </div>
32
+ </DocumentFragment>
33
33
  `;
34
34
 
35
35
  exports[`AboutModalBoxCloseButton Test close button aria label 1`] = `
36
- <div>
36
+ <DocumentFragment>
37
37
  <div
38
38
  class="pf-c-about-modal-box__close"
39
39
  >
@@ -61,11 +61,11 @@ exports[`AboutModalBoxCloseButton Test close button aria label 1`] = `
61
61
  </svg>
62
62
  </button>
63
63
  </div>
64
- </div>
64
+ </DocumentFragment>
65
65
  `;
66
66
 
67
67
  exports[`AboutModalBoxCloseButton Test onclose 1`] = `
68
- <div>
68
+ <DocumentFragment>
69
69
  <div
70
70
  class="pf-c-about-modal-box__close"
71
71
  >
@@ -93,5 +93,5 @@ exports[`AboutModalBoxCloseButton Test onclose 1`] = `
93
93
  </svg>
94
94
  </button>
95
95
  </div>
96
- </div>
96
+ </DocumentFragment>
97
97
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`AboutModalBoxContent Test 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div
6
6
  class="pf-c-about-modal-box__content"
7
7
  id="id"
@@ -21,5 +21,5 @@ exports[`AboutModalBoxContent Test 1`] = `
21
21
  trademark
22
22
  </p>
23
23
  </div>
24
- </div>
24
+ </DocumentFragment>
25
25
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`AboutModalBoxHeader Test 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div
6
6
  class="pf-c-about-modal-box__header"
7
7
  >
@@ -15,5 +15,5 @@ exports[`AboutModalBoxHeader Test 1`] = `
15
15
  Product Name
16
16
  </h1>
17
17
  </div>
18
- </div>
18
+ </DocumentFragment>
19
19
  `;
@@ -1,10 +1,10 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`test About Modal Box SHero 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div
6
6
  class="pf-c-about-modal-box__hero"
7
7
  style="--pf-c-about-modal-box__hero--sm--BackgroundImage: url(undefined);"
8
8
  />
9
- </div>
9
+ </DocumentFragment>
10
10
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`About Modal Container Test isOpen 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div
6
6
  class="pf-c-backdrop"
7
7
  >
@@ -9,6 +9,8 @@ exports[`About Modal Container Test isOpen 1`] = `
9
9
  class="pf-l-bullseye"
10
10
  >
11
11
  <div
12
+ aria-describedby="content-id"
13
+ aria-labelledby="header-id"
12
14
  aria-modal="true"
13
15
  class="pf-c-about-modal-box"
14
16
  role="dialog"
@@ -57,6 +59,7 @@ exports[`About Modal Container Test isOpen 1`] = `
57
59
  data-ouia-component-id="OUIA-Generated-Title-1"
58
60
  data-ouia-component-type="PF4/Title"
59
61
  data-ouia-safe="true"
62
+ id="header-id"
60
63
  >
61
64
  Product Name
62
65
  </h1>
@@ -65,6 +68,7 @@ exports[`About Modal Container Test isOpen 1`] = `
65
68
  aria-describedby="ariaDescribedById"
66
69
  aria-labelledby="ariaLablledbyId"
67
70
  class="pf-c-about-modal-box__content"
71
+ id="content-id"
68
72
  title="Test Modal Container title"
69
73
  >
70
74
  <div
@@ -89,9 +93,9 @@ exports[`About Modal Container Test isOpen 1`] = `
89
93
  </div>
90
94
  </div>
91
95
  </div>
92
- </div>
96
+ </DocumentFragment>
93
97
  `;
94
98
 
95
- exports[`About Modal Container Test simple 1`] = `<div />`;
99
+ exports[`About Modal Container Test simple 1`] = `<DocumentFragment />`;
96
100
 
97
- exports[`About Modal Container Test with onlose 1`] = `<div />`;
101
+ exports[`About Modal Container Test with onlose 1`] = `<DocumentFragment />`;
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
3
  import { render, screen } from '@testing-library/react';
4
- import '@testing-library/jest-dom';
5
4
 
6
5
  import { Accordion } from '../Accordion';
7
6
  import { AccordionToggle } from '../AccordionToggle';
@@ -11,12 +10,12 @@ import { AccordionExpandedContentBody } from '../AccordionExpandedContentBody';
11
10
 
12
11
  describe('Accordion', () => {
13
12
  test('Accordion default', () => {
14
- const view = render(<Accordion aria-label="this is a simple accordion" />);
15
- expect(view.container).toMatchSnapshot();
13
+ const { asFragment } = render(<Accordion aria-label="this is a simple accordion" />);
14
+ expect(asFragment()).toMatchSnapshot();
16
15
  });
17
16
 
18
17
  test('Accordion with non-default headingLevel', () => {
19
- const view = render(
18
+ const { asFragment } = render(
20
19
  <Accordion asDefinitionList={false} headingLevel="h2">
21
20
  <AccordionItem>
22
21
  <AccordionToggle id="item-1">Item One</AccordionToggle>
@@ -24,7 +23,7 @@ describe('Accordion', () => {
24
23
  </AccordionItem>
25
24
  </Accordion>
26
25
  );
27
- expect(view.container).toMatchSnapshot();
26
+ expect(asFragment()).toMatchSnapshot();
28
27
  });
29
28
 
30
29
  test('It should pass optional aria props', () => {
@@ -35,9 +34,9 @@ describe('Accordion', () => {
35
34
  );
36
35
  const button = screen.getByRole('button');
37
36
 
38
- expect(button.getAttribute('aria-label')).toEqual('Toggle details for');
39
- expect(button.getAttribute('aria-labelledby')).toEqual('ex-toggle2 ex-item2');
40
- expect(button.getAttribute('aria-expanded')).toEqual('false');
37
+ expect(button).toHaveAttribute('aria-label', 'Toggle details for');
38
+ expect(button).toHaveAttribute('aria-labelledby', 'ex-toggle2 ex-item2');
39
+ expect(button).toHaveAttribute('aria-expanded', 'false');
41
40
  });
42
41
 
43
42
  test('Toggle expanded', () => {
@@ -48,14 +47,14 @@ describe('Accordion', () => {
48
47
  );
49
48
  const button = screen.getByRole('button');
50
49
 
51
- expect(button.getAttribute('aria-expanded')).toEqual('true');
52
- expect(button.className).toContain('pf-m-expanded');
50
+ expect(button).toHaveAttribute('aria-expanded', 'true');
51
+ expect(button).toHaveClass('pf-m-expanded');
53
52
  });
54
53
 
55
54
  test('renders content with custom Toggle and Content containers', () => {
56
55
  const container = 'a';
57
56
 
58
- const view = render(
57
+ const { asFragment } = render(
59
58
  <Accordion headingLevel="h2">
60
59
  <AccordionItem>
61
60
  <AccordionToggle id="item-1" component={container}>
@@ -71,7 +70,7 @@ describe('Accordion', () => {
71
70
  });
72
71
 
73
72
  test('Accordion bordered', () => {
74
- const view = render(
73
+ const { asFragment } = render(
75
74
  <Accordion isBordered>
76
75
  <AccordionItem>
77
76
  <AccordionToggle id="item-1">Item One</AccordionToggle>
@@ -79,11 +78,11 @@ describe('Accordion', () => {
79
78
  </AccordionItem>
80
79
  </Accordion>
81
80
  );
82
- expect(view.container).toMatchSnapshot();
81
+ expect(asFragment()).toMatchSnapshot();
83
82
  });
84
83
 
85
84
  test('Accordion display large', () => {
86
- const view = render(
85
+ const { asFragment } = render(
87
86
  <Accordion displaySize="large">
88
87
  <AccordionItem>
89
88
  <AccordionToggle id="item-1">Item One</AccordionToggle>
@@ -91,11 +90,11 @@ describe('Accordion', () => {
91
90
  </AccordionItem>
92
91
  </Accordion>
93
92
  );
94
- expect(view.container).toMatchSnapshot();
93
+ expect(asFragment()).toMatchSnapshot();
95
94
  });
96
95
 
97
96
  test('Accordion custom content', () => {
98
- const view = render(
97
+ const { asFragment } = render(
99
98
  <Accordion>
100
99
  <AccordionItem>
101
100
  <AccordionToggle id="item-1">Item One</AccordionToggle>
@@ -106,6 +105,6 @@ describe('Accordion', () => {
106
105
  </AccordionItem>
107
106
  </Accordion>
108
107
  );
109
- expect(view.container).toMatchSnapshot();
108
+ expect(asFragment()).toMatchSnapshot();
110
109
  });
111
110
  });
@@ -8,7 +8,7 @@ import { AccordionContent } from '../../AccordionContent';
8
8
  import {} from '../..';
9
9
 
10
10
  it('AccordionContent should match snapshot (auto-generated)', () => {
11
- const view = render(
11
+ const { asFragment } = render(
12
12
  <AccordionContent
13
13
  children={<>ReactNode</>}
14
14
  className={"''"}
@@ -19,5 +19,5 @@ it('AccordionContent should match snapshot (auto-generated)', () => {
19
19
  component={() => <div />}
20
20
  />
21
21
  );
22
- expect(view.container).toMatchSnapshot();
22
+ expect(asFragment()).toMatchSnapshot();
23
23
  });
@@ -8,6 +8,6 @@ import { AccordionItem } from '../../AccordionItem';
8
8
  import {} from '../..';
9
9
 
10
10
  it('AccordionItem should match snapshot (auto-generated)', () => {
11
- const view = render(<AccordionItem children={<>ReactNode</>} />);
12
- expect(view.container).toMatchSnapshot();
11
+ const { asFragment } = render(<AccordionItem children={<>ReactNode</>} />);
12
+ expect(asFragment()).toMatchSnapshot();
13
13
  });
@@ -8,7 +8,7 @@ import { AccordionToggle } from '../../AccordionToggle';
8
8
  import {} from '../..';
9
9
 
10
10
  it('AccordionToggle should match snapshot (auto-generated)', () => {
11
- const view = render(
11
+ const { asFragment } = render(
12
12
  <AccordionToggle
13
13
  children={<>ReactNode</>}
14
14
  className={"''"}
@@ -17,5 +17,5 @@ it('AccordionToggle should match snapshot (auto-generated)', () => {
17
17
  component={() => <div />}
18
18
  />
19
19
  );
20
- expect(view.container).toMatchSnapshot();
20
+ expect(asFragment()).toMatchSnapshot();
21
21
  });
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`AccordionContent should match snapshot (auto-generated) 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div />
6
- </div>
6
+ </DocumentFragment>
7
7
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`AccordionItem should match snapshot (auto-generated) 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  ReactNode
6
- </div>
6
+ </DocumentFragment>
7
7
  `;
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`AccordionToggle should match snapshot (auto-generated) 1`] = `
4
- <div>
4
+ <DocumentFragment>
5
5
  <div />
6
- </div>
6
+ </DocumentFragment>
7
7
  `;