@patternfly/patternfly-doc-core 1.4.0 → 1.6.0

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 (75) hide show
  1. package/.astro/collections/examples.schema.json +40 -0
  2. package/.astro/content-modules.mjs +4 -1
  3. package/.astro/content.d.ts +20 -1
  4. package/.vscode/launch.json +31 -10
  5. package/astro.config.mjs +2 -2
  6. package/declarations.d.ts +2 -0
  7. package/dist/client/_astro/LiveExample.B7IM_dLQ.css +1 -0
  8. package/dist/client/_astro/LiveExample.Df-EUsee.js +40 -0
  9. package/dist/client/_astro/Navigation.CabjIYg4.js +1 -0
  10. package/dist/client/_astro/PageContext.D1pNBMhh.js +9 -0
  11. package/dist/client/_astro/PageSidebarBody.Y-7d6zQM.js +1 -0
  12. package/dist/client/_astro/PageToggle.CbfM9bJB.js +1 -0
  13. package/dist/client/_astro/PageToggleButton.CZ3xPbcc.js +1 -0
  14. package/dist/client/_astro/Toolbar.9-YSFh3P.js +1 -0
  15. package/dist/client/_astro/ToolbarContent.BXdFKbs9.js +1 -0
  16. package/dist/client/_astro/_page_.B8cBYNKa.css +1 -0
  17. package/dist/client/_astro/_page_.CtheD08_.css +1 -0
  18. package/dist/client/_astro/_tab_.DxJDkZPc.css +1 -0
  19. package/dist/client/_astro/_tab_.YrfmckTJ.css +1 -0
  20. package/dist/client/_astro/client.CTJTt880.js +1 -0
  21. package/dist/client/_astro/divider.DjbDHO_6.js +1 -0
  22. package/dist/client/_astro/index.Dhi-S4Ah.js +24 -0
  23. package/dist/client/_astro/index.Dkaqzkgy.js +9 -0
  24. package/dist/client/_astro/page.CDtWFZb5.js +1 -0
  25. package/dist/client/components/accordion/index.html +85 -0
  26. package/dist/client/design-foundations/typography/index.html +24 -22
  27. package/dist/client/design-foundations/usage-and-behavior/index.html +24 -22
  28. package/dist/client/get-started/contribute/index.html +24 -22
  29. package/dist/client/index.html +19 -17
  30. package/dist/server/_@astrojs-ssr-adapter.mjs +1 -1
  31. package/dist/server/chunks/{PropsTables_D_v4KAMn.mjs → PropsTables_IgCNCQTX.mjs} +147 -213
  32. package/dist/server/chunks/{_@astrojs-ssr-adapter_ByVMUK8O.mjs → _@astrojs-ssr-adapter_CbICuCdt.mjs} +2 -2
  33. package/dist/server/chunks/{_astro_assets_CLOMnm-3.mjs → _astro_assets_DaYumpRZ.mjs} +2 -2
  34. package/dist/server/chunks/_astro_data-layer-content_Ni7IDnLe.mjs +1 -0
  35. package/dist/server/chunks/{angle-down-icon_BNJvzYv-.mjs → angle-down-icon_C5YQ7k8s.mjs} +163 -213
  36. package/dist/server/chunks/astro/{server_D4f31GMD.mjs → server_Cl9jPh4p.mjs} +179 -89
  37. package/dist/server/chunks/{astro-designed-error-pages_CpHpbfhr.mjs → astro-designed-error-pages_BFveJFnQ.mjs} +1 -1
  38. package/dist/server/chunks/content-modules_BzUEG69n.mjs +1 -0
  39. package/dist/server/chunks/{sharp_BYpUyJGL.mjs → sharp_CbOL3WDk.mjs} +2 -2
  40. package/dist/server/entry.mjs +3 -3
  41. package/dist/server/{manifest_CBenwYiZ.mjs → manifest_DoNTQyvZ.mjs} +3 -3
  42. package/dist/server/pages/_image.astro.mjs +1 -1
  43. package/dist/server/renderers.mjs +63 -14
  44. package/package.json +5 -2
  45. package/src/components/Content.tsx +61 -0
  46. package/src/components/ExampleToolbar.tsx +296 -0
  47. package/src/components/LiveExample.astro +7 -0
  48. package/src/components/LiveExample.tsx +42 -0
  49. package/src/components/Masthead.astro +1 -1
  50. package/src/components/NavEntry.tsx +0 -2
  51. package/src/components/NavSection.tsx +3 -23
  52. package/src/components/Navigation.astro +52 -7
  53. package/src/components/Navigation.tsx +13 -43
  54. package/src/content.ts +2 -1
  55. package/src/pages/[section]/[page]/[...tab].astro +97 -39
  56. package/textContent/examples/Accordion/Accordion.mdx +45 -0
  57. package/textContent/examples/Accordion/AccordionBordered.tsx +141 -0
  58. package/textContent/examples/Accordion/AccordionDefinitionList.tsx +102 -0
  59. package/textContent/examples/Accordion/AccordionFixedWithMultipleExpandBehavior.tsx +128 -0
  60. package/textContent/examples/Accordion/AccordionSingleExpandBehavior.tsx +118 -0
  61. package/textContent/examples/Accordion/AccordionToggleIconAtStart.tsx +118 -0
  62. package/dist/client/_astro/Button.C3_jB5tC.js +0 -9
  63. package/dist/client/_astro/Navigation.75VF_8AW.js +0 -1
  64. package/dist/client/_astro/PageContext.C7BqCh9N.js +0 -1
  65. package/dist/client/_astro/PageToggle.DDEjruql.js +0 -1
  66. package/dist/client/_astro/Toolbar.TAdHxLSQ.js +0 -1
  67. package/dist/client/_astro/_page_.CXyz_BEo.css +0 -1
  68. package/dist/client/_astro/_page_.DVvr_Mfl.css +0 -1
  69. package/dist/client/_astro/_page_.SnUmZn2y.css +0 -1
  70. package/dist/client/_astro/client.CeeiqVaE.js +0 -1
  71. package/dist/client/_astro/divider.BSD-oFoh.js +0 -1
  72. package/dist/client/_astro/index.CTH3fVMn.js +0 -32
  73. package/dist/client/_astro/page.B65lVdBS.js +0 -1
  74. /package/dist/server/chunks/{_astro_data-layer-content_DDGBHvtb.mjs → Accordion_CGgMUho2.mjs} +0 -0
  75. /package/dist/server/chunks/{content-modules_Dz-S_Wwv.mjs → Accordion_DlM2LvlF.mjs} +0 -0
@@ -1,20 +1,94 @@
1
1
  import { bold } from 'kleur/colors';
2
2
  import { clsx } from 'clsx';
3
3
  import { escape } from 'html-escaper';
4
- import { decodeBase64, encodeHexUpperCase, encodeBase64, decodeHex } from '@oslojs/encoding';
4
+ import { encodeHexUpperCase, encodeBase64, decodeBase64, decodeHex } from '@oslojs/encoding';
5
5
  import 'cssesc';
6
6
 
7
- const ASTRO_VERSION = "5.4.1";
8
- const REROUTE_DIRECTIVE_HEADER = "X-Astro-Reroute";
9
- const REWRITE_DIRECTIVE_HEADER_KEY = "X-Astro-Rewrite";
10
- const REWRITE_DIRECTIVE_HEADER_VALUE = "yes";
11
- const NOOP_MIDDLEWARE_HEADER = "X-Astro-Noop";
12
- const ROUTE_TYPE_HEADER = "X-Astro-Route-Type";
13
- const DEFAULT_404_COMPONENT = "astro-default-404.astro";
14
- const REROUTABLE_STATUS_CODES = [404, 500];
15
- const clientAddressSymbol = Symbol.for("astro.clientAddress");
16
- const originPathnameSymbol = Symbol.for("astro.originPathname");
17
- const responseSentSymbol = Symbol.for("astro.responseSent");
7
+ function normalizeLF(code) {
8
+ return code.replace(/\r\n|\r(?!\n)|\n/g, "\n");
9
+ }
10
+
11
+ function codeFrame(src, loc) {
12
+ if (!loc || loc.line === void 0 || loc.column === void 0) {
13
+ return "";
14
+ }
15
+ const lines = normalizeLF(src).split("\n").map((ln) => ln.replace(/\t/g, " "));
16
+ const visibleLines = [];
17
+ for (let n = -2; n <= 2; n++) {
18
+ if (lines[loc.line + n]) visibleLines.push(loc.line + n);
19
+ }
20
+ let gutterWidth = 0;
21
+ for (const lineNo of visibleLines) {
22
+ let w = `> ${lineNo}`;
23
+ if (w.length > gutterWidth) gutterWidth = w.length;
24
+ }
25
+ let output = "";
26
+ for (const lineNo of visibleLines) {
27
+ const isFocusedLine = lineNo === loc.line - 1;
28
+ output += isFocusedLine ? "> " : " ";
29
+ output += `${lineNo + 1} | ${lines[lineNo]}
30
+ `;
31
+ if (isFocusedLine)
32
+ output += `${Array.from({ length: gutterWidth }).join(" ")} | ${Array.from({
33
+ length: loc.column
34
+ }).join(" ")}^
35
+ `;
36
+ }
37
+ return output;
38
+ }
39
+
40
+ class AstroError extends Error {
41
+ loc;
42
+ title;
43
+ hint;
44
+ frame;
45
+ type = "AstroError";
46
+ constructor(props, options) {
47
+ const { name, title, message, stack, location, hint, frame } = props;
48
+ super(message, options);
49
+ this.title = title;
50
+ this.name = name;
51
+ if (message) this.message = message;
52
+ this.stack = stack ? stack : this.stack;
53
+ this.loc = location;
54
+ this.hint = hint;
55
+ this.frame = frame;
56
+ }
57
+ setLocation(location) {
58
+ this.loc = location;
59
+ }
60
+ setName(name) {
61
+ this.name = name;
62
+ }
63
+ setMessage(message) {
64
+ this.message = message;
65
+ }
66
+ setHint(hint) {
67
+ this.hint = hint;
68
+ }
69
+ setFrame(source, location) {
70
+ this.frame = codeFrame(source, location);
71
+ }
72
+ static is(err) {
73
+ return err.type === "AstroError";
74
+ }
75
+ }
76
+ class AstroUserError extends Error {
77
+ type = "AstroUserError";
78
+ /**
79
+ * A message that explains to the user how they can fix the error.
80
+ */
81
+ hint;
82
+ name = "AstroUserError";
83
+ constructor(message, hint) {
84
+ super();
85
+ this.message = message;
86
+ this.hint = hint;
87
+ }
88
+ static is(err) {
89
+ return err.type === "AstroUserError";
90
+ }
91
+ }
18
92
 
19
93
  const ClientAddressNotAvailable = {
20
94
  name: "ClientAddressNotAvailable",
@@ -298,76 +372,6 @@ const SessionStorageSaveError = {
298
372
  hint: "For more information, see https://docs.astro.build/en/reference/experimental-flags/sessions/"
299
373
  };
300
374
 
301
- function normalizeLF(code) {
302
- return code.replace(/\r\n|\r(?!\n)|\n/g, "\n");
303
- }
304
-
305
- function codeFrame(src, loc) {
306
- if (!loc || loc.line === void 0 || loc.column === void 0) {
307
- return "";
308
- }
309
- const lines = normalizeLF(src).split("\n").map((ln) => ln.replace(/\t/g, " "));
310
- const visibleLines = [];
311
- for (let n = -2; n <= 2; n++) {
312
- if (lines[loc.line + n]) visibleLines.push(loc.line + n);
313
- }
314
- let gutterWidth = 0;
315
- for (const lineNo of visibleLines) {
316
- let w = `> ${lineNo}`;
317
- if (w.length > gutterWidth) gutterWidth = w.length;
318
- }
319
- let output = "";
320
- for (const lineNo of visibleLines) {
321
- const isFocusedLine = lineNo === loc.line - 1;
322
- output += isFocusedLine ? "> " : " ";
323
- output += `${lineNo + 1} | ${lines[lineNo]}
324
- `;
325
- if (isFocusedLine)
326
- output += `${Array.from({ length: gutterWidth }).join(" ")} | ${Array.from({
327
- length: loc.column
328
- }).join(" ")}^
329
- `;
330
- }
331
- return output;
332
- }
333
-
334
- class AstroError extends Error {
335
- loc;
336
- title;
337
- hint;
338
- frame;
339
- type = "AstroError";
340
- constructor(props, options) {
341
- const { name, title, message, stack, location, hint, frame } = props;
342
- super(message, options);
343
- this.title = title;
344
- this.name = name;
345
- if (message) this.message = message;
346
- this.stack = stack ? stack : this.stack;
347
- this.loc = location;
348
- this.hint = hint;
349
- this.frame = frame;
350
- }
351
- setLocation(location) {
352
- this.loc = location;
353
- }
354
- setName(name) {
355
- this.name = name;
356
- }
357
- setMessage(message) {
358
- this.message = message;
359
- }
360
- setHint(hint) {
361
- this.hint = hint;
362
- }
363
- setFrame(source, location) {
364
- this.frame = codeFrame(source, location);
365
- }
366
- static is(err) {
367
- return err.type === "AstroError";
368
- }
369
- }
370
-
371
375
  function validateArgs(args) {
372
376
  if (args.length !== 3) return false;
373
377
  if (!args[0] || typeof args[0] !== "object") return false;
@@ -402,6 +406,18 @@ function createComponent(arg1, moduleId, propagation) {
402
406
  }
403
407
  }
404
408
 
409
+ const ASTRO_VERSION = "5.4.1";
410
+ const REROUTE_DIRECTIVE_HEADER = "X-Astro-Reroute";
411
+ const REWRITE_DIRECTIVE_HEADER_KEY = "X-Astro-Rewrite";
412
+ const REWRITE_DIRECTIVE_HEADER_VALUE = "yes";
413
+ const NOOP_MIDDLEWARE_HEADER = "X-Astro-Noop";
414
+ const ROUTE_TYPE_HEADER = "X-Astro-Route-Type";
415
+ const DEFAULT_404_COMPONENT = "astro-default-404.astro";
416
+ const REROUTABLE_STATUS_CODES = [404, 500];
417
+ const clientAddressSymbol = Symbol.for("astro.clientAddress");
418
+ const originPathnameSymbol = Symbol.for("astro.originPathname");
419
+ const responseSentSymbol = Symbol.for("astro.responseSent");
420
+
405
421
  function createAstroGlobFn() {
406
422
  const globHandler = (importMetaGlobResult) => {
407
423
  console.warn(`Astro.glob is deprecated and will be removed in a future major version of Astro.
@@ -572,11 +588,6 @@ function unescapeHTML(str) {
572
588
  return markHTMLString(str);
573
589
  }
574
590
 
575
- const AstroJSX = "astro:jsx";
576
- function isVNode(vnode) {
577
- return vnode && typeof vnode === "object" && vnode[AstroJSX];
578
- }
579
-
580
591
  const RenderInstructionSymbol = Symbol.for("astro:render");
581
592
  function createRenderInstruction(instruction) {
582
593
  return Object.defineProperty(instruction, RenderInstructionSymbol, {
@@ -1187,6 +1198,9 @@ function isSlotString(str) {
1187
1198
  return !!str[slotString];
1188
1199
  }
1189
1200
  function renderSlot(result, slotted, fallback) {
1201
+ if (!slotted && fallback) {
1202
+ return renderSlot(result, fallback);
1203
+ }
1190
1204
  return {
1191
1205
  async render(destination) {
1192
1206
  await renderChild(destination, typeof slotted === "function" ? slotted(result) : slotted);
@@ -1215,7 +1229,7 @@ async function renderSlotToString(result, slotted, fallback) {
1215
1229
  }
1216
1230
  }
1217
1231
  };
1218
- const renderInstance = renderSlot(result, slotted);
1232
+ const renderInstance = renderSlot(result, slotted, fallback);
1219
1233
  await renderInstance.render(temporaryDestination);
1220
1234
  return markHTMLString(new SlotString(content, instructions));
1221
1235
  }
@@ -2749,6 +2763,15 @@ function toTimeValue(num) {
2749
2763
  return typeof num === "number" ? num + "ms" : num;
2750
2764
  }
2751
2765
 
2766
+ function __astro_tag_component__(Component, rendererName) {
2767
+ if (!Component) return;
2768
+ if (typeof Component !== "function") return;
2769
+ Object.defineProperty(Component, Renderer, {
2770
+ value: rendererName,
2771
+ enumerable: false,
2772
+ writable: false
2773
+ });
2774
+ }
2752
2775
  function spreadAttributes(values = {}, _name, { class: scopedClassName } = {}) {
2753
2776
  let output = "";
2754
2777
  if (scopedClassName) {
@@ -2766,4 +2789,71 @@ function spreadAttributes(values = {}, _name, { class: scopedClassName } = {}) {
2766
2789
  return markHTMLString(output);
2767
2790
  }
2768
2791
 
2769
- export { responseSentSymbol as $, AstroError as A, GetStaticPathsExpectedParams as B, GetStaticPathsInvalidRouteParam as C, DEFAULT_404_COMPONENT as D, PrerenderDynamicEndpointPathCollide as E, ReservedSlotName as F, GetStaticPathsRequired as G, renderSlotToString as H, InvalidGetStaticPathsReturn as I, renderJSX as J, chunkToString as K, isRenderInstruction as L, MiddlewareNoDataOrNextCalled as M, NoMatchingStaticPathFound as N, ForbiddenRewrite as O, PageNumberParamNotFound as P, SessionStorageInitError as Q, RenderUndefinedEntryError as R, SessionStorageSaveError as S, ASTRO_VERSION as T, UnknownContentCollectionError as U, LocalsReassigned as V, PrerenderClientAddressNotAvailable as W, clientAddressSymbol as X, ClientAddressNotAvailable as Y, StaticClientAddressNotAvailable as Z, AstroResponseHeadersReassigned as _, createAstro as a, renderPage as a0, REWRITE_DIRECTIVE_HEADER_KEY as a1, REWRITE_DIRECTIVE_HEADER_VALUE as a2, renderEndpoint as a3, LocalsNotAnObject as a4, REROUTABLE_STATUS_CODES as a5, NOOP_MIDDLEWARE_HEADER as a6, MissingSharp as a7, ExpectedImage as a8, LocalImageUsedWrongly as a9, MissingImageDimension as aa, UnsupportedImageFormat as ab, IncompatibleDescriptorOptions as ac, UnsupportedImageConversion as ad, toStyleString as ae, NoImageMetadata as af, FailedToFetchRemoteImageDimensions as ag, ExpectedImageOptions as ah, ExpectedNotESMImage as ai, InvalidImageService as aj, ImageMissingAlt as ak, spreadAttributes as al, renderTemplate as b, createComponent as c, addAttribute as d, renderHead as e, renderUniqueStylesheet as f, renderScriptElement as g, createHeadAndContent as h, renderScript as i, renderSlot as j, renderTransition as k, decodeKey as l, maybeRenderHead as m, decryptString as n, createSlotValueFromString as o, isAstroComponentFactory as p, ROUTE_TYPE_HEADER as q, renderComponent as r, REROUTE_DIRECTIVE_HEADER as s, i18nNoLocaleFoundInPath as t, unescapeHTML as u, ResponseSentError as v, MiddlewareNotAResponse as w, originPathnameSymbol as x, RewriteWithBodyUsed as y, InvalidGetStaticPathsEntry as z };
2792
+ const AstroJSX = "astro:jsx";
2793
+ const Empty = Symbol("empty");
2794
+ const toSlotName = (slotAttr) => slotAttr;
2795
+ function isVNode(vnode) {
2796
+ return vnode && typeof vnode === "object" && vnode[AstroJSX];
2797
+ }
2798
+ function transformSlots(vnode) {
2799
+ if (typeof vnode.type === "string") return vnode;
2800
+ const slots = {};
2801
+ if (isVNode(vnode.props.children)) {
2802
+ const child = vnode.props.children;
2803
+ if (!isVNode(child)) return;
2804
+ if (!("slot" in child.props)) return;
2805
+ const name = toSlotName(child.props.slot);
2806
+ slots[name] = [child];
2807
+ slots[name]["$$slot"] = true;
2808
+ delete child.props.slot;
2809
+ delete vnode.props.children;
2810
+ } else if (Array.isArray(vnode.props.children)) {
2811
+ vnode.props.children = vnode.props.children.map((child) => {
2812
+ if (!isVNode(child)) return child;
2813
+ if (!("slot" in child.props)) return child;
2814
+ const name = toSlotName(child.props.slot);
2815
+ if (Array.isArray(slots[name])) {
2816
+ slots[name].push(child);
2817
+ } else {
2818
+ slots[name] = [child];
2819
+ slots[name]["$$slot"] = true;
2820
+ }
2821
+ delete child.props.slot;
2822
+ return Empty;
2823
+ }).filter((v) => v !== Empty);
2824
+ }
2825
+ Object.assign(vnode.props, slots);
2826
+ }
2827
+ function markRawChildren(child) {
2828
+ if (typeof child === "string") return markHTMLString(child);
2829
+ if (Array.isArray(child)) return child.map((c) => markRawChildren(c));
2830
+ return child;
2831
+ }
2832
+ function transformSetDirectives(vnode) {
2833
+ if (!("set:html" in vnode.props || "set:text" in vnode.props)) return;
2834
+ if ("set:html" in vnode.props) {
2835
+ const children = markRawChildren(vnode.props["set:html"]);
2836
+ delete vnode.props["set:html"];
2837
+ Object.assign(vnode.props, { children });
2838
+ return;
2839
+ }
2840
+ if ("set:text" in vnode.props) {
2841
+ const children = vnode.props["set:text"];
2842
+ delete vnode.props["set:text"];
2843
+ Object.assign(vnode.props, { children });
2844
+ return;
2845
+ }
2846
+ }
2847
+ function createVNode(type, props) {
2848
+ const vnode = {
2849
+ [Renderer]: "astro:jsx",
2850
+ [AstroJSX]: true,
2851
+ type,
2852
+ props: props ?? {}
2853
+ };
2854
+ transformSetDirectives(vnode);
2855
+ transformSlots(vnode);
2856
+ return vnode;
2857
+ }
2858
+
2859
+ export { clientAddressSymbol as $, AstroError as A, ResponseSentError as B, MiddlewareNotAResponse as C, originPathnameSymbol as D, RewriteWithBodyUsed as E, InvalidGetStaticPathsEntry as F, GetStaticPathsRequired as G, GetStaticPathsExpectedParams as H, InvalidGetStaticPathsReturn as I, GetStaticPathsInvalidRouteParam as J, DEFAULT_404_COMPONENT as K, PrerenderDynamicEndpointPathCollide as L, MiddlewareNoDataOrNextCalled as M, NoMatchingStaticPathFound as N, ReservedSlotName as O, PageNumberParamNotFound as P, renderSlotToString as Q, RenderUndefinedEntryError as R, chunkToString as S, isRenderInstruction as T, UnknownContentCollectionError as U, ForbiddenRewrite as V, SessionStorageSaveError as W, SessionStorageInitError as X, ASTRO_VERSION as Y, LocalsReassigned as Z, PrerenderClientAddressNotAvailable as _, createAstro as a, ClientAddressNotAvailable as a0, StaticClientAddressNotAvailable as a1, AstroResponseHeadersReassigned as a2, responseSentSymbol as a3, renderPage as a4, REWRITE_DIRECTIVE_HEADER_KEY as a5, REWRITE_DIRECTIVE_HEADER_VALUE as a6, renderEndpoint as a7, LocalsNotAnObject as a8, REROUTABLE_STATUS_CODES as a9, NOOP_MIDDLEWARE_HEADER as aa, MissingSharp as ab, ExpectedImage as ac, LocalImageUsedWrongly as ad, MissingImageDimension as ae, UnsupportedImageFormat as af, IncompatibleDescriptorOptions as ag, UnsupportedImageConversion as ah, toStyleString as ai, NoImageMetadata as aj, FailedToFetchRemoteImageDimensions as ak, ExpectedImageOptions as al, ExpectedNotESMImage as am, InvalidImageService as an, ImageMissingAlt as ao, spreadAttributes as ap, Fragment as aq, __astro_tag_component__ as ar, renderTemplate as b, createComponent as c, addAttribute as d, renderHead as e, renderUniqueStylesheet as f, renderScriptElement as g, createHeadAndContent as h, renderScript as i, renderSlot as j, renderTransition as k, createTransitionScope as l, maybeRenderHead as m, decodeKey as n, renderJSX as o, createVNode as p, AstroJSX as q, renderComponent as r, AstroUserError as s, decryptString as t, unescapeHTML as u, createSlotValueFromString as v, isAstroComponentFactory as w, ROUTE_TYPE_HEADER as x, REROUTE_DIRECTIVE_HEADER as y, i18nNoLocaleFoundInPath as z };
@@ -1,4 +1,4 @@
1
- import { a6 as NOOP_MIDDLEWARE_HEADER, D as DEFAULT_404_COMPONENT } from './astro/server_D4f31GMD.mjs';
1
+ import { aa as NOOP_MIDDLEWARE_HEADER, K as DEFAULT_404_COMPONENT } from './astro/server_Cl9jPh4p.mjs';
2
2
  import { parse } from 'devalue';
3
3
  import { escape } from 'html-escaper';
4
4
 
@@ -0,0 +1 @@
1
+ // Contents removed by Astro as it's used for prerendering only
@@ -1,5 +1,5 @@
1
- import { A as AstroError, a7 as MissingSharp } from './astro/server_D4f31GMD.mjs';
2
- import { c as baseService, p as parseQuality } from './_astro_assets_CLOMnm-3.mjs';
1
+ import { A as AstroError, ab as MissingSharp } from './astro/server_Cl9jPh4p.mjs';
2
+ import { c as baseService, p as parseQuality } from './_astro_assets_DaYumpRZ.mjs';
3
3
 
4
4
  let sharp;
5
5
  const qualityTable = {
@@ -1,9 +1,9 @@
1
1
  import { renderers } from './renderers.mjs';
2
- import { c as createExports, s as serverEntrypointModule } from './chunks/_@astrojs-ssr-adapter_ByVMUK8O.mjs';
3
- import { manifest } from './manifest_CBenwYiZ.mjs';
2
+ import { c as createExports, s as serverEntrypointModule } from './chunks/_@astrojs-ssr-adapter_CbICuCdt.mjs';
3
+ import { manifest } from './manifest_DoNTQyvZ.mjs';
4
4
 
5
5
  const serverIslandMap = new Map([
6
- ['PropsTables', () => import('./chunks/PropsTables_D_v4KAMn.mjs')],
6
+ ['PropsTables', () => import('./chunks/PropsTables_IgCNCQTX.mjs')],
7
7
  ]);;
8
8
 
9
9
  const _page0 = () => import('./pages/_image.astro.mjs');
@@ -1,8 +1,8 @@
1
1
  import 'kleur/colors';
2
- import { l as decodeKey } from './chunks/astro/server_D4f31GMD.mjs';
2
+ import { n as decodeKey } from './chunks/astro/server_Cl9jPh4p.mjs';
3
3
  import 'clsx';
4
4
  import 'cookie';
5
- import { N as NOOP_MIDDLEWARE_FN } from './chunks/astro-designed-error-pages_CpHpbfhr.mjs';
5
+ import { N as NOOP_MIDDLEWARE_FN } from './chunks/astro-designed-error-pages_BFveJFnQ.mjs';
6
6
  import 'es-module-lexer';
7
7
 
8
8
  function sanitizeParams(params) {
@@ -96,7 +96,7 @@ function deserializeManifest(serializedManifest) {
96
96
  };
97
97
  }
98
98
 
99
- const manifest = deserializeManifest({"hrefRoot":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/","cacheDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/node_modules/.astro/","outDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/dist/","srcDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/src/","publicDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/public/","buildClientDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/dist/client/","buildServerDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/dist/server/","adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"page","component":"_server-islands.astro","params":["name"],"segments":[[{"content":"_server-islands","dynamic":false,"spread":false}],[{"content":"name","dynamic":true,"spread":false}]],"pattern":"^\\/_server-islands\\/([^/]+?)\\/?$","prerender":false,"isIndex":false,"fallbackRoutes":[],"route":"/_server-islands/[name]","origin":"internal","_meta":{"trailingSlash":"ignore"}}},{"file":"index.html","links":[],"scripts":[],"styles":[],"routeData":{"route":"/","isIndex":true,"type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","prerender":true,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"endpoint","isIndex":false,"route":"/_image","pattern":"^\\/_image\\/?$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"node_modules/astro/dist/assets/endpoint/node.js","pathname":"/_image","prerender":false,"fallbackRoutes":[],"origin":"internal","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/props","isIndex":false,"type":"endpoint","pattern":"^\\/props\\/?$","segments":[[{"content":"props","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/props.ts","pathname":"/props","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}}],"base":"/","trailingSlash":"ignore","compressHTML":true,"componentMetadata":[["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/pages/index.astro",{"propagation":"in-tree","containsHead":true}],["\u0000astro:content",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Navigation.astro",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/layouts/Main.astro",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/pages/[section]/[...page].astro",{"propagation":"in-tree","containsHead":true}],["\u0000@astro-page:src/pages/[section]/[...page]@_@astro",{"propagation":"in-tree","containsHead":false}],["\u0000@astrojs-ssr-virtual-entry",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/pages/[section]/[page]/[...tab].astro",{"propagation":"in-tree","containsHead":true}],["\u0000@astro-page:src/pages/[section]/[page]/[...tab]@_@astro",{"propagation":"in-tree","containsHead":false}],["\u0000@astro-page:src/pages/index@_@astro",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Page.astro",{"propagation":"in-tree","containsHead":false}]],"renderers":[],"clientDirectives":[["idle","(()=>{var l=(n,t)=>{let i=async()=>{await(await n())()},e=typeof t.value==\"object\"?t.value:void 0,s={timeout:e==null?void 0:e.timeout};\"requestIdleCallback\"in window?window.requestIdleCallback(i,s):setTimeout(i,s.timeout||200)};(self.Astro||(self.Astro={})).idle=l;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var n=(a,t)=>{let i=async()=>{await(await a())()};if(t.value){let e=matchMedia(t.value);e.matches?i():e.addEventListener(\"change\",i,{once:!0})}};(self.Astro||(self.Astro={})).media=n;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var a=(s,i,o)=>{let r=async()=>{await(await s())()},t=typeof i.value==\"object\"?i.value:void 0,c={rootMargin:t==null?void 0:t.rootMargin},n=new IntersectionObserver(e=>{for(let l of e)if(l.isIntersecting){n.disconnect(),r();break}},c);for(let e of o.children)n.observe(e)};(self.Astro||(self.Astro={})).visible=a;window.dispatchEvent(new Event(\"astro:visible\"));})();"]],"entryModules":{"\u0000noop-middleware":"_noop-middleware.mjs","\u0000@astro-page:node_modules/astro/dist/assets/endpoint/node@_@js":"pages/_image.astro.mjs","\u0000@astro-page:src/pages/props@_@ts":"pages/props.astro.mjs","\u0000@astro-page:src/pages/[section]/[page]/[...tab]@_@astro":"pages/_section_/_page_/_---tab_.astro.mjs","\u0000@astro-page:src/pages/[section]/[...page]@_@astro":"pages/_section_/_---page_.astro.mjs","\u0000@astro-page:src/pages/index@_@astro":"pages/index.astro.mjs","\u0000@astrojs-ssr-virtual-entry":"entry.mjs","\u0000@astro-renderers":"renderers.mjs","\u0000@astrojs-ssr-adapter":"_@astrojs-ssr-adapter.mjs","\u0000@astrojs-manifest":"manifest_CBenwYiZ.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/PropsTables.astro":"chunks/PropsTables_D_v4KAMn.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/node_modules/astro/dist/assets/services/sharp.js":"chunks/sharp_BYpUyJGL.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/.astro/content-assets.mjs":"chunks/content-assets_DleWbedO.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/.astro/content-modules.mjs":"chunks/content-modules_Dz-S_Wwv.mjs","\u0000astro:data-layer-content":"chunks/_astro_data-layer-content_DDGBHvtb.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/PageToggle":"_astro/PageToggle.DDEjruql.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Toolbar.tsx":"_astro/Toolbar.TAdHxLSQ.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Navigation.tsx":"_astro/Navigation.75VF_8AW.js","@astrojs/react/client.js":"_astro/client.CeeiqVaE.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/layouts/Main.astro?astro&type=script&index=0&lang.ts":"_astro/Main.astro_astro_type_script_index_0_lang.B9Hb-f0z.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/node_modules/astro/components/ClientRouter.astro?astro&type=script&index=0&lang.ts":"_astro/ClientRouter.astro_astro_type_script_index_0_lang.Cainpjm5.js","astro:scripts/before-hydration.js":""},"inlinedScripts":[["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/layouts/Main.astro?astro&type=script&index=0&lang.ts","const t=window.localStorage.getItem(\"theme-preference\");document?.querySelector(\"html\")?.classList.toggle(\"pf-v6-theme-dark\",t===\"dark\");document.addEventListener(\"astro:after-swap\",()=>{const e=window.localStorage.getItem(\"theme-preference\");document?.querySelector(\"html\")?.classList.toggle(\"pf-v6-theme-dark\",e===\"dark\")});"]],"assets":["/_astro/RedHatTextVF.wYvZ7prR.woff2","/_astro/RedHatTextVF-Italic.Dkj_WqbA.woff2","/_astro/RedHatDisplayVF.CYDHf1NI.woff2","/_astro/RedHatDisplayVF-Italic.CRpusWc8.woff2","/_astro/RedHatMonoVF.C4fMH6Vz.woff2","/_astro/RedHatMonoVF-Italic.DGQo2ogW.woff2","/_astro/fa-solid-900.DguXoeIz.woff2","/_astro/pf-v6-pficon.Dy6oiu9u.woff2","/_astro/_page_.SnUmZn2y.css","/_astro/_page_.CXyz_BEo.css","/PF-HorizontalLogo-Color.svg","/PF-HorizontalLogo-Reverse.svg","/avatarImg.svg","/avatarImgDark.svg","/favicon.svg","/_astro/Button.C3_jB5tC.js","/_astro/ClientRouter.astro_astro_type_script_index_0_lang.Cainpjm5.js","/_astro/Navigation.75VF_8AW.js","/_astro/PageContext.C7BqCh9N.js","/_astro/PageToggle.DDEjruql.js","/_astro/Toolbar.TAdHxLSQ.js","/_astro/_page_.DVvr_Mfl.css","/_astro/client.CeeiqVaE.js","/_astro/divider.BSD-oFoh.js","/_astro/index.CTH3fVMn.js","/_astro/page.B65lVdBS.js","/content/typography/line-height.png","/index.html"],"buildFormat":"directory","checkOrigin":true,"serverIslandNameMap":[["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/PropsTables.astro","PropsTables"]],"key":"9U8ufyWb56rPwvkMNeHdOlllxX05ujkTj3GyJakIF2k="});
99
+ const manifest = deserializeManifest({"hrefRoot":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/","cacheDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/node_modules/.astro/","outDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/dist/","srcDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/src/","publicDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/public/","buildClientDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/dist/client/","buildServerDir":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/dist/server/","adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"page","component":"_server-islands.astro","params":["name"],"segments":[[{"content":"_server-islands","dynamic":false,"spread":false}],[{"content":"name","dynamic":true,"spread":false}]],"pattern":"^\\/_server-islands\\/([^/]+?)\\/?$","prerender":false,"isIndex":false,"fallbackRoutes":[],"route":"/_server-islands/[name]","origin":"internal","_meta":{"trailingSlash":"ignore"}}},{"file":"index.html","links":[],"scripts":[],"styles":[],"routeData":{"route":"/","isIndex":true,"type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","prerender":true,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"endpoint","isIndex":false,"route":"/_image","pattern":"^\\/_image\\/?$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"node_modules/astro/dist/assets/endpoint/node.js","pathname":"/_image","prerender":false,"fallbackRoutes":[],"origin":"internal","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/props","isIndex":false,"type":"endpoint","pattern":"^\\/props\\/?$","segments":[[{"content":"props","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/props.ts","pathname":"/props","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}}],"base":"/","trailingSlash":"ignore","compressHTML":true,"componentMetadata":[["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/pages/index.astro",{"propagation":"in-tree","containsHead":true}],["\u0000astro:content",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Navigation.astro",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/layouts/Main.astro",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/pages/[section]/[...page].astro",{"propagation":"in-tree","containsHead":true}],["\u0000@astro-page:src/pages/[section]/[...page]@_@astro",{"propagation":"in-tree","containsHead":false}],["\u0000@astrojs-ssr-virtual-entry",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/pages/[section]/[page]/[...tab].astro",{"propagation":"in-tree","containsHead":true}],["\u0000@astro-page:src/pages/[section]/[page]/[...tab]@_@astro",{"propagation":"in-tree","containsHead":false}],["\u0000@astro-page:src/pages/index@_@astro",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Page.astro",{"propagation":"in-tree","containsHead":false}],["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Masthead.astro",{"propagation":"in-tree","containsHead":false}]],"renderers":[],"clientDirectives":[["idle","(()=>{var l=(n,t)=>{let i=async()=>{await(await n())()},e=typeof t.value==\"object\"?t.value:void 0,s={timeout:e==null?void 0:e.timeout};\"requestIdleCallback\"in window?window.requestIdleCallback(i,s):setTimeout(i,s.timeout||200)};(self.Astro||(self.Astro={})).idle=l;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var n=(a,t)=>{let i=async()=>{await(await a())()};if(t.value){let e=matchMedia(t.value);e.matches?i():e.addEventListener(\"change\",i,{once:!0})}};(self.Astro||(self.Astro={})).media=n;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var a=(s,i,o)=>{let r=async()=>{await(await s())()},t=typeof i.value==\"object\"?i.value:void 0,c={rootMargin:t==null?void 0:t.rootMargin},n=new IntersectionObserver(e=>{for(let l of e)if(l.isIntersecting){n.disconnect(),r();break}},c);for(let e of o.children)n.observe(e)};(self.Astro||(self.Astro={})).visible=a;window.dispatchEvent(new Event(\"astro:visible\"));})();"]],"entryModules":{"\u0000noop-middleware":"_noop-middleware.mjs","\u0000@astro-page:node_modules/astro/dist/assets/endpoint/node@_@js":"pages/_image.astro.mjs","\u0000@astro-page:src/pages/props@_@ts":"pages/props.astro.mjs","\u0000@astro-page:src/pages/[section]/[page]/[...tab]@_@astro":"pages/_section_/_page_/_---tab_.astro.mjs","\u0000@astro-page:src/pages/[section]/[...page]@_@astro":"pages/_section_/_---page_.astro.mjs","\u0000@astro-page:src/pages/index@_@astro":"pages/index.astro.mjs","\u0000@astrojs-ssr-virtual-entry":"entry.mjs","\u0000@astro-renderers":"renderers.mjs","\u0000@astrojs-ssr-adapter":"_@astrojs-ssr-adapter.mjs","\u0000@astrojs-manifest":"manifest_DoNTQyvZ.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/PropsTables.astro":"chunks/PropsTables_IgCNCQTX.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/node_modules/astro/dist/assets/services/sharp.js":"chunks/sharp_CbOL3WDk.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/.astro/content-assets.mjs":"chunks/content-assets_DleWbedO.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/.astro/content-modules.mjs":"chunks/content-modules_BzUEG69n.mjs","\u0000astro:data-layer-content":"chunks/_astro_data-layer-content_Ni7IDnLe.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/textContent/examples/Accordion/Accordion.mdx?astroPropagatedAssets":"chunks/Accordion_DlM2LvlF.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/textContent/examples/Accordion/Accordion.mdx":"chunks/Accordion_CGgMUho2.mjs","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/PageToggle":"_astro/PageToggle.CbfM9bJB.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Toolbar.tsx":"_astro/Toolbar.9-YSFh3P.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/LiveExample":"_astro/LiveExample.Df-EUsee.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/Navigation.tsx":"_astro/Navigation.CabjIYg4.js","@astrojs/react/client.js":"_astro/client.CTJTt880.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/layouts/Main.astro?astro&type=script&index=0&lang.ts":"_astro/Main.astro_astro_type_script_index_0_lang.B9Hb-f0z.js","/home/runner/work/patternfly-doc-core/patternfly-doc-core/node_modules/astro/components/ClientRouter.astro?astro&type=script&index=0&lang.ts":"_astro/ClientRouter.astro_astro_type_script_index_0_lang.Cainpjm5.js","astro:scripts/before-hydration.js":""},"inlinedScripts":[["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/layouts/Main.astro?astro&type=script&index=0&lang.ts","const t=window.localStorage.getItem(\"theme-preference\");document?.querySelector(\"html\")?.classList.toggle(\"pf-v6-theme-dark\",t===\"dark\");document.addEventListener(\"astro:after-swap\",()=>{const e=window.localStorage.getItem(\"theme-preference\");document?.querySelector(\"html\")?.classList.toggle(\"pf-v6-theme-dark\",e===\"dark\")});"]],"assets":["/_astro/RedHatTextVF.wYvZ7prR.woff2","/_astro/RedHatTextVF-Italic.Dkj_WqbA.woff2","/_astro/RedHatDisplayVF.CYDHf1NI.woff2","/_astro/RedHatDisplayVF-Italic.CRpusWc8.woff2","/_astro/RedHatMonoVF-Italic.DGQo2ogW.woff2","/_astro/RedHatMonoVF.C4fMH6Vz.woff2","/_astro/fa-solid-900.DguXoeIz.woff2","/_astro/pf-v6-pficon.Dy6oiu9u.woff2","/_astro/_page_.CtheD08_.css","/_astro/_page_.B8cBYNKa.css","/_astro/_tab_.YrfmckTJ.css","/PF-HorizontalLogo-Color.svg","/PF-HorizontalLogo-Reverse.svg","/avatarImg.svg","/avatarImgDark.svg","/favicon.svg","/_astro/ClientRouter.astro_astro_type_script_index_0_lang.Cainpjm5.js","/_astro/LiveExample.B7IM_dLQ.css","/_astro/LiveExample.Df-EUsee.js","/_astro/Navigation.CabjIYg4.js","/_astro/PageContext.D1pNBMhh.js","/_astro/PageSidebarBody.Y-7d6zQM.js","/_astro/PageToggle.CbfM9bJB.js","/_astro/PageToggleButton.CZ3xPbcc.js","/_astro/Toolbar.9-YSFh3P.js","/_astro/ToolbarContent.BXdFKbs9.js","/_astro/_tab_.DxJDkZPc.css","/_astro/client.CTJTt880.js","/_astro/divider.DjbDHO_6.js","/_astro/index.Dhi-S4Ah.js","/_astro/index.Dkaqzkgy.js","/_astro/page.CDtWFZb5.js","/content/typography/line-height.png","/index.html"],"buildFormat":"directory","checkOrigin":true,"serverIslandNameMap":[["/home/runner/work/patternfly-doc-core/patternfly-doc-core/src/components/PropsTables.astro","PropsTables"]],"key":"qBZVnDGj+DOCbM2RlKr/t9sOn3rdzASP5+XIiR6wAmI="});
100
100
  if (manifest.sessionConfig) manifest.sessionConfig.driverModule = null;
101
101
 
102
102
  export { manifest };
@@ -1,7 +1,7 @@
1
1
  import { readFile } from 'node:fs/promises';
2
2
  import { isAbsolute } from 'node:path';
3
3
  import { fileURLToPath } from 'node:url';
4
- import { g as getConfiguredImageService, i as imageConfig, a as isRemoteAllowed, b as assetsDir, o as outDir } from '../chunks/_astro_assets_CLOMnm-3.mjs';
4
+ import { g as getConfiguredImageService, i as imageConfig, a as isRemoteAllowed, b as assetsDir, o as outDir } from '../chunks/_astro_assets_DaYumpRZ.mjs';
5
5
  import { i as isRemotePath } from '../chunks/path_Cvt6sEOY.mjs';
6
6
  import * as mime from 'mrmime';
7
7
  export { renderers } from '../renderers.mjs';
@@ -1,5 +1,8 @@
1
- import React__default, { createElement } from 'react';
1
+ import React, { createElement } from 'react';
2
2
  import ReactDOM from 'react-dom/server';
3
+ import { o as renderJSX, p as createVNode, q as AstroJSX, s as AstroUserError } from './chunks/astro/server_Cl9jPh4p.mjs';
4
+ import 'kleur/colors';
5
+ import 'clsx';
3
6
 
4
7
  const contexts = new WeakMap();
5
8
 
@@ -52,11 +55,11 @@ const StaticHtml = ({ value, name, hydrate = true }) => {
52
55
  */
53
56
  StaticHtml.shouldComponentUpdate = () => false;
54
57
 
55
- const slotName = (str) => str.trim().replace(/[-_]([a-z])/g, (_, w) => w.toUpperCase());
58
+ const slotName$1 = (str) => str.trim().replace(/[-_]([a-z])/g, (_, w) => w.toUpperCase());
56
59
  const reactTypeof = Symbol.for('react.element');
57
60
  const reactTransitionalTypeof = Symbol.for('react.transitional.element');
58
61
 
59
- async function check(Component, props, children) {
62
+ async function check$1(Component, props, children) {
60
63
  // Note: there are packages that do some unholy things to create "components".
61
64
  // Checking the $$typeof property catches most of these patterns.
62
65
  if (typeof Component === 'object') {
@@ -70,7 +73,7 @@ async function check(Component, props, children) {
70
73
  return false;
71
74
 
72
75
  if (Component.prototype != null && typeof Component.prototype.render === 'function') {
73
- return React__default.Component.isPrototypeOf(Component) || React__default.PureComponent.isPrototypeOf(Component);
76
+ return React.Component.isPrototypeOf(Component) || React.PureComponent.isPrototypeOf(Component);
74
77
  }
75
78
 
76
79
  let isReactComponent = false;
@@ -85,10 +88,10 @@ async function check(Component, props, children) {
85
88
  }
86
89
  } catch {}
87
90
 
88
- return React__default.createElement('div');
91
+ return React.createElement('div');
89
92
  }
90
93
 
91
- await renderToStaticMarkup(Tester, props, children, {});
94
+ await renderToStaticMarkup$1(Tester, props, children, {});
92
95
 
93
96
  return isReactComponent;
94
97
  }
@@ -104,7 +107,7 @@ function needsHydration(metadata) {
104
107
  return metadata.astroStaticSlot ? !!metadata.hydrate : true;
105
108
  }
106
109
 
107
- async function renderToStaticMarkup(Component, props, { default: children, ...slotted }, metadata) {
110
+ async function renderToStaticMarkup$1(Component, props, { default: children, ...slotted }, metadata) {
108
111
  let prefix;
109
112
  if (this && this.result) {
110
113
  prefix = incrementId(this.result);
@@ -114,8 +117,8 @@ async function renderToStaticMarkup(Component, props, { default: children, ...sl
114
117
  delete props['class'];
115
118
  const slots = {};
116
119
  for (const [key, value] of Object.entries(slotted)) {
117
- const name = slotName(key);
118
- slots[name] = React__default.createElement(StaticHtml, {
120
+ const name = slotName$1(key);
121
+ slots[name] = React.createElement(StaticHtml, {
119
122
  hydrate: needsHydration(metadata),
120
123
  value,
121
124
  name,
@@ -128,7 +131,7 @@ async function renderToStaticMarkup(Component, props, { default: children, ...sl
128
131
  };
129
132
  const newChildren = children ?? props.children;
130
133
  if (newChildren != null) {
131
- newProps.children = React__default.createElement(StaticHtml, {
134
+ newProps.children = React.createElement(StaticHtml, {
132
135
  hydrate: needsHydration(metadata),
133
136
  value: newChildren,
134
137
  });
@@ -139,7 +142,7 @@ async function renderToStaticMarkup(Component, props, { default: children, ...sl
139
142
  attrs['data-action-key'] = formState[1];
140
143
  attrs['data-action-name'] = formState[2];
141
144
  }
142
- const vnode = React__default.createElement(Component, newProps);
145
+ const vnode = React.createElement(Component, newProps);
143
146
  const renderOptions = {
144
147
  identifierPrefix: prefix,
145
148
  formState,
@@ -249,11 +252,57 @@ function isFormRequest(contentType) {
249
252
 
250
253
  const _renderer0 = {
251
254
  name: '@astrojs/react',
252
- check,
253
- renderToStaticMarkup,
255
+ check: check$1,
256
+ renderToStaticMarkup: renderToStaticMarkup$1,
254
257
  supportsAstroStaticSlot: true,
255
258
  };
256
259
 
257
- const renderers = [Object.assign({"name":"@astrojs/react","clientEntrypoint":"@astrojs/react/client.js","serverEntrypoint":"@astrojs/react/server.js"}, { ssr: _renderer0 }),];
260
+ const slotName = (str) => str.trim().replace(/[-_]([a-z])/g, (_, w) => w.toUpperCase());
261
+ async function check(Component, props, { default: children = null, ...slotted } = {}) {
262
+ if (typeof Component !== "function") return false;
263
+ const slots = {};
264
+ for (const [key, value] of Object.entries(slotted)) {
265
+ const name = slotName(key);
266
+ slots[name] = value;
267
+ }
268
+ try {
269
+ const result = await Component({ ...props, ...slots, children });
270
+ return result[AstroJSX];
271
+ } catch (e) {
272
+ throwEnhancedErrorIfMdxComponent(e, Component);
273
+ }
274
+ return false;
275
+ }
276
+ async function renderToStaticMarkup(Component, props = {}, { default: children = null, ...slotted } = {}) {
277
+ const slots = {};
278
+ for (const [key, value] of Object.entries(slotted)) {
279
+ const name = slotName(key);
280
+ slots[name] = value;
281
+ }
282
+ const { result } = this;
283
+ try {
284
+ const html = await renderJSX(result, createVNode(Component, { ...props, ...slots, children }));
285
+ return { html };
286
+ } catch (e) {
287
+ throwEnhancedErrorIfMdxComponent(e, Component);
288
+ throw e;
289
+ }
290
+ }
291
+ function throwEnhancedErrorIfMdxComponent(error, Component) {
292
+ if (Component[Symbol.for("mdx-component")]) {
293
+ if (AstroUserError.is(error)) return;
294
+ error.title = error.name;
295
+ error.hint = `This issue often occurs when your MDX component encounters runtime errors.`;
296
+ throw error;
297
+ }
298
+ }
299
+ const renderer = {
300
+ name: "astro:jsx",
301
+ check,
302
+ renderToStaticMarkup
303
+ };
304
+ var server_default = renderer;
305
+
306
+ const renderers = [Object.assign({"name":"@astrojs/react","clientEntrypoint":"@astrojs/react/client.js","serverEntrypoint":"@astrojs/react/server.js"}, { ssr: _renderer0 }),Object.assign({"name":"astro:jsx","serverEntrypoint":"file:///home/runner/work/patternfly-doc-core/patternfly-doc-core/node_modules/@astrojs/mdx/dist/server.js"}, { ssr: server_default }),];
258
307
 
259
308
  export { renderers };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/patternfly-doc-core",
3
3
  "type": "module",
4
- "version": "1.4.0",
4
+ "version": "1.6.0",
5
5
  "description": "PatternFly Core Documentation",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -42,16 +42,19 @@
42
42
  "dependencies": {
43
43
  "@astrojs/check": "^0.9.4",
44
44
  "@astrojs/node": "^9.1.3",
45
+ "@astrojs/mdx": "^4.2.6",
45
46
  "@astrojs/react": "^4.2.1",
46
47
  "@nanostores/react": "^0.8.0",
48
+ "@patternfly/ast-helpers": "^1.4.0-alpha.190",
47
49
  "@patternfly/patternfly": "^6.0.0",
50
+ "@patternfly/react-code-editor": "^6.2.2",
48
51
  "@patternfly/react-core": "^6.0.0",
49
52
  "@patternfly/react-table": "^6.0.0",
50
- "commander": "^13.1.0",
51
53
  "@types/react": "^18.3.12",
52
54
  "@types/react-dom": "^18.3.1",
53
55
  "astro": "^5.4.1",
54
56
  "change-case": "5.4.4",
57
+ "commander": "^13.1.0",
55
58
  "glob": "^11.0.1",
56
59
  "nanostores": "^0.11.3",
57
60
  "react": "^18.3.1",