@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,107 @@
1
+ globalThis.process ??= {}; globalThis.process.env ??= {};
2
+ function defineDriver(factory) {
3
+ return factory;
4
+ }
5
+ function normalizeKey(key, sep = ":") {
6
+ if (!key) {
7
+ return "";
8
+ }
9
+ return key.replace(/[:/\\]/g, sep).replace(/^[:/\\]|[:/\\]$/g, "");
10
+ }
11
+ function joinKeys(...keys) {
12
+ return keys.map((key) => normalizeKey(key)).filter(Boolean).join(":");
13
+ }
14
+ function createError(driver, message, opts) {
15
+ const err = new Error(`[unstorage] [${driver}] ${message}`, opts);
16
+ if (Error.captureStackTrace) {
17
+ Error.captureStackTrace(err, createError);
18
+ }
19
+ return err;
20
+ }
21
+
22
+ function getBinding(binding) {
23
+ let bindingName = "[binding]";
24
+ if (typeof binding === "string") {
25
+ bindingName = binding;
26
+ binding = globalThis[bindingName] || globalThis.__env__?.[bindingName];
27
+ }
28
+ if (!binding) {
29
+ throw createError(
30
+ "cloudflare",
31
+ `Invalid binding \`${bindingName}\`: \`${binding}\``
32
+ );
33
+ }
34
+ for (const key of ["get", "put", "delete"]) {
35
+ if (!(key in binding)) {
36
+ throw createError(
37
+ "cloudflare",
38
+ `Invalid binding \`${bindingName}\`: \`${key}\` key is missing`
39
+ );
40
+ }
41
+ }
42
+ return binding;
43
+ }
44
+ function getKVBinding(binding = "STORAGE") {
45
+ return getBinding(binding);
46
+ }
47
+
48
+ const DRIVER_NAME = "cloudflare-kv-binding";
49
+ const cloudflareKvBinding = defineDriver((opts) => {
50
+ const r = (key = "") => opts.base ? joinKeys(opts.base, key) : key;
51
+ async function getKeys(base = "") {
52
+ base = r(base);
53
+ const binding = getKVBinding(opts.binding);
54
+ const keys = [];
55
+ let cursor = void 0;
56
+ do {
57
+ const kvList = await binding.list({ prefix: base || void 0, cursor });
58
+ keys.push(...kvList.keys);
59
+ cursor = kvList.list_complete ? void 0 : kvList.cursor;
60
+ } while (cursor);
61
+ return keys.map((key) => key.name);
62
+ }
63
+ return {
64
+ name: DRIVER_NAME,
65
+ options: opts,
66
+ getInstance: () => getKVBinding(opts.binding),
67
+ async hasItem(key) {
68
+ key = r(key);
69
+ const binding = getKVBinding(opts.binding);
70
+ return await binding.get(key) !== null;
71
+ },
72
+ getItem(key) {
73
+ key = r(key);
74
+ const binding = getKVBinding(opts.binding);
75
+ return binding.get(key);
76
+ },
77
+ setItem(key, value, topts) {
78
+ key = r(key);
79
+ const binding = getKVBinding(opts.binding);
80
+ return binding.put(
81
+ key,
82
+ value,
83
+ topts ? {
84
+ expirationTtl: topts?.ttl ? Math.max(topts.ttl, opts.minTTL ?? 60) : void 0,
85
+ ...topts
86
+ } : void 0
87
+ );
88
+ },
89
+ removeItem(key) {
90
+ key = r(key);
91
+ const binding = getKVBinding(opts.binding);
92
+ return binding.delete(key);
93
+ },
94
+ getKeys(base) {
95
+ return getKeys(base).then(
96
+ (keys) => keys.map((key) => opts.base ? key.slice(opts.base.length) : key)
97
+ );
98
+ },
99
+ async clear(base) {
100
+ const binding = getKVBinding(opts.binding);
101
+ const keys = await getKeys(base);
102
+ await Promise.all(keys.map((key) => binding.delete(key)));
103
+ }
104
+ };
105
+ });
106
+
107
+ export { cloudflareKvBinding as default };