@patternfly/patternfly-doc-core 1.11.1 → 1.12.1

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 (461) hide show
  1. package/.astro/collections/{examples.schema.json → react-component-docs.schema.json} +4 -3
  2. package/.astro/content-modules.mjs +84 -2
  3. package/.astro/content.d.ts +3 -11
  4. package/cli/cli.ts +35 -16
  5. package/cli/convertToMDX.ts +13 -2
  6. package/cli/createCollectionContent.ts +2 -1
  7. package/dist/cli/cli.js +17 -6
  8. package/dist/cli/convertToMDX.js +10 -2
  9. package/dist/cli/createCollectionContent.js +2 -1
  10. package/dist/docs/_astro/AutoLinkHeader.BijNRLMB.js +1 -0
  11. package/dist/docs/_astro/CSSTable.-Emc9iTg.js +1 -0
  12. package/dist/docs/_astro/DropdownList.DP2npVYh.js +1 -0
  13. package/dist/docs/_astro/Label.CM_es7Cu.js +1 -0
  14. package/dist/docs/_astro/LiveExample.B5R4Dzng.js +263 -0
  15. package/dist/docs/_astro/Navigation.B2RHZcqO.js +1 -0
  16. package/dist/docs/_astro/PageSidebarBody.DgDLnRuY.js +1 -0
  17. package/dist/docs/_astro/PropsTables.D6ZI3FGj.css +1 -0
  18. package/dist/docs/_astro/PropsTables.YkW1puJk.js +1 -0
  19. package/dist/docs/_astro/SearchInput.CQ7aDztp.js +1 -0
  20. package/dist/docs/_astro/SectionGallery.B0I2mi5J.js +1 -0
  21. package/dist/docs/_astro/StackItem.CMxajCCo.js +1 -0
  22. package/dist/docs/_astro/Toolbar.BNjGRsAQ.js +1 -0
  23. package/dist/docs/_astro/ToolbarContent.CAAHjZHW.js +1 -0
  24. package/dist/{_astro/_page_.D1z73Byz.css → docs/_astro/_page_.BG_fQ4i5.css} +1 -1
  25. package/dist/docs/_astro/angle-down-icon.Dqz5ba9D.js +1 -0
  26. package/dist/docs/_astro/c_table__sticky_cell_InsetInlineStart.DGzYmtkF.js +8 -0
  27. package/dist/{_astro/divider.BLVh3KnH.js → docs/_astro/divider.BP4XR7uq.js} +1 -1
  28. package/dist/docs/_astro/index.DGdw5tfb.js +16 -0
  29. package/dist/{_astro/patternfly_charts.Dp3KzAU6.js → docs/_astro/patternfly_charts.CpLYMsW2.js} +23 -30
  30. package/dist/docs/_astro/resizeObserver.BgQpxO8W.js +1 -0
  31. package/dist/{_routes.json → docs/_routes.json} +1 -3
  32. package/dist/{_worker.js → docs/_worker.js}/_@astrojs-ssr-adapter.mjs +1 -1
  33. package/dist/{_worker.js → docs/_worker.js}/_astro-internal_middleware.mjs +3 -3
  34. package/dist/docs/_worker.js/chunks/Backdrop_ByJvccKQ.mjs +1 -0
  35. package/dist/docs/_worker.js/chunks/Backdrop_D12wBLrB.mjs +1 -0
  36. package/dist/docs/_worker.js/chunks/BackgroundImage_7zaRIuh-.mjs +1 -0
  37. package/dist/docs/_worker.js/chunks/BackgroundImage_BFUrU51J.mjs +1 -0
  38. package/dist/docs/_worker.js/chunks/Badge_DloPmeMn.mjs +1 -0
  39. package/dist/docs/_worker.js/chunks/Badge_DxGDbEGv.mjs +1 -0
  40. package/dist/docs/_worker.js/chunks/Banner_4Te4yy7I.mjs +1 -0
  41. package/dist/docs/_worker.js/chunks/Banner_FbFCGml0.mjs +1 -0
  42. package/dist/docs/_worker.js/chunks/Brand_Cjeb58fX.mjs +1 -0
  43. package/dist/docs/_worker.js/chunks/Brand_DZEvbkMH.mjs +1 -0
  44. package/dist/docs/_worker.js/chunks/Breadcrumb_DkNDUMw0.mjs +1 -0
  45. package/dist/docs/_worker.js/chunks/Breadcrumb_bVSwIfTk.mjs +1 -0
  46. package/dist/docs/_worker.js/chunks/Button_BqggYTWh.mjs +1 -0
  47. package/dist/docs/_worker.js/chunks/Button_DbZb-z5h.mjs +1 -0
  48. package/dist/docs/_worker.js/chunks/CalendarMonth_BdoIQD1o.mjs +1 -0
  49. package/dist/docs/_worker.js/chunks/CalendarMonth_BqZc2rYW.mjs +1 -0
  50. package/dist/docs/_worker.js/chunks/Card_BW6WmwTW.mjs +1 -0
  51. package/dist/docs/_worker.js/chunks/Card_CEDol7Xx.mjs +1 -0
  52. package/dist/docs/_worker.js/chunks/Checkbox_BqVpiIvF.mjs +1 -0
  53. package/dist/docs/_worker.js/chunks/Checkbox_DSYhfv7p.mjs +1 -0
  54. package/dist/docs/_worker.js/chunks/Chip_BciXepRF.mjs +1 -0
  55. package/dist/docs/_worker.js/chunks/Chip_C23BxFTk.mjs +1 -0
  56. package/dist/docs/_worker.js/chunks/ClipboardCopy_BjySfoK1.mjs +1 -0
  57. package/dist/docs/_worker.js/chunks/ClipboardCopy_CvrD2b3T.mjs +1 -0
  58. package/dist/docs/_worker.js/chunks/CodeBlock_CuH1PrfL.mjs +1 -0
  59. package/dist/docs/_worker.js/chunks/CodeBlock_DK5AauFn.mjs +1 -0
  60. package/dist/docs/_worker.js/chunks/Content_BfZIFUr8.mjs +1 -0
  61. package/dist/docs/_worker.js/chunks/Content_lBUC3eEp.mjs +1 -0
  62. package/dist/docs/_worker.js/chunks/DataList_CSJAkMMZ.mjs +1 -0
  63. package/dist/docs/_worker.js/chunks/DataList_CaFvg0uz.mjs +1 -0
  64. package/dist/docs/_worker.js/chunks/DatePicker_Cw2abdEU.mjs +1 -0
  65. package/dist/docs/_worker.js/chunks/DatePicker_bYwsFHXL.mjs +1 -0
  66. package/dist/docs/_worker.js/chunks/DescriptionList_BTTyevMb.mjs +1 -0
  67. package/dist/docs/_worker.js/chunks/DescriptionList_Dr51d-67.mjs +1 -0
  68. package/dist/docs/_worker.js/chunks/Divider_BgOt1--F.mjs +1 -0
  69. package/dist/docs/_worker.js/chunks/Divider_Bh7n4QTo.mjs +1 -0
  70. package/dist/docs/_worker.js/chunks/DragDrop_BF-aF6Z8.mjs +1 -0
  71. package/dist/docs/_worker.js/chunks/DragDrop_DId590rN.mjs +1 -0
  72. package/dist/docs/_worker.js/chunks/Drawer_BVywTMVo.mjs +1 -0
  73. package/dist/docs/_worker.js/chunks/Drawer_RrCnySEa.mjs +1 -0
  74. package/dist/docs/_worker.js/chunks/Dropdown_BjtqviYW.mjs +1 -0
  75. package/dist/docs/_worker.js/chunks/Dropdown_GiUvjFPw.mjs +1 -0
  76. package/dist/docs/_worker.js/chunks/DualListSelector_8uLukfP0.mjs +1 -0
  77. package/dist/docs/_worker.js/chunks/DualListSelector_Bgj1IWqe.mjs +1 -0
  78. package/dist/docs/_worker.js/chunks/DualListSelector_C5QjTplp.mjs +1 -0
  79. package/dist/docs/_worker.js/chunks/DualListSelector_DLgspM0s.mjs +1 -0
  80. package/dist/docs/_worker.js/chunks/EmptyState_Ct_PJba3.mjs +1 -0
  81. package/dist/docs/_worker.js/chunks/EmptyState_Dk3hKJlg.mjs +1 -0
  82. package/dist/docs/_worker.js/chunks/ExpandableSection_DSw76PjZ.mjs +1 -0
  83. package/dist/docs/_worker.js/chunks/ExpandableSection_vUQO3FgG.mjs +1 -0
  84. package/dist/docs/_worker.js/chunks/FileUpload_CEvZ0G-d.mjs +1 -0
  85. package/dist/docs/_worker.js/chunks/FileUpload_Ci_s8Ghd.mjs +1 -0
  86. package/dist/docs/_worker.js/chunks/FormSelect_C2YPRAlw.mjs +1 -0
  87. package/dist/docs/_worker.js/chunks/FormSelect_DWShl8Fb.mjs +1 -0
  88. package/dist/docs/_worker.js/chunks/Form_Dyb98Nez.mjs +1 -0
  89. package/dist/docs/_worker.js/chunks/Form_olaoRN4o.mjs +1 -0
  90. package/dist/docs/_worker.js/chunks/HelperText_2CcHVaih.mjs +1 -0
  91. package/dist/docs/_worker.js/chunks/HelperText_DthGttZo.mjs +1 -0
  92. package/dist/docs/_worker.js/chunks/Hint_BXDZKYhJ.mjs +1 -0
  93. package/dist/docs/_worker.js/chunks/Hint_DHoiYdn6.mjs +1 -0
  94. package/dist/docs/_worker.js/chunks/Icon_C4IPnIAg.mjs +1 -0
  95. package/dist/docs/_worker.js/chunks/Icon_C_Dqbg9w.mjs +1 -0
  96. package/dist/docs/_worker.js/chunks/InputGroup_CDKP-uXZ.mjs +1 -0
  97. package/dist/docs/_worker.js/chunks/InputGroup_CmZgaEyr.mjs +1 -0
  98. package/dist/docs/_worker.js/chunks/JumpLinks_DvM3PVg0.mjs +1 -0
  99. package/dist/docs/_worker.js/chunks/JumpLinks_Dvdlxdps.mjs +1 -0
  100. package/dist/docs/_worker.js/chunks/Label_C7fP9Jp9.mjs +1 -0
  101. package/dist/docs/_worker.js/chunks/Label_Cxir7_Q4.mjs +1 -0
  102. package/dist/docs/_worker.js/chunks/List_CUgwFnXa.mjs +1 -0
  103. package/dist/docs/_worker.js/chunks/List_CWAsiYnN.mjs +1 -0
  104. package/dist/docs/_worker.js/chunks/LoginPage_BDfliKtU.mjs +1 -0
  105. package/dist/docs/_worker.js/chunks/LoginPage_BjIl_nF9.mjs +1 -0
  106. package/dist/docs/_worker.js/chunks/Masthead_BWjm5CFj.mjs +1 -0
  107. package/dist/docs/_worker.js/chunks/Masthead_BZnYzDu_.mjs +1 -0
  108. package/dist/docs/_worker.js/chunks/MenuToggle_DeKwv469.mjs +1 -0
  109. package/dist/docs/_worker.js/chunks/MenuToggle_DmJISlPR.mjs +1 -0
  110. package/dist/docs/_worker.js/chunks/Menu_DRRoq5PM.mjs +1 -0
  111. package/dist/docs/_worker.js/chunks/Menu_Sl-QVQ_w.mjs +1 -0
  112. package/dist/docs/_worker.js/chunks/Modal_6WZzoDHU.mjs +1 -0
  113. package/dist/docs/_worker.js/chunks/Modal_BI2dVPRJ.mjs +1 -0
  114. package/dist/docs/_worker.js/chunks/Modal_CdokBUDP.mjs +1 -0
  115. package/dist/docs/_worker.js/chunks/Modal_DJRobnfc.mjs +1 -0
  116. package/dist/docs/_worker.js/chunks/MultipleFileUpload_BaHVtkF_.mjs +1 -0
  117. package/dist/docs/_worker.js/chunks/MultipleFileUpload_BznvLbsj.mjs +1 -0
  118. package/dist/docs/_worker.js/chunks/Nav_DwqATcJ4.mjs +1 -0
  119. package/dist/docs/_worker.js/chunks/Nav_GZ0nRYXE.mjs +1 -0
  120. package/dist/docs/_worker.js/chunks/NotificationBadge_DO4OLgvO.mjs +1 -0
  121. package/dist/docs/_worker.js/chunks/NotificationBadge_DjINhOQ5.mjs +1 -0
  122. package/dist/docs/_worker.js/chunks/NotificationDrawer_BtpQ4pmZ.mjs +1 -0
  123. package/dist/docs/_worker.js/chunks/NotificationDrawer_D1lmMCgd.mjs +1 -0
  124. package/dist/docs/_worker.js/chunks/NumberInput_CggpJ5ge.mjs +1 -0
  125. package/dist/docs/_worker.js/chunks/NumberInput_zMcSUUwH.mjs +1 -0
  126. package/dist/docs/_worker.js/chunks/OverflowMenu_BX4nwFvK.mjs +1 -0
  127. package/dist/docs/_worker.js/chunks/OverflowMenu_DnQ7wMy-.mjs +1 -0
  128. package/dist/docs/_worker.js/chunks/Page_Cw_XTB6Y.mjs +1 -0
  129. package/dist/docs/_worker.js/chunks/Page_UhywZXdY.mjs +1 -0
  130. package/dist/docs/_worker.js/chunks/Pagination_7rr0n7-V.mjs +1 -0
  131. package/dist/docs/_worker.js/chunks/Pagination_Dc5L6yaI.mjs +1 -0
  132. package/dist/docs/_worker.js/chunks/Panel_Bl_LqCWS.mjs +1 -0
  133. package/dist/docs/_worker.js/chunks/Panel_s8-TwBlS.mjs +1 -0
  134. package/dist/docs/_worker.js/chunks/Popover_CjipqBWs.mjs +1 -0
  135. package/dist/docs/_worker.js/chunks/Popover_DvQgGJTf.mjs +1 -0
  136. package/dist/docs/_worker.js/chunks/ProgressStepper_DXBI4K2w.mjs +1 -0
  137. package/dist/docs/_worker.js/chunks/ProgressStepper_lBd5mTHE.mjs +1 -0
  138. package/dist/docs/_worker.js/chunks/Progress_BZA5taDC.mjs +1 -0
  139. package/dist/docs/_worker.js/chunks/Progress_CIgybc-D.mjs +1 -0
  140. package/dist/docs/_worker.js/chunks/Radio_3tPx1coq.mjs +1 -0
  141. package/dist/docs/_worker.js/chunks/Radio_BG7VZAk6.mjs +1 -0
  142. package/dist/docs/_worker.js/chunks/SearchInput_BZ43-Elo.mjs +1 -0
  143. package/dist/docs/_worker.js/chunks/SearchInput_aCFv-N1U.mjs +1 -0
  144. package/dist/docs/_worker.js/chunks/Select_B4cumL7U.mjs +1 -0
  145. package/dist/docs/_worker.js/chunks/Select_CJ78kBVM.mjs +1 -0
  146. package/dist/docs/_worker.js/chunks/Sidebar_Bto2_gKJ.mjs +1 -0
  147. package/dist/docs/_worker.js/chunks/Sidebar_DOfifBRA.mjs +1 -0
  148. package/dist/docs/_worker.js/chunks/SimpleList_CVkO5Odp.mjs +1 -0
  149. package/dist/docs/_worker.js/chunks/SimpleList_oJajk3_z.mjs +1 -0
  150. package/dist/docs/_worker.js/chunks/Skeleton_CCJNka-d.mjs +1 -0
  151. package/dist/docs/_worker.js/chunks/Skeleton_N02yA_k6.mjs +1 -0
  152. package/dist/docs/_worker.js/chunks/SkipToContent_DvOYRCWm.mjs +1 -0
  153. package/dist/docs/_worker.js/chunks/SkipToContent_o7vh-U_u.mjs +1 -0
  154. package/dist/docs/_worker.js/chunks/Slider_C0bH-JMY.mjs +1 -0
  155. package/dist/docs/_worker.js/chunks/Slider_CWRDqhx4.mjs +1 -0
  156. package/dist/docs/_worker.js/chunks/Spinner_B-x8bJt0.mjs +1 -0
  157. package/dist/docs/_worker.js/chunks/Spinner_hzAAbZdS.mjs +1 -0
  158. package/dist/docs/_worker.js/chunks/Switch_Cpr1OETy.mjs +1 -0
  159. package/dist/docs/_worker.js/chunks/Switch_Du7AKJ4O.mjs +1 -0
  160. package/dist/docs/_worker.js/chunks/Tabs_CzDrfKA-.mjs +1 -0
  161. package/dist/docs/_worker.js/chunks/Tabs_KXDkISY4.mjs +1 -0
  162. package/dist/docs/_worker.js/chunks/TextArea_C1dmG8mr.mjs +1 -0
  163. package/dist/docs/_worker.js/chunks/TextArea_Dtm0m8LO.mjs +1 -0
  164. package/dist/docs/_worker.js/chunks/TextInputGroup_D0NXU95v.mjs +1 -0
  165. package/dist/docs/_worker.js/chunks/TextInputGroup_mJpBrogC.mjs +1 -0
  166. package/dist/docs/_worker.js/chunks/TextInput_B0XLYaVA.mjs +1 -0
  167. package/dist/docs/_worker.js/chunks/TextInput_CmLcsUiv.mjs +1 -0
  168. package/dist/docs/_worker.js/chunks/Tile_CF_12LPU.mjs +1 -0
  169. package/dist/docs/_worker.js/chunks/Tile_DJ0LawLW.mjs +1 -0
  170. package/dist/docs/_worker.js/chunks/TimePicker_CijfSKJQ.mjs +1 -0
  171. package/dist/docs/_worker.js/chunks/TimePicker_VX9VE-Uy.mjs +1 -0
  172. package/dist/docs/_worker.js/chunks/Timestamp_D7uyrIK7.mjs +1 -0
  173. package/dist/docs/_worker.js/chunks/Timestamp_c2Mozpr4.mjs +1 -0
  174. package/dist/docs/_worker.js/chunks/Title_DbrwFEEy.mjs +1 -0
  175. package/dist/docs/_worker.js/chunks/Title_DlFn7G9R.mjs +1 -0
  176. package/dist/docs/_worker.js/chunks/ToggleGroup_DpLWzfAW.mjs +1 -0
  177. package/dist/docs/_worker.js/chunks/ToggleGroup_j1ooRpX3.mjs +1 -0
  178. package/dist/docs/_worker.js/chunks/Toolbar_BEIh7r7J.mjs +1 -0
  179. package/dist/docs/_worker.js/chunks/Toolbar_mjrD3_l-.mjs +1 -0
  180. package/dist/docs/_worker.js/chunks/Tooltip_Bp5XOVoV.mjs +1 -0
  181. package/dist/docs/_worker.js/chunks/Tooltip_BrFKk02i.mjs +1 -0
  182. package/dist/docs/_worker.js/chunks/TreeView_BImfKPD_.mjs +1 -0
  183. package/dist/docs/_worker.js/chunks/TreeView_CgO4iC1E.mjs +1 -0
  184. package/dist/docs/_worker.js/chunks/Truncate_Bn55QoeZ.mjs +1 -0
  185. package/dist/docs/_worker.js/chunks/Truncate_S939OotH.mjs +1 -0
  186. package/dist/docs/_worker.js/chunks/Wizard_B28f3non.mjs +1 -0
  187. package/dist/docs/_worker.js/chunks/Wizard_B4Dw5Yc8.mjs +1 -0
  188. package/dist/docs/_worker.js/chunks/Wizard_BOCBVIjJ.mjs +1 -0
  189. package/dist/docs/_worker.js/chunks/Wizard_C2sit354.mjs +1 -0
  190. package/dist/{_worker.js/renderers.mjs → docs/_worker.js/chunks/_@astro-renderers_D4IG6Oyo.mjs} +55 -3
  191. package/dist/{_worker.js/chunks/_@astrojs-ssr-adapter_IMtcR503.mjs → docs/_worker.js/chunks/_@astrojs-ssr-adapter_CBRUgCDy.mjs} +4 -4
  192. package/dist/docs/_worker.js/chunks/_astro_assets_tcq0nD7B.mjs +1 -0
  193. package/dist/docs/_worker.js/chunks/_astro_data-layer-content_gjMewtSO.mjs +1 -0
  194. package/dist/{_worker.js/chunks/astro/server_YsSSp7Ny.mjs → docs/_worker.js/chunks/astro/server_CVEnF9i1.mjs} +1 -3
  195. package/dist/{_worker.js/chunks/astro-designed-error-pages_MEt0E9xn.mjs → docs/_worker.js/chunks/astro-designed-error-pages_CXRddWNa.mjs} +1 -1
  196. package/dist/docs/_worker.js/chunks/content-assets_XqCgPAV2.mjs +1 -0
  197. package/dist/docs/_worker.js/chunks/content-modules_D0Eecfsp.mjs +1 -0
  198. package/dist/{_worker.js/chunks/index_BE2AHcwI.mjs → docs/_worker.js/chunks/index_CYXMeXT4.mjs} +2 -2
  199. package/dist/{_worker.js/chunks/noop-middleware_CMUpAQ6F.mjs → docs/_worker.js/chunks/noop-middleware_DIXVCvyq.mjs} +1 -1
  200. package/dist/docs/_worker.js/chunks/sharp_BPZD2zgR.mjs +1 -0
  201. package/dist/{_worker.js → docs/_worker.js}/index.js +4 -8
  202. package/dist/docs/_worker.js/manifest_DGS5MtBy.mjs +100 -0
  203. package/dist/{_worker.js → docs/_worker.js}/pages/_image.astro.mjs +1 -1
  204. package/dist/docs/_worker.js/pages/_section_/_---page_.astro.mjs +1 -0
  205. package/dist/docs/_worker.js/pages/_section_/_page_/_---tab_.astro.mjs +1 -0
  206. package/dist/docs/_worker.js/pages/index.astro.mjs +1 -0
  207. package/dist/{_worker.js → docs/_worker.js}/pages/props.astro.mjs +1 -1
  208. package/dist/docs/_worker.js/renderers.mjs +2 -0
  209. package/dist/docs/components/about-modal/index.html +56 -0
  210. package/dist/docs/components/about-modal/react/index.html +56 -0
  211. package/dist/docs/components/accordion/index.html +62 -0
  212. package/dist/docs/components/accordion/react/index.html +62 -0
  213. package/dist/docs/components/action-list/index.html +59 -0
  214. package/dist/docs/components/action-list/react/index.html +59 -0
  215. package/dist/docs/components/alert/index.html +428 -0
  216. package/dist/docs/components/alert/react/index.html +428 -0
  217. package/dist/docs/components/avatar/index.html +56 -0
  218. package/dist/docs/components/avatar/react/index.html +56 -0
  219. package/dist/docs/components/back-to-top/index.html +53 -0
  220. package/dist/docs/components/back-to-top/react/index.html +53 -0
  221. package/dist/docs/components/backdrop/index.html +49 -0
  222. package/dist/docs/components/backdrop/react/index.html +49 -0
  223. package/dist/docs/components/background-image/index.html +49 -0
  224. package/dist/docs/components/background-image/react/index.html +49 -0
  225. package/dist/docs/components/badge/index.html +57 -0
  226. package/dist/docs/components/badge/react/index.html +57 -0
  227. package/dist/docs/components/banner/index.html +57 -0
  228. package/dist/docs/components/banner/react/index.html +57 -0
  229. package/dist/docs/components/brand/index.html +55 -0
  230. package/dist/docs/components/brand/react/index.html +55 -0
  231. package/dist/docs/components/breadcrumb/index.html +59 -0
  232. package/dist/docs/components/breadcrumb/react/index.html +59 -0
  233. package/dist/docs/components/button/index.html +152 -0
  234. package/dist/docs/components/button/react/index.html +152 -0
  235. package/dist/docs/components/calendar-month/index.html +55 -0
  236. package/dist/docs/components/calendar-month/react/index.html +55 -0
  237. package/dist/docs/components/card/index.html +159 -0
  238. package/dist/docs/components/card/react/index.html +159 -0
  239. package/dist/docs/components/checkbox/index.html +78 -0
  240. package/dist/docs/components/checkbox/react/index.html +78 -0
  241. package/dist/docs/components/chip/index.html +61 -0
  242. package/dist/docs/components/chip/react-deprecated/index.html +61 -0
  243. package/dist/docs/components/clipboard-copy/index.html +84 -0
  244. package/dist/docs/components/clipboard-copy/react/index.html +84 -0
  245. package/dist/docs/components/code-block/index.html +55 -0
  246. package/dist/docs/components/code-block/react/index.html +55 -0
  247. package/dist/docs/components/content/index.html +79 -0
  248. package/dist/docs/components/content/react/index.html +79 -0
  249. package/dist/docs/components/data-list/index.html +86 -0
  250. package/dist/docs/components/data-list/react/index.html +86 -0
  251. package/dist/docs/components/date-picker/index.html +77 -0
  252. package/dist/docs/components/date-picker/react/index.html +77 -0
  253. package/dist/docs/components/description-list/index.html +135 -0
  254. package/dist/docs/components/description-list/react/index.html +135 -0
  255. package/dist/docs/components/divider/index.html +74 -0
  256. package/dist/docs/components/divider/react/index.html +74 -0
  257. package/dist/docs/components/drag-and-drop/index.html +69 -0
  258. package/dist/docs/components/drag-and-drop/react-deprecated/index.html +69 -0
  259. package/dist/docs/components/drawer/index.html +108 -0
  260. package/dist/docs/components/drawer/react/index.html +108 -0
  261. package/dist/docs/components/dropdown/index.html +71 -0
  262. package/dist/docs/components/dropdown/react/index.html +71 -0
  263. package/dist/docs/components/dual-list-selector/index.html +89 -0
  264. package/dist/docs/components/dual-list-selector/react/index.html +89 -0
  265. package/dist/docs/components/dual-list-selector/react-deprecated/index.html +106 -0
  266. package/dist/docs/components/empty-state/index.html +71 -0
  267. package/dist/docs/components/empty-state/react/index.html +71 -0
  268. package/dist/docs/components/expandable-section/index.html +76 -0
  269. package/dist/docs/components/expandable-section/react/index.html +76 -0
  270. package/dist/docs/components/form/index.html +87 -0
  271. package/dist/docs/components/form/react/index.html +87 -0
  272. package/dist/docs/components/form-select/index.html +59 -0
  273. package/dist/docs/components/form-select/react/index.html +59 -0
  274. package/dist/docs/components/helper-text/index.html +57 -0
  275. package/dist/docs/components/helper-text/react/index.html +57 -0
  276. package/dist/docs/components/hint/index.html +59 -0
  277. package/dist/docs/components/hint/react/index.html +59 -0
  278. package/dist/docs/components/icon/index.html +80 -0
  279. package/dist/docs/components/icon/react/index.html +80 -0
  280. package/dist/docs/components/input-group/index.html +62 -0
  281. package/dist/docs/components/input-group/react/index.html +62 -0
  282. package/dist/docs/components/jump-links/index.html +66 -0
  283. package/dist/docs/components/jump-links/react/index.html +66 -0
  284. package/dist/docs/components/label/index.html +103 -0
  285. package/dist/docs/components/label/react/index.html +103 -0
  286. package/dist/docs/components/list/index.html +68 -0
  287. package/dist/docs/components/list/react/index.html +68 -0
  288. package/dist/docs/components/login-page/index.html +56 -0
  289. package/dist/docs/components/login-page/react/index.html +56 -0
  290. package/dist/docs/components/masthead/index.html +76 -0
  291. package/dist/docs/components/masthead/react/index.html +76 -0
  292. package/dist/docs/components/menu/index.html +160 -0
  293. package/dist/docs/components/menu/react/index.html +160 -0
  294. package/dist/docs/components/menu-toggle/index.html +201 -0
  295. package/dist/docs/components/menu-toggle/react/index.html +201 -0
  296. package/dist/docs/components/modal/index.html +113 -0
  297. package/dist/docs/components/modal/react/index.html +113 -0
  298. package/dist/docs/components/modal/react-deprecated/index.html +117 -0
  299. package/dist/docs/components/multiple-file-upload/index.html +84 -0
  300. package/dist/docs/components/multiple-file-upload/react/index.html +84 -0
  301. package/dist/docs/components/navigation/index.html +89 -0
  302. package/dist/docs/components/navigation/react/index.html +89 -0
  303. package/dist/docs/components/notification-badge/index.html +65 -0
  304. package/dist/docs/components/notification-badge/react/index.html +65 -0
  305. package/dist/docs/components/notification-drawer/index.html +56 -0
  306. package/dist/docs/components/notification-drawer/react/index.html +56 -0
  307. package/dist/docs/components/number-input/index.html +72 -0
  308. package/dist/docs/components/number-input/react/index.html +72 -0
  309. package/dist/docs/components/overflow-menu/index.html +64 -0
  310. package/dist/docs/components/overflow-menu/react/index.html +64 -0
  311. package/dist/docs/components/page/index.html +114 -0
  312. package/dist/docs/components/page/react/index.html +114 -0
  313. package/dist/docs/components/pagination/index.html +77 -0
  314. package/dist/docs/components/pagination/react/index.html +77 -0
  315. package/dist/docs/components/panel/index.html +196 -0
  316. package/dist/docs/components/panel/react/index.html +196 -0
  317. package/dist/docs/components/popover/index.html +89 -0
  318. package/dist/docs/components/popover/react/index.html +89 -0
  319. package/dist/docs/components/progress/index.html +101 -0
  320. package/dist/docs/components/progress/react/index.html +101 -0
  321. package/dist/docs/components/progress-stepper/index.html +74 -0
  322. package/dist/docs/components/progress-stepper/react/index.html +74 -0
  323. package/dist/docs/components/radio/index.html +75 -0
  324. package/dist/docs/components/radio/react/index.html +75 -0
  325. package/dist/docs/components/search-input/index.html +76 -0
  326. package/dist/docs/components/search-input/react/index.html +76 -0
  327. package/dist/docs/components/select/index.html +129 -0
  328. package/dist/docs/components/select/react/index.html +129 -0
  329. package/dist/docs/components/sidebar/index.html +77 -0
  330. package/dist/docs/components/sidebar/react/index.html +77 -0
  331. package/dist/docs/components/simple-file-upload/index.html +93 -0
  332. package/dist/docs/components/simple-file-upload/react/index.html +93 -0
  333. package/dist/docs/components/simple-list/index.html +59 -0
  334. package/dist/docs/components/simple-list/react/index.html +59 -0
  335. package/dist/docs/components/skeleton/index.html +62 -0
  336. package/dist/docs/components/skeleton/react/index.html +62 -0
  337. package/dist/docs/components/skip-to-content/index.html +49 -0
  338. package/dist/docs/components/skip-to-content/react/index.html +49 -0
  339. package/dist/docs/components/slider/index.html +78 -0
  340. package/dist/docs/components/slider/react/index.html +78 -0
  341. package/dist/docs/components/spinner/index.html +59 -0
  342. package/dist/docs/components/spinner/react/index.html +59 -0
  343. package/dist/docs/components/switch/index.html +66 -0
  344. package/dist/docs/components/switch/react/index.html +66 -0
  345. package/dist/docs/components/tabs/index.html +169 -0
  346. package/dist/docs/components/tabs/react/index.html +169 -0
  347. package/dist/docs/components/text-area/index.html +77 -0
  348. package/dist/docs/components/text-area/react/index.html +77 -0
  349. package/dist/docs/components/text-input/index.html +71 -0
  350. package/dist/docs/components/text-input/react/index.html +71 -0
  351. package/dist/docs/components/text-input-group/index.html +68 -0
  352. package/dist/docs/components/text-input-group/react/index.html +68 -0
  353. package/dist/docs/components/tile/index.html +153 -0
  354. package/dist/docs/components/tile/react-deprecated/index.html +153 -0
  355. package/dist/docs/components/time-picker/index.html +67 -0
  356. package/dist/docs/components/time-picker/react/index.html +67 -0
  357. package/dist/docs/components/timestamp/index.html +75 -0
  358. package/dist/docs/components/timestamp/react/index.html +75 -0
  359. package/dist/docs/components/title/index.html +53 -0
  360. package/dist/docs/components/title/react/index.html +53 -0
  361. package/dist/docs/components/toggle-group/index.html +74 -0
  362. package/dist/docs/components/toggle-group/react/index.html +74 -0
  363. package/dist/docs/components/toolbar/index.html +111 -0
  364. package/dist/docs/components/toolbar/react/index.html +111 -0
  365. package/dist/docs/components/tooltip/index.html +65 -0
  366. package/dist/docs/components/tooltip/react/index.html +65 -0
  367. package/dist/docs/components/tree-view/index.html +93 -0
  368. package/dist/docs/components/tree-view/react/index.html +93 -0
  369. package/dist/docs/components/truncate/index.html +80 -0
  370. package/dist/docs/components/truncate/react/index.html +80 -0
  371. package/dist/docs/components/wizard/index.html +120 -0
  372. package/dist/docs/components/wizard/react/index.html +120 -0
  373. package/dist/docs/components/wizard/react-deprecated/index.html +372 -0
  374. package/dist/docs/index.html +43 -0
  375. package/dist/props.json +1 -0
  376. package/package.json +8 -4
  377. package/src/components/AutoLinkHeader.tsx +3 -11
  378. package/src/components/DocsTables.astro +10 -4
  379. package/src/components/LiveExample.tsx +2 -0
  380. package/src/components/PropsTables.tsx +62 -0
  381. package/src/content.config.ts +5 -3
  382. package/src/content.ts +1 -15
  383. package/src/layouts/Main.astro +1 -0
  384. package/src/pages/[section]/[...page].astro +1 -5
  385. package/src/pages/[section]/[page]/[...tab].astro +1 -1
  386. package/.astro/collections/textContent.schema.json +0 -59
  387. package/dist/_astro/CSSTable.E6iSHjec.js +0 -1
  388. package/dist/_astro/DropdownList.-xE7qrND.js +0 -1
  389. package/dist/_astro/LiveExample.CVVccYEB.js +0 -259
  390. package/dist/_astro/Navigation.CONcolRR.js +0 -1
  391. package/dist/_astro/PageSidebarBody.CDWZuFeK.js +0 -1
  392. package/dist/_astro/SearchInput.BNt7BTX_.js +0 -1
  393. package/dist/_astro/SectionGallery.Dwb-QA5z.js +0 -1
  394. package/dist/_astro/Toolbar.DNd68Ck-.js +0 -1
  395. package/dist/_astro/ToolbarContent.C58gpKLu.js +0 -1
  396. package/dist/_astro/_page_.CtheD08_.css +0 -1
  397. package/dist/_astro/index.jm6QVFFy.js +0 -16
  398. package/dist/_worker.js/chunks/AutoLinkHeader_DLgn_YRm.mjs +0 -739
  399. package/dist/_worker.js/chunks/Button_CBcC0ViE.mjs +0 -709
  400. package/dist/_worker.js/chunks/CSSTable_C1dV02qV.mjs +0 -18
  401. package/dist/_worker.js/chunks/DocsTables_Br4g5x5_.mjs +0 -20
  402. package/dist/_worker.js/chunks/PropsTables_Dcd7znAq.mjs +0 -6628
  403. package/dist/_worker.js/chunks/angle-down-icon_VyCXUC7F.mjs +0 -3686
  404. package/dist/_worker.js/chunks/index_CBCp_CJ0.mjs +0 -57
  405. package/dist/_worker.js/manifest_0KWZohUX.mjs +0 -100
  406. package/dist/components/accordion/index.html +0 -60
  407. package/dist/components/accordion/react/index.html +0 -60
  408. package/dist/components/all-components/index.html +0 -47
  409. package/dist/design-foundations/typography/index.html +0 -198
  410. package/dist/design-foundations/usage-and-behavior/index.html +0 -347
  411. package/dist/get-started/contribute/index.html +0 -94
  412. package/dist/index.html +0 -43
  413. package/src/components/PropsTables.astro +0 -52
  414. /package/{README.md → README.mdx} +0 -0
  415. /package/dist/{.assetsignore → docs/.assetsignore} +0 -0
  416. /package/dist/{PF-HorizontalLogo-Color.svg → docs/PF-HorizontalLogo-Color.svg} +0 -0
  417. /package/dist/{PF-HorizontalLogo-Reverse.svg → docs/PF-HorizontalLogo-Reverse.svg} +0 -0
  418. /package/dist/{_astro/_page_.Chv_bGyU.css → docs/_astro/AutoLinkHeader.Chv_bGyU.css} +0 -0
  419. /package/dist/{_astro → docs/_astro}/Button.BVfR1y85.js +0 -0
  420. /package/dist/{_astro → docs/_astro}/ClientRouter.astro_astro_type_script_index_0_lang.CtSceO8m.js +0 -0
  421. /package/dist/{_astro → docs/_astro}/Content.CYLxURqU.js +0 -0
  422. /package/dist/{_astro → docs/_astro}/LiveExample.CxJsMvEq.css +0 -0
  423. /package/dist/{_astro → docs/_astro}/PageContext.BUbWpNW2.js +0 -0
  424. /package/dist/{_astro → docs/_astro}/PageToggle.Dnbvoa7R.js +0 -0
  425. /package/dist/{_astro → docs/_astro}/RedHatDisplayVF-Italic.CRpusWc8.woff2 +0 -0
  426. /package/dist/{_astro → docs/_astro}/RedHatDisplayVF.CYDHf1NI.woff2 +0 -0
  427. /package/dist/{_astro → docs/_astro}/RedHatMonoVF-Italic.DGQo2ogW.woff2 +0 -0
  428. /package/dist/{_astro → docs/_astro}/RedHatMonoVF.C4fMH6Vz.woff2 +0 -0
  429. /package/dist/{_astro → docs/_astro}/RedHatTextVF-Italic.Dkj_WqbA.woff2 +0 -0
  430. /package/dist/{_astro → docs/_astro}/RedHatTextVF.wYvZ7prR.woff2 +0 -0
  431. /package/dist/{_astro → docs/_astro}/_page_.DxJDkZPc.css +0 -0
  432. /package/dist/{_astro → docs/_astro}/angle-left-icon.CfKwuSCS.js +0 -0
  433. /package/dist/{_astro → docs/_astro}/bars-icon.wdJgEs3A.js +0 -0
  434. /package/dist/{_astro → docs/_astro}/client.DN8ES6L5.js +0 -0
  435. /package/dist/{_astro → docs/_astro}/fa-solid-900.DguXoeIz.woff2 +0 -0
  436. /package/dist/{_astro → docs/_astro}/github-icon.DzpohUp_.js +0 -0
  437. /package/dist/{_astro → docs/_astro}/index.BQFV5hT1.js +0 -0
  438. /package/dist/{_astro → docs/_astro}/index.CAChmxYj.js +0 -0
  439. /package/dist/{_astro → docs/_astro}/index.eCxJ45ll.js +0 -0
  440. /package/dist/{_astro → docs/_astro}/page.BTC3Kf3x.js +0 -0
  441. /package/dist/{_astro → docs/_astro}/pf-v6-pficon.Dy6oiu9u.woff2 +0 -0
  442. /package/dist/{_worker.js → docs/_worker.js}/_noop-actions.mjs +0 -0
  443. /package/dist/{_worker.js/chunks/Accordion_CQUal4ef.mjs → docs/_worker.js/chunks/AboutModal_CrdYiVZ2.mjs} +0 -0
  444. /package/dist/{_worker.js/chunks/Accordion_R7bP3pwr.mjs → docs/_worker.js/chunks/AboutModal_D3R-r6ju.mjs} +0 -0
  445. /package/dist/{_worker.js/chunks/AllComponents_BDKlE-WJ.mjs → docs/_worker.js/chunks/Accordion_Dbx8tdfD.mjs} +0 -0
  446. /package/dist/{_worker.js/chunks/AllComponents_DWDph25H.mjs → docs/_worker.js/chunks/Accordion_sjy0EnPK.mjs} +0 -0
  447. /package/dist/{_worker.js/chunks/_astro_assets_CfTVyruF.mjs → docs/_worker.js/chunks/ActionList_Bx7eAKgV.mjs} +0 -0
  448. /package/dist/{_worker.js/chunks/_astro_data-layer-content_CgXoS6Mm.mjs → docs/_worker.js/chunks/ActionList_CuygbYGp.mjs} +0 -0
  449. /package/dist/{_worker.js/chunks/content-assets_XqCgPAV2.mjs → docs/_worker.js/chunks/Alert_Cgh0pfMA.mjs} +0 -0
  450. /package/dist/{_worker.js/chunks/content-modules_BbCqcGJp.mjs → docs/_worker.js/chunks/Alert_CplJ22O9.mjs} +0 -0
  451. /package/dist/{_worker.js/chunks/sharp_MEdXG7Td.mjs → docs/_worker.js/chunks/Avatar_BszzDSZB.mjs} +0 -0
  452. /package/dist/{_worker.js/pages/_section_/_---page_.astro.mjs → docs/_worker.js/chunks/Avatar_DuNXB-Tl.mjs} +0 -0
  453. /package/dist/{_worker.js/pages/_section_/_page_/_---tab_.astro.mjs → docs/_worker.js/chunks/BackToTop_B_0NN1kJ.mjs} +0 -0
  454. /package/dist/{_worker.js/pages/index.astro.mjs → docs/_worker.js/chunks/BackToTop_DKY1zHBL.mjs} +0 -0
  455. /package/dist/{_worker.js → docs/_worker.js}/chunks/cloudflare-kv-binding_DMly_2Gl.mjs +0 -0
  456. /package/dist/{_worker.js → docs/_worker.js}/chunks/parse_EttCPxrw.mjs +0 -0
  457. /package/dist/{_worker.js → docs/_worker.js}/chunks/path_C-ZOwaTP.mjs +0 -0
  458. /package/dist/{avatarImg.svg → docs/avatarImg.svg} +0 -0
  459. /package/dist/{avatarImgDark.svg → docs/avatarImgDark.svg} +0 -0
  460. /package/dist/{content → docs/content}/typography/line-height.png +0 -0
  461. /package/dist/{favicon.svg → docs/favicon.svg} +0 -0
@@ -0,0 +1 @@
1
+ import{b as ee,j as e,a as Se,_ as K,c as h,g as Re,k as ve,B as Je,f as Qe,E as Ye,C as et,u as ke}from"./Button.BVfR1y85.js";import{r as b}from"./index.eCxJ45ll.js";/* empty css */import{G as tt,C as nt,a as it,d as st}from"./angle-down-icon.Dqz5ba9D.js";import{u as at,A as lt,P as ot}from"./divider.BP4XR7uq.js";import{m as o,A as rt}from"./angle-left-icon.CfKwuSCS.js";const ct=(n,t,i=x=>document.activeElement.contains(x),l=x=>x,a=["A","BUTTON","INPUT"],s=!1,f=!1,p=!0,N=!0)=>{const x=document.activeElement,d=n.key;let m=null;if(!s&&["ArrowUp","ArrowDown"].includes(d)){n.preventDefault(),n.stopImmediatePropagation();let c=-1;t.forEach((v,I)=>{if(i(v)){let g=0;for(;!m&&g<t.length&&g*-1<t.length;)d==="ArrowUp"?g--:g++,c=I+g,c>=t.length&&(c=0),c<0&&(c=t.length-1),m=l(t[c])}})}if(!f&&["ArrowLeft","ArrowRight"].includes(d)){n.preventDefault(),n.stopImmediatePropagation();let c=-1;t.forEach((v,I)=>{if(i(v)){const g=t[I].querySelectorAll(a.join(","));if(!g.length||N){let u=x;for(;u;){const _=u.parentElement===v?u:u.parentElement;if(u=d==="ArrowLeft"?_.previousElementSibling:_.nextElementSibling,u){if(a.includes(u.tagName)){m=u;break}if(a.includes(u.children[0].tagName)){m=u.children[0];break}}}}else g.forEach((u,D)=>{n.target===u&&(c=D+(d==="ArrowLeft"?-1:1),c>=g.length&&(c=0),c<0&&(c=g.length-1),m=g[c])})}})}m&&(p&&(x.tabIndex=-1,m.tabIndex=0),m.focus())},kt=n=>{n&&n.length>0&&(n.forEach(t=>{t.tabIndex=-1}),n[0].tabIndex=0)},dt=(n,t)=>{var i;if(n.key!=="ArrowDown"&&n.key!=="ArrowUp")return;n.preventDefault();const a=Array.from((i=t.current)===null||i===void 0?void 0:i.querySelectorAll("li")).map(f=>f.querySelector('button:not(:disabled),input:not(:disabled),a:not([aria-disabled="true"])')).filter(f=>f!==null);let s;n.key==="ArrowDown"?s=a[0]:s=a[a.length-1],s&&s.focus()};class ye extends b.Component{constructor(){super(...arguments),this.keyHandler=t=>{const{isEventFromContainer:i}=this.props;if(i?!i(t):!this._isEventFromContainer(t))return;const{isActiveElement:l,getFocusableElement:a,noVerticalArrowHandling:s,noHorizontalArrowHandling:f,noEnterHandling:p,noSpaceHandling:N,updateTabIndex:x,validSiblingTags:d,additionalKeyHandler:m,createNavigableElements:c,onlyTraverseSiblings:v}=this.props;m&&m(t);const I=c();if(!I){console.warn("No navigable elements have been passed to the KeyboardHandler. Keyboard navigation provided by this component will be ignored.");return}const g=t.key;p||g==="Enter"&&(t.preventDefault(),t.stopImmediatePropagation(),document.activeElement.click()),N||g===" "&&(t.preventDefault(),t.stopImmediatePropagation(),document.activeElement.click()),ct(t,I,l,a,d,s,f,x,v)},this._isEventFromContainer=t=>{const{containerRef:i}=this.props;return i.current&&i.current.contains(t.target)}}componentDidMount(){ee&&window.addEventListener("keydown",this.keyHandler)}componentWillUnmount(){ee&&window.removeEventListener("keydown",this.keyHandler)}render(){return null}}ye.displayName="KeyboardHandler";ye.defaultProps={containerRef:null,createNavigableElements:()=>null,isActiveElement:n=>document.activeElement===n,getFocusableElement:n=>n,validSiblingTags:["BUTTON","A"],onlyTraverseSiblings:!0,updateTabIndex:!0,noHorizontalArrowHandling:!1,noVerticalArrowHandling:!1,noEnterHandling:!1,noSpaceHandling:!1};const he={breadcrumb:"pf-v6-c-breadcrumb",breadcrumbDropdown:"pf-v6-c-breadcrumb__dropdown",breadcrumbHeading:"pf-v6-c-breadcrumb__heading",breadcrumbItem:"pf-v6-c-breadcrumb__item",breadcrumbItemDivider:"pf-v6-c-breadcrumb__item-divider",breadcrumbLink:"pf-v6-c-breadcrumb__link",breadcrumbList:"pf-v6-c-breadcrumb__list",modifiers:{current:"pf-m-current"}},G=b.createContext({menuId:null,parentMenu:null,onActionClick:()=>null,onSelect:()=>null,activeItemId:null,selected:null,drilledInMenus:[],drilldownItemPath:[],onDrillIn:null,onDrillOut:null,onGetMenuHeight:()=>null,flyoutRef:null,setFlyoutRef:()=>null,disableHover:!1,role:"menu"}),Oe=b.createContext({itemId:null,isDisabled:!1});class le extends b.Component{constructor(t){super(t),this.menuRef=b.createRef(),this.activeMenu=null,this.state={ouiaStateId:Se(ae.displayName),transitionMoveTarget:null,flyoutRef:null,disableHover:!1,currentDrilldownMenuId:this.props.id},this.handleDrilldownTransition=i=>{const l=this.menuRef.current;if(!(!l||l!==i.target.closest(`.${o.menu}`)&&!Array.from(l.getElementsByClassName(o.menu)).includes(i.target.closest(`.${o.menu}`))))if(this.state.transitionMoveTarget)this.state.transitionMoveTarget.focus(),this.setState({transitionMoveTarget:null});else{const a=l.querySelector("#"+this.props.activeMenu)||l||null,s=a.getElementsByTagName("UL");if(s.length===0)return;const f=Array.from(s[0].children);if(!this.state.currentDrilldownMenuId||a.id!==this.state.currentDrilldownMenuId)this.setState({currentDrilldownMenuId:a.id});else return;const p=f.filter(N=>!(N.classList.contains("pf-m-disabled")||N.classList.contains(o.divider)))[0].firstChild;p.focus(),p.tabIndex=0}},this.handleExtraKeys=i=>{const l=this.props.containsDrilldown,a=document.activeElement;if(i.target.closest(`.${o.menu}`)!==this.activeMenu&&!i.target.classList.contains(he.breadcrumbLink)&&(this.activeMenu=i.target.closest(`.${o.menu}`),this.setState({disableHover:!0})),i.target.tagName==="INPUT")return;const s=this.activeMenu,f=i.key,p=a.classList.contains(he.breadcrumbLink);if(f===" "||f==="Enter"){if(i.preventDefault(),l&&!p){if(a.closest("li").classList.contains("pf-m-current-path")&&s.parentElement.tagName==="LI")a.tabIndex=-1,s.parentElement.firstChild.tabIndex=0,this.setState({transitionMoveTarget:s.parentElement.firstChild});else if(a.nextElementSibling&&a.nextElementSibling.classList.contains(o.menu)){const x=Array.from(a.nextElementSibling.getElementsByTagName("UL")[0].children).filter(d=>!(d.classList.contains("pf-m-disabled")||d.classList.contains(o.divider)));a.tabIndex=-1,x[0].firstChild.tabIndex=0,this.setState({transitionMoveTarget:x[0].firstChild})}}document.activeElement.click()}},this.createNavigableElements=()=>this.props.containsDrilldown?this.activeMenu?Array.from(this.activeMenu.getElementsByTagName("UL")[0].children).filter(l=>!(l.classList.contains("pf-m-disabled")||l.classList.contains(o.divider))):[]:this.menuRef.current?Array.from(this.menuRef.current.getElementsByTagName("LI")).filter(l=>!(l.classList.contains("pf-m-disabled")||l.classList.contains(o.divider))):[],t.innerRef&&(this.menuRef=t.innerRef)}allowTabFirstItem(){const t=this.menuRef.current;if(t){const i=t.querySelector("ul button:not(:disabled), ul a:not(:disabled)");i&&(i.tabIndex=0)}}componentDidMount(){this.context&&this.setState({disableHover:this.context.disableHover}),ee&&this.props.containsDrilldown&&window.addEventListener("transitionend",this.props.isRootMenu?this.handleDrilldownTransition:null),this.allowTabFirstItem()}componentWillUnmount(){ee&&this.props.containsDrilldown&&window.removeEventListener("transitionend",this.handleDrilldownTransition)}componentDidUpdate(t){t.children!==this.props.children&&this.allowTabFirstItem()}render(){const t=this.props,{id:i,children:l,className:a,onSelect:s,selected:f=null,onActionClick:p,ouiaId:N,ouiaSafe:x,containsFlyout:d,containsDrilldown:m,isMenuDrilledIn:c,isPlain:v,isScrollable:I,drilldownItemPath:g,drilledInMenus:u,onDrillIn:D,onDrillOut:_,onGetMenuHeight:k,parentMenu:z=null,activeItemId:O=null,innerRef:$,isRootMenu:H,activeMenu:L,role:R,isNavFlyout:M}=t,j=K(t,["id","children","className","onSelect","selected","onActionClick","ouiaId","ouiaSafe","containsFlyout","containsDrilldown","isMenuDrilledIn","isPlain","isScrollable","drilldownItemPath","drilledInMenus","onDrillIn","onDrillOut","onGetMenuHeight","parentMenu","activeItemId","innerRef","isRootMenu","activeMenu","role","isNavFlyout"]),P=c||u&&u.includes(i)||!1;return e.jsxs(G.Provider,{value:{menuId:i,parentMenu:z||i,onSelect:s,onActionClick:p,activeItemId:O,selected:f,drilledInMenus:u,drilldownItemPath:g,onDrillIn:D,onDrillOut:_,onGetMenuHeight:k,flyoutRef:this.state.flyoutRef,setFlyoutRef:w=>this.setState({flyoutRef:w}),disableHover:this.state.disableHover,role:R},children:[H&&e.jsx(ye,{containerRef:this.menuRef||null,additionalKeyHandler:this.handleExtraKeys,createNavigableElements:this.createNavigableElements,isActiveElement:w=>document.activeElement.closest("li")===w||document.activeElement.parentElement===w||document.activeElement.closest(`.${o.menuSearch}`)===w||document.activeElement.closest("ol")&&document.activeElement.closest("ol").firstChild===w,getFocusableElement:w=>{var A,T;return w?.tagName==="DIV"&&w.querySelector("input")||((A=w.firstChild)===null||A===void 0?void 0:A.tagName)==="LABEL"&&w.querySelector("input")||((T=w.firstChild)===null||T===void 0?void 0:T.tagName)==="DIV"&&w.querySelector("a, button, input")||w.firstChild},noHorizontalArrowHandling:document.activeElement&&(document.activeElement.classList.contains(he.breadcrumbLink)||document.activeElement.tagName==="INPUT"),noEnterHandling:!0,noSpaceHandling:!0}),e.jsx("div",Object.assign({id:i,className:h(o.menu,v&&o.modifiers.plain,I&&o.modifiers.scrollable,d&&o.modifiers.flyout,M&&"pf-m-nav",m&&o.modifiers.drilldown,P&&o.modifiers.drilledIn,a),ref:this.menuRef},Re(ae.displayName,N!==void 0?N:this.state.ouiaStateId,x),j,{children:l}))]})}}le.displayName="Menu";le.contextType=G;le.defaultProps={ouiaSafe:!0,isRootMenu:!0,isPlain:!1,isScrollable:!1,role:"menu"};const ae=b.forwardRef((n,t)=>e.jsx(le,Object.assign({},n,{innerRef:t})));ae.displayName="Menu";const ut={name:"--pf-v6-c-menu__content--Height",value:"auto",var:"var(--pf-v6-c-menu__content--Height)"},ft={name:"--pf-v6-c-menu__content--MaxHeight",value:"18.75rem",var:"var(--pf-v6-c-menu__content--MaxHeight)"},Ae=b.forwardRef((n,t)=>{const{getHeight:i,children:l,menuHeight:a,maxMenuHeight:s}=n,f=K(n,["getHeight","children","menuHeight","maxMenuHeight"]),p=b.createRef(),N=(x,d,m)=>{if(x){let c=x.clientHeight,v=null,I=x.closest(`.${o.menuList}`);for(;I!==null&&I.nodeType===1;)I.classList.contains(o.menuList)&&(v=I),I=I.parentElement;if(v){const g=getComputedStyle(v),u=parseFloat(g.getPropertyValue("padding-top").replace(/px/g,""))+parseFloat(g.getPropertyValue("padding-bottom").replace(/px/g,""))+parseFloat(getComputedStyle(v.parentElement).getPropertyValue("border-bottom-width").replace(/px/g,""));c=c+u}m&&m(d,c),i&&i(c.toString())}return t||p};return e.jsx(G.Consumer,{children:({menuId:x,onGetMenuHeight:d})=>e.jsx("div",Object.assign({},f,{className:h(o.menuContent,n.className),ref:m=>{N(m,x,d)},style:Object.assign(Object.assign({},a&&{[ut.name]:a}),s&&{[ft.name]:s}),children:l}))})});Ae.displayName="MenuContent";const mt={name:"--pf-v6-c-menu--m-flyout__menu--top-offset",value:"0px",var:"var(--pf-v6-c-menu--m-flyout__menu--top-offset)"},pt={name:"--pf-v6-c-menu--m-flyout__menu--m-left--right-offset",value:"0px",var:"var(--pf-v6-c-menu--m-flyout__menu--m-left--right-offset)"},gt={name:"--pf-v6-c-menu--m-flyout__menu--left-offset",value:"0px",var:"var(--pf-v6-c-menu--m-flyout__menu--left-offset)"},ht={name:"ExternalLinkAltIcon",height:512,width:512,svgPath:"M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z",yOffset:0,xOffset:0},bt=ve(ht),xt={name:"CheckIcon",height:512,width:512,svgPath:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z",yOffset:0,xOffset:0},vt=ve(xt),yt={name:"StarIcon",height:512,width:576,svgPath:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z",yOffset:0,xOffset:0},It=ve(yt),wt=n=>{var{className:t,icon:i,onClick:l,"aria-label":a,isFavorited:s=null,isDisabled:f,actionId:p,innerRef:N}=n,x=K(n,["className","icon","onClick","aria-label","isFavorited","isDisabled","actionId","innerRef"]);return e.jsx(G.Consumer,{children:({onActionClick:d})=>e.jsx(Oe.Consumer,{children:({itemId:m,isDisabled:c})=>{const v=I=>{l&&l(I),d&&d(I,m,p)};return e.jsx("div",Object.assign({className:h(o.menuItemAction,s!==null&&"pf-m-favorite",s&&o.modifiers.favorited,t)},x,{children:e.jsx(Je,{"aria-label":a,onClick:v,ref:N,role:"menuitem",variant:"plain",tabIndex:-1,isDisabled:f||c,icon:i==="favorites"||s!==null?e.jsx(It,{}):i})}))}})})},He=b.forwardRef((n,t)=>e.jsx(wt,Object.assign({},n,{innerRef:t})));He.displayName="MenuItemAction";const Le=b.createContext({direction:"right"}),Nt=n=>{var{children:t,className:i,itemId:l=null,to:a,hasCheckbox:s=!1,isActive:f=null,isFavorited:p=null,isLoadButton:N=!1,isLoading:x=!1,flyoutMenu:d,direction:m,description:c=null,onClick:v=()=>{},component:I="button",isDisabled:g=!1,isAriaDisabled:u=!1,isExternalLink:D=!1,isSelected:_=null,isFocused:k,isDanger:z=!1,icon:O,actions:$,onShowFlyout:H,drilldownMenu:L,isOnPath:R,innerRef:M,id:j,"aria-label":P,tooltipProps:w,rel:A,target:T,download:F}=n,E=K(n,["children","className","itemId","to","hasCheckbox","isActive","isFavorited","isLoadButton","isLoading","flyoutMenu","direction","description","onClick","component","isDisabled","isAriaDisabled","isExternalLink","isSelected","isFocused","isDanger","icon","actions","onShowFlyout","drilldownMenu","isOnPath","innerRef","id","aria-label","tooltipProps","rel","target","download"]);const{menuId:B,parentMenu:U,onSelect:X,onActionClick:Q,activeItemId:Ie,selected:te,drilldownItemPath:we,onDrillIn:Ne,onDrillOut:Ce,flyoutRef:Ke,setFlyoutRef:oe,disableHover:Me,role:ze}=b.useContext(G);let ne=a?"a":I;s&&!a&&(ne="label");const[ie,qe]=b.useState(null),re=b.useContext(Le),[je,ce]=b.useState(re.direction),q=b.useRef(void 0),$e=b.useRef(void 0),_e=M||$e,V=q===Ke,de=d!==void 0,ue=r=>{!V&&r?oe(q):V&&!r&&oe(null),H&&r&&H()};at(()=>{if(de&&q.current&&ee){const r=q.current.lastElementChild;if(r&&r.classList.contains(o.menu)){const y=q.current.getClientRects()[0],S=r.getClientRects()[0];if(y&&S){const W=y.x-S.width,me=window.innerWidth-y.x-y.width-S.width;let J=je;me<0&&J!=="left"?(ce("left"),J="left"):W<0&&J!=="right"&&(ce("right"),J="right");let pe=0;W<0&&me<0&&(pe=J==="right"?-me:-W),J==="left"?(r.classList.add(o.modifiers.left),r.style.setProperty(pt.name,`-${pe}px`)):r.style.setProperty(gt.name,`-${pe}px`);const ge=window.innerHeight-y.y-S.height;window.innerHeight-S.height<0&&ge<0||ge<0&&r.style.setProperty(mt.name,`${ge}px`)}}}},[V,d]),b.useEffect(()=>{ce(re.direction)},[re]),b.useEffect(()=>{if(ie)if(V){const r=ie.nextElementSibling;Array.from(r.getElementsByTagName("UL")[0].children).filter(S=>!(S.classList.contains("pf-m-disabled")||S.classList.contains(o.divider)))[0].firstChild.focus()}else ie.focus()},[V,ie]);const Ee=r=>{const y=r.key,S=r.target,W=r.type;(y===" "||y==="Enter"||y==="ArrowRight"||W==="click")&&(r.stopPropagation(),r.preventDefault(),V||(ue(!0),qe(S))),(y==="Escape"||y==="ArrowLeft")&&V&&(r.stopPropagation(),ue(!1))},De=(r,y)=>{u||(y&&y(r,l),v&&v(r))},We=R&&R||we&&we.includes(l)||!1;let se;m&&(m==="down"?se=r=>Ne&&Ne(r,B,typeof L=="function"?L().props.id:L.props.id,l):se=r=>Ce&&Ce(r,U,l));let Z={};ne==="a"?Z={href:a,"aria-disabled":g||u?!0:null,disabled:null,target:D?"_blank":T,rel:A,download:F}:ne==="button"&&(Z={type:"button","aria-disabled":u?!0:null}),R?Z["aria-expanded"]=!0:de&&(Z["aria-haspopup"]="menu",Z["aria-expanded"]=V);const Ge=()=>f!==null?f?"page":null:l!==null&&Ie!==null?l===Ie:null,fe=()=>_!==null?_:te!==null&&l!==null?Array.isArray(te)&&te.includes(l)||l===te:!1,Xe=()=>{Me||(de?ue(!0):oe(null))};b.useEffect(()=>{if(k&&q.current){const r=q.current,y=r.parentElement;if(y){const S=r.offsetTop-y.offsetTop<y.scrollTop,W=r.offsetTop-y.offsetTop+r.clientHeight;(S||W)&&r.scrollIntoView({behavior:"auto",block:"nearest"})}}},[k]);const Te=ze==="listbox",Ze=e.jsxs(e.Fragment,{children:[e.jsx(tt,{children:r=>e.jsxs(ne,Object.assign({id:j,tabIndex:-1,className:h(o.menuItem,fe()&&!s&&o.modifiers.selected,i),"aria-current":Ge()},!s&&{disabled:g,"aria-label":P},!s&&!d&&{role:Te?"option":"menuitem"},!s&&!d&&Te&&{"aria-selected":fe()},{ref:_e},!s&&{onClick:y=>{u?y.preventDefault():(De(y,X),se&&se(y),d&&Ee(y))}},s&&{htmlFor:r},Z,{children:[e.jsxs("span",{className:h(o.menuItemMain),children:[m==="up"&&e.jsx("span",{className:h(o.menuItemToggleIcon),children:e.jsx(rt,{})}),O&&e.jsx("span",{className:h(o.menuItemIcon),children:O}),s&&e.jsx("span",{className:h(o.menuItemCheck),children:e.jsx(nt,{id:r,component:"span",isChecked:_||!1,onChange:y=>De(y,X),isDisabled:g,"aria-disabled":u})}),e.jsx("span",{className:h(o.menuItemText),children:t}),D&&e.jsx("span",{className:h(o.menuItemExternalIcon),children:e.jsx(bt,{})}),(d||m==="down")&&e.jsx("span",{className:h(o.menuItemToggleIcon),children:e.jsx(lt,{})}),fe()&&e.jsx("span",{className:h(o.menuItemSelectIcon),children:e.jsx(vt,{})})]}),c&&m!=="up"&&e.jsx("span",{className:h(o.menuItemDescription),children:e.jsx("span",{children:c})})]}))}),V&&e.jsx(G.Provider,{value:{disableHover:Me},children:e.jsx(Le.Provider,{value:{direction:je},children:d})}),typeof L=="function"?L():L,e.jsxs(Oe.Provider,{value:{itemId:l,isDisabled:g},children:[$,p!==null&&e.jsx(He,{icon:"favorites",isFavorited:p,"aria-label":p?"starred":"not starred",onClick:r=>Q(r,l),tabIndex:-1,actionId:"fav"})]})]});return e.jsxs(e.Fragment,{children:[e.jsx("li",Object.assign({className:h(o.menuListItem,g&&o.modifiers.disabled,u&&o.modifiers.ariaDisabled,We&&o.modifiers.currentPath,N&&o.modifiers.load,x&&o.modifiers.loading,k&&"pf-m-focus",z&&o.modifiers.danger,i),onMouseOver:()=>{u||Xe()}},d&&!u&&{onKeyDown:Ee},{ref:q,role:s?"menuitem":"none"},s&&{"aria-label":P},E,{children:Ze})),w&&e.jsx(it,Object.assign({},w,{triggerRef:_e}))]})},Pe=b.forwardRef((n,t)=>e.jsx(Nt,Object.assign({},n,{innerRef:t})));Pe.displayName="MenuItem";const Fe=n=>{var{children:t=null,className:i,isAriaMultiselectable:l=!1,"aria-label":a}=n,s=K(n,["children","className","isAriaMultiselectable","aria-label"]);const{role:f}=b.useContext(G);return e.jsx("ul",Object.assign({role:f},f==="listbox"&&{"aria-multiselectable":l},{className:h(o.menuList,i),"aria-label":a},s,{children:t}))};Fe.displayName="MenuList";const C={menuToggle:"pf-v6-c-menu-toggle",menuToggleButton:"pf-v6-c-menu-toggle__button",menuToggleControls:"pf-v6-c-menu-toggle__controls",menuToggleCount:"pf-v6-c-menu-toggle__count",menuToggleIcon:"pf-v6-c-menu-toggle__icon",menuToggleStatusIcon:"pf-v6-c-menu-toggle__status-icon",menuToggleText:"pf-v6-c-menu-toggle__text",menuToggleToggleIcon:"pf-v6-c-menu-toggle__toggle-icon",modifiers:{primary:"pf-m-primary",secondary:"pf-m-secondary",fullHeight:"pf-m-full-height",fullWidth:"pf-m-full-width",plain:"pf-m-plain",expanded:"pf-m-expanded",disabled:"pf-m-disabled",small:"pf-m-small",success:"pf-m-success",warning:"pf-m-warning",danger:"pf-m-danger",placeholder:"pf-m-placeholder",splitButton:"pf-m-split-button",standalone:"pf-m-standalone",typeahead:"pf-m-typeahead",text:"pf-m-text",avatar:"pf-m-avatar"}};var Y;(function(n){n.success="success",n.danger="danger",n.warning="warning"})(Y||(Y={}));var be;(function(n){n.default="default",n.sm="sm"})(be||(be={}));class Be extends b.Component{constructor(){super(...arguments),this.displayName="MenuToggleBase",this.state={ouiaStateId:Se(xe.displayName,this.props.variant)}}render(){const t=this.props,{children:i,className:l,icon:a,badge:s,isExpanded:f,isDisabled:p,isFullHeight:N,isFullWidth:x,isPlaceholder:d,splitButtonItems:m,variant:c,status:v,statusIcon:I,innerRef:g,onClick:u,"aria-label":D,ouiaId:_,ouiaSafe:k,size:z}=t,O=K(t,["children","className","icon","badge","isExpanded","isDisabled","isFullHeight","isFullWidth","isPlaceholder","splitButtonItems","variant","status","statusIcon","innerRef","onClick","aria-label","ouiaId","ouiaSafe","size"]),$=c==="plain",H=c==="plainText",L=c==="typeahead",R=Re(xe.displayName,_??this.state.ouiaStateId,k);let M=I;if(!I)switch(v){case Y.success:M=e.jsx(et,{});break;case Y.warning:M=e.jsx(Ye,{});break;case Y.danger:M=e.jsx(Qe,{});break}const j=e.jsxs("span",{className:h(C.menuToggleControls),children:[v!==void 0&&e.jsx("span",{className:h(C.menuToggleStatusIcon),children:M}),e.jsx("span",{className:h(C.menuToggleToggleIcon),children:e.jsx(st,{})})]}),P=e.jsxs(e.Fragment,{children:[a&&e.jsx("span",{className:h(C.menuToggleIcon),children:a}),L?i:i&&e.jsx("span",{className:h(C.menuToggleText),children:i}),b.isValidElement(s)&&e.jsx("span",{className:h(C.menuToggleCount),children:s}),L?e.jsx("button",Object.assign({type:"button",className:h(C.menuToggleButton),"aria-expanded":f,onClick:u,"aria-label":D||"Menu toggle",tabIndex:-1},R,{children:j})):!$&&j]}),w=h(C.menuToggle,f&&C.modifiers.expanded,c==="primary"&&C.modifiers.primary,c==="secondary"&&C.modifiers.secondary,v&&C.modifiers[v],($||H)&&C.modifiers.plain,H&&"pf-m-text",N&&C.modifiers.fullHeight,x&&C.modifiers.fullWidth,p&&C.modifiers.disabled,d&&C.modifiers.placeholder,z===be.sm&&C.modifiers.small,l),A=Object.assign(Object.assign({children:P},p&&{disabled:!0}),O);return L?e.jsx("div",Object.assign({ref:g,className:h(w,C.modifiers.typeahead)},A)):m?e.jsxs("div",{ref:g,className:h(w,C.modifiers.splitButton),children:[m,e.jsxs("button",Object.assign({className:h(C.menuToggleButton,i&&C.modifiers.text),type:"button","aria-expanded":f,"aria-label":D,disabled:p,onClick:u},O,R,{children:[i&&e.jsx("span",{className:h(C.menuToggleText),children:i}),j]}))]}):e.jsx("button",Object.assign({className:h(w),type:"button","aria-label":D,"aria-expanded":f,ref:g,disabled:p,onClick:u},A,R))}}Be.defaultProps={className:"",isExpanded:!1,isDisabled:!1,isFullWidth:!1,isFullHeight:!1,isPlaceholder:!1,size:"default",ouiaSafe:!0};const xe=b.forwardRef((n,t)=>e.jsx(Be,Object.assign({innerRef:t},n)));xe.displayName="MenuToggle";const Ct=n=>{var{children:t,className:i,onSelect:l,isOpen:a,toggle:s,shouldFocusToggleOnSelect:f=!1,onOpenChange:p,onToggleKeydown:N,isPlain:x,isScrollable:d,innerRef:m,ouiaId:c,ouiaSafe:v=!0,zIndex:I=9999,popperProps:g,onOpenChangeKeys:u=["Escape","Tab"],menuHeight:D,maxMenuHeight:_,shouldFocusFirstItemOnOpen:k=!1,shouldPreventScrollOnItemFocus:z=!0,focusTimeoutDelay:O=0}=n,$=K(n,["children","className","onSelect","isOpen","toggle","shouldFocusToggleOnSelect","onOpenChange","onToggleKeydown","isPlain","isScrollable","innerRef","ouiaId","ouiaSafe","zIndex","popperProps","onOpenChangeKeys","menuHeight","maxMenuHeight","shouldFocusFirstItemOnOpen","shouldPreventScrollOnItemFocus","focusTimeoutDelay"]);const H=b.useRef(void 0),L=b.useRef(void 0),R=ke(Ue.displayName,c,v),M=m||H,j=typeof s=="function"||typeof s!="function"&&!s.toggleRef?L:s?.toggleRef,P=b.useRef(a);b.useEffect(()=>{P.current===!1&&a===!0&&k&&setTimeout(()=>{var T;const F=(T=M?.current)===null||T===void 0?void 0:T.querySelector('li button:not(:disabled),li input:not(:disabled),li a:not([aria-disabled="true"])');F&&F.focus({preventScroll:z})},O),P.current=a},[a]),b.useEffect(()=>{const T=E=>{var B,U,X,Q;a&&p&&(!((B=M.current)===null||B===void 0)&&B.contains(E.target)||!((U=j.current)===null||U===void 0)&&U.contains(E.target))&&u.includes(E.key)&&(p(!1),(X=j.current)===null||X===void 0||X.focus()),!((Q=j.current)===null||Q===void 0)&&Q.contains(E.target)&&(N?N(E):a&&dt(E,M))},F=E=>{var B,U;a&&p&&!(!((B=j?.current)===null||B===void 0)&&B.contains(E.target))&&a&&!(!((U=M.current)===null||U===void 0)&&U.contains(E.target))&&p(!1)};return window.addEventListener("keydown",T),window.addEventListener("click",F),()=>{window.removeEventListener("keydown",T),window.removeEventListener("click",F)}},[a,M,j,p,u,N,z,k,O]);const w=_!==void 0||D!==void 0||d,A=e.jsx(ae,Object.assign({className:h(i),ref:M,onSelect:(T,F)=>{var E;l&&l(T,F),f&&((E=j.current)===null||E===void 0||E.focus())},isPlain:x,isScrollable:w},$,R,{children:e.jsx(Ae,{menuHeight:D,maxMenuHeight:_,children:t})}));return e.jsx(ot,Object.assign({trigger:typeof s=="function"?s(j):s.toggleNode,triggerRef:j,popper:A,popperRef:M,isVisible:a,zIndex:I},g))},Ue=b.forwardRef((n,t)=>e.jsx(Ct,Object.assign({innerRef:t},n)));Ue.displayName="Dropdown";const Mt=n=>{var{children:t,className:i,description:l,isDisabled:a,isAriaDisabled:s,value:f,onClick:p,ouiaId:N,ouiaSafe:x,innerRef:d,tooltipProps:m}=n,c=K(n,["children","className","description","isDisabled","isAriaDisabled","value","onClick","ouiaId","ouiaSafe","innerRef","tooltipProps"]);const v=ke(Ve.displayName,N,x);return e.jsx(Pe,Object.assign({className:h(i),description:l,isDisabled:a,isAriaDisabled:s,itemId:f,onClick:p,tooltipProps:m,ref:d},v,c,{children:t}))},Ve=b.forwardRef((n,t)=>e.jsx(Mt,Object.assign({},n,{innerRef:t})));Ve.displayName="DropdownItem";const jt=n=>{var{children:t,className:i}=n,l=K(n,["children","className"]);return e.jsx(Fe,Object.assign({className:h(i)},l,{children:t}))};jt.displayName="DropdownList";export{vt as C,Ue as D,bt as E,ye as K,xe as M,It as S,jt as a,Ve as b,he as c,G as d,ae as e,Ae as f,Fe as g,Pe as h,ct as i,He as j,be as k,Y as l,kt as m,xt as n,dt as o,ht as p,yt as q,ut as r,C as s,ft as t,gt as u,pt as v,mt as w};
@@ -0,0 +1 @@
1
+ import{_ as ce,j as a,B as de,c as f,e as fe,I as pe,f as ue,E as be,C as me}from"./Button.BVfR1y85.js";import{r as o}from"./index.eCxJ45ll.js";/* empty css */import{T as ge,a as $}from"./angle-down-icon.Dqz5ba9D.js";import{u as ve}from"./divider.BP4XR7uq.js";const e={label:"pf-v6-c-label",labelActions:"pf-v6-c-label__actions",labelContent:"pf-v6-c-label__content",labelIcon:"pf-v6-c-label__icon",labelText:"pf-v6-c-label__text",modifiers:{blue:"pf-m-blue",red:"pf-m-red",orange:"pf-m-orange",orangered:"pf-m-orangered",yellow:"pf-m-yellow",green:"pf-m-green",teal:"pf-m-teal",purple:"pf-m-purple",success:"pf-m-success",warning:"pf-m-warning",danger:"pf-m-danger",info:"pf-m-info",custom:"pf-m-custom",compact:"pf-m-compact",filled:"pf-m-filled",outline:"pf-m-outline",editable:"pf-m-editable",editableActive:"pf-m-editable-active",overflow:"pf-m-overflow",add:"pf-m-add",clickable:"pf-m-clickable",disabled:"pf-m-disabled"}},Ce={labelGroup:"pf-v6-c-label-group",labelGroupClose:"pf-v6-c-label-group__close",labelGroupLabel:"pf-v6-c-label-group__label",labelGroupList:"pf-v6-c-label-group__list",labelGroupListItem:"pf-v6-c-label-group__list-item",labelGroupMain:"pf-v6-c-label-group__main",labelGroupTextarea:"pf-v6-c-label-group__textarea",modifiers:{category:"pf-m-category",vertical:"pf-m-vertical",editable:"pf-m-editable",textarea:"pf-m-textarea"}},xe={name:"--pf-v6-c-label__text--MaxWidth",value:"100%",var:"var(--pf-v6-c-label__text--MaxWidth)"},he={blue:e.modifiers.blue,teal:e.modifiers.teal,green:e.modifiers.green,orange:e.modifiers.orange,purple:e.modifiers.purple,red:e.modifiers.red,orangered:e.modifiers.orangered,yellow:e.modifiers.yellow,grey:""},_e={success:a.jsx(me,{}),warning:a.jsx(be,{}),danger:a.jsx(ue,{}),info:a.jsx(pe,{}),custom:a.jsx(fe,{})},je=I=>{var{children:c,className:q="",color:z="grey",variant:b="filled",status:m,isCompact:J=!1,isDisabled:L=!1,isEditable:d=!1,isClickable:Q=!1,editableProps:P,textMaxWidth:O,tooltipPosition:R,icon:B,onClose:N,onClick:r,onEditCancel:T,onEditComplete:g,closeBtn:U,closeBtnAriaLabel:X,closeBtnProps:Y,href:n,render:D}=I,Z=ce(I,["children","className","color","variant","status","isCompact","isDisabled","isEditable","isClickable","editableProps","textMaxWidth","tooltipPosition","icon","onClose","onClick","onEditCancel","onEditComplete","closeBtn","closeBtnAriaLabel","closeBtnProps","href","render"]);const[s,p]=o.useState(!1),[ee,te]=o.useState(c),i=o.useRef(void 0),l=o.useRef(void 0),u=b==="overflow",v=b==="add",A=Q||r&&!u&&!v||n;let C;m&&(C=_e[m]),B&&(C=B),o.useEffect(()=>(document.addEventListener("mousedown",M),document.addEventListener("keydown",G),()=>{document.removeEventListener("mousedown",M),document.removeEventListener("keydown",G)})),o.useEffect(()=>{r&&n?console.warn("Link labels cannot have onClick passed, this results in invalid HTML. Please remove either the href or onClick prop."):r&&d&&console.warn("Editable labels cannot have onClick passed, clicking starts the label edit process. Please remove either the isEditable or onClick prop.")},[r,n,d]);const M=t=>{s&&l&&l.current&&!l.current.contains(t.target)&&(l.current.value&&g&&g(t,l.current.value),p(!1))},G=t=>{var E,y;const j=t.key;if(!(!s&&(!i||!i.current||!i.current.contains(t.target))||s&&(!l||!l.current||!l.current.contains(t.target)))&&(s&&(j==="Enter"||j==="Tab")&&(t.preventDefault(),t.stopImmediatePropagation(),l.current.value&&g&&g(t,l.current.value),p(!1),(E=i?.current)===null||E===void 0||E.focus()),s&&j==="Escape"&&(t.preventDefault(),t.stopImmediatePropagation(),l.current.value&&(l.current.value=c,T&&T(t,c)),p(!1),(y=i?.current)===null||y===void 0||y.focus()),!s&&j==="Enter")){t.preventDefault(),t.stopImmediatePropagation(),p(!0);const re=t.target,w=document.createRange(),K=window.getSelection();w.selectNodeContents(re),w.collapse(!1),K.removeAllRanges(),K.addRange(w)}},x=(n||r)&&L,le=a.jsx(de,Object.assign({type:"button",variant:"plain",hasNoPadding:!0,onClick:N,"aria-label":X||`Close ${c}`},x&&{isDisabled:!0},Y,{icon:a.jsx(ge,{})})),ae=a.jsx("span",{className:f(e.labelActions),children:U||le}),W=o.createRef(),S=o.useRef(void 0),[k,se]=o.useState(!1);ve(()=>{const t=d?i:W;s||se(t.current&&t.current.offsetWidth<t.current.scrollWidth)},[s]);const V=a.jsxs(o.Fragment,{children:[C&&a.jsx("span",{className:f(e.labelIcon),children:C}),a.jsx("span",Object.assign({ref:W,className:f(e.labelText)},O&&{style:{[xe.name]:O}},{children:c}))]});o.useEffect(()=>{s&&l&&l.current&&l.current.focus()},[l,s]);const oe=()=>{te(l.current.value)};let h="span";n?h="a":(d||r&&!u&&!v)&&(h="button");const ie={type:"button",onClick:r},F=h==="button",ne=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({className:f(e.labelContent,A&&e.modifiers.clickable)},k&&{tabIndex:0}),n&&{href:n}),n&&L&&{onClick:t=>t.preventDefault()}),F&&ie),d&&Object.assign({ref:i,onClick:t=>{p(!0),t.stopPropagation()}},P)),x&&F&&{disabled:!0}),x&&n&&{tabIndex:-1,"aria-disabled":!0});let _=a.jsx(h,Object.assign({},ne,{children:V}));D?_=a.jsxs(o.Fragment,{children:[k&&a.jsx($,{triggerRef:S,content:c,position:R}),D({className:e.labelContent,content:V,componentRef:S})]}):k&&(_=a.jsx($,{content:c,position:R,children:_}));const H=u?"button":"span";return a.jsxs(H,Object.assign({},Z,{className:f(e.label,x&&e.modifiers.disabled,he[z],b==="filled"&&e.modifiers.filled,b==="outline"&&e.modifiers.outline,m&&e.modifiers[m],u&&e.modifiers.overflow,J&&e.modifiers.compact,d&&Ce.modifiers.editable,s&&e.modifiers.editableActive,A&&e.modifiers.clickable,v&&e.modifiers.add,q),onClick:u||v?r:void 0},H==="button"&&{type:"button"},{children:[!s&&_,!s&&N&&ae,s&&a.jsx("input",Object.assign({className:f(e.labelContent),type:"text",id:"editable-input",ref:l,value:ee,onChange:oe},P))]}))};je.displayName="Label";export{je as L,xe as c,e as l,Ce as s};