@leed-ai/cli 0.0.0-stage → 6.19.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 (263) hide show
  1. package/LICENSE.md +57 -0
  2. package/README.md +125 -2
  3. package/dist/LICENSE.md +57 -0
  4. package/dist/acorn-DAgDT1om.js +5087 -0
  5. package/dist/angular-l0_4PK8N.js +3598 -0
  6. package/dist/authShared-Dray38Ls.js +1161 -0
  7. package/dist/babel-CJeRQd5u.js +10038 -0
  8. package/dist/buildResults-tiq1nugP.js +21180 -0
  9. package/dist/chunk-1VJ9lAw7.js +42 -0
  10. package/dist/cliAuth-38JjD6hw.js +15 -0
  11. package/dist/env-B0bHiXJJ.js +29 -0
  12. package/dist/errors-CqKamGCu.js +481 -0
  13. package/dist/estree-E8WG8UHj.js +6930 -0
  14. package/dist/flow-6xaRIbPQ.js +52255 -0
  15. package/dist/glimmer-aJPjsfbT.js +7272 -0
  16. package/dist/graphql-mcgtPEiZ.js +1901 -0
  17. package/dist/html--eeea3Kl.js +6553 -0
  18. package/dist/leed.eleventy.mjs +6525 -0
  19. package/dist/leed.mjs +88952 -0
  20. package/dist/leed.sources.json +798 -0
  21. package/dist/leedLogger-Zkada5aO.js +78 -0
  22. package/dist/markdown-D73jNKwx.js +6836 -0
  23. package/dist/meriyah-CMp1nDDW.js +8932 -0
  24. package/dist/package.json +101 -0
  25. package/dist/postcss-h4fBr2Fn.js +6760 -0
  26. package/dist/prettier-CwFSKxfN.js +16821 -0
  27. package/dist/static/customer-site-worker/package.json +9 -0
  28. package/dist/static/customer-site-worker/src/assetsHydration.ts +55 -0
  29. package/dist/static/customer-site-worker/src/constants.ts +20 -0
  30. package/dist/static/customer-site-worker/src/cors.ts +120 -0
  31. package/dist/static/customer-site-worker/src/index.ts +242 -0
  32. package/dist/static/customer-site-worker/src/mcp-proxy.ts +98 -0
  33. package/dist/static/customer-site-worker/src/proxy.ts +92 -0
  34. package/dist/static/customer-site-worker/src/proxyHeaders.ts +47 -0
  35. package/dist/static/customer-site-worker/src/tier.ts +40 -0
  36. package/dist/static/customer-site-worker/src/types.ts +82 -0
  37. package/dist/static/customer-site-worker/test/functions-mock.worker.js +50 -0
  38. package/dist/static/customer-site-worker/tsconfig.json +19 -0
  39. package/dist/static/customer-site-worker/vitest.workers.config.ts +61 -0
  40. package/dist/static/install/husky/colors.mjs +5 -0
  41. package/dist/static/install/husky/hooks/commit-msg +1 -0
  42. package/dist/static/install/husky/hooks/pre-commit +1 -0
  43. package/dist/static/install/husky/hooks/pre-push +1 -0
  44. package/dist/static/install/husky/valid-command.mjs +29 -0
  45. package/dist/static/install/husky/valid-commit-msg.mjs +20 -0
  46. package/dist/static/install/package.json +10 -0
  47. package/dist/static/install/packages.txt +4 -0
  48. package/dist/static/install/tasks.json +111 -0
  49. package/dist/static/javascript/detectIncognito.js +195 -0
  50. package/dist/static/javascript/documentation.js +2781 -0
  51. package/dist/static/javascript/fp/fp.esm.js +2896 -0
  52. package/dist/static/javascript/fp/fp.js +3067 -0
  53. package/dist/static/javascript/live-search.js +986 -0
  54. package/dist/static/javascript/lunr-search.js +843 -0
  55. package/dist/static/javascript/timeme.js +451 -0
  56. package/dist/static/javascript/tracker/webmcp.js +67 -0
  57. package/dist/static/javascript/tracker/whisper.js +1 -0
  58. package/dist/static/javascript/utilities.js +819 -0
  59. package/dist/static/javascript/versions.json +74 -0
  60. package/dist/static/javascript/zoomable.js +488 -0
  61. package/dist/static/site/_data/eleventyComputed.js +228 -0
  62. package/dist/static/site/_data/leed-form-data.json +253 -0
  63. package/dist/static/site/_includes/leed/api/bits/array-type.hbs +24 -0
  64. package/dist/static/site/_includes/leed/api/bits/badges.hbs +9 -0
  65. package/dist/static/site/_includes/leed/api/bits/description.hbs +9 -0
  66. package/dist/static/site/_includes/leed/api/bits/examples.hbs +42 -0
  67. package/dist/static/site/_includes/leed/api/bits/scopes.hbs +28 -0
  68. package/dist/static/site/_includes/leed/api/object.hbs +110 -0
  69. package/dist/static/site/_includes/leed/api/parameters.hbs +11 -0
  70. package/dist/static/site/_includes/leed/api/property.hbs +153 -0
  71. package/dist/static/site/_includes/leed/api/request-body.hbs +51 -0
  72. package/dist/static/site/_includes/leed/api/responses.hbs +89 -0
  73. package/dist/static/site/_includes/leed/api/security-constraints.hbs +59 -0
  74. package/dist/static/site/_includes/leed/api/security.hbs +75 -0
  75. package/dist/static/site/_includes/leed/components/pagination.hbs +45 -0
  76. package/dist/static/site/_includes/leed/components/scroll-status-indicator-horizontal.hbs +22 -0
  77. package/dist/static/site/_includes/leed/docs/alpha/api.hbs +6 -0
  78. package/dist/static/site/_includes/leed/docs/alpha/base.hbs +26 -0
  79. package/dist/static/site/_includes/leed/docs/alpha/documentation.hbs +7 -0
  80. package/dist/static/site/_includes/leed/docs/api-article.hbs +75 -0
  81. package/dist/static/site/_includes/leed/docs/bravo/api.hbs +5 -0
  82. package/dist/static/site/_includes/leed/docs/bravo/base.hbs +31 -0
  83. package/dist/static/site/_includes/leed/docs/bravo/documentation.hbs +7 -0
  84. package/dist/static/site/_includes/leed/docs/charlie/api.hbs +6 -0
  85. package/dist/static/site/_includes/leed/docs/charlie/base.hbs +27 -0
  86. package/dist/static/site/_includes/leed/docs/charlie/documentation.hbs +10 -0
  87. package/dist/static/site/_includes/leed/docs/doc-article.hbs +40 -0
  88. package/dist/static/site/_includes/leed/docs/docs-footer.hbs +35 -0
  89. package/dist/static/site/_includes/leed/docs/docs-header.hbs +59 -0
  90. package/dist/static/site/_includes/leed/docs/document-search-modal.hbs +36 -0
  91. package/dist/static/site/_includes/leed/docs/document-search.hbs +23 -0
  92. package/dist/static/site/_includes/leed/docs/footer.hbs +12 -0
  93. package/dist/static/site/_includes/leed/docs/header/brand.hbs +19 -0
  94. package/dist/static/site/_includes/leed/docs/header/chrome.hbs +33 -0
  95. package/dist/static/site/_includes/leed/docs/header/compact.hbs +19 -0
  96. package/dist/static/site/_includes/leed/docs/header/cta.hbs +15 -0
  97. package/dist/static/site/_includes/leed/docs/header/nav.hbs +18 -0
  98. package/dist/static/site/_includes/leed/docs/header/top-search.hbs +15 -0
  99. package/dist/static/site/_includes/leed/docs/mini-bar.hbs +53 -0
  100. package/dist/static/site/_includes/leed/docs/pagination.hbs +19 -0
  101. package/dist/static/site/_includes/leed/docs/shell.hbs +56 -0
  102. package/dist/static/site/_includes/leed/docs/sidebar.hbs +52 -0
  103. package/dist/static/site/_includes/leed/docs/social-icons.hbs +81 -0
  104. package/dist/static/site/_includes/leed/docs/style.hbs +17 -0
  105. package/dist/static/site/_includes/leed/docs/toc.hbs +7 -0
  106. package/dist/static/site/_includes/leed/form.hbs +266 -0
  107. package/dist/static/site/_includes/leed/head.hbs +67 -0
  108. package/dist/static/site/_includes/leed/menu/builder.hbs +35 -0
  109. package/dist/static/site/_includes/leed/menu/item.hbs +67 -0
  110. package/dist/static/site/_includes/leed/menu/link.hbs +59 -0
  111. package/dist/static/site/_includes/leed/metadata/ogCard.hbs +40 -0
  112. package/dist/static/site/_includes/leed/metadata/siteMetadata.hbs +24 -0
  113. package/dist/static/site/_includes/leed/metadata/twitterCard.hbs +34 -0
  114. package/dist/static/site/_includes/leed/popup-video.hbs +21 -0
  115. package/dist/static/site/_includes/leed/stub-template.hbs +17 -0
  116. package/dist/static/site/_includes/leed/unsubscribe-form.hbs +30 -0
  117. package/dist/static/site/_layouts/leed-documentation.hbs +12 -0
  118. package/dist/static/site/leed-feed-atom.hbs +42 -0
  119. package/dist/static/site/leed-feed-json.hbs +56 -0
  120. package/dist/static/site/leed-feed-rss.hbs +39 -0
  121. package/dist/static/site/leed-headers.hbs +38 -0
  122. package/dist/static/site/leed-redirects.hbs +10 -0
  123. package/dist/static/site/leed-sitemap-pageType.hbs +28 -0
  124. package/dist/static/site/leed-sitemap.hbs +19 -0
  125. package/dist/static/site/leed-unsubscribe.hbs +44 -0
  126. package/dist/static/site/leed-unsubscribed.hbs +40 -0
  127. package/dist/static/tailwind/components/alerts.css +132 -0
  128. package/dist/static/tailwind/components/api-methods.css +39 -0
  129. package/dist/static/tailwind/components/breadcrumbs.css +31 -0
  130. package/dist/static/tailwind/components/code.css +88 -0
  131. package/dist/static/tailwind/components/collapsible.css +38 -0
  132. package/dist/static/tailwind/components/document-search.css +222 -0
  133. package/dist/static/tailwind/components/form.css +185 -0
  134. package/dist/static/tailwind/components/kbd.css +7 -0
  135. package/dist/static/tailwind/components/pagination.css +81 -0
  136. package/dist/static/tailwind/components/scroll-status-indicator.css +5 -0
  137. package/dist/static/tailwind/components/tab-groups.css +117 -0
  138. package/dist/static/tailwind/components/tables.css +0 -0
  139. package/dist/static/tailwind/components/toc.css +60 -0
  140. package/dist/static/tailwind/components.css +248 -0
  141. package/dist/static/tailwind/defaults.css +260 -0
  142. package/dist/static/tailwind/docs/api.css +701 -0
  143. package/dist/static/tailwind/docs/components/blockquote.css +5 -0
  144. package/dist/static/tailwind/docs/components/button.css +11 -0
  145. package/dist/static/tailwind/docs/components/docs-pagination.css +71 -0
  146. package/dist/static/tailwind/docs/components/mobile-bar.css +83 -0
  147. package/dist/static/tailwind/docs/components/navigation.css +279 -0
  148. package/dist/static/tailwind/docs/components/table.css +54 -0
  149. package/dist/static/tailwind/docs/components.css +6 -0
  150. package/dist/static/tailwind/docs/docs.css +427 -0
  151. package/dist/static/tailwind/docs/layouts/alpha.css +108 -0
  152. package/dist/static/tailwind/docs/layouts/bravo.css +218 -0
  153. package/dist/static/tailwind/docs/layouts/charlie.css +105 -0
  154. package/dist/static/tailwind/docs/layouts.css +3 -0
  155. package/dist/static/tailwind/docs/themes/amber.css +113 -0
  156. package/dist/static/tailwind/docs/themes/blue.css +94 -0
  157. package/dist/static/tailwind/docs/themes/cyan.css +111 -0
  158. package/dist/static/tailwind/docs/themes/emerald.css +111 -0
  159. package/dist/static/tailwind/docs/themes/fuchsia.css +111 -0
  160. package/dist/static/tailwind/docs/themes/green.css +95 -0
  161. package/dist/static/tailwind/docs/themes/indigo.css +111 -0
  162. package/dist/static/tailwind/docs/themes/lime.css +111 -0
  163. package/dist/static/tailwind/docs/themes/orange.css +111 -0
  164. package/dist/static/tailwind/docs/themes/pink.css +111 -0
  165. package/dist/static/tailwind/docs/themes/purple.css +111 -0
  166. package/dist/static/tailwind/docs/themes/red.css +111 -0
  167. package/dist/static/tailwind/docs/themes/rose.css +111 -0
  168. package/dist/static/tailwind/docs/themes/sky.css +111 -0
  169. package/dist/static/tailwind/docs/themes/teal.css +111 -0
  170. package/dist/static/tailwind/docs/themes/violet.css +111 -0
  171. package/dist/static/tailwind/docs/themes/yellow.css +111 -0
  172. package/dist/static/tailwind/docs/themes.css +84 -0
  173. package/dist/static/tailwind/font-awesome/free-7.3.1/brands.css +2455 -0
  174. package/dist/static/tailwind/font-awesome/free-7.3.1/fontawesome.css +8997 -0
  175. package/dist/static/tailwind/font-awesome/free-7.3.1/fonts.css +45 -0
  176. package/dist/static/tailwind/font-awesome/free-7.3.1/icons.json +2608 -0
  177. package/dist/static/tailwind/font-awesome/free-7.3.1.css +3 -0
  178. package/dist/static/tailwind/font-awesome/pro-7.0.0/brands.css +2215 -0
  179. package/dist/static/tailwind/font-awesome/pro-7.0.0/fontawesome.css +19281 -0
  180. package/dist/static/tailwind/font-awesome/pro-7.0.0/fonts.css +445 -0
  181. package/dist/static/tailwind/font-awesome/pro-7.0.0.css +3 -0
  182. package/dist/static/tailwind/font-awesome/pro-7.3.1/brands.css +2455 -0
  183. package/dist/static/tailwind/font-awesome/pro-7.3.1/fontawesome.css +20365 -0
  184. package/dist/static/tailwind/font-awesome/pro-7.3.1/fonts.css +589 -0
  185. package/dist/static/tailwind/font-awesome/pro-7.3.1.css +3 -0
  186. package/dist/static/tailwind/fonts/all.css +6 -0
  187. package/dist/static/tailwind/fonts/config.jsonc +31 -0
  188. package/dist/static/tailwind/fonts/geist-mono.css +142 -0
  189. package/dist/static/tailwind/fonts/geist.css +142 -0
  190. package/dist/static/tailwind/fonts/inter.css +215 -0
  191. package/dist/static/tailwind/fonts/jetbrains-mono.css +126 -0
  192. package/dist/static/tailwind/fonts/noto-sans.css +134 -0
  193. package/dist/static/tailwind/fonts/open-sans.css +89 -0
  194. package/dist/static/tailwind/highlighters.css +14 -0
  195. package/dist/static/tailwind/hljs/README.md +53 -0
  196. package/dist/static/tailwind/hljs/a11y.css +96 -0
  197. package/dist/static/tailwind/hljs/atom-fruit.css +90 -0
  198. package/dist/static/tailwind/hljs/atom-one.css +164 -0
  199. package/dist/static/tailwind/hljs/default.css +164 -0
  200. package/dist/static/tailwind/hljs/github.css +101 -0
  201. package/dist/static/tailwind/hljs/google-code.css +112 -0
  202. package/dist/static/tailwind/hljs/grayscale.css +115 -0
  203. package/dist/static/tailwind/hljs/gruvbox-hard.css +115 -0
  204. package/dist/static/tailwind/hljs/gruvbox-medium.css +115 -0
  205. package/dist/static/tailwind/hljs/gruvbox-soft.css +115 -0
  206. package/dist/static/tailwind/hljs/papercolor.css +120 -0
  207. package/dist/static/tailwind/hljs/qt-creator.css +91 -0
  208. package/dist/static/tailwind/hljs/summerfruit.css +115 -0
  209. package/dist/static/tailwind/hljs/tomorrow.css +115 -0
  210. package/dist/static/tailwind/leed.css +170 -0
  211. package/dist/static/tailwind/site-tokens.reference.css +105 -0
  212. package/dist/static/tailwind/utils/icons.css +102 -0
  213. package/dist/static/tailwind/utils/utilities.css +105 -0
  214. package/dist/static/templates/pages/PAGE.hbs +27 -0
  215. package/dist/static/templates/pages/PAGE_LAYOUT.hbs +19 -0
  216. package/dist/static/templates/pages/PAGE_TYPE_INDEX.hbs +89 -0
  217. package/dist/static/templates/pages/PAGINATED_PAGE_TYPE_ITEM.hbs +52 -0
  218. package/dist/static/templates/pages/PAGINATED_PAGE_TYPE_LIST.hbs +39 -0
  219. package/dist/static/templates/pages/PAGINATED_PAGE_TYPE_PAGINATION.hbs +11 -0
  220. package/dist/static/templates/raw-content/.ci/build.sh +58 -0
  221. package/dist/static/templates/raw-content/README.md +179 -0
  222. package/dist/static/templates/raw-content/_gitignore +50 -0
  223. package/dist/static/templates/raw-content/src/404.hbs +21 -0
  224. package/dist/static/templates/raw-content/src/_data/autolink.json +1 -0
  225. package/dist/static/templates/raw-content/src/_data/ctaList.json +1 -0
  226. package/dist/static/templates/raw-content/src/_data/leedForms.json +1 -0
  227. package/dist/static/templates/raw-content/src/_data/menu.json +1 -0
  228. package/dist/static/templates/raw-content/src/_includes/footer.hbs +18 -0
  229. package/dist/static/templates/raw-content/src/_includes/header-includes.hbs +25 -0
  230. package/dist/static/templates/raw-content/src/_includes/header.hbs +5 -0
  231. package/dist/static/templates/raw-content/src/_includes/site-template.hbs +23 -0
  232. package/dist/static/templates/raw-content/src/_includes/unsubscribe-DISABLED.hbs +17 -0
  233. package/dist/static/templates/raw-content/src/_includes/unsubscribed-DISABLED.hbs +13 -0
  234. package/dist/static/templates/raw-content/src/_layouts/empty.hbs +2 -0
  235. package/dist/static/templates/raw-content/src/index.hbs +21 -0
  236. package/dist/static/templates/raw-content/src/robots.hbs +9 -0
  237. package/dist/static/templates/raw-content/tailwind/site/base.css +44 -0
  238. package/dist/static/templates/raw-content/tailwind/site.config.css +3 -0
  239. package/dist/static/templates/sandbox/_gitignore +50 -0
  240. package/dist/static/templates/sandbox/identity.json +1 -0
  241. package/dist/static/templates/sandbox/src/404.hbs +21 -0
  242. package/dist/static/templates/sandbox/src/_data/autolink.json +1 -0
  243. package/dist/static/templates/sandbox/src/_data/ctaList.json +1 -0
  244. package/dist/static/templates/sandbox/src/_data/labelList.json +9 -0
  245. package/dist/static/templates/sandbox/src/_data/leedForms.json +20 -0
  246. package/dist/static/templates/sandbox/src/_data/menu.json +19 -0
  247. package/dist/static/templates/sandbox/src/_data/pageTypeList.json +14 -0
  248. package/dist/static/templates/sandbox/src/_data/searchIndexList.json +1 -0
  249. package/dist/static/templates/sandbox/src/_data/userList.json +11 -0
  250. package/dist/static/templates/sandbox/src/_includes/footer.hbs +18 -0
  251. package/dist/static/templates/sandbox/src/_includes/header-includes.hbs +25 -0
  252. package/dist/static/templates/sandbox/src/_includes/header.hbs +5 -0
  253. package/dist/static/templates/sandbox/src/_includes/site-template.hbs +23 -0
  254. package/dist/static/templates/sandbox/src/_layouts/empty.hbs +2 -0
  255. package/dist/static/templates/sandbox/src/index.hbs +20 -0
  256. package/dist/static/templates/sandbox/src/robots.hbs +9 -0
  257. package/dist/static/templates/sandbox/src/src.11tydata.json +39 -0
  258. package/dist/static/templates/sandbox/tailwind/site/base.css +44 -0
  259. package/dist/static/templates/sandbox/tailwind/site.config.css +3 -0
  260. package/dist/thrown-sukVkp_1.js +113 -0
  261. package/dist/typescript-D4T0V_Hn.js +23004 -0
  262. package/dist/yaml-9wR8GxF_.js +5236 -0
  263. package/package.json +157 -4
@@ -0,0 +1,71 @@
1
+ /**
2
+ * The DOCUMENTATION pager — previous/next at the foot of a docs page.
3
+ *
4
+ * Not the site pager. `components/pagination.css` styles the numbered pager a
5
+ * paginated list page emits (.pagination-list, .pagination-active, …). These
6
+ * two were both called "pagination" and used different naming conventions, so
7
+ * a reader could not tell which file governed which component; the classes
8
+ * here carry a docs- prefix to match the #documentation scope they live in.
9
+ *
10
+ * Colors resolve through --component-pagination-*, which reads --docs-* first
11
+ * — every shipped docs theme sets those — then --site-*, then the default.
12
+ */
13
+ #documentation {
14
+ nav#docs-pagination {
15
+ @apply sm:grid sm:grid-cols-2 w-full mt-6 gap-x-4 flex flex-col gap-y-4;
16
+
17
+ /* Empty grid cells to maintain layout */
18
+ &::before,
19
+ &::after {
20
+ @apply content-[""] block;
21
+ }
22
+
23
+ /* The pager link color (and its hover) are DEFAULTS a site is expected to
24
+ override — the sibling `.docs-pagination__sublabel` already uses the same
25
+ value unforced. `nav#docs-pagination` sits outside `#leed-docs-copy`, so
26
+ the theme's anchor rule cannot reach these links and nothing competes.
27
+ Do not reinstate the `!`. */
28
+ .docs-pagination__link {
29
+ @apply flex flex-col p-4 rounded-md transition-all duration-200 no-underline border border-(--component-border-color) text-sm text-(--component-text-color)/80 hover:shadow-none hover:text-(--component-text-color) hover:border-(--component-anchor-text-color);
30
+
31
+ &:hover i {
32
+ @apply text-(--component-pagination-icon-color-hover) dark:text-(--component-pagination-icon-color-hover);
33
+ }
34
+ &:hover .docs-pagination__sublabel {
35
+ @apply text-(--component-pagination-icon-color-hover) dark:text-(--component-pagination-icon-color-hover);
36
+ }
37
+ }
38
+
39
+ .docs-pagination__link--prev {
40
+ @apply col-start-1 col-end-2 text-left w-auto;
41
+ }
42
+
43
+ .docs-pagination__link--next {
44
+ @apply col-start-2 col-end-3 text-right w-auto ml-auto;
45
+ }
46
+
47
+ .docs-pagination__sublabel {
48
+ @apply text-sm text-(--component-text-color)/80 font-normal;
49
+ }
50
+
51
+ .docs-pagination__label {
52
+ @apply flex items-center font-semibold text-(--component-header-3-color) text-base gap-1;
53
+
54
+ &:hover {
55
+ @apply text-(--component-header-1-color);
56
+ }
57
+ }
58
+
59
+ .docs-pagination__link--next .docs-pagination__label {
60
+ @apply justify-end;
61
+ }
62
+
63
+ .docs-pagination__icon--prev {
64
+ @apply mr-2 fa-solid leed-icon-chevron-left text-[9px] text-(--component-pagination-icon-color) hover:text-(--component-pagination-icon-color-hover);
65
+ }
66
+
67
+ .docs-pagination__icon--next {
68
+ @apply ml-2 fa-solid leed-icon-chevron-right text-[9px] text-(--component-pagination-icon-color) hover:text-(--component-pagination-icon-color-hover);
69
+ }
70
+ }
71
+ }
@@ -0,0 +1,83 @@
1
+ /* Mini TOC for mobile */
2
+ #docs-mini-bar {
3
+ @apply sticky top-(--height-header) align-middle items-center w-full text-sm border-b border-(--component-header-border-color)/5 py-2 bg-(--component-bg-color);
4
+
5
+ a {
6
+ @apply text-(--component-text-color);
7
+ }
8
+
9
+ [aria-current="location"] {
10
+ @apply text-(--component-body-link-color);
11
+ }
12
+
13
+ #docs-mini-toc {
14
+ @apply absolute top-full left-0 /* Align with left edge of parent */ right-0 /* Align with right edge of parent */ mt-2 /* Increased margin to make it appear below */ border border-(--component-header-border-color)/5 bg-(--component-menu-bg-color) rounded-b-md shadow-lg z-40;
15
+ }
16
+
17
+ /* Dropdown styling */
18
+ #docs-mini-toc [x-show="isOpen"] {
19
+ @apply mt-1 border border-(--component-header-border-color)/5 rounded-md;
20
+ }
21
+
22
+ #docs-mini-bar-buttons {
23
+ @apply gap-4;
24
+ button.mini-menu {
25
+ @apply text-(--component-text-color) order-1 ml-4 md:ml-0 flex items-center rounded-md transition-colors;
26
+
27
+ i {
28
+ @apply fa-regular leed-icon-panel-toggle text-(--component-text-color)/80 text-xl origin-center transition-transform duration-200;
29
+ }
30
+ }
31
+
32
+ button.mini-toc {
33
+ @apply flex justify-self-end order-3 md:order-2 ml-auto mr-4 md:mr-0 py-1 px-3 items-center border border-(--component-header-border-color)/30 hover:border-(--component-header-border-color)/50 rounded-md transition-colors;
34
+
35
+ #leed-mini-toc-button-text {
36
+ @apply font-medium;
37
+ }
38
+
39
+ i {
40
+ @apply fa-solid leed-icon-chevron-right text-xs ml-3 origin-center transition-transform duration-200;
41
+ }
42
+ }
43
+
44
+ #leed-mini-toc-current {
45
+ @apply flex flex-1 order-2 md:order-1 text-left text-(--component-text-color);
46
+ }
47
+ }
48
+
49
+ #leed-mobile-toc-container {
50
+ @apply p-0;
51
+
52
+ /* Base list styling */
53
+ .leed-nav-toc {
54
+ ol {
55
+ @apply list-none m-0 p-0 text-xs;
56
+ }
57
+
58
+ /* Remove default spacing from list items */
59
+ li {
60
+ @apply m-0 p-0;
61
+ }
62
+
63
+ /* Apply border to ALL links by default */
64
+ a {
65
+ @apply block py-2 px-4 text-(--component-text-color) hover:text-(--component-body-link-color) border-b border-(--component-header-border-color)/5 hover:bg-(--component-current-location-bg-color) transition-colors w-full;
66
+ }
67
+
68
+ ol {
69
+ @apply list-none! m-0! p-0!;
70
+ }
71
+
72
+ /* Nested list links with indent */
73
+ ol ol a {
74
+ @apply pl-8;
75
+ }
76
+
77
+ /* Active link styling */
78
+ a[aria-current="location"] {
79
+ @apply font-medium text-(--component-body-link-color) bg-(--component-current-location-bg-color) border-l-2 border-l-(--component-header-border-color);
80
+ }
81
+ }
82
+ }
83
+ }
@@ -0,0 +1,279 @@
1
+ /* Base sidebar styling */
2
+ .docs-sidebar {
3
+ @apply border-r border-(--component-border-color) shrink-0 transition-all duration-300 overflow-y-auto lg:sticky lg:top-(--height-header) lg:h-[calc(100vh-var(--height-header))] w-72 pr-8 pb-0 pt-4 z-99 lg:z-9 lg:pl-8 lg:bg-transparent;
4
+
5
+ /* Mobile behavior - closed */
6
+ &[aria-hidden="true"] {
7
+ @apply hidden lg:block;
8
+
9
+ #docs-navigation {
10
+ @apply -translate-x-full lg:translate-x-0;
11
+ }
12
+ }
13
+
14
+ /* Mobile behavior - open */
15
+ &[aria-hidden="false"] {
16
+ @apply fixed inset-0 mt-0 lg:top-(--height-header) lg:mt-0 lg:sticky;
17
+
18
+ .docs-mobile-menu-overlay {
19
+ @apply fixed z-9999 inset-0 bg-black/20 backdrop-blur-sm lg:hidden!;
20
+ }
21
+
22
+ /* Mobile navigation content when open.
23
+
24
+ Carries NO padding, deliberately. `lg:p-4 lg:px-3` used to be repeated
25
+ here, identical to the copy in the `#docs-navigation` rule below, and the
26
+ duplicate was silently authoritative: this selector compiles to
27
+ `.docs-sidebar[aria-hidden="false"] #docs-navigation` at (1,2,0), which
28
+ ties every layout's `.docs-layout-* .docs-sidebar #docs-navigation` and
29
+ wins the tie on source order, because the layout files are emitted before
30
+ this one. `aria-hidden="false"` is set at every width, desktop included,
31
+ so alpha's `lg:p-0`, bravo's `lg:p-0` and charlie's `lg:px-0` were all
32
+ being discarded — none of the three had ever taken effect.
33
+
34
+ That is what made #docs-nav-filter slide: a layout's attempt to zero this
35
+ padding never landed, so 1rem of it stayed above the sticky box, the box
36
+ rested 1rem below where it sticks, and it traveled that far on the first
37
+ scroll.
38
+
39
+ Padding belongs in the rule below, at (1,1,0), where a layout can
40
+ legitimately outrank it. Do not reintroduce a padding utility here. */
41
+ #docs-navigation {
42
+ @apply fixed lg:static bg-(--component-bg-color) lg:bg-transparent top-0 z-99999 lg:w-auto h-full lg:h-auto overflow-y-auto lg:overflow-y-visible;
43
+ }
44
+ }
45
+
46
+ /* Navigation content styling */
47
+ #docs-navigation {
48
+ @apply w-[80%] max-w-105 lg:w-full lg:max-w-none lg:p-4 lg:px-3 md:p-0;
49
+
50
+ > ul li:first-child {
51
+ @apply mt-0!;
52
+ }
53
+
54
+ /* Sidebar link colors are DEFAULTS a site is expected to override.
55
+ These selectors already outrank `#docs-navigation .leed-menu__item--wrapper`
56
+ (and resolve to the same token), so `!` changed nothing visually — it only
57
+ made the sidebar unrestylable without an unlayered `!important` file.
58
+ Do not reinstate the `!`. */
59
+ a {
60
+ @apply text-(--component-text-color);
61
+
62
+ &:hover {
63
+ @apply text-(--component-primary-color) bg-(--component-sidebar-link-hover-bg-color);
64
+ }
65
+ }
66
+
67
+ ul.leed-submenu li {
68
+ @apply ml-0 cursor-default;
69
+ }
70
+
71
+ ul.leed-submenu--level-1 li:has(ul.leed-submenu) {
72
+ @apply ml-3;
73
+
74
+ div.leed-menu__item--wrapper:hover {
75
+ @apply bg-transparent cursor-default;
76
+ }
77
+ }
78
+ ul.leed-submenu--level-1 > li:has(ul.leed-submenu) {
79
+ @apply ml-0;
80
+ }
81
+
82
+ > ul > li[aria-haspopup="menu"] {
83
+ @apply cursor-pointer mt-6;
84
+
85
+ .leed-menu__item--no-link {
86
+ @apply font-bold;
87
+ }
88
+ .leed-menu__item--toggle {
89
+ @apply text-[10px];
90
+ }
91
+ li:has(ul[aria-hidden="false"]) .leed-menu__item--toggle {
92
+ @apply rotate-90;
93
+ }
94
+ li:has(ul[aria-hidden="true"]) .leed-menu__item--toggle {
95
+ @apply rotate-0;
96
+ }
97
+ }
98
+
99
+ /* Hide toggle button specifically for top-level menu items that are disabled */
100
+ > ul > li[aria-haspopup="menu"][aria-disabled="true"] > div .leed-menu__item--toggle {
101
+ @apply hidden;
102
+ }
103
+
104
+ /* Current-page color and the no-link hover ground are DEFAULTS a site is
105
+ expected to override. Both selectors already outrank the base rules they
106
+ replace, so the `!` was redundant paint-forcing. Do not reinstate it. */
107
+ [aria-current="page"] > a.leed-menu__item--wrapper {
108
+ @apply font-semibold text-(--component-primary-color) bg-(--component-sidebar-link-current-bg-color);
109
+ }
110
+ & .leed-menu__item--wrapper.leed-menu__item--no-link {
111
+ @apply hover:bg-transparent;
112
+ }
113
+ }
114
+ }
115
+
116
+ #docs-navigation {
117
+ @apply w-full lg:py-4 lg:px-3 text-sm leading-5;
118
+
119
+ [aria-current="page"] > .leed-menu__item--wrapper {
120
+ @apply font-medium text-(--component-current-location-text-color) bg-(--component-current-location-bg-color);
121
+ }
122
+
123
+ [aria-expanded="true"] > .leed-menu__item--wrapper {
124
+ @apply font-medium text-(--component-text-color);
125
+ }
126
+
127
+ /* `bg-(--component-sidebar-link-bg-color)` is the RESTING row ground, and it
128
+ resolves to `transparent` unless a theme or a site says otherwise — so this
129
+ changed nothing when it was added. It sits at (1,1,0), below every rule
130
+ that paints a row for a reason: the hover and current grounds in the
131
+ `.docs-sidebar` block above (1,2,1)/(1,3,1), the `[aria-current="page"]`
132
+ wrapper rule below (1,2,0), and charlie's transparent overrides. A resting
133
+ ground must lose all of those, so do not raise this selector. */
134
+ .leed-menu__item--wrapper {
135
+ @apply flex lg:my-0.5 no-underline w-full py-2 px-3 text-(--component-text-color) bg-(--component-sidebar-link-bg-color) hover:bg-transparent border-b border-(--component-header-border-color)/5 lg:border-b-0 lg:rounded-md transition-colors duration-200 items-baseline justify-between;
136
+
137
+ .leed-menu__item--icon {
138
+ @apply inline-flex items-baseline mr-2;
139
+
140
+ &.api-endpoint {
141
+ @apply mt-1;
142
+ }
143
+ }
144
+
145
+ .leed-menu__item--name {
146
+ @apply grow wrap-break-word whitespace-normal flex-wrap items-baseline;
147
+ }
148
+
149
+ .leed-menu__item--leave {
150
+ @apply fa-solid leed-icon-external-square ml-1 whitespace-nowrap inline-block align-baseline;
151
+ }
152
+
153
+ .leed-menu__item--toggle {
154
+ @apply fa-solid leed-icon-chevron-right ml-2 shrink-0 transition-transform origin-center duration-200 ease-in-out my-auto;
155
+ }
156
+
157
+ /* Default hover ground, overridable at normal specificity. Do not force
158
+ with `!` — a site must be able to paint this row. */
159
+ ul.leed-menu > li > .leed-menu__item--no-link {
160
+ @apply hover:bg-transparent;
161
+ }
162
+ }
163
+
164
+ [aria-expanded="true"] > .leed-menu__item--wrapper > .leed-menu__item--toggle {
165
+ @apply rotate-90;
166
+ }
167
+
168
+ .leed-submenu[aria-hidden="true"] {
169
+ @apply hidden;
170
+ }
171
+
172
+ .leed-submenu {
173
+ @apply pl-0;
174
+
175
+ .leed-menu__item--text {
176
+ @apply flex items-center;
177
+ }
178
+ }
179
+
180
+ /* Nav filter visibility channel. Written with `&` so it compiles to
181
+ `#docs-navigation[data-filtering="true"] …` — nesting the literal id would
182
+ produce `#docs-navigation #docs-navigation[…]`, which matches nothing.
183
+ Hiding non-matches is all the filter asks of CSS. Revealing a collapsed
184
+ section deliberately is NOT done here: a rule that outranks the collapse
185
+ rule above would paint focusable links while aria-hidden="true" kept them
186
+ out of the accessibility tree, so NavFilterManager flips the submenu's
187
+ aria-hidden instead and the collapse rule stops matching on its own. */
188
+ &[data-filtering="true"] {
189
+ li[data-filter-hidden] {
190
+ @apply hidden;
191
+ }
192
+ }
193
+
194
+ /* Sits after the menu rather than inside #docs-nav-filter, so a site that
195
+ hides the box still gets the "no matches" message. */
196
+ .docs-nav-filter__empty {
197
+ @apply px-3 py-4 text-(--component-text-color)/70;
198
+
199
+ &[hidden] {
200
+ @apply hidden;
201
+ }
202
+ }
203
+ }
204
+
205
+ /* Deliberately a TOP-LEVEL rule and deliberately declaring no `display`.
206
+ Nested inside #docs-navigation this would compile to (2,0,0) and beat a
207
+ site's own `#docs-nav-filter { display: none }` opt-out — which the site
208
+ docs tell sites to write inside `layer(components)`, so it only wins on
209
+ source order and needs this rule to stay at (1,0,0). Never add !important
210
+ here, and never add a `display` declaration. */
211
+ #docs-nav-filter {
212
+ /* Two negative numbers, canceling two different things. Keep them in step.
213
+
214
+ `top` cancels the scrollport's own top padding. A sticky offset resolves
215
+ against the content edge, so a plain `top: 0` parks the box 1rem down and
216
+ leaves a strip above it for menu rows to scroll through in full view.
217
+ `pt-4` puts that 1rem back inside the box, where the background travels
218
+ with it instead of staying behind.
219
+
220
+ `margin-top` cancels every top padding between that same scrollport edge
221
+ and the box, so the box rests exactly where it will stick. Miss one and
222
+ the filter slides by the difference the first time the menu scrolls.
223
+
224
+ GATED AT `lg`, and the pair is NOT a no-op where there is no padding to
225
+ cancel — that is the part that reads wrong and has been re-derived wrongly
226
+ twice. Measured at 500px on charlie, drawer open, with the pair applied:
227
+ the box rests at -16 and sticks at -16, and its own `pt-4` is off-screen
228
+ the whole time, so the input sits flush against the top edge with no gap
229
+ above it at all. The negative offset does not paint into a region that is
230
+ never seen; below `lg` it crops the box.
231
+
232
+ So the pair belongs only where a scrollport actually has top padding, and
233
+ below `lg` none of the three layouts has any:
234
+ - charlie — never did.
235
+ - alpha, layouts/alpha.css:37 — `md:px-4 md:pb-4 lg:p-0`.
236
+ - bravo, layouts/bravo.css:45 — `px-0 pb-4 md:px-4 lg:p-0`.
237
+ alpha and bravo used to give their open drawer a top padding as part of
238
+ `p-4` / `py-4`. It was removed rather than canceled here, because the box
239
+ supplies that 1rem itself through `pt-4` and a drawer that has none needs
240
+ no offset. If you restore a drawer top padding in a layout, restore the
241
+ negative pair there too, at that breakpoint.
242
+
243
+ At `lg` the pair assumes exactly one 1rem above the box — `.docs-sidebar`'s
244
+ `pt-4` — with the layout zeroing `#docs-navigation`'s. alpha and bravo do
245
+ it with `lg:p-0`, charlie with `lg:pt-0`. A layout that leaves a second
246
+ padding in place must zero it there. Widening the margin here would fix
247
+ that layout and break the other three. */
248
+ @apply sticky top-0 lg:-top-4 mt-0 lg:-mt-4 pt-4 z-10 pb-2 mb-1 bg-(--component-bg-color);
249
+
250
+ .docs-nav-filter__field {
251
+ @apply relative flex items-center;
252
+ }
253
+
254
+ .docs-nav-filter__icon {
255
+ @apply fa-solid leed-icon-search absolute left-3 text-xs text-(--component-text-color)/50 pointer-events-none;
256
+ }
257
+
258
+ .docs-nav-filter__input {
259
+ @apply w-full py-1.5 pl-8 pr-8 text-sm rounded-lg bg-transparent text-(--component-text-color) border border-(--component-header-border-color)/50 focus:ring-0 focus:border-(--component-header-border-color)/50;
260
+ }
261
+
262
+ /* WebKit renders its own clear affordance on type="search"; the explicit
263
+ button is what the other engines need, and two of them side by side is a
264
+ confusing control. */
265
+ .docs-nav-filter__input::-webkit-search-cancel-button {
266
+ -webkit-appearance: none;
267
+ appearance: none;
268
+ }
269
+
270
+ .docs-nav-filter__clear {
271
+ @apply fa-solid leed-icon-close absolute right-3 cursor-pointer border-0 bg-transparent text-xs text-(--component-text-color)/50 hover:text-(--component-text-color);
272
+
273
+ /* The class above sets a `display`, which would otherwise outrank the user
274
+ agent's `[hidden]` rule. */
275
+ &[hidden] {
276
+ @apply hidden;
277
+ }
278
+ }
279
+ }
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Tables that scroll rather than crush.
3
+ *
4
+ * docs.css styles the table itself — margins, header rule, row rules, cell
5
+ * padding. What it does not decide is what happens when a table is wider than
6
+ * the column it sits in, and the answer until now was "crush the cells". A
7
+ * reference table has a width below which it stops being readable, and a
8
+ * narrow column takes it straight through: a flag column wrapping `--env` over
9
+ * two lines is a column of noise where the whole point is a value you can scan.
10
+ *
11
+ * CSS alone cannot fix it. `overflow-x` on a `<table>` only applies with
12
+ * `display: block`, and that shrinks the inner table box to the block's width,
13
+ * so the cells crush and nothing ever overflows. The element that scrolls has
14
+ * to be a real wrapper, and markdown emits a bare `<table>` with nothing
15
+ * around it — so `TableManager` in documentation.js inserts one, the same way
16
+ * `setupCopyButtons` wraps a `<pre>`.
17
+ *
18
+ * Everything here is therefore inert until that runs. With JavaScript off the
19
+ * table is exactly what docs.css leaves: readable, just narrow. Nothing is
20
+ * hidden by this, which is the right way to fail.
21
+ *
22
+ * Scoped to `#leed-docs-copy` — the article body doc-article.hbs and
23
+ * api-article.hbs both emit — so a table used for layout elsewhere in the
24
+ * chrome is left alone.
25
+ */
26
+ .leed-documentation {
27
+ /* The wrapper is the thing that scrolls. The table inside keeps normal table
28
+ layout, so header and body columns stay aligned; that alignment is the
29
+ reason for a wrapper rather than `display: block` on the table.
30
+
31
+ `overscroll-behavior-x: contain` keeps a horizontal flick inside the table
32
+ instead of letting it become a browser back-navigation. */
33
+ #leed-docs-copy .table-scroll {
34
+ @apply max-w-full overflow-x-auto;
35
+ overscroll-behavior-x: contain;
36
+ }
37
+
38
+ /* `max-content` so the table takes the width its cells actually need rather
39
+ than the width it is handed, and `min-width: 100%` so a short table still
40
+ fills the column instead of huddling at the left edge. */
41
+ #leed-docs-copy .table-scroll > table {
42
+ width: max-content;
43
+ min-width: 100%;
44
+ }
45
+
46
+ /* Only the header row and the first column are held on one line: those are
47
+ the labels, and a wrapped label is worse to read than a scrollbar is to
48
+ use. Prose cells still wrap, so the table is only ever as wide as it
49
+ genuinely needs — most tables never overflow at all. */
50
+ #leed-docs-copy table th,
51
+ #leed-docs-copy table td:first-child {
52
+ @apply whitespace-nowrap;
53
+ }
54
+ }
@@ -0,0 +1,6 @@
1
+ @import "./components/blockquote.css";
2
+ @import "./components/button.css";
3
+ @import "./components/mobile-bar.css";
4
+ @import "./components/navigation.css";
5
+ @import "./components/docs-pagination.css";
6
+ @import "./components/table.css";