@xyd-js/components 0.1.0-xyd.1 → 0.1.0-xyd.11

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 (405) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/LICENSE +21 -0
  3. package/dist/CTABanner-BLDHbq5h.js +2 -0
  4. package/dist/CTABanner-BLDHbq5h.js.map +1 -0
  5. package/dist/CTABanner-n3vc4xW5.js +2 -0
  6. package/dist/CTABanner-n3vc4xW5.js.map +1 -0
  7. package/dist/CodeSample-CVki5fdQ.js +2 -0
  8. package/dist/CodeSample-CVki5fdQ.js.map +1 -0
  9. package/dist/CodeSample-Dkob5gWa.js +2 -0
  10. package/dist/CodeSample-Dkob5gWa.js.map +1 -0
  11. package/dist/HomeView-DHdqouwJ.js +2 -0
  12. package/dist/HomeView-DHdqouwJ.js.map +1 -0
  13. package/dist/HomeView-TDx2tcP_.js +2 -0
  14. package/dist/HomeView-TDx2tcP_.js.map +1 -0
  15. package/dist/UnderlineNav-9lJPvnIp.js +2 -0
  16. package/dist/UnderlineNav-9lJPvnIp.js.map +1 -0
  17. package/dist/UnderlineNav-VqB7jDQD.js +2 -0
  18. package/dist/UnderlineNav-VqB7jDQD.js.map +1 -0
  19. package/dist/_rollupPluginBabelHelpers-C8nLsqZ7.js +2 -0
  20. package/dist/_rollupPluginBabelHelpers-C8nLsqZ7.js.map +1 -0
  21. package/dist/_rollupPluginBabelHelpers-CrdNG0jb.js +2 -0
  22. package/dist/_rollupPluginBabelHelpers-CrdNG0jb.js.map +1 -0
  23. package/dist/brand.d.ts +11 -10
  24. package/dist/brand.js +2 -1
  25. package/dist/brand.js.map +1 -0
  26. package/dist/coder/themes/cosmo-light.d.ts +5 -0
  27. package/dist/coder/themes/cosmo-light.js +2 -0
  28. package/dist/coder/themes/cosmo-light.js.map +1 -0
  29. package/dist/coder.d.ts +52 -3
  30. package/dist/coder.js +2 -1
  31. package/dist/coder.js.map +1 -0
  32. package/dist/content.d.ts +103 -37
  33. package/dist/content.js +2 -1
  34. package/dist/content.js.map +1 -0
  35. package/dist/index-TkBHKzGT.js +2 -0
  36. package/dist/index-TkBHKzGT.js.map +1 -0
  37. package/dist/index-YH6Q3iH2.js +2 -0
  38. package/dist/index-YH6Q3iH2.js.map +1 -0
  39. package/dist/index.css +217 -135
  40. package/dist/index.d.ts +1 -1
  41. package/dist/index.js +1 -0
  42. package/dist/index.js.map +1 -0
  43. package/dist/layouts.d.ts +12 -1
  44. package/dist/layouts.js +2 -1
  45. package/dist/layouts.js.map +1 -0
  46. package/dist/pages.d.ts +2 -1
  47. package/dist/pages.js +2 -1
  48. package/dist/pages.js.map +1 -0
  49. package/dist/{tslib.es6-B1gizQU6.js → tslib.es6-BI9zka_a.js} +1 -0
  50. package/dist/tslib.es6-BI9zka_a.js.map +1 -0
  51. package/dist/{tslib.es6-CMPV4d4T.js → tslib.es6-sxmRJynD.js} +1 -0
  52. package/dist/tslib.es6-sxmRJynD.js.map +1 -0
  53. package/dist/views.d.ts +2 -1
  54. package/dist/views.js +2 -1
  55. package/dist/views.js.map +1 -0
  56. package/dist/writer.d.ts +62 -8
  57. package/dist/writer.js +2 -1
  58. package/dist/writer.js.map +1 -0
  59. package/package.json +21 -14
  60. package/rollup.config.js +53 -8
  61. package/src/brand/Button/Button.styles.tsx +31 -0
  62. package/src/brand/Button/Button.tsx +3 -35
  63. package/src/brand/CTABanner/CTABanner.styles.tsx +82 -0
  64. package/src/brand/CTABanner/CTABanner.tsx +34 -112
  65. package/src/brand/Footer/Footer.styles.tsx +21 -0
  66. package/src/brand/Footer/Footer.tsx +4 -24
  67. package/src/brand/TODO.md +1 -0
  68. package/src/coder/Code/Code.styles.tsx +47 -0
  69. package/src/coder/Code/Code.tsx +76 -0
  70. package/src/coder/Code/CodeLoader.tsx +10 -0
  71. package/src/coder/Code/annotations.tsx +31 -0
  72. package/src/coder/Code/highlight.ts +170 -0
  73. package/src/coder/Code/index.ts +15 -0
  74. package/src/coder/CodeCopy/CodeCopy.styles.tsx +19 -0
  75. package/src/coder/CodeCopy/CodeCopy.tsx +2 -4
  76. package/src/coder/CodeSample/CodeSample.tsx +42 -133
  77. package/src/coder/CodeSample/index.ts +0 -1
  78. package/src/coder/CodeSample/withLocalStored.tsx +1 -1
  79. package/src/coder/CodeTabs/CodeTabs.styles.tsx +104 -0
  80. package/src/coder/CodeTabs/CodeTabs.tsx +95 -0
  81. package/src/coder/CodeTabs/index.ts +6 -0
  82. package/src/coder/CodeTheme/CodeTheme.tsx +79 -0
  83. package/src/coder/CodeTheme/index.ts +8 -0
  84. package/src/coder/hooks/highlight.ts +182 -0
  85. package/src/coder/index.ts +31 -1
  86. package/src/coder/{CodeSample/default-theme.ts → themes/cosmo-light.ts} +3 -2
  87. package/src/content/Anchor/Anchor.styles.tsx +5 -0
  88. package/src/content/Anchor/Anchor.tsx +4 -14
  89. package/src/content/Content/Content.styles.tsx +9 -0
  90. package/src/content/Content/Content.tsx +4 -11
  91. package/src/content/Content.tsx +48 -6
  92. package/src/content/Subtitle/Subtitle.styles.ts +8 -0
  93. package/src/content/Subtitle/Subtitle.tsx +2 -11
  94. package/src/layouts/Layout.styles.tsx +135 -131
  95. package/src/layouts/Layout.tsx +21 -23
  96. package/src/layouts/LayoutPrimary/LayoutPrimary.styles.tsx +341 -0
  97. package/src/layouts/LayoutPrimary/LayoutPrimary.tsx +157 -0
  98. package/src/layouts/LayoutPrimary/index.ts +5 -0
  99. package/src/layouts/index.ts +7 -1
  100. package/src/pages/HomePage/HomePage.styles.tsx +16 -0
  101. package/src/pages/HomePage/HomePage.tsx +7 -21
  102. package/src/pages/TODO.md +1 -0
  103. package/src/pages/index.ts +1 -0
  104. package/src/ui/Loader/Loader.styles.tsx +54 -0
  105. package/src/ui/Loader/Loader.tsx +26 -0
  106. package/src/ui/TODO.md +2 -0
  107. package/src/ui/index.ts +1 -0
  108. package/src/utils/useStyle.ts +19 -0
  109. package/src/views/HomeView/HomeView.styles.tsx +37 -0
  110. package/src/views/HomeView/HomeView.tsx +5 -45
  111. package/src/views/TODO.md +1 -0
  112. package/src/views/index.ts +1 -0
  113. package/src/writer/Badge/Badge.styles.tsx +31 -26
  114. package/src/writer/Badge/Badge.tsx +42 -9
  115. package/src/writer/Blockquote/Blockquote.styles.tsx +6 -8
  116. package/src/writer/Blockquote/Blockquote.tsx +2 -2
  117. package/src/writer/Breadcrumbs/Breadcrumbs.styles.ts +27 -26
  118. package/src/writer/Breadcrumbs/Breadcrumbs.tsx +5 -5
  119. package/src/writer/Callout/Callout.styles.tsx +44 -48
  120. package/src/writer/Callout/Callout.tsx +5 -5
  121. package/src/writer/Code/Code.styles.tsx +11 -13
  122. package/src/writer/Code/Code.tsx +2 -2
  123. package/src/writer/Details/Details.styles.tsx +102 -74
  124. package/src/writer/Details/Details.tsx +46 -30
  125. package/src/writer/GuideCard/GuideCard.styles.tsx +116 -112
  126. package/src/writer/GuideCard/GuideCard.tsx +19 -19
  127. package/src/writer/Heading/Heading.styles.tsx +65 -61
  128. package/src/writer/Heading/Heading.tsx +11 -11
  129. package/src/writer/Hr/Hr.styles.tsx +3 -5
  130. package/src/writer/Hr/Hr.tsx +2 -2
  131. package/src/writer/Icon/index.tsx +243 -0
  132. package/src/writer/NavLinks/NavLinks.styles.ts +30 -30
  133. package/src/writer/NavLinks/NavLinks.tsx +6 -6
  134. package/src/writer/Pre/Pre.styles.tsx +8 -10
  135. package/src/writer/Pre/Pre.tsx +2 -2
  136. package/src/writer/Steps/Steps.styles.tsx +30 -31
  137. package/src/writer/Steps/Steps.tsx +3 -4
  138. package/src/writer/Table/Table.styles.tsx +32 -31
  139. package/src/writer/Table/Table.tsx +5 -5
  140. package/src/writer/Table/TableV2.styles.tsx +117 -0
  141. package/src/writer/Table/TableV2.tsx +83 -0
  142. package/src/writer/Table/index.ts +4 -0
  143. package/src/writer/Tabs/Tabs.styles.tsx +60 -63
  144. package/src/writer/Tabs/Tabs.tsx +11 -16
  145. package/src/writer/UnderlineNav/UnderlineNav.styles.tsx +44 -42
  146. package/src/writer/UnderlineNav/UnderlineNav.tsx +5 -5
  147. package/tsconfig.json +2 -3
  148. package/dist/CTABanner-CYKba2Vn.js +0 -1
  149. package/dist/CTABanner-hV6NH0Xf.js +0 -1
  150. package/dist/CodeSample-D1QMQt89.js +0 -1
  151. package/dist/CodeSample-DLJNHIaK.js +0 -1
  152. package/dist/CodeSample-DZq0_qWL.js +0 -1
  153. package/dist/Footer-CkBDl828.js +0 -1
  154. package/dist/HomeView-CEgDQeAf.js +0 -1
  155. package/dist/UnderlineNav-BaOK-iez.js +0 -1
  156. package/dist/UnderlineNav-D5zXLK6j.js +0 -1
  157. package/dist/UnderlineNav-DGzjCvkM.js +0 -1
  158. package/dist/abap-DsN9RuMZ.js +0 -1
  159. package/dist/actionscript-3-B1SSyZyS.js +0 -1
  160. package/dist/ada-D_J1lW-E.js +0 -1
  161. package/dist/angular-html-CYREiUrW.js +0 -1
  162. package/dist/angular-ts-DcAOu8WU.js +0 -1
  163. package/dist/apache-CCuSaqCk.js +0 -1
  164. package/dist/apex-DblqgZJW.js +0 -1
  165. package/dist/apl-PFYbmQM7.js +0 -1
  166. package/dist/applescript-CxR8VFYt.js +0 -1
  167. package/dist/ara-DyvEMt1M.js +0 -1
  168. package/dist/asciidoc-CnwoPPuH.js +0 -1
  169. package/dist/asm-CjptKFp1.js +0 -1
  170. package/dist/astro-suE8bk8k.js +0 -1
  171. package/dist/awk-DCM8RPoH.js +0 -1
  172. package/dist/ballerina-Cj78GSWA.js +0 -1
  173. package/dist/bat-DOoDZywo.js +0 -1
  174. package/dist/beancount-t-WR86_8.js +0 -1
  175. package/dist/berry-B4bZSCCn.js +0 -1
  176. package/dist/bibtex-BrVhJY3k.js +0 -1
  177. package/dist/bicep-B9mKM727.js +0 -1
  178. package/dist/blade-C5Z797nx.js +0 -1
  179. package/dist/c-DAjGiO5B.js +0 -1
  180. package/dist/cadence-PrerV_VN.js +0 -1
  181. package/dist/clarity-BHTd5LJm.js +0 -1
  182. package/dist/clojure-CfEyl-7j.js +0 -1
  183. package/dist/cmake-CRA2Enzy.js +0 -1
  184. package/dist/cobol-BnLJxYQT.js +0 -1
  185. package/dist/codeowners-BvrirGey.js +0 -1
  186. package/dist/codeql-B2c2mBK0.js +0 -1
  187. package/dist/coffee-CG62yMWj.js +0 -1
  188. package/dist/common-lisp-CN6bltgb.js +0 -1
  189. package/dist/cpp-BbrQ837u.js +0 -1
  190. package/dist/crystal-rvb5jzSz.js +0 -1
  191. package/dist/csharp-CUz8u4K7.js +0 -1
  192. package/dist/css-JK7NOE59.js +0 -1
  193. package/dist/csv-CA_RykxK.js +0 -1
  194. package/dist/cue-AyD8vP8S.js +0 -1
  195. package/dist/cypher-eVjUZ0JC.js +0 -1
  196. package/dist/d-D1E5UK87.js +0 -1
  197. package/dist/dark-plus-C6xVaa39.js +0 -1
  198. package/dist/dart-DofOkkdM.js +0 -1
  199. package/dist/dax-DqGHRpF4.js +0 -1
  200. package/dist/desktop-j1oT-0Fo.js +0 -1
  201. package/dist/diff-ChebWHqI.js +0 -1
  202. package/dist/docker-BU6yAGy2.js +0 -1
  203. package/dist/dotenv-GyMvMNRw.js +0 -1
  204. package/dist/dracula-DUKRH7Zb.js +0 -1
  205. package/dist/dracula-soft-MlIR18G6.js +0 -1
  206. package/dist/dream-maker-BsQ1dbNp.js +0 -1
  207. package/dist/edge-F-AR7ZfW.js +0 -1
  208. package/dist/elixir-k4xxGl4V.js +0 -1
  209. package/dist/elm-CInOOHq9.js +0 -1
  210. package/dist/emacs-lisp-C6yIvom4.js +0 -1
  211. package/dist/erb-3pxr-NQS.js +0 -1
  212. package/dist/erlang-pmWC-Wee.js +0 -1
  213. package/dist/fennel-DViJm-jY.js +0 -1
  214. package/dist/fish-XcExlNEH.js +0 -1
  215. package/dist/fluent-DuJOAG6K.js +0 -1
  216. package/dist/fortran-fixed-form-Db5I_UFX.js +0 -1
  217. package/dist/fortran-free-form-B2xyqK-y.js +0 -1
  218. package/dist/fsharp-is-Hk3Eq.js +0 -1
  219. package/dist/gdresource-RuRLtBIa.js +0 -1
  220. package/dist/gdscript-pJ_75zwI.js +0 -1
  221. package/dist/gdshader-C5a9x3vh.js +0 -1
  222. package/dist/genie-BQ1oppDb.js +0 -1
  223. package/dist/gherkin-CuOELy7c.js +0 -1
  224. package/dist/git-commit-3zS8hqVZ.js +0 -1
  225. package/dist/git-rebase-DbS4r3GX.js +0 -1
  226. package/dist/github-dark-MxM60tcF.js +0 -1
  227. package/dist/github-dark-dimmed-DDWwGITy.js +0 -1
  228. package/dist/github-from-css-3tseHBGr.js +0 -1
  229. package/dist/github-light-pTwVS4k8.js +0 -1
  230. package/dist/gleam-DNxiWDAA.js +0 -1
  231. package/dist/glimmer-js-BGxcWjEE.js +0 -1
  232. package/dist/glimmer-ts-BB1An-Xq.js +0 -1
  233. package/dist/glsl-DaDHpxzv.js +0 -1
  234. package/dist/gnuplot-B1t-F_Gz.js +0 -1
  235. package/dist/go-BiVONvim.js +0 -1
  236. package/dist/graphql-LpWkIzuc.js +0 -1
  237. package/dist/groovy-DcxmRonw.js +0 -1
  238. package/dist/hack-BCsHcJ0e.js +0 -1
  239. package/dist/haml-CXlzR84c.js +0 -1
  240. package/dist/handlebars-DLTopqNS.js +0 -1
  241. package/dist/haskell-35U1u5gK.js +0 -1
  242. package/dist/haxe-ssN4Oy09.js +0 -1
  243. package/dist/hcl-kzI--7Cv.js +0 -1
  244. package/dist/hjson-pR2iiFsp.js +0 -1
  245. package/dist/hlsl-8PIy5U5-.js +0 -1
  246. package/dist/html-BEHbZ4zc.js +0 -1
  247. package/dist/html-derivative-K5xYNXck.js +0 -1
  248. package/dist/http-Cd2N6YgB.js +0 -1
  249. package/dist/hxml-BiAYlMbG.js +0 -1
  250. package/dist/hy-Cg5rcmur.js +0 -1
  251. package/dist/imba-DIe-G4Fn.js +0 -1
  252. package/dist/index-B7QE1KUr.js +0 -1
  253. package/dist/index-BE4Aq8NU.js +0 -1
  254. package/dist/index-CpFJxv5e.js +0 -1
  255. package/dist/index-DMAgLttD.js +0 -1
  256. package/dist/index-byGIVYaJ.js +0 -1
  257. package/dist/index-eU5so3Si.js +0 -1
  258. package/dist/ini-H0Ga-buI.js +0 -1
  259. package/dist/java-DoE_enjS.js +0 -1
  260. package/dist/javascript-__QKtyFe.js +0 -1
  261. package/dist/jinja-UYHlv864.js +0 -1
  262. package/dist/jison-B9nCySXt.js +0 -1
  263. package/dist/json-B7oi-vA0.js +0 -1
  264. package/dist/json5-BetPwqJO.js +0 -1
  265. package/dist/jsonc-pWWkBlCi.js +0 -1
  266. package/dist/jsonl-B6mt3pJZ.js +0 -1
  267. package/dist/jsonnet-CoMYTNCI.js +0 -1
  268. package/dist/jssm-Cid3TtQ5.js +0 -1
  269. package/dist/jsx-Ckobzlnq.js +0 -1
  270. package/dist/julia-C8xlDV3I.js +0 -1
  271. package/dist/kotlin-DvN1jcCb.js +0 -1
  272. package/dist/kusto-BCF_-dC3.js +0 -1
  273. package/dist/latex-DRFLltbj.js +0 -1
  274. package/dist/lean-DNZ3POMR.js +0 -1
  275. package/dist/less-XiEW6aqg.js +0 -1
  276. package/dist/light-plus-BnkOXVnc.js +0 -1
  277. package/dist/liquid-B40PlvwD.js +0 -1
  278. package/dist/log-xo3MDRlF.js +0 -1
  279. package/dist/logo-DTYzs3BE.js +0 -1
  280. package/dist/lua-BDEQNtpi.js +0 -1
  281. package/dist/luau-B1E5PlN9.js +0 -1
  282. package/dist/make-DtNOxXXX.js +0 -1
  283. package/dist/markdown-B6FKqc-0.js +0 -1
  284. package/dist/marko-mRmYVKe_.js +0 -1
  285. package/dist/material-darker-DFW2iB51.js +0 -1
  286. package/dist/material-default-BFApb2Ag.js +0 -1
  287. package/dist/material-from-css-bTkjEQjF.js +0 -1
  288. package/dist/material-lighter-CYEL5tGv.js +0 -1
  289. package/dist/material-ocean-BhuQqQbt.js +0 -1
  290. package/dist/material-palenight-B_DfQHjY.js +0 -1
  291. package/dist/matlab-BovMnqtG.js +0 -1
  292. package/dist/mdc-DIkT1TyN.js +0 -1
  293. package/dist/mdx-CxAyQTjI.js +0 -1
  294. package/dist/mermaid-i0z8tyOx.js +0 -1
  295. package/dist/min-dark-BE2n4wJj.js +0 -1
  296. package/dist/min-light-BJgErz0d.js +0 -1
  297. package/dist/mojo-C-lVJL5A.js +0 -1
  298. package/dist/monokai-eaa8L1cq.js +0 -1
  299. package/dist/move-C3Zui0bc.js +0 -1
  300. package/dist/narrat-THKEk6T8.js +0 -1
  301. package/dist/nextflow-CtnPKe-i.js +0 -1
  302. package/dist/nginx-CGEFMta9.js +0 -1
  303. package/dist/nim-C8mPZfis.js +0 -1
  304. package/dist/nix-JCk4_G_4.js +0 -1
  305. package/dist/nord-Doy8uXi5.js +0 -1
  306. package/dist/nushell-CX0evzNH.js +0 -1
  307. package/dist/objective-c-CRUJa2eY.js +0 -1
  308. package/dist/objective-cpp-CCYeWv4r.js +0 -1
  309. package/dist/ocaml-DGJqpgv5.js +0 -1
  310. package/dist/one-dark-pro-u8LD4Pzz.js +0 -1
  311. package/dist/pascal-DBmHAUBB.js +0 -1
  312. package/dist/perl-DeqR1cIo.js +0 -1
  313. package/dist/php-DgxB75vC.js +0 -1
  314. package/dist/plsql-7JGOsii8.js +0 -1
  315. package/dist/po-iKcL_E8G.js +0 -1
  316. package/dist/poimandres-CA110GE1.js +0 -1
  317. package/dist/postcss-Da2iRvoL.js +0 -1
  318. package/dist/powerquery-DPeggvzL.js +0 -1
  319. package/dist/powershell-CaJNoU_J.js +0 -1
  320. package/dist/prisma-CJb-Lxak.js +0 -1
  321. package/dist/prolog-DfSRFLOg.js +0 -1
  322. package/dist/proto-CQScmtFO.js +0 -1
  323. package/dist/pug-C812gnD5.js +0 -1
  324. package/dist/puppet-B1xO3kuT.js +0 -1
  325. package/dist/purescript-CNYgFxmJ.js +0 -1
  326. package/dist/python-D9HM-cQI.js +0 -1
  327. package/dist/qml-DJVpVDAW.js +0 -1
  328. package/dist/qmldir-CHfKHU4H.js +0 -1
  329. package/dist/qss-C4aoutlf.js +0 -1
  330. package/dist/r-CqYxKsjx.js +0 -1
  331. package/dist/racket-DUEDYd32.js +0 -1
  332. package/dist/raku-D9-XDqRz.js +0 -1
  333. package/dist/razor-3rNKfrrf.js +0 -1
  334. package/dist/reg-b5Nk8lNx.js +0 -1
  335. package/dist/regexp-DVRafeF7.js +0 -1
  336. package/dist/rel--gRyHcrO.js +0 -1
  337. package/dist/riscv-C8SxbbN2.js +0 -1
  338. package/dist/rose-pine-DPGqNU4b.js +0 -1
  339. package/dist/rose-pine-dawn-DymfQU_V.js +0 -1
  340. package/dist/rose-pine-moon-BQUAYUon.js +0 -1
  341. package/dist/rst-CmHkCKmJ.js +0 -1
  342. package/dist/ruby-Q-VH1uZA.js +0 -1
  343. package/dist/rust-ClS6MAIk.js +0 -1
  344. package/dist/sas-D3oI_z1n.js +0 -1
  345. package/dist/sass-C7IOYsXa.js +0 -1
  346. package/dist/scala-Bo-OrDK4.js +0 -1
  347. package/dist/scheme-CZPOfAv0.js +0 -1
  348. package/dist/scss-CrrfDAqb.js +0 -1
  349. package/dist/shaderlab-BHdRvEKr.js +0 -1
  350. package/dist/shellscript-CGx4lQcC.js +0 -1
  351. package/dist/shellsession-DNVyDTwx.js +0 -1
  352. package/dist/slack-dark-BdYiGGaR.js +0 -1
  353. package/dist/slack-ochin-D47ofNk9.js +0 -1
  354. package/dist/smalltalk-CSwwxfh6.js +0 -1
  355. package/dist/solarized-dark-B_ueb431.js +0 -1
  356. package/dist/solarized-light-ClfNXI7y.js +0 -1
  357. package/dist/solidity-DTxkUBi_.js +0 -1
  358. package/dist/soy-CWDkaEw-.js +0 -1
  359. package/dist/sparql-iRDOfWr5.js +0 -1
  360. package/dist/splunk-BEkc8uO-.js +0 -1
  361. package/dist/sql-BJ_taBmN.js +0 -1
  362. package/dist/ssh-config-Df9b2KGk.js +0 -1
  363. package/dist/stata-D3UR29Ve.js +0 -1
  364. package/dist/stylus-CdDBOxWC.js +0 -1
  365. package/dist/svelte-DyEd0oQk.js +0 -1
  366. package/dist/swift-BxhiGBjX.js +0 -1
  367. package/dist/system-verilog-CetQnQ4g.js +0 -1
  368. package/dist/systemd-BnD0vcw3.js +0 -1
  369. package/dist/tasl-DVvrvOfd.js +0 -1
  370. package/dist/tcl-DLSUI_zn.js +0 -1
  371. package/dist/templ-DSz21pzx.js +0 -1
  372. package/dist/terraform-EK_dQKQM.js +0 -1
  373. package/dist/tex-BM4Fklib.js +0 -1
  374. package/dist/toml-kuUrbkod.js +0 -1
  375. package/dist/ts-tags-By7dzkmj.js +0 -1
  376. package/dist/tslib.es6-DlLz3CkS.js +0 -1
  377. package/dist/tsv-BCJoRl62.js +0 -1
  378. package/dist/tsx-BjuLHzrJ.js +0 -1
  379. package/dist/turtle-CufS_WpN.js +0 -1
  380. package/dist/twig-JhO6NGAT.js +0 -1
  381. package/dist/txt-C4POgh3W.js +0 -1
  382. package/dist/typescript-B1VYfqvp.js +0 -1
  383. package/dist/typespec-CZzVsQ68.js +0 -1
  384. package/dist/typst-DLkGCZHs.js +0 -1
  385. package/dist/v-DNo0Cbkd.js +0 -1
  386. package/dist/vala-J9aWDLgT.js +0 -1
  387. package/dist/vb-CukbP-ad.js +0 -1
  388. package/dist/verilog-C7Ns4wPb.js +0 -1
  389. package/dist/vhdl-D94Lw1Fr.js +0 -1
  390. package/dist/viml-gaixGh_X.js +0 -1
  391. package/dist/vue-BX9d0W3t.js +0 -1
  392. package/dist/vue-html-CPRiJ8jH.js +0 -1
  393. package/dist/vyper-Ckj8wEzF.js +0 -1
  394. package/dist/wasm-BIwf60De.js +0 -1
  395. package/dist/wenyan-8NGlujRm.js +0 -1
  396. package/dist/wgsl-BcYJIOdN.js +0 -1
  397. package/dist/wikitext-B892rECa.js +0 -1
  398. package/dist/wolfram-CsrnIKPa.js +0 -1
  399. package/dist/xml-bnQL-E2F.js +0 -1
  400. package/dist/xsl-n4ZnN1T3.js +0 -1
  401. package/dist/yaml-8btRgevg.js +0 -1
  402. package/dist/zenscript-C4tShGxI.js +0 -1
  403. package/dist/zig-YA915rBO.js +0 -1
  404. package/src/coder/CodeCopy/CodeCopy.style.tsx +0 -21
  405. package/src/coder/CodeSample/CodeSample.styles.tsx +0 -137
package/dist/brand.d.ts CHANGED
@@ -9,17 +9,17 @@ declare function Button({ children, kind }: ButtonProps): React.JSX.Element;
9
9
  interface CTABannerProps {
10
10
  children: React.ReactNode;
11
11
  }
12
- declare function CTABanner({ children }: CTABannerProps): React.JSX.Element;
13
- declare namespace CTABanner {
14
- var Heading: ({ title, subtitle, headingEffect }: CTABannerHeadingProps) => React.JSX.Element;
15
- var ButtonGroup: ({ children }: {
16
- children: any;
17
- }) => React.JSX.Element;
18
- }
19
12
  interface CTABannerHeadingProps {
20
13
  title: string;
21
- subtitle: string | React.ReactNode;
22
- headingEffect?: boolean;
14
+ subtitle: string;
15
+ }
16
+ interface CTABannerButtonGroupProps {
17
+ children: React.ReactNode;
18
+ }
19
+ declare function CTABanner({ children }: CTABannerProps): React.JSX.Element;
20
+ declare namespace CTABanner {
21
+ var Heading: ({ title, subtitle }: CTABannerHeadingProps) => React.JSX.Element;
22
+ var ButtonGroup: ({ children }: CTABannerButtonGroupProps) => React.JSX.Element;
23
23
  }
24
24
 
25
25
  interface FooterProps {
@@ -27,4 +27,5 @@ interface FooterProps {
27
27
  }
28
28
  declare function Footer({ children }: FooterProps): React.JSX.Element;
29
29
 
30
- export { Button, type ButtonProps, CTABanner, type CTABannerHeadingProps, type CTABannerProps, Footer, type FooterProps };
30
+ export { Button, CTABanner, Footer };
31
+ export type { ButtonProps, CTABannerHeadingProps, CTABannerProps, FooterProps };
package/dist/brand.js CHANGED
@@ -1 +1,2 @@
1
- export{B as Button,C as CTABanner}from"./CTABanner-hV6NH0Xf.js";import{R as e}from"./index-BE4Aq8NU.js";var a="h1vf00q",r="c1ny3ybl",t="t1ahtzu3";function n(n){var s=n.children;return e.createElement("footer",{className:a},e.createElement("div",{className:r},e.createElement("div",{className:t},s)))}export{n as Footer};
1
+ export{B as Button,C as CTABanner}from"./CTABanner-n3vc4xW5.js";import e from"react";function o(o){var n=o.children;return e.createElement("footer",{className:"XydComponents-Component-brand-Footer__FooterHost"},e.createElement("div",{className:"XydComponents-Component-brand-Footer__FooterContainer"},e.createElement("div",{className:"XydComponents-Component-brand-Footer__FooterTextContainer"},n)))}export{o as Footer};
2
+ //# sourceMappingURL=brand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brand.js","sources":["../src/brand/Footer/Footer.tsx","../src/brand/Footer/Footer.styles.tsx"],"sourcesContent":["import React from \"react\";\nimport * as cn from \"./Footer.styles\";\n\nexport interface FooterProps {\n children?: React.ReactNode\n}\n\nexport function Footer({children}: FooterProps) {\n return <footer className={cn.FooterHost}>\n <div className={cn.FooterContainer}>\n <div className={cn.FooterTextContainer}>\n {children}\n </div>\n </div>\n </footer>\n}\n","import {css} from \"@linaria/core\";\n\nexport const FooterHost = css`\n position: relative;\n border-top: 1px solid #f0f0f0;\n padding: 32px;\n background-color: #fff;\n`;\n\nexport const FooterContainer = css`\n margin: 0 auto;\n max-width: 1200px;\n text-align: center;\n`;\n\nexport const FooterTextContainer = css`\n line-height: 24px;\n font-size: 14px;\n font-weight: 500;\n color: rgba(60, 60, 67, .78);\n`; "],"names":["Footer","_ref","children","React","createElement","className"],"mappings":"qFAOgB,SAAAA,EAAMC,GAAwB,IAAtBC,EAAQD,EAARC,SACpB,OAAOC,EAAQC,cAAA,SAAA,CAAAC,UCDlB,oDDEOF,EAAAC,cAAA,MAAA,CAAKC,UCIZ,yDDHWF,EAAKC,cAAA,MAAA,CAAAC,UCUhB,6DDTgBH,IAIjB"}
@@ -0,0 +1,5 @@
1
+ import { Theme } from '@code-hike/lighter';
2
+
3
+ declare const _default: Theme;
4
+
5
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ var e={name:"cosmo-light",type:"light",colors:{"list.focusForeground":"#FFFFFF","scrollbar.shadow":"#ffffff00","tab.activeBorder":"#ffffff","widget.shadow":"#ffffff00","activityBar.border":"#D9D7D5","editorGroup.border":"#D9D7D5","editorGroupHeader.tabsBorder":"#D9D7D5","editorWidget.border":"#D9D7D5","editorWidget.resizeBorder":"#D9D7D5","input.border":"#D9D7D5","notificationCenter.border":"#D9D7D5","notifications.border":"#D9D7D5","panel.border":"#D9D7D5","sideBar.border":"#D9D7D5","statusBar.border":"#D9D7D5","tab.border":"#D9D7D5","activityBar.background":"#ECECEC","statusBar.background":"#ECECEC","statusBar.noFolderBackground":"#ECECEC","statusBar.debuggingBackground":"#ECECEC","editorGroupHeader.tabsBackground":"#F5F5F5","editorWidget.background":"#F5F5F5","sideBar.background":"#F5F5F5","sideBarSectionHeader.background":"#F5F5F5","tab.inactiveBackground":"#F5F5F5","activityBarBadge.background":"#282828","activityBar.foreground":"#282828","statusBar.foreground":"#565456","input.placeholderForeground":"#C7C6C5","editorLineNumber.foreground":"#A6A6A6","editorLineNumber.activeForeground":"#282828",foreground:"#282828","panelTitle.activeForeground":"#282828","sideBarTitle.foreground":"#282828","sideBarSectionHeader.foreground":"#282828","panelTitle.inactiveForeground":"#242424","tab.inactiveForeground":"#242424","list.highlightForeground":"#242424","editor.lineHighlightBackground":"#EEF5FE",focusBorder:"#82ADF3","button.background":"#3C93FD","list.activeSelectionBackground":"#3C93FD","list.focusBackground":"#3C93FD","selection.background":"#B3D7FF","list.inactiveSelectionBackground":"#CECECE","terminal.ansiBlack":"#000000","terminal.ansiBrightBlack":"#000000","terminal.ansiRed":"#C41A16","terminal.ansiBrightRed":"#C41A16","terminal.ansiGreen":"#007400","terminal.ansiBrightGreen":"#007400","terminal.ansiYellow":"#643820","terminal.ansiBrightYellow":"#643820","terminal.ansiBlue":"#272AD8","terminal.ansiBrightBlue":"#272AD8","terminal.ansiMagenta":"#AA0D91","terminal.ansiBrightMagenta":"#AA0D91","terminal.ansiCyan":"#3F6E74","terminal.ansiBrightCyan":"#3F6E74"},tokenColors:[{scope:"new.expr entity.name",settings:{foreground:"#713DA9"}},{name:"Comments",scope:["comment","comment storage.type"],settings:{foreground:"#536579",fontStyle:"italic"}},{name:"CSS",scope:["entity.other.attribute-name.pseudo-class.css","entity.other.attribute-name.pseudo-class.scss","entity.other.attribute-name.pseudo-element.css","entity.other.attribute-name.pseudo-element.scss","support.function.calc.css","support.function.calc.scss","support.type.property-name.css","support.type.property-name.scss","support.type.vendored.property-name.css","support.type.vendored.property-name.scss","meta.property-value.css support.constant","meta.property-value.scss support.constant","meta.property-value.css support.constant.property-value","meta.property-value.scss support.constant.property-value","support.function.transform.css","support.function.transform.scss"],settings:{foreground:"#AA0D91"}},{name:"Decorator",scope:["meta.decorator","meta.decorator punctuation.decorator","meta.decorator variable.other.readwrite","meta.decorator meta.function-call entity.name.function"],settings:{foreground:"#643820"}},{name:"Doctype",scope:["meta.tag.sgml.html"],settings:{foreground:"#A6A6A6"}},{name:"Functions",scope:["entity.name.function","support.function"],settings:{foreground:"#7051d4"}},{name:"Keys",scope:["meta.property-list meta.property-name","support.type.property-name","support.type.map.key","entity.name.tag.yaml"],settings:{foreground:"#7051d4"}},{name:"Keywords",scope:["keyword.control","keyword.declaration","keyword.expressions-and-types","keyword.operator.new","keyword.reserved","keyword.statement","storage.type","storage.modifier","constant.language","variable.language.super","variable.language.this","text.html entity.name.tag","meta.tag entity.name.tag","meta.tag support.class","string.regexp keyword.other"],settings:{foreground:"#AD3DA4",fontStyle:"bold"}},{name:"Operators",scope:["storage.type.function.arrow","meta.template.expression punctuation","punctuation.separator.key-value","meta.object-literal.key meta.brace.square","meta.template.expression keyword.operator","keyword.operator.or.regexp","keyword.operator.quantifier","punctuation.definition.group.regexp","punctuation.definition.character-class"],settings:{foreground:"#000000"}},{scope:["meta.tag entity.other.attribute-name","constant.character.escape.backslash"],settings:{foreground:"#816927"}},{name:"Numbers",scope:["constant.numeric","keyword.other.unit","constant.other.color"],settings:{foreground:"#272AD8"}},{name:"Strings",scope:["string","variable.parameter.url.scss","markup.heading.markdown","beginning.punctuation.definition.list.markdown","meta.template.expression meta.embedded punctuation.definition.string.begin","meta.template.expression meta.embedded punctuation.definition.string.end"],settings:{foreground:"#D12F1B"}},{name:"Types",scope:["meta.type","meta.return.type","entity.name.type","support.type.primitive"],settings:{foreground:"#713DA9"}},{scope:["meta.objectliteral variable.other.object","entity.name.type.module","entity.other.inherited-class","variable.scss","variable.other.bracket.shell","entity.name.function.scss"],settings:{foreground:"#3F6E74"}},{scope:["keyword.control.at-rule","meta.import variable.other.readwrite","meta.definition.variable variable.other.readwrite","meta.definition.variable variable.other.constant","meta.template.expression variable.other.readwrite","meta.template.expression variable.other.constant","support.constant.property-value"],settings:{foreground:"#000000"}},{scope:["variable.other.property","variable.other.object.property","support.variable.property"],settings:{foreground:"#713DA9"}}]};export{e as default};
2
+ //# sourceMappingURL=cosmo-light.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cosmo-light.js","sources":["../../../src/coder/themes/cosmo-light.ts"],"sourcesContent":["// from: https://marketplace.visualstudio.com/items?itemName=smockle.xcode-default-theme\n\nimport {Theme} from \"@code-hike/lighter\";\n\nexport default {\n name: \"cosmo-light\",\n type: \"light\",\n colors: {\n \"list.focusForeground\": \"#FFFFFF\",\n \"scrollbar.shadow\": \"#ffffff00\",\n \"tab.activeBorder\": \"#ffffff\",\n \"widget.shadow\": \"#ffffff00\",\n \"activityBar.border\": \"#D9D7D5\",\n \"editorGroup.border\": \"#D9D7D5\",\n \"editorGroupHeader.tabsBorder\": \"#D9D7D5\",\n \"editorWidget.border\": \"#D9D7D5\",\n \"editorWidget.resizeBorder\": \"#D9D7D5\",\n \"input.border\": \"#D9D7D5\",\n \"notificationCenter.border\": \"#D9D7D5\",\n \"notifications.border\": \"#D9D7D5\",\n \"panel.border\": \"#D9D7D5\",\n \"sideBar.border\": \"#D9D7D5\",\n \"statusBar.border\": \"#D9D7D5\",\n \"tab.border\": \"#D9D7D5\",\n \"activityBar.background\": \"#ECECEC\",\n \"statusBar.background\": \"#ECECEC\",\n \"statusBar.noFolderBackground\": \"#ECECEC\",\n \"statusBar.debuggingBackground\": \"#ECECEC\",\n \"editorGroupHeader.tabsBackground\": \"#F5F5F5\",\n \"editorWidget.background\": \"#F5F5F5\",\n \"sideBar.background\": \"#F5F5F5\",\n \"sideBarSectionHeader.background\": \"#F5F5F5\",\n \"tab.inactiveBackground\": \"#F5F5F5\",\n \"activityBarBadge.background\": \"#282828\",\n \"activityBar.foreground\": \"#282828\",\n \"statusBar.foreground\": \"#565456\",\n \"input.placeholderForeground\": \"#C7C6C5\",\n \"editorLineNumber.foreground\": \"#A6A6A6\",\n \"editorLineNumber.activeForeground\": \"#282828\",\n foreground: \"#282828\",\n \"panelTitle.activeForeground\": \"#282828\",\n \"sideBarTitle.foreground\": \"#282828\",\n \"sideBarSectionHeader.foreground\": \"#282828\",\n \"panelTitle.inactiveForeground\": \"#242424\",\n \"tab.inactiveForeground\": \"#242424\",\n \"list.highlightForeground\": \"#242424\",\n \"editor.lineHighlightBackground\": \"#EEF5FE\",\n focusBorder: \"#82ADF3\",\n \"button.background\": \"#3C93FD\",\n \"list.activeSelectionBackground\": \"#3C93FD\",\n \"list.focusBackground\": \"#3C93FD\",\n \"selection.background\": \"#B3D7FF\",\n \"list.inactiveSelectionBackground\": \"#CECECE\",\n \"terminal.ansiBlack\": \"#000000\",\n \"terminal.ansiBrightBlack\": \"#000000\",\n \"terminal.ansiRed\": \"#C41A16\",\n \"terminal.ansiBrightRed\": \"#C41A16\",\n \"terminal.ansiGreen\": \"#007400\",\n \"terminal.ansiBrightGreen\": \"#007400\",\n \"terminal.ansiYellow\": \"#643820\",\n \"terminal.ansiBrightYellow\": \"#643820\",\n \"terminal.ansiBlue\": \"#272AD8\",\n \"terminal.ansiBrightBlue\": \"#272AD8\",\n \"terminal.ansiMagenta\": \"#AA0D91\",\n \"terminal.ansiBrightMagenta\": \"#AA0D91\",\n \"terminal.ansiCyan\": \"#3F6E74\",\n \"terminal.ansiBrightCyan\": \"#3F6E74\",\n },\n tokenColors: [\n {\n scope: \"new.expr entity.name\",\n settings: {\n foreground: \"#713DA9\",\n },\n },\n {\n name: \"Comments\",\n scope: [\"comment\", \"comment storage.type\"],\n settings: {\n foreground: \"#536579\",\n fontStyle: \"italic\",\n },\n },\n {\n name: \"CSS\",\n scope: [\n \"entity.other.attribute-name.pseudo-class.css\",\n \"entity.other.attribute-name.pseudo-class.scss\",\n \"entity.other.attribute-name.pseudo-element.css\",\n \"entity.other.attribute-name.pseudo-element.scss\",\n \"support.function.calc.css\",\n \"support.function.calc.scss\",\n \"support.type.property-name.css\",\n \"support.type.property-name.scss\",\n \"support.type.vendored.property-name.css\",\n \"support.type.vendored.property-name.scss\",\n \"meta.property-value.css support.constant\",\n \"meta.property-value.scss support.constant\",\n \"meta.property-value.css support.constant.property-value\",\n \"meta.property-value.scss support.constant.property-value\",\n \"support.function.transform.css\",\n \"support.function.transform.scss\",\n ],\n settings: {\n foreground: \"#AA0D91\",\n },\n },\n {\n name: \"Decorator\",\n scope: [\n \"meta.decorator\",\n \"meta.decorator punctuation.decorator\",\n \"meta.decorator variable.other.readwrite\",\n \"meta.decorator meta.function-call entity.name.function\",\n ],\n settings: {\n foreground: \"#643820\",\n },\n },\n {\n name: \"Doctype\",\n scope: [\"meta.tag.sgml.html\"],\n settings: {\n foreground: \"#A6A6A6\",\n },\n },\n {\n name: \"Functions\",\n scope: [\"entity.name.function\", \"support.function\"],\n settings: {\n foreground: \"#7051d4\",\n },\n },\n {\n name: \"Keys\",\n scope: [\n \"meta.property-list meta.property-name\",\n \"support.type.property-name\",\n \"support.type.map.key\",\n \"entity.name.tag.yaml\",\n ],\n settings: {\n foreground: \"#7051d4\",\n },\n },\n {\n name: \"Keywords\",\n scope: [\n \"keyword.control\",\n \"keyword.declaration\",\n \"keyword.expressions-and-types\",\n \"keyword.operator.new\",\n \"keyword.reserved\",\n \"keyword.statement\",\n \"storage.type\",\n \"storage.modifier\",\n \"constant.language\",\n \"variable.language.super\",\n \"variable.language.this\",\n \"text.html entity.name.tag\",\n \"meta.tag entity.name.tag\",\n \"meta.tag support.class\",\n \"string.regexp keyword.other\",\n ],\n settings: {\n foreground: \"#AD3DA4\",\n fontStyle: \"bold\",\n },\n },\n {\n name: \"Operators\",\n scope: [\n \"storage.type.function.arrow\",\n \"meta.template.expression punctuation\",\n \"punctuation.separator.key-value\",\n \"meta.object-literal.key meta.brace.square\",\n \"meta.template.expression keyword.operator\",\n \"keyword.operator.or.regexp\",\n \"keyword.operator.quantifier\",\n \"punctuation.definition.group.regexp\",\n \"punctuation.definition.character-class\",\n ],\n settings: {\n foreground: \"#000000\",\n },\n },\n {\n scope: [\n \"meta.tag entity.other.attribute-name\",\n \"constant.character.escape.backslash\",\n ],\n settings: {\n foreground: \"#816927\",\n },\n },\n {\n name: \"Numbers\",\n scope: [\"constant.numeric\", \"keyword.other.unit\", \"constant.other.color\"],\n settings: {\n foreground: \"#272AD8\",\n },\n },\n {\n name: \"Strings\",\n scope: [\n \"string\",\n \"variable.parameter.url.scss\",\n \"markup.heading.markdown\",\n \"beginning.punctuation.definition.list.markdown\",\n \"meta.template.expression meta.embedded punctuation.definition.string.begin\",\n \"meta.template.expression meta.embedded punctuation.definition.string.end\",\n ],\n settings: {\n foreground: \"#D12F1B\",\n },\n },\n {\n name: \"Types\",\n scope: [\n \"meta.type\",\n \"meta.return.type\",\n \"entity.name.type\",\n \"support.type.primitive\",\n ],\n settings: {\n foreground: \"#713DA9\",\n },\n },\n {\n scope: [\n \"meta.objectliteral variable.other.object\",\n \"entity.name.type.module\",\n \"entity.other.inherited-class\",\n \"variable.scss\",\n \"variable.other.bracket.shell\",\n \"entity.name.function.scss\",\n ],\n settings: {\n foreground: \"#3F6E74\",\n },\n },\n {\n scope: [\n \"keyword.control.at-rule\",\n \"meta.import variable.other.readwrite\",\n \"meta.definition.variable variable.other.readwrite\",\n \"meta.definition.variable variable.other.constant\",\n \"meta.template.expression variable.other.readwrite\",\n \"meta.template.expression variable.other.constant\",\n \"support.constant.property-value\",\n ],\n settings: {\n foreground: \"#000000\",\n },\n },\n {\n scope: [\n \"variable.other.property\",\n \"variable.other.object.property\",\n \"support.variable.property\",\n ],\n settings: {\n foreground: \"#713DA9\",\n },\n },\n ],\n} as Theme"],"names":["defaultTheme","name","type","colors","foreground","focusBorder","tokenColors","scope","settings","fontStyle"],"mappings":"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"}
package/dist/coder.d.ts CHANGED
@@ -1,6 +1,19 @@
1
+ import { AnnotationHandler, HighlightedCode, RawCode } from 'codehike/code';
1
2
  import React from 'react';
3
+ import { Theme } from '@code-hike/lighter';
2
4
 
3
- interface MDXCodeSampleBlock {
5
+ declare const annotations: {
6
+ mark: AnnotationHandler;
7
+ bg: AnnotationHandler;
8
+ lineNumbers: AnnotationHandler;
9
+ };
10
+
11
+ interface CodeThemeProps {
12
+ codeblocks: CodeThemeBlockProps[];
13
+ children: React.ReactNode;
14
+ theme?: Theme;
15
+ }
16
+ interface CodeThemeBlockProps {
4
17
  /** This is the raw code. May include annotation comments. */
5
18
  value: string;
6
19
  /** The programming language. */
@@ -8,12 +21,48 @@ interface MDXCodeSampleBlock {
8
21
  /** Metadata string (the content after the language name in a markdown codeblock). */
9
22
  meta: string;
10
23
  }
24
+ declare function useCodeTheme(): any;
25
+ declare function CodeTheme(props: CodeThemeProps): React.JSX.Element;
26
+ declare function CodeThemeCSR(props: CodeThemeProps): React.JSX.Element;
27
+
28
+ interface CodeProps {
29
+ codeblocks: CodeThemeBlockProps[];
30
+ theme?: Theme;
31
+ children: React.ReactNode;
32
+ }
33
+ declare function Code(props: CodeProps): React.JSX.Element;
34
+ declare namespace Code {
35
+ var LineNumber: (props: any) => React.JSX.Element | null;
36
+ var Mark: (props: any) => React.JSX.Element;
37
+ var Bg: (props: any) => React.JSX.Element;
38
+ var Pre: (props: {
39
+ codeblock: HighlightedCode;
40
+ size?: "full";
41
+ handlers: AnnotationHandler[];
42
+ className?: string;
43
+ }) => React.JSX.Element;
44
+ }
45
+
46
+ declare function CodeLoader(): React.JSX.Element;
47
+
48
+ declare function highlight(data: RawCode, theme: Theme, lang: string): HighlightedCode;
49
+
11
50
  interface CodeSampleProps {
12
51
  name: string;
13
52
  description: string;
14
- codeblocks: MDXCodeSampleBlock[];
53
+ codeblocks: CodeThemeBlockProps[];
15
54
  size?: "full";
55
+ kind?: "secondary";
56
+ theme?: Theme;
16
57
  }
17
58
  declare function CodeSample(props: CodeSampleProps): React.JSX.Element;
18
59
 
19
- export { CodeSample, type CodeSampleProps };
60
+ interface CodeTabsProps {
61
+ description: string;
62
+ highlighted: HighlightedCode[];
63
+ size?: "full";
64
+ }
65
+ declare function withCodeTabs(PreComponent: any): (props: CodeTabsProps) => React.JSX.Element;
66
+
67
+ export { Code, CodeLoader, CodeSample, CodeTheme, CodeThemeCSR, annotations, highlight, useCodeTheme, withCodeTabs };
68
+ export type { CodeProps, CodeSampleProps, CodeTabsProps, CodeThemeBlockProps, CodeThemeProps };
package/dist/coder.js CHANGED
@@ -1 +1,2 @@
1
- export{C as CodeSample}from"./CodeSample-D1QMQt89.js";import"./index-BE4Aq8NU.js";import"./tslib.es6-B1gizQU6.js";import"@radix-ui/react-tabs";import"lucide-react";
1
+ export{C as Code,b as CodeLoader,c as CodeSample,d as CodeTheme,e as CodeThemeCSR,a as annotations,u as useCodeTheme,w as withCodeTabs}from"./CodeSample-Dkob5gWa.js";import{_ as n,a as t}from"./_rollupPluginBabelHelpers-C8nLsqZ7.js";import{_ as o}from"./tslib.es6-BI9zka_a.js";import{LANG_NAMES as r,highlightSync as s}from"@code-hike/lighter";import"react";import"./coder/themes/cosmo-light.js";import"@radix-ui/react-tabs";import"lucide-react";function i(e){return"string"==typeof e}function l(e,a,l){r.includes(l)||(console.warn('Unknown language "'.concat(l,'"')),l="txt");var u=s(e.value,l,a,{annotations:[],scopes:!1}),c=u.lines,h=u.lang,p=u.style,f=function(e){var t=[];return e.forEach((function(r,s){if("lines"in r)throw new Error("Shouldnt be groups");var a=function(e){return e.map((function(e){if("tokens"in e)throw new Error("Shouldnt be groups");var n=[e.content],t=e.style||{},r=t.color,s=o(t,["color"]);return n.push(r),Object.keys(s).length&&n.push(s),n}))}(r.tokens);t.push.apply(t,n(a)),s<e.length-1&&t.push("\n")})),t}(c),d=function(e){var o=[];return e.forEach((function(e){if(i(e))o.push(e);else{var r=function(e){var n=e.trim(),t=e.slice(0,e.indexOf(n)),o=e.slice(e.indexOf(n)+n.length);return[t,n,o]}(e[0]),s=t(r,3),a=s[0],l=s[1],u=s[2];if((null==a?void 0:a.length)&&o.push(a),l.length){var c=n(e);c[0]=l,o.push(c)}(null==u?void 0:u.length)&&o.push(u)}})),o}(f),m=function(e){var n=[];return e.forEach((function(e){if(i(e)){var t=n[n.length-1];t&&i(t)?n[n.length-1]+=e:""!==e&&n.push(e)}else e[0].length>0&&n.push(e)})),n}(d);return Object.assign(Object.assign({},e),{code:e.value,tokens:m,lang:h,annotations:[],themeName:"string"==typeof a?a:(null==a?void 0:a.name)||"unknown",style:p})}export{l as highlight};
2
+ //# sourceMappingURL=coder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coder.js","sources":["../src/coder/Code/highlight.ts"],"sourcesContent":["import {\n type CodeAnnotation,\n type RawCode,\n type HighlightedCode,\n type Token\n} from 'codehike/code';\nimport {\n type Lines,\n type Tokens,\n highlightSync as lighter,\n LANG_NAMES,\n type Theme\n} from '@code-hike/lighter';\n\ntype Whitespace = string\n\ntype AnyToken = Token | Whitespace\n\nfunction isWhitespace(token: Token | Whitespace): token is Whitespace {\n return typeof token === 'string';\n}\n\nexport function highlight(\n data: RawCode,\n theme: Theme,\n lang: string\n): HighlightedCode {\n if (!LANG_NAMES.includes(lang)) {\n console.warn(`Unknown language \"${lang}\"`);\n lang = 'txt';\n }\n\n const {\n lines,\n lang: lighterLang,\n style\n } = lighter(data.value, lang, theme as any, {\n annotations: [],\n scopes: false // true for better token transitions, but breaks css themes\n });\n\n const tokens = joinLines(lines);\n // split surrounding whitespace for each token\n const splitTokens = splitWhitespace(tokens);\n // join consecutive whitespace tokens\n const joinedTokens = joinWhitespace(splitTokens);\n\n return {\n ...data,\n code: data.value,\n tokens: joinedTokens,\n lang: lighterLang,\n annotations: [], // TODO: in the future\n // annotations: compatAnnotations(annotations),\n themeName: typeof theme === 'string' ? theme : theme?.name || 'unknown',\n style\n };\n}\n\nfunction compatAnnotations(annotations: any[]): CodeAnnotation[] {\n const newAnnotations: CodeAnnotation[] = [];\n for (const a of annotations) {\n const {name, query, ranges} = a;\n for (const r of ranges) {\n if (r.lineNumber) {\n const {lineNumber, fromColumn, toColumn} = r;\n newAnnotations.push({\n name,\n query,\n lineNumber,\n fromColumn,\n toColumn\n });\n } else {\n const {fromLineNumber, toLineNumber} = r;\n newAnnotations.push({\n name,\n query,\n fromLineNumber,\n toLineNumber\n });\n }\n }\n }\n return newAnnotations;\n}\n\n// group the Lines into one array\nfunction joinLines(lines: Lines): AnyToken[] {\n const joinedTokens: AnyToken[] = [];\n lines.forEach((lineOrGroup, i) => {\n if ('lines' in lineOrGroup) {\n throw new Error('Shouldnt be groups');\n } else {\n const tokens = joinTokens(lineOrGroup.tokens);\n joinedTokens.push(...tokens);\n if (i < lines.length - 1) {\n joinedTokens.push('\\n');\n }\n }\n });\n return joinedTokens;\n}\n\nfunction joinTokens(tokens: Tokens): AnyToken[] {\n return tokens.map((tokenOrGroup) => {\n if ('tokens' in tokenOrGroup) {\n throw new Error('Shouldnt be groups');\n } else {\n const t = [tokenOrGroup.content] as Token;\n const {color, ...rest} = tokenOrGroup.style || {};\n t.push(color);\n if (Object.keys(rest).length) {\n t.push(rest);\n }\n return t;\n }\n });\n}\n\nfunction splitWhitespace(tokens: AnyToken[]) {\n const ejected: AnyToken[] = [];\n tokens.forEach((tokenOrGroup) => {\n if (isWhitespace(tokenOrGroup)) {\n ejected.push(tokenOrGroup);\n } else {\n const [before, content, after] = splitSurroundingWhitespace(\n tokenOrGroup[0]\n );\n if (before?.length) {\n ejected.push(before);\n }\n if (content.length) {\n const copy = [...tokenOrGroup] as Token;\n copy[0] = content;\n ejected.push(copy);\n }\n if (after?.length) {\n ejected.push(after);\n }\n }\n });\n return ejected;\n}\n\nfunction joinWhitespace(tokens: AnyToken[]) {\n const joinedTokens: AnyToken[] = [];\n tokens.forEach((tokenOrGroup) => {\n if (isWhitespace(tokenOrGroup)) {\n let last = joinedTokens[joinedTokens.length - 1];\n if (last && isWhitespace(last)) {\n joinedTokens[joinedTokens.length - 1] += tokenOrGroup;\n } else if (tokenOrGroup !== '') {\n joinedTokens.push(tokenOrGroup);\n }\n } else if (tokenOrGroup[0].length > 0) {\n joinedTokens.push(tokenOrGroup);\n }\n });\n return joinedTokens;\n}\n\n// splits \" \\t foo bar \\n\" into [\" \\t \",\"foo bar\",\" \\n\"]\n// \"foo bar\" -> [\"\",\"foo bar\",\"\"]\nfunction splitSurroundingWhitespace(content: string) {\n const trimmed = content.trim();\n const before = content.slice(0, content.indexOf(trimmed));\n const after = content.slice(content.indexOf(trimmed) + trimmed.length);\n return [before, trimmed, after];\n}"],"names":["isWhitespace","token","highlight","data","theme","lang","LANG_NAMES","includes","console","warn","concat","_lighter","lighter","value","annotations","scopes","lines","lighterLang","style","tokens","joinedTokens","forEach","lineOrGroup","i","Error","map","tokenOrGroup","t","content","_a","color","rest","__rest","push","Object","keys","length","joinTokens","apply","_toConsumableArray","joinLines","splitTokens","ejected","_splitSurroundingWhit","trimmed","trim","before","slice","indexOf","after","splitSurroundingWhitespace","_splitSurroundingWhit2","_slicedToArray","copy","splitWhitespace","last","joinWhitespace","assign","code","themeName","name"],"mappings":"8bAkBA,SAASA,EAAaC,GAClB,MAAwB,iBAAVA,CAClB,UAEgBC,EACZC,EACAC,EACAC,GAEKC,EAAWC,SAASF,KACrBG,QAAQC,KAAI,qBAAAC,OAAsBL,QAClCA,EAAO,OAGX,IAAAM,EAIIC,EAAQT,EAAKU,MAAOR,EAAMD,EAAc,CACxCU,YAAa,GACbC,QAAQ,IALRC,EAAKL,EAALK,MACMC,EAAWN,EAAjBN,KACAa,EAAKP,EAALO,MAMEC,EA+CV,SAAmBH,GACf,IAAMI,EAA2B,GAYjC,OAXAJ,EAAMK,SAAQ,SAACC,EAAaC,GACxB,GAAI,UAAWD,EACX,MAAM,IAAIE,MAAM,sBAEhB,IAAML,EAUlB,SAAoBA,GAChB,OAAOA,EAAOM,KAAI,SAACC,GACf,GAAI,WAAYA,EACZ,MAAM,IAAIF,MAAM,sBAEhB,IAAMG,EAAI,CAACD,EAAaE,SAClBC,EAAmBH,EAAaR,OAAS,CAAE,EAA1CY,IAAAA,MAAUC,EAAXC,EAAAH,EAAA,CAAA,UAKN,OAJAF,EAAEM,KAAKH,GACHI,OAAOC,KAAKJ,GAAMK,QAClBT,EAAEM,KAAKF,GAEJJ,CAEf,GACJ,CAxB2BU,CAAWf,EAAYH,QACtCC,EAAaa,KAAIK,MAAjBlB,EAAYmB,EAASpB,IACjBI,EAAIP,EAAMoB,OAAS,GACnBhB,EAAaa,KAAK,KAG9B,IACOb,CACX,CA7DmBoB,CAAUxB,GAEnByB,EA6EV,SAAyBtB,GACrB,IAAMuB,EAAsB,GAqB5B,OApBAvB,EAAOE,SAAQ,SAACK,GACZ,GAAI1B,EAAa0B,GACbgB,EAAQT,KAAKP,OACV,CACH,IAAAiB,EAsCZ,SAAoCf,GAChC,IAAMgB,EAAUhB,EAAQiB,OAClBC,EAASlB,EAAQmB,MAAM,EAAGnB,EAAQoB,QAAQJ,IAC1CK,EAAQrB,EAAQmB,MAAMnB,EAAQoB,QAAQJ,GAAWA,EAAQR,QAC/D,MAAO,CAACU,EAAQF,EAASK,EAC7B,CA3C6CC,CAC7BxB,EAAa,IAChByB,EAAAC,EAAAT,EAAA,GAFMG,EAAMK,EAAA,GAAEvB,EAAOuB,EAAA,GAAEF,EAAKE,EAAA,GAM7B,IAHIL,aAAM,EAANA,EAAQV,SACRM,EAAQT,KAAKa,GAEblB,EAAQQ,OAAQ,CAChB,IAAMiB,EAAId,EAAOb,GACjB2B,EAAK,GAAKzB,EACVc,EAAQT,KAAKoB,EACjB,EACIJ,aAAK,EAALA,EAAOb,SACPM,EAAQT,KAAKgB,EAErB,CACJ,IACOP,CACX,CApGwBY,CAAgBnC,GAE9BC,EAoGV,SAAwBD,GACpB,IAAMC,EAA2B,GAajC,OAZAD,EAAOE,SAAQ,SAACK,GACZ,GAAI1B,EAAa0B,GAAe,CAC5B,IAAI6B,EAAOnC,EAAaA,EAAagB,OAAS,GAC1CmB,GAAQvD,EAAauD,GACrBnC,EAAaA,EAAagB,OAAS,IAAMV,EACjB,KAAjBA,GACPN,EAAaa,KAAKP,EAEzB,MAAUA,EAAa,GAAGU,OAAS,GAChChB,EAAaa,KAAKP,EAE1B,IACON,CACX,CAnHyBoC,CAAef,GAEpC,OAAAP,OAAAuB,OAAAvB,OAAAuB,OAAA,CAAA,EACOtD,GACH,CAAAuD,KAAMvD,EAAKU,MACXM,OAAQC,EACRf,KAAMY,EACNH,YAAa,GAEb6C,UAA4B,iBAAVvD,EAAqBA,GAAQA,aAAK,EAALA,EAAOwD,OAAQ,UAC9D1C,MAAAA,GAER"}
package/dist/content.d.ts CHANGED
@@ -1,11 +1,48 @@
1
1
  import React from 'react';
2
+ import { Theme } from '@code-hike/lighter';
2
3
 
3
- interface BadgeProps {
4
+ interface TableV2Props {
5
+ children: React.ReactNode;
6
+ className?: string;
7
+ }
8
+ declare function TableV2({ children, className }: TableV2Props): React.JSX.Element;
9
+ declare namespace TableV2 {
10
+ var Head: ({ children }: TableHeadProps) => React.JSX.Element;
11
+ var Th: ({ children, numeric }: TableThProps) => React.JSX.Element;
12
+ var Tr: ({ children }: TableTrProps) => React.JSX.Element;
13
+ var Td: ({ children, numeric, muted }: TableTdProps) => React.JSX.Element;
14
+ var Cell: ({ children }: TableCellProps) => React.JSX.Element;
15
+ var ModelCell: ({ children }: TableModelCellProps) => React.JSX.Element;
16
+ }
17
+ interface TableHeadProps {
18
+ children: React.ReactNode;
19
+ }
20
+ interface TableThProps {
21
+ children: React.ReactNode;
22
+ numeric?: boolean;
23
+ }
24
+ interface TableTrProps {
25
+ children: React.ReactNode;
26
+ }
27
+ interface TableTdProps {
28
+ children: React.ReactNode;
29
+ numeric?: boolean;
30
+ muted?: boolean;
31
+ }
32
+ interface TableCellProps {
33
+ children: React.ReactNode;
34
+ }
35
+ interface TableModelCellProps {
4
36
  children: React.ReactNode;
37
+ }
38
+
39
+ interface BadgeProps {
40
+ className?: string;
41
+ children?: React.ReactNode;
5
42
  size?: "sm";
6
- kind?: "warning";
43
+ kind?: "warning" | "info";
7
44
  }
8
- declare function Badge({ children, size, kind }: BadgeProps): React.JSX.Element;
45
+ declare function Badge({ className, children, size, kind }: BadgeProps): React.JSX.Element;
9
46
 
10
47
  interface BlockquoteProps {
11
48
  children: React.ReactNode;
@@ -25,15 +62,20 @@ declare function Code({ children }: CodeProps): React.JSX.Element;
25
62
  interface BaseDetailsProps {
26
63
  children: React.ReactNode;
27
64
  label: string;
65
+ icon?: React.ReactElement;
66
+ }
67
+ interface TertiaryDetailsProps extends BaseDetailsProps {
68
+ kind: "tertiary";
69
+ title: string | React.ReactNode;
28
70
  }
29
71
  interface SecondaryDetailsProps extends BaseDetailsProps {
30
72
  kind: "secondary";
31
- title: string;
73
+ title: string | React.ReactNode;
32
74
  }
33
75
  interface PrimaryDetailsProps extends BaseDetailsProps {
34
76
  kind?: "primary";
35
77
  }
36
- type DetailsProps = PrimaryDetailsProps | SecondaryDetailsProps;
78
+ type DetailsProps = PrimaryDetailsProps | SecondaryDetailsProps | TertiaryDetailsProps;
37
79
  declare function Details(props: DetailsProps): React.JSX.Element;
38
80
 
39
81
  interface GuideCardProps {
@@ -61,6 +103,18 @@ declare function IconMetrics(): React.JSX.Element;
61
103
  declare function IconFunnels(): React.JSX.Element;
62
104
  declare function IconCode(): React.JSX.Element;
63
105
  declare function IconCustomEvent(): React.JSX.Element;
106
+ declare function IconAlert(): React.JSX.Element;
107
+ declare function IconBrowser(): React.JSX.Element;
108
+ declare function IconREST(): React.JSX.Element;
109
+ declare function IconGraphQL(): React.JSX.Element;
110
+ declare function IconWebhooks(): React.JSX.Element;
111
+ declare function IconJSBrowser(): React.JSX.Element;
112
+ declare function IconJSNode(): React.JSX.Element;
113
+ declare function IconStorybook(): React.JSX.Element;
114
+ declare function IconReactRouter(): React.JSX.Element;
115
+ declare function IconNextJS(): React.JSX.Element;
116
+ declare function IconAppTemplate(): React.JSX.Element;
117
+ declare function IconQuote(): React.JSX.Element;
64
118
 
65
119
  interface StepsProps {
66
120
  children: React.ReactNode;
@@ -73,25 +127,6 @@ interface StepsItemProps {
73
127
  children: React.ReactNode;
74
128
  }
75
129
 
76
- interface TableProps {
77
- children: React.ReactNode;
78
- }
79
- declare function Table({ children }: TableProps): React.JSX.Element;
80
- declare namespace Table {
81
- var Th: ({ children }: TableThProps) => React.JSX.Element;
82
- var Tr: ({ children }: TableTrProps) => React.JSX.Element;
83
- var Td: ({ children }: TableTdProps) => React.JSX.Element;
84
- }
85
- interface TableThProps {
86
- children: React.ReactNode;
87
- }
88
- interface TableTrProps {
89
- children: React.ReactNode;
90
- }
91
- interface TableTdProps {
92
- children: React.ReactNode;
93
- }
94
-
95
130
  interface TabsProps {
96
131
  children: React.ReactNode;
97
132
  items: string[];
@@ -105,7 +140,7 @@ declare namespace Tabs {
105
140
  }) => React.JSX.Element;
106
141
  }
107
142
 
108
- interface MDXCodeSampleBlock {
143
+ interface CodeThemeBlockProps {
109
144
  /** This is the raw code. May include annotation comments. */
110
145
  value: string;
111
146
  /** The programming language. */
@@ -113,11 +148,14 @@ interface MDXCodeSampleBlock {
113
148
  /** Metadata string (the content after the language name in a markdown codeblock). */
114
149
  meta: string;
115
150
  }
151
+
116
152
  interface CodeSampleProps {
117
153
  name: string;
118
154
  description: string;
119
- codeblocks: MDXCodeSampleBlock[];
155
+ codeblocks: CodeThemeBlockProps[];
120
156
  size?: "full";
157
+ kind?: "secondary";
158
+ theme?: Theme;
121
159
  }
122
160
  declare function CodeSample(props: CodeSampleProps): React.JSX.Element;
123
161
 
@@ -132,12 +170,25 @@ interface SubtitleProps {
132
170
  declare function Subtitle({ children }: SubtitleProps): React.JSX.Element;
133
171
 
134
172
  declare function content(): {
173
+ DirectiveCodeSample: (props: any) => React.JSX.Element;
135
174
  CodeSample: typeof CodeSample;
136
175
  IconSessionReplay: typeof IconSessionReplay;
137
176
  IconMetrics: typeof IconMetrics;
138
177
  IconFunnels: typeof IconFunnels;
139
178
  IconCode: typeof IconCode;
140
179
  IconCustomEvent: typeof IconCustomEvent;
180
+ IconAlert: typeof IconAlert;
181
+ IconBrowser: typeof IconBrowser;
182
+ IconREST: typeof IconREST;
183
+ IconGraphQL: typeof IconGraphQL;
184
+ IconWebhooks: typeof IconWebhooks;
185
+ IconJSBrowser: typeof IconJSBrowser;
186
+ IconJSNode: typeof IconJSNode;
187
+ IconStorybook: typeof IconStorybook;
188
+ IconReactRouter: typeof IconReactRouter;
189
+ IconNextJS: typeof IconNextJS;
190
+ IconAppTemplate: typeof IconAppTemplate;
191
+ IconQuote: typeof IconQuote;
141
192
  Content: typeof Content;
142
193
  Subtitle: typeof Subtitle;
143
194
  Callout: typeof Callout;
@@ -145,7 +196,7 @@ declare function content(): {
145
196
  GuideCard: typeof GuideCard;
146
197
  Steps: typeof Steps;
147
198
  Tabs: typeof Tabs;
148
- Table: typeof Table;
199
+ Table: typeof TableV2;
149
200
  Badge: typeof Badge;
150
201
  h1: (props: any) => React.JSX.Element;
151
202
  h2: (props: any) => React.JSX.Element;
@@ -157,10 +208,10 @@ declare function content(): {
157
208
  ul: (props: any) => React.JSX.Element;
158
209
  ol: (props: any) => React.JSX.Element;
159
210
  li: (props: any) => React.JSX.Element;
160
- table: typeof Table;
211
+ table: typeof TableV2;
161
212
  tr: ({ children }: TableTrProps) => React.JSX.Element;
162
- th: ({ children }: TableThProps) => React.JSX.Element;
163
- td: ({ children }: TableTdProps) => React.JSX.Element;
213
+ th: ({ children, numeric }: TableThProps) => React.JSX.Element;
214
+ td: (props: any) => React.JSX.Element;
164
215
  code: typeof Code;
165
216
  pre: (props: any) => React.JSX.Element;
166
217
  details: typeof Details;
@@ -169,7 +220,7 @@ declare function content(): {
169
220
  a: ({ href, className, ...props }: {
170
221
  [x: string]: any;
171
222
  href?: string | undefined;
172
- className: any;
223
+ className?: string | undefined;
173
224
  }) => React.JSX.Element;
174
225
  };
175
226
  declare function stdContent(): {
@@ -183,10 +234,10 @@ declare function stdContent(): {
183
234
  ul: (props: any) => React.JSX.Element;
184
235
  ol: (props: any) => React.JSX.Element;
185
236
  li: (props: any) => React.JSX.Element;
186
- table: typeof Table;
237
+ table: typeof TableV2;
187
238
  tr: ({ children }: TableTrProps) => React.JSX.Element;
188
- th: ({ children }: TableThProps) => React.JSX.Element;
189
- td: ({ children }: TableTdProps) => React.JSX.Element;
239
+ th: ({ children, numeric }: TableThProps) => React.JSX.Element;
240
+ td: (props: any) => React.JSX.Element;
190
241
  code: typeof Code;
191
242
  pre: (props: any) => React.JSX.Element;
192
243
  details: typeof Details;
@@ -195,7 +246,7 @@ declare function stdContent(): {
195
246
  a: ({ href, className, ...props }: {
196
247
  [x: string]: any;
197
248
  href?: string | undefined;
198
- className: any;
249
+ className?: string | undefined;
199
250
  }) => React.JSX.Element;
200
251
  };
201
252
  declare function writerContent(): {
@@ -204,9 +255,12 @@ declare function writerContent(): {
204
255
  GuideCard: typeof GuideCard;
205
256
  Steps: typeof Steps;
206
257
  Tabs: typeof Tabs;
207
- Table: typeof Table;
258
+ Table: typeof TableV2;
208
259
  Badge: typeof Badge;
209
260
  };
261
+ declare function directiveContent(): {
262
+ DirectiveCodeSample: (props: any) => React.JSX.Element;
263
+ };
210
264
  declare function helperContent(): {
211
265
  Content: typeof Content;
212
266
  Subtitle: typeof Subtitle;
@@ -217,9 +271,21 @@ declare function iconContent(): {
217
271
  IconFunnels: typeof IconFunnels;
218
272
  IconCode: typeof IconCode;
219
273
  IconCustomEvent: typeof IconCustomEvent;
274
+ IconAlert: typeof IconAlert;
275
+ IconBrowser: typeof IconBrowser;
276
+ IconREST: typeof IconREST;
277
+ IconGraphQL: typeof IconGraphQL;
278
+ IconWebhooks: typeof IconWebhooks;
279
+ IconJSBrowser: typeof IconJSBrowser;
280
+ IconJSNode: typeof IconJSNode;
281
+ IconStorybook: typeof IconStorybook;
282
+ IconReactRouter: typeof IconReactRouter;
283
+ IconNextJS: typeof IconNextJS;
284
+ IconAppTemplate: typeof IconAppTemplate;
285
+ IconQuote: typeof IconQuote;
220
286
  };
221
287
  declare function coderContent(): {
222
288
  CodeSample: typeof CodeSample;
223
289
  };
224
290
 
225
- export { content as MDX, coderContent, content as default, helperContent, iconContent, stdContent, writerContent };
291
+ export { content as MDX, coderContent, content as default, directiveContent, helperContent, iconContent, stdContent, writerContent };
package/dist/content.js CHANGED
@@ -1 +1,2 @@
1
- import{_ as e}from"./tslib.es6-B1gizQU6.js";import{R as n,r as t}from"./index-BE4Aq8NU.js";import{H as r,C as i,D as a,B as l,a as s,b as c,c as o,I as u,d,e as m,f,g as v}from"./index-DMAgLttD.js";import"@radix-ui/react-icons";import{T as h,G as b,S as p,a as E}from"./UnderlineNav-DGzjCvkM.js";import{C as g}from"./CodeSample-D1QMQt89.js";import"@radix-ui/react-tabs";import"lucide-react";var j="h1seqss5";function O(e){var t=e.children;return n.createElement("div",{className:j},t)}var C="hmi9h9e";function N(e){var t=e.children;return n.createElement("div",{className:C},t)}var x="htyux6",z=t.forwardRef((function(e,t){var r=e.href,i=void 0===r?"":r,a=e.children;return e.newWindow?n.createElement("a",{ref:t,to:i,href:i,target:"_blank",rel:"noreferrer",className:x},a):n.createElement("a",{ref:t,to:i,href:i,className:x},a)}));z.displayName="Anchor";var I=/https?:\/\//,S=function(t){var r=t.href,i=void 0===r?"":r;t.className;var a=e(t,["href","className"]);return n.createElement(z,Object.assign({href:i,newWindow:I.test(i)},a))};function T(){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},w()),R()),k()),y()),D())}function w(){return{h1:function(e){return n.createElement("div",null,n.createElement(r,Object.assign({id:e.children},e)))},h2:function(e){return n.createElement("div",null,n.createElement(r,Object.assign({id:e.children,size:2},e)))},h3:function(e){return n.createElement("div",null,n.createElement(r,Object.assign({id:e.children,size:3},e)))},h4:function(e){return n.createElement("div",null,n.createElement(r,Object.assign({id:e.children,size:4},e)))},h5:function(e){return n.createElement("div",null,n.createElement(r,Object.assign({id:e.children,size:5},e)))},h6:function(e){return n.createElement("div",null,n.createElement(r,Object.assign({id:e.children,size:6},e)))},p:function(e){return n.createElement("p",Object.assign({},e))},ul:function(e){return n.createElement("ul",Object.assign({},e),e.children)},ol:function(e){return n.createElement("ol",Object.assign({},e),e.children)},li:function(e){return n.createElement("li",Object.assign({},e),e.children)},table:h,tr:h.Tr,th:h.Th,td:h.Td,code:i,pre:function(e){var t,r,i,a,l,s,c=((null===(r=null===(t=null==e?void 0:e.children)||void 0===t?void 0:t.props)||void 0===r?void 0:r.className)||"").replace("language-","");return n.createElement(g,{name:c,description:null===(a=null===(i=null==e?void 0:e.children)||void 0===i?void 0:i.props)||void 0===a?void 0:a.meta,codeblocks:[{value:null===(s=null===(l=null==e?void 0:e.children)||void 0===l?void 0:l.props)||void 0===s?void 0:s.children,lang:c,meta:c}],size:"full"})},details:a,blockquote:l,hr:s,a:S}}function R(){return{Callout:c,Details:a,GuideCard:b,Steps:p,Tabs:E,Table:h,Badge:o}}function k(){return{Content:O,Subtitle:N}}function y(){return{IconSessionReplay:u,IconMetrics:d,IconFunnels:m,IconCode:f,IconCustomEvent:v}}function D(){return{CodeSample:g}}export{T as MDX,D as coderContent,T as default,k as helperContent,y as iconContent,w as stdContent,R as writerContent};
1
+ import{_ as e}from"./tslib.es6-BI9zka_a.js";import n,{forwardRef as t}from"react";import{c as r,a,D as o,b as c,H as i,B as s,C as l,s as u,r as d,q as m,p,o as h,n as f,m as b,l as v,k as g,j as E,i as j,h as O,g as C,f as I,e as S,d as N,I as _}from"./index-YH6Q3iH2.js";import"@radix-ui/react-icons";import{a as k,b as y,S as T,G as w}from"./UnderlineNav-9lJPvnIp.js";import{c as z}from"./CodeSample-Dkob5gWa.js";import"@code-hike/lighter";import"@radix-ui/react-tabs";import"lucide-react";import"./_rollupPluginBabelHelpers-C8nLsqZ7.js";import"./coder/themes/cosmo-light.js";function x(e){var t=e.children;return n.createElement("div",{className:"XydComponents-Component-content-Content__ContentHost"},t)}function A(e){var t=e.children;return n.createElement("div",{className:"XydComponents-Component-content-Subtitle-Subtitle_styles_ts__Host"},t)}var B="XydComponents-Component-content-Anchor__AnchorHost",H=t((function(e,t){var r=e.href,a=void 0===r?"":r,o=e.children;return e.newWindow?n.createElement("a",{ref:t,href:a,target:"_blank",rel:"noreferrer",className:B},o):n.createElement("a",{ref:t,href:a,className:B},o)}));H.displayName="Anchor";var D=/https?:\/\//,J=function(t){var r=t.href,a=void 0===r?"":r;t.className;var o=e(t,["href","className"]);return n.createElement(H,Object.assign({href:a,newWindow:D.test(a)},o))};function R(){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},X()),G()),q()),M()),Q()),W())}function X(){return{h1:function(e){return n.createElement("div",null,n.createElement(i,Object.assign({id:e.children},e)))},h2:function(e){return n.createElement("div",null,n.createElement(i,Object.assign({id:e.children,size:2},e)))},h3:function(e){return n.createElement("div",null,n.createElement(i,Object.assign({id:e.children,size:3},e)))},h4:function(e){return n.createElement("div",null,n.createElement(i,Object.assign({id:e.children,size:4},e)))},h5:function(e){return n.createElement("div",null,n.createElement(i,Object.assign({id:e.children,size:5},e)))},h6:function(e){return n.createElement("div",null,n.createElement(i,Object.assign({id:e.children,size:6},e)))},p:function(e){return n.createElement("p",Object.assign({},e))},ul:function(e){return n.createElement("ul",Object.assign({},e),e.children)},ol:function(e){return n.createElement("ol",Object.assign({},e),e.children)},li:function(e){return n.createElement("li",Object.assign({},e),e.children)},table:k,tr:k.Tr,th:k.Th,td:function(e){return n.createElement(k.Td,Object.assign({},e),n.createElement(k.Cell,null,e.children))},code:c,pre:function(e){var t,r,a,o,c,i,s=((null===(r=null===(t=null==e?void 0:e.children)||void 0===t?void 0:t.props)||void 0===r?void 0:r.className)||"").replace("language-","");return n.createElement(z,{name:s,description:null===(o=null===(a=null==e?void 0:e.children)||void 0===a?void 0:a.props)||void 0===o?void 0:o.meta,codeblocks:[{value:null===(i=null===(c=null==e?void 0:e.children)||void 0===c?void 0:c.props)||void 0===i?void 0:i.children,lang:s,meta:s}],size:"full"})},details:o,blockquote:a,hr:r,a:J}}function G(){return{Callout:l,Details:o,GuideCard:w,Steps:T,Tabs:y,Table:k,Badge:s}}function W(){return{DirectiveCodeSample:function(e){return n.createElement(z,Object.assign({},e,{codeblocks:JSON.parse(e.codeblocks)}))}}}function q(){return{Content:x,Subtitle:A}}function M(){return{IconSessionReplay:_,IconMetrics:N,IconFunnels:S,IconCode:I,IconCustomEvent:C,IconAlert:O,IconBrowser:j,IconREST:E,IconGraphQL:g,IconWebhooks:v,IconJSBrowser:b,IconJSNode:f,IconStorybook:h,IconReactRouter:p,IconNextJS:m,IconAppTemplate:d,IconQuote:u}}function Q(){return{CodeSample:z}}export{R as MDX,Q as coderContent,R as default,W as directiveContent,q as helperContent,M as iconContent,X as stdContent,G as writerContent};
2
+ //# sourceMappingURL=content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content.js","sources":["../src/content/Content/Content.tsx","../src/content/Content/Content.styles.tsx","../src/content/Subtitle/Subtitle.tsx","../src/content/Subtitle/Subtitle.styles.ts","../src/content/Anchor/Anchor.styles.tsx","../src/content/Anchor/Anchor.tsx","../src/content/Content.tsx"],"sourcesContent":["import React from \"react\"\nimport * as cn from \"./Content.styles\";\n\nexport interface ContentProps {\n children: React.ReactNode\n}\n\nexport function Content({children}: ContentProps) {\n return <div className={cn.ContentHost}>\n {children}\n </div>\n}\n\n","import {css} from \"@linaria/core\";\n\nexport const ContentHost = css`\n display: flex;\n flex-direction: column;\n gap: 24px;\n font-size: 16px;\n line-height: 1.5;\n`; ","import React from \"react\"\nimport * as cn from \"./Subtitle.styles\";\n\nexport interface SubtitleProps {\n children: React.ReactNode\n}\n\nexport function Subtitle({children}: SubtitleProps) {\n return <div className={cn.Host}>\n {children}\n </div>\n}","import {css} from \"@linaria/core\";\n\nexport const Host = css`\n margin-top: -18px;\n font-size: 18px;\n color: #6e6e80;\n font-weight: 300;\n`; ","import {css} from \"@linaria/core\";\n\nexport const AnchorHost = css`\n color: #7051d4;\n`; ","import React, {forwardRef} from 'react'\nimport type {ComponentProps, ReactElement} from 'react'\nimport * as cn from \"./Anchor.styles\";\n\nexport type AnchorProps = Omit<ComponentProps<'a'>, 'ref'> & {\n newWindow?: boolean\n}\n\n// TODO: where react-router?\n\nexport const Anchor = forwardRef<HTMLAnchorElement, AnchorProps>(function (\n {href = '', children, newWindow},\n // ref is used in <NavbarMenu />\n forwardedRef\n): ReactElement {\n if (newWindow) {\n return (\n <a\n ref={forwardedRef}\n href={href}\n target=\"_blank\"\n rel=\"noreferrer\"\n className={cn.AnchorHost}\n >\n {children}\n </a>\n )\n }\n\n if (!href) {\n return (\n <a\n ref={forwardedRef}\n href={href}\n className={cn.AnchorHost}\n >\n {children}\n </a>\n )\n }\n\n return (\n <a\n ref={forwardedRef}\n href={href}\n className={cn.AnchorHost}\n >\n {children}\n </a>\n )\n})\n\nAnchor.displayName = 'Anchor'\n","import React from 'react'\n\nimport {\n Badge,\n Blockquote,\n Callout,\n Code,\n Details,\n GuideCard,\n Heading,\n Hr,\n Table,\n TableV2,\n Tabs,\n Steps,\n\n IconCode,\n IconCustomEvent,\n IconFunnels,\n IconMetrics,\n IconSessionReplay,\n IconAlert,\n IconBrowser,\n IconREST,\n IconGraphQL,\n IconWebhooks,\n IconJSBrowser,\n IconJSNode,\n IconStorybook,\n IconReactRouter,\n IconNextJS,\n IconAppTemplate,\n IconQuote\n} from '../writer'\nimport {CodeSample} from \"../coder\";\n\nimport {Content as ContentComponent} from \"./Content/index\";\nimport {Subtitle} from \"./Subtitle\";\nimport {Anchor} from \"./Anchor\";\n\nconst EXTERNAL_HREF_REGEX = /https?:\\/\\//\n\nconst Link = ({href = '', className = \"\", ...props}) => (\n <Anchor\n href={href}\n newWindow={EXTERNAL_HREF_REGEX.test(href)}\n {...props}\n />\n)\n\n// TODO: options?\nexport default function content() {\n return {\n ...stdContent(),\n ...writerContent(),\n ...helperContent(),\n ...iconContent(),\n ...coderContent(),\n ...directiveContent(),\n }\n}\n\nexport function stdContent() {\n return {\n h1: (props) => <div><Heading id={props.children} {...props}/></div>,\n h2: props => <div><Heading id={props.children} size={2} {...props} /></div>,\n h3: props => <div><Heading id={props.children} size={3} {...props} /></div>,\n h4: props => <div><Heading id={props.children} size={4} {...props} /></div>,\n h5: props => <div><Heading id={props.children} size={5} {...props} /></div>,\n h6: props => <div><Heading id={props.children} size={6} {...props} /></div>,\n p: props => <p {...props} />,\n\n ul: props => (\n <ul{...props}>\n {props.children}\n </ul>\n ),\n ol: props => (\n <ol{...props}\n >\n {props.children}\n </ol>\n ),\n li: props => <li {...props} >\n {props.children}\n </li>,\n\n table: TableV2,\n tr: TableV2.Tr,\n th: TableV2.Th,\n td: (props) => <TableV2.Td {...props}>\n <TableV2.Cell>\n {props.children}\n </TableV2.Cell>\n </TableV2.Td>,\n\n code: Code,\n pre: props => {\n const lang = (props?.children?.props?.className || \"\").replace(\"language-\", \"\") // TODO: better solution\n\n return <CodeSample\n name={lang}\n description={props?.children?.props?.meta}\n codeblocks={[\n {\n value: props?.children?.props?.children,\n lang: lang,\n meta: lang,\n }\n ]}\n size=\"full\" // TODO: in the future configurable\n />\n },\n details: Details,\n blockquote: Blockquote,\n\n hr: Hr,\n a: Link,\n }\n}\n\nexport function writerContent() {\n return {\n Callout,\n Details,\n GuideCard,\n Steps,\n Tabs,\n Table: TableV2,\n Badge,\n }\n}\n\nexport function directiveContent() {\n return {\n // TODO: deprecate?\n DirectiveCodeSample: (props) => {\n return <CodeSample\n {...props}\n codeblocks={JSON.parse(props.codeblocks)}\n />\n }\n }\n}\n\nexport function helperContent() {\n return {\n Content: ContentComponent,\n Subtitle\n }\n}\n\nexport function iconContent() {\n return {\n IconSessionReplay,\n IconMetrics,\n IconFunnels,\n IconCode,\n IconCustomEvent,\n IconAlert,\n IconBrowser,\n IconREST,\n IconGraphQL,\n IconWebhooks,\n IconJSBrowser,\n IconJSNode,\n IconStorybook,\n IconReactRouter,\n IconNextJS,\n IconAppTemplate,\n IconQuote,\n }\n}\n\nexport function coderContent() {\n return {\n CodeSample,\n }\n}\n"],"names":["Content","_ref","children","React","createElement","className","Subtitle","AnchorHost","Anchor","forwardRef","forwardedRef","_ref$href","href","newWindow","ref","target","rel","cn","displayName","EXTERNAL_HREF_REGEX","Link","_a","_a$href","props","__rest","Object","assign","test","content","stdContent","writerContent","helperContent","iconContent","coderContent","directiveContent","h1","Heading","id","h2","size","h3","h4","h5","h6","p","ul","ol","li","table","TableV2","tr","Tr","th","Th","td","Td","Cell","code","Code","pre","lang","_b","replace","CodeSample","name","description","_d","_c","meta","codeblocks","value","_f","_e","details","Details","blockquote","Blockquote","hr","Hr","a","Callout","GuideCard","Steps","Tabs","Table","Badge","DirectiveCodeSample","JSON","parse","ContentComponent","IconSessionReplay","IconMetrics","IconFunnels","IconCode","IconCustomEvent","IconAlert","IconBrowser","IconREST","IconGraphQL","IconWebhooks","IconJSBrowser","IconJSNode","IconStorybook","IconReactRouter","IconNextJS","IconAppTemplate","IconQuote"],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ import e,{useRef as t}from"react";function n(t){var n=t.className,l=t.children,a=t.size,r=void 0===a?"sm":a,o=t.kind,i=void 0===o?"warning":o;return e.createElement("div",{className:"\n ".concat("XydComponents-Component-writer-Badge__BadgeHost","\n \n ").concat("sm"===r&&"XydComponents-Component-writer-Badge__BadgeHostSm","\n \n ").concat("warning"===i&&"XydComponents-Component-writer-Badge__BadgeHostWarning","\n \n ").concat("info"===i&&"XydComponents-Component-writer-Badge__BadgeHostInfo","\n \n ").concat(n||"","\n ")},e.createElement("span",{className:"XydComponents-Component-writer-Badge__BadgeItem"},l))}function l(t){var n=t.children;return e.createElement("blockquote",{className:"XydComponents-Component-writer-Blockquote__BlockquoteHost"},n)}function a(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 24 24"},e.createElement("path",{d:"M13 12a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0v-4Zm-1-2.5A1.25 1.25 0 1 0 12 7a1.25 1.25 0 0 0 0 2.5Z"}),e.createElement("path",{fillRule:"evenodd",d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z",clipRule:"evenodd"}))}function r(t){var n=t.children;return e.createElement("div",{className:"".concat("XydComponents-Component-writer-Callout__CalloutHost"," ").concat("XydComponents-Component-writer-Callout__CalloutNeutral")},e.createElement("div",{className:"XydComponents-Component-writer-Callout__CalloutIcon"},e.createElement(a,null)),e.createElement("div",{className:"XydComponents-Component-writer-Callout__CalloutMessage"},e.createElement("div",{className:"XydComponents-Component-writer-Callout__CalloutMessageBody"},n)))}function o(t){var n=t.children;return e.createElement("code",{className:"XydComponents-Component-writer-Code__CodeHost"},n)}function i(t){var n,l=t.children,a=t.label,r=["secondary","tertiary"].includes(t.kind||"");r&&"title"in t&&(n=t.title);var o=t.kind||"primary";return e.createElement("details",{className:"\n ".concat("XydComponents-Component-writer-Details__DetailsHost"," \n ").concat(r&&"XydComponents-Component-writer-Details__DetailsHostSecondary","\n ")},e.createElement("summary",{className:"\n ".concat("XydComponents-Component-writer-Details__DetailsSummary"," \n ").concat(r&&"XydComponents-Component-writer-Details__DetailsSummarySecondary","\n ").concat("tertiary"===o?"XydComponents-Component-writer-Details__DetailsSummaryTertiary":"","\n ")},"primary"===o&&e.createElement(e.Fragment,null,t.icon||e.createElement(c,null),e.createElement(m,null,a)),r&&e.createElement("div",null,e.createElement("div",{className:"XydComponents-Component-writer-Details__DetailsSummaryDeep"},t.icon||e.createElement(s,null),e.createElement("div",{className:"\n ".concat("XydComponents-Component-writer-Details__DetailsSummaryDeepText","\n ").concat("XydComponents-Component-writer-Details__DetailsSummaryDeepTextTertiary","\n ")},n)),e.createElement(m,null,a)),r&&e.createElement(c,null)),e.createElement("div",{className:"\n ".concat("XydComponents-Component-writer-Details__DetailsContent","\n ").concat(r&&"XydComponents-Component-writer-Details__DetailsContentSecondary","\n ").concat("tertiary"===o&&"XydComponents-Component-writer-Details__DetailsContentTertiary","\n ")},l))}function c(){return e.createElement("div",{className:"XydComponents-Component-writer-Details__DetailsIcon"},e.createElement("svg",{"data-icon":"true",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 24 24"},e.createElement("path",{fillRule:"evenodd",d:"M8.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L14.586 12 8.293 5.707a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})))}function s(){return e.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",stroke:"none",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_1689_2180)"},e.createElement("path",{d:"M4.3 4.3L7.1 7.1M10.6 5.7V1.5M14.8 7.8L17.6 5M5.7 11.3H1.5M7.1 14.8L4.3 17.6M15.5 22.5L9.9 9.9L22.5 14.8L16.9 16.2L15.5 22.5Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_1689_2180"},e.createElement("rect",{width:24,height:24,fill:"white"}))))}function m(t){var n=t.children;return e.createElement("div",{className:"XydComponents-Component-writer-Details__DetailsLabel"},n)}function d(n){var l=n.children,a=n.size,r=void 0===a?1:a,o=n.as,i=n.id,c=n.onClick,s=o||"h".concat(r);return t(null),e.createElement(s,{className:"\n ".concat("XydComponents-Component-writer-Heading__HeadingHost","\n ").concat(1===r&&"XydComponents-Component-writer-Heading__HeadingH1","\n ").concat(2===r&&"XydComponents-Component-writer-Heading__HeadingH2","\n ").concat(3===r&&"XydComponents-Component-writer-Heading__HeadingH3","\n ").concat(4===r&&"XydComponents-Component-writer-Heading__HeadingH4","\n ").concat(5===r&&"XydComponents-Component-writer-Heading__HeadingH5","\n ").concat(6===r&&"XydComponents-Component-writer-Heading__HeadingH6","\n xyd_comp-comp-heading\n "),onClick:c},l,i&&e.createElement(h,null))}function h(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:15,fill:"currentColor",viewBox:"0 0 24 24",className:"XydComponents-Component-writer-Heading__HeadingLink",role:"presentation"},e.createElement("path",{fillRule:"evenodd",d:"M18.293 5.707a4.657 4.657 0 0 0-6.586 0l-1 1a1 1 0 1 1-1.414-1.414l1-1a6.657 6.657 0 1 1 9.414 9.414l-1 1a1 1 0 0 1-1.414-1.414l1-1a4.657 4.657 0 0 0 0-6.586Zm-2.586 2.586a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 0Zm-9 1a1 1 0 0 1 0 1.414l-1 1a4.657 4.657 0 0 0 6.586 6.586l1-1a1 1 0 0 1 1.414 1.414l-1 1a6.657 6.657 0 1 1-9.414-9.414l1-1a1 1 0 0 1 1.414 0Z",clipRule:"evenodd"}))}function C(t){var n=t.children;return e.createElement("hr",{className:"XydComponents-Component-writer-Hr__HrHost"},n)}function w(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M10 8L16 12L10 16V8Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function p(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M21 7L13.2273 14.9167L9.13636 10.75L3 17",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M16 7H21V12",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function u(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12 20L12 10",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6 20L6 4",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M18 20L18 16",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function g(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:24,height:24},e.createElement("path",{fillRule:"evenodd",d:"M14.447 7.106a1 1 0 0 1 .447 1.341l-4 8a1 1 0 1 1-1.788-.894l4-8a1 1 0 0 1 1.341-.447ZM6.6 7.2a1 1 0 0 1 .2 1.4L4.25 12l2.55 3.4a1 1 0 0 1-1.6 1.2l-3-4a1 1 0 0 1 0-1.2l3-4a1 1 0 0 1 1.4-.2Zm10.8 0a1 1 0 0 1 1.4.2l3 4a1 1 0 0 1 0 1.2l-3 4a1 1 0 0 1-1.6-1.2l2.55-3.4-2.55-3.4a1 1 0 0 1 .2-1.4Z",clipRule:"evenodd"}))}function v(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M3.66179 8.03142L6.54954 1.79004C6.63136 1.6132 6.80847 1.5 7.00333 1.5H10.7236C11.0872 1.5 11.3292 1.87581 11.1788 2.20685L9.18871 6.58625C9.03827 6.9173 9.28029 7.2931 9.64391 7.2931L11.589 7.2931C12.0146 7.2931 12.2456 7.79098 11.9708 8.11596L6.77738 14.2573C6.4593 14.6334 5.84636 14.3715 5.89839 13.8816L6.3857 9.2942C6.41708 8.99882 6.18554 8.74138 5.8885 8.74138H4.11558C3.75048 8.74138 3.50848 8.36278 3.66179 8.03142Z",stroke:"black",strokeWidth:1.2,strokeLinejoin:"round"}))}function k(){return e.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M18 8C18 6.4087 17.3679 4.88258 16.2426 3.75736C15.1174 2.63214 13.5913 2 12 2C10.4087 2 8.88258 2.63214 7.75736 3.75736C6.63214 4.88258 6 6.4087 6 8C6 15 3 17 3 17H21C21 17 18 15 18 8Z",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M13.73 21C13.5542 21.3031 13.3019 21.5547 12.9982 21.7295C12.6946 21.9044 12.3504 21.9965 12 21.9965C11.6496 21.9965 11.3054 21.9044 11.0018 21.7295C10.6982 21.5547 10.4458 21.3031 10.27 21",stroke:"black",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function E(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M22 9H2M2 7.8L2 16.2C2 17.8802 2 18.7202 2.32698 19.362C2.6146 19.9265 3.07354 20.3854 3.63803 20.673C4.27976 21 5.11984 21 6.8 21H17.2C18.8802 21 19.7202 21 20.362 20.673C20.9265 20.3854 21.3854 19.9265 21.673 19.362C22 18.7202 22 17.8802 22 16.2V7.8C22 6.11984 22 5.27977 21.673 4.63803C21.3854 4.07354 20.9265 3.6146 20.362 3.32698C19.7202 3 18.8802 3 17.2 3L6.8 3C5.11984 3 4.27976 3 3.63803 3.32698C3.07354 3.6146 2.6146 4.07354 2.32698 4.63803C2 5.27976 2 6.11984 2 7.8Z",stroke:"#000000",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))}function _(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 16 16",fill:"none"},e.createElement("path",{fill:"#000000",fillRule:"evenodd",d:"M.5 2.75a2.25 2.25 0 114.28.97l1.345 1.344.284-.284a2.25 2.25 0 013.182 0l.284.284 1.344-1.344a2.25 2.25 0 111.06 1.06l-1.343 1.345.284.284a2.25 2.25 0 010 3.182l-.284.284 1.344 1.344a2.25 2.25 0 11-1.06 1.06l-1.345-1.343-.284.284a2.25 2.25 0 01-3.182 0l-.284-.284-1.344 1.344a2.25 2.25 0 11-1.06-1.06l1.343-1.345-.284-.284a2.25 2.25 0 010-3.182l.284-.284L3.72 4.781A2.25 2.25 0 01.5 2.75zM2.75 2a.75.75 0 100 1.5.75.75 0 000-1.5zm0 10.5a.75.75 0 100 1.5.75.75 0 000-1.5zm9.75.75a.75.75 0 111.5 0 .75.75 0 01-1.5 0zM13.25 2a.75.75 0 100 1.5.75.75 0 000-1.5zM7.47 5.841a.75.75 0 011.06 0L10.16 7.47a.75.75 0 010 1.06L8.53 10.16a.75.75 0 01-1.06 0L5.84 8.53a.75.75 0 010-1.06L7.47 5.84z",clipRule:"evenodd"}))}function q(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#000",width:24,height:24,viewBox:"0 0 32 32"},e.createElement("path",{d:"M18.734 3.667l6.578 3.802c1.089-1.146 2.901-1.193 4.047-0.104 0.193 0.188 0.365 0.401 0.5 0.635 0.786 1.37 0.313 3.12-1.063 3.906-0.229 0.13-0.479 0.234-0.745 0.297v7.599c1.531 0.365 2.474 1.896 2.109 3.427-0.063 0.271-0.172 0.531-0.307 0.771-0.792 1.365-2.536 1.833-3.906 1.042-0.26-0.146-0.5-0.344-0.698-0.568l-6.542 3.776c0.495 1.495-0.318 3.109-1.813 3.604-0.292 0.099-0.594 0.146-0.896 0.146-1.573 0-2.854-1.271-2.854-2.849 0-0.271 0.042-0.547 0.12-0.813l-6.583-3.797c-1.089 1.141-2.896 1.188-4.036 0.094-1.135-1.089-1.177-2.891-0.094-4.031 0.38-0.396 0.865-0.677 1.396-0.807v-7.599c-1.531-0.365-2.479-1.906-2.109-3.443 0.063-0.266 0.167-0.521 0.302-0.755 0.786-1.365 2.536-1.833 3.901-1.042 0.234 0.135 0.453 0.302 0.641 0.5l6.583-3.797c-0.448-1.51 0.417-3.099 1.922-3.542 0.26-0.083 0.536-0.12 0.813-0.12 1.573 0 2.854 1.271 2.854 2.844 0 0.281-0.042 0.557-0.12 0.823zM18.047 4.839c-0.026 0.026-0.047 0.052-0.078 0.078l8.615 14.917c0.036-0.010 0.078-0.021 0.109-0.031v-7.609c-1.526-0.375-2.453-1.922-2.073-3.448 0.005-0.031 0.016-0.068 0.021-0.099zM14.026 4.917l-0.078-0.078-6.594 3.802c0.438 1.51-0.438 3.089-1.948 3.526-0.036 0.010-0.068 0.016-0.104 0.026v7.609l0.115 0.031 8.615-14.917zM16.797 5.594c-0.521 0.146-1.073 0.146-1.589 0l-8.615 14.917c0.391 0.375 0.667 0.859 0.802 1.391h17.214c0.13-0.531 0.406-1.016 0.802-1.396zM18.109 27.229l6.552-3.786c-0.021-0.063-0.036-0.125-0.052-0.188h-17.219l-0.031 0.109 6.589 3.802c0.516-0.536 1.245-0.87 2.052-0.87 0.839 0 1.589 0.359 2.109 0.932z"}))}function f(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:24,height:24,viewBox:"-10 -5 1034 1034"},e.createElement("path",{fill:"#000000",d:"M482 226h-1l-10 2q-33 4 -64.5 18.5t-55.5 38.5q-41 37 -57 91q-9 30 -8 63t12 63q17 45 52 78l13 12l-83 135q-26 -1 -45 7q-30 13 -45 40q-7 15 -9 31t2 32q8 30 33 48q15 10 33 14.5t36 2t34.5 -12.5t27.5 -25q12 -17 14.5 -39t-5.5 -41q-1 -5 -7 -14l-3 -6l118 -192 q6 -9 8 -14l-10 -3q-9 -2 -13 -4q-23 -10 -41.5 -27.5t-28.5 -39.5q-17 -36 -9 -75q4 -23 17 -43t31 -34q37 -27 82 -27q27 -1 52.5 9.5t44.5 30.5q17 16 26.5 38.5t10.5 45.5q0 17 -6 42l70 19l8 1q14 -43 7 -86q-4 -33 -19.5 -63.5t-39.5 -53.5q-42 -42 -103 -56 q-6 -2 -18 -4l-14 -2h-37zM500 350q-17 0 -34 7t-30.5 20.5t-19.5 31.5q-8 20 -4 44q3 18 14 34t28 25q24 15 56 13q3 4 5 8l112 191q3 6 6 9q27 -26 58.5 -35.5t65 -3.5t58.5 26q32 25 43.5 61.5t0.5 73.5q-8 28 -28.5 50t-48.5 33q-31 13 -66.5 8.5t-63.5 -24.5 q-4 -3 -13 -10l-5 -6q-4 3 -11 10l-47 46q23 23 52 38.5t61 21.5l22 4h39l28 -5q64 -13 110 -60q22 -22 36.5 -50.5t19.5 -59.5q5 -36 -2 -71.5t-25 -64.5t-44 -51t-57 -35q-34 -14 -70.5 -16t-71.5 7l-17 5l-81 -137q13 -19 16 -37q5 -32 -13 -60q-16 -25 -44 -35 q-17 -6 -35 -6zM218 614q-58 13 -100 53q-47 44 -61 105l-4 24v37l2 11q2 13 4 20q7 31 24.5 59t42.5 49q50 41 115 49q38 4 76 -4.5t70 -28.5q53 -34 78 -91q7 -17 14 -45q6 -1 18 0l125 2q14 0 20 1q11 20 25 31t31.5 16t35.5 4q28 -3 50 -20q27 -21 32 -54 q2 -17 -1.5 -33t-13.5 -30q-16 -22 -41 -32q-17 -7 -35.5 -6.5t-35.5 7.5q-28 12 -43 37l-3 6q-14 0 -42 -1l-113 -1q-15 -1 -43 -1l-50 -1l3 17q8 43 -13 81q-14 27 -40 45t-57 22q-35 6 -70 -7.5t-57 -42.5q-28 -35 -27 -79q1 -37 23 -69q13 -19 32 -32t41 -19l9 -3z"}))}function M(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",width:24,height:24},e.createElement("path",{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM243.8 381.4c0 43.6-25.6 63.5-62.9 63.5-33.7 0-53.2-17.4-63.2-38.5l34.3-20.7c6.6 11.7 12.6 21.6 27.1 21.6 13.8 0 22.6-5.4 22.6-26.5V237.7h42.1v143.7zm99.6 63.5c-39.1 0-64.4-18.6-76.7-43l34.3-19.8c9 14.7 20.8 25.6 41.5 25.6 17.4 0 28.6-8.7 28.6-20.8 0-14.4-11.4-19.5-30.7-28l-10.5-4.5c-30.4-12.9-50.5-29.2-50.5-63.5 0-31.6 24.1-55.6 61.6-55.6 26.8 0 46 9.3 59.8 33.7L368 290c-7.2-12.9-15-18-27.1-18-12.3 0-20.1 7.8-20.1 18 0 12.6 7.8 17.7 25.9 25.6l10.5 4.5c35.8 15.3 55.9 31 55.9 66.2 0 37.8-29.8 58.6-69.7 58.6z"}))}function L(){return e.createElement("svg",{width:24,height:24,xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 109 122.88"},e.createElement("defs",null,e.createElement("style",null,".cls-1{fill-rule:evenodd;}")),e.createElement("title",null,"node-js-black"),e.createElement("path",{className:"cls-1",d:"M68.43,87.08c-19.7,0-23.83-9-23.83-16.63a1.3,1.3,0,0,1,1.3-1.3h5.82A1.3,1.3,0,0,1,53,70.25c.88,5.93,3.49,8.92,15.41,8.92C77.9,79.17,81.93,77,81.93,72c0-2.9-1.15-5-15.89-6.49-12.33-1.22-20-3.93-20-13.8,0-9.08,7.66-14.49,20.5-14.49,14.42,0,21.56,5,22.46,15.76a1.31,1.31,0,0,1-.35,1,1.35,1.35,0,0,1-1,.42H81.9a1.29,1.29,0,0,1-1.26-1c-1.41-6.23-4.81-8.23-14.07-8.23C56.21,45.15,55,48.76,55,51.46c0,3.28,1.42,4.24,15.4,6.09S90.82,62,90.82,71.71,82.64,87.14,68.37,87.14l.06-.06Zm-13.91,35.8a9.45,9.45,0,0,1-4.72-1.26l-15-8.9c-2.25-1.26-1.15-1.7-.41-2a30.38,30.38,0,0,0,6.8-3.1,1.15,1.15,0,0,1,1.12.08l11.55,6.85a1.51,1.51,0,0,0,1.4,0l45-26a1.42,1.42,0,0,0,.69-1.22V35.43a1.44,1.44,0,0,0-.7-1.24l-45-26a1.38,1.38,0,0,0-1.39,0l-45,26a1.42,1.42,0,0,0-.71,1.23v52a1.39,1.39,0,0,0,.7,1.21l12.33,7.12C27.85,99.06,32,95.11,32,91.15V39.86a1.29,1.29,0,0,1,1.31-1.3H39a1.29,1.29,0,0,1,1.3,1.3V91.17c0,8.93-4.87,14-13.33,14-2.6,0-4.66,0-10.38-2.82L4.72,95.59A9.51,9.51,0,0,1,0,87.38v-52a9.47,9.47,0,0,1,4.72-8.21l45.07-26a9.89,9.89,0,0,1,9.47,0l45,26A9.49,9.49,0,0,1,109,35.43v52a9.54,9.54,0,0,1-4.72,8.21l-45,26a9.5,9.5,0,0,1-4.74,1.26v0Zm0,0Z"}))}function y(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"#000000",width:24,height:24,viewBox:"0 0 32 32"},e.createElement("path",{d:"M21.786 0.318l-0.161 3.615c-0.005 0.203 0.229 0.328 0.391 0.203l1.411-1.068 1.198 0.932c0.156 0.104 0.365 0 0.375-0.188l-0.135-3.677 1.776-0.135c0.922-0.063 1.708 0.672 1.708 1.599v28.802c0 0.917-0.766 1.646-1.682 1.599l-21.469-0.958c-0.833-0.036-1.505-0.708-1.531-1.547l-1-26.401c-0.052-0.885 0.62-1.646 1.505-1.693l17.599-1.109zM17.693 12.401c0 0.625 4.214 0.318 4.786-0.109 0-4.266-2.292-6.521-6.479-6.521-4.198 0-6.531 2.297-6.531 5.724 0 5.932 8 6.036 8 9.276 0 0.938-0.427 1.469-1.401 1.469-1.281 0-1.802-0.651-1.734-2.88 0-0.479-4.865-0.641-5.026 0-0.359 5.375 2.974 6.932 6.797 6.932 3.724 0 6.63-1.984 6.63-5.573 0-6.359-8.135-6.188-8.135-9.333 0-1.292 0.964-1.464 1.505-1.464 0.604 0 1.667 0.094 1.589 2.49z"}))}function H(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 602 360",fill:"none"},e.createElement("path",{d:"M480.96 180C480.96 196.572 474.239 211.572 463.357 222.42C452.475 233.28 437.445 240 420.84 240C404.235 240 389.205 246.708 378.335 257.568C367.453 268.428 360.72 283.428 360.72 300C360.72 316.572 353.999 331.572 343.117 342.42C332.235 353.28 317.205 360 300.6 360C283.995 360 268.965 353.28 258.095 342.42C247.213 331.572 240.48 316.572 240.48 300C240.48 283.428 247.213 268.428 258.095 257.568C268.965 246.708 283.995 240 300.6 240C317.205 240 332.235 233.28 343.117 222.42C353.999 211.572 360.72 196.572 360.72 180C360.72 146.856 333.81 120 300.6 120C283.995 120 268.965 113.28 258.095 102.42C247.213 91.572 240.48 76.572 240.48 60C240.48 43.428 247.213 28.428 258.095 17.568C268.965 6.708 283.995 0 300.6 0C333.81 0 360.72 26.856 360.72 60C360.72 76.572 367.453 91.572 378.335 102.42C389.205 113.28 404.235 120 420.84 120C454.05 120 480.96 146.856 480.96 180Z",fill:"#121212"}),e.createElement("path",{d:"M240.48 180C240.48 146.862 213.563 120 180.36 120C147.157 120 120.24 146.862 120.24 180C120.24 213.137 147.157 240 180.36 240C213.563 240 240.48 213.137 240.48 180Z",fill:"#121212"}),e.createElement("path",{d:"M120.24 300C120.24 266.863 93.3234 240 60.12 240C26.9166 240 0 266.863 0 300C0 333.138 26.9166 360 60.12 360C93.3234 360 120.24 333.138 120.24 300Z",fill:"#121212"}),e.createElement("path",{d:"M601.2 300C601.2 266.863 574.283 240 541.08 240C507.877 240 480.96 266.863 480.96 300C480.96 333.138 507.877 360 541.08 360C574.283 360 601.2 333.138 601.2 300Z",fill:"#121212"}))}function x(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 15 15",fill:"none"},e.createElement("path",{d:"M4.5 4.5L4.90534 4.20725C4.77836 4.03144 4.55252 3.95753 4.34617 4.02425C4.13981 4.09098 4 4.28313 4 4.5H4.5ZM7.5 14C3.91015 14 1 11.0899 1 7.5H0C0 11.6421 3.35786 15 7.5 15V14ZM14 7.5C14 11.0899 11.0899 14 7.5 14V15C11.6421 15 15 11.6421 15 7.5H14ZM7.5 1C11.0899 1 14 3.91015 14 7.5H15C15 3.35786 11.6421 0 7.5 0V1ZM7.5 0C3.35786 0 0 3.35786 0 7.5H1C1 3.91015 3.91015 1 7.5 1V0ZM5 12V4.5H4V12H5ZM4.09466 4.79275L10.5947 13.7927L11.4053 13.2073L4.90534 4.20725L4.09466 4.79275ZM10 4V10H11V4H10Z",fill:"#000000"}))}function B(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80 80",fill:"none"},e.createElement("g",{clipPath:"url(#clip0_202_147)"},e.createElement("path",{d:"M0 55.3333H80",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M0 40H80",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M0 24.6667H80",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M55.3334 80V0",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M40 80V0",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M24.6666 80V0",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M80 80L0 0",stroke:"black",strokeWidth:.506667}),e.createElement("path",{d:"M0 80L80 0",stroke:"black",strokeWidth:.506667}),e.createElement("rect",{x:5.33337,y:5.33333,width:69.3333,height:69.3333,stroke:"black",strokeWidth:.506667}),e.createElement("circle",{cx:40,cy:40,r:15.3333,stroke:"black",strokeWidth:.506667}),e.createElement("circle",{cx:40,cy:40,r:22,stroke:"black",strokeWidth:.506667}),e.createElement("circle",{cx:40,cy:40,r:34.6667,stroke:"black",strokeWidth:.506667})),e.createElement("rect",{x:.253333,y:.253333,width:79.4933,height:79.4933,rx:17.08,stroke:"black",strokeWidth:.506667}),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_202_147"},e.createElement("rect",{width:80,height:80,rx:17.3333,fill:"white"}))))}function X(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",stroke:"currentColor",fill:"currentColor"},e.createElement("path",{d:"M14 17h3l2-4V7h-6v6h3M6 17h3l2-4V7H5v6h3z"}))}export{n as B,r as C,i as D,d as H,w as I,l as a,o as b,C as c,p as d,u as e,g as f,v as g,k as h,E as i,_ as j,q as k,f as l,M as m,L as n,y as o,H as p,x as q,B as r,X as s};
2
+ //# sourceMappingURL=index-TkBHKzGT.js.map