@patternfly/patternfly-doc-core 1.10.0 → 1.11.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 (117) hide show
  1. package/astro.config.mjs +3 -4
  2. package/cli/cli.ts +60 -19
  3. package/dist/.assetsignore +2 -0
  4. package/dist/{client/_astro/Button.BQCwQ5pE.js → _astro/Button.BVfR1y85.js} +1 -1
  5. package/dist/_astro/CSSTable.E6iSHjec.js +1 -0
  6. package/dist/_astro/ClientRouter.astro_astro_type_script_index_0_lang.CtSceO8m.js +1 -0
  7. package/dist/{client/_astro/Content.B4M2qzJY.js → _astro/Content.CYLxURqU.js} +1 -1
  8. package/dist/{client/_astro/DropdownList.cxp03sS4.js → _astro/DropdownList.-xE7qrND.js} +1 -1
  9. package/dist/{client/_astro/LiveExample.DjPiO80i.js → _astro/LiveExample.CVVccYEB.js} +3 -3
  10. package/dist/{client/_astro/Navigation.kbLxctIo.js → _astro/Navigation.CONcolRR.js} +1 -1
  11. package/dist/{client/_astro/PageContext.miTsIqVo.js → _astro/PageContext.BUbWpNW2.js} +1 -1
  12. package/dist/{client/_astro/PageSidebarBody.B0AJe8Hg.js → _astro/PageSidebarBody.CDWZuFeK.js} +1 -1
  13. package/dist/{client/_astro/PageToggle.CMZ3C1v1.js → _astro/PageToggle.Dnbvoa7R.js} +1 -1
  14. package/dist/{client/_astro/SearchInput.DhHo7yPx.js → _astro/SearchInput.BNt7BTX_.js} +1 -1
  15. package/dist/{client/_astro/SectionGallery.3ABpQwE4.js → _astro/SectionGallery.Dwb-QA5z.js} +1 -1
  16. package/dist/{client/_astro/Toolbar.CroDQcyv.js → _astro/Toolbar.DNd68Ck-.js} +1 -1
  17. package/dist/{client/_astro/ToolbarContent.UH3ZRlHp.js → _astro/ToolbarContent.C58gpKLu.js} +1 -1
  18. package/dist/{client/_astro/angle-left-icon.teo8GC0v.js → _astro/angle-left-icon.CfKwuSCS.js} +1 -1
  19. package/dist/{client/_astro/bars-icon.Dk6ua1rr.js → _astro/bars-icon.wdJgEs3A.js} +1 -1
  20. package/dist/_astro/client.DN8ES6L5.js +1 -0
  21. package/dist/{client/_astro/divider.tlrBPkzg.js → _astro/divider.BLVh3KnH.js} +1 -1
  22. package/dist/{client/_astro/github-icon.ByC5XEPt.js → _astro/github-icon.DzpohUp_.js} +1 -1
  23. package/dist/{client/_astro/index.DYVB4vTo.js → _astro/index.jm6QVFFy.js} +1 -1
  24. package/dist/{client/_astro/link-icon.BNHnRn73.js → _astro/patternfly_charts.Dp3KzAU6.js} +24 -24
  25. package/dist/_routes.json +20 -0
  26. package/dist/_worker.js/_@astrojs-ssr-adapter.mjs +2 -0
  27. package/dist/_worker.js/_astro-internal_middleware.mjs +21 -0
  28. package/dist/_worker.js/_noop-actions.mjs +4 -0
  29. package/dist/{server/chunks/AutoLinkHeader_C2GD0g-K.mjs → _worker.js/chunks/AutoLinkHeader_DLgn_YRm.mjs} +13 -14
  30. package/dist/{server/chunks/Button_BKhHR-ak.mjs → _worker.js/chunks/Button_CBcC0ViE.mjs} +83 -13
  31. package/dist/{server/chunks/CSSTable_B8tlH3gz.mjs → _worker.js/chunks/CSSTable_C1dV02qV.mjs} +3 -3
  32. package/dist/_worker.js/chunks/DocsTables_Br4g5x5_.mjs +20 -0
  33. package/dist/_worker.js/chunks/PropsTables_Dcd7znAq.mjs +6628 -0
  34. package/dist/_worker.js/chunks/_@astrojs-ssr-adapter_IMtcR503.mjs +1082 -0
  35. package/dist/_worker.js/chunks/angle-down-icon_VyCXUC7F.mjs +3686 -0
  36. package/dist/_worker.js/chunks/astro/server_YsSSp7Ny.mjs +7278 -0
  37. package/dist/_worker.js/chunks/astro-designed-error-pages_MEt0E9xn.mjs +928 -0
  38. package/dist/_worker.js/chunks/cloudflare-kv-binding_DMly_2Gl.mjs +107 -0
  39. package/dist/{server/chunks/_@astrojs-ssr-adapter_CbICuCdt.mjs → _worker.js/chunks/index_BE2AHcwI.mjs} +1295 -1817
  40. package/dist/_worker.js/chunks/index_CBCp_CJ0.mjs +57 -0
  41. package/dist/_worker.js/chunks/noop-middleware_CMUpAQ6F.mjs +10 -0
  42. package/dist/_worker.js/chunks/parse_EttCPxrw.mjs +271 -0
  43. package/dist/{server/chunks/path_Cvt6sEOY.mjs → _worker.js/chunks/path_C-ZOwaTP.mjs} +2 -1
  44. package/dist/{server/entry.mjs → _worker.js/index.js} +13 -19
  45. package/dist/_worker.js/manifest_0KWZohUX.mjs +100 -0
  46. package/dist/_worker.js/pages/_image.astro.mjs +24 -0
  47. package/dist/_worker.js/pages/_section_/_page_/_---tab_.astro.mjs +1 -0
  48. package/dist/_worker.js/pages/index.astro.mjs +1 -0
  49. package/dist/{server → _worker.js}/pages/props.astro.mjs +3 -2
  50. package/dist/_worker.js/renderers.mjs +484 -0
  51. package/dist/cli/cli.js +46 -12
  52. package/dist/{client/components/accordion/react → components/accordion}/index.html +14 -64
  53. package/dist/{client/components/accordion → components/accordion/react}/index.html +14 -64
  54. package/dist/components/all-components/index.html +47 -0
  55. package/dist/design-foundations/typography/index.html +198 -0
  56. package/dist/{client/design-foundations → design-foundations}/usage-and-behavior/index.html +4 -54
  57. package/dist/get-started/contribute/index.html +94 -0
  58. package/dist/index.html +43 -0
  59. package/package.json +12 -8
  60. package/public/.assetsignore +2 -0
  61. package/src/components/DocsTables.astro +28 -0
  62. package/src/pages/[section]/[...page].astro +7 -11
  63. package/src/pages/[section]/[page]/[...tab].astro +3 -11
  64. package/src/pages/props.ts +2 -2
  65. package/wrangler.jsonc +14 -0
  66. package/dist/client/_astro/CSSTable.DC79W1Ct.js +0 -1
  67. package/dist/client/_astro/ClientRouter.astro_astro_type_script_index_0_lang.Cainpjm5.js +0 -1
  68. package/dist/client/_astro/client.zs76E0tG.js +0 -1
  69. package/dist/client/components/all-components/index.html +0 -97
  70. package/dist/client/design-foundations/typography/index.html +0 -248
  71. package/dist/client/get-started/contribute/index.html +0 -144
  72. package/dist/client/index.html +0 -43
  73. package/dist/server/_@astrojs-ssr-adapter.mjs +0 -1
  74. package/dist/server/_noop-middleware.mjs +0 -3
  75. package/dist/server/chunks/PropsTables_PVzRHJNB.mjs +0 -1750
  76. package/dist/server/chunks/_astro_assets_DaYumpRZ.mjs +0 -1507
  77. package/dist/server/chunks/angle-down-icon_BO1Ed-9Z.mjs +0 -3288
  78. package/dist/server/chunks/astro/server_Cl9jPh4p.mjs +0 -2859
  79. package/dist/server/chunks/astro-designed-error-pages_BFveJFnQ.mjs +0 -282
  80. package/dist/server/chunks/consts_BmVDRGlB.mjs +0 -32
  81. package/dist/server/chunks/sharp_CbOL3WDk.mjs +0 -88
  82. package/dist/server/manifest_DsbMfV1U.mjs +0 -102
  83. package/dist/server/pages/_image.astro.mjs +0 -132
  84. package/dist/server/renderers.mjs +0 -308
  85. /package/dist/{client/PF-HorizontalLogo-Color.svg → PF-HorizontalLogo-Color.svg} +0 -0
  86. /package/dist/{client/PF-HorizontalLogo-Reverse.svg → PF-HorizontalLogo-Reverse.svg} +0 -0
  87. /package/dist/{client/_astro → _astro}/LiveExample.CxJsMvEq.css +0 -0
  88. /package/dist/{client/_astro → _astro}/RedHatDisplayVF-Italic.CRpusWc8.woff2 +0 -0
  89. /package/dist/{client/_astro → _astro}/RedHatDisplayVF.CYDHf1NI.woff2 +0 -0
  90. /package/dist/{client/_astro → _astro}/RedHatMonoVF-Italic.DGQo2ogW.woff2 +0 -0
  91. /package/dist/{client/_astro → _astro}/RedHatMonoVF.C4fMH6Vz.woff2 +0 -0
  92. /package/dist/{client/_astro → _astro}/RedHatTextVF-Italic.Dkj_WqbA.woff2 +0 -0
  93. /package/dist/{client/_astro → _astro}/RedHatTextVF.wYvZ7prR.woff2 +0 -0
  94. /package/dist/{client/_astro → _astro}/_page_.Chv_bGyU.css +0 -0
  95. /package/dist/{client/_astro → _astro}/_page_.CtheD08_.css +0 -0
  96. /package/dist/{client/_astro → _astro}/_page_.D1z73Byz.css +0 -0
  97. /package/dist/{client/_astro → _astro}/_page_.DxJDkZPc.css +0 -0
  98. /package/dist/{client/_astro → _astro}/fa-solid-900.DguXoeIz.woff2 +0 -0
  99. /package/dist/{client/_astro → _astro}/index.BQFV5hT1.js +0 -0
  100. /package/dist/{client/_astro → _astro}/index.CAChmxYj.js +0 -0
  101. /package/dist/{client/_astro → _astro}/index.eCxJ45ll.js +0 -0
  102. /package/dist/{client/_astro → _astro}/page.BTC3Kf3x.js +0 -0
  103. /package/dist/{client/_astro → _astro}/pf-v6-pficon.Dy6oiu9u.woff2 +0 -0
  104. /package/dist/{server/chunks/Accordion_BJka4Qvb.mjs → _worker.js/chunks/Accordion_CQUal4ef.mjs} +0 -0
  105. /package/dist/{server/chunks/Accordion_BQIphkaZ.mjs → _worker.js/chunks/Accordion_R7bP3pwr.mjs} +0 -0
  106. /package/dist/{server/chunks/AllComponents_CRhgTsiT.mjs → _worker.js/chunks/AllComponents_BDKlE-WJ.mjs} +0 -0
  107. /package/dist/{server/chunks/AllComponents_CjOtwUH6.mjs → _worker.js/chunks/AllComponents_DWDph25H.mjs} +0 -0
  108. /package/dist/{server/chunks/_astro_data-layer-content_D4Ib_RjR.mjs → _worker.js/chunks/_astro_assets_CfTVyruF.mjs} +0 -0
  109. /package/dist/{server/chunks/content-assets_DleWbedO.mjs → _worker.js/chunks/_astro_data-layer-content_CgXoS6Mm.mjs} +0 -0
  110. /package/dist/{server/chunks/content-modules_fX1c2JRG.mjs → _worker.js/chunks/content-assets_XqCgPAV2.mjs} +0 -0
  111. /package/dist/{server/pages/_section_/_---page_.astro.mjs → _worker.js/chunks/content-modules_BbCqcGJp.mjs} +0 -0
  112. /package/dist/{server/pages/_section_/_page_/_---tab_.astro.mjs → _worker.js/chunks/sharp_MEdXG7Td.mjs} +0 -0
  113. /package/dist/{server/pages/index.astro.mjs → _worker.js/pages/_section_/_---page_.astro.mjs} +0 -0
  114. /package/dist/{client/avatarImg.svg → avatarImg.svg} +0 -0
  115. /package/dist/{client/avatarImgDark.svg → avatarImgDark.svg} +0 -0
  116. /package/dist/{client/content → content}/typography/line-height.png +0 -0
  117. /package/dist/{client/favicon.svg → favicon.svg} +0 -0
@@ -0,0 +1,20 @@
1
+ {
2
+ "version": 1,
3
+ "include": [
4
+ "/*"
5
+ ],
6
+ "exclude": [
7
+ "/",
8
+ "/_astro/*",
9
+ "/.assetsignore",
10
+ "/PF-HorizontalLogo-Color.svg",
11
+ "/PF-HorizontalLogo-Reverse.svg",
12
+ "/avatarImg.svg",
13
+ "/avatarImgDark.svg",
14
+ "/favicon.svg",
15
+ "/content/*",
16
+ "/components/*",
17
+ "/get-started/*",
18
+ "/design-foundations/*"
19
+ ]
20
+ }
@@ -0,0 +1,2 @@
1
+ globalThis.process ??= {}; globalThis.process.env ??= {};
2
+ export { c as createExports } from './chunks/_@astrojs-ssr-adapter_IMtcR503.mjs';
@@ -0,0 +1,21 @@
1
+ globalThis.process ??= {}; globalThis.process.env ??= {};
2
+ import './chunks/astro-designed-error-pages_MEt0E9xn.mjs';
3
+ import './chunks/astro/server_YsSSp7Ny.mjs';
4
+ import { s as sequence } from './chunks/index_BE2AHcwI.mjs';
5
+
6
+ const onRequest$1 = (context, next) => {
7
+ if (context.isPrerendered) {
8
+ context.locals.runtime ??= {
9
+ env: process.env
10
+ };
11
+ }
12
+ return next();
13
+ };
14
+
15
+ const onRequest = sequence(
16
+ onRequest$1,
17
+
18
+
19
+ );
20
+
21
+ export { onRequest };
@@ -0,0 +1,4 @@
1
+ globalThis.process ??= {}; globalThis.process.env ??= {};
2
+ const server = {};
3
+
4
+ export { server };
@@ -1,8 +1,7 @@
1
- import { __rest } from 'tslib';
2
- import { jsx, jsxs } from 'react/jsx-runtime';
3
- import { u as useOUIAProps, c as css, s as setBreakpointCssVars, l as formatBreakpointMods, b as createIcon, B as Button } from './Button_BKhHR-ak.mjs';
1
+ globalThis.process ??= {}; globalThis.process.env ??= {};
2
+ import { _ as __rest, u as useOUIAProps, j as jsxRuntimeExports, c as css, s as setBreakpointCssVars, m as formatBreakpointMods, b as createIcon, B as Button } from './Button_CBcC0ViE.mjs';
4
3
  /* empty css */
5
- import React from 'react';
4
+ import { R as React } from './index_CBCp_CJ0.mjs';
6
5
 
7
6
  const styles$2 = {
8
7
  "content": "pf-v6-c-content",
@@ -79,7 +78,7 @@ const Content = (_a) => {
79
78
  const Component = wrappingComponent;
80
79
  const ouiaProps = useOUIAProps(Content.displayName, ouiaId, ouiaSafe);
81
80
  const isList = ['ul', 'ol', 'dl'].includes(wrappingComponent);
82
- return (jsx(Component, Object.assign({}, ouiaProps, props, { "data-pf-content": true, className: css(componentStyles[wrappingComponent], isList && isPlainList && styles$2.modifiers.plain, isVisitedLink && styles$2.modifiers.visited, isEditorial && styles$2.modifiers.editorial, className), children: children })));
81
+ return (jsxRuntimeExports.jsx(Component, Object.assign({}, ouiaProps, props, { "data-pf-content": true, className: css(componentStyles[wrappingComponent], isList && isPlainList && styles$2.modifiers.plain, isVisitedLink && styles$2.modifiers.visited, isEditorial && styles$2.modifiers.editorial, className), children: children })));
83
82
  };
84
83
  Content.displayName = 'Content';
85
84
 
@@ -635,14 +634,14 @@ const l_flex_item_Order = {
635
634
  const Flex = (_a) => {
636
635
  var { children = null, className = '', component = 'div', spacer, spaceItems, gap, rowGap, columnGap, grow, shrink, flex, direction, alignItems, alignContent, alignSelf, align, justifyContent, display, fullWidth, flexWrap, order, style } = _a, props = __rest(_a, ["children", "className", "component", "spacer", "spaceItems", "gap", "rowGap", "columnGap", "grow", "shrink", "flex", "direction", "alignItems", "alignContent", "alignSelf", "align", "justifyContent", "display", "fullWidth", "flexWrap", "order", "style"]);
637
636
  const Component = component;
638
- return (jsx(Component, Object.assign({ className: css(styles$1.flex, formatBreakpointMods(spacer, styles$1), formatBreakpointMods(spaceItems, styles$1), formatBreakpointMods(grow, styles$1), formatBreakpointMods(shrink, styles$1), formatBreakpointMods(flex, styles$1), formatBreakpointMods(direction, styles$1), formatBreakpointMods(alignItems, styles$1), formatBreakpointMods(alignContent, styles$1), formatBreakpointMods(alignSelf, styles$1), formatBreakpointMods(align, styles$1), formatBreakpointMods(justifyContent, styles$1), formatBreakpointMods(display, styles$1), formatBreakpointMods(fullWidth, styles$1), formatBreakpointMods(flexWrap, styles$1), formatBreakpointMods(gap, styles$1), formatBreakpointMods(rowGap, styles$1), formatBreakpointMods(columnGap, styles$1), className), style: style || order ? Object.assign(Object.assign({}, style), setBreakpointCssVars(order, l_flex_item_Order.name)) : undefined }, props, { children: children })));
637
+ return (jsxRuntimeExports.jsx(Component, Object.assign({ className: css(styles$1.flex, formatBreakpointMods(spacer, styles$1), formatBreakpointMods(spaceItems, styles$1), formatBreakpointMods(grow, styles$1), formatBreakpointMods(shrink, styles$1), formatBreakpointMods(flex, styles$1), formatBreakpointMods(direction, styles$1), formatBreakpointMods(alignItems, styles$1), formatBreakpointMods(alignContent, styles$1), formatBreakpointMods(alignSelf, styles$1), formatBreakpointMods(align, styles$1), formatBreakpointMods(justifyContent, styles$1), formatBreakpointMods(display, styles$1), formatBreakpointMods(fullWidth, styles$1), formatBreakpointMods(flexWrap, styles$1), formatBreakpointMods(gap, styles$1), formatBreakpointMods(rowGap, styles$1), formatBreakpointMods(columnGap, styles$1), className), style: style || order ? Object.assign(Object.assign({}, style), setBreakpointCssVars(order, l_flex_item_Order.name)) : undefined }, props, { children: children })));
639
638
  };
640
639
  Flex.displayName = 'Flex';
641
640
 
642
641
  const FlexItem = (_a) => {
643
642
  var { children = null, className = '', component = 'div', spacer, grow, shrink, flex, alignSelf, align, fullWidth, order, style } = _a, props = __rest(_a, ["children", "className", "component", "spacer", "grow", "shrink", "flex", "alignSelf", "align", "fullWidth", "order", "style"]);
644
643
  const Component = component;
645
- return (jsx(Component, Object.assign({}, props, { className: css(formatBreakpointMods(spacer, styles$1), formatBreakpointMods(grow, styles$1), formatBreakpointMods(shrink, styles$1), formatBreakpointMods(flex, styles$1), formatBreakpointMods(alignSelf, styles$1), formatBreakpointMods(align, styles$1), formatBreakpointMods(fullWidth, styles$1), className), style: style || order ? Object.assign(Object.assign({}, style), setBreakpointCssVars(order, l_flex_item_Order.name)) : undefined, children: children })));
644
+ return (jsxRuntimeExports.jsx(Component, Object.assign({}, props, { className: css(formatBreakpointMods(spacer, styles$1), formatBreakpointMods(grow, styles$1), formatBreakpointMods(shrink, styles$1), formatBreakpointMods(flex, styles$1), formatBreakpointMods(alignSelf, styles$1), formatBreakpointMods(align, styles$1), formatBreakpointMods(fullWidth, styles$1), className), style: style || order ? Object.assign(Object.assign({}, style), setBreakpointCssVars(order, l_flex_item_Order.name)) : undefined, children: children })));
646
645
  };
647
646
  FlexItem.displayName = 'FlexItem';
648
647
 
@@ -658,14 +657,14 @@ const styles = {
658
657
  const Stack = (_a) => {
659
658
  var { hasGutter = false, className = '', children = null, component = 'div' } = _a, props = __rest(_a, ["hasGutter", "className", "children", "component"]);
660
659
  const Component = component;
661
- return (jsx(Component, Object.assign({}, props, { className: css(styles.stack, hasGutter && styles.modifiers.gutter, className), children: children })));
660
+ return (jsxRuntimeExports.jsx(Component, Object.assign({}, props, { className: css(styles.stack, hasGutter && styles.modifiers.gutter, className), children: children })));
662
661
  };
663
662
  Stack.displayName = 'Stack';
664
663
 
665
664
  const StackItem = (_a) => {
666
665
  var { isFilled = false, className = '', children = null, component = 'div' } = _a, props = __rest(_a, ["isFilled", "className", "children", "component"]);
667
666
  const Component = component;
668
- return (jsx(Component, Object.assign({}, props, { className: css(styles.stackItem, isFilled && styles.modifiers.fill, className), children: children })));
667
+ return (jsxRuntimeExports.jsx(Component, Object.assign({}, props, { className: css(styles.stackItem, isFilled && styles.modifiers.fill, className), children: children })));
669
668
  };
670
669
  StackItem.displayName = 'StackItem';
671
670
 
@@ -693,13 +692,13 @@ const AutoLinkHeader = ({
693
692
  className
694
693
  }) => {
695
694
  const slug = id || slugger(children);
696
- return /* @__PURE__ */ jsxs(
695
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
697
696
  Flex,
698
697
  {
699
698
  alignItems: { default: "alignItemsCenter" },
700
699
  spaceItems: { default: "spaceItemsSm" },
701
700
  children: [
702
- /* @__PURE__ */ jsx(FlexItem, { children: /* @__PURE__ */ jsxs(
701
+ /* @__PURE__ */ jsxRuntimeExports.jsx(FlexItem, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
703
702
  Content,
704
703
  {
705
704
  id: slug,
@@ -708,7 +707,7 @@ const AutoLinkHeader = ({
708
707
  tabIndex: -1,
709
708
  isEditorial: true,
710
709
  children: [
711
- /* @__PURE__ */ jsx(
710
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
712
711
  Button,
713
712
  {
714
713
  href: `#${slug}`,
@@ -718,7 +717,7 @@ const AutoLinkHeader = ({
718
717
  "aria-hidden": true,
719
718
  variant: "plain",
720
719
  isInline: true,
721
- children: /* @__PURE__ */ jsx(
720
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
722
721
  LinkIcon,
723
722
  {
724
723
  className: "ws-heading-anchor-icon",
@@ -731,7 +730,7 @@ const AutoLinkHeader = ({
731
730
  ]
732
731
  }
733
732
  ) }),
734
- metaText && /* @__PURE__ */ jsx(FlexItem, { children: metaText })
733
+ metaText && /* @__PURE__ */ jsxRuntimeExports.jsx(FlexItem, { children: metaText })
735
734
  ]
736
735
  }
737
736
  );
@@ -1,8 +1,78 @@
1
- import { __rest } from 'tslib';
2
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
3
- import { Component, useMemo, forwardRef } from 'react';
1
+ globalThis.process ??= {}; globalThis.process.env ??= {};
2
+ import { a as requireReact, r as reactExports } from './index_CBCp_CJ0.mjs';
4
3
  /* empty css */
5
4
 
5
+ /******************************************************************************
6
+ Copyright (c) Microsoft Corporation.
7
+
8
+ Permission to use, copy, modify, and/or distribute this software for any
9
+ purpose with or without fee is hereby granted.
10
+
11
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
12
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
14
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
16
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17
+ PERFORMANCE OF THIS SOFTWARE.
18
+ ***************************************************************************** */
19
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
20
+
21
+
22
+ function __rest(s, e) {
23
+ var t = {};
24
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
25
+ t[p] = s[p];
26
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
27
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
28
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
29
+ t[p[i]] = s[p[i]];
30
+ }
31
+ return t;
32
+ }
33
+
34
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
35
+ var e = new Error(message);
36
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
37
+ };
38
+
39
+ var jsxRuntime = {exports: {}};
40
+
41
+ var reactJsxRuntime_production_min = {};
42
+
43
+ /**
44
+ * @license React
45
+ * react-jsx-runtime.production.min.js
46
+ *
47
+ * Copyright (c) Facebook, Inc. and its affiliates.
48
+ *
49
+ * This source code is licensed under the MIT license found in the
50
+ * LICENSE file in the root directory of this source tree.
51
+ */
52
+
53
+ var hasRequiredReactJsxRuntime_production_min;
54
+
55
+ function requireReactJsxRuntime_production_min () {
56
+ if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
57
+ hasRequiredReactJsxRuntime_production_min = 1;
58
+ var f=requireReact(),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:true,ref:true,__self:true,__source:true};
59
+ function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a) void 0===d[b]&&(d[b]=a[b]);return {$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}reactJsxRuntime_production_min.Fragment=l;reactJsxRuntime_production_min.jsx=q;reactJsxRuntime_production_min.jsxs=q;
60
+ return reactJsxRuntime_production_min;
61
+ }
62
+
63
+ var hasRequiredJsxRuntime;
64
+
65
+ function requireJsxRuntime () {
66
+ if (hasRequiredJsxRuntime) return jsxRuntime.exports;
67
+ hasRequiredJsxRuntime = 1;
68
+ {
69
+ jsxRuntime.exports = requireReactJsxRuntime_production_min();
70
+ }
71
+ return jsxRuntime.exports;
72
+ }
73
+
74
+ var jsxRuntimeExports = requireJsxRuntime();
75
+
6
76
  /** Joins args into a className string
7
77
  *
8
78
  * @param {any} args list of objects, string, or arrays to reduce
@@ -69,7 +139,7 @@ let currentId = 0;
69
139
  */
70
140
  function createIcon({ name, xOffset = 0, yOffset = 0, width, height, svgPath }) {
71
141
  var _a;
72
- return _a = class SVGIcon extends Component {
142
+ return _a = class SVGIcon extends reactExports.Component {
73
143
  constructor() {
74
144
  super(...arguments);
75
145
  this.id = `icon-title-${currentId++}`;
@@ -79,7 +149,7 @@ function createIcon({ name, xOffset = 0, yOffset = 0, width, height, svgPath })
79
149
  const classes = className ? `pf-v6-svg ${className}` : 'pf-v6-svg';
80
150
  const hasTitle = Boolean(title);
81
151
  const viewBox = [xOffset, yOffset, width, height].join(' ');
82
- return (jsxs("svg", Object.assign({ className: classes, viewBox: viewBox, fill: "currentColor", "aria-labelledby": hasTitle ? this.id : null, "aria-hidden": hasTitle ? null : true, role: "img", width: "1em", height: "1em" }, props, { children: [hasTitle && jsx("title", { id: this.id, children: title }), jsx("path", { d: svgPath })] })));
152
+ return (jsxRuntimeExports.jsxs("svg", Object.assign({ className: classes, viewBox: viewBox, fill: "currentColor", "aria-labelledby": hasTitle ? this.id : null, "aria-hidden": hasTitle ? null : true, role: "img", width: "1em", height: "1em" }, props, { children: [hasTitle && jsxRuntimeExports.jsx("title", { id: this.id, children: title }), jsxRuntimeExports.jsx("path", { d: svgPath })] })));
83
153
  }
84
154
  },
85
155
  _a.displayName = name,
@@ -463,7 +533,7 @@ const useOUIAProps = (componentType, id, ouiaSafe = true, variant) => ({
463
533
  * @param {string} variant Optional variant to add to the generated ID
464
534
  */
465
535
  const useOUIAId = (componentType, id, variant) => {
466
- const defaultOUIAId = useMemo(() => getDefaultOUIAId(componentType, variant), [componentType, variant]);
536
+ const defaultOUIAId = reactExports.useMemo(() => getDefaultOUIAId(componentType, variant), [componentType, variant]);
467
537
  return id !== null && id !== void 0 ? id : defaultOUIAId;
468
538
  };
469
539
  /**
@@ -557,7 +627,7 @@ var spinnerSize;
557
627
  })(spinnerSize || (spinnerSize = {}));
558
628
  const Spinner = (_a) => {
559
629
  var { className = '', size = 'xl', 'aria-valuetext': ariaValueText = 'Loading...', diameter, isInline = false, 'aria-label': ariaLabel, 'aria-labelledBy': ariaLabelledBy } = _a, props = __rest(_a, ["className", "size", 'aria-valuetext', "diameter", "isInline", 'aria-label', 'aria-labelledBy']);
560
- return (jsx("svg", Object.assign({ className: css(styles$1.spinner, isInline ? styles$1.modifiers.inline : styles$1.modifiers[size], className), role: "progressbar", "aria-valuetext": ariaValueText, viewBox: "0 0 100 100" }, (diameter && { style: { [c_spinner_diameter.name]: diameter } }), (ariaLabel && { 'aria-label': ariaLabel }), (ariaLabelledBy && { 'aria-labelledBy': ariaLabelledBy }), (!ariaLabel && !ariaLabelledBy && { 'aria-label': 'Contents' }), props, { children: jsx("circle", { className: styles$1.spinnerPath, cx: "50", cy: "50", r: "45", fill: "none" }) })));
630
+ return (jsxRuntimeExports.jsx("svg", Object.assign({ className: css(styles$1.spinner, isInline ? styles$1.modifiers.inline : styles$1.modifiers[size], className), role: "progressbar", "aria-valuetext": ariaValueText, viewBox: "0 0 100 100" }, (diameter && { style: { [c_spinner_diameter.name]: diameter } }), (ariaLabel && { 'aria-label': ariaLabel }), (ariaLabelledBy && { 'aria-labelledBy': ariaLabelledBy }), (!ariaLabel && !ariaLabelledBy && { 'aria-label': 'Contents' }), props, { children: jsxRuntimeExports.jsx("circle", { className: styles$1.spinnerPath, cx: "50", cy: "50", r: "45", fill: "none" }) })));
561
631
  };
562
632
  Spinner.displayName = 'Spinner';
563
633
 
@@ -572,7 +642,7 @@ const styles = {
572
642
 
573
643
  const Badge = (_a) => {
574
644
  var { isRead = false, isDisabled = false, className = '', children = '', screenReaderText } = _a, props = __rest(_a, ["isRead", "isDisabled", "className", "children", "screenReaderText"]);
575
- return (jsxs("span", Object.assign({}, props, { className: css(styles.badge, (isRead ? styles.modifiers.read : styles.modifiers.unread), isDisabled && styles.modifiers.disabled, className), children: [children, screenReaderText && jsx("span", { className: "pf-v6-screen-reader", children: screenReaderText })] })));
645
+ return (jsxRuntimeExports.jsxs("span", Object.assign({}, props, { className: css(styles.badge, (isRead ? styles.modifiers.read : styles.modifiers.unread), isDisabled && styles.modifiers.disabled, className), children: [children, screenReaderText && jsxRuntimeExports.jsx("span", { className: "pf-v6-screen-reader", children: screenReaderText })] })));
576
646
  };
577
647
  Badge.displayName = 'Badge';
578
648
 
@@ -627,13 +697,13 @@ const ButtonBase = (_a) => {
627
697
  return 0;
628
698
  }
629
699
  };
630
- const _icon = icon && (jsx("span", { className: css(styles$2.buttonIcon, children && styles$2.modifiers[isIconAlignedAtEnd ? 'end' : 'start']), children: icon }));
631
- const _children = children && jsx("span", { className: css('pf-v6-c-button__text'), children: children });
700
+ const _icon = icon && (jsxRuntimeExports.jsx("span", { className: css(styles$2.buttonIcon, children && styles$2.modifiers[isIconAlignedAtEnd ? 'end' : 'start']), children: icon }));
701
+ const _children = children && jsxRuntimeExports.jsx("span", { className: css('pf-v6-c-button__text'), children: children });
632
702
  // We only want to render the aria-disabled attribute when true, similar to the disabled attribute natively.
633
703
  const shouldRenderAriaDisabled = isAriaDisabled || (!isButtonElement && isDisabled);
634
- return (jsxs(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), (shouldRenderAriaDisabled && { 'aria-disabled': true }), { "aria-label": ariaLabel, className: css(styles$2.button, styles$2.modifiers[variant], isBlock && styles$2.modifiers.block, isDisabled && !isButtonElement && styles$2.modifiers.disabled, isAriaDisabled && styles$2.modifiers.ariaDisabled, isClicked && styles$2.modifiers.clicked, isInline && variant === ButtonVariant.link && styles$2.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && styles$2.modifiers.danger, isLoading !== null && variant !== ButtonVariant.plain && styles$2.modifiers.progress, isLoading && styles$2.modifiers.inProgress, hasNoPadding && variant === ButtonVariant.plain && styles$2.modifiers.noPadding, variant === ButtonVariant.stateful && styles$2.modifiers[state], size === ButtonSize.sm && styles$2.modifiers.small, size === ButtonSize.lg && styles$2.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : role, ref: innerRef }, ouiaProps, { children: [isLoading && (jsx("span", { className: css(styles$2.buttonProgress), children: jsx(Spinner, { size: spinnerSize.md, isInline: isInline, "aria-valuetext": spinnerAriaValueText, "aria-label": spinnerAriaLabel, "aria-labelledby": spinnerAriaLabelledBy }) })), isIconAlignedAtEnd ? (jsxs(Fragment, { children: [_children, _icon] })) : (jsxs(Fragment, { children: [_icon, _children] })), countOptions && (jsx("span", { className: css(styles$2.buttonCount, countOptions.className), children: jsx(Badge, { isRead: countOptions.isRead, isDisabled: isDisabled, children: countOptions.count }) }))] })));
704
+ return (jsxRuntimeExports.jsxs(Component, Object.assign({}, props, (isAriaDisabled ? preventedEvents : null), (shouldRenderAriaDisabled && { 'aria-disabled': true }), { "aria-label": ariaLabel, className: css(styles$2.button, styles$2.modifiers[variant], isBlock && styles$2.modifiers.block, isDisabled && !isButtonElement && styles$2.modifiers.disabled, isAriaDisabled && styles$2.modifiers.ariaDisabled, isClicked && styles$2.modifiers.clicked, isInline && variant === ButtonVariant.link && styles$2.modifiers.inline, isDanger && (variant === ButtonVariant.secondary || variant === ButtonVariant.link) && styles$2.modifiers.danger, isLoading !== null && variant !== ButtonVariant.plain && styles$2.modifiers.progress, isLoading && styles$2.modifiers.inProgress, hasNoPadding && variant === ButtonVariant.plain && styles$2.modifiers.noPadding, variant === ButtonVariant.stateful && styles$2.modifiers[state], size === ButtonSize.sm && styles$2.modifiers.small, size === ButtonSize.lg && styles$2.modifiers.displayLg, className), disabled: isButtonElement ? isDisabled : null, tabIndex: tabIndex !== null ? tabIndex : getDefaultTabIdx(), type: isButtonElement || isInlineSpan ? type : null, role: isInlineSpan ? 'button' : role, ref: innerRef }, ouiaProps, { children: [isLoading && (jsxRuntimeExports.jsx("span", { className: css(styles$2.buttonProgress), children: jsxRuntimeExports.jsx(Spinner, { size: spinnerSize.md, isInline: isInline, "aria-valuetext": spinnerAriaValueText, "aria-label": spinnerAriaLabel, "aria-labelledby": spinnerAriaLabelledBy }) })), isIconAlignedAtEnd ? (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [_children, _icon] })) : (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [_icon, _children] })), countOptions && (jsxRuntimeExports.jsx("span", { className: css(styles$2.buttonCount, countOptions.className), children: jsxRuntimeExports.jsx(Badge, { isRead: countOptions.isRead, isDisabled: isDisabled, children: countOptions.count }) }))] })));
635
705
  };
636
- const Button = forwardRef((props, ref) => jsx(ButtonBase, Object.assign({ innerRef: ref }, props)));
706
+ const Button = reactExports.forwardRef((props, ref) => jsxRuntimeExports.jsx(ButtonBase, Object.assign({ innerRef: ref }, props)));
637
707
  Button.displayName = 'Button';
638
708
 
639
- export { Button as B, CheckCircleIcon as C, ExclamationTriangleIcon as E, InfoCircleIcon as I, KeyTypes as K, Spinner as S, ValidatedOptions as V, canUseDOM as a, createIcon as b, css as c, ExclamationCircleIcon as d, getOUIAProps as e, statusIcons as f, getDefaultOUIAId as g, ButtonVariant as h, Badge as i, getVerticalBreakpoint as j, getBreakpoint as k, formatBreakpointMods as l, t_global_breakpoint_2xl as m, t_global_breakpoint_xl as n, t_global_breakpoint_lg as o, t_global_breakpoint_md as p, toCamel as q, getUniqueId as r, setBreakpointCssVars as s, trimLeft as t, useOUIAProps as u, BellIcon as v, getLanguageDirection as w, clearTimeouts as x };
709
+ export { Button as B, CheckCircleIcon as C, ExclamationTriangleIcon as E, InfoCircleIcon as I, KeyTypes as K, Spinner as S, ValidatedOptions as V, __rest as _, canUseDOM as a, createIcon as b, css as c, ExclamationCircleIcon as d, getOUIAProps as e, statusIcons as f, getDefaultOUIAId as g, ButtonVariant as h, Badge as i, jsxRuntimeExports as j, getVerticalBreakpoint as k, getBreakpoint as l, formatBreakpointMods as m, t_global_breakpoint_2xl as n, t_global_breakpoint_xl as o, t_global_breakpoint_lg as p, t_global_breakpoint_md as q, toCamel as r, setBreakpointCssVars as s, trimLeft as t, useOUIAProps as u, getUniqueId as v, BellIcon as w, getLanguageDirection as x, clearTimeouts as y };
@@ -1,6 +1,6 @@
1
- import { c as createComponent, a as createAstro, r as renderComponent, b as renderTemplate } from './astro/server_Cl9jPh4p.mjs';
2
- import 'kleur/colors';
3
- import { S as Stack, a as StackItem, A as AutoLinkHeader } from './AutoLinkHeader_C2GD0g-K.mjs';
1
+ globalThis.process ??= {}; globalThis.process.env ??= {};
2
+ import { c as createComponent, a as createAstro, r as renderComponent, b as renderTemplate } from './astro/server_YsSSp7Ny.mjs';
3
+ import { S as Stack, a as StackItem, A as AutoLinkHeader } from './AutoLinkHeader_DLgn_YRm.mjs';
4
4
 
5
5
  const $$Astro = createAstro();
6
6
  const $$CSSTable = createComponent(($$result, $$props, $$slots) => {
@@ -0,0 +1,20 @@
1
+ globalThis.process ??= {}; globalThis.process.env ??= {};
2
+ import { c as createComponent, a as createAstro, r as renderComponent, an as Fragment, b as renderTemplate } from './astro/server_YsSSp7Ny.mjs';
3
+ import $$PropsTables from './PropsTables_Dcd7znAq.mjs';
4
+ import $$CSSTable from './CSSTable_C1dV02qV.mjs';
5
+ /* empty css */
6
+ import { S as Stack, a as StackItem } from './AutoLinkHeader_DLgn_YRm.mjs';
7
+
8
+ const $$Astro = createAstro();
9
+ const $$DocsTables = createComponent(($$result, $$props, $$slots) => {
10
+ const Astro2 = $$result.createAstro($$Astro, $$props, $$slots);
11
+ Astro2.self = $$DocsTables;
12
+ const { propComponents, cssPrefix } = Astro2.props;
13
+ const hasTables = !!propComponents || !!cssPrefix;
14
+ return renderTemplate`${renderComponent($$result, "Fragment", Fragment, {}, { "default": ($$result2) => renderTemplate`${hasTables && renderTemplate`${renderComponent($$result2, "Stack", Stack, { "hasGutter": true }, { "default": ($$result3) => renderTemplate`${propComponents && renderTemplate`${renderComponent($$result3, "StackItem", StackItem, {}, { "default": ($$result4) => renderTemplate`${renderComponent($$result4, "PropsTables", $$PropsTables, { "propComponents": propComponents, "server:defer": true, "server:component-directive": "defer", "server:component-path": "/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/PropsTables.astro", "server:component-export": "default" })}` })}`}${cssPrefix && renderTemplate`${renderComponent($$result3, "StackItem", StackItem, {}, { "default": ($$result4) => renderTemplate`${renderComponent($$result4, "CSSTable", $$CSSTable, { "cssPrefix": cssPrefix, "server:defer": true, "server:component-directive": "defer", "server:component-path": "/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/CSSTable.astro", "server:component-export": "default" })}` })}`}` })}`}` })}`;
15
+ }, "/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/DocsTables.astro", "self");
16
+
17
+ const $$file = "/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/DocsTables.astro";
18
+ const $$url = undefined;
19
+
20
+ export { $$DocsTables as default, $$file as file, $$url as url };