@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,701 @@
1
+ .leed-documentation {
2
+ li[role="menuitem"] {
3
+ .api-endpoint {
4
+ /* `shrink-0` is what makes the 34px actually hold. The row
5
+ (`.leed-menu__item--text`) is a flex container, so this badge is a flex
6
+ item with the default `flex-shrink: 1` — a long label overflows the row
7
+ and the badge collapses to its content width instead. That made the gap
8
+ before the label depend on both the method's badge text AND the label's
9
+ length: two GET endpoints sat at different offsets (29.5px vs 34px)
10
+ purely because one summary was longer. Pinned, every label starts at the
11
+ same x. */
12
+ @apply text-[10px] leading-tight font-mono font-bold not-italic inline-block! w-8.5 shrink-0 text-left;
13
+
14
+ &.api-endpoint-get::before {
15
+ @apply bg-(--method-get-bg) text-(--method-get-text) px-1 pb-0.5 pt-1 rounded-md align-[2px] content-["GET"] dark:bg-(--method-get-bg)/20;
16
+ }
17
+
18
+ &.api-endpoint-post::before {
19
+ @apply bg-(--method-post-bg) text-(--method-post-text) px-1 pb-0.5 pt-1 rounded-md align-[2px] content-["POST"] dark:bg-(--method-post-bg)/20;
20
+ }
21
+
22
+ &.api-endpoint-put::before {
23
+ @apply bg-(--method-put-bg) text-(--method-put-text) px-1 pb-0.5 pt-1 rounded-md align-[2px] content-["PUT"] dark:bg-(--method-put-bg)/20;
24
+ }
25
+
26
+ &.api-endpoint-patch::before {
27
+ @apply bg-(--method-patch-bg) text-(--method-patch-text) px-1 pb-0.5 pt-1 rounded-md align-[2px] content-["PATCH"] dark:bg-(--method-patch-bg)/20;
28
+ }
29
+
30
+ &.api-endpoint-delete::before {
31
+ @apply bg-(--method-delete-bg) text-(--method-delete-text) px-1 pb-0.5 pt-1 rounded-md align-[2px] content-["DEL"] dark:bg-(--method-delete-bg)/20;
32
+ }
33
+
34
+ /* OPTIONS is abbreviated to OPTS — the badge is a fixed 34px, so the full
35
+ word would overflow it (the same reason DELETE renders as DEL). HEAD and
36
+ TRACE fit as-is, TRACE being the same length as PATCH. */
37
+ &.api-endpoint-options::before {
38
+ @apply bg-(--method-options-bg) text-(--method-options-text) px-1 pb-0.5 pt-1 rounded-md align-[2px] content-["OPTS"] dark:bg-(--method-options-bg)/20;
39
+ }
40
+
41
+ &.api-endpoint-head::before {
42
+ @apply bg-(--method-head-bg) text-(--method-head-text) px-1 pb-0.5 pt-1 rounded-md align-[2px] content-["HEAD"] dark:bg-(--method-head-bg)/20;
43
+ }
44
+
45
+ &.api-endpoint-trace::before {
46
+ @apply bg-(--method-trace-bg) text-(--method-trace-text) px-1 pb-0.5 pt-1 rounded-md align-[2px] content-["TRACE"] dark:bg-(--method-trace-bg)/20;
47
+ }
48
+ }
49
+
50
+ /* invert the colors to show the currently selected endpoint */
51
+ &[aria-current="page"] {
52
+ .api-endpoint {
53
+ &.api-endpoint-get::before {
54
+ @apply bg-(--method-get-text) dark:bg-(--method-get-bg) text-(--method-text-inverted);
55
+ }
56
+
57
+ &.api-endpoint-post::before {
58
+ @apply bg-(--method-post-text) dark:bg-(--method-post-bg) text-(--method-text-inverted);
59
+ }
60
+
61
+ &.api-endpoint-put::before {
62
+ @apply bg-(--method-put-text) dark:bg-(--method-put-bg) text-(--method-text-inverted);
63
+ }
64
+
65
+ &.api-endpoint-patch::before {
66
+ @apply bg-(--method-patch-text) dark:bg-(--method-patch-bg) text-(--method-text-inverted);
67
+ }
68
+
69
+ &.api-endpoint-delete::before {
70
+ @apply bg-(--method-delete-text) dark:bg-(--method-delete-bg) text-(--method-text-inverted);
71
+ }
72
+
73
+ &.api-endpoint-options::before {
74
+ @apply bg-(--method-options-text) dark:bg-(--method-options-bg) text-(--method-text-inverted);
75
+ }
76
+
77
+ &.api-endpoint-head::before {
78
+ @apply bg-(--method-head-text) dark:bg-(--method-head-bg) text-(--method-text-inverted);
79
+ }
80
+
81
+ &.api-endpoint-trace::before {
82
+ @apply bg-(--method-trace-text) dark:bg-(--method-trace-bg) text-(--method-text-inverted);
83
+ }
84
+ }
85
+ }
86
+ }
87
+
88
+ .api-documentation {
89
+ @apply pt-4! mx-auto;
90
+ }
91
+
92
+ .api-layout {
93
+ @apply flex flex-col xl:flex-row gap-4 xl:gap-8 max-w-full mx-auto;
94
+
95
+ .api-main-column {
96
+ @apply flex-1 min-w-0 xl:flex xl:flex-col;
97
+ }
98
+
99
+ .api-sidebar-column {
100
+ @apply flex-1 min-w-0 xl:ml-auto xl:flex xl:flex-col xl:self-start xl:sticky xl:max-w-md xl:h-[calc(100vh-8rem)] xl:top-[calc(8rem-var(--sidenav-move-up,0px))] xl:bottom-0 xl:overflow-y-auto;
101
+
102
+ .leed-tabs__container .leed-tabs__panels {
103
+ @apply mt-0!;
104
+ }
105
+
106
+ /* Mobile responsive */
107
+ .api-sidebar-content {
108
+ @apply order-first flex flex-1 flex-col xl:pt-4 xl:order-0 gap-4;
109
+
110
+ ul[role="tablist"] {
111
+ @apply mt-0!;
112
+ }
113
+
114
+ /* Dropdown style for tablist */
115
+ .api-tab-dropdown {
116
+ @apply relative w-full;
117
+ }
118
+
119
+ /* `shadow-none`, `focus:outline-none` and `focus:ring-0` are DEFAULTS a
120
+ site is expected to override — restoring a visible focus indicator is
121
+ exactly the case forcing them used to block. Nothing competes with
122
+ them (@tailwindcss/forms emits into layer(base) and does not target a
123
+ bare <button>). The geometry/type-scale utilities keep their `!`
124
+ because the dropdown measurement code depends on the control's size.
125
+ Do not reinstate `!` on the paint utilities. */
126
+ .api-tab-dropdown-button {
127
+ @apply w-auto mt-1.25! px-2! py-1! text-xs! font-medium text-left bg-transparent border-0 border-(--component-border-color)/20 rounded-lg shadow-none hover:bg-(--component-primary-color)/10 hover:text-(--component-primary-color) focus:outline-none focus:ring-0 focus:ring-(--component-primary-color)/50 focus:border-(--component-primary-color) flex items-center justify-between cursor-pointer transition-colors text-(--component-text-color);
128
+
129
+ > i {
130
+ @apply mr-1;
131
+ }
132
+ }
133
+
134
+ .api-tab-dropdown-button::after {
135
+ @apply fa-solid leed-icon-sort text-[10px] ml-3;
136
+ content: var(--fa);
137
+ }
138
+
139
+ .api-tab-dropdown-button[aria-expanded="true"]::after {
140
+ transform: rotate(180deg);
141
+ }
142
+
143
+ .api-tab-dropdown-menu {
144
+ @apply absolute z-50 w-35 mt-0 p-1 bg-(--component-menu-bg-color) border border-(--component-border-color)/20 rounded-lg shadow-lg max-h-60 overflow-auto hidden;
145
+ }
146
+
147
+ .api-tab-dropdown-menu[aria-hidden="false"] {
148
+ @apply block;
149
+ }
150
+
151
+ .api-tab-dropdown-item {
152
+ @apply px-2 py-2 text-xs! rounded-sm text-(--component-text-color) hover:bg-(--component-primary-color)/10 hover:text-(--component-primary-color) cursor-pointer flex items-center transition-colors;
153
+ }
154
+
155
+ .api-tab-dropdown-item[aria-selected="true"] {
156
+ @apply text-(--component-current-location-text-color) font-semibold;
157
+ }
158
+
159
+ .api-tab-dropdown-item i {
160
+ @apply mr-2;
161
+ }
162
+
163
+ /* Hide the original tablist when it has been converted to dropdown */
164
+ .api-sidebar-content ul[role="tablist"].converted-to-dropdown {
165
+ @apply hidden!;
166
+ }
167
+
168
+ /**
169
+ * This is the code examples
170
+ */
171
+ .leed-tabs__container {
172
+ @apply xl:max-w-[calc(100%-10px)] relative;
173
+
174
+ .leed-tabs__wrapper {
175
+ @apply absolute top-0 left-5 z-10;
176
+
177
+ ul[role="tablist"] {
178
+ @apply border-b-0;
179
+ }
180
+
181
+ li[role="tab"] {
182
+ @apply px-3 py-1;
183
+ }
184
+ }
185
+
186
+ [role="tabpanel"] {
187
+ @apply mt-0!;
188
+ }
189
+
190
+ &:first-child {
191
+ @apply mt-0!;
192
+
193
+ .leed-tabs__panels {
194
+ [role="tabpanel"] {
195
+ @apply max-h-80;
196
+ }
197
+
198
+ .code-block-wrapper > pre > code {
199
+ @apply max-h-72 overflow-y-auto text-xs leading-5 font-mono;
200
+ }
201
+ }
202
+ }
203
+
204
+ /**
205
+ * This is the response codes
206
+ */
207
+ &:last-child {
208
+ @apply mt-0!;
209
+ .leed-tabs__panels {
210
+ @apply max-h-72;
211
+
212
+ .code-block-wrapper > pre > code {
213
+ @apply max-h-60 overflow-y-auto text-xs leading-5 font-mono;
214
+ }
215
+ }
216
+ }
217
+ }
218
+ }
219
+ }
220
+
221
+ /* Content sections */
222
+ .api-section {
223
+ @apply mt-4 pb-6;
224
+ }
225
+
226
+ .api-method-container {
227
+ @apply flex overflow-y-auto gap-4 w-full bg-(--component-card-bg-color)/10 border border-(--component-border-color)/10 rounded-xl p-3 mt-4 items-center dark:border-(--component-border-color)/30 dark:bg-(--component-card-bg-color)/40;
228
+ }
229
+
230
+ .api-method-badge {
231
+ @apply rounded-md font-semibold px-2 py-1 text-sm flex uppercase;
232
+ }
233
+
234
+ .api-endpoint-path {
235
+ @apply font-mono text-sm font-medium flex;
236
+ }
237
+
238
+ .api-section-title {
239
+ @apply text-xl font-semibold text-(--component-header-2-color) mt-0!;
240
+ }
241
+
242
+ .api-title {
243
+ @apply text-3xl font-bold mt-4 text-(--component-header-1-color);
244
+ }
245
+
246
+ .api-method-get {
247
+ @apply bg-(--method-get-bg) text-(--method-get-text) dark:bg-(--method-get-bg)/20;
248
+ }
249
+
250
+ .api-method-post {
251
+ @apply bg-(--method-post-bg) text-(--method-post-text) dark:bg-(--method-post-bg)/20;
252
+ }
253
+
254
+ .api-method-put {
255
+ @apply bg-(--method-put-bg) text-(--method-put-text) dark:bg-(--method-put-bg)/20;
256
+ }
257
+
258
+ .api-method-delete {
259
+ @apply bg-(--method-delete-bg) text-(--method-delete-text) dark:bg-(--method-delete-bg)/20;
260
+ }
261
+
262
+ .api-method-patch {
263
+ @apply bg-(--method-patch-bg) text-(--method-patch-text) dark:bg-(--method-patch-bg)/20;
264
+ }
265
+
266
+ .api-method-options {
267
+ @apply bg-(--method-options-bg) text-(--method-options-text) dark:bg-(--method-options-bg)/20;
268
+ }
269
+
270
+ .api-method-head {
271
+ @apply bg-(--method-head-bg) text-(--method-head-text) dark:bg-(--method-head-bg)/20;
272
+ }
273
+
274
+ .api-method-trace {
275
+ @apply bg-(--method-trace-bg) text-(--method-trace-text) dark:bg-(--method-trace-bg)/20;
276
+ }
277
+
278
+ .api-description {
279
+ @apply text-(--component-text-color);
280
+ }
281
+
282
+ /* Base name styling */
283
+ .api-name {
284
+ @apply font-mono font-semibold text-(--component-text-color);
285
+ }
286
+
287
+ /* Base description styling */
288
+ .api-description {
289
+ @apply text-(--component-text-color) text-sm leading-relaxed col-span-full;
290
+ }
291
+
292
+ /* Outer content containers (request body, responses) */
293
+ .api-content-container {
294
+ @apply border border-(--component-border-color)/10 rounded-lg mt-2 dark:border-(--component-border-color)/30;
295
+ }
296
+
297
+ /* Unified Property/Parameter Item Container */
298
+ .api-property-item {
299
+ @apply space-y-1;
300
+ }
301
+
302
+ /* Property/Parameter Header */
303
+ .api-property-header {
304
+ @apply flex justify-between items-center;
305
+ }
306
+
307
+ .api-property-header[data-enum-toggle="true"] {
308
+ @apply cursor-pointer rounded p-2 -ml-3 transition-colors duration-200;
309
+ }
310
+
311
+ .api-property-header.enum-toggle {
312
+ @apply cursor-pointer rounded p-2 -ml-3 transition-colors duration-200;
313
+ }
314
+
315
+ .api-property-name-section {
316
+ @apply flex flex-wrap items-center gap-1;
317
+ }
318
+
319
+ .api-property-chevron {
320
+ @apply text-gray-400 text-xs transition-transform duration-200;
321
+ }
322
+
323
+ /* Move enum content to the left */
324
+ .enum-type-display {
325
+ @apply -ml-1;
326
+ }
327
+
328
+ .api-property-item.expanded .api-property-chevron {
329
+ @apply rotate-90;
330
+ }
331
+
332
+ .api-property-name {
333
+ @apply text-xs;
334
+ }
335
+
336
+ /* Base type styling */
337
+ .api-type {
338
+ @apply font-mono text-xs px-2 py-1 rounded;
339
+ }
340
+
341
+ .enum-type-display,
342
+ .api-type-string,
343
+ .api-enum-expanded,
344
+ .api-property-type {
345
+ @apply text-green-600;
346
+ }
347
+
348
+ .api-type-boolean {
349
+ @apply text-orange-600;
350
+ }
351
+
352
+ .api-type-number {
353
+ @apply text-orange-600;
354
+ }
355
+
356
+ .api-type-integer {
357
+ @apply text-orange-600;
358
+ }
359
+
360
+ .api-type-array {
361
+ @apply text-pink-600;
362
+ }
363
+
364
+ .api-type-object {
365
+ @apply text-slate-600;
366
+ }
367
+
368
+ .api-type-unknown {
369
+ @apply text-cyan-600;
370
+ }
371
+
372
+ /* Enum type display with fixed width */
373
+ .enum-type-display {
374
+ @apply font-mono text-xs px-2 py-1 rounded inline-flex items-center gap-1;
375
+ }
376
+
377
+ .enum-values-inline {
378
+ @apply inline-flex items-center text-ellipsis;
379
+ }
380
+
381
+ .enum-value-inline {
382
+ @apply whitespace-nowrap;
383
+ }
384
+
385
+ .enum-ellipsis {
386
+ @apply font-sans;
387
+ }
388
+
389
+ /* CSS-based pipe separation for enum values */
390
+ .enum-value-inline:not(:last-child)::after {
391
+ @apply font-sans px-1 content-["|"];
392
+ }
393
+
394
+ /* Security scope styling - gray background like other security elements */
395
+ .security-scope-values-inline {
396
+ @apply inline-flex items-center align-middle overflow-hidden max-w-37.5 bg-(--api-snippets-bg-color) dark:bg-(--api-snippets-bg-color)/5 text-(--component-text-color) px-2 py-0.5 text-xs font-mono;
397
+ }
398
+
399
+ .security-scope-value-inline {
400
+ @apply whitespace-nowrap align-middle;
401
+ }
402
+
403
+ .security-scope-value-inline:not(:last-child)::after {
404
+ @apply px-1 content-["|"] align-middle;
405
+ }
406
+
407
+ /* Hide inline enum values when expanded */
408
+ .api-property-item.expanded .enum-values-inline {
409
+ @apply hidden;
410
+ }
411
+
412
+ /* Show placeholder text when expanded */
413
+ .api-property-item.expanded .enum-type-display::after {
414
+ @apply content-["enum"];
415
+ }
416
+
417
+ /* Expanded enum values section */
418
+ .api-enum-expanded {
419
+ @apply mt-1 space-y-1;
420
+ }
421
+
422
+ /* Enum details container with left margin */
423
+ .api-property-details.enum-details {
424
+ @apply ml-4 mt-0!;
425
+ }
426
+
427
+ .enum-value-expanded {
428
+ @apply font-mono text-xs block;
429
+ }
430
+ .api-property-header.enum-toggle {
431
+ @apply py-0;
432
+ }
433
+ /* Property/Parameter Details */
434
+ .api-property-details {
435
+ @apply space-y-4 border-l border-(--component-border-color)/10 pl-4 mt-4 dark:border-(--component-border-color)/30;
436
+ }
437
+
438
+ /* Smaller top margin when inside api-property-item */
439
+ .api-property-item .api-property-details {
440
+ @apply mt-2;
441
+ }
442
+
443
+ .api-params-section {
444
+ .api-property-header {
445
+ @apply mb-0;
446
+ }
447
+
448
+ p {
449
+ @apply mt-0!;
450
+ }
451
+ }
452
+
453
+ .api-property-constraints {
454
+ @apply space-y-1;
455
+ }
456
+
457
+ /* Constraints Container */
458
+ .constraint-item,
459
+ .compact-constraints,
460
+ .api-property-constraints {
461
+ @apply text-xs text-gray-400;
462
+ }
463
+
464
+ .compact-constraints {
465
+ @apply inline;
466
+ }
467
+
468
+ .compact-constraints::before {
469
+ @apply content-["("];
470
+ }
471
+
472
+ .compact-constraints::after {
473
+ @apply content-[")"];
474
+ }
475
+
476
+ .compact-constraints .constraint-item:not(:last-child)::after {
477
+ @apply pr-1 content-[","];
478
+ }
479
+
480
+ /* Compact constraints styling */
481
+ .api-property-compact-constraints {
482
+ @apply flex items-center;
483
+ }
484
+
485
+ .constraint-label {
486
+ @apply font-medium text-(--component-text-color) mr-2;
487
+ }
488
+
489
+ .api-scope-list {
490
+ @apply flex flex-wrap gap-1;
491
+ }
492
+
493
+ .api-scope-list code {
494
+ @apply text-xs;
495
+ }
496
+
497
+ .api-scope-list code:not(:last-child)::after {
498
+ @apply text-gray-400 font-sans px-1 content-["|"];
499
+ }
500
+
501
+ .api-property-enum .enum-values {
502
+ @apply flex flex-wrap gap-1 mt-1;
503
+ }
504
+
505
+ .enum-value {
506
+ @apply px-2 py-1 rounded text-xs font-mono;
507
+ }
508
+
509
+ .enum-value:not(:last-child)::after {
510
+ @apply font-sans content-["|"] ml-1;
511
+ }
512
+
513
+ .api-property-example {
514
+ @apply flex items-center;
515
+
516
+ .constraint-label {
517
+ @apply text-xs font-mono;
518
+ }
519
+
520
+ code {
521
+ @apply bg-(--api-snippets-bg-color) text-(--component-text-color) px-2 py-0.5 text-xs font-mono dark:bg-(--api-snippets-bg-color)/5;
522
+ }
523
+ }
524
+
525
+ /* Allow example to span full width in grid */
526
+ .api-property-example {
527
+ @apply col-span-full;
528
+ }
529
+
530
+ /* Object Schema Styling */
531
+ .api-object-item {
532
+ @apply p-4;
533
+ }
534
+
535
+ .api-object-header {
536
+ @apply flex items-center gap-2 mt-3;
537
+ }
538
+
539
+ .api-object-name {
540
+ @apply text-lg;
541
+ }
542
+
543
+ .api-object-type {
544
+ @apply text-purple-600 bg-purple-50;
545
+ }
546
+
547
+ .api-nested-object {
548
+ @apply space-y-4;
549
+ }
550
+
551
+ /* Security-specific styling to prevent multiple left borders */
552
+ .api-security-nested-object {
553
+ @apply mt-3 border-l border-(--component-border-color)/10 pl-4 dark:border-(--component-border-color)/30;
554
+ }
555
+
556
+ .api-security-property-details {
557
+ @apply space-y-4 mt-4;
558
+ }
559
+
560
+ /* Array items styling */
561
+ .api-array-items {
562
+ @apply mt-3 p-3 bg-blue-50 border border-blue-200 rounded-md;
563
+ }
564
+
565
+ .api-array-type {
566
+ @apply font-mono text-sm font-semibold text-blue-800 mt-2;
567
+ }
568
+
569
+ .api-array-properties {
570
+ @apply space-y-4;
571
+ }
572
+
573
+ /* Union type styling */
574
+ .api-union-items {
575
+ @apply space-y-4;
576
+ .api-property-details {
577
+ @apply mt-0!;
578
+ }
579
+ }
580
+
581
+ .union-type-description {
582
+ @apply bg-red-50 dark:bg-red-800 border-l border-red-600 pl-3 py-1 mt-1 mb-0;
583
+ }
584
+
585
+ .union-type-description + .api-property-details {
586
+ @apply my-0!;
587
+
588
+ .api-property-header:first-child {
589
+ @apply pt-1;
590
+ }
591
+ }
592
+
593
+ .union-type-description p {
594
+ @apply text-red-800 dark:text-red-50 font-medium text-sm my-0!;
595
+ }
596
+
597
+ .union-type-header .api-property-name {
598
+ @apply text-red-800;
599
+ }
600
+
601
+ /* Request Body Styling */
602
+ .api-request-body-item {
603
+ @apply mt-0;
604
+ }
605
+
606
+ .api-request-body-header {
607
+ @apply flex justify-between items-start mt-3;
608
+ }
609
+
610
+ /* Base info styling */
611
+ .api-info {
612
+ @apply flex items-center gap-2;
613
+ }
614
+
615
+ /* Base required/optional styling */
616
+ .api-information {
617
+ @apply text-(--component-text-color) font-semibold text-[10px] leading-tight bg-(--api-snippets-bg-color) px-2 py-1 rounded uppercase dark:bg-(--api-snippets-bg-color)/5;
618
+ }
619
+
620
+ .api-response-controls {
621
+ @apply flex flex-wrap items-center gap-2;
622
+ }
623
+
624
+ /* Unified wrapper styling for all select elements */
625
+ .api-unified-select-wrapper {
626
+ @apply relative inline-block;
627
+ }
628
+
629
+ /* New button/ul dropdown styling */
630
+ .api-dropdown-btn {
631
+ @apply px-4 py-2 border border-(--component-form-border-color) rounded-md text-sm bg-white min-w-30 relative flex items-center justify-between transition-all duration-300 hover:border-(--component-form-border-color-hover) focus:outline-none focus:ring-2 focus:ring-(--component-primary-color) focus:border-(--component-primary-color) dark:bg-transparent dark:border-(--component-form-border-color)/10 dark:hover:border-(--component-form-border-color)/20;
632
+
633
+ &.disabled {
634
+ @apply bg-gray-50 text-(--component-text-color)/50 cursor-default pointer-events-none dark:border-(--component-form-border-color)/10 dark:bg-transparent;
635
+ }
636
+
637
+ &.disabled:focus {
638
+ @apply ring-0 border-gray-300; /* Remove focus styling */
639
+ }
640
+
641
+ > span {
642
+ @apply pr-3;
643
+ }
644
+ > i {
645
+ @apply text-[10px];
646
+ }
647
+ }
648
+
649
+ .api-list {
650
+ @apply absolute top-full right-0 bg-white border border-(--component-form-border-color) rounded-md shadow-lg z-10 max-h-60 overflow-y-auto list-none m-0! p-1! min-w-full w-max dark:bg-(--component-bg-color) dark:border-(--component-form-border-color)/20;
651
+
652
+ .api-item {
653
+ @apply flex px-4 py-2 rounded-md text-sm cursor-pointer hover:bg-(--api-select-list-item-bg-color-hover) list-none dark:hover:bg-(--api-select-list-item-bg-color-hover)/5 dark:text-(--component-text-color);
654
+ }
655
+ }
656
+
657
+ /* Request body row styling */
658
+ .response-row,
659
+ .request-body-row,
660
+ .security-row {
661
+ @apply flex flex-wrap items-center justify-between py-2;
662
+ }
663
+
664
+ /* Ensure all header elements are vertically centered */
665
+ .api-property-header,
666
+ .api-object-header,
667
+ .response-row,
668
+ .request-body-row,
669
+ .security-row {
670
+ @apply items-center;
671
+ }
672
+
673
+ /* Ensure all child elements in headers are vertically centered */
674
+ .api-method-container > *,
675
+ .api-property-header > *,
676
+ .api-object-header > *,
677
+ .response-row > *,
678
+ .request-body-row > *,
679
+ .security-row > * {
680
+ @apply flex items-center;
681
+ }
682
+
683
+ /* Debug styles - remove in production */
684
+ .api-response-fields-item {
685
+ @apply min-h-5;
686
+ }
687
+
688
+ .api-response-fields-item:empty::after {
689
+ @apply text-gray-500 italic text-sm content-["No_response_content_available"];
690
+ }
691
+ .api-property-details,
692
+ .api-security-nested-object,
693
+ .api-content-container,
694
+ .api-method-container {
695
+ @apply dark:border-(--component-form-border-color)/10;
696
+ }
697
+ .api-list {
698
+ @apply dark:border-(--component-form-border-color)/20;
699
+ }
700
+ }
701
+ }
@@ -0,0 +1,5 @@
1
+ .leed-documentation {
2
+ blockquote {
3
+ @apply pl-6 border-l-4 border-(--component-border-color) mt-4;
4
+ }
5
+ }
@@ -0,0 +1,11 @@
1
+ #documentation,
2
+ #docs-header-wrapper {
3
+ .docs-button-primary,
4
+ button[type="submit"] {
5
+ @apply bg-(--component-primary-color-hover) text-white! px-4 py-1 rounded-lg transition-all duration-200 hover:bg-(--component-primary-color) cursor-pointer;
6
+ }
7
+
8
+ .button-secondary {
9
+ @apply bg-(--component-button-secondary-bg-color) hover:bg-(--component-button-secondary-bg-hover-color) text-white! py-1 px-4 rounded-lg transition-all duration-200 cursor-pointer;
10
+ }
11
+ }