@patternfly/react-core 4.198.11 → 4.198.14

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 (797) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/esm/components/Label/Label.d.ts.map +1 -1
  3. package/dist/esm/components/Label/Label.js +5 -2
  4. package/dist/esm/components/Label/Label.js.map +1 -1
  5. package/dist/esm/components/Menu/MenuItem.d.ts +3 -1
  6. package/dist/esm/components/Menu/MenuItem.d.ts.map +1 -1
  7. package/dist/esm/components/Menu/MenuItem.js +4 -3
  8. package/dist/esm/components/Menu/MenuItem.js.map +1 -1
  9. package/dist/esm/components/Nav/NavGroup.d.ts +1 -1
  10. package/dist/esm/components/Nav/NavGroup.d.ts.map +1 -1
  11. package/dist/esm/components/Nav/NavGroup.js +7 -2
  12. package/dist/esm/components/Nav/NavGroup.js.map +1 -1
  13. package/dist/esm/components/NotificationDrawer/NotificationDrawer.d.ts +3 -1
  14. package/dist/esm/components/NotificationDrawer/NotificationDrawer.d.ts.map +1 -1
  15. package/dist/esm/components/NotificationDrawer/NotificationDrawer.js +4 -3
  16. package/dist/esm/components/NotificationDrawer/NotificationDrawer.js.map +1 -1
  17. package/dist/esm/components/Toolbar/Toolbar.d.ts +3 -1
  18. package/dist/esm/components/Toolbar/Toolbar.d.ts.map +1 -1
  19. package/dist/esm/components/Toolbar/Toolbar.js +4 -3
  20. package/dist/esm/components/Toolbar/Toolbar.js.map +1 -1
  21. package/dist/esm/components/Toolbar/ToolbarChipGroupContent.d.ts +2 -0
  22. package/dist/esm/components/Toolbar/ToolbarChipGroupContent.d.ts.map +1 -1
  23. package/dist/esm/components/Toolbar/ToolbarChipGroupContent.js +4 -3
  24. package/dist/esm/components/Toolbar/ToolbarChipGroupContent.js.map +1 -1
  25. package/dist/esm/components/Toolbar/ToolbarExpandableContent.d.ts.map +1 -1
  26. package/dist/esm/components/Toolbar/ToolbarExpandableContent.js +4 -3
  27. package/dist/esm/components/Toolbar/ToolbarExpandableContent.js.map +1 -1
  28. package/dist/esm/components/Toolbar/ToolbarUtils.d.ts +1 -0
  29. package/dist/esm/components/Toolbar/ToolbarUtils.d.ts.map +1 -1
  30. package/dist/esm/components/Toolbar/ToolbarUtils.js.map +1 -1
  31. package/dist/js/components/Label/Label.d.ts.map +1 -1
  32. package/dist/js/components/Label/Label.js +5 -2
  33. package/dist/js/components/Label/Label.js.map +1 -1
  34. package/dist/js/components/Menu/MenuItem.d.ts +3 -1
  35. package/dist/js/components/Menu/MenuItem.d.ts.map +1 -1
  36. package/dist/js/components/Menu/MenuItem.js +4 -4
  37. package/dist/js/components/Menu/MenuItem.js.map +1 -1
  38. package/dist/js/components/Nav/NavGroup.d.ts +1 -1
  39. package/dist/js/components/Nav/NavGroup.d.ts.map +1 -1
  40. package/dist/js/components/Nav/NavGroup.js +7 -2
  41. package/dist/js/components/Nav/NavGroup.js.map +1 -1
  42. package/dist/js/components/NotificationDrawer/NotificationDrawer.d.ts +3 -1
  43. package/dist/js/components/NotificationDrawer/NotificationDrawer.d.ts.map +1 -1
  44. package/dist/js/components/NotificationDrawer/NotificationDrawer.js +4 -4
  45. package/dist/js/components/NotificationDrawer/NotificationDrawer.js.map +1 -1
  46. package/dist/js/components/Toolbar/Toolbar.d.ts +3 -1
  47. package/dist/js/components/Toolbar/Toolbar.d.ts.map +1 -1
  48. package/dist/js/components/Toolbar/Toolbar.js +4 -3
  49. package/dist/js/components/Toolbar/Toolbar.js.map +1 -1
  50. package/dist/js/components/Toolbar/ToolbarChipGroupContent.d.ts +2 -0
  51. package/dist/js/components/Toolbar/ToolbarChipGroupContent.d.ts.map +1 -1
  52. package/dist/js/components/Toolbar/ToolbarChipGroupContent.js +4 -3
  53. package/dist/js/components/Toolbar/ToolbarChipGroupContent.js.map +1 -1
  54. package/dist/js/components/Toolbar/ToolbarExpandableContent.d.ts.map +1 -1
  55. package/dist/js/components/Toolbar/ToolbarExpandableContent.js +4 -3
  56. package/dist/js/components/Toolbar/ToolbarExpandableContent.js.map +1 -1
  57. package/dist/js/components/Toolbar/ToolbarUtils.d.ts +1 -0
  58. package/dist/js/components/Toolbar/ToolbarUtils.d.ts.map +1 -1
  59. package/dist/js/components/Toolbar/ToolbarUtils.js.map +1 -1
  60. package/dist/umd/react-core.css +1456 -1456
  61. package/dist/umd/react-core.js +32 -19
  62. package/dist/umd/react-core.min.js +1 -1
  63. package/package.json +5 -5
  64. package/src/components/AboutModal/__tests__/AboutModalBox.test.tsx +3 -3
  65. package/src/components/AboutModal/__tests__/AboutModalBoxBrand.test.tsx +3 -3
  66. package/src/components/AboutModal/__tests__/AboutModalBoxCloseButton.test.tsx +7 -7
  67. package/src/components/AboutModal/__tests__/AboutModalBoxContent.test.tsx +3 -3
  68. package/src/components/AboutModal/__tests__/AboutModalBoxHeader.test.tsx +3 -3
  69. package/src/components/AboutModal/__tests__/AboutModalBoxHero.test.tsx +3 -3
  70. package/src/components/AboutModal/__tests__/AboutModalContainer.test.tsx +7 -7
  71. package/src/components/AboutModal/__tests__/Generated/AboutModal.test.tsx +3 -3
  72. package/src/components/AboutModal/__tests__/Generated/AboutModalBox.test.tsx +3 -3
  73. package/src/components/AboutModal/__tests__/Generated/AboutModalBoxBrand.test.tsx +3 -3
  74. package/src/components/AboutModal/__tests__/Generated/AboutModalBoxCloseButton.test.tsx +3 -3
  75. package/src/components/AboutModal/__tests__/Generated/AboutModalBoxContent.test.tsx +3 -3
  76. package/src/components/AboutModal/__tests__/Generated/AboutModalBoxHeader.test.tsx +3 -3
  77. package/src/components/AboutModal/__tests__/Generated/AboutModalBoxHero.test.tsx +3 -3
  78. package/src/components/AboutModal/__tests__/Generated/AboutModalContainer.test.tsx +3 -3
  79. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModal.test.tsx.snap +1 -23
  80. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBox.test.tsx.snap +9 -7
  81. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxBrand.test.tsx.snap +10 -8
  82. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxCloseButton.test.tsx.snap +27 -13
  83. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxContent.test.tsx.snap +15 -13
  84. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxHeader.test.tsx.snap +13 -9
  85. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalBoxHero.test.tsx.snap +6 -8
  86. package/src/components/AboutModal/__tests__/Generated/__snapshots__/AboutModalContainer.test.tsx.snap +1 -1
  87. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBox.test.tsx.snap +10 -8
  88. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxBrand.test.tsx.snap +10 -8
  89. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxCloseButton.test.tsx.snap +81 -39
  90. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxContent.test.tsx.snap +14 -12
  91. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxHeader.test.tsx.snap +13 -9
  92. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxHero.test.tsx.snap +6 -8
  93. package/src/components/AboutModal/__tests__/__snapshots__/AboutModalContainer.test.tsx.snap +88 -39
  94. package/src/components/Accordion/__tests__/Accordion.test.tsx +12 -11
  95. package/src/components/Accordion/__tests__/Generated/Accordion.test.tsx +3 -3
  96. package/src/components/Accordion/__tests__/Generated/AccordionContent.test.tsx +3 -3
  97. package/src/components/Accordion/__tests__/Generated/AccordionItem.test.tsx +3 -3
  98. package/src/components/Accordion/__tests__/Generated/AccordionToggle.test.tsx +3 -3
  99. package/src/components/Accordion/__tests__/Generated/__snapshots__/Accordion.test.tsx.snap +6 -14
  100. package/src/components/Accordion/__tests__/Generated/__snapshots__/AccordionContent.test.tsx.snap +3 -3
  101. package/src/components/Accordion/__tests__/Generated/__snapshots__/AccordionItem.test.tsx.snap +2 -2
  102. package/src/components/Accordion/__tests__/Generated/__snapshots__/AccordionToggle.test.tsx.snap +3 -3
  103. package/src/components/Accordion/__tests__/__snapshots__/Accordion.test.tsx.snap +190 -180
  104. package/src/components/ActionList/__tests__/ActionList.test.tsx +5 -5
  105. package/src/components/ActionList/__tests__/ActionListGroup.test.tsx +3 -3
  106. package/src/components/ActionList/__tests__/ActionListItem.test.tsx +3 -3
  107. package/src/components/ActionList/__tests__/__snapshots__/ActionList.test.tsx.snap +6 -8
  108. package/src/components/ActionList/__tests__/__snapshots__/ActionListGroup.test.tsx.snap +3 -3
  109. package/src/components/ActionList/__tests__/__snapshots__/ActionListItem.test.tsx.snap +3 -3
  110. package/src/components/Alert/__tests__/Alert.test.tsx +21 -20
  111. package/src/components/Alert/__tests__/Generated/Alert.test.tsx +3 -3
  112. package/src/components/Alert/__tests__/Generated/AlertActionLink.test.tsx +3 -3
  113. package/src/components/Alert/__tests__/Generated/AlertIcon.test.tsx +3 -3
  114. package/src/components/Alert/__tests__/Generated/__snapshots__/Alert.test.tsx.snap +39 -24
  115. package/src/components/Alert/__tests__/Generated/__snapshots__/AlertActionLink.test.tsx.snap +12 -7
  116. package/src/components/Alert/__tests__/Generated/__snapshots__/AlertIcon.test.tsx.snap +18 -8
  117. package/src/components/Alert/__tests__/__snapshots__/Alert.test.tsx.snap +1432 -3112
  118. package/src/components/AlertGroup/__tests__/AlertGroup.test.tsx +6 -5
  119. package/src/components/AlertGroup/__tests__/Generated/AlertGroup.test.tsx +3 -3
  120. package/src/components/AlertGroup/__tests__/Generated/AlertGroupInline.test.tsx +3 -3
  121. package/src/components/AlertGroup/__tests__/Generated/__snapshots__/AlertGroup.test.tsx.snap +1 -14
  122. package/src/components/AlertGroup/__tests__/Generated/__snapshots__/AlertGroupInline.test.tsx.snap +5 -5
  123. package/src/components/AlertGroup/__tests__/__snapshots__/AlertGroup.test.tsx.snap +12 -15
  124. package/src/components/ApplicationLauncher/__tests__/ApplicationLauncher.test.tsx +13 -13
  125. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncher.test.tsx +3 -3
  126. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherContent.test.tsx +3 -3
  127. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherGroup.test.tsx +3 -3
  128. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherIcon.test.tsx +3 -3
  129. package/src/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherText.test.tsx +3 -3
  130. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncher.test.tsx.snap +24 -77
  131. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherContent.test.tsx.snap +5 -3
  132. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherGroup.test.tsx.snap +12 -1
  133. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherIcon.test.tsx.snap +9 -7
  134. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherText.test.tsx.snap +9 -7
  135. package/src/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap +379 -3090
  136. package/src/components/Avatar/__tests__/Avatar.test.tsx +3 -3
  137. package/src/components/Avatar/__tests__/Generated/Avatar.test.tsx +3 -3
  138. package/src/components/Avatar/__tests__/Generated/__snapshots__/Avatar.test.tsx.snap +7 -5
  139. package/src/components/Avatar/__tests__/__snapshots__/Avatar.test.tsx.snap +7 -5
  140. package/src/components/BackToTop/__tests__/BackToTop.test.tsx +7 -7
  141. package/src/components/BackToTop/__tests__/__snapshots__/BackToTop.test.tsx.snap +91 -161
  142. package/src/components/Backdrop/__tests__/Backdrop.test.tsx +3 -3
  143. package/src/components/Backdrop/__tests__/Generated/Backdrop.test.tsx +3 -3
  144. package/src/components/Backdrop/__tests__/Generated/__snapshots__/Backdrop.test.tsx.snap +6 -4
  145. package/src/components/Backdrop/__tests__/__snapshots__/Backdrop.test.tsx.snap +6 -4
  146. package/src/components/BackgroundImage/__tests__/BackgroundImage.test.tsx +5 -5
  147. package/src/components/BackgroundImage/__tests__/Generated/BackgroundImage.test.tsx +3 -3
  148. package/src/components/BackgroundImage/__tests__/Generated/__snapshots__/BackgroundImage.test.tsx.snap +38 -45
  149. package/src/components/BackgroundImage/__tests__/__snapshots__/BackgroundImage.test.tsx.snap +76 -90
  150. package/src/components/Badge/__tests__/Badge.test.tsx +3 -3
  151. package/src/components/Badge/__tests__/Generated/Badge.test.tsx +3 -3
  152. package/src/components/Badge/__tests__/Generated/__snapshots__/Badge.test.tsx.snap +5 -3
  153. package/src/components/Badge/__tests__/__snapshots__/Badge.test.tsx.snap +16 -12
  154. package/src/components/Banner/__tests__/Banner.test.tsx +5 -5
  155. package/src/components/Banner/__tests__/__snapshots__/Banner.test.tsx.snap +18 -36
  156. package/src/components/Brand/__tests__/Brand.test.tsx +3 -3
  157. package/src/components/Brand/__tests__/Generated/Brand.test.tsx +3 -3
  158. package/src/components/Brand/__tests__/Generated/__snapshots__/Brand.test.tsx.snap +7 -5
  159. package/src/components/Brand/__tests__/__snapshots__/Brand.test.tsx.snap +7 -5
  160. package/src/components/Breadcrumb/__tests__/Breadcrumb.test.tsx +9 -9
  161. package/src/components/Breadcrumb/__tests__/BreadcrumbHeading.test.tsx +11 -11
  162. package/src/components/Breadcrumb/__tests__/BreadcrumbItem.test.tsx +17 -17
  163. package/src/components/Breadcrumb/__tests__/Generated/Breadcrumb.test.tsx +3 -3
  164. package/src/components/Breadcrumb/__tests__/Generated/BreadcrumbHeading.test.tsx +3 -3
  165. package/src/components/Breadcrumb/__tests__/Generated/BreadcrumbItem.test.tsx +3 -3
  166. package/src/components/Breadcrumb/__tests__/Generated/__snapshots__/Breadcrumb.test.tsx.snap +14 -12
  167. package/src/components/Breadcrumb/__tests__/Generated/__snapshots__/BreadcrumbHeading.test.tsx.snap +16 -14
  168. package/src/components/Breadcrumb/__tests__/Generated/__snapshots__/BreadcrumbItem.test.tsx.snap +12 -10
  169. package/src/components/Breadcrumb/__tests__/__snapshots__/Breadcrumb.test.tsx.snap +52 -79
  170. package/src/components/Breadcrumb/__tests__/__snapshots__/BreadcrumbHeading.test.tsx.snap +62 -52
  171. package/src/components/Breadcrumb/__tests__/__snapshots__/BreadcrumbItem.test.tsx.snap +63 -47
  172. package/src/components/Button/__tests__/Button.test.tsx +29 -28
  173. package/src/components/Button/__tests__/Generated/Button.test.tsx +3 -3
  174. package/src/components/Button/__tests__/Generated/__snapshots__/Button.test.tsx.snap +13 -24
  175. package/src/components/Button/__tests__/__snapshots__/Button.test.tsx.snap +288 -576
  176. package/src/components/Card/__tests__/Card.test.tsx +1 -3
  177. package/src/components/Card/__tests__/CardBody.test.tsx +6 -5
  178. package/src/components/Card/__tests__/CardExpandableContent.test.tsx +3 -3
  179. package/src/components/Card/__tests__/CardFooter.test.tsx +4 -3
  180. package/src/components/Card/__tests__/CardHeadMain.test.tsx +3 -2
  181. package/src/components/Card/__tests__/CardHeader.test.tsx +6 -5
  182. package/src/components/Card/__tests__/CardHeaderMain.test.tsx +3 -2
  183. package/src/components/Card/__tests__/Generated/Card.test.tsx +3 -3
  184. package/src/components/Card/__tests__/Generated/CardActions.test.tsx +3 -3
  185. package/src/components/Card/__tests__/Generated/CardBody.test.tsx +3 -3
  186. package/src/components/Card/__tests__/Generated/CardFooter.test.tsx +3 -3
  187. package/src/components/Card/__tests__/Generated/CardHead.test.tsx +3 -3
  188. package/src/components/Card/__tests__/Generated/CardHeader.test.tsx +3 -3
  189. package/src/components/Card/__tests__/Generated/__snapshots__/Card.test.tsx.snap +4 -11
  190. package/src/components/Card/__tests__/Generated/__snapshots__/CardActions.test.tsx.snap +6 -4
  191. package/src/components/Card/__tests__/Generated/__snapshots__/CardBody.test.tsx.snap +6 -4
  192. package/src/components/Card/__tests__/Generated/__snapshots__/CardFooter.test.tsx.snap +6 -4
  193. package/src/components/Card/__tests__/Generated/__snapshots__/CardHead.test.tsx.snap +7 -3
  194. package/src/components/Card/__tests__/Generated/__snapshots__/CardHeader.test.tsx.snap +6 -4
  195. package/src/components/Card/__tests__/__snapshots__/CardBody.test.tsx.snap +10 -6
  196. package/src/components/Card/__tests__/__snapshots__/CardExpandableContent.test.tsx.snap +3 -3
  197. package/src/components/Card/__tests__/__snapshots__/CardFooter.test.tsx.snap +5 -3
  198. package/src/components/Card/__tests__/__snapshots__/CardHeadMain.test.tsx.snap +6 -4
  199. package/src/components/Card/__tests__/__snapshots__/CardHeader.test.tsx.snap +31 -60
  200. package/src/components/Card/__tests__/__snapshots__/CardHeaderMain.test.tsx.snap +6 -4
  201. package/src/components/Checkbox/__tests__/Checkbox.test.tsx +20 -19
  202. package/src/components/Checkbox/__tests__/Generated/Checkbox.test.tsx +3 -3
  203. package/src/components/Checkbox/__tests__/Generated/__snapshots__/Checkbox.test.tsx.snap +29 -30
  204. package/src/components/Checkbox/__tests__/__snapshots__/Checkbox.test.tsx.snap +172 -171
  205. package/src/components/Chip/__tests__/Chip.test.tsx +9 -9
  206. package/src/components/Chip/__tests__/Generated/Chip.test.tsx +3 -3
  207. package/src/components/Chip/__tests__/Generated/__snapshots__/Chip.test.tsx.snap +42 -5
  208. package/src/components/Chip/__tests__/__snapshots__/Chip.test.tsx.snap +99 -218
  209. package/src/components/ChipGroup/__tests__/ChipGroup.test.tsx +9 -8
  210. package/src/components/ChipGroup/__tests__/Generated/ChipGroup.test.tsx +3 -3
  211. package/src/components/ChipGroup/__tests__/Generated/__snapshots__/ChipGroup.test.tsx.snap +29 -5
  212. package/src/components/ChipGroup/__tests__/__snapshots__/ChipGroup.test.tsx.snap +254 -551
  213. package/src/components/ClipboardCopy/__tests__/ClipboardCopyButton.test.tsx +7 -5
  214. package/src/components/ClipboardCopy/__tests__/ClipboardCopyExpanded.test.tsx +5 -5
  215. package/src/components/ClipboardCopy/__tests__/ClipboardCopyToggle.test.tsx +7 -5
  216. package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopy.test.tsx +3 -3
  217. package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopyButton.test.tsx +3 -3
  218. package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopyExpanded.test.tsx +3 -3
  219. package/src/components/ClipboardCopy/__tests__/Generated/ClipboardCopyToggle.test.tsx +3 -3
  220. package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopy.test.tsx.snap +44 -7
  221. package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopyButton.test.tsx.snap +22 -25
  222. package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopyExpanded.test.tsx.snap +8 -8
  223. package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopyToggle.test.tsx.snap +28 -17
  224. package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyButton.test.tsx.snap +22 -23
  225. package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyExpanded.test.tsx.snap +18 -18
  226. package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyToggle.test.tsx.snap +29 -18
  227. package/src/components/CodeBlock/__tests__/CodeBlock.test.tsx +9 -9
  228. package/src/components/CodeBlock/__tests__/__snapshots__/CodeBlock.test.tsx.snap +48 -52
  229. package/src/components/ContextSelector/__tests__/ContextSelector.test.tsx +8 -8
  230. package/src/components/ContextSelector/__tests__/ContextSelectorFooter.test.tsx +3 -3
  231. package/src/components/ContextSelector/__tests__/ContextSelectorItem.test.tsx +10 -10
  232. package/src/components/ContextSelector/__tests__/ContextSelectorMenuList.test.tsx +5 -5
  233. package/src/components/ContextSelector/__tests__/ContextSelectorToggle.test.tsx +4 -3
  234. package/src/components/ContextSelector/__tests__/Generated/ContextSelector.test.tsx +3 -3
  235. package/src/components/ContextSelector/__tests__/Generated/ContextSelectorItem.test.tsx +3 -3
  236. package/src/components/ContextSelector/__tests__/Generated/ContextSelectorMenuList.test.tsx +3 -3
  237. package/src/components/ContextSelector/__tests__/Generated/ContextSelectorToggle.test.tsx +3 -3
  238. package/src/components/ContextSelector/__tests__/Generated/__snapshots__/ContextSelector.test.tsx.snap +43 -24
  239. package/src/components/ContextSelector/__tests__/Generated/__snapshots__/ContextSelectorItem.test.tsx.snap +11 -3
  240. package/src/components/ContextSelector/__tests__/Generated/__snapshots__/ContextSelectorMenuList.test.tsx.snap +8 -7
  241. package/src/components/ContextSelector/__tests__/Generated/__snapshots__/ContextSelectorToggle.test.tsx.snap +30 -25
  242. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelector.test.tsx.snap +37 -19
  243. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorFooter.test.tsx.snap +6 -4
  244. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorItem.test.tsx.snap +23 -6
  245. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorMenuList.test.tsx.snap +104 -120
  246. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorToggle.test.tsx.snap +27 -20
  247. package/src/components/DataList/__tests__/DataList.test.tsx +31 -30
  248. package/src/components/DataList/__tests__/Generated/DataList.test.tsx +3 -3
  249. package/src/components/DataList/__tests__/Generated/DataListAction.test.tsx +3 -3
  250. package/src/components/DataList/__tests__/Generated/DataListCell.test.tsx +3 -3
  251. package/src/components/DataList/__tests__/Generated/DataListCheck.test.tsx +3 -3
  252. package/src/components/DataList/__tests__/Generated/DataListContent.test.tsx +3 -3
  253. package/src/components/DataList/__tests__/Generated/DataListItem.test.tsx +3 -3
  254. package/src/components/DataList/__tests__/Generated/DataListItemCells.test.tsx +3 -3
  255. package/src/components/DataList/__tests__/Generated/DataListItemRow.test.tsx +3 -3
  256. package/src/components/DataList/__tests__/Generated/DataListToggle.test.tsx +3 -3
  257. package/src/components/DataList/__tests__/Generated/__snapshots__/DataList.test.tsx.snap +3 -16
  258. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListAction.test.tsx.snap +7 -5
  259. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListCell.test.tsx.snap +6 -4
  260. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListCheck.test.tsx.snap +5 -8
  261. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListContent.test.tsx.snap +12 -11
  262. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListItem.test.tsx.snap +13 -3
  263. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListItemCells.test.tsx.snap +7 -5
  264. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListItemRow.test.tsx.snap +7 -6
  265. package/src/components/DataList/__tests__/Generated/__snapshots__/DataListToggle.test.tsx.snap +35 -21
  266. package/src/components/DataList/__tests__/__snapshots__/DataList.test.tsx.snap +148 -219
  267. package/src/components/DatePicker/__tests__/DatePicker.test.tsx +3 -3
  268. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +48 -18
  269. package/src/components/DescriptionList/__tests__/DescriptionList.test.tsx +35 -35
  270. package/src/components/DescriptionList/__tests__/__snapshots__/DescriptionList.test.tsx.snap +108 -89
  271. package/src/components/Divider/__tests__/Divider.test.tsx +9 -9
  272. package/src/components/Divider/__tests__/Generated/Divider.test.tsx +3 -3
  273. package/src/components/Divider/__tests__/Generated/__snapshots__/Divider.test.tsx.snap +5 -3
  274. package/src/components/Divider/__tests__/__snapshots__/Divider.test.tsx.snap +35 -23
  275. package/src/components/DragDrop/__tests__/DragDrop.test.tsx +3 -3
  276. package/src/components/DragDrop/__tests__/__snapshots__/DragDrop.test.tsx.snap +19 -19
  277. package/src/components/Drawer/__tests__/Drawer.test.tsx +9 -9
  278. package/src/components/Drawer/__tests__/Generated/Drawer.test.tsx +3 -3
  279. package/src/components/Drawer/__tests__/Generated/DrawerContent.test.tsx +3 -3
  280. package/src/components/Drawer/__tests__/Generated/DrawerPanelContent.test.tsx +3 -3
  281. package/src/components/Drawer/__tests__/Generated/__snapshots__/Drawer.test.tsx.snap +3 -15
  282. package/src/components/Drawer/__tests__/Generated/__snapshots__/DrawerContent.test.tsx.snap +9 -5
  283. package/src/components/Drawer/__tests__/Generated/__snapshots__/DrawerPanelContent.test.tsx.snap +6 -6
  284. package/src/components/Drawer/__tests__/__snapshots__/Drawer.test.tsx.snap +396 -887
  285. package/src/components/Dropdown/__tests__/Dropdown.test.tsx +36 -33
  286. package/src/components/Dropdown/__tests__/DropdownGroup.test.tsx +3 -3
  287. package/src/components/Dropdown/__tests__/DropdownToggle.test.tsx +13 -12
  288. package/src/components/Dropdown/__tests__/DropdownToggleAction.test.tsx +12 -9
  289. package/src/components/Dropdown/__tests__/DropdownToggleCheckbox.test.tsx +16 -15
  290. package/src/components/Dropdown/__tests__/Generated/Dropdown.test.tsx +3 -3
  291. package/src/components/Dropdown/__tests__/Generated/DropdownGroup.test.tsx +3 -3
  292. package/src/components/Dropdown/__tests__/Generated/DropdownMenu.test.tsx +3 -3
  293. package/src/components/Dropdown/__tests__/Generated/DropdownToggle.test.tsx +3 -3
  294. package/src/components/Dropdown/__tests__/Generated/DropdownToggleAction.test.tsx +3 -3
  295. package/src/components/Dropdown/__tests__/Generated/DropdownToggleCheckbox.test.tsx +3 -3
  296. package/src/components/Dropdown/__tests__/Generated/KebabToggle.test.tsx +3 -3
  297. package/src/components/Dropdown/__tests__/Generated/Toggle.test.tsx +3 -3
  298. package/src/components/Dropdown/__tests__/Generated/__snapshots__/Dropdown.test.tsx.snap +21 -45
  299. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownGroup.test.tsx.snap +12 -3
  300. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownMenu.test.tsx.snap +12 -12
  301. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownToggle.test.tsx.snap +29 -6
  302. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownToggleAction.test.tsx.snap +11 -10
  303. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownToggleCheckbox.test.tsx.snap +25 -25
  304. package/src/components/Dropdown/__tests__/Generated/__snapshots__/KebabToggle.test.tsx.snap +23 -24
  305. package/src/components/Dropdown/__tests__/Generated/__snapshots__/Toggle.test.tsx.snap +13 -3
  306. package/src/components/Dropdown/__tests__/InternalDropdownItem.test.tsx +23 -24
  307. package/src/components/Dropdown/__tests__/Toggle.test.tsx +5 -5
  308. package/src/components/Dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +698 -8888
  309. package/src/components/Dropdown/__tests__/__snapshots__/DropdownGroup.test.tsx.snap +17 -3
  310. package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggle.test.tsx.snap +140 -331
  311. package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggleAction.test.tsx.snap +23 -20
  312. package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggleCheckbox.test.tsx.snap +126 -122
  313. package/src/components/Dropdown/__tests__/__snapshots__/InternalDropdownItem.test.tsx.snap +137 -30
  314. package/src/components/Dropdown/__tests__/__snapshots__/Toggle.test.tsx.snap +47 -118
  315. package/src/components/DualListSelector/__tests__/DualListSelector.test.tsx +13 -13
  316. package/src/components/DualListSelector/__tests__/__snapshots__/DualListSelector.test.tsx.snap +1423 -4997
  317. package/src/components/EmptyState/__tests__/EmptyState.test.tsx +11 -10
  318. package/src/components/EmptyState/__tests__/Generated/EmptyState.test.tsx +3 -3
  319. package/src/components/EmptyState/__tests__/Generated/EmptyStateBody.test.tsx +3 -3
  320. package/src/components/EmptyState/__tests__/Generated/EmptyStateIcon.test.tsx +5 -5
  321. package/src/components/EmptyState/__tests__/Generated/EmptyStatePrimary.test.tsx +3 -3
  322. package/src/components/EmptyState/__tests__/Generated/EmptyStateSecondaryActions.test.tsx +3 -3
  323. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyState.test.tsx.snap +8 -6
  324. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateBody.test.tsx.snap +7 -5
  325. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateIcon.test.tsx.snap +30 -12
  326. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStatePrimary.test.tsx.snap +7 -5
  327. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateSecondaryActions.test.tsx.snap +6 -4
  328. package/src/components/EmptyState/__tests__/__snapshots__/EmptyState.test.tsx.snap +94 -60
  329. package/src/components/ExpandableSection/__tests__/ExpandableSection.test.tsx +18 -18
  330. package/src/components/ExpandableSection/__tests__/Generated/ExpandableSection.test.tsx +3 -3
  331. package/src/components/ExpandableSection/__tests__/Generated/__snapshots__/ExpandableSection.test.tsx.snap +36 -29
  332. package/src/components/ExpandableSection/__tests__/__snapshots__/ExpandableSection.test.tsx.snap +204 -201
  333. package/src/components/FileUpload/__tests__/FileUpload.test.tsx +3 -3
  334. package/src/components/FileUpload/__tests__/FileUploadField.test.tsx +3 -3
  335. package/src/components/FileUpload/__tests__/__snapshots__/FileUpload.test.tsx.snap +68 -12
  336. package/src/components/FileUpload/__tests__/__snapshots__/FileUploadField.test.tsx.snap +59 -49
  337. package/src/components/Form/__tests__/ActionGroup.test.tsx +5 -5
  338. package/src/components/Form/__tests__/Form.test.tsx +7 -7
  339. package/src/components/Form/__tests__/FormAlert.test.tsx +3 -3
  340. package/src/components/Form/__tests__/FormFieldGroup.test.tsx +6 -6
  341. package/src/components/Form/__tests__/FormGroup.test.tsx +31 -30
  342. package/src/components/Form/__tests__/FormHelperText.test.tsx +7 -6
  343. package/src/components/Form/__tests__/FormSection.test.tsx +5 -5
  344. package/src/components/Form/__tests__/Generated/ActionGroup.test.tsx +3 -3
  345. package/src/components/Form/__tests__/Generated/Form.test.tsx +3 -3
  346. package/src/components/Form/__tests__/Generated/FormGroup.test.tsx +3 -3
  347. package/src/components/Form/__tests__/Generated/FormHelperText.test.tsx +3 -3
  348. package/src/components/Form/__tests__/Generated/__snapshots__/ActionGroup.test.tsx.snap +8 -6
  349. package/src/components/Form/__tests__/Generated/__snapshots__/Form.test.tsx.snap +8 -6
  350. package/src/components/Form/__tests__/Generated/__snapshots__/FormGroup.test.tsx.snap +26 -24
  351. package/src/components/Form/__tests__/Generated/__snapshots__/FormHelperText.test.tsx.snap +7 -5
  352. package/src/components/Form/__tests__/__snapshots__/ActionGroup.test.tsx.snap +16 -20
  353. package/src/components/Form/__tests__/__snapshots__/Form.test.tsx.snap +18 -12
  354. package/src/components/Form/__tests__/__snapshots__/FormAlert.test.tsx.snap +3 -3
  355. package/src/components/Form/__tests__/__snapshots__/FormFieldGroup.test.tsx.snap +96 -244
  356. package/src/components/Form/__tests__/__snapshots__/FormGroup.test.tsx.snap +190 -277
  357. package/src/components/Form/__tests__/__snapshots__/FormHelperText.test.tsx.snap +36 -20
  358. package/src/components/Form/__tests__/__snapshots__/FormSection.test.tsx.snap +10 -11
  359. package/src/components/FormSelect/__tests__/FormSelect.test.tsx +19 -18
  360. package/src/components/FormSelect/__tests__/Generated/FormSelect.test.tsx +3 -3
  361. package/src/components/FormSelect/__tests__/Generated/FormSelectOption.test.tsx +3 -3
  362. package/src/components/FormSelect/__tests__/Generated/FormSelectOptionGroup.test.tsx +3 -3
  363. package/src/components/FormSelect/__tests__/Generated/__snapshots__/FormSelect.test.tsx.snap +14 -18
  364. package/src/components/FormSelect/__tests__/Generated/__snapshots__/FormSelectOption.test.tsx.snap +8 -7
  365. package/src/components/FormSelect/__tests__/Generated/__snapshots__/FormSelectOptionGroup.test.tsx.snap +8 -7
  366. package/src/components/FormSelect/__tests__/__snapshots__/FormSelect.test.tsx.snap +236 -264
  367. package/src/components/HelperText/__tests__/HelperText.test.tsx +13 -13
  368. package/src/components/HelperText/__tests__/__snapshots__/HelperText.test.tsx.snap +129 -193
  369. package/src/components/Hint/__tests__/Hint.test.tsx +3 -3
  370. package/src/components/Hint/__tests__/__snapshots__/Hint.test.tsx.snap +22 -14
  371. package/src/components/InputGroup/__tests__/Generated/InputGroup.test.tsx +3 -3
  372. package/src/components/InputGroup/__tests__/Generated/InputGroupText.test.tsx +3 -3
  373. package/src/components/InputGroup/__tests__/Generated/__snapshots__/InputGroup.test.tsx.snap +7 -5
  374. package/src/components/InputGroup/__tests__/Generated/__snapshots__/InputGroupText.test.tsx.snap +9 -7
  375. package/src/components/JumpLinks/__tests__/JumpLinks.test.tsx +11 -11
  376. package/src/components/JumpLinks/__tests__/__snapshots__/JumpLinks.test.tsx.snap +366 -164
  377. package/src/components/Label/Label.tsx +5 -2
  378. package/src/components/Label/__tests__/Generated/Label.test.tsx +3 -3
  379. package/src/components/Label/__tests__/Generated/__snapshots__/Label.test.tsx.snap +10 -8
  380. package/src/components/Label/__tests__/Label.test.tsx +23 -22
  381. package/src/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +629 -188
  382. package/src/components/LabelGroup/__tests__/Generated/LabelGroup.test.tsx +3 -3
  383. package/src/components/LabelGroup/__tests__/Generated/__snapshots__/LabelGroup.test.tsx.snap +30 -5
  384. package/src/components/LabelGroup/__tests__/LabelGroup.test.tsx +11 -10
  385. package/src/components/LabelGroup/__tests__/__snapshots__/LabelGroup.test.tsx.snap +236 -25
  386. package/src/components/List/__tests__/Generated/ListItem.test.tsx +3 -3
  387. package/src/components/List/__tests__/Generated/__snapshots__/ListItem.test.tsx.snap +7 -5
  388. package/src/components/List/__tests__/List.test.tsx +13 -12
  389. package/src/components/List/__tests__/__snapshots__/List.test.tsx.snap +208 -384
  390. package/src/components/LoginPage/__tests__/Generated/Login.test.tsx +3 -3
  391. package/src/components/LoginPage/__tests__/Generated/LoginFooter.test.tsx +3 -3
  392. package/src/components/LoginPage/__tests__/Generated/LoginFooterItem.test.tsx +3 -3
  393. package/src/components/LoginPage/__tests__/Generated/LoginForm.test.tsx +3 -3
  394. package/src/components/LoginPage/__tests__/Generated/LoginHeader.test.tsx +3 -3
  395. package/src/components/LoginPage/__tests__/Generated/LoginMainBody.test.tsx +3 -3
  396. package/src/components/LoginPage/__tests__/Generated/LoginMainFooter.test.tsx +3 -3
  397. package/src/components/LoginPage/__tests__/Generated/LoginMainFooterBandItem.test.tsx +3 -3
  398. package/src/components/LoginPage/__tests__/Generated/LoginMainFooterLinksItem.test.tsx +3 -3
  399. package/src/components/LoginPage/__tests__/Generated/LoginMainHeader.test.tsx +3 -3
  400. package/src/components/LoginPage/__tests__/Generated/LoginPage.test.tsx +3 -3
  401. package/src/components/LoginPage/__tests__/Generated/__snapshots__/Login.test.tsx.snap +10 -8
  402. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginFooter.test.tsx.snap +7 -5
  403. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginFooterItem.test.tsx.snap +2 -2
  404. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginForm.test.tsx.snap +143 -64
  405. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginHeader.test.tsx.snap +7 -5
  406. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainBody.test.tsx.snap +6 -4
  407. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainFooter.test.tsx.snap +6 -4
  408. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainFooterBandItem.test.tsx.snap +7 -5
  409. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainFooterLinksItem.test.tsx.snap +12 -13
  410. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginMainHeader.test.tsx.snap +19 -15
  411. package/src/components/LoginPage/__tests__/Generated/__snapshots__/LoginPage.test.tsx.snap +53 -30
  412. package/src/components/LoginPage/__tests__/Login.test.tsx +3 -3
  413. package/src/components/LoginPage/__tests__/LoginFooterItem.test.tsx +5 -4
  414. package/src/components/LoginPage/__tests__/LoginForm.test.tsx +7 -6
  415. package/src/components/LoginPage/__tests__/LoginMainBody.test.tsx +3 -2
  416. package/src/components/LoginPage/__tests__/LoginMainFooter.test.tsx +3 -2
  417. package/src/components/LoginPage/__tests__/LoginMainFooterBandItem.test.tsx +5 -4
  418. package/src/components/LoginPage/__tests__/LoginMainFooterLinksItem.test.tsx +5 -4
  419. package/src/components/LoginPage/__tests__/LoginMainHeader.test.tsx +3 -2
  420. package/src/components/LoginPage/__tests__/LoginPage.test.tsx +3 -3
  421. package/src/components/LoginPage/__tests__/__snapshots__/Login.test.tsx.snap +21 -16
  422. package/src/components/LoginPage/__tests__/__snapshots__/LoginFooterItem.test.tsx.snap +13 -5
  423. package/src/components/LoginPage/__tests__/__snapshots__/LoginForm.test.tsx.snap +399 -176
  424. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainBody.test.tsx.snap +5 -3
  425. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainFooter.test.tsx.snap +5 -3
  426. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainFooterBandItem.test.tsx.snap +14 -8
  427. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainFooterLinksItem.test.tsx.snap +25 -19
  428. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainHeader.test.tsx.snap +8 -3
  429. package/src/components/LoginPage/__tests__/__snapshots__/LoginPage.test.tsx.snap +106 -46
  430. package/src/components/Masthead/__tests__/Masthead.test.tsx +31 -31
  431. package/src/components/Masthead/__tests__/__snapshots__/Masthead.test.tsx.snap +108 -228
  432. package/src/components/Menu/MenuItem.tsx +9 -1
  433. package/src/components/Menu/__tests__/Menu.test.tsx +3 -2
  434. package/src/components/Menu/__tests__/__snapshots__/Menu.test.tsx.snap +9 -51
  435. package/src/components/Menu/examples/Menu.md +57 -32
  436. package/src/components/MenuToggle/__tests__/MenuToggle.test.tsx +19 -19
  437. package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +264 -503
  438. package/src/components/Modal/__tests__/Generated/Modal.test.tsx +3 -3
  439. package/src/components/Modal/__tests__/Generated/ModalBox.test.tsx +3 -3
  440. package/src/components/Modal/__tests__/Generated/ModalBoxBody.test.tsx +3 -3
  441. package/src/components/Modal/__tests__/Generated/ModalBoxCloseButton.test.tsx +3 -3
  442. package/src/components/Modal/__tests__/Generated/ModalBoxDescription.test.tsx +3 -3
  443. package/src/components/Modal/__tests__/Generated/ModalBoxFooter.test.tsx +3 -3
  444. package/src/components/Modal/__tests__/Generated/ModalBoxHeader.test.tsx +3 -3
  445. package/src/components/Modal/__tests__/Generated/ModalContent.test.tsx +3 -3
  446. package/src/components/Modal/__tests__/Generated/__snapshots__/Modal.test.tsx.snap +1 -48
  447. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBox.test.tsx.snap +12 -10
  448. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxBody.test.tsx.snap +6 -4
  449. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxCloseButton.test.tsx.snap +25 -12
  450. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxDescription.test.tsx.snap +7 -5
  451. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxFooter.test.tsx.snap +7 -5
  452. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalBoxHeader.test.tsx.snap +7 -5
  453. package/src/components/Modal/__tests__/Generated/__snapshots__/ModalContent.test.tsx.snap +1 -1
  454. package/src/components/Modal/__tests__/ModalBox.test.tsx +13 -13
  455. package/src/components/Modal/__tests__/ModalBoxBody.test.tsx +3 -3
  456. package/src/components/Modal/__tests__/ModalBoxDescription.test.tsx +3 -3
  457. package/src/components/Modal/__tests__/ModalBoxFooter.test.tsx +3 -3
  458. package/src/components/Modal/__tests__/ModalBoxHeader.test.tsx +5 -5
  459. package/src/components/Modal/__tests__/ModalBoxTitle.test.tsx +13 -13
  460. package/src/components/Modal/__tests__/ModalContent.test.tsx +17 -17
  461. package/src/components/Modal/__tests__/__snapshots__/ModalBox.test.tsx.snap +61 -65
  462. package/src/components/Modal/__tests__/__snapshots__/ModalBoxBody.test.tsx.snap +7 -5
  463. package/src/components/Modal/__tests__/__snapshots__/ModalBoxDescription.test.tsx.snap +7 -5
  464. package/src/components/Modal/__tests__/__snapshots__/ModalBoxFooter.test.tsx.snap +7 -5
  465. package/src/components/Modal/__tests__/__snapshots__/ModalBoxHeader.test.tsx.snap +23 -19
  466. package/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +200 -139
  467. package/src/components/Modal/__tests__/__snapshots__/ModalContent.test.tsx.snap +516 -343
  468. package/src/components/Nav/NavGroup.tsx +20 -9
  469. package/src/components/Nav/__tests__/Generated/Nav.test.tsx +3 -3
  470. package/src/components/Nav/__tests__/Generated/NavExpandable.test.tsx +3 -3
  471. package/src/components/Nav/__tests__/Generated/NavGroup.test.tsx +3 -3
  472. package/src/components/Nav/__tests__/Generated/NavItem.test.tsx +3 -3
  473. package/src/components/Nav/__tests__/Generated/__snapshots__/Nav.test.tsx.snap +4 -15
  474. package/src/components/Nav/__tests__/Generated/__snapshots__/NavExpandable.test.tsx.snap +51 -3
  475. package/src/components/Nav/__tests__/Generated/__snapshots__/NavGroup.test.tsx.snap +17 -15
  476. package/src/components/Nav/__tests__/Generated/__snapshots__/NavItem.test.tsx.snap +5 -8
  477. package/src/components/Nav/examples/Nav.md +2 -0
  478. package/src/components/NotificationBadge/__tests__/Generated/NotificationBadge.test.tsx +3 -3
  479. package/src/components/NotificationBadge/__tests__/Generated/__snapshots__/NotificationBadge.test.tsx.snap +18 -12
  480. package/src/components/NotificationBadge/__tests__/NotificationBadge.test.tsx +7 -7
  481. package/src/components/NotificationBadge/__tests__/__snapshots__/NotificationBadge.test.tsx.snap +115 -56
  482. package/src/components/NotificationDrawer/NotificationDrawer.tsx +8 -2
  483. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawer.test.tsx +3 -3
  484. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerBody.test.tsx +3 -3
  485. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerGroup.test.tsx +3 -3
  486. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerGroupList.test.tsx +3 -3
  487. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerHeader.test.tsx +3 -3
  488. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerList.test.tsx +3 -3
  489. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerListItem.test.tsx +3 -3
  490. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerListItemBody.test.tsx +3 -3
  491. package/src/components/NotificationDrawer/__tests__/Generated/NotificationDrawerListItemHeader.test.tsx +3 -3
  492. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawer.test.tsx.snap +7 -5
  493. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerBody.test.tsx.snap +7 -5
  494. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerGroup.test.tsx.snap +45 -37
  495. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerGroupList.test.tsx.snap +7 -5
  496. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerHeader.test.tsx.snap +22 -17
  497. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerList.test.tsx.snap +9 -8
  498. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerListItem.test.tsx.snap +10 -10
  499. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerListItemBody.test.tsx.snap +4 -4
  500. package/src/components/NotificationDrawer/__tests__/Generated/__snapshots__/NotificationDrawerListItemHeader.test.tsx.snap +20 -12
  501. package/src/components/NotificationDrawer/__tests__/NotificationDrawer.test.tsx +3 -2
  502. package/src/components/NotificationDrawer/__tests__/NotificationDrawerBody.test.tsx +3 -2
  503. package/src/components/NotificationDrawer/__tests__/NotificationDrawerGroup.test.tsx +13 -8
  504. package/src/components/NotificationDrawer/__tests__/NotificationDrawerGroupList.test.tsx +3 -2
  505. package/src/components/NotificationDrawer/__tests__/NotificationDrawerHeader.test.tsx +9 -8
  506. package/src/components/NotificationDrawer/__tests__/NotificationDrawerList.test.tsx +5 -4
  507. package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItem.test.tsx +3 -2
  508. package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItemBody.test.tsx +5 -4
  509. package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItemHeader.test.tsx +12 -11
  510. package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawer.test.tsx.snap +6 -4
  511. package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerBody.test.tsx.snap +5 -3
  512. package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerGroup.test.tsx.snap +126 -102
  513. package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerGroupList.test.tsx.snap +5 -3
  514. package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerHeader.test.tsx.snap +62 -42
  515. package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerList.test.tsx.snap +10 -8
  516. package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerListItem.test.tsx.snap +6 -6
  517. package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerListItemBody.test.tsx.snap +7 -7
  518. package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerListItemHeader.test.tsx.snap +74 -42
  519. package/src/components/NumberInput/__tests__/NumberInput.test.tsx +21 -21
  520. package/src/components/NumberInput/__tests__/__snapshots__/NumberInput.test.tsx.snap +640 -1325
  521. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenu.test.tsx +3 -3
  522. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuItemGroup.test.tsx +3 -3
  523. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuSeparator.test.tsx +3 -3
  524. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuToggle.test.tsx +3 -3
  525. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuToggleWithText.test.tsx +3 -3
  526. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenu.test.tsx.snap +19 -39
  527. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItemGroup.test.tsx.snap +13 -10
  528. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuSeparator.test.tsx.snap +6 -4
  529. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggle.test.tsx.snap +38 -3
  530. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggleWithText.test.tsx.snap +20 -23
  531. package/src/components/OptionsMenu/__tests__/OptionsMenu.test.tsx +17 -17
  532. package/src/components/OptionsMenu/__tests__/__snapshots__/OptionsMenu.test.tsx.snap +399 -3275
  533. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenu.test.tsx +3 -3
  534. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuContent.test.tsx +3 -3
  535. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuControl.test.tsx +3 -3
  536. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuGroup.test.tsx +3 -3
  537. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuItem.test.tsx +3 -3
  538. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenu.test.tsx.snap +4 -10
  539. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuContent.test.tsx.snap +7 -3
  540. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuControl.test.tsx.snap +9 -3
  541. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuGroup.test.tsx.snap +7 -3
  542. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuItem.test.tsx.snap +9 -3
  543. package/src/components/OverflowMenu/__tests__/OverflowMenu.test.tsx +8 -7
  544. package/src/components/OverflowMenu/__tests__/OverflowMenuControl.test.tsx +3 -2
  545. package/src/components/OverflowMenu/__tests__/OverflowMenuItem.test.tsx +3 -2
  546. package/src/components/OverflowMenu/__tests__/__snapshots__/OverflowMenu.test.tsx.snap +13 -15
  547. package/src/components/OverflowMenu/__tests__/__snapshots__/OverflowMenuControl.test.tsx.snap +3 -5
  548. package/src/components/OverflowMenu/__tests__/__snapshots__/OverflowMenuItem.test.tsx.snap +3 -3
  549. package/src/components/Page/__tests__/Generated/Page.test.tsx +3 -3
  550. package/src/components/Page/__tests__/Generated/PageHeader.test.tsx +3 -3
  551. package/src/components/Page/__tests__/Generated/PageHeaderTools.test.tsx +3 -3
  552. package/src/components/Page/__tests__/Generated/PageHeaderToolsGroup.test.tsx +3 -3
  553. package/src/components/Page/__tests__/Generated/PageHeaderToolsItem.test.tsx +3 -3
  554. package/src/components/Page/__tests__/Generated/PageSection.test.tsx +3 -3
  555. package/src/components/Page/__tests__/Generated/PageSidebar.test.tsx +3 -3
  556. package/src/components/Page/__tests__/Generated/__snapshots__/Page.test.tsx.snap +5 -15
  557. package/src/components/Page/__tests__/Generated/__snapshots__/PageHeader.test.tsx.snap +6 -3
  558. package/src/components/Page/__tests__/Generated/__snapshots__/PageHeaderTools.test.tsx.snap +7 -5
  559. package/src/components/Page/__tests__/Generated/__snapshots__/PageHeaderToolsGroup.test.tsx.snap +7 -5
  560. package/src/components/Page/__tests__/Generated/__snapshots__/PageHeaderToolsItem.test.tsx.snap +7 -5
  561. package/src/components/Page/__tests__/Generated/__snapshots__/PageSection.test.tsx.snap +9 -7
  562. package/src/components/Page/__tests__/Generated/__snapshots__/PageSidebar.test.tsx.snap +15 -3
  563. package/src/components/Page/__tests__/Page.test.tsx +7 -6
  564. package/src/components/Page/__tests__/PageBreadcrumb.test.tsx +15 -15
  565. package/src/components/Page/__tests__/PageGroup.test.tsx +13 -13
  566. package/src/components/Page/__tests__/PageHeader.test.tsx +3 -3
  567. package/src/components/Page/__tests__/PageNavigation.test.tsx +15 -15
  568. package/src/components/Page/__tests__/PageSection.test.tsx +32 -32
  569. package/src/components/Page/__tests__/__snapshots__/Page.test.tsx.snap +121 -277
  570. package/src/components/Page/__tests__/__snapshots__/PageBreadcrumb.test.tsx.snap +22 -34
  571. package/src/components/Page/__tests__/__snapshots__/PageGroup.test.tsx.snap +18 -28
  572. package/src/components/Page/__tests__/__snapshots__/PageHeader.test.tsx.snap +5 -9
  573. package/src/components/Page/__tests__/__snapshots__/PageNavigation.test.tsx.snap +22 -34
  574. package/src/components/Page/__tests__/__snapshots__/PageSection.test.tsx.snap +47 -87
  575. package/src/components/Pagination/__tests__/Generated/Navigation.test.tsx +3 -3
  576. package/src/components/Pagination/__tests__/Generated/OptionsToggle.test.tsx +3 -3
  577. package/src/components/Pagination/__tests__/Generated/Pagination.test.tsx +3 -3
  578. package/src/components/Pagination/__tests__/Generated/PaginationOptionsMenu.test.tsx +3 -3
  579. package/src/components/Pagination/__tests__/Generated/ToggleTemplate.test.tsx +3 -3
  580. package/src/components/Pagination/__tests__/Generated/__snapshots__/Navigation.test.tsx.snap +125 -82
  581. package/src/components/Pagination/__tests__/Generated/__snapshots__/OptionsToggle.test.tsx.snap +36 -16
  582. package/src/components/Pagination/__tests__/Generated/__snapshots__/Pagination.test.tsx.snap +197 -75
  583. package/src/components/Pagination/__tests__/Generated/__snapshots__/PaginationOptionsMenu.test.tsx.snap +11 -50
  584. package/src/components/Pagination/__tests__/Generated/__snapshots__/ToggleTemplate.test.tsx.snap +2 -2
  585. package/src/components/Pagination/__tests__/Pagination.test.tsx +33 -32
  586. package/src/components/Pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +3134 -12105
  587. package/src/components/Panel/__tests__/Panel.test.tsx +19 -19
  588. package/src/components/Panel/__tests__/__snapshots__/Panel.test.tsx.snap +55 -46
  589. package/src/components/Popover/__tests__/Generated/Popover.test.tsx +3 -3
  590. package/src/components/Popover/__tests__/Generated/PopoverArrow.test.tsx +3 -3
  591. package/src/components/Popover/__tests__/Generated/PopoverBody.test.tsx +3 -3
  592. package/src/components/Popover/__tests__/Generated/PopoverCloseButton.test.tsx +3 -3
  593. package/src/components/Popover/__tests__/Generated/PopoverContent.test.tsx +3 -3
  594. package/src/components/Popover/__tests__/Generated/PopoverDialog.test.tsx +3 -3
  595. package/src/components/Popover/__tests__/Generated/PopoverFooter.test.tsx +3 -3
  596. package/src/components/Popover/__tests__/Generated/PopoverHeader.test.tsx +3 -3
  597. package/src/components/Popover/__tests__/Generated/__snapshots__/Popover.test.tsx.snap +5 -95
  598. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverArrow.test.tsx.snap +5 -3
  599. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverBody.test.tsx.snap +8 -6
  600. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverCloseButton.test.tsx.snap +24 -17
  601. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverContent.test.tsx.snap +7 -5
  602. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverDialog.test.tsx.snap +8 -6
  603. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverFooter.test.tsx.snap +9 -7
  604. package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverHeader.test.tsx.snap +13 -9
  605. package/src/components/Popover/__tests__/Popover.test.tsx +9 -9
  606. package/src/components/Popover/__tests__/__snapshots__/Popover.test.tsx.snap +22 -437
  607. package/src/components/Progress/__tests__/Generated/Progress.test.tsx +3 -3
  608. package/src/components/Progress/__tests__/Generated/ProgressBar.test.tsx +3 -3
  609. package/src/components/Progress/__tests__/Generated/ProgressContainer.test.tsx +3 -3
  610. package/src/components/Progress/__tests__/Generated/__snapshots__/Progress.test.tsx.snap +58 -23
  611. package/src/components/Progress/__tests__/Generated/__snapshots__/ProgressBar.test.tsx.snap +11 -13
  612. package/src/components/Progress/__tests__/Generated/__snapshots__/ProgressContainer.test.tsx.snap +31 -15
  613. package/src/components/Progress/__tests__/Progress.test.tsx +31 -33
  614. package/src/components/Progress/__tests__/__snapshots__/Progress.test.tsx.snap +622 -1677
  615. package/src/components/ProgressStepper/__tests__/ProgressStepper.test.tsx +25 -25
  616. package/src/components/ProgressStepper/__tests__/__snapshots__/ProgressStepper.test.tsx.snap +560 -821
  617. package/src/components/Radio/__tests__/Generated/Radio.test.tsx +3 -3
  618. package/src/components/Radio/__tests__/Generated/__snapshots__/Radio.test.tsx.snap +31 -31
  619. package/src/components/Radio/__tests__/Radio.test.tsx +27 -26
  620. package/src/components/Radio/__tests__/__snapshots__/Radio.test.tsx.snap +201 -200
  621. package/src/components/SearchInput/__tests__/SearchInput.test.tsx +10 -7
  622. package/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap +295 -25
  623. package/src/components/Select/__tests__/Generated/Select.test.tsx +3 -3
  624. package/src/components/Select/__tests__/Generated/SelectToggle.test.tsx +3 -3
  625. package/src/components/Select/__tests__/Generated/__snapshots__/Select.test.tsx.snap +44 -5
  626. package/src/components/Select/__tests__/Generated/__snapshots__/SelectToggle.test.tsx.snap +18 -16
  627. package/src/components/Select/__tests__/Select.test.tsx +47 -46
  628. package/src/components/Select/__tests__/SelectOption.test.tsx +42 -23
  629. package/src/components/Select/__tests__/SelectToggle.test.tsx +5 -4
  630. package/src/components/Select/__tests__/__snapshots__/Select.test.tsx.snap +2743 -12568
  631. package/src/components/Select/__tests__/__snapshots__/SelectOption.test.tsx.snap +29 -456
  632. package/src/components/Select/__tests__/__snapshots__/SelectToggle.test.tsx.snap +17 -54
  633. package/src/components/SimpleList/__tests__/Generated/SimpleList.test.tsx +3 -3
  634. package/src/components/SimpleList/__tests__/Generated/SimpleListGroup.test.tsx +3 -3
  635. package/src/components/SimpleList/__tests__/Generated/SimpleListItem.test.tsx +3 -3
  636. package/src/components/SimpleList/__tests__/Generated/__snapshots__/SimpleList.test.tsx.snap +3 -11
  637. package/src/components/SimpleList/__tests__/Generated/__snapshots__/SimpleListGroup.test.tsx.snap +16 -14
  638. package/src/components/SimpleList/__tests__/Generated/__snapshots__/SimpleListItem.test.tsx.snap +12 -3
  639. package/src/components/SimpleList/__tests__/SimpleList.test.tsx +13 -12
  640. package/src/components/SimpleList/__tests__/__snapshots__/SimpleList.test.tsx.snap +132 -323
  641. package/src/components/Skeleton/__tests__/Skeleton.test.tsx +13 -13
  642. package/src/components/Skeleton/__tests__/__snapshots__/Skeleton.test.tsx.snap +179 -192
  643. package/src/components/SkipToContent/__tests__/Generated/SkipToContent.test.tsx +3 -3
  644. package/src/components/SkipToContent/__tests__/Generated/__snapshots__/SkipToContent.test.tsx.snap +11 -9
  645. package/src/components/SkipToContent/__tests__/SkipToContent.test.tsx +5 -5
  646. package/src/components/SkipToContent/__tests__/__snapshots__/SkipToContent.test.tsx.snap +12 -8
  647. package/src/components/Slider/_tests_/Slider.test.tsx +19 -19
  648. package/src/components/Slider/_tests_/__snapshots__/Slider.test.tsx.snap +359 -964
  649. package/src/components/Spinner/__tests__/Generated/Spinner.test.tsx +3 -3
  650. package/src/components/Spinner/__tests__/Generated/__snapshots__/Spinner.test.tsx.snap +17 -15
  651. package/src/components/Spinner/__tests__/Spinner.test.tsx +11 -11
  652. package/src/components/Spinner/__tests__/__snapshots__/Spinner.test.tsx.snap +85 -75
  653. package/src/components/Switch/__tests__/Generated/Switch.test.tsx +3 -3
  654. package/src/components/Switch/__tests__/Generated/__snapshots__/Switch.test.tsx.snap +31 -34
  655. package/src/components/Switch/__tests__/Switch.test.tsx +17 -16
  656. package/src/components/Switch/__tests__/__snapshots__/Switch.test.tsx.snap +118 -230
  657. package/src/components/Tabs/__tests__/Generated/TabButton.test.tsx +3 -3
  658. package/src/components/Tabs/__tests__/Generated/TabContent.test.tsx +3 -3
  659. package/src/components/Tabs/__tests__/Generated/Tabs.test.tsx +3 -3
  660. package/src/components/Tabs/__tests__/Generated/__snapshots__/TabButton.test.tsx.snap +12 -10
  661. package/src/components/Tabs/__tests__/Generated/__snapshots__/TabContent.test.tsx.snap +13 -15
  662. package/src/components/Tabs/__tests__/Generated/__snapshots__/Tabs.test.tsx.snap +50 -49
  663. package/src/components/Tabs/__tests__/Tab.test.tsx +3 -3
  664. package/src/components/Tabs/__tests__/TabButton.test.tsx +3 -3
  665. package/src/components/Tabs/__tests__/Tabs.test.tsx +12 -12
  666. package/src/components/Tabs/__tests__/__snapshots__/Tab.test.tsx.snap +16 -43
  667. package/src/components/Tabs/__tests__/__snapshots__/TabButton.test.tsx.snap +3 -3
  668. package/src/components/Tabs/__tests__/__snapshots__/Tabs.test.tsx.snap +94 -94
  669. package/src/components/Text/__tests__/Generated/Text.test.tsx +3 -3
  670. package/src/components/Text/__tests__/Generated/TextContent.test.tsx +3 -3
  671. package/src/components/Text/__tests__/Generated/TextList.test.tsx +3 -3
  672. package/src/components/Text/__tests__/Generated/TextListItem.test.tsx +3 -3
  673. package/src/components/Text/__tests__/Generated/__snapshots__/Text.test.tsx.snap +11 -9
  674. package/src/components/Text/__tests__/Generated/__snapshots__/TextContent.test.tsx.snap +6 -4
  675. package/src/components/Text/__tests__/Generated/__snapshots__/TextList.test.tsx.snap +8 -6
  676. package/src/components/Text/__tests__/Generated/__snapshots__/TextListItem.test.tsx.snap +8 -6
  677. package/src/components/Text/__tests__/Text.test.tsx +3 -3
  678. package/src/components/Text/__tests__/__snapshots__/Text.test.tsx.snap +293 -436
  679. package/src/components/TextArea/__tests__/Generated/TextArea.test.tsx +3 -3
  680. package/src/components/TextArea/__tests__/Generated/__snapshots__/TextArea.test.tsx.snap +9 -11
  681. package/src/components/TextArea/__tests__/TextArea.test.tsx +19 -18
  682. package/src/components/TextArea/__tests__/__snapshots__/TextArea.test.tsx.snap +70 -238
  683. package/src/components/TextInput/__tests__/TextInput.test.tsx +15 -14
  684. package/src/components/TextInput/__tests__/__snapshots__/TextInput.test.tsx.snap +62 -78
  685. package/src/components/TextInputGroup/__tests__/TextInputGroup.test.tsx +18 -17
  686. package/src/components/TextInputGroup/__tests__/__snapshots__/TextInputGroup.test.tsx.snap +92 -139
  687. package/src/components/Tile/__tests__/Tile.test.tsx +15 -15
  688. package/src/components/Tile/__tests__/__snapshots__/Tile.test.tsx.snap +119 -81
  689. package/src/components/TimePicker/__tests__/TimePicker.test.tsx +1 -0
  690. package/src/components/Title/__tests__/Generated/Title.test.tsx +3 -3
  691. package/src/components/Title/__tests__/Generated/__snapshots__/Title.test.tsx.snap +8 -6
  692. package/src/components/Title/__tests__/Title.test.tsx +3 -2
  693. package/src/components/Title/__tests__/__snapshots__/Title.test.tsx.snap +66 -54
  694. package/src/components/ToggleGroup/__tests__/ToggleGroup.test.tsx +12 -11
  695. package/src/components/ToggleGroup/__tests__/ToggleGroupItemElement.test.tsx +7 -7
  696. package/src/components/ToggleGroup/__tests__/__snapshots__/ToggleGroup.test.tsx.snap +101 -75
  697. package/src/components/ToggleGroup/__tests__/__snapshots__/ToggleGroupItemElement.test.tsx.snap +19 -13
  698. package/src/components/Toolbar/Toolbar.tsx +7 -2
  699. package/src/components/Toolbar/ToolbarChipGroupContent.tsx +5 -1
  700. package/src/components/Toolbar/ToolbarExpandableContent.tsx +3 -2
  701. package/src/components/Toolbar/ToolbarUtils.tsx +1 -0
  702. package/src/components/Toolbar/__tests__/Generated/Toolbar.test.tsx +3 -3
  703. package/src/components/Toolbar/__tests__/Generated/ToolbarChipGroupContent.test.tsx +3 -3
  704. package/src/components/Toolbar/__tests__/Generated/ToolbarContent.test.tsx +3 -3
  705. package/src/components/Toolbar/__tests__/Generated/ToolbarExpandableContent.test.tsx +3 -3
  706. package/src/components/Toolbar/__tests__/Generated/ToolbarGroup.test.tsx +3 -3
  707. package/src/components/Toolbar/__tests__/Generated/ToolbarItem.test.tsx +3 -3
  708. package/src/components/Toolbar/__tests__/Generated/__snapshots__/Toolbar.test.tsx.snap +21 -3
  709. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarChipGroupContent.test.tsx.snap +9 -7
  710. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarContent.test.tsx.snap +21 -3
  711. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarExpandableContent.test.tsx.snap +8 -4
  712. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarGroup.test.tsx.snap +8 -8
  713. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarItem.test.tsx.snap +10 -3
  714. package/src/components/Toolbar/__tests__/ToolbarToggleGroup.test.tsx +78 -7
  715. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarToggleGroup.test.tsx.snap +457 -254
  716. package/src/components/Toolbar/examples/Toolbar.md +8 -1
  717. package/src/components/Toolbar/examples/ToolbarCustomChipGroupContent.tsx +166 -0
  718. package/src/components/Tooltip/__tests__/Generated/Tooltip.test.tsx +3 -3
  719. package/src/components/Tooltip/__tests__/Generated/TooltipArrow.test.tsx +3 -3
  720. package/src/components/Tooltip/__tests__/Generated/TooltipContent.test.tsx +3 -3
  721. package/src/components/Tooltip/__tests__/Generated/__snapshots__/Tooltip.test.tsx.snap +5 -71
  722. package/src/components/Tooltip/__tests__/Generated/__snapshots__/TooltipArrow.test.tsx.snap +5 -3
  723. package/src/components/Tooltip/__tests__/Generated/__snapshots__/TooltipContent.test.tsx.snap +7 -5
  724. package/src/components/Tooltip/__tests__/Tooltip.test.tsx +3 -3
  725. package/src/components/Tooltip/__tests__/__snapshots__/Tooltip.test.tsx.snap +5 -71
  726. package/src/components/TreeView/__tests__/TreeView.test.tsx +23 -23
  727. package/src/components/TreeView/__tests__/__snapshots__/TreeView.test.tsx.snap +2981 -10781
  728. package/src/components/Truncate/__tests__/Truncate.test.tsx +7 -7
  729. package/src/components/Truncate/__tests__/__snapshots__/Truncate.test.tsx.snap +13 -22
  730. package/src/components/Wizard/__tests__/Generated/WizardBody.test.tsx +3 -3
  731. package/src/components/Wizard/__tests__/Generated/WizardFooter.test.tsx +3 -3
  732. package/src/components/Wizard/__tests__/Generated/WizardFooterInternal.test.tsx +3 -3
  733. package/src/components/Wizard/__tests__/Generated/WizardHeader.test.tsx +3 -3
  734. package/src/components/Wizard/__tests__/Generated/WizardNav.test.tsx +3 -3
  735. package/src/components/Wizard/__tests__/Generated/WizardNavItem.test.tsx +3 -3
  736. package/src/components/Wizard/__tests__/Generated/WizardToggle.test.tsx +3 -3
  737. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardBody.test.tsx.snap +9 -7
  738. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardFooter.test.tsx.snap +7 -5
  739. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardFooterInternal.test.tsx.snap +42 -30
  740. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardHeader.test.tsx.snap +22 -19
  741. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardNav.test.tsx.snap +12 -10
  742. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardNavItem.test.tsx.snap +11 -12
  743. package/src/components/Wizard/__tests__/Generated/__snapshots__/WizardToggle.test.tsx.snap +29 -20
  744. package/src/components/Wizard/__tests__/Wizard.test.tsx +7 -10
  745. package/src/components/Wizard/__tests__/__snapshots__/Wizard.test.tsx.snap +448 -222
  746. package/src/demos/Nav.md +7 -3
  747. package/src/demos/NotificationDrawer/NotificationDrawer.md +31 -4
  748. package/src/demos/Page/Page.md +7 -3
  749. package/src/demos/examples/DashboardHeader.js +2 -1
  750. package/src/helpers/FocusTrap/__tests__/Generated/FocusTrap.test.tsx +3 -3
  751. package/src/helpers/FocusTrap/__tests__/Generated/__snapshots__/FocusTrap.test.tsx.snap +7 -5
  752. package/src/helpers/GenerateId/__tests__/GenerateId.test.tsx +3 -3
  753. package/src/helpers/GenerateId/__tests__/__snapshots__/GenerateId.test.tsx.snap +6 -4
  754. package/src/helpers/Popper/__tests__/Generated/FindRefWrapper.test.tsx +3 -3
  755. package/src/helpers/Popper/__tests__/Generated/__snapshots__/FindRefWrapper.test.tsx.snap +2 -4
  756. package/src/layouts/Bullseye/__tests__/Bullseye.test.tsx +4 -3
  757. package/src/layouts/Bullseye/__tests__/Generated/Bullseye.test.tsx +3 -3
  758. package/src/layouts/Bullseye/__tests__/Generated/__snapshots__/Bullseye.test.tsx.snap +6 -4
  759. package/src/layouts/Bullseye/__tests__/__snapshots__/Bullseye.test.tsx.snap +5 -3
  760. package/src/layouts/Flex/__tests__/Flex.test.tsx +12 -17
  761. package/src/layouts/Flex/__tests__/Generated/Flex.test.tsx +3 -3
  762. package/src/layouts/Flex/__tests__/Generated/FlexItem.test.tsx +3 -3
  763. package/src/layouts/Flex/__tests__/Generated/__snapshots__/Flex.test.tsx.snap +6 -4
  764. package/src/layouts/Flex/__tests__/Generated/__snapshots__/FlexItem.test.tsx.snap +6 -4
  765. package/src/layouts/Flex/__tests__/__snapshots__/Flex.test.tsx.snap +38 -28
  766. package/src/layouts/Gallery/__tests__/Gallery.test.tsx +7 -7
  767. package/src/layouts/Gallery/__tests__/Generated/Gallery.test.tsx +3 -3
  768. package/src/layouts/Gallery/__tests__/Generated/GalleryItem.test.tsx +3 -3
  769. package/src/layouts/Gallery/__tests__/Generated/__snapshots__/Gallery.test.tsx.snap +6 -4
  770. package/src/layouts/Gallery/__tests__/Generated/__snapshots__/GalleryItem.test.tsx.snap +3 -1
  771. package/src/layouts/Gallery/__tests__/__snapshots__/Gallery.test.tsx.snap +15 -42
  772. package/src/layouts/Grid/__tests__/Generated/Grid.test.tsx +3 -3
  773. package/src/layouts/Grid/__tests__/Generated/GridItem.test.tsx +3 -3
  774. package/src/layouts/Grid/__tests__/Generated/__snapshots__/Grid.test.tsx.snap +6 -4
  775. package/src/layouts/Grid/__tests__/Generated/__snapshots__/GridItem.test.tsx.snap +6 -4
  776. package/src/layouts/Grid/__tests__/Grid.test.tsx +5 -5
  777. package/src/layouts/Grid/__tests__/GridItem.test.tsx +13 -13
  778. package/src/layouts/Grid/__tests__/__snapshots__/Grid.test.tsx.snap +12 -16
  779. package/src/layouts/Grid/__tests__/__snapshots__/GridItem.test.tsx.snap +143 -35
  780. package/src/layouts/Level/__tests__/Generated/Level.test.tsx +3 -3
  781. package/src/layouts/Level/__tests__/Generated/LevelItem.test.tsx +3 -3
  782. package/src/layouts/Level/__tests__/Generated/__snapshots__/Level.test.tsx.snap +6 -4
  783. package/src/layouts/Level/__tests__/Generated/__snapshots__/LevelItem.test.tsx.snap +3 -1
  784. package/src/layouts/Level/__tests__/Level.test.tsx +5 -5
  785. package/src/layouts/Level/__tests__/__snapshots__/Level.test.tsx.snap +8 -4
  786. package/src/layouts/Split/__tests__/Generated/Split.test.tsx +3 -3
  787. package/src/layouts/Split/__tests__/Generated/SplitItem.test.tsx +3 -3
  788. package/src/layouts/Split/__tests__/Generated/__snapshots__/Split.test.tsx.snap +6 -4
  789. package/src/layouts/Split/__tests__/Generated/__snapshots__/SplitItem.test.tsx.snap +6 -4
  790. package/src/layouts/Split/__tests__/Split.test.tsx +9 -9
  791. package/src/layouts/Split/__tests__/__snapshots__/Split.test.tsx.snap +97 -137
  792. package/src/layouts/Stack/__tests__/Generated/Stack.test.tsx +3 -3
  793. package/src/layouts/Stack/__tests__/Generated/StackItem.test.tsx +3 -3
  794. package/src/layouts/Stack/__tests__/Generated/__snapshots__/Stack.test.tsx.snap +6 -4
  795. package/src/layouts/Stack/__tests__/Generated/__snapshots__/StackItem.test.tsx.snap +6 -4
  796. package/src/layouts/Stack/__tests__/Stack.test.tsx +7 -7
  797. package/src/layouts/Stack/__tests__/__snapshots__/Stack.test.tsx.snap +23 -33
@@ -2,13 +2,13 @@
2
2
  * This test was generated
3
3
  */
4
4
  import * as React from 'react';
5
- import { shallow } from 'enzyme';
5
+ import { render } from '@testing-library/react';
6
6
  import { TextArea } from '../../TextArea';
7
7
  // any missing imports can usually be resolved by adding them here
8
8
  import {} from '../..';
9
9
 
10
10
  it('TextArea should match snapshot (auto-generated)', () => {
11
- const view = shallow(
11
+ const view = render(
12
12
  <TextArea
13
13
  className={"''"}
14
14
  isRequired={false}
@@ -19,5 +19,5 @@ it('TextArea should match snapshot (auto-generated)', () => {
19
19
  aria-label={'null'}
20
20
  />
21
21
  );
22
- expect(view).toMatchSnapshot();
22
+ expect(view.container).toMatchSnapshot();
23
23
  });
@@ -1,15 +1,13 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`TextArea should match snapshot (auto-generated) 1`] = `
4
- <TextArea
5
- aria-label="null"
6
- className="''"
7
- innerRef={null}
8
- isDisabled={false}
9
- isRequired={false}
10
- onChange={[Function]}
11
- resizeOrientation="both"
12
- validated="default"
13
- value="string"
14
- />
4
+ <div>
5
+ <textarea
6
+ aria-invalid="false"
7
+ aria-label="null"
8
+ class="pf-c-form-control ''"
9
+ >
10
+ string
11
+ </textarea>
12
+ </div>
15
13
  `;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { render } from '@testing-library/react';
2
3
  import { mount, shallow } from 'enzyme';
3
4
  import { TextArea, TextAreaBase } from '../TextArea';
4
5
  import { ValidatedOptions } from '../../../helpers/constants';
@@ -19,33 +20,33 @@ test('textarea input passes value and event to onChange handler', () => {
19
20
  });
20
21
 
21
22
  test('simple text input', () => {
22
- const view = mount(<TextArea {...props} aria-label="simple textarea" />);
23
- expect(view).toMatchSnapshot();
23
+ const view = render(<TextArea {...props} aria-label="simple textarea" />);
24
+ expect(view.container).toMatchSnapshot();
24
25
  });
25
26
 
26
27
  test('disabled text input using isDisabled', () => {
27
- const view = mount(<TextArea {...props} aria-label="is disabled textarea" isDisabled />);
28
- expect(view).toMatchSnapshot();
28
+ const view = render(<TextArea {...props} aria-label="is disabled textarea" isDisabled />);
29
+ expect(view.container).toMatchSnapshot();
29
30
  });
30
31
 
31
32
  test('disabled text input using disabled', () => {
32
- const view = mount(<TextArea {...props} aria-label="disabled textarea" disabled />);
33
- expect(view).toMatchSnapshot();
33
+ const view = render(<TextArea {...props} aria-label="disabled textarea" disabled />);
34
+ expect(view.container).toMatchSnapshot();
34
35
  });
35
36
 
36
37
  test('read only text input using isReadOnly', () => {
37
- const view = mount(<TextArea {...props} aria-label="is read only textarea" isReadOnly />);
38
- expect(view).toMatchSnapshot();
38
+ const view = render(<TextArea {...props} aria-label="is read only textarea" isReadOnly />);
39
+ expect(view.container).toMatchSnapshot();
39
40
  });
40
41
 
41
42
  test('read only text input using readOnly', () => {
42
- const view = mount(<TextArea {...props} aria-label="read only textarea" readOnly />);
43
- expect(view).toMatchSnapshot();
43
+ const view = render(<TextArea {...props} aria-label="read only textarea" readOnly />);
44
+ expect(view.container).toMatchSnapshot();
44
45
  });
45
46
 
46
47
  test('invalid text area', () => {
47
- const view = mount(<TextArea {...props} required validated={'error'} aria-label="invalid textarea" />);
48
- expect(view).toMatchSnapshot();
48
+ const view = render(<TextArea {...props} required validated={'error'} aria-label="invalid textarea" />);
49
+ expect(view.container).toMatchSnapshot();
49
50
  });
50
51
 
51
52
  test('validated text area success', () => {
@@ -65,19 +66,19 @@ test('validated text area warning', () => {
65
66
  });
66
67
 
67
68
  test('validated text area error', () => {
68
- const view = mount(
69
+ const view = render(
69
70
  <TextArea {...props} required validated={ValidatedOptions.error} aria-label="validated textarea" />
70
71
  );
71
- expect(view).toMatchSnapshot();
72
+ expect(view.container).toMatchSnapshot();
72
73
  });
73
74
 
74
75
  test('vertically resizable text area', () => {
75
- const view = mount(<TextArea resizeOrientation="vertical" {...props} aria-label="vertical resize textarea" />);
76
- expect(view).toMatchSnapshot();
76
+ const view = render(<TextArea resizeOrientation="vertical" {...props} aria-label="vertical resize textarea" />);
77
+ expect(view.container).toMatchSnapshot();
77
78
  });
78
79
 
79
80
  test('horizontally resizable text area', () => {
80
- const view = mount(
81
+ const view = render(
81
82
  <TextArea
82
83
  resizeOrientation="horizontal"
83
84
  {...props}
@@ -86,7 +87,7 @@ test('horizontally resizable text area', () => {
86
87
  aria-label="horizontal resize textarea"
87
88
  />
88
89
  );
89
- expect(view).toMatchSnapshot();
90
+ expect(view.container).toMatchSnapshot();
90
91
  });
91
92
 
92
93
  test('should throw console error when no aria-label or id is given', () => {
@@ -1,256 +1,106 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`disabled text input using disabled 1`] = `
4
- <TextArea
5
- aria-label="disabled textarea"
6
- disabled={true}
7
- onChange={[MockFunction]}
8
- value="test textarea"
9
- >
10
- <TextArea
4
+ <div>
5
+ <textarea
6
+ aria-invalid="false"
11
7
  aria-label="disabled textarea"
12
- className=""
13
- disabled={true}
14
- innerRef={null}
15
- isDisabled={false}
16
- isRequired={false}
17
- onChange={[MockFunction]}
18
- resizeOrientation="both"
19
- validated="default"
20
- value="test textarea"
8
+ class="pf-c-form-control"
9
+ disabled=""
21
10
  >
22
- <textarea
23
- aria-invalid={false}
24
- aria-label="disabled textarea"
25
- className="pf-c-form-control"
26
- disabled={true}
27
- onChange={[Function]}
28
- required={false}
29
- value="test textarea"
30
- />
31
- </TextArea>
32
- </TextArea>
11
+ test textarea
12
+ </textarea>
13
+ </div>
33
14
  `;
34
15
 
35
16
  exports[`disabled text input using isDisabled 1`] = `
36
- <TextArea
37
- aria-label="is disabled textarea"
38
- isDisabled={true}
39
- onChange={[MockFunction]}
40
- value="test textarea"
41
- >
42
- <TextArea
17
+ <div>
18
+ <textarea
19
+ aria-invalid="false"
43
20
  aria-label="is disabled textarea"
44
- className=""
45
- innerRef={null}
46
- isDisabled={true}
47
- isRequired={false}
48
- onChange={[MockFunction]}
49
- resizeOrientation="both"
50
- validated="default"
51
- value="test textarea"
21
+ class="pf-c-form-control"
22
+ disabled=""
52
23
  >
53
- <textarea
54
- aria-invalid={false}
55
- aria-label="is disabled textarea"
56
- className="pf-c-form-control"
57
- disabled={true}
58
- onChange={[Function]}
59
- required={false}
60
- value="test textarea"
61
- />
62
- </TextArea>
63
- </TextArea>
24
+ test textarea
25
+ </textarea>
26
+ </div>
64
27
  `;
65
28
 
66
29
  exports[`horizontally resizable text area 1`] = `
67
- <TextArea
68
- aria-label="horizontal resize textarea"
69
- onChange={[MockFunction]}
70
- required={true}
71
- resizeOrientation="horizontal"
72
- validated="error"
73
- value="test textarea"
74
- >
75
- <TextArea
30
+ <div>
31
+ <textarea
32
+ aria-invalid="true"
76
33
  aria-label="horizontal resize textarea"
77
- className=""
78
- innerRef={null}
79
- isDisabled={false}
80
- isRequired={false}
81
- onChange={[MockFunction]}
82
- required={true}
83
- resizeOrientation="horizontal"
84
- validated="error"
85
- value="test textarea"
34
+ class="pf-c-form-control pf-m-resize-horizontal"
35
+ required=""
86
36
  >
87
- <textarea
88
- aria-invalid={true}
89
- aria-label="horizontal resize textarea"
90
- className="pf-c-form-control pf-m-resize-horizontal"
91
- onChange={[Function]}
92
- required={true}
93
- value="test textarea"
94
- />
95
- </TextArea>
96
- </TextArea>
37
+ test textarea
38
+ </textarea>
39
+ </div>
97
40
  `;
98
41
 
99
42
  exports[`invalid text area 1`] = `
100
- <TextArea
101
- aria-label="invalid textarea"
102
- onChange={[MockFunction]}
103
- required={true}
104
- validated="error"
105
- value="test textarea"
106
- >
107
- <TextArea
43
+ <div>
44
+ <textarea
45
+ aria-invalid="true"
108
46
  aria-label="invalid textarea"
109
- className=""
110
- innerRef={null}
111
- isDisabled={false}
112
- isRequired={false}
113
- onChange={[MockFunction]}
114
- required={true}
115
- resizeOrientation="both"
116
- validated="error"
117
- value="test textarea"
47
+ class="pf-c-form-control"
48
+ required=""
118
49
  >
119
- <textarea
120
- aria-invalid={true}
121
- aria-label="invalid textarea"
122
- className="pf-c-form-control"
123
- onChange={[Function]}
124
- required={true}
125
- value="test textarea"
126
- />
127
- </TextArea>
128
- </TextArea>
50
+ test textarea
51
+ </textarea>
52
+ </div>
129
53
  `;
130
54
 
131
55
  exports[`read only text input using isReadOnly 1`] = `
132
- <TextArea
133
- aria-label="is read only textarea"
134
- isReadOnly={true}
135
- onChange={[MockFunction]}
136
- value="test textarea"
137
- >
138
- <TextArea
56
+ <div>
57
+ <textarea
58
+ aria-invalid="false"
139
59
  aria-label="is read only textarea"
140
- className=""
141
- innerRef={null}
142
- isDisabled={false}
143
- isReadOnly={true}
144
- isRequired={false}
145
- onChange={[MockFunction]}
146
- resizeOrientation="both"
147
- validated="default"
148
- value="test textarea"
60
+ class="pf-c-form-control"
61
+ readonly=""
149
62
  >
150
- <textarea
151
- aria-invalid={false}
152
- aria-label="is read only textarea"
153
- className="pf-c-form-control"
154
- onChange={[Function]}
155
- readOnly={true}
156
- required={false}
157
- value="test textarea"
158
- />
159
- </TextArea>
160
- </TextArea>
63
+ test textarea
64
+ </textarea>
65
+ </div>
161
66
  `;
162
67
 
163
68
  exports[`read only text input using readOnly 1`] = `
164
- <TextArea
165
- aria-label="read only textarea"
166
- onChange={[MockFunction]}
167
- readOnly={true}
168
- value="test textarea"
169
- >
170
- <TextArea
69
+ <div>
70
+ <textarea
71
+ aria-invalid="false"
171
72
  aria-label="read only textarea"
172
- className=""
173
- innerRef={null}
174
- isDisabled={false}
175
- isRequired={false}
176
- onChange={[MockFunction]}
177
- readOnly={true}
178
- resizeOrientation="both"
179
- validated="default"
180
- value="test textarea"
73
+ class="pf-c-form-control"
74
+ readonly=""
181
75
  >
182
- <textarea
183
- aria-invalid={false}
184
- aria-label="read only textarea"
185
- className="pf-c-form-control"
186
- onChange={[Function]}
187
- readOnly={true}
188
- required={false}
189
- value="test textarea"
190
- />
191
- </TextArea>
192
- </TextArea>
76
+ test textarea
77
+ </textarea>
78
+ </div>
193
79
  `;
194
80
 
195
81
  exports[`simple text input 1`] = `
196
- <TextArea
197
- aria-label="simple textarea"
198
- onChange={[MockFunction]}
199
- value="test textarea"
200
- >
201
- <TextArea
82
+ <div>
83
+ <textarea
84
+ aria-invalid="false"
202
85
  aria-label="simple textarea"
203
- className=""
204
- innerRef={null}
205
- isDisabled={false}
206
- isRequired={false}
207
- onChange={[MockFunction]}
208
- resizeOrientation="both"
209
- validated="default"
210
- value="test textarea"
86
+ class="pf-c-form-control"
211
87
  >
212
- <textarea
213
- aria-invalid={false}
214
- aria-label="simple textarea"
215
- className="pf-c-form-control"
216
- onChange={[Function]}
217
- required={false}
218
- value="test textarea"
219
- />
220
- </TextArea>
221
- </TextArea>
88
+ test textarea
89
+ </textarea>
90
+ </div>
222
91
  `;
223
92
 
224
93
  exports[`validated text area error 1`] = `
225
- <TextArea
226
- aria-label="validated textarea"
227
- onChange={[MockFunction]}
228
- required={true}
229
- validated="error"
230
- value="test textarea"
231
- >
232
- <TextArea
94
+ <div>
95
+ <textarea
96
+ aria-invalid="true"
233
97
  aria-label="validated textarea"
234
- className=""
235
- innerRef={null}
236
- isDisabled={false}
237
- isRequired={false}
238
- onChange={[MockFunction]}
239
- required={true}
240
- resizeOrientation="both"
241
- validated="error"
242
- value="test textarea"
98
+ class="pf-c-form-control"
99
+ required=""
243
100
  >
244
- <textarea
245
- aria-invalid={true}
246
- aria-label="validated textarea"
247
- className="pf-c-form-control"
248
- onChange={[Function]}
249
- required={true}
250
- value="test textarea"
251
- />
252
- </TextArea>
253
- </TextArea>
101
+ test textarea
102
+ </textarea>
103
+ </div>
254
104
  `;
255
105
 
256
106
  exports[`validated text area success 1`] = `
@@ -318,31 +168,13 @@ exports[`validated text area warning 1`] = `
318
168
  `;
319
169
 
320
170
  exports[`vertically resizable text area 1`] = `
321
- <TextArea
322
- aria-label="vertical resize textarea"
323
- onChange={[MockFunction]}
324
- resizeOrientation="vertical"
325
- value="test textarea"
326
- >
327
- <TextArea
171
+ <div>
172
+ <textarea
173
+ aria-invalid="false"
328
174
  aria-label="vertical resize textarea"
329
- className=""
330
- innerRef={null}
331
- isDisabled={false}
332
- isRequired={false}
333
- onChange={[MockFunction]}
334
- resizeOrientation="vertical"
335
- validated="default"
336
- value="test textarea"
175
+ class="pf-c-form-control pf-m-resize-vertical"
337
176
  >
338
- <textarea
339
- aria-invalid={false}
340
- aria-label="vertical resize textarea"
341
- className="pf-c-form-control pf-m-resize-vertical"
342
- onChange={[Function]}
343
- required={false}
344
- value="test textarea"
345
- />
346
- </TextArea>
347
- </TextArea>
177
+ test textarea
178
+ </textarea>
179
+ </div>
348
180
  `;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { render } from '@testing-library/react';
2
3
  import { mount, shallow } from 'enzyme';
3
4
  import { TextInput, TextInputBase } from '../TextInput';
4
5
  import { ValidatedOptions } from '../../../helpers/constants';
@@ -19,23 +20,23 @@ test('input passes value and event to onChange handler', () => {
19
20
  });
20
21
 
21
22
  test('simple text input', () => {
22
- const view = mount(<TextInput {...props} aria-label="simple text input" />);
23
- expect(view.find('input')).toMatchSnapshot();
23
+ const view = render(<TextInput {...props} aria-label="simple text input" />);
24
+ expect(view.container).toMatchSnapshot();
24
25
  });
25
26
 
26
27
  test('disabled text input', () => {
27
- const view = mount(<TextInput isDisabled aria-label="disabled text input" />);
28
- expect(view.find('input')).toMatchSnapshot();
28
+ const view = render(<TextInput isDisabled aria-label="disabled text input" />);
29
+ expect(view.container).toMatchSnapshot();
29
30
  });
30
31
 
31
32
  test('readonly text input', () => {
32
- const view = mount(<TextInput isReadOnly value="read only" aria-label="readonly text input" />);
33
- expect(view.find('input')).toMatchSnapshot();
33
+ const view = render(<TextInput isReadOnly value="read only" aria-label="readonly text input" />);
34
+ expect(view.container).toMatchSnapshot();
34
35
  });
35
36
 
36
37
  test('invalid text input', () => {
37
- const view = mount(<TextInput {...props} required validated={'error'} aria-label="invalid text input" />);
38
- expect(view.find('input')).toMatchSnapshot();
38
+ const view = render(<TextInput {...props} required validated={'error'} aria-label="invalid text input" />);
39
+ expect(view.container).toMatchSnapshot();
39
40
  });
40
41
 
41
42
  test('validated text input success', () => {
@@ -56,36 +57,36 @@ test('validated text input success', () => {
56
57
 
57
58
 
58
59
  test('validated text input', () => {
59
- const view = shallow(
60
+ const view = render(
60
61
  <TextInput {...props} required validated={ValidatedOptions.error} aria-label="validated text input" />
61
62
  );
62
- expect(view).toMatchSnapshot();
63
+ expect(view.container).toMatchSnapshot();
63
64
  });
64
65
 
65
66
  test('should throw console error when no aria-label, id or aria-labelledby is given', () => {
66
67
  const myMock = jest.fn();
67
68
  global.console = { ...global.console, error: myMock };
68
- mount(<TextInput {...props} />);
69
+ render(<TextInput {...props} />);
69
70
  expect(myMock).toBeCalled();
70
71
  });
71
72
 
72
73
  test('should not throw console error when id is given but no aria-label or aria-labelledby', () => {
73
74
  const myMock = jest.fn();
74
75
  global.console = { ...global.console, error: myMock };
75
- mount(<TextInput {...props} id="5" />);
76
+ render(<TextInput {...props} id="5" />);
76
77
  expect(myMock).not.toBeCalled();
77
78
  });
78
79
 
79
80
  test('should not throw console error when aria-label is given but no id or aria-labelledby', () => {
80
81
  const myMock = jest.fn();
81
82
  global.console = { ...global.console, error: myMock };
82
- mount(<TextInput {...props} aria-label="test input" />);
83
+ render(<TextInput {...props} aria-label="test input" />);
83
84
  expect(myMock).not.toBeCalled();
84
85
  });
85
86
 
86
87
  test('should not throw console error when aria-labelledby is given but no id or aria-label', () => {
87
88
  const myMock = jest.fn();
88
89
  global.console = { ...global.console, error: myMock };
89
- mount(<TextInput {...props} aria-labelledby="test input" />);
90
+ render(<TextInput {...props} aria-labelledby="test input" />);
90
91
  expect(myMock).not.toBeCalled();
91
92
  });