@patternfly/react-core 5.0.0-alpha.70 → 5.0.0-alpha.72

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 (715) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/components/index.d.ts +0 -1
  3. package/components/index.d.ts.map +1 -1
  4. package/components/index.js +0 -1
  5. package/components/index.js.map +1 -1
  6. package/dist/esm/components/AboutModal/package.json +1 -1
  7. package/dist/esm/components/Accordion/package.json +1 -1
  8. package/dist/esm/components/ActionList/package.json +1 -1
  9. package/dist/esm/components/Alert/AlertGroup.d.ts.map +1 -0
  10. package/dist/esm/components/Alert/AlertGroup.js.map +1 -0
  11. package/dist/esm/components/Alert/AlertGroupInline.d.ts.map +1 -0
  12. package/dist/esm/components/Alert/AlertGroupInline.js.map +1 -0
  13. package/dist/esm/components/Alert/index.d.ts +1 -0
  14. package/dist/esm/components/Alert/index.d.ts.map +1 -1
  15. package/dist/esm/components/Alert/index.js +1 -0
  16. package/dist/esm/components/Alert/index.js.map +1 -1
  17. package/dist/esm/components/Alert/package.json +1 -1
  18. package/dist/esm/components/Avatar/package.json +1 -1
  19. package/dist/esm/components/BackToTop/package.json +1 -1
  20. package/dist/esm/components/Backdrop/package.json +1 -1
  21. package/dist/esm/components/BackgroundImage/package.json +1 -1
  22. package/dist/esm/components/Badge/package.json +1 -1
  23. package/dist/esm/components/Banner/package.json +1 -1
  24. package/dist/esm/components/Brand/package.json +1 -1
  25. package/dist/esm/components/Breadcrumb/package.json +1 -1
  26. package/dist/esm/components/Button/package.json +1 -1
  27. package/dist/esm/components/CalendarMonth/package.json +1 -1
  28. package/dist/esm/components/Card/package.json +1 -1
  29. package/dist/esm/components/Checkbox/package.json +1 -1
  30. package/dist/esm/components/Chip/package.json +1 -1
  31. package/dist/esm/components/ChipGroup/package.json +1 -1
  32. package/dist/esm/components/ClipboardCopy/package.json +1 -1
  33. package/dist/esm/components/CodeBlock/package.json +1 -1
  34. package/dist/esm/components/DataList/package.json +1 -1
  35. package/dist/esm/components/DatePicker/package.json +1 -1
  36. package/dist/esm/components/DescriptionList/package.json +1 -1
  37. package/dist/esm/components/Divider/package.json +1 -1
  38. package/dist/esm/components/DragDrop/package.json +1 -1
  39. package/dist/esm/components/Drawer/package.json +1 -1
  40. package/dist/esm/components/Dropdown/package.json +1 -1
  41. package/dist/esm/components/DualListSelector/package.json +1 -1
  42. package/dist/esm/components/EmptyState/package.json +1 -1
  43. package/dist/esm/components/ExpandableSection/package.json +1 -1
  44. package/dist/esm/components/FileUpload/package.json +1 -1
  45. package/dist/esm/components/Form/package.json +1 -1
  46. package/dist/esm/components/FormSelect/package.json +1 -1
  47. package/dist/esm/components/HelperText/package.json +1 -1
  48. package/dist/esm/components/Hint/package.json +1 -1
  49. package/dist/esm/components/Icon/package.json +1 -1
  50. package/dist/esm/components/InputGroup/package.json +1 -1
  51. package/dist/esm/components/JumpLinks/package.json +1 -1
  52. package/dist/esm/components/Label/package.json +1 -1
  53. package/dist/esm/components/LabelGroup/package.json +1 -1
  54. package/dist/esm/components/List/package.json +1 -1
  55. package/dist/esm/components/LoginPage/package.json +1 -1
  56. package/dist/esm/components/Masthead/package.json +1 -1
  57. package/dist/esm/components/Menu/package.json +1 -1
  58. package/dist/esm/components/MenuToggle/package.json +1 -1
  59. package/dist/esm/components/Modal/package.json +1 -1
  60. package/dist/esm/components/MultipleFileUpload/package.json +1 -1
  61. package/dist/esm/components/Nav/package.json +1 -1
  62. package/dist/esm/components/NotificationBadge/package.json +1 -1
  63. package/dist/esm/components/NotificationDrawer/package.json +1 -1
  64. package/dist/esm/components/NumberInput/package.json +1 -1
  65. package/dist/esm/components/OverflowMenu/package.json +1 -1
  66. package/dist/esm/components/Page/package.json +1 -1
  67. package/dist/esm/components/Pagination/package.json +1 -1
  68. package/dist/esm/components/Panel/package.json +1 -1
  69. package/dist/esm/components/Popover/package.json +1 -1
  70. package/dist/esm/components/Progress/package.json +1 -1
  71. package/dist/esm/components/ProgressStepper/package.json +1 -1
  72. package/dist/esm/components/Radio/package.json +1 -1
  73. package/dist/esm/components/SearchInput/package.json +1 -1
  74. package/dist/esm/components/Select/package.json +1 -1
  75. package/dist/esm/components/Sidebar/package.json +1 -1
  76. package/dist/esm/components/SimpleList/package.json +1 -1
  77. package/dist/esm/components/Skeleton/package.json +1 -1
  78. package/dist/esm/components/SkipToContent/package.json +1 -1
  79. package/dist/esm/components/Slider/package.json +1 -1
  80. package/dist/esm/components/Spinner/package.json +1 -1
  81. package/dist/esm/components/Switch/package.json +1 -1
  82. package/dist/esm/components/Tabs/package.json +1 -1
  83. package/dist/esm/components/Text/package.json +1 -1
  84. package/dist/esm/components/TextArea/package.json +1 -1
  85. package/dist/esm/components/TextInput/package.json +1 -1
  86. package/dist/esm/components/TextInputGroup/package.json +1 -1
  87. package/dist/esm/components/Tile/package.json +1 -1
  88. package/dist/esm/components/TimePicker/package.json +1 -1
  89. package/dist/esm/components/Timestamp/package.json +1 -1
  90. package/dist/esm/components/Title/package.json +1 -1
  91. package/dist/esm/components/ToggleGroup/package.json +1 -1
  92. package/dist/esm/components/Toolbar/package.json +1 -1
  93. package/dist/esm/components/Tooltip/package.json +1 -1
  94. package/dist/esm/components/TreeView/package.json +1 -1
  95. package/dist/esm/components/Truncate/package.json +1 -1
  96. package/dist/esm/components/Wizard/Wizard.d.ts +31 -134
  97. package/dist/esm/components/Wizard/Wizard.d.ts.map +1 -1
  98. package/dist/esm/components/Wizard/Wizard.js +77 -303
  99. package/dist/esm/components/Wizard/Wizard.js.map +1 -1
  100. package/dist/esm/components/Wizard/WizardBody.d.ts +17 -19
  101. package/dist/esm/components/Wizard/WizardBody.d.ts.map +1 -1
  102. package/dist/esm/components/Wizard/WizardBody.js +15 -16
  103. package/dist/esm/components/Wizard/WizardBody.js.map +1 -1
  104. package/dist/esm/components/Wizard/WizardContext.d.ts +43 -12
  105. package/dist/esm/components/Wizard/WizardContext.d.ts.map +1 -1
  106. package/dist/esm/components/Wizard/WizardContext.js +50 -11
  107. package/dist/esm/components/Wizard/WizardContext.js.map +1 -1
  108. package/dist/esm/components/Wizard/WizardFooter.d.ts +42 -4
  109. package/dist/esm/components/Wizard/WizardFooter.d.ts.map +1 -1
  110. package/dist/esm/components/Wizard/WizardFooter.js +16 -2
  111. package/dist/esm/components/Wizard/WizardFooter.js.map +1 -1
  112. package/dist/esm/components/Wizard/WizardHeader.d.ts +2 -2
  113. package/dist/esm/components/Wizard/WizardHeader.d.ts.map +1 -1
  114. package/dist/esm/components/Wizard/WizardHeader.js +2 -2
  115. package/dist/esm/components/Wizard/WizardHeader.js.map +1 -1
  116. package/dist/esm/components/Wizard/WizardNav.d.ts +7 -8
  117. package/dist/esm/components/Wizard/WizardNav.d.ts.map +1 -1
  118. package/dist/esm/components/Wizard/WizardNav.js +4 -7
  119. package/dist/esm/components/Wizard/WizardNav.js.map +1 -1
  120. package/dist/esm/components/Wizard/WizardNavInternal.d.ts.map +1 -0
  121. package/dist/esm/components/Wizard/WizardNavInternal.js.map +1 -0
  122. package/dist/esm/components/Wizard/WizardNavItem.d.ts +19 -10
  123. package/dist/esm/components/Wizard/WizardNavItem.d.ts.map +1 -1
  124. package/dist/esm/components/Wizard/WizardNavItem.js +28 -16
  125. package/dist/esm/components/Wizard/WizardNavItem.js.map +1 -1
  126. package/dist/esm/components/Wizard/WizardStep.d.ts.map +1 -0
  127. package/dist/esm/components/Wizard/WizardStep.js.map +1 -0
  128. package/dist/esm/components/Wizard/WizardToggle.d.ts +23 -34
  129. package/dist/esm/components/Wizard/WizardToggle.d.ts.map +1 -1
  130. package/dist/esm/components/Wizard/WizardToggle.js +41 -32
  131. package/dist/esm/components/Wizard/WizardToggle.js.map +1 -1
  132. package/dist/esm/components/Wizard/hooks/index.d.ts.map +1 -0
  133. package/dist/esm/components/Wizard/hooks/index.js.map +1 -0
  134. package/dist/esm/components/Wizard/hooks/package.json +1 -0
  135. package/dist/esm/components/Wizard/hooks/useWizardFooter.d.ts.map +1 -0
  136. package/dist/esm/components/Wizard/hooks/useWizardFooter.js.map +1 -0
  137. package/dist/esm/components/Wizard/index.d.ts +7 -4
  138. package/dist/esm/components/Wizard/index.d.ts.map +1 -1
  139. package/dist/esm/components/Wizard/index.js +7 -4
  140. package/dist/esm/components/Wizard/index.js.map +1 -1
  141. package/dist/esm/components/Wizard/package.json +1 -1
  142. package/dist/esm/{next/components → components}/Wizard/types.d.ts +1 -1
  143. package/dist/esm/components/Wizard/types.d.ts.map +1 -0
  144. package/dist/esm/components/Wizard/types.js.map +1 -0
  145. package/dist/esm/components/Wizard/utils.d.ts.map +1 -0
  146. package/dist/esm/components/Wizard/utils.js.map +1 -0
  147. package/dist/esm/components/index.d.ts +0 -1
  148. package/dist/esm/components/index.d.ts.map +1 -1
  149. package/dist/esm/components/index.js +0 -1
  150. package/dist/esm/components/index.js.map +1 -1
  151. package/dist/esm/components/package.json +1 -1
  152. package/dist/esm/deprecated/components/ApplicationLauncher/package.json +1 -1
  153. package/dist/esm/deprecated/components/ContextSelector/package.json +1 -1
  154. package/dist/esm/deprecated/components/Dropdown/package.json +1 -1
  155. package/dist/esm/deprecated/components/OptionsMenu/package.json +1 -1
  156. package/dist/esm/deprecated/components/PageHeader/package.json +1 -1
  157. package/dist/esm/deprecated/components/Select/package.json +1 -1
  158. package/dist/esm/deprecated/components/Wizard/Wizard.d.ts +142 -0
  159. package/dist/esm/deprecated/components/Wizard/Wizard.d.ts.map +1 -0
  160. package/dist/esm/deprecated/components/Wizard/Wizard.js +315 -0
  161. package/dist/esm/deprecated/components/Wizard/Wizard.js.map +1 -0
  162. package/dist/esm/deprecated/components/Wizard/WizardBody.d.ts +27 -0
  163. package/dist/esm/deprecated/components/Wizard/WizardBody.d.ts.map +1 -0
  164. package/dist/esm/deprecated/components/Wizard/WizardBody.js +41 -0
  165. package/dist/esm/deprecated/components/Wizard/WizardBody.js.map +1 -0
  166. package/dist/esm/deprecated/components/Wizard/WizardContext.d.ts +14 -0
  167. package/dist/esm/deprecated/components/Wizard/WizardContext.d.ts.map +1 -0
  168. package/dist/esm/deprecated/components/Wizard/WizardContext.js +12 -0
  169. package/dist/esm/deprecated/components/Wizard/WizardContext.js.map +1 -0
  170. package/dist/esm/deprecated/components/Wizard/WizardDrawerWrapper.d.ts.map +1 -0
  171. package/dist/esm/deprecated/components/Wizard/WizardDrawerWrapper.js.map +1 -0
  172. package/dist/esm/deprecated/components/Wizard/WizardFooter.d.ts +7 -0
  173. package/dist/esm/deprecated/components/Wizard/WizardFooter.d.ts.map +1 -0
  174. package/dist/esm/deprecated/components/Wizard/WizardFooter.js +6 -0
  175. package/dist/esm/deprecated/components/Wizard/WizardFooter.js.map +1 -0
  176. package/dist/esm/deprecated/components/Wizard/WizardFooterInternal.d.ts.map +1 -0
  177. package/dist/esm/{components → deprecated/components}/Wizard/WizardFooterInternal.js +1 -1
  178. package/dist/esm/deprecated/components/Wizard/WizardFooterInternal.js.map +1 -0
  179. package/dist/{js/next → esm/deprecated}/components/Wizard/WizardHeader.d.ts +2 -2
  180. package/dist/esm/deprecated/components/Wizard/WizardHeader.d.ts.map +1 -0
  181. package/dist/esm/{next → deprecated}/components/Wizard/WizardHeader.js +2 -2
  182. package/dist/esm/deprecated/components/Wizard/WizardHeader.js.map +1 -0
  183. package/dist/esm/deprecated/components/Wizard/WizardNav.d.ts +16 -0
  184. package/dist/esm/deprecated/components/Wizard/WizardNav.d.ts.map +1 -0
  185. package/dist/esm/deprecated/components/Wizard/WizardNav.js +15 -0
  186. package/dist/esm/deprecated/components/Wizard/WizardNav.js.map +1 -0
  187. package/dist/esm/deprecated/components/Wizard/WizardNavItem.d.ts +26 -0
  188. package/dist/esm/deprecated/components/Wizard/WizardNavItem.d.ts.map +1 -0
  189. package/dist/esm/deprecated/components/Wizard/WizardNavItem.js +36 -0
  190. package/dist/esm/deprecated/components/Wizard/WizardNavItem.js.map +1 -0
  191. package/dist/esm/deprecated/components/Wizard/WizardToggle.d.ts +38 -0
  192. package/dist/esm/deprecated/components/Wizard/WizardToggle.d.ts.map +1 -0
  193. package/dist/esm/deprecated/components/Wizard/WizardToggle.js +48 -0
  194. package/dist/esm/deprecated/components/Wizard/WizardToggle.js.map +1 -0
  195. package/dist/{js/next → esm/deprecated}/components/Wizard/index.d.ts +4 -7
  196. package/dist/esm/deprecated/components/Wizard/index.d.ts.map +1 -0
  197. package/dist/esm/{next → deprecated}/components/Wizard/index.js +4 -7
  198. package/dist/esm/deprecated/components/Wizard/index.js.map +1 -0
  199. package/dist/esm/deprecated/components/Wizard/package.json +1 -0
  200. package/dist/esm/deprecated/components/index.d.ts +1 -0
  201. package/dist/esm/deprecated/components/index.d.ts.map +1 -1
  202. package/dist/esm/deprecated/components/index.js +1 -0
  203. package/dist/esm/deprecated/components/index.js.map +1 -1
  204. package/dist/esm/deprecated/components/package.json +1 -1
  205. package/dist/esm/deprecated/package.json +1 -1
  206. package/dist/esm/helpers/Popper/thirdparty/popper-core/package.json +1 -1
  207. package/dist/esm/helpers/package.json +1 -1
  208. package/dist/esm/layouts/Bullseye/package.json +1 -1
  209. package/dist/esm/layouts/Flex/package.json +1 -1
  210. package/dist/esm/layouts/Gallery/package.json +1 -1
  211. package/dist/esm/layouts/Grid/package.json +1 -1
  212. package/dist/esm/layouts/Level/package.json +1 -1
  213. package/dist/esm/layouts/Split/package.json +1 -1
  214. package/dist/esm/layouts/Stack/package.json +1 -1
  215. package/dist/esm/layouts/package.json +1 -1
  216. package/dist/esm/next/components/index.d.ts +1 -1
  217. package/dist/esm/next/components/index.d.ts.map +1 -1
  218. package/dist/esm/next/components/index.js +1 -1
  219. package/dist/esm/next/components/index.js.map +1 -1
  220. package/dist/esm/next/components/package.json +1 -1
  221. package/dist/esm/next/package.json +1 -1
  222. package/dist/esm/package.json +1 -1
  223. package/dist/js/components/AboutModal/package.json +1 -1
  224. package/dist/js/components/Accordion/package.json +1 -1
  225. package/dist/js/components/ActionList/package.json +1 -1
  226. package/dist/js/components/Alert/AlertGroup.d.ts.map +1 -0
  227. package/dist/js/components/Alert/AlertGroup.js.map +1 -0
  228. package/dist/js/components/Alert/AlertGroupInline.d.ts.map +1 -0
  229. package/dist/js/components/Alert/AlertGroupInline.js.map +1 -0
  230. package/dist/js/components/Alert/index.d.ts +1 -0
  231. package/dist/js/components/Alert/index.d.ts.map +1 -1
  232. package/dist/js/components/Alert/index.js +1 -0
  233. package/dist/js/components/Alert/index.js.map +1 -1
  234. package/dist/js/components/Alert/package.json +1 -1
  235. package/dist/js/components/Avatar/package.json +1 -1
  236. package/dist/js/components/BackToTop/package.json +1 -1
  237. package/dist/js/components/Backdrop/package.json +1 -1
  238. package/dist/js/components/BackgroundImage/package.json +1 -1
  239. package/dist/js/components/Badge/package.json +1 -1
  240. package/dist/js/components/Banner/package.json +1 -1
  241. package/dist/js/components/Brand/package.json +1 -1
  242. package/dist/js/components/Breadcrumb/package.json +1 -1
  243. package/dist/js/components/Button/package.json +1 -1
  244. package/dist/js/components/CalendarMonth/package.json +1 -1
  245. package/dist/js/components/Card/package.json +1 -1
  246. package/dist/js/components/Checkbox/package.json +1 -1
  247. package/dist/js/components/Chip/package.json +1 -1
  248. package/dist/js/components/ChipGroup/package.json +1 -1
  249. package/dist/js/components/ClipboardCopy/package.json +1 -1
  250. package/dist/js/components/CodeBlock/package.json +1 -1
  251. package/dist/js/components/DataList/package.json +1 -1
  252. package/dist/js/components/DatePicker/package.json +1 -1
  253. package/dist/js/components/DescriptionList/package.json +1 -1
  254. package/dist/js/components/Divider/package.json +1 -1
  255. package/dist/js/components/DragDrop/package.json +1 -1
  256. package/dist/js/components/Drawer/package.json +1 -1
  257. package/dist/js/components/Dropdown/package.json +1 -1
  258. package/dist/js/components/DualListSelector/package.json +1 -1
  259. package/dist/js/components/EmptyState/package.json +1 -1
  260. package/dist/js/components/ExpandableSection/package.json +1 -1
  261. package/dist/js/components/FileUpload/package.json +1 -1
  262. package/dist/js/components/Form/package.json +1 -1
  263. package/dist/js/components/FormSelect/package.json +1 -1
  264. package/dist/js/components/HelperText/package.json +1 -1
  265. package/dist/js/components/Hint/package.json +1 -1
  266. package/dist/js/components/Icon/package.json +1 -1
  267. package/dist/js/components/InputGroup/package.json +1 -1
  268. package/dist/js/components/JumpLinks/package.json +1 -1
  269. package/dist/js/components/Label/package.json +1 -1
  270. package/dist/js/components/LabelGroup/package.json +1 -1
  271. package/dist/js/components/List/package.json +1 -1
  272. package/dist/js/components/LoginPage/package.json +1 -1
  273. package/dist/js/components/Masthead/package.json +1 -1
  274. package/dist/js/components/Menu/package.json +1 -1
  275. package/dist/js/components/MenuToggle/package.json +1 -1
  276. package/dist/js/components/Modal/package.json +1 -1
  277. package/dist/js/components/MultipleFileUpload/package.json +1 -1
  278. package/dist/js/components/Nav/package.json +1 -1
  279. package/dist/js/components/NotificationBadge/package.json +1 -1
  280. package/dist/js/components/NotificationDrawer/package.json +1 -1
  281. package/dist/js/components/NumberInput/package.json +1 -1
  282. package/dist/js/components/OverflowMenu/package.json +1 -1
  283. package/dist/js/components/Page/package.json +1 -1
  284. package/dist/js/components/Pagination/package.json +1 -1
  285. package/dist/js/components/Panel/package.json +1 -1
  286. package/dist/js/components/Popover/package.json +1 -1
  287. package/dist/js/components/Progress/package.json +1 -1
  288. package/dist/js/components/ProgressStepper/package.json +1 -1
  289. package/dist/js/components/Radio/package.json +1 -1
  290. package/dist/js/components/SearchInput/package.json +1 -1
  291. package/dist/js/components/Select/package.json +1 -1
  292. package/dist/js/components/Sidebar/package.json +1 -1
  293. package/dist/js/components/SimpleList/package.json +1 -1
  294. package/dist/js/components/Skeleton/package.json +1 -1
  295. package/dist/js/components/SkipToContent/package.json +1 -1
  296. package/dist/js/components/Slider/package.json +1 -1
  297. package/dist/js/components/Spinner/package.json +1 -1
  298. package/dist/js/components/Switch/package.json +1 -1
  299. package/dist/js/components/Tabs/package.json +1 -1
  300. package/dist/js/components/Text/package.json +1 -1
  301. package/dist/js/components/TextArea/package.json +1 -1
  302. package/dist/js/components/TextInput/package.json +1 -1
  303. package/dist/js/components/TextInputGroup/package.json +1 -1
  304. package/dist/js/components/Tile/package.json +1 -1
  305. package/dist/js/components/TimePicker/package.json +1 -1
  306. package/dist/js/components/Timestamp/package.json +1 -1
  307. package/dist/js/components/Title/package.json +1 -1
  308. package/dist/js/components/ToggleGroup/package.json +1 -1
  309. package/dist/js/components/Toolbar/package.json +1 -1
  310. package/dist/js/components/Tooltip/package.json +1 -1
  311. package/dist/js/components/TreeView/package.json +1 -1
  312. package/dist/js/components/Truncate/package.json +1 -1
  313. package/dist/js/components/Wizard/Wizard.d.ts +31 -134
  314. package/dist/js/components/Wizard/Wizard.d.ts.map +1 -1
  315. package/dist/js/components/Wizard/Wizard.js +77 -303
  316. package/dist/js/components/Wizard/Wizard.js.map +1 -1
  317. package/dist/js/components/Wizard/WizardBody.d.ts +17 -19
  318. package/dist/js/components/Wizard/WizardBody.d.ts.map +1 -1
  319. package/dist/js/components/Wizard/WizardBody.js +18 -19
  320. package/dist/js/components/Wizard/WizardBody.js.map +1 -1
  321. package/dist/js/components/Wizard/WizardContext.d.ts +43 -12
  322. package/dist/js/components/Wizard/WizardContext.d.ts.map +1 -1
  323. package/dist/js/components/Wizard/WizardContext.js +53 -12
  324. package/dist/js/components/Wizard/WizardContext.js.map +1 -1
  325. package/dist/js/components/Wizard/WizardFooter.d.ts +42 -4
  326. package/dist/js/components/Wizard/WizardFooter.d.ts.map +1 -1
  327. package/dist/js/components/Wizard/WizardFooter.js +17 -3
  328. package/dist/js/components/Wizard/WizardFooter.js.map +1 -1
  329. package/dist/js/components/Wizard/WizardHeader.d.ts +2 -2
  330. package/dist/js/components/Wizard/WizardHeader.d.ts.map +1 -1
  331. package/dist/js/components/Wizard/WizardHeader.js +2 -2
  332. package/dist/js/components/Wizard/WizardHeader.js.map +1 -1
  333. package/dist/js/components/Wizard/WizardNav.d.ts +7 -8
  334. package/dist/js/components/Wizard/WizardNav.d.ts.map +1 -1
  335. package/dist/js/components/Wizard/WizardNav.js +4 -7
  336. package/dist/js/components/Wizard/WizardNav.js.map +1 -1
  337. package/dist/js/components/Wizard/WizardNavInternal.d.ts.map +1 -0
  338. package/dist/js/components/Wizard/WizardNavInternal.js.map +1 -0
  339. package/dist/js/components/Wizard/WizardNavItem.d.ts +19 -10
  340. package/dist/js/components/Wizard/WizardNavItem.d.ts.map +1 -1
  341. package/dist/js/components/Wizard/WizardNavItem.js +28 -15
  342. package/dist/js/components/Wizard/WizardNavItem.js.map +1 -1
  343. package/dist/js/components/Wizard/WizardStep.d.ts.map +1 -0
  344. package/dist/js/components/Wizard/WizardStep.js.map +1 -0
  345. package/dist/js/components/Wizard/WizardToggle.d.ts +23 -34
  346. package/dist/js/components/Wizard/WizardToggle.d.ts.map +1 -1
  347. package/dist/js/components/Wizard/WizardToggle.js +47 -39
  348. package/dist/js/components/Wizard/WizardToggle.js.map +1 -1
  349. package/dist/js/components/Wizard/hooks/index.d.ts.map +1 -0
  350. package/dist/js/components/Wizard/hooks/index.js.map +1 -0
  351. package/dist/js/components/Wizard/hooks/package.json +1 -0
  352. package/dist/js/components/Wizard/hooks/useWizardFooter.d.ts.map +1 -0
  353. package/dist/js/components/Wizard/hooks/useWizardFooter.js.map +1 -0
  354. package/dist/js/components/Wizard/index.d.ts +7 -4
  355. package/dist/js/components/Wizard/index.d.ts.map +1 -1
  356. package/dist/js/components/Wizard/index.js +11 -4
  357. package/dist/js/components/Wizard/index.js.map +1 -1
  358. package/dist/js/components/Wizard/package.json +1 -1
  359. package/dist/js/{next/components → components}/Wizard/types.d.ts +1 -1
  360. package/dist/js/components/Wizard/types.d.ts.map +1 -0
  361. package/dist/js/components/Wizard/types.js.map +1 -0
  362. package/dist/js/components/Wizard/utils.d.ts.map +1 -0
  363. package/dist/js/components/Wizard/utils.js.map +1 -0
  364. package/dist/js/components/index.d.ts +0 -1
  365. package/dist/js/components/index.d.ts.map +1 -1
  366. package/dist/js/components/index.js +0 -1
  367. package/dist/js/components/index.js.map +1 -1
  368. package/dist/js/components/package.json +1 -1
  369. package/dist/js/deprecated/components/ApplicationLauncher/package.json +1 -1
  370. package/dist/js/deprecated/components/ContextSelector/package.json +1 -1
  371. package/dist/js/deprecated/components/Dropdown/package.json +1 -1
  372. package/dist/js/deprecated/components/OptionsMenu/package.json +1 -1
  373. package/dist/js/deprecated/components/PageHeader/package.json +1 -1
  374. package/dist/js/deprecated/components/Select/package.json +1 -1
  375. package/dist/js/deprecated/components/Wizard/Wizard.d.ts +142 -0
  376. package/dist/js/deprecated/components/Wizard/Wizard.d.ts.map +1 -0
  377. package/dist/js/deprecated/components/Wizard/Wizard.js +319 -0
  378. package/dist/js/deprecated/components/Wizard/Wizard.js.map +1 -0
  379. package/dist/js/deprecated/components/Wizard/WizardBody.d.ts +27 -0
  380. package/dist/js/deprecated/components/Wizard/WizardBody.d.ts.map +1 -0
  381. package/dist/js/deprecated/components/Wizard/WizardBody.js +46 -0
  382. package/dist/js/deprecated/components/Wizard/WizardBody.js.map +1 -0
  383. package/dist/js/deprecated/components/Wizard/WizardContext.d.ts +14 -0
  384. package/dist/js/deprecated/components/Wizard/WizardContext.d.ts.map +1 -0
  385. package/dist/js/deprecated/components/Wizard/WizardContext.js +16 -0
  386. package/dist/js/deprecated/components/Wizard/WizardContext.js.map +1 -0
  387. package/dist/js/deprecated/components/Wizard/WizardDrawerWrapper.d.ts.map +1 -0
  388. package/dist/js/deprecated/components/Wizard/WizardDrawerWrapper.js.map +1 -0
  389. package/dist/js/deprecated/components/Wizard/WizardFooter.d.ts +7 -0
  390. package/dist/js/deprecated/components/Wizard/WizardFooter.d.ts.map +1 -0
  391. package/dist/js/deprecated/components/Wizard/WizardFooter.js +11 -0
  392. package/dist/js/deprecated/components/Wizard/WizardFooter.js.map +1 -0
  393. package/dist/js/deprecated/components/Wizard/WizardFooterInternal.d.ts.map +1 -0
  394. package/dist/js/{components → deprecated/components}/Wizard/WizardFooterInternal.js +1 -1
  395. package/dist/js/deprecated/components/Wizard/WizardFooterInternal.js.map +1 -0
  396. package/dist/{esm/next → js/deprecated}/components/Wizard/WizardHeader.d.ts +2 -2
  397. package/dist/js/deprecated/components/Wizard/WizardHeader.d.ts.map +1 -0
  398. package/dist/js/{next → deprecated}/components/Wizard/WizardHeader.js +2 -2
  399. package/dist/js/deprecated/components/Wizard/WizardHeader.js.map +1 -0
  400. package/dist/js/deprecated/components/Wizard/WizardNav.d.ts +16 -0
  401. package/dist/js/deprecated/components/Wizard/WizardNav.d.ts.map +1 -0
  402. package/dist/js/deprecated/components/Wizard/WizardNav.js +20 -0
  403. package/dist/js/deprecated/components/Wizard/WizardNav.js.map +1 -0
  404. package/dist/js/deprecated/components/Wizard/WizardNavItem.d.ts +26 -0
  405. package/dist/js/deprecated/components/Wizard/WizardNavItem.d.ts.map +1 -0
  406. package/dist/js/deprecated/components/Wizard/WizardNavItem.js +40 -0
  407. package/dist/js/deprecated/components/Wizard/WizardNavItem.js.map +1 -0
  408. package/dist/js/deprecated/components/Wizard/WizardToggle.d.ts +38 -0
  409. package/dist/js/deprecated/components/Wizard/WizardToggle.d.ts.map +1 -0
  410. package/dist/js/deprecated/components/Wizard/WizardToggle.js +53 -0
  411. package/dist/js/deprecated/components/Wizard/WizardToggle.js.map +1 -0
  412. package/dist/{esm/next → js/deprecated}/components/Wizard/index.d.ts +4 -7
  413. package/dist/js/deprecated/components/Wizard/index.d.ts.map +1 -0
  414. package/dist/js/deprecated/components/Wizard/index.js +12 -0
  415. package/dist/js/deprecated/components/Wizard/index.js.map +1 -0
  416. package/dist/js/deprecated/components/Wizard/package.json +1 -0
  417. package/dist/js/deprecated/components/index.d.ts +1 -0
  418. package/dist/js/deprecated/components/index.d.ts.map +1 -1
  419. package/dist/js/deprecated/components/index.js +1 -0
  420. package/dist/js/deprecated/components/index.js.map +1 -1
  421. package/dist/js/deprecated/components/package.json +1 -1
  422. package/dist/js/deprecated/package.json +1 -1
  423. package/dist/js/helpers/Popper/thirdparty/popper-core/package.json +1 -1
  424. package/dist/js/helpers/package.json +1 -1
  425. package/dist/js/layouts/Bullseye/package.json +1 -1
  426. package/dist/js/layouts/Flex/package.json +1 -1
  427. package/dist/js/layouts/Gallery/package.json +1 -1
  428. package/dist/js/layouts/Grid/package.json +1 -1
  429. package/dist/js/layouts/Level/package.json +1 -1
  430. package/dist/js/layouts/Split/package.json +1 -1
  431. package/dist/js/layouts/Stack/package.json +1 -1
  432. package/dist/js/layouts/package.json +1 -1
  433. package/dist/js/next/components/index.d.ts +1 -1
  434. package/dist/js/next/components/index.d.ts.map +1 -1
  435. package/dist/js/next/components/index.js +1 -1
  436. package/dist/js/next/components/index.js.map +1 -1
  437. package/dist/js/next/components/package.json +1 -1
  438. package/dist/js/next/package.json +1 -1
  439. package/dist/js/package.json +1 -1
  440. package/dist/umd/react-core.min.js +3 -3
  441. package/package.json +2 -2
  442. package/src/components/{AlertGroup → Alert}/__tests__/AlertGroup.test.tsx +1 -1
  443. package/src/components/Alert/examples/Alert.md +78 -3
  444. package/src/components/Alert/index.ts +1 -0
  445. package/src/components/Modal/examples/ModalWithWizard.tsx +27 -16
  446. package/src/components/Wizard/Wizard.tsx +183 -560
  447. package/src/components/Wizard/WizardBody.tsx +36 -50
  448. package/src/components/Wizard/WizardFooter.tsx +80 -4
  449. package/src/components/Wizard/WizardHeader.tsx +7 -4
  450. package/src/components/Wizard/WizardNav.tsx +17 -24
  451. package/src/components/Wizard/WizardNavItem.tsx +65 -34
  452. package/src/components/Wizard/WizardToggle.tsx +83 -87
  453. package/src/components/Wizard/__tests__/Wizard.test.tsx +388 -256
  454. package/src/components/Wizard/examples/Wizard.md +108 -313
  455. package/src/components/Wizard/examples/WizardBasic.tsx +32 -37
  456. package/src/{next/components → components}/Wizard/examples/WizardBasicDisabledSteps.tsx +1 -1
  457. package/src/{next/components → components}/Wizard/examples/WizardCustomNav.tsx +13 -13
  458. package/src/components/Wizard/examples/WizardEnabledOnFormValidation.tsx +48 -113
  459. package/src/components/Wizard/examples/WizardExpandableSteps.tsx +39 -31
  460. package/src/components/Wizard/examples/WizardGetCurrentStep.tsx +49 -27
  461. package/src/{next/components → components}/Wizard/examples/WizardProgressiveSteps.tsx +1 -1
  462. package/src/{next/components → components}/Wizard/examples/WizardStepDrawerContent.tsx +4 -2
  463. package/src/{next/components → components}/Wizard/examples/WizardStepErrorStatus.tsx +1 -2
  464. package/src/{next/components → components}/Wizard/examples/WizardStepVisitRequired.tsx +1 -1
  465. package/src/{next/components → components}/Wizard/examples/WizardToggleStepVisibility.tsx +1 -2
  466. package/src/components/Wizard/examples/WizardValidateOnButtonPress.tsx +112 -130
  467. package/src/{next/components → components}/Wizard/examples/WizardWithCustomFooter.tsx +1 -2
  468. package/src/{next/components → components}/Wizard/examples/WizardWithCustomNav.tsx +1 -1
  469. package/src/{next/components → components}/Wizard/examples/WizardWithCustomNavItem.tsx +1 -1
  470. package/src/{next/components → components}/Wizard/examples/WizardWithHeader.tsx +1 -1
  471. package/src/{next/components → components}/Wizard/examples/WizardWithNavAnchors.tsx +1 -2
  472. package/src/{next/components → components}/Wizard/examples/WizardWithSubmitProgress.tsx +3 -2
  473. package/src/{next/components → components}/Wizard/examples/WizardWithinModal.tsx +1 -2
  474. package/src/components/Wizard/index.ts +7 -4
  475. package/src/{next/components → components}/Wizard/types.tsx +1 -1
  476. package/src/components/index.ts +0 -1
  477. package/src/demos/AlertGroup.md +1 -1
  478. package/src/demos/Wizard/WizardDemo.md +17 -15
  479. package/src/deprecated/components/Wizard/Wizard.tsx +597 -0
  480. package/src/deprecated/components/Wizard/WizardBody.tsx +98 -0
  481. package/src/deprecated/components/Wizard/WizardFooter.tsx +13 -0
  482. package/src/{components → deprecated/components}/Wizard/WizardFooterInternal.tsx +1 -1
  483. package/src/{next → deprecated}/components/Wizard/WizardHeader.tsx +4 -7
  484. package/src/deprecated/components/Wizard/WizardNav.tsx +53 -0
  485. package/src/deprecated/components/Wizard/WizardNavItem.tsx +109 -0
  486. package/src/deprecated/components/Wizard/WizardToggle.tsx +121 -0
  487. package/src/deprecated/components/Wizard/__tests__/Wizard.test.tsx +317 -0
  488. package/src/deprecated/components/Wizard/examples/Wizard.md +379 -0
  489. package/src/{components → deprecated/components}/Wizard/examples/WizardAnchorsForNavItems.tsx +3 -2
  490. package/src/deprecated/components/Wizard/examples/WizardBasic.tsx +39 -0
  491. package/src/{components → deprecated/components}/Wizard/examples/WizardBasicWithDisabledSteps.tsx +2 -2
  492. package/src/deprecated/components/Wizard/examples/WizardEnabledOnFormValidation.tsx +140 -0
  493. package/src/deprecated/components/Wizard/examples/WizardExpandableSteps.tsx +34 -0
  494. package/src/{components → deprecated/components}/Wizard/examples/WizardFinished.tsx +3 -3
  495. package/src/deprecated/components/Wizard/examples/WizardGetCurrentStep.tsx +33 -0
  496. package/src/{components → deprecated/components}/Wizard/examples/WizardInModal.tsx +3 -2
  497. package/src/{components → deprecated/components}/Wizard/examples/WizardIncrementallyEnabledSteps.tsx +2 -2
  498. package/src/deprecated/components/Wizard/examples/WizardValidateOnButtonPress.tsx +207 -0
  499. package/src/{components → deprecated/components}/Wizard/examples/WizardWithDrawer.tsx +3 -3
  500. package/src/{next → deprecated}/components/Wizard/index.ts +4 -7
  501. package/src/deprecated/components/index.ts +1 -0
  502. package/src/next/components/index.ts +1 -1
  503. package/dist/esm/components/AlertGroup/AlertGroup.d.ts.map +0 -1
  504. package/dist/esm/components/AlertGroup/AlertGroup.js.map +0 -1
  505. package/dist/esm/components/AlertGroup/AlertGroupInline.d.ts.map +0 -1
  506. package/dist/esm/components/AlertGroup/AlertGroupInline.js.map +0 -1
  507. package/dist/esm/components/AlertGroup/index.d.ts +0 -2
  508. package/dist/esm/components/AlertGroup/index.d.ts.map +0 -1
  509. package/dist/esm/components/AlertGroup/index.js +0 -2
  510. package/dist/esm/components/AlertGroup/index.js.map +0 -1
  511. package/dist/esm/components/AlertGroup/package.json +0 -1
  512. package/dist/esm/components/Wizard/WizardDrawerWrapper.d.ts.map +0 -1
  513. package/dist/esm/components/Wizard/WizardDrawerWrapper.js.map +0 -1
  514. package/dist/esm/components/Wizard/WizardFooterInternal.d.ts.map +0 -1
  515. package/dist/esm/components/Wizard/WizardFooterInternal.js.map +0 -1
  516. package/dist/esm/next/components/Wizard/Wizard.d.ts +0 -39
  517. package/dist/esm/next/components/Wizard/Wizard.d.ts.map +0 -1
  518. package/dist/esm/next/components/Wizard/Wizard.js +0 -89
  519. package/dist/esm/next/components/Wizard/Wizard.js.map +0 -1
  520. package/dist/esm/next/components/Wizard/WizardBody.d.ts +0 -24
  521. package/dist/esm/next/components/Wizard/WizardBody.d.ts.map +0 -1
  522. package/dist/esm/next/components/Wizard/WizardBody.js +0 -40
  523. package/dist/esm/next/components/Wizard/WizardBody.js.map +0 -1
  524. package/dist/esm/next/components/Wizard/WizardContext.d.ts +0 -45
  525. package/dist/esm/next/components/Wizard/WizardContext.d.ts.map +0 -1
  526. package/dist/esm/next/components/Wizard/WizardContext.js +0 -51
  527. package/dist/esm/next/components/Wizard/WizardContext.js.map +0 -1
  528. package/dist/esm/next/components/Wizard/WizardFooter.d.ts +0 -45
  529. package/dist/esm/next/components/Wizard/WizardFooter.d.ts.map +0 -1
  530. package/dist/esm/next/components/Wizard/WizardFooter.js +0 -20
  531. package/dist/esm/next/components/Wizard/WizardFooter.js.map +0 -1
  532. package/dist/esm/next/components/Wizard/WizardHeader.d.ts.map +0 -1
  533. package/dist/esm/next/components/Wizard/WizardHeader.js.map +0 -1
  534. package/dist/esm/next/components/Wizard/WizardNav.d.ts +0 -15
  535. package/dist/esm/next/components/Wizard/WizardNav.d.ts.map +0 -1
  536. package/dist/esm/next/components/Wizard/WizardNav.js +0 -12
  537. package/dist/esm/next/components/Wizard/WizardNav.js.map +0 -1
  538. package/dist/esm/next/components/Wizard/WizardNavInternal.d.ts.map +0 -1
  539. package/dist/esm/next/components/Wizard/WizardNavInternal.js.map +0 -1
  540. package/dist/esm/next/components/Wizard/WizardNavItem.d.ts +0 -35
  541. package/dist/esm/next/components/Wizard/WizardNavItem.d.ts.map +0 -1
  542. package/dist/esm/next/components/Wizard/WizardNavItem.js +0 -48
  543. package/dist/esm/next/components/Wizard/WizardNavItem.js.map +0 -1
  544. package/dist/esm/next/components/Wizard/WizardStep.d.ts.map +0 -1
  545. package/dist/esm/next/components/Wizard/WizardStep.js.map +0 -1
  546. package/dist/esm/next/components/Wizard/WizardToggle.d.ts +0 -27
  547. package/dist/esm/next/components/Wizard/WizardToggle.d.ts.map +0 -1
  548. package/dist/esm/next/components/Wizard/WizardToggle.js +0 -57
  549. package/dist/esm/next/components/Wizard/WizardToggle.js.map +0 -1
  550. package/dist/esm/next/components/Wizard/hooks/index.d.ts.map +0 -1
  551. package/dist/esm/next/components/Wizard/hooks/index.js.map +0 -1
  552. package/dist/esm/next/components/Wizard/hooks/package.json +0 -1
  553. package/dist/esm/next/components/Wizard/hooks/useWizardFooter.d.ts.map +0 -1
  554. package/dist/esm/next/components/Wizard/hooks/useWizardFooter.js.map +0 -1
  555. package/dist/esm/next/components/Wizard/index.d.ts.map +0 -1
  556. package/dist/esm/next/components/Wizard/index.js.map +0 -1
  557. package/dist/esm/next/components/Wizard/package.json +0 -1
  558. package/dist/esm/next/components/Wizard/types.d.ts.map +0 -1
  559. package/dist/esm/next/components/Wizard/types.js.map +0 -1
  560. package/dist/esm/next/components/Wizard/utils.d.ts.map +0 -1
  561. package/dist/esm/next/components/Wizard/utils.js.map +0 -1
  562. package/dist/js/components/AlertGroup/AlertGroup.d.ts.map +0 -1
  563. package/dist/js/components/AlertGroup/AlertGroup.js.map +0 -1
  564. package/dist/js/components/AlertGroup/AlertGroupInline.d.ts.map +0 -1
  565. package/dist/js/components/AlertGroup/AlertGroupInline.js.map +0 -1
  566. package/dist/js/components/AlertGroup/index.d.ts +0 -2
  567. package/dist/js/components/AlertGroup/index.d.ts.map +0 -1
  568. package/dist/js/components/AlertGroup/index.js +0 -6
  569. package/dist/js/components/AlertGroup/index.js.map +0 -1
  570. package/dist/js/components/AlertGroup/package.json +0 -1
  571. package/dist/js/components/Wizard/WizardDrawerWrapper.d.ts.map +0 -1
  572. package/dist/js/components/Wizard/WizardDrawerWrapper.js.map +0 -1
  573. package/dist/js/components/Wizard/WizardFooterInternal.d.ts.map +0 -1
  574. package/dist/js/components/Wizard/WizardFooterInternal.js.map +0 -1
  575. package/dist/js/next/components/Wizard/Wizard.d.ts +0 -39
  576. package/dist/js/next/components/Wizard/Wizard.d.ts.map +0 -1
  577. package/dist/js/next/components/Wizard/Wizard.js +0 -93
  578. package/dist/js/next/components/Wizard/Wizard.js.map +0 -1
  579. package/dist/js/next/components/Wizard/WizardBody.d.ts +0 -24
  580. package/dist/js/next/components/Wizard/WizardBody.d.ts.map +0 -1
  581. package/dist/js/next/components/Wizard/WizardBody.js +0 -45
  582. package/dist/js/next/components/Wizard/WizardBody.js.map +0 -1
  583. package/dist/js/next/components/Wizard/WizardContext.d.ts +0 -45
  584. package/dist/js/next/components/Wizard/WizardContext.d.ts.map +0 -1
  585. package/dist/js/next/components/Wizard/WizardContext.js +0 -57
  586. package/dist/js/next/components/Wizard/WizardContext.js.map +0 -1
  587. package/dist/js/next/components/Wizard/WizardFooter.d.ts +0 -45
  588. package/dist/js/next/components/Wizard/WizardFooter.d.ts.map +0 -1
  589. package/dist/js/next/components/Wizard/WizardFooter.js +0 -25
  590. package/dist/js/next/components/Wizard/WizardFooter.js.map +0 -1
  591. package/dist/js/next/components/Wizard/WizardHeader.d.ts.map +0 -1
  592. package/dist/js/next/components/Wizard/WizardHeader.js.map +0 -1
  593. package/dist/js/next/components/Wizard/WizardNav.d.ts +0 -15
  594. package/dist/js/next/components/Wizard/WizardNav.d.ts.map +0 -1
  595. package/dist/js/next/components/Wizard/WizardNav.js +0 -17
  596. package/dist/js/next/components/Wizard/WizardNav.js.map +0 -1
  597. package/dist/js/next/components/Wizard/WizardNavInternal.d.ts.map +0 -1
  598. package/dist/js/next/components/Wizard/WizardNavInternal.js.map +0 -1
  599. package/dist/js/next/components/Wizard/WizardNavItem.d.ts +0 -35
  600. package/dist/js/next/components/Wizard/WizardNavItem.d.ts.map +0 -1
  601. package/dist/js/next/components/Wizard/WizardNavItem.js +0 -53
  602. package/dist/js/next/components/Wizard/WizardNavItem.js.map +0 -1
  603. package/dist/js/next/components/Wizard/WizardStep.d.ts.map +0 -1
  604. package/dist/js/next/components/Wizard/WizardStep.js.map +0 -1
  605. package/dist/js/next/components/Wizard/WizardToggle.d.ts +0 -27
  606. package/dist/js/next/components/Wizard/WizardToggle.d.ts.map +0 -1
  607. package/dist/js/next/components/Wizard/WizardToggle.js +0 -61
  608. package/dist/js/next/components/Wizard/WizardToggle.js.map +0 -1
  609. package/dist/js/next/components/Wizard/hooks/index.d.ts.map +0 -1
  610. package/dist/js/next/components/Wizard/hooks/index.js.map +0 -1
  611. package/dist/js/next/components/Wizard/hooks/package.json +0 -1
  612. package/dist/js/next/components/Wizard/hooks/useWizardFooter.d.ts.map +0 -1
  613. package/dist/js/next/components/Wizard/hooks/useWizardFooter.js.map +0 -1
  614. package/dist/js/next/components/Wizard/index.d.ts.map +0 -1
  615. package/dist/js/next/components/Wizard/index.js +0 -19
  616. package/dist/js/next/components/Wizard/index.js.map +0 -1
  617. package/dist/js/next/components/Wizard/package.json +0 -1
  618. package/dist/js/next/components/Wizard/types.d.ts.map +0 -1
  619. package/dist/js/next/components/Wizard/types.js.map +0 -1
  620. package/dist/js/next/components/Wizard/utils.d.ts.map +0 -1
  621. package/dist/js/next/components/Wizard/utils.js.map +0 -1
  622. package/src/components/AlertGroup/examples/AlertGroup.md +0 -79
  623. package/src/components/AlertGroup/index.ts +0 -1
  624. package/src/next/components/Wizard/Wizard.tsx +0 -220
  625. package/src/next/components/Wizard/WizardBody.tsx +0 -83
  626. package/src/next/components/Wizard/WizardFooter.tsx +0 -89
  627. package/src/next/components/Wizard/WizardNav.tsx +0 -46
  628. package/src/next/components/Wizard/WizardNavItem.tsx +0 -140
  629. package/src/next/components/Wizard/WizardToggle.tsx +0 -117
  630. package/src/next/components/Wizard/__tests__/Wizard.test.tsx +0 -449
  631. package/src/next/components/Wizard/examples/Wizard.md +0 -176
  632. package/src/next/components/Wizard/examples/WizardBasic.tsx +0 -34
  633. package/src/next/components/Wizard/examples/WizardEnabledOnFormValidation.tsx +0 -84
  634. package/src/next/components/Wizard/examples/WizardExpandableSteps.tsx +0 -42
  635. package/src/next/components/Wizard/examples/WizardGetCurrentStep.tsx +0 -53
  636. package/src/next/components/Wizard/examples/WizardValidateOnButtonPress.tsx +0 -190
  637. /package/dist/esm/components/{AlertGroup → Alert}/AlertGroup.d.ts +0 -0
  638. /package/dist/esm/components/{AlertGroup → Alert}/AlertGroup.js +0 -0
  639. /package/dist/esm/components/{AlertGroup → Alert}/AlertGroupInline.d.ts +0 -0
  640. /package/dist/esm/components/{AlertGroup → Alert}/AlertGroupInline.js +0 -0
  641. /package/dist/esm/{next/components → components}/Wizard/WizardNavInternal.d.ts +0 -0
  642. /package/dist/esm/{next/components → components}/Wizard/WizardNavInternal.js +0 -0
  643. /package/dist/esm/{next/components → components}/Wizard/WizardStep.d.ts +0 -0
  644. /package/dist/esm/{next/components → components}/Wizard/WizardStep.js +0 -0
  645. /package/dist/esm/{next/components → components}/Wizard/hooks/index.d.ts +0 -0
  646. /package/dist/esm/{next/components → components}/Wizard/hooks/index.js +0 -0
  647. /package/dist/esm/{next/components → components}/Wizard/hooks/useWizardFooter.d.ts +0 -0
  648. /package/dist/esm/{next/components → components}/Wizard/hooks/useWizardFooter.js +0 -0
  649. /package/dist/esm/{next/components → components}/Wizard/types.js +0 -0
  650. /package/dist/esm/{next/components → components}/Wizard/utils.d.ts +0 -0
  651. /package/dist/esm/{next/components → components}/Wizard/utils.js +0 -0
  652. /package/dist/esm/{components → deprecated/components}/Wizard/WizardDrawerWrapper.d.ts +0 -0
  653. /package/dist/esm/{components → deprecated/components}/Wizard/WizardDrawerWrapper.js +0 -0
  654. /package/dist/esm/{components → deprecated/components}/Wizard/WizardFooterInternal.d.ts +0 -0
  655. /package/dist/js/components/{AlertGroup → Alert}/AlertGroup.d.ts +0 -0
  656. /package/dist/js/components/{AlertGroup → Alert}/AlertGroup.js +0 -0
  657. /package/dist/js/components/{AlertGroup → Alert}/AlertGroupInline.d.ts +0 -0
  658. /package/dist/js/components/{AlertGroup → Alert}/AlertGroupInline.js +0 -0
  659. /package/dist/js/{next/components → components}/Wizard/WizardNavInternal.d.ts +0 -0
  660. /package/dist/js/{next/components → components}/Wizard/WizardNavInternal.js +0 -0
  661. /package/dist/js/{next/components → components}/Wizard/WizardStep.d.ts +0 -0
  662. /package/dist/js/{next/components → components}/Wizard/WizardStep.js +0 -0
  663. /package/dist/js/{next/components → components}/Wizard/hooks/index.d.ts +0 -0
  664. /package/dist/js/{next/components → components}/Wizard/hooks/index.js +0 -0
  665. /package/dist/js/{next/components → components}/Wizard/hooks/useWizardFooter.d.ts +0 -0
  666. /package/dist/js/{next/components → components}/Wizard/hooks/useWizardFooter.js +0 -0
  667. /package/dist/js/{next/components → components}/Wizard/types.js +0 -0
  668. /package/dist/js/{next/components → components}/Wizard/utils.d.ts +0 -0
  669. /package/dist/js/{next/components → components}/Wizard/utils.js +0 -0
  670. /package/dist/js/{components → deprecated/components}/Wizard/WizardDrawerWrapper.d.ts +0 -0
  671. /package/dist/js/{components → deprecated/components}/Wizard/WizardDrawerWrapper.js +0 -0
  672. /package/dist/js/{components → deprecated/components}/Wizard/WizardFooterInternal.d.ts +0 -0
  673. /package/src/components/{AlertGroup → Alert}/AlertGroup.tsx +0 -0
  674. /package/src/components/{AlertGroup → Alert}/AlertGroupInline.tsx +0 -0
  675. /package/src/components/{AlertGroup → Alert}/__tests__/Generated/AlertGroup.test.tsx +0 -0
  676. /package/src/components/{AlertGroup → Alert}/__tests__/Generated/AlertGroupInline.test.tsx +0 -0
  677. /package/src/components/{AlertGroup → Alert}/__tests__/Generated/__snapshots__/AlertGroup.test.tsx.snap +0 -0
  678. /package/src/components/{AlertGroup → Alert}/__tests__/Generated/__snapshots__/AlertGroupInline.test.tsx.snap +0 -0
  679. /package/src/components/{AlertGroup → Alert}/__tests__/__snapshots__/AlertGroup.test.tsx.snap +0 -0
  680. /package/src/components/{AlertGroup → Alert}/examples/AlertGroupAsync.tsx +0 -0
  681. /package/src/components/{AlertGroup → Alert}/examples/AlertGroupMultipleDynamic.tsx +0 -0
  682. /package/src/components/{AlertGroup → Alert}/examples/AlertGroupSingularDynamic.tsx +0 -0
  683. /package/src/components/{AlertGroup → Alert}/examples/AlertGroupSingularDynamicOverflow.tsx +0 -0
  684. /package/src/components/{AlertGroup → Alert}/examples/AlertGroupStatic.tsx +0 -0
  685. /package/src/components/{AlertGroup → Alert}/examples/AlertGroupToast.tsx +0 -0
  686. /package/src/components/{AlertGroup → Alert}/examples/AlertGroupToastOverflowCapture.tsx +0 -0
  687. /package/src/{next/components → components}/Wizard/WizardContext.tsx +0 -0
  688. /package/src/{next/components → components}/Wizard/WizardNavInternal.tsx +0 -0
  689. /package/src/{next/components → components}/Wizard/WizardStep.tsx +0 -0
  690. /package/src/{next/components → components}/Wizard/__tests__/WizardBody.test.tsx +0 -0
  691. /package/src/{next/components → components}/Wizard/__tests__/WizardFooter.test.tsx +0 -0
  692. /package/src/{next/components → components}/Wizard/__tests__/WizardStep.test.tsx +0 -0
  693. /package/src/{next/components → components}/Wizard/__tests__/WizardToggle.test.tsx +0 -0
  694. /package/src/{next/components → components}/Wizard/__tests__/utils.test.tsx +0 -0
  695. /package/src/{next/components → components}/Wizard/hooks/__tests__/useWizardFooter.test.tsx +0 -0
  696. /package/src/{next/components → components}/Wizard/hooks/index.ts +0 -0
  697. /package/src/{next/components → components}/Wizard/hooks/useWizardFooter.tsx +0 -0
  698. /package/src/{next/components → components}/Wizard/utils.ts +0 -0
  699. /package/src/{components → deprecated/components}/Wizard/WizardContext.ts +0 -0
  700. /package/src/{components → deprecated/components}/Wizard/WizardDrawerWrapper.tsx +0 -0
  701. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/WizardBody.test.tsx +0 -0
  702. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/WizardFooter.test.tsx +0 -0
  703. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/WizardFooterInternal.test.tsx +0 -0
  704. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/WizardHeader.test.tsx +0 -0
  705. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/WizardNav.test.tsx +0 -0
  706. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/WizardNavItem.test.tsx +0 -0
  707. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/WizardToggle.test.tsx +0 -0
  708. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/__snapshots__/WizardBody.test.tsx.snap +0 -0
  709. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/__snapshots__/WizardFooter.test.tsx.snap +0 -0
  710. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/__snapshots__/WizardFooterInternal.test.tsx.snap +0 -0
  711. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/__snapshots__/WizardHeader.test.tsx.snap +0 -0
  712. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/__snapshots__/WizardNav.test.tsx.snap +0 -0
  713. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/__snapshots__/WizardNavItem.test.tsx.snap +0 -0
  714. /package/src/{components → deprecated/components}/Wizard/__tests__/Generated/__snapshots__/WizardToggle.test.tsx.snap +0 -0
  715. /package/src/{components → deprecated/components}/Wizard/__tests__/__snapshots__/Wizard.test.tsx.snap +0 -0
@@ -1,93 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Wizard = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const react_styles_1 = require("@patternfly/react-styles");
7
- const wizard_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Wizard/wizard"));
8
- const types_1 = require("./types");
9
- const utils_1 = require("./utils");
10
- const WizardContext_1 = require("./WizardContext");
11
- const WizardToggle_1 = require("./WizardToggle");
12
- const WizardNavInternal_1 = require("./WizardNavInternal");
13
- const Wizard = (_a) => {
14
- var { children, footer, height, width, className, header, nav, startIndex = 1, isVisitRequired = false, isProgressive = false, onStepChange, onSave, onClose } = _a, wrapperProps = tslib_1.__rest(_a, ["children", "footer", "height", "width", "className", "header", "nav", "startIndex", "isVisitRequired", "isProgressive", "onStepChange", "onSave", "onClose"]);
15
- const [activeStepIndex, setActiveStepIndex] = react_1.default.useState(startIndex);
16
- const initialSteps = (0, utils_1.buildSteps)(children);
17
- const firstStepRef = react_1.default.useRef(initialSteps[startIndex - 1]);
18
- // When the startIndex maps to a parent step, focus on the first sub-step
19
- react_1.default.useEffect(() => {
20
- if ((0, types_1.isWizardParentStep)(firstStepRef.current)) {
21
- setActiveStepIndex(startIndex + 1);
22
- }
23
- }, [startIndex]);
24
- const goToNextStep = (event, steps = initialSteps) => {
25
- const newStep = steps.find(step => step.index > activeStepIndex && !step.isHidden && !step.isDisabled && !(0, types_1.isWizardParentStep)(step));
26
- if (activeStepIndex >= steps.length || !(newStep === null || newStep === void 0 ? void 0 : newStep.index)) {
27
- return onSave ? onSave(event) : onClose === null || onClose === void 0 ? void 0 : onClose(event);
28
- }
29
- const currStep = (0, types_1.isWizardParentStep)(steps[activeStepIndex]) ? steps[activeStepIndex + 1] : steps[activeStepIndex];
30
- const prevStep = steps[activeStepIndex - 1];
31
- setActiveStepIndex(newStep === null || newStep === void 0 ? void 0 : newStep.index);
32
- onStepChange === null || onStepChange === void 0 ? void 0 : onStepChange(event, currStep, prevStep, types_1.WizardStepChangeScope.Next);
33
- };
34
- const goToPrevStep = (event, steps = initialSteps) => {
35
- const newStep = [...steps]
36
- .reverse()
37
- .find((step) => step.index < activeStepIndex && !step.isHidden && !step.isDisabled && !(0, types_1.isWizardParentStep)(step));
38
- const currStep = (0, types_1.isWizardParentStep)(steps[activeStepIndex - 2])
39
- ? steps[activeStepIndex - 3]
40
- : steps[activeStepIndex - 2];
41
- const prevStep = steps[activeStepIndex - 1];
42
- setActiveStepIndex(newStep === null || newStep === void 0 ? void 0 : newStep.index);
43
- onStepChange === null || onStepChange === void 0 ? void 0 : onStepChange(event, currStep, prevStep, types_1.WizardStepChangeScope.Back);
44
- };
45
- const goToStepByIndex = (event, steps = initialSteps, index) => {
46
- const lastStepIndex = steps.length + 1;
47
- // Handle index when out of bounds or hidden
48
- if (index < 1) {
49
- index = 1;
50
- }
51
- else if (index > lastStepIndex) {
52
- index = lastStepIndex;
53
- }
54
- const currStep = steps[index - 1];
55
- const prevStep = steps[activeStepIndex - 1];
56
- setActiveStepIndex(index);
57
- onStepChange === null || onStepChange === void 0 ? void 0 : onStepChange(event, currStep, prevStep, types_1.WizardStepChangeScope.Nav);
58
- };
59
- const goToStepById = (steps = initialSteps, id) => {
60
- const step = steps.find(step => step.id === id);
61
- const stepIndex = step === null || step === void 0 ? void 0 : step.index;
62
- const lastStepIndex = steps.length + 1;
63
- if (stepIndex > 0 && stepIndex < lastStepIndex && !step.isDisabled && !step.isHidden) {
64
- setActiveStepIndex(stepIndex);
65
- }
66
- };
67
- const goToStepByName = (steps = initialSteps, name) => {
68
- const step = steps.find(step => step.name === name);
69
- const stepIndex = step === null || step === void 0 ? void 0 : step.index;
70
- const lastStepIndex = steps.length + 1;
71
- if (stepIndex > 0 && stepIndex < lastStepIndex && !step.isDisabled && !step.isHidden) {
72
- setActiveStepIndex(stepIndex);
73
- }
74
- };
75
- return (react_1.default.createElement(WizardContext_1.WizardContextProvider, { steps: initialSteps, activeStepIndex: activeStepIndex, footer: footer, onNext: goToNextStep, onBack: goToPrevStep, onClose: onClose, goToStepById: goToStepById, goToStepByName: goToStepByName, goToStepByIndex: goToStepByIndex },
76
- react_1.default.createElement("div", Object.assign({ className: (0, react_styles_1.css)(wizard_1.default.wizard, className), style: Object.assign(Object.assign({}, (height ? { height } : {})), (width ? { width } : {})) }, wrapperProps),
77
- header,
78
- react_1.default.createElement(WizardInternal, { nav: nav, isVisitRequired: isVisitRequired, isProgressive: isProgressive }))));
79
- };
80
- exports.Wizard = Wizard;
81
- const WizardInternal = ({ nav, isVisitRequired, isProgressive }) => {
82
- const { activeStep, steps, footer, goToStepByIndex } = (0, WizardContext_1.useWizardContext)();
83
- const [isNavExpanded, setIsNavExpanded] = react_1.default.useState(false);
84
- const wizardNav = react_1.default.useMemo(() => {
85
- if ((0, types_1.isCustomWizardNav)(nav)) {
86
- return typeof nav === 'function' ? nav(isNavExpanded, steps, activeStep, goToStepByIndex) : nav;
87
- }
88
- return (react_1.default.createElement(WizardNavInternal_1.WizardNavInternal, { nav: nav, isNavExpanded: isNavExpanded, isVisitRequired: isVisitRequired, isProgressive: isProgressive }));
89
- }, [activeStep, isVisitRequired, isProgressive, goToStepByIndex, isNavExpanded, nav, steps]);
90
- return (react_1.default.createElement(WizardToggle_1.WizardToggle, { nav: wizardNav, footer: footer, steps: steps, activeStep: activeStep, isNavExpanded: isNavExpanded, toggleNavExpanded: () => setIsNavExpanded(prevIsExpanded => !prevIsExpanded) }));
91
- };
92
- exports.Wizard.displayName = 'Wizard';
93
- //# sourceMappingURL=Wizard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Wizard.js","sourceRoot":"","sources":["../../../../../src/next/components/Wizard/Wizard.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAE1B,2DAA+C;AAC/C,2GAA2E;AAE3E,mCAOiB;AACjB,mCAAqC;AACrC,mDAA0E;AAC1E,iDAA8C;AAC9C,2DAAwD;AAyCjD,MAAM,MAAM,GAAG,CAAC,EAeT,EAAE,EAAE;QAfK,EACrB,QAAQ,EACR,MAAM,EACN,MAAM,EACN,KAAK,EACL,SAAS,EACT,MAAM,EACN,GAAG,EACH,UAAU,GAAG,CAAC,EACd,eAAe,GAAG,KAAK,EACvB,aAAa,GAAG,KAAK,EACrB,YAAY,EACZ,MAAM,EACN,OAAO,OAEK,EADT,YAAY,sBAdM,8JAetB,CADgB;IAEf,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAC,UA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;YAC1B,OAAO,OAAO,GAAG,KAAK,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;SACjG;QAED,OAAO,CACL,8BAAC,qCAAiB,IAChB,GAAG,EAAE,GAAG,EACR,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,aAAa,EAAE,aAAa,GAC5B,CACH,CAAC;IACJ,CAAC,EAAE,CAAC,UAAU,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,aAAa,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;IAE7F,OAAO,CACL,8BAAC,2BAAY,IACX,GAAG,EAAE,SAAS,EACd,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,GAAG,EAAE,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,cAAc,CAAC,GAC5E,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,cAAM,CAAC,WAAW,GAAG,QAAQ,CAAC"}
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- /**
3
- * Used as a wrapper for WizardStep content, where the wrapping element is customizable.
4
- */
5
- export interface WizardBodyProps {
6
- children: React.ReactNode | React.ReactNode[];
7
- /** Set to true to remove the default body padding */
8
- hasNoPadding?: boolean;
9
- /** Adds an accessible name to the wrapper element when the content overflows and renders
10
- * a scrollbar.
11
- */
12
- 'aria-label'?: string;
13
- /** Adds an accessible name to the wrapper element by passing the the id of one or more elements.
14
- * The aria-labelledby will only be applied when the content overflows and renders a scrollbar.
15
- */
16
- 'aria-labelledby'?: string;
17
- /** Component used as the wrapping content container */
18
- component?: React.ElementType;
19
- }
20
- export declare const WizardBody: {
21
- ({ children, hasNoPadding, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, component }: WizardBodyProps): JSX.Element;
22
- displayName: string;
23
- };
24
- //# sourceMappingURL=WizardBody.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WizardBody.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/Wizard/WizardBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B;;GAEG;AAEH,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9C,qDAAqD;IACrD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uDAAuD;IACvD,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CAC/B;AAED,eAAO,MAAM,UAAU;wGAMpB,eAAe;;CA8CjB,CAAC"}
@@ -1,45 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WizardBody = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const wizard_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Wizard/wizard"));
7
- const react_styles_1 = require("@patternfly/react-styles");
8
- const WizardContext_1 = require("./WizardContext");
9
- const util_1 = require("../../../helpers/util");
10
- const resizeObserver_1 = require("../../../helpers/resizeObserver");
11
- const WizardBody = ({ children, hasNoPadding = false, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, component = 'div' }) => {
12
- const [hasScrollbar, setHasScrollbar] = react_1.default.useState(false);
13
- const [previousWidth, setPreviousWidth] = react_1.default.useState(undefined);
14
- const wrapperRef = react_1.default.useRef(null);
15
- const WrapperComponent = component;
16
- const { activeStep } = react_1.default.useContext(WizardContext_1.WizardContext);
17
- const defaultAriaLabel = ariaLabel || `${activeStep === null || activeStep === void 0 ? void 0 : activeStep.name} content`;
18
- react_1.default.useEffect(() => {
19
- const resize = () => {
20
- if (wrapperRef === null || wrapperRef === void 0 ? void 0 : wrapperRef.current) {
21
- const { offsetWidth, offsetHeight, scrollHeight } = wrapperRef.current;
22
- if (previousWidth !== offsetWidth) {
23
- setPreviousWidth(offsetWidth);
24
- setHasScrollbar(offsetHeight < scrollHeight);
25
- }
26
- }
27
- };
28
- const handleResizeWithDelay = (0, util_1.debounce)(resize, 250);
29
- let observer = () => { };
30
- if (wrapperRef === null || wrapperRef === void 0 ? void 0 : wrapperRef.current) {
31
- observer = (0, resizeObserver_1.getResizeObserver)(wrapperRef.current, handleResizeWithDelay);
32
- const { offsetHeight, scrollHeight } = wrapperRef.current;
33
- setHasScrollbar(offsetHeight < scrollHeight);
34
- setPreviousWidth(wrapperRef.current.offsetWidth);
35
- }
36
- return () => {
37
- observer();
38
- };
39
- }, []);
40
- return (react_1.default.createElement(WrapperComponent, Object.assign({ ref: wrapperRef }, (component === 'div' && hasScrollbar && { role: 'region' }), (hasScrollbar && { 'aria-label': defaultAriaLabel, 'aria-labelledby': ariaLabelledBy, tabIndex: 0 }), { className: (0, react_styles_1.css)(wizard_1.default.wizardMain) }),
41
- react_1.default.createElement("div", { className: (0, react_styles_1.css)(wizard_1.default.wizardMainBody, hasNoPadding && wizard_1.default.modifiers.noPadding) }, children)));
42
- };
43
- exports.WizardBody = WizardBody;
44
- exports.WizardBody.displayName = 'WizardBody';
45
- //# sourceMappingURL=WizardBody.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WizardBody.js","sourceRoot":"","sources":["../../../../../src/next/components/Wizard/WizardBody.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAE1B,2GAA2E;AAC3E,2DAA+C;AAC/C,mDAAgD;AAChD,gDAAiD;AACjD,oEAAoE;AAsB7D,MAAM,UAAU,GAAG,CAAC,EACzB,QAAQ,EACR,YAAY,GAAG,KAAK,EACpB,YAAY,EAAE,SAAS,EACvB,iBAAiB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AG,UAAU,CAAC,OAAO,CAAC;YAE1D,eAAe,CAAC,YAAY,GAAG,YAAY,CAAC,CAAC;YAC7C,gBAAgB,CAAE,UAAU,CAAC,OAAuB,CAAC,WAAW,CAAC,CAAC;SACnE;QAED,OAAO,GAAG,EAAE;YACV,QAAQ,EAAE,CAAC;QACb,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,8BAAC,gBAAgB,kBACf,GAAG,EAAE,UAAU,IACX,CAAC,SAAS,KAAK,KAAK,IAAI,YAAY,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAC3D,CAAC,YAAY,IAAI,EAAE,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,IACxG,SAAS,EAAE,IAAA,kBAAG,EAAC,gBAAM,CAAC,UAAU,CAAC;QAEjC,uCAAK,SAAS,EAAE,IAAA,kBAAG,EAAC,gBAAM,CAAC,cAAc,EAAE,YAAY,IAAI,gBAAM,CAAC,SAAS,CAAC,SAAS,CAAC,IAAG,QAAQ,CAAO,CACvF,CACpB,CAAC;AACJ,CAAC,CAAC;AApDW,QAAA,UAAU,cAoDrB;AAEF,kBAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
@@ -1,45 +0,0 @@
1
- import React from 'react';
2
- import { WizardStepType, WizardFooterType } from './types';
3
- import { WizardFooterProps } from './WizardFooter';
4
- export interface WizardContextProps {
5
- /** List of steps */
6
- steps: WizardStepType[];
7
- /** Current step */
8
- activeStep: WizardStepType;
9
- /** Footer element */
10
- footer: React.ReactElement;
11
- /** Close the wizard */
12
- close: () => void;
13
- /** Navigate to the next step */
14
- goToNextStep: () => void | Promise<void>;
15
- /** Navigate to the previous step */
16
- goToPrevStep: () => void | Promise<void>;
17
- /** Navigate to step by ID */
18
- goToStepById: (id: number | string) => void;
19
- /** Navigate to step by name */
20
- goToStepByName: (name: string) => void;
21
- /** Navigate to step by index */
22
- goToStepByIndex: (index: number) => void;
23
- /** Update the footer with any react element */
24
- setFooter: (footer: React.ReactElement | Partial<WizardFooterProps>) => void;
25
- /** Get step by ID */
26
- getStep: (stepId: number | string) => WizardStepType;
27
- /** Set step by ID */
28
- setStep: (step: Pick<WizardStepType, 'id'> & Partial<WizardStepType>) => void;
29
- }
30
- export declare const WizardContext: React.Context<WizardContextProps>;
31
- export interface WizardContextProviderProps {
32
- steps: WizardStepType[];
33
- activeStepIndex: number;
34
- footer: WizardFooterType;
35
- children: React.ReactElement;
36
- onNext(event: React.MouseEvent<HTMLButtonElement>, steps: WizardStepType[]): void;
37
- onBack(event: React.MouseEvent<HTMLButtonElement>, steps: WizardStepType[]): void;
38
- onClose?(event: React.MouseEvent<HTMLButtonElement>): void;
39
- goToStepById(steps: WizardStepType[], id: number | string): void;
40
- goToStepByName(steps: WizardStepType[], name: string): void;
41
- goToStepByIndex(event: React.MouseEvent<HTMLButtonElement> | React.MouseEvent<HTMLAnchorElement>, steps: WizardStepType[], index: number): void;
42
- }
43
- export declare const WizardContextProvider: React.FunctionComponent<WizardContextProviderProps>;
44
- export declare const useWizardContext: () => WizardContextProps;
45
- //# sourceMappingURL=WizardContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WizardContext.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/Wizard/WizardContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAyC,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAClG,OAAO,EAAgB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEjE,MAAM,WAAW,kBAAkB;IACjC,oBAAoB;IACpB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,mBAAmB;IACnB,UAAU,EAAE,cAAc,CAAC;IAC3B,qBAAqB;IACrB,MAAM,EAAE,KAAK,CAAC,YAAY,CAAC;IAC3B,uBAAuB;IACvB,KAAK,EA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CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IAC3D,YAAY,CAAC,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACjE,cAAc,CAAC,KAAK,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5D,eAAe,CACb,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAChF,KAAK,EAAE,cAAc,EAAE,EACvB,KAAK,EAAE,MAAM,GACZ,IAAI,CAAC;CACT;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,iBAAiB,CAAC,0BAA0B,CA6FrF,CAAC;AAIF,eAAO,MAAM,gBAAgB,0BAAwC,CAAC"}
@@ -1,57 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useWizardContext = exports.WizardContextProvider = exports.WizardContext = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const types_1 = require("./types");
7
- const WizardFooter_1 = require("./WizardFooter");
8
- exports.WizardContext = react_1.default.createContext({});
9
- const WizardContextProvider = ({ steps: initialSteps, footer: initialFooter, activeStepIndex, children, onNext, onBack, onClose, goToStepById, goToStepByName, goToStepByIndex }) => {
10
- const [currentSteps, setCurrentSteps] = react_1.default.useState(initialSteps);
11
- const [currentFooter, setCurrentFooter] = react_1.default.useState();
12
- // Combined initial and current state steps
13
- const steps = react_1.default.useMemo(() => currentSteps.map((currentStepProps, index) => (Object.assign(Object.assign({}, currentStepProps), initialSteps[index]))), [initialSteps, currentSteps]);
14
- const activeStep = react_1.default.useMemo(() => steps.find(step => step.index === activeStepIndex), [activeStepIndex, steps]);
15
- const close = react_1.default.useCallback(() => onClose === null || onClose === void 0 ? void 0 : onClose(null), [onClose]);
16
- const goToNextStep = react_1.default.useCallback(() => onNext(null, steps), [onNext, steps]);
17
- const goToPrevStep = react_1.default.useCallback(() => onBack(null, steps), [onBack, steps]);
18
- const footer = react_1.default.useMemo(() => {
19
- const wizardFooter = (activeStep === null || activeStep === void 0 ? void 0 : activeStep.footer) || currentFooter || initialFooter;
20
- if ((0, types_1.isCustomWizardFooter)(wizardFooter)) {
21
- const customFooter = wizardFooter;
22
- return typeof customFooter === 'function'
23
- ? customFooter(activeStep, goToNextStep, goToPrevStep, close)
24
- : customFooter;
25
- }
26
- return (react_1.default.createElement(WizardFooter_1.WizardFooter, Object.assign({ activeStep: activeStep, onNext: goToNextStep, onBack: goToPrevStep, onClose: close, isBackDisabled: (activeStep === null || activeStep === void 0 ? void 0 : activeStep.index) === 1 || ((0, types_1.isWizardSubStep)(activeStep) && (activeStep === null || activeStep === void 0 ? void 0 : activeStep.index) === 2) }, wizardFooter)));
27
- }, [currentFooter, initialFooter, activeStep, goToNextStep, goToPrevStep, close]);
28
- const getStep = react_1.default.useCallback((stepId) => steps.find(step => step.id === stepId), [steps]);
29
- const setStep = react_1.default.useCallback((step) => setCurrentSteps(prevSteps => prevSteps.map(prevStep => {
30
- if (prevStep.id === step.id) {
31
- return Object.assign(Object.assign({}, prevStep), step);
32
- }
33
- return prevStep;
34
- })), []);
35
- return (react_1.default.createElement(exports.WizardContext.Provider, { value: {
36
- steps,
37
- activeStep,
38
- footer,
39
- close,
40
- getStep,
41
- setStep,
42
- goToNextStep,
43
- goToPrevStep,
44
- setFooter: setCurrentFooter,
45
- goToStepById: react_1.default.useCallback(id => goToStepById(steps, id), [goToStepById, steps]),
46
- goToStepByName: react_1.default.useCallback(name => goToStepByName(steps, name), [goToStepByName, steps]),
47
- goToStepByIndex: react_1.default.useCallback((index) => goToStepByIndex(null, steps, index), [
48
- goToStepByIndex,
49
- steps
50
- ])
51
- } }, children));
52
- };
53
- exports.WizardContextProvider = WizardContextProvider;
54
- exports.WizardContextProvider.displayName = 'WizardContextProvider';
55
- const useWizardContext = () => react_1.default.useContext(exports.WizardContext);
56
- exports.useWizardContext = useWizardContext;
57
- //# sourceMappingURL=WizardContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WizardContext.js","sourceRoot":"","sources":["../../../../../src/next/components/Wizard/WizardContext.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAE1B,mCAAkG;AAClG,iDAAiE;AA6BpD,QAAA,aAAa,GAAG,eAAK,CAAC,aAAa,CAAC,EAAwB,CAAC,CAAC;AAmBpE,MAAM,qBAAqB,GAAwD,CAAC,EACzF,KAAK,EAAE,YAAY,EACnB,MAAM,EAAE,aAAa,EACrB,eAAe,EACf,QAAQ,EACR,MAAM,EACN,MAAM,EACN,OAAO,EACP,YAAY,EACZ,cAAc,EACd,eAAe,EAChB,EAAE,EAAE;IACH,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAmB,YAAY,CAAC,CAAC;IACvF,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,eAAK,CAAC,QAAQ,EAAoB,CAAC;IAE7E,2CAA2C;IAC3C,MAAM,KAAK,GAAG,eAAK,CAAC,OAAO,CACzB,GAAG,EAAE,CACH,YAAY,CAAC,GAAG,CAAC,CAAC,gBAAgB,EAAE,KAAK,EAAE,EAAE,CAAC,iCACzC,gBAAgB,GAChB,YAAY,CAAC,KAAK,CAAC,EACtB,CAAC,EACL,CAAC,YAAY,EAAE,YAAY,CAAC,CAC7B,CAAC;IAEF,MAAM,UAAU,GAAG,eAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,KAAK,eAAe,CAAC,EAAE,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC,CAAC;IAErH,MAAM,KAAK,GAAG,eAAK,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,OAAO,aAAP,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AA7FW,QAAA,qBAAqB,yBA6FhC;AAEF,6BAAqB,CAAC,WAAW,GAAG,uBAAuB,CAAC;AAErD,MAAM,gBAAgB,GAAG,GAAG,EAAE,CAAC,eAAK,CAAC,UAAU,CAAC,qBAAa,CAAC,CAAC;AAAzD,QAAA,gBAAgB,oBAAyC"}
@@ -1,45 +0,0 @@
1
- import React from 'react';
2
- import { WizardStepType } from './types';
3
- /**
4
- * Hosts the standard structure of a footer with ties to the active step so that text for buttons can vary from step to step.
5
- */
6
- export interface WizardFooterProps {
7
- /** The active step */
8
- activeStep: WizardStepType;
9
- /** Next button callback */
10
- onNext: (event: React.MouseEvent<HTMLButtonElement>) => void | Promise<void>;
11
- /** Back button callback */
12
- onBack: (event: React.MouseEvent<HTMLButtonElement>) => void | Promise<void>;
13
- /** Cancel link callback */
14
- onClose: (event: React.MouseEvent<HTMLButtonElement>) => void;
15
- /** Custom text for the Next button. The current step's nextButtonText takes precedence. */
16
- nextButtonText?: React.ReactNode;
17
- /** Custom text for the Back button */
18
- backButtonText?: React.ReactNode;
19
- /** Custom text for the Cancel link */
20
- cancelButtonText?: React.ReactNode;
21
- /** Flag to disable the next button */
22
- isNextDisabled?: boolean;
23
- /** Flag to disable the back button */
24
- isBackDisabled?: boolean;
25
- /** True to hide the Back button */
26
- isBackHidden?: boolean;
27
- /** True to hide the Cancel button */
28
- isCancelHidden?: boolean;
29
- }
30
- /**
31
- * Applies default wizard footer styling any number of child elements.
32
- */
33
- interface WizardFooterWrapperProps {
34
- children: React.ReactNode;
35
- }
36
- export declare const WizardFooterWrapper: {
37
- ({ children }: WizardFooterWrapperProps): JSX.Element;
38
- displayName: string;
39
- };
40
- export declare const WizardFooter: {
41
- ({ activeStep, ...internalProps }: WizardFooterProps): JSX.Element;
42
- displayName: string;
43
- };
44
- export {};
45
- //# sourceMappingURL=WizardFooter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WizardFooter.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/Wiz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ty(exports, "__esModule", { value: true });
3
- exports.WizardFooter = exports.WizardFooterWrapper = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_1 = tslib_1.__importDefault(require("react"));
6
- const react_styles_1 = require("@patternfly/react-styles");
7
- const wizard_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Wizard/wizard"));
8
- const Button_1 = require("../../../components/Button");
9
- const types_1 = require("./types");
10
- const WizardFooterWrapper = ({ children }) => (react_1.default.createElement("footer", { className: (0, react_styles_1.css)(wizard_1.default.wizardFooter) }, children));
11
- exports.WizardFooterWrapper = WizardFooterWrapper;
12
- const WizardFooter = (_a) => {
13
- var { activeStep } = _a, internalProps = tslib_1.__rest(_a, ["activeStep"]);
14
- const activeStepFooter = !(0, types_1.isCustomWizardFooter)(activeStep === null || activeStep === void 0 ? void 0 : activeStep.footer) && (activeStep === null || activeStep === void 0 ? void 0 : activeStep.footer);
15
- return react_1.default.createElement(InternalWizardFooter, Object.assign({}, internalProps, activeStepFooter));
16
- };
17
- exports.WizardFooter = WizardFooter;
18
- const InternalWizardFooter = ({ onNext, onBack, onClose, isNextDisabled, isBackDisabled, isBackHidden, isCancelHidden, nextButtonText = 'Next', backButtonText = 'Back', cancelButtonText = 'Cancel' }) => (react_1.default.createElement(exports.WizardFooterWrapper, null,
19
- !isBackHidden && (react_1.default.createElement(Button_1.Button, { variant: Button_1.ButtonVariant.secondary, onClick: onBack, isDisabled: isBackDisabled }, backButtonText)),
20
- react_1.default.createElement(Button_1.Button, { variant: Button_1.ButtonVariant.primary, type: "submit", onClick: onNext, isDisabled: isNextDisabled }, nextButtonText),
21
- !isCancelHidden && (react_1.default.createElement("div", { className: wizard_1.default.wizardFooterCancel },
22
- react_1.default.createElement(Button_1.Button, { variant: Button_1.ButtonVariant.link, onClick: onClose }, cancelButtonText)))));
23
- exports.WizardFooterWrapper.displayName = 'WizardFooterWrapper';
24
- exports.WizardFooter.displayName = 'WizardFooter';
25
- //# sourceMappingURL=WizardFooter.js.map
@@ -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AQ,EAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,IAC9F,cAAc,CACR;IAER,CAAC,cAAc,IAAI,CAClB,uCAAK,SAAS,EAAE,gBAAM,CAAC,kBAAkB;QACvC,8BAAC,eAAM,IAAC,OAAO,EAAE,sBAAa,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,IAClD,gBAAgB,CACV,CACL,CACP,CACmB,CACvB,CAAC;AAEF,2BAAmB,CAAC,WAAW,GAAG,qBAAqB,CAAC;AACxD,oBAAY,CAAC,WAAW,GAAG,cAAc,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"WizardHeader.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/Wizard/WizardHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,WAAW,iBAAiB;IAChC,oEAAoE;IACpE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,wCAAwC;IACxC,oBAAoB,CAAC,EAAE,KAAK,GAAG,GAAG,CAAC;IACnC,uEAAuE;IACvE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iDAAiD;IACjD,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,uBAAuB;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6BAA6B;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CA2BnE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"WizardHeader.js","sourceRoot":"","sources":["../../../../../src/next/components/Wizard/WizardHeader.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2GAA2E;AAC3E,2DAA+C;AAC/C,uDAAoD;AACpD,qDAAkD;AAClD,0GAA0E;AAqBnE,MAAM,YAAY,GAA+C,CAAC,EACvE,OAAO,GAAG,GAAG,EAAE,CAAC,SAAS,EACzB,KAAK,EACL,WAAW,EACX,aAAa,EACb,oBAAoB,EACpB,OAAO,EACP,oBAAoB,EAAE,SAAS,GAAG,GAAG,EACrC,aAAa,EACK,EAAE,EAAE,CAAC,CACvB,6BAAK,SAAS,EAAE,IAAA,kBAAG,EAAC,gBAAM,CAAC,YAAY,CAAC;IACrC,CAAC,aAAa,IAAI,CACjB,oBAAC,eAAM,IAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAE,IAAA,kBAAG,EAAC,gBAAM,CAAC,WAAW,CAAC,gBAAc,oBAAoB,EAAE,OAAO,EAAE,OAAO;QAC5G,oBAAC,oBAAS,mBAAa,MAAM,GAAG,CACzB,CACV;IAED,oBAAC,aAAK,IAAC,YAAY,EAAC,IAAI,EAAC,IAAI,EAAC,KAAK,EAAC,SAAS,EAAE,IAAA,kBAAG,EAAC,gBAAM,CAAC,WAAW,CAAC,gBAAc,KAAK,EAAE,EAAE,EAAE,OAAO,IACnG,KAAK,IAAI,mDAAW,CACf;IAEP,WAAW,IAAI,CACd,oBAAC,SAAS,IAAC,SAAS,EAAE,IAAA,kBAAG,EAAC,gBAAM,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,aAAa,IACnE,WAAW,CACF,CACb,CACG,CACP,CAAC;AA3BW,QAAA,YAAY,gBA2BvB;AAEF,oBAAY,CAAC,WAAW,GAAG,cAAc,CAAC"}
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
- export interface WizardNavProps {
3
- /** children should be WizardNavItem components */
4
- children?: any;
5
- /** Aria-label applied to the navigation element */
6
- 'aria-label'?: string;
7
- /** Sets the aria-labelledby attribute on the navigation element */
8
- 'aria-labelledby'?: string;
9
- /** Whether the navigation is expanded */
10
- isExpanded?: boolean;
11
- /** True to return the inner list without the wrapping navigation element */
12
- isInnerList?: boolean;
13
- }
14
- export declare const WizardNav: React.FunctionComponent<WizardNavProps>;
15
- //# sourceMappingURL=WizardNav.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WizardNav.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/Wizard/WizardNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,cAAc;IAC7B,kDAAkD;IAClD,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mEAAmE;IACnE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CA0B7D,CAAC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WizardNav = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- const wizard_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Wizard/wizard"));
7
- const react_styles_1 = require("@patternfly/react-styles");
8
- const WizardNav = ({ children, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, isExpanded = false, isInnerList = false }) => {
9
- if (isInnerList) {
10
- return (React.createElement("ol", { className: (0, react_styles_1.css)(wizard_1.default.wizardNavList), role: "list" }, children));
11
- }
12
- return (React.createElement("nav", { className: (0, react_styles_1.css)(wizard_1.default.wizardNav, isExpanded && wizard_1.default.modifiers.expanded), "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy },
13
- React.createElement("ol", { className: (0, react_styles_1.css)(wizard_1.default.wizardNavList), role: "list" }, children)));
14
- };
15
- exports.WizardNav = WizardNav;
16
- exports.WizardNav.displayName = 'WizardNav';
17
- //# sourceMappingURL=WizardNav.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WizardNav.js","sourceRoot":"","sources":["../../../../../src/next/components/Wizard/WizardNav.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2GAA2E;AAC3E,2DAA+C;AAexC,MAAM,SAAS,GAA4C,CAAC,EACjE,QAAQ,EACR,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,UAAU,GAAG,KAAK,EAClB,WAAW,GAAG,KAAK,EACJ,EAAE,EAAE;IACnB,IAAI,WAAW,EAAE;QACf,OAAO,CACL,4BAAI,SAAS,EAAE,IAAA,kBAAG,EAAC,gBAAM,CAAC,aAAa,CAAC,EAAE,IAAI,EAAC,MAAM,IAClD,QAAQ,CACN,CACN,CAAC;KACH;IAED,OAAO,CACL,6BACE,SAAS,EAAE,IAAA,kBAAG,EAAC,gBAAM,CAAC,SAAS,EAAE,UAAU,IAAI,gBAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,gBAC7D,SAAS,qBACJ,cAAc;QAE/B,4BAAI,SAAS,EAAE,IAAA,kBAAG,EAAC,gBAAM,CAAC,aAAa,CAAC,EAAE,IAAI,EAAC,MAAM,IAClD,QAAQ,CACN,CACD,CACP,CAAC;AACJ,CAAC,CAAC;AA1BW,QAAA,SAAS,aA0BpB;AAEF,iBAAS,CAAC,WAAW,GAAG,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"WizardNavInternal.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/Wizard/WizardNavInternal.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAGxD;;;GAGG;AAEH,UAAU,sBAAuB,SAAQ,IAAI,CAAC,WAAW,EAAE,iBAAiB,GAAG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AAK,CAAC,EAC1C,MAAM,EAAE,IAAI,CAAC,MAAM,IACf,IAAI,CAAC,OAAO,EAChB,CACH,CACF,CAAC;SACH;IACH,CAAC,CAAC,CACQ,CACb,CAAC;AACJ,CAAC,CAAC;AA/HW,QAAA,iBAAiB,qBA+H5B"}
@@ -1,35 +0,0 @@
1
- import * as React from 'react';
2
- import { OUIAProps } from '../../../helpers';
3
- export interface WizardNavItemProps extends OUIAProps {
4
- /** Can nest a WizardNav component for substeps */
5
- children?: React.ReactNode;
6
- /** The content to display in the navigation item */
7
- content?: React.ReactNode;
8
- /** Whether the navigation item is the currently active item */
9
- isCurrent?: boolean;
10
- /** Whether the navigation item is disabled */
11
- isDisabled?: boolean;
12
- /** Whether the navigation item has been visited */
13
- isVisited?: boolean;
14
- /** The step index passed into the onNavItemClick callback */
15
- stepIndex: number;
16
- /** Callback for when the navigation item is clicked */
17
- onClick?: (event: React.MouseEvent<HTMLButtonElement> | React.MouseEvent<HTMLAnchorElement>, index: number) => any;
18
- /** Component used to render WizardNavItem */
19
- component?: 'button' | 'a';
20
- /** An optional url to use for when using an anchor component */
21
- href?: string;
22
- /** Where to display the linked URL when using an anchor component */
23
- target?: React.HTMLAttributeAnchorTarget;
24
- /** Flag indicating that this NavItem has child steps and is expandable */
25
- isExpandable?: boolean;
26
- /** The id for the navigation item */
27
- id?: string | number;
28
- /** Used to determine the icon displayed next to content. Default has no icon. */
29
- status?: 'default' | 'error';
30
- }
31
- export declare const WizardNavItem: {
32
- ({ children, content, isCurrent, isDisabled, isVisited, stepIndex, onClick, component: NavItemComponent, href, isExpandable, id, status, target, ouiaId, ouiaSafe }: WizardNavItemProps): JSX.Element;
33
- displayName: string;
34
- };
35
- //# sourceMappingURL=WizardNavItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WizardNavItem.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/Wizard/WizardNavItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAE,SAAS,EAAgB,MAAM,kBAAkB,CAAC;AAG3D,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,kDAAkD;IAClD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oDAAoD;IACpD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,+DAA+D;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mDAAmD;IACnD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6DAA6D;IAC7D,SAAS,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,GAAG,CAAC;IACnH,6CAA6C;IAC7C,SAAS,CAAC,EAAE,QAAQ,GAAG,GAAG,CAAC;IAC3B,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,MAAM,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC;IACzC,0EAA0E;IAC1E,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qCAAqC;IACrC,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,iFAAiF;IACjF,MAAM,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,aAAa;yKAgBvB,kBAAkB;;CAkFpB,CAAC"}
@@ -1,53 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WizardNavItem = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- const react_styles_1 = require("@patternfly/react-styles");
7
- const wizard_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Wizard/wizard"));
8
- const angle_right_icon_1 = tslib_1.__importDefault(require('@patternfly/react-icons/dist/js/icons/angle-right-icon'));
9
- const exclamation_circle_icon_1 = tslib_1.__importDefault(require('@patternfly/react-icons/dist/js/icons/exclamation-circle-icon'));
10
- const helpers_1 = require("../../../helpers");
11
- const types_1 = require("./types");
12
- const WizardNavItem = ({ children = null, content = '', isCurrent = false, isDisabled = false, isVisited = false, stepIndex, onClick, component: NavItemComponent = 'button', href, isExpandable = false, id, status = 'default', target, ouiaId, ouiaSafe = true }) => {
13
- const [isExpanded, setIsExpanded] = React.useState(false);
14
- const ouiaProps = (0, helpers_1.useOUIAProps)(exports.WizardNavItem.displayName, ouiaId, ouiaSafe);
15
- React.useEffect(() => {
16
- setIsExpanded(isCurrent);
17
- }, [isCurrent]);
18
- if (NavItemComponent === 'a' && !href && process.env.NODE_ENV !== 'production') {
19
- // eslint-disable-next-line no-console
20
- console.error('WizardNavItem: When using an anchor, please provide an href');
21
- }
22
- const ariaLabel = React.useMemo(() => {
23
- if (status === types_1.WizardNavItemStatus.Error || (isVisited && !isCurrent)) {
24
- let label = content.toString();
25
- if (status === types_1.WizardNavItemStatus.Error) {
26
- label += `, ${status}`;
27
- }
28
- // No need to signify step is visited if current
29
- if (isVisited && !isCurrent) {
30
- label += ', visited';
31
- }
32
- return label;
33
- }
34
- }, [content, isCurrent, isVisited, status]);
35
- return (React.createElement("li", { className: (0, react_styles_1.css)(wizard_1.default.wizardNavItem, isExpandable && wizard_1.default.modifiers.expandable, isExpandable && isExpanded && wizard_1.default.modifiers.expanded) },
36
- React.createElement(NavItemComponent, Object.assign({}, (NavItemComponent === 'a'
37
- ? { tabIndex: isDisabled ? -1 : undefined, href, target }
38
- : { disabled: isDisabled }), (id && { id: id.toString() }), { onClick: e => {
39
- e.stopPropagation();
40
- isExpandable ? setIsExpanded(!isExpanded || isCurrent) : onClick === null || onClick === void 0 ? void 0 : onClick(e, stepIndex);
41
- }, className: (0, react_styles_1.css)(wizard_1.default.wizardNavLink, isCurrent && wizard_1.default.modifiers.current, isDisabled && wizard_1.default.modifiers.disabled), "aria-disabled": isDisabled ? true : null, "aria-current": isCurrent && !children ? 'step' : false }, (isExpandable && { 'aria-expanded': isExpanded }), (ariaLabel && { 'aria-label': ariaLabel }), ouiaProps), isExpandable ? (React.createElement(React.Fragment, null,
42
- React.createElement("span", { className: (0, react_styles_1.css)(wizard_1.default.wizardNavLinkText) }, content),
43
- React.createElement("span", { className: (0, react_styles_1.css)(wizard_1.default.wizardNavLinkToggle) },
44
- React.createElement("span", { className: (0, react_styles_1.css)(wizard_1.default.wizardNavLinkToggleIcon) },
45
- React.createElement(angle_right_icon_1.default, { "aria-label": `${isCurrent ? 'Collapse' : 'Expand'} step icon` }))))) : (React.createElement(React.Fragment, null,
46
- content,
47
- status === types_1.WizardNavItemStatus.Error && (React.createElement("span", { style: { marginLeft: 'var(--pf-global--spacer--sm)' } },
48
- React.createElement(exclamation_circle_icon_1.default, { color: "var(--pf-global--danger-color--100)" })))))),
49
- children));
50
- };
51
- exports.WizardNavItem = WizardNavItem;
52
- exports.WizardNavItem.displayName = 'WizardNavItem';
53
- //# sourceMappingURL=WizardNavItem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WizardNavItem.js","sourceRoot":"","sources":["../../../../../src/next/components/Wizard/WizardNavItem.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAE/B,2DAA+C;AAC/C,2GAA2E;AAC3E,sHAAqF;AACrF,oIAAmG;AAEnG,8CAA2D;AAC3D,mCAA8C;AA+BvC,MAAM,aAAa,GAAG,CAAC,EAC5B,QAAQ,GAAG,IAAI,EACf,OAAO,GAAG,EAAE,EACZ,SAAS,GAAG,KAAK,EACjB,UAAU,GAAG,KAAK,EAClB,SAAS,GAAG,KAAK,EACjB,SAAS,EACT,OAAO,EACP,SAAS,EAAE,gBAAgB,GAAG,QAAQ,EACtC,IAAI,EACJ,YAAY,GAAG,KAAK,EACpB,E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,EAAE,UAAU,EAAE,CAAC,GAC9B,CAAC,QAAQ,IAAI,EAAE,QAAQ,EAAE,CAAC,GAC1B,CAAC,OAAO,IAAI,EAAE,OAAO,EAAE,CAAC,GACxB,CAAC,MAAM,IAAI,EAAE,MAAM,EAAE,CAAC,GACtB,CAAC,MAAM,IAAI,EAAE,MAAM,EAAE,CAAC,GACtB,CAAC,CAAC,YAAY,IAAI,EAAE,MAAK,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,EAAE,CAAA,IAAI,CAAC,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS,CAAA,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAC5F,CAAC;IACL,CAAC,EAAE;QACD,IAAI;QACJ,MAAM;QACN,EAAE;QACF,UAAU;QACV,QAAQ;QACR,IAAI;QACJ,OAAO;QACP,MAAM;QACN,YAAY;QACZ,OAAO;QACP,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,EAAE;QACd,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,SAAS;KACtB,CAAC,CAAC;IAEH,OAAO,8DAAG,QAAQ,CAAI,CAAC;AACzB,CAAC,CAAC;AAlCW,QAAA,UAAU,cAkCrB;AAEF,kBAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
@@ -1,27 +0,0 @@
1
- import React from 'react';
2
- import { WizardStepType } from './types';
3
- import { WizardNavProps } from './WizardNav';
4
- /**
5
- * Used to toggle between step content, including the body and footer. This is also where the navigation and its expandability is controlled.
6
- */
7
- export interface WizardToggleProps {
8
- /** List of steps and/or sub-steps */
9
- steps: WizardStepType[];
10
- /** The current step */
11
- activeStep: WizardStepType;
12
- /** Wizard footer */
13
- footer: React.ReactElement;
14
- /** Wizard navigation */
15
- nav: React.ReactElement<WizardNavProps>;
16
- /** The expandable dropdown button's aria-label */
17
- 'aria-label'?: string;
18
- /** Flag to determine whether the dropdown navigation is expanded */
19
- isNavExpanded?: boolean;
20
- /** Callback to expand or collapse the dropdown navigation */
21
- toggleNavExpanded?: (event: React.MouseEvent<HTMLButtonElement> | KeyboardEvent) => void;
22
- }
23
- export declare const WizardToggle: {
24
- ({ steps, activeStep, footer, nav, isNavExpanded, toggleNavExpanded, "aria-label": ariaLabel }: WizardToggleProps): JSX.Element;
25
- displayName: string;
26
- };
27
- //# sourceMappingURL=WizardToggle.d.ts.map