@xyd-js/components 0.1.0-xyd.0 → 0.1.0-xyd.10
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.
- package/CHANGELOG.md +55 -0
- package/LICENSE +21 -0
- package/dist/CTABanner-4FVIoaTR.js +2 -0
- package/dist/CTABanner-4FVIoaTR.js.map +1 -0
- package/dist/CTABanner-BQx2SLf8.js +2 -0
- package/dist/CTABanner-BQx2SLf8.js.map +1 -0
- package/dist/CTABanner-C6afsXoE.js +2 -0
- package/dist/CTABanner-C6afsXoE.js.map +1 -0
- package/dist/CTABanner-CEKs-Hb-.js +2 -0
- package/dist/CTABanner-CEKs-Hb-.js.map +1 -0
- package/dist/CTABanner-CUNcTr6s.js +2 -0
- package/dist/CTABanner-CUNcTr6s.js.map +1 -0
- package/dist/CTABanner-D02aIAsD.js +2 -0
- package/dist/CTABanner-D02aIAsD.js.map +1 -0
- package/dist/CTABanner-Dm3tUG3I.js +2 -0
- package/dist/CTABanner-Dm3tUG3I.js.map +1 -0
- package/dist/CTABanner-MCOcVowa.js +2 -0
- package/dist/CTABanner-MCOcVowa.js.map +1 -0
- package/dist/CTABanner-X6K49gSr.js +2 -0
- package/dist/CTABanner-X6K49gSr.js.map +1 -0
- package/dist/CodeSample-B9VUhTKF.js +2 -0
- package/dist/CodeSample-B9VUhTKF.js.map +1 -0
- package/dist/CodeSample-BSXeFy0x.js +2 -0
- package/dist/CodeSample-BSXeFy0x.js.map +1 -0
- package/dist/CodeSample-BwP208sQ.js +2 -0
- package/dist/CodeSample-BwP208sQ.js.map +1 -0
- package/dist/CodeSample-CK-CQYrV.js +2 -0
- package/dist/CodeSample-CK-CQYrV.js.map +1 -0
- package/dist/CodeSample-CUemtj_W.js +2 -0
- package/dist/CodeSample-CUemtj_W.js.map +1 -0
- package/dist/CodeSample-D0iKih-A.js +2 -0
- package/dist/CodeSample-D0iKih-A.js.map +1 -0
- package/dist/CodeSample-D33vTa6M.js +2 -0
- package/dist/CodeSample-D33vTa6M.js.map +1 -0
- package/dist/CodeSample-DUSx2KBt.js +2 -0
- package/dist/CodeSample-DUSx2KBt.js.map +1 -0
- package/dist/CodeSample-P4yxkHPW.js +2 -0
- package/dist/CodeSample-P4yxkHPW.js.map +1 -0
- package/dist/HomeView-ACBdUgyz.js +2 -0
- package/dist/HomeView-ACBdUgyz.js.map +1 -0
- package/dist/HomeView-B0ATNUF1.js +2 -0
- package/dist/HomeView-B0ATNUF1.js.map +1 -0
- package/dist/HomeView-CHSb4HL6.js +2 -0
- package/dist/HomeView-CHSb4HL6.js.map +1 -0
- package/dist/HomeView-COJrg8Ju.js +2 -0
- package/dist/HomeView-COJrg8Ju.js.map +1 -0
- package/dist/HomeView-Cun4apuy.js +2 -0
- package/dist/HomeView-Cun4apuy.js.map +1 -0
- package/dist/HomeView-D4DXEOOn.js +2 -0
- package/dist/HomeView-D4DXEOOn.js.map +1 -0
- package/dist/HomeView-DaH1PSBB.js +2 -0
- package/dist/HomeView-DaH1PSBB.js.map +1 -0
- package/dist/HomeView-O_lj2c2t.js +2 -0
- package/dist/HomeView-O_lj2c2t.js.map +1 -0
- package/dist/HomeView-_Nu2RcOM.js +2 -0
- package/dist/HomeView-_Nu2RcOM.js.map +1 -0
- package/dist/UnderlineNav-3-KptDYD.js +2 -0
- package/dist/UnderlineNav-3-KptDYD.js.map +1 -0
- package/dist/UnderlineNav-BCyB0G5d.js +2 -0
- package/dist/UnderlineNav-BCyB0G5d.js.map +1 -0
- package/dist/UnderlineNav-BEhDJk0H.js +2 -0
- package/dist/UnderlineNav-BEhDJk0H.js.map +1 -0
- package/dist/UnderlineNav-BqZ2xAp7.js +2 -0
- package/dist/UnderlineNav-BqZ2xAp7.js.map +1 -0
- package/dist/UnderlineNav-C2-4Vyj8.js +2 -0
- package/dist/UnderlineNav-C2-4Vyj8.js.map +1 -0
- package/dist/UnderlineNav-Co08Gykm.js +2 -0
- package/dist/UnderlineNav-Co08Gykm.js.map +1 -0
- package/dist/UnderlineNav-DC3UVmnZ.js +2 -0
- package/dist/UnderlineNav-DC3UVmnZ.js.map +1 -0
- package/dist/UnderlineNav-DsRYwuGB.js +2 -0
- package/dist/UnderlineNav-DsRYwuGB.js.map +1 -0
- package/dist/UnderlineNav-FbclXKUW.js +2 -0
- package/dist/UnderlineNav-FbclXKUW.js.map +1 -0
- package/dist/_rollupPluginBabelHelpers-BEouSrrZ.js +2 -0
- package/dist/_rollupPluginBabelHelpers-BEouSrrZ.js.map +1 -0
- package/dist/_rollupPluginBabelHelpers-BHehKRBq.js +2 -0
- package/dist/_rollupPluginBabelHelpers-BHehKRBq.js.map +1 -0
- package/dist/_rollupPluginBabelHelpers-Bunpz22T.js +2 -0
- package/dist/_rollupPluginBabelHelpers-Bunpz22T.js.map +1 -0
- package/dist/_rollupPluginBabelHelpers-CVblpRvU.js +2 -0
- package/dist/_rollupPluginBabelHelpers-CVblpRvU.js.map +1 -0
- package/dist/_rollupPluginBabelHelpers-CxmswfqM.js +2 -0
- package/dist/_rollupPluginBabelHelpers-CxmswfqM.js.map +1 -0
- package/dist/_rollupPluginBabelHelpers-D0XU6lDu.js +2 -0
- package/dist/_rollupPluginBabelHelpers-D0XU6lDu.js.map +1 -0
- package/dist/_rollupPluginBabelHelpers-DQJTK9EO.js +2 -0
- package/dist/_rollupPluginBabelHelpers-DQJTK9EO.js.map +1 -0
- package/dist/_rollupPluginBabelHelpers-DuRQdJ01.js +2 -0
- package/dist/_rollupPluginBabelHelpers-DuRQdJ01.js.map +1 -0
- package/dist/_rollupPluginBabelHelpers-tRAa4O0f.js +2 -0
- package/dist/_rollupPluginBabelHelpers-tRAa4O0f.js.map +1 -0
- package/dist/brand.d.ts +11 -10
- package/dist/brand.js +2 -1
- package/dist/brand.js.map +1 -0
- package/dist/coder/themes/cosmo-light.d.ts +5 -0
- package/dist/coder/themes/cosmo-light.js +2 -0
- package/dist/coder/themes/cosmo-light.js.map +1 -0
- package/dist/coder.d.ts +54 -3
- package/dist/coder.js +2 -1
- package/dist/coder.js.map +1 -0
- package/dist/content.d.ts +103 -37
- package/dist/content.js +2 -1
- package/dist/content.js.map +1 -0
- package/dist/index-B0FncPxO.js +2 -0
- package/dist/index-B0FncPxO.js.map +1 -0
- package/dist/index-BEm-xkm-.js +2 -0
- package/dist/index-BEm-xkm-.js.map +1 -0
- package/dist/index-BHwtxG27.js +2 -0
- package/dist/index-BHwtxG27.js.map +1 -0
- package/dist/index-BTcmIG47.js +2 -0
- package/dist/index-BTcmIG47.js.map +1 -0
- package/dist/index-BbIMmTvo.js +2 -0
- package/dist/index-BbIMmTvo.js.map +1 -0
- package/dist/index-CNkHt1r7.js +2 -0
- package/dist/index-CNkHt1r7.js.map +1 -0
- package/dist/index-D0XuyFm7.js +2 -0
- package/dist/index-D0XuyFm7.js.map +1 -0
- package/dist/index-DBspcqWq.js +2 -0
- package/dist/index-DBspcqWq.js.map +1 -0
- package/dist/index-DVBO4gYE.js +2 -0
- package/dist/index-DVBO4gYE.js.map +1 -0
- package/dist/index.css +217 -135
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -0
- package/dist/layouts.d.ts +12 -1
- package/dist/layouts.js +2 -1
- package/dist/layouts.js.map +1 -0
- package/dist/pages.d.ts +2 -1
- package/dist/pages.js +2 -1
- package/dist/pages.js.map +1 -0
- package/dist/{tslib.es6-C3PNVQlC.js → tslib.es6-BBkx4Se1.js} +1 -0
- package/dist/tslib.es6-BBkx4Se1.js.map +1 -0
- package/dist/tslib.es6-BF6ZLEXa.js +2 -0
- package/dist/tslib.es6-BF6ZLEXa.js.map +1 -0
- package/dist/tslib.es6-BOZCDgb8.js +2 -0
- package/dist/tslib.es6-BOZCDgb8.js.map +1 -0
- package/dist/tslib.es6-CNVK7Xcu.js +2 -0
- package/dist/tslib.es6-CNVK7Xcu.js.map +1 -0
- package/dist/tslib.es6-Cjl5tesf.js +2 -0
- package/dist/tslib.es6-Cjl5tesf.js.map +1 -0
- package/dist/tslib.es6-DEH7Dkgy.js +2 -0
- package/dist/tslib.es6-DEH7Dkgy.js.map +1 -0
- package/dist/tslib.es6-DTeJ7dWi.js +2 -0
- package/dist/tslib.es6-DTeJ7dWi.js.map +1 -0
- package/dist/tslib.es6-U9-f6pA7.js +2 -0
- package/dist/tslib.es6-U9-f6pA7.js.map +1 -0
- package/dist/tslib.es6-cb69JjeS.js +2 -0
- package/dist/tslib.es6-cb69JjeS.js.map +1 -0
- package/dist/views.d.ts +2 -1
- package/dist/views.js +2 -1
- package/dist/views.js.map +1 -0
- package/dist/writer.d.ts +62 -8
- package/dist/writer.js +2 -1
- package/dist/writer.js.map +1 -0
- package/package.json +35 -12
- package/rollup.config.js +53 -8
- package/src/brand/Button/Button.styles.tsx +31 -0
- package/src/brand/Button/Button.tsx +3 -35
- package/src/brand/CTABanner/CTABanner.styles.tsx +82 -0
- package/src/brand/CTABanner/CTABanner.tsx +34 -112
- package/src/brand/Footer/Footer.styles.tsx +21 -0
- package/src/brand/Footer/Footer.tsx +4 -24
- package/src/brand/TODO.md +1 -0
- package/src/coder/Code/Code.styles.tsx +47 -0
- package/src/coder/Code/Code.tsx +76 -0
- package/src/coder/Code/CodeLoader.tsx +10 -0
- package/src/coder/Code/annotations.tsx +31 -0
- package/src/coder/Code/highlight.ts +170 -0
- package/src/coder/Code/index.ts +15 -0
- package/src/coder/CodeCopy/CodeCopy.styles.tsx +19 -0
- package/src/coder/CodeCopy/CodeCopy.tsx +2 -4
- package/src/coder/CodeSample/CodeSample.tsx +42 -133
- package/src/coder/CodeSample/index.ts +0 -1
- package/src/coder/CodeSample/withLocalStored.tsx +1 -1
- package/src/coder/CodeTabs/CodeTabs.styles.tsx +104 -0
- package/src/coder/CodeTabs/CodeTabs.tsx +95 -0
- package/src/coder/CodeTabs/index.ts +6 -0
- package/src/coder/CodeTheme/CodeTheme.tsx +79 -0
- package/src/coder/CodeTheme/index.ts +8 -0
- package/src/coder/hooks/highlight.ts +182 -0
- package/src/coder/index.ts +31 -1
- package/src/coder/{CodeSample/default-theme.ts → themes/cosmo-light.ts} +3 -2
- package/src/content/Anchor/Anchor.styles.tsx +5 -0
- package/src/content/Anchor/Anchor.tsx +4 -14
- package/src/content/Content/Content.styles.tsx +9 -0
- package/src/content/Content/Content.tsx +4 -11
- package/src/content/Content.tsx +48 -6
- package/src/content/Subtitle/Subtitle.styles.ts +8 -0
- package/src/content/Subtitle/Subtitle.tsx +2 -11
- package/src/layouts/Layout.styles.tsx +135 -131
- package/src/layouts/Layout.tsx +21 -23
- package/src/layouts/LayoutPrimary/LayoutPrimary.styles.tsx +341 -0
- package/src/layouts/LayoutPrimary/LayoutPrimary.tsx +157 -0
- package/src/layouts/LayoutPrimary/index.ts +5 -0
- package/src/layouts/index.ts +7 -1
- package/src/pages/HomePage/HomePage.styles.tsx +16 -0
- package/src/pages/HomePage/HomePage.tsx +7 -21
- package/src/pages/TODO.md +1 -0
- package/src/pages/index.ts +1 -0
- package/src/ui/Loader/Loader.styles.tsx +54 -0
- package/src/ui/Loader/Loader.tsx +26 -0
- package/src/ui/TODO.md +2 -0
- package/src/ui/index.ts +1 -0
- package/src/utils/useStyle.ts +19 -0
- package/src/views/HomeView/HomeView.styles.tsx +37 -0
- package/src/views/HomeView/HomeView.tsx +5 -45
- package/src/views/TODO.md +1 -0
- package/src/views/index.ts +1 -0
- package/src/writer/Badge/Badge.styles.tsx +31 -26
- package/src/writer/Badge/Badge.tsx +42 -9
- package/src/writer/Blockquote/Blockquote.styles.tsx +6 -8
- package/src/writer/Blockquote/Blockquote.tsx +2 -2
- package/src/writer/Breadcrumbs/Breadcrumbs.styles.ts +27 -26
- package/src/writer/Breadcrumbs/Breadcrumbs.tsx +5 -5
- package/src/writer/Callout/Callout.styles.tsx +44 -48
- package/src/writer/Callout/Callout.tsx +5 -5
- package/src/writer/Code/Code.styles.tsx +11 -13
- package/src/writer/Code/Code.tsx +2 -2
- package/src/writer/Details/Details.styles.tsx +102 -74
- package/src/writer/Details/Details.tsx +46 -30
- package/src/writer/GuideCard/GuideCard.styles.tsx +116 -112
- package/src/writer/GuideCard/GuideCard.tsx +19 -19
- package/src/writer/Heading/Heading.styles.tsx +65 -61
- package/src/writer/Heading/Heading.tsx +11 -11
- package/src/writer/Hr/Hr.styles.tsx +3 -5
- package/src/writer/Hr/Hr.tsx +2 -2
- package/src/writer/Icon/index.tsx +243 -0
- package/src/writer/NavLinks/NavLinks.styles.ts +30 -30
- package/src/writer/NavLinks/NavLinks.tsx +6 -6
- package/src/writer/Pre/Pre.styles.tsx +8 -10
- package/src/writer/Pre/Pre.tsx +2 -2
- package/src/writer/Steps/Steps.styles.tsx +30 -31
- package/src/writer/Steps/Steps.tsx +3 -4
- package/src/writer/Table/Table.styles.tsx +32 -31
- package/src/writer/Table/Table.tsx +5 -5
- package/src/writer/Table/TableV2.styles.tsx +117 -0
- package/src/writer/Table/TableV2.tsx +83 -0
- package/src/writer/Table/index.ts +4 -0
- package/src/writer/Tabs/Tabs.styles.tsx +60 -63
- package/src/writer/Tabs/Tabs.tsx +11 -16
- package/src/writer/UnderlineNav/UnderlineNav.styles.tsx +44 -42
- package/src/writer/UnderlineNav/UnderlineNav.tsx +5 -5
- package/tsconfig.json +2 -3
- package/dist/CTABanner-CWX9isVG.js +0 -1
- package/dist/CodeSample-C5YaEpAi.js +0 -1
- package/dist/HomeView-CnAj-VYl.js +0 -1
- package/dist/UnderlineNav-C8onw9Na.js +0 -1
- package/dist/_rollupPluginBabelHelpers-DfQAiTCw.js +0 -1
- package/dist/abap-kIO_7z1o.js +0 -1
- package/dist/actionscript-3-DiaraCXE.js +0 -1
- package/dist/ada-aNFKX2pl.js +0 -1
- package/dist/angular-html-y0qIEhS2.js +0 -1
- package/dist/angular-ts-Bn_6f37o.js +0 -1
- package/dist/apache-Cx7e0H64.js +0 -1
- package/dist/apex-CdSCJjuL.js +0 -1
- package/dist/apl-BDzWBUim.js +0 -1
- package/dist/applescript-CJFkzk5i.js +0 -1
- package/dist/ara-BC9R9M5c.js +0 -1
- package/dist/asciidoc-lqQQs4M0.js +0 -1
- package/dist/asm-QQeI-gwp.js +0 -1
- package/dist/astro-BPstp8LF.js +0 -1
- package/dist/awk-Cxb7Sqvk.js +0 -1
- package/dist/ballerina-G8TyVc6O.js +0 -1
- package/dist/bat-UDEmXz-g.js +0 -1
- package/dist/beancount-BWg86rhE.js +0 -1
- package/dist/berry-5E5uGOYg.js +0 -1
- package/dist/bibtex-CZn_FFnb.js +0 -1
- package/dist/bicep-D_G0XT5J.js +0 -1
- package/dist/blade-7dxmctkK.js +0 -1
- package/dist/c-CrEz-oYf.js +0 -1
- package/dist/cadence-BulSIR1A.js +0 -1
- package/dist/clarity-m2OigCMT.js +0 -1
- package/dist/clojure-Bpes2rhL.js +0 -1
- package/dist/cmake-C4Tr1SQC.js +0 -1
- package/dist/cobol-Dp8xGW1S.js +0 -1
- package/dist/codeowners-Bs3mpoau.js +0 -1
- package/dist/codeql-CvQzaisq.js +0 -1
- package/dist/coffee-DOjtyJj_.js +0 -1
- package/dist/common-lisp-DGVR8DFi.js +0 -1
- package/dist/cpp-BUT7C4Bo.js +0 -1
- package/dist/crystal-BJh9OJ1_.js +0 -1
- package/dist/csharp-BhZuAD8H.js +0 -1
- package/dist/css-8_G4_UCW.js +0 -1
- package/dist/csv-DLRyYdMG.js +0 -1
- package/dist/cue-DAgMCCsT.js +0 -1
- package/dist/cypher-CtSiSKRh.js +0 -1
- package/dist/d-feZJOTtr.js +0 -1
- package/dist/dark-plus-Dcn2h2HL.js +0 -1
- package/dist/dart-CNOu4aud.js +0 -1
- package/dist/dax-Dkp1Uj6t.js +0 -1
- package/dist/desktop-CAGQzotA.js +0 -1
- package/dist/diff-D6yk3_ZG.js +0 -1
- package/dist/docker-BdTrQq0b.js +0 -1
- package/dist/dotenv-BeHGAMs7.js +0 -1
- package/dist/dracula-BUaMrXr0.js +0 -1
- package/dist/dracula-soft-CBx6n76m.js +0 -1
- package/dist/dream-maker-BU0sZZmb.js +0 -1
- package/dist/edge-D2Tk5tmg.js +0 -1
- package/dist/elixir-B-l3Nz-G.js +0 -1
- package/dist/elm-Bqm7aRpV.js +0 -1
- package/dist/emacs-lisp-BSvpfolf.js +0 -1
- package/dist/erb-CwBHxfFV.js +0 -1
- package/dist/erlang-B0PtHWg2.js +0 -1
- package/dist/fennel-CdN4E9Xo.js +0 -1
- package/dist/fish-XrbYjeRx.js +0 -1
- package/dist/fluent-zYsEgElv.js +0 -1
- package/dist/fortran-fixed-form-CPwX6okW.js +0 -1
- package/dist/fortran-free-form-B6Kk9658.js +0 -1
- package/dist/fsharp-CbMfVCMr.js +0 -1
- package/dist/gdresource-CdRUpBQO.js +0 -1
- package/dist/gdscript-CYXv_Ac9.js +0 -1
- package/dist/gdshader-CtiaGYI5.js +0 -1
- package/dist/genie-C-gOIth7.js +0 -1
- package/dist/gherkin-uGsOfG-k.js +0 -1
- package/dist/git-commit-CWQvkRNX.js +0 -1
- package/dist/git-rebase-BZ0YVJ-O.js +0 -1
- package/dist/github-dark-DCm4kydX.js +0 -1
- package/dist/github-dark-dimmed-CsRUrOJA.js +0 -1
- package/dist/github-from-css-CTRi6tFC.js +0 -1
- package/dist/github-light-B2ofRYMU.js +0 -1
- package/dist/gleam-C9ZZ3Vp2.js +0 -1
- package/dist/glimmer-js-Cuwfndkm.js +0 -1
- package/dist/glimmer-ts-D8nR8_k2.js +0 -1
- package/dist/glsl-qc_rLvzz.js +0 -1
- package/dist/gnuplot-BgHAcd--.js +0 -1
- package/dist/go-Dm8VBUM2.js +0 -1
- package/dist/graphql-CRmnB6D5.js +0 -1
- package/dist/groovy-DJcw8dX4.js +0 -1
- package/dist/hack-DYOVz52F.js +0 -1
- package/dist/haml-j8Vx_P4q.js +0 -1
- package/dist/handlebars-Qz3hgrPG.js +0 -1
- package/dist/haskell-DE3vVmXn.js +0 -1
- package/dist/haxe-DpuNPTTj.js +0 -1
- package/dist/hcl-BvV3VZ9s.js +0 -1
- package/dist/hjson-CsTZvU0B.js +0 -1
- package/dist/hlsl-BLZumTGu.js +0 -1
- package/dist/html-BJsWDmIe.js +0 -1
- package/dist/html-derivative-zDWJvwg5.js +0 -1
- package/dist/http-BiMppEBd.js +0 -1
- package/dist/hxml-DG2jWwyK.js +0 -1
- package/dist/hy-C9zVJlJf.js +0 -1
- package/dist/imba-DGD1mm8E.js +0 -1
- package/dist/index-TKJ66_wI.js +0 -1
- package/dist/ini-CU7wgrgh.js +0 -1
- package/dist/java-DyOZhX5L.js +0 -1
- package/dist/javascript-C0AWZ4eK.js +0 -1
- package/dist/jinja-Lc82IfGI.js +0 -1
- package/dist/jison-DT7Oqeqm.js +0 -1
- package/dist/json-Zoq3rK60.js +0 -1
- package/dist/json5-BOFh3mt2.js +0 -1
- package/dist/jsonc-CPutX9W5.js +0 -1
- package/dist/jsonl-xWfKSBhV.js +0 -1
- package/dist/jsonnet-UcnvaLwK.js +0 -1
- package/dist/jssm-BRT8_Uqd.js +0 -1
- package/dist/jsx-B4WNxrCK.js +0 -1
- package/dist/julia-i7_3XSV_.js +0 -1
- package/dist/kotlin-B_s0KNy5.js +0 -1
- package/dist/kusto-CDr4m-xT.js +0 -1
- package/dist/latex-BNB6MZrj.js +0 -1
- package/dist/lean-2dBp1asm.js +0 -1
- package/dist/less-CfPPFFsV.js +0 -1
- package/dist/light-plus-glPHycm5.js +0 -1
- package/dist/liquid-Bj1DN66U.js +0 -1
- package/dist/log-CKSz9t_o.js +0 -1
- package/dist/logo-D3UPVeLP.js +0 -1
- package/dist/lua-C1EFGxtA.js +0 -1
- package/dist/luau-Dvb2LLsw.js +0 -1
- package/dist/make-TqphZF-7.js +0 -1
- package/dist/markdown-yX62Igf3.js +0 -1
- package/dist/marko-LH6NoP97.js +0 -1
- package/dist/material-darker-D6whucX3.js +0 -1
- package/dist/material-default-DYqS7fqa.js +0 -1
- package/dist/material-from-css-DlWo_ZDV.js +0 -1
- package/dist/material-lighter-CYQaMsGh.js +0 -1
- package/dist/material-ocean-Dl_zLA-F.js +0 -1
- package/dist/material-palenight-Cd4X9kqy.js +0 -1
- package/dist/matlab-Dy9K5GW8.js +0 -1
- package/dist/mdc-DhAfBnnn.js +0 -1
- package/dist/mdx-tnT2uTqR.js +0 -1
- package/dist/mermaid-aEaCok9S.js +0 -1
- package/dist/min-dark-CpapYCVz.js +0 -1
- package/dist/min-light-plRN0zW-.js +0 -1
- package/dist/mojo-BanaVmFY.js +0 -1
- package/dist/monokai-Cs2_BG4b.js +0 -1
- package/dist/move-B_kaWhAV.js +0 -1
- package/dist/narrat-6tChrAmV.js +0 -1
- package/dist/nextflow-BYB6CU6V.js +0 -1
- package/dist/nginx-Clr7XfzW.js +0 -1
- package/dist/nim-gLesixmv.js +0 -1
- package/dist/nix-DCgUXh-o.js +0 -1
- package/dist/nord-BHSE8FbR.js +0 -1
- package/dist/nushell-DDKGkuZY.js +0 -1
- package/dist/objective-c-BsQdhSk0.js +0 -1
- package/dist/objective-cpp-B-VZlBXW.js +0 -1
- package/dist/ocaml-B19L2xxl.js +0 -1
- package/dist/one-dark-pro-AWPQgJbJ.js +0 -1
- package/dist/pascal-B0kVBVTU.js +0 -1
- package/dist/perl-Bs2cXIO6.js +0 -1
- package/dist/php-BgaH_AHK.js +0 -1
- package/dist/plsql-CPY7hT9n.js +0 -1
- package/dist/po-BszTsnLZ.js +0 -1
- package/dist/poimandres-CZF4JUv5.js +0 -1
- package/dist/postcss-DQ0frX96.js +0 -1
- package/dist/powerquery-BitONm6p.js +0 -1
- package/dist/powershell-B_lVHVgu.js +0 -1
- package/dist/prisma-CqkE3olT.js +0 -1
- package/dist/prolog-Bpuon3aK.js +0 -1
- package/dist/proto-C349dup0.js +0 -1
- package/dist/pug-Bbf3g_hT.js +0 -1
- package/dist/puppet-qDtDc0so.js +0 -1
- package/dist/purescript-C03CHyrT.js +0 -1
- package/dist/python-D5e4BtVB.js +0 -1
- package/dist/qml-LVCeHqxw.js +0 -1
- package/dist/qmldir-BEg8Q-XX.js +0 -1
- package/dist/qss-vq-U9k0N.js +0 -1
- package/dist/r-DnCIdoUu.js +0 -1
- package/dist/racket-BQt8mf2o.js +0 -1
- package/dist/raku-ChTHpuBS.js +0 -1
- package/dist/razor-CjFZSXD2.js +0 -1
- package/dist/reg-12gGsscy.js +0 -1
- package/dist/regexp-zLCCZKTi.js +0 -1
- package/dist/rel-aZ4oe34Q.js +0 -1
- package/dist/riscv-BA9R8KI2.js +0 -1
- package/dist/rose-pine-8QECO0Ox.js +0 -1
- package/dist/rose-pine-dawn-DT77ObZh.js +0 -1
- package/dist/rose-pine-moon-D3-I8ETF.js +0 -1
- package/dist/rst-DFKlxnrd.js +0 -1
- package/dist/ruby-BypI_hk5.js +0 -1
- package/dist/rust-tE6tRkqD.js +0 -1
- package/dist/sas-D1sMUJql.js +0 -1
- package/dist/sass-DBEOLVv3.js +0 -1
- package/dist/scala-DUzir4os.js +0 -1
- package/dist/scheme-dsSqVZz3.js +0 -1
- package/dist/scss-B0kJw1gM.js +0 -1
- package/dist/shaderlab-Cd8Cbryn.js +0 -1
- package/dist/shellscript-BL-Ihj2z.js +0 -1
- package/dist/shellsession-C5KJPcFG.js +0 -1
- package/dist/slack-dark-JbsLGggd.js +0 -1
- package/dist/slack-ochin-hTeCADjA.js +0 -1
- package/dist/smalltalk-DQ23HuGh.js +0 -1
- package/dist/solarized-dark-D2bQRcX7.js +0 -1
- package/dist/solarized-light-6xrOKoxI.js +0 -1
- package/dist/solidity-DUCwohjn.js +0 -1
- package/dist/soy-Cy4pRjbu.js +0 -1
- package/dist/sparql-D7gNTkUq.js +0 -1
- package/dist/splunk-Dvl5Xm98.js +0 -1
- package/dist/sql-BfoT44Al.js +0 -1
- package/dist/ssh-config-C-ZFySPN.js +0 -1
- package/dist/stata-Dpw9jvge.js +0 -1
- package/dist/stylus-mJ9_5M6n.js +0 -1
- package/dist/svelte-DD5dtnEi.js +0 -1
- package/dist/swift-DDernUpH.js +0 -1
- package/dist/system-verilog-DeXSd9Py.js +0 -1
- package/dist/systemd-NetTuLPL.js +0 -1
- package/dist/tasl-BCm9L3tI.js +0 -1
- package/dist/tcl-DmWVgxCm.js +0 -1
- package/dist/templ-B7wt_K-d.js +0 -1
- package/dist/terraform-DYIIsq8p.js +0 -1
- package/dist/tex-DFj0qpOD.js +0 -1
- package/dist/toml-CFu3vY0Q.js +0 -1
- package/dist/ts-tags-BvMEeGTJ.js +0 -1
- package/dist/tsv-DnenRF8k.js +0 -1
- package/dist/tsx-DooqfEr1.js +0 -1
- package/dist/turtle-DKlxyehf.js +0 -1
- package/dist/twig-DpQc8FUF.js +0 -1
- package/dist/txt-C4tHEtDr.js +0 -1
- package/dist/typescript-DtE5sB_4.js +0 -1
- package/dist/typespec-B69vp3jc.js +0 -1
- package/dist/typst-BzEngGMo.js +0 -1
- package/dist/v-Dy6tTX8K.js +0 -1
- package/dist/vala-DQnmDtkE.js +0 -1
- package/dist/vb-CqTjXY4K.js +0 -1
- package/dist/verilog-D6Zfe00a.js +0 -1
- package/dist/vhdl-Dxu0BOr9.js +0 -1
- package/dist/viml-eXtfIM-m.js +0 -1
- package/dist/vue-D3vey6Cu.js +0 -1
- package/dist/vue-html-DyaqvCGV.js +0 -1
- package/dist/vyper-C6AULW8C.js +0 -1
- package/dist/wasm-Cl39COlm.js +0 -1
- package/dist/wenyan-DJGdsiXE.js +0 -1
- package/dist/wgsl-CDhIPMwJ.js +0 -1
- package/dist/wikitext-D05PpJ8X.js +0 -1
- package/dist/wolfram-JgWnd2g7.js +0 -1
- package/dist/xml-Cc1Sy-d4.js +0 -1
- package/dist/xsl-CEYTrbD0.js +0 -1
- package/dist/yaml-NvTdC05o.js +0 -1
- package/dist/zenscript-De0mU_BW.js +0 -1
- package/dist/zig-D9TJVGyp.js +0 -1
- package/src/coder/CodeCopy/CodeCopy.style.tsx +0 -21
- package/src/coder/CodeSample/CodeSample.styles.tsx +0 -137
package/dist/views.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export{H as HomeView}from"./HomeView-
|
|
1
|
+
export{H as HomeView}from"./HomeView-CHSb4HL6.js";import"react";
|
|
2
|
+
//# sourceMappingURL=views.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"views.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/writer.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React, { ReactElement } from 'react';
|
|
2
2
|
|
|
3
3
|
interface BadgeProps {
|
|
4
|
-
|
|
4
|
+
className?: string;
|
|
5
|
+
children?: React.ReactNode;
|
|
5
6
|
size?: "sm";
|
|
6
|
-
kind?: "warning";
|
|
7
|
+
kind?: "warning" | "info";
|
|
7
8
|
}
|
|
8
|
-
declare function Badge({ children, size, kind }: BadgeProps): React.JSX.Element;
|
|
9
|
+
declare function Badge({ className, children, size, kind }: BadgeProps): React.JSX.Element;
|
|
9
10
|
|
|
10
11
|
interface BlockquoteProps {
|
|
11
12
|
children: React.ReactNode;
|
|
@@ -33,15 +34,20 @@ declare function Code({ children }: CodeProps): React.JSX.Element;
|
|
|
33
34
|
interface BaseDetailsProps {
|
|
34
35
|
children: React.ReactNode;
|
|
35
36
|
label: string;
|
|
37
|
+
icon?: React.ReactElement;
|
|
38
|
+
}
|
|
39
|
+
interface TertiaryDetailsProps extends BaseDetailsProps {
|
|
40
|
+
kind: "tertiary";
|
|
41
|
+
title: string | React.ReactNode;
|
|
36
42
|
}
|
|
37
43
|
interface SecondaryDetailsProps extends BaseDetailsProps {
|
|
38
44
|
kind: "secondary";
|
|
39
|
-
title: string;
|
|
45
|
+
title: string | React.ReactNode;
|
|
40
46
|
}
|
|
41
47
|
interface PrimaryDetailsProps extends BaseDetailsProps {
|
|
42
48
|
kind?: "primary";
|
|
43
49
|
}
|
|
44
|
-
type DetailsProps = PrimaryDetailsProps | SecondaryDetailsProps;
|
|
50
|
+
type DetailsProps = PrimaryDetailsProps | SecondaryDetailsProps | TertiaryDetailsProps;
|
|
45
51
|
declare function Details(props: DetailsProps): React.JSX.Element;
|
|
46
52
|
|
|
47
53
|
interface GuideCardProps {
|
|
@@ -78,6 +84,18 @@ declare function IconMetrics(): React.JSX.Element;
|
|
|
78
84
|
declare function IconFunnels(): React.JSX.Element;
|
|
79
85
|
declare function IconCode(): React.JSX.Element;
|
|
80
86
|
declare function IconCustomEvent(): React.JSX.Element;
|
|
87
|
+
declare function IconAlert(): React.JSX.Element;
|
|
88
|
+
declare function IconBrowser(): React.JSX.Element;
|
|
89
|
+
declare function IconREST(): React.JSX.Element;
|
|
90
|
+
declare function IconGraphQL(): React.JSX.Element;
|
|
91
|
+
declare function IconWebhooks(): React.JSX.Element;
|
|
92
|
+
declare function IconJSBrowser(): React.JSX.Element;
|
|
93
|
+
declare function IconJSNode(): React.JSX.Element;
|
|
94
|
+
declare function IconStorybook(): React.JSX.Element;
|
|
95
|
+
declare function IconReactRouter(): React.JSX.Element;
|
|
96
|
+
declare function IconNextJS(): React.JSX.Element;
|
|
97
|
+
declare function IconAppTemplate(): React.JSX.Element;
|
|
98
|
+
declare function IconQuote(): React.JSX.Element;
|
|
81
99
|
|
|
82
100
|
interface NavLinksProps {
|
|
83
101
|
prev?: {
|
|
@@ -112,18 +130,53 @@ interface TableProps {
|
|
|
112
130
|
}
|
|
113
131
|
declare function Table({ children }: TableProps): React.JSX.Element;
|
|
114
132
|
declare namespace Table {
|
|
115
|
-
var Th: ({ children }: TableThProps) => React.JSX.Element;
|
|
133
|
+
var Th: ({ children }: TableThProps$1) => React.JSX.Element;
|
|
134
|
+
var Tr: ({ children }: TableTrProps$1) => React.JSX.Element;
|
|
135
|
+
var Td: ({ children }: TableTdProps$1) => React.JSX.Element;
|
|
136
|
+
}
|
|
137
|
+
interface TableThProps$1 {
|
|
138
|
+
children: React.ReactNode;
|
|
139
|
+
}
|
|
140
|
+
interface TableTrProps$1 {
|
|
141
|
+
children: React.ReactNode;
|
|
142
|
+
}
|
|
143
|
+
interface TableTdProps$1 {
|
|
144
|
+
children: React.ReactNode;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
interface TableV2Props {
|
|
148
|
+
children: React.ReactNode;
|
|
149
|
+
className?: string;
|
|
150
|
+
}
|
|
151
|
+
declare function TableV2({ children, className }: TableV2Props): React.JSX.Element;
|
|
152
|
+
declare namespace TableV2 {
|
|
153
|
+
var Head: ({ children }: TableHeadProps) => React.JSX.Element;
|
|
154
|
+
var Th: ({ children, numeric }: TableThProps) => React.JSX.Element;
|
|
116
155
|
var Tr: ({ children }: TableTrProps) => React.JSX.Element;
|
|
117
|
-
var Td: ({ children }: TableTdProps) => React.JSX.Element;
|
|
156
|
+
var Td: ({ children, numeric, muted }: TableTdProps) => React.JSX.Element;
|
|
157
|
+
var Cell: ({ children }: TableCellProps) => React.JSX.Element;
|
|
158
|
+
var ModelCell: ({ children }: TableModelCellProps) => React.JSX.Element;
|
|
159
|
+
}
|
|
160
|
+
interface TableHeadProps {
|
|
161
|
+
children: React.ReactNode;
|
|
118
162
|
}
|
|
119
163
|
interface TableThProps {
|
|
120
164
|
children: React.ReactNode;
|
|
165
|
+
numeric?: boolean;
|
|
121
166
|
}
|
|
122
167
|
interface TableTrProps {
|
|
123
168
|
children: React.ReactNode;
|
|
124
169
|
}
|
|
125
170
|
interface TableTdProps {
|
|
126
171
|
children: React.ReactNode;
|
|
172
|
+
numeric?: boolean;
|
|
173
|
+
muted?: boolean;
|
|
174
|
+
}
|
|
175
|
+
interface TableCellProps {
|
|
176
|
+
children: React.ReactNode;
|
|
177
|
+
}
|
|
178
|
+
interface TableModelCellProps {
|
|
179
|
+
children: React.ReactNode;
|
|
127
180
|
}
|
|
128
181
|
|
|
129
182
|
interface TabsProps$1 {
|
|
@@ -154,4 +207,5 @@ interface UnderlineNavItemProps {
|
|
|
154
207
|
href?: string;
|
|
155
208
|
}
|
|
156
209
|
|
|
157
|
-
export { Badge,
|
|
210
|
+
export { Badge, Blockquote, Breadcrumbs, Callout, Code, Details, GuideCard, Heading, Hr, IconAlert, IconAppTemplate, IconBrowser, IconCode, IconCustomEvent, IconFunnels, IconGraphQL, IconJSBrowser, IconJSNode, IconMetrics, IconNextJS, IconQuote, IconREST, IconReactRouter, IconSessionReplay, IconStorybook, IconWebhooks, NavLinks, Pre, Steps, Table, TableV2, Tabs, UnderlineNav };
|
|
211
|
+
export type { BadgeProps, BlockquoteProps, BreadcrumbsProps, CalloutProps, CodeProps, DetailsProps, HeadingProps, HrProps, NavLinksProps, PreProps, StepsProps, TableProps, TableTdProps$1 as TableTdProps, TableThProps$1 as TableThProps, TableTrProps$1 as TableTrProps, TabsProps$1 as TabsProps };
|
package/dist/writer.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{B as Badge,a as Blockquote,C as Callout,b as Code,D as Details,H as Heading,c as Hr,h as IconAlert,r as IconAppTemplate,i as IconBrowser,f as IconCode,g as IconCustomEvent,e as IconFunnels,k as IconGraphQL,m as IconJSBrowser,n as IconJSNode,d as IconMetrics,q as IconNextJS,s as IconQuote,j as IconREST,p as IconReactRouter,I as IconSessionReplay,o as IconStorybook,l as IconWebhooks}from"./index-BbIMmTvo.js";import{_ as t}from"./tslib.es6-CNVK7Xcu.js";import u,{Fragment as _}from"react";import{ArrowRightIcon as v,ArrowLeftIcon as N}from"@radix-ui/react-icons";export{G as GuideCard,S as Steps,T as Table,a as TableV2,b as Tabs,U as UnderlineNav}from"./UnderlineNav-3-KptDYD.js";import"./_rollupPluginBabelHelpers-D0XU6lDu.js";import"@radix-ui/react-tabs";import"lucide-react";function y(e){var s=e.children,r=t(e,["children"]);return u.createElement("a",Object.assign({},r),s)}function E(e){return u.createElement("div",{className:"XydComponents-Component-writer-Breadcrumbs-Breadcrumbs_styles_ts__BreadcrumbsHost"},e.items.map((function(t,s){var r=s===e.items.length-1;return u.createElement(_,{key:t.href+t.title},s>0&&u.createElement(v,{className:"XydComponents-Component-writer-Breadcrumbs-Breadcrumbs_styles_ts__BreadcrumbsIcon"}),u.createElement("div",{className:"\n ".concat("XydComponents-Component-writer-Breadcrumbs-Breadcrumbs_styles_ts__BreadcrumbsItem","\n ").concat(r&&"XydComponents-Component-writer-Breadcrumbs-Breadcrumbs_styles_ts__BreadcrumbsItemActive","\n "),title:t.title},t.href&&!r?u.createElement(y,{href:t.href},t.title):t.title))})))}var x="XydComponents-Component-writer-NavLinks-NavLinks_styles_ts__NavLinksLink",L="XydComponents-Component-writer-NavLinks-NavLinks_styles_ts__NavLinksIcon";function w(e){var s=e.children,r=t(e,["children"]);return u.createElement("a",Object.assign({},r),s)}function X(e){return u.createElement("div",{className:"XydComponents-Component-writer-NavLinks-NavLinks_styles_ts__NavLinksHost"},e.prev?u.createElement(w,{href:e.prev.href,title:e.prev.title,className:x},u.createElement(N,{className:L}),e.prev.title):u.createElement("div",null),e.next&&u.createElement(w,{href:e.next.href,title:e.next.title,className:x},e.next.title,u.createElement(v,{className:L})))}function R(e){var t=e.children;return u.createElement("pre",{className:"XydComponents-Component-writer-Pre__PreHost"},t)}export{E as Breadcrumbs,X as NavLinks,R as Pre};
|
|
2
|
+
//# sourceMappingURL=writer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"writer.js","sources":["../src/writer/Breadcrumbs/Breadcrumbs.tsx","../src/writer/Breadcrumbs/Breadcrumbs.styles.ts","../src/writer/NavLinks/NavLinks.styles.ts","../src/writer/NavLinks/NavLinks.tsx","../src/writer/Pre/Pre.tsx","../src/writer/Pre/Pre.styles.tsx"],"sourcesContent":["import React, {Fragment} from 'react'\nimport type {ReactElement} from 'react'\nimport {ArrowRightIcon} from '@radix-ui/react-icons'\n\nimport * as cn from './Breadcrumbs.styles'\n\nfunction Anchor({children, ...rest}) {\n return <a {...rest}>\n {children}\n </a>\n}\n\nexport interface BreadcrumbsProps {\n items: {\n title: string\n href?: string\n }[]\n}\n\nexport function Breadcrumbs(props: BreadcrumbsProps): ReactElement {\n return (\n <div className={cn.BreadcrumbsHost}>\n {props.items.map((item, index) => {\n const lastActive = index === props.items.length - 1\n\n return (\n <Fragment key={item.href + item.title}>\n {index > 0 && <ArrowRightIcon className={cn.BreadcrumbsIcon}/>}\n <div className={`\n ${cn.BreadcrumbsItem}\n ${lastActive && cn.BreadcrumbsItemActive}\n `}\n title={item.title}\n >\n {item.href && !lastActive ? (\n <Anchor href={item.href}>{item.title}</Anchor>\n ) : (\n item.title\n )}\n </div>\n </Fragment>\n )\n })}\n </div>\n )\n}\n","import {css} from \"@linaria/core\";\n\nexport const BreadcrumbsHost = css`\n display: flex;\n overflow: hidden;\n margin-top: 0.375rem;\n gap: 0.25rem;\n align-items: center;\n font-size: 0.875rem;\n line-height: 1.25rem;\n color: #6B7280;\n`;\n\nexport const BreadcrumbsIcon = css`\n shrink: 0;\n width: 0.875rem;\n`;\n\nexport const BreadcrumbsItem = css`\n white-space: nowrap;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 300ms;\n`;\n\nexport const BreadcrumbsItemActive = css`\n color: #000;\n font-weight: bold;\n`;\n","import {css} from \"@linaria/core\";\nimport colors from \"@livesession/design-system-colors\";\n\nexport const NavLinksHost = css`\n display: flex;\n padding-top: 2rem;\n margin-top: 2rem;\n margin-bottom: 2rem;\n justify-content: space-between;\n align-items: center;\n border-top-width: 1px;\n border-color: ${colors.dark32};\n`;\n\nexport const NavLinksLink = css`\n display: flex;\n gap: 8px;\n align-items: center;\n font-size: 16px;\n line-height: 1.5;\n font-weight: 600;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 300ms;\n max-width: 50%;\n`;\n\nexport const NavLinksIcon = css`\n display: inline;\n height: 1.25rem;\n flex-shrink: 0;\n`;\n","import React from \"react\"\nimport {ArrowLeftIcon, ArrowRightIcon} from '@radix-ui/react-icons'\n\nimport * as cn from \"./NavLinks.styles\";\n\nfunction Anchor({children, ...rest}) {\n return <a {...rest}>\n {children}\n </a>\n}\n\nexport interface NavLinksProps {\n prev?: {\n title: string\n href: string\n }\n next?: {\n title: string\n href: string\n }\n}\n\nexport function NavLinks(props: NavLinksProps) {\n return (\n <div className={cn.NavLinksHost}>\n {props.prev ? (\n <Anchor\n href={props.prev.href}\n title={props.prev.title}\n className={cn.NavLinksLink}\n >\n <ArrowLeftIcon className={cn.NavLinksIcon}/>\n {props.prev.title}\n </Anchor>\n ) : <div/>}\n {props.next && (\n <Anchor\n href={props.next.href}\n title={props.next.title}\n className={cn.NavLinksLink}\n >\n {props.next.title}\n <ArrowRightIcon className={cn.NavLinksIcon}/>\n </Anchor>\n )}\n </div>\n )\n}\n","import React from \"react\"\n\nimport * as cn from \"./Pre.styles\"\n\nexport interface PreProps {\n children: React.ReactNode\n}\n\nexport function Pre({children}: PreProps) {\n return <pre className={cn.PreHost}>\n {children}\n </pre>\n}","import {css} from \"@linaria/core\";\n\nexport const PreHost = css`\n margin-top: 0;\n border-radius: 6px;\n padding: 16px;\n border: 0;\n\n background-color: rgb(246, 248, 250);\n overflow: auto;\n`;"],"names":["Anchor","_a","children","rest","__rest","React","createElement","Object","assign","Breadcrumbs","props","className","items","map","item","index","lastActive","length","Fragment","key","href","title","ArrowRightIcon","concat","NavLinksLink","NavLinksIcon","NavLinks","prev","cn","ArrowLeftIcon","next","Pre","_ref"],"mappings":"mxBAMA,SAASA,EAAOC,GAAA,IAACC,EAAkBD,EAAlBC,SAAaC,EAAIC,EAAAH,EAAlB,cACZ,OAAOI,EAAOC,cAAA,IAAAC,OAAAC,OAAA,CAAA,EAAAL,GACTD,EAET,CASM,SAAUO,EAAYC,GACxB,OACIL,EAAKC,cAAA,MAAA,CAAAK,UCVZ,qFDWYD,EAAME,MAAMC,KAAI,SAACC,EAAMC,GACpB,IAAMC,EAAaD,IAAUL,EAAME,MAAMK,OAAS,EAElD,OACIZ,EAAAC,cAACY,EAAQ,CAACC,IAAKL,EAAKM,KAAON,EAAKO,OAC3BN,EAAQ,GAAKV,EAACC,cAAAgB,EAAe,CAAAX,UCXrD,sFDYuBN,EAAAC,cAAA,MAAA,CAAKK,UAASY,iCAAAA,OCLrC,oFDM+C,kCAAAA,OAClBP,GCF7B,0FDGwB,8BACIK,MAAOP,EAAKO,OAEZP,EAAKM,OAASJ,EACXX,EAAAC,cAACN,EAAO,CAAAoB,KAAMN,EAAKM,MAAON,EAAKO,OAE/BP,EAAKO,OAKzB,IAGZ,CE1CO,IAWMG,EAWZ,2EAEYC,EAIZ,2EC1BD,SAASzB,EAAOC,GAAA,IAACC,EAAkBD,EAAlBC,SAAaC,EAAIC,EAAAH,EAAlB,cACZ,OAAOI,EAAOC,cAAA,IAAAC,OAAAC,OAAA,CAAA,EAAAL,GACTD,EAET,CAaM,SAAUwB,EAAShB,GACrB,OACIL,EAAKC,cAAA,MAAA,CAAAK,UDZZ,4ECaYD,EAAMiB,KACHtB,EAACC,cAAAN,EACG,CAAAoB,KAAMV,EAAMiB,KAAKP,KACjBC,MAAOX,EAAMiB,KAAKN,MAClBV,UAAWiB,GAEXvB,EAAAC,cAACuB,EAAc,CAAAlB,UAAWiB,IACzBlB,EAAMiB,KAAKN,OAEhBhB,EAAMC,cAAA,MAAA,MACTI,EAAMoB,MACHzB,EAAAC,cAACN,EAAM,CACHoB,KAAMV,EAAMoB,KAAKV,KACjBC,MAAOX,EAAMoB,KAAKT,MAClBV,UAAWiB,GAEVlB,EAAMoB,KAAKT,MACZhB,EAAAC,cAACgB,EAAc,CAACX,UAAWiB,KAK/C,CCvCgB,SAAAG,EAAGC,GAAqB,IAAnB9B,EAAQ8B,EAAR9B,SACjB,OAAOG,EAAAC,cAAA,MAAA,CAAKK,UCCf,+CDAQT,EAET"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyd-js/components",
|
|
3
|
-
"version": "0.1.0-xyd.
|
|
3
|
+
"version": "0.1.0-xyd.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -31,28 +31,51 @@
|
|
|
31
31
|
},
|
|
32
32
|
"./writer": {
|
|
33
33
|
"import": "./dist/writer.js"
|
|
34
|
+
},
|
|
35
|
+
"./coder/themes/*": {
|
|
36
|
+
"import": "./dist/coder/themes/*"
|
|
34
37
|
}
|
|
35
38
|
},
|
|
36
|
-
"scripts": {
|
|
37
|
-
"clean": "rimraf build",
|
|
38
|
-
"prebuild": "pnpm clean",
|
|
39
|
-
"build": "rollup -c rollup.config.js"
|
|
40
|
-
},
|
|
41
39
|
"dependencies": {
|
|
42
|
-
"@
|
|
40
|
+
"@livesession/design-system-colors": "0.0.6-alpha-refactor-and-typo.0",
|
|
43
41
|
"@radix-ui/react-icons": "^1.3.0",
|
|
44
|
-
"@radix-ui/react-menu": "^2.1.2",
|
|
45
42
|
"@radix-ui/react-tabs": "^1.1.1",
|
|
46
|
-
"
|
|
47
|
-
"lucide-react": "^0.447.0"
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
"codehike": "^1.0.3",
|
|
44
|
+
"lucide-react": "^0.447.0"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"@code-hike/lighter": "^1.0.1",
|
|
48
|
+
"react": "^19.0.0"
|
|
50
49
|
},
|
|
51
50
|
"devDependencies": {
|
|
51
|
+
"@babel/preset-env": "^7.26.0",
|
|
52
|
+
"@babel/preset-flow": "^7.25.9",
|
|
53
|
+
"@babel/preset-react": "^7.26.0",
|
|
54
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
55
|
+
"@linaria/atomic": "^6.2.0",
|
|
56
|
+
"@linaria/core": "^6.2.0",
|
|
57
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
58
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
59
|
+
"@rollup/plugin-commonjs": "^28.0.1",
|
|
60
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
61
|
+
"@rollup/plugin-typescript": "^12.1.1",
|
|
62
|
+
"@wyw-in-js/rollup": "^0.5.5",
|
|
63
|
+
"@wyw-in-js/vite": "^0.5.5",
|
|
52
64
|
"autoprefixer": "^10.4.20",
|
|
53
65
|
"postcss": "^8.4.47",
|
|
54
66
|
"postcss-import": "^16.1.0",
|
|
67
|
+
"rimraf": "^3.0.2",
|
|
68
|
+
"rollup": "^4.27.4",
|
|
69
|
+
"rollup-plugin-css-only": "^4.5.2",
|
|
70
|
+
"rollup-plugin-dts": "^6.1.1",
|
|
55
71
|
"rollup-plugin-postcss": "^4.0.2",
|
|
72
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
56
73
|
"tsup": "^8.3.0"
|
|
74
|
+
},
|
|
75
|
+
"scripts": {
|
|
76
|
+
"build": "rollup -c rollup.config.js",
|
|
77
|
+
"dev": "rollup -c rollup.config.js --watch",
|
|
78
|
+
"prebuild": "pnpm clean",
|
|
79
|
+
"clean": "rimraf build"
|
|
57
80
|
}
|
|
58
81
|
}
|
package/rollup.config.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import fs from 'fs';
|
|
2
|
+
import path from 'path';
|
|
1
3
|
import {fileURLToPath} from 'url';
|
|
2
|
-
import {dirname} from 'path';
|
|
3
4
|
|
|
4
5
|
import resolve from '@rollup/plugin-node-resolve';
|
|
5
6
|
import commonjs from '@rollup/plugin-commonjs';
|
|
@@ -10,15 +11,30 @@ import babel from '@rollup/plugin-babel';
|
|
|
10
11
|
import postcss from 'rollup-plugin-postcss';
|
|
11
12
|
import wyw from '@wyw-in-js/rollup';
|
|
12
13
|
|
|
13
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
14
|
-
const __dirname = dirname(__filename);
|
|
15
|
-
|
|
16
14
|
import {createRequire} from 'module';
|
|
17
15
|
|
|
18
16
|
const require = createRequire(import.meta.url);
|
|
19
|
-
const {
|
|
17
|
+
const {
|
|
18
|
+
dependencies,
|
|
19
|
+
peerDependencies,
|
|
20
|
+
devDependencies
|
|
21
|
+
} = require('./package.json', {assert: {type: 'json'}});
|
|
20
22
|
|
|
21
|
-
const external =
|
|
23
|
+
const external = [
|
|
24
|
+
...Object.keys(dependencies),
|
|
25
|
+
...Object.keys(peerDependencies),
|
|
26
|
+
...Object.keys(devDependencies),
|
|
27
|
+
];
|
|
28
|
+
|
|
29
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
30
|
+
const __dirname = path.dirname(__filename);
|
|
31
|
+
|
|
32
|
+
const themesDir = path.resolve(__dirname, 'src/coder/themes');
|
|
33
|
+
const themes = fs.readdirSync(themesDir).reduce((acc, file) => {
|
|
34
|
+
const themeName = path.basename(file, path.extname(file));
|
|
35
|
+
acc[`coder/themes/${themeName}`] = path.join(themesDir, file);
|
|
36
|
+
return acc;
|
|
37
|
+
}, {});
|
|
22
38
|
|
|
23
39
|
export default [
|
|
24
40
|
{
|
|
@@ -31,12 +47,13 @@ export default [
|
|
|
31
47
|
pages: 'src/pages/index.ts',
|
|
32
48
|
views: 'src/views/index.ts',
|
|
33
49
|
writer: 'writer.ts',
|
|
50
|
+
...themes
|
|
34
51
|
},
|
|
35
52
|
output: [
|
|
36
53
|
{
|
|
37
54
|
dir: 'dist',
|
|
38
55
|
format: 'esm',
|
|
39
|
-
sourcemap:
|
|
56
|
+
sourcemap: true,
|
|
40
57
|
entryFileNames: '[name].js'
|
|
41
58
|
}
|
|
42
59
|
],
|
|
@@ -49,6 +66,25 @@ export default [
|
|
|
49
66
|
'@babel/preset-react'
|
|
50
67
|
],
|
|
51
68
|
},
|
|
69
|
+
classNameSlug: (hash, title, {file}) => {
|
|
70
|
+
// Get the full path after 'src/components/'
|
|
71
|
+
const pathParts = file.split('/');
|
|
72
|
+
const componentsIndex = pathParts.indexOf('src');
|
|
73
|
+
if (componentsIndex === -1) return `XydComponents-Component-${title}`;
|
|
74
|
+
|
|
75
|
+
// Get everything after 'components' directory
|
|
76
|
+
const componentPath = pathParts
|
|
77
|
+
.slice(componentsIndex + 1)
|
|
78
|
+
.filter(part => !part.endsWith('.styles.tsx')) // Remove styles.tsx
|
|
79
|
+
.join('-');
|
|
80
|
+
|
|
81
|
+
// Use the title as the style name (it's already the variable name)
|
|
82
|
+
const styleName = title.replace(/^\$/, ''); // Remove $ prefix if present
|
|
83
|
+
|
|
84
|
+
// TODO: in the future hash + system to override styles for specific components if hash
|
|
85
|
+
return `XydComponents-Component-${componentPath}__${styleName}`;
|
|
86
|
+
// return `XydComponents-Component-${componentPath}__${styleName}_${hash}`;
|
|
87
|
+
}
|
|
52
88
|
}),
|
|
53
89
|
postcss({
|
|
54
90
|
extract: true,
|
|
@@ -145,5 +181,14 @@ export default [
|
|
|
145
181
|
},
|
|
146
182
|
plugins: [dts()],
|
|
147
183
|
external
|
|
148
|
-
}
|
|
184
|
+
},
|
|
185
|
+
...Object.keys(themes).map(theme => ({
|
|
186
|
+
input: themes[theme],
|
|
187
|
+
output: {
|
|
188
|
+
file: `dist/${theme}.d.ts`,
|
|
189
|
+
format: 'es',
|
|
190
|
+
},
|
|
191
|
+
plugins: [dts()],
|
|
192
|
+
external
|
|
193
|
+
}))
|
|
149
194
|
];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {css} from "@linaria/core";
|
|
2
|
+
|
|
3
|
+
export const ButtonHost = css`
|
|
4
|
+
display: inline-block;
|
|
5
|
+
border: 1px solid transparent;
|
|
6
|
+
text-align: center;
|
|
7
|
+
font-weight: 600;
|
|
8
|
+
white-space: nowrap;
|
|
9
|
+
border-radius: 20px;
|
|
10
|
+
padding: 0 20px;
|
|
11
|
+
line-height: 38px;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
border-color: transparent;
|
|
14
|
+
color: #3c3c43;
|
|
15
|
+
background-color: #f7f7f8;
|
|
16
|
+
|
|
17
|
+
transition: color .25s, border-color .25s, background-color .25s;
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
background: #e3e3e6;
|
|
21
|
+
}
|
|
22
|
+
`;
|
|
23
|
+
|
|
24
|
+
export const ButtonHostSecondary = css`
|
|
25
|
+
color: #fff;
|
|
26
|
+
background-color: rgb(112, 81, 212);
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
background-color: rgb(95, 59, 211)
|
|
30
|
+
}
|
|
31
|
+
`;
|
|
@@ -1,37 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
const $button = {
|
|
5
|
-
host: css`
|
|
6
|
-
display: inline-block;
|
|
7
|
-
border: 1px solid transparent;
|
|
8
|
-
text-align: center;
|
|
9
|
-
font-weight: 600;
|
|
10
|
-
white-space: nowrap;
|
|
11
|
-
border-radius: 20px;
|
|
12
|
-
padding: 0 20px;
|
|
13
|
-
line-height: 38px;
|
|
14
|
-
font-size: 14px;
|
|
15
|
-
border-color: transparent;
|
|
16
|
-
color: #3c3c43;
|
|
17
|
-
background-color: #f7f7f8;
|
|
18
|
-
|
|
19
|
-
transition: color .25s, border-color .25s, background-color .25s;
|
|
20
|
-
|
|
21
|
-
&:hover {
|
|
22
|
-
background: #e3e3e6;
|
|
23
|
-
}
|
|
24
|
-
`,
|
|
25
|
-
|
|
26
|
-
host$$secondary: css`
|
|
27
|
-
color: #fff;
|
|
28
|
-
background-color: rgb(112, 81, 212);
|
|
29
|
-
|
|
30
|
-
&:hover {
|
|
31
|
-
background-color: rgb(95, 59, 211)
|
|
32
|
-
}
|
|
33
|
-
`
|
|
34
|
-
}
|
|
2
|
+
import * as cn from "./Button.styles";
|
|
35
3
|
|
|
36
4
|
export interface ButtonProps {
|
|
37
5
|
children: React.ReactNode
|
|
@@ -40,8 +8,8 @@ export interface ButtonProps {
|
|
|
40
8
|
|
|
41
9
|
export function Button({children, kind}: ButtonProps) {
|
|
42
10
|
return <button className={`
|
|
43
|
-
${
|
|
44
|
-
${kind === "secondary" &&
|
|
11
|
+
${cn.ButtonHost}
|
|
12
|
+
${kind === "secondary" && cn.ButtonHostSecondary}
|
|
45
13
|
`}>
|
|
46
14
|
{children}
|
|
47
15
|
</button>
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import {css} from "@linaria/core";
|
|
2
|
+
|
|
3
|
+
export const CTABannerHost = css`
|
|
4
|
+
padding: 20px;
|
|
5
|
+
`;
|
|
6
|
+
|
|
7
|
+
export const CTABannerContainer = css`
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
gap: 80px;
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
export const CTABannerHero = css`
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: 40px;
|
|
20
|
+
`;
|
|
21
|
+
|
|
22
|
+
export const CTABannerHeadingEffect = css`
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
|
|
28
|
+
background: -webkit-linear-gradient(
|
|
29
|
+
120deg,
|
|
30
|
+
var(--headingEffect-color-tertiary) 20%,
|
|
31
|
+
var(--headingEffect-color-tertiary) 30%,
|
|
32
|
+
var(--headingEffect-color-secondary) 60%,
|
|
33
|
+
var(--headingEffect-color-primary) 75%,
|
|
34
|
+
var(--headingEffect-color-primary) 85%
|
|
35
|
+
);
|
|
36
|
+
background-clip: text;
|
|
37
|
+
-webkit-text-fill-color: transparent;
|
|
38
|
+
animation: wave 5s infinite;
|
|
39
|
+
background-size: 200% 200%;
|
|
40
|
+
background-position: 50% 50%; // Start with all colors visible
|
|
41
|
+
|
|
42
|
+
@keyframes wave {
|
|
43
|
+
0% {
|
|
44
|
+
background-position: 50% 50%;
|
|
45
|
+
}
|
|
46
|
+
50% {
|
|
47
|
+
background-position: 0% 50%;
|
|
48
|
+
}
|
|
49
|
+
100% {
|
|
50
|
+
background-position: 50% 50%;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
`;
|
|
54
|
+
|
|
55
|
+
export const CTABannerHeadingHost = css`
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
`;
|
|
61
|
+
|
|
62
|
+
export const CTABannerHeadingTitle = css`
|
|
63
|
+
font-size: 76px;
|
|
64
|
+
font-weight: 900;
|
|
65
|
+
text-align: center;
|
|
66
|
+
letter-spacing: 3px;
|
|
67
|
+
margin: 0;
|
|
68
|
+
`;
|
|
69
|
+
|
|
70
|
+
export const CTABannerHeadingSubtitle = css`
|
|
71
|
+
color: #3c3c43;
|
|
72
|
+
font-size: 46px;
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
text-align: center;
|
|
75
|
+
`;
|
|
76
|
+
|
|
77
|
+
export const CTABannerButtonGroupHost = css`
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: center;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
gap: 10px;
|
|
82
|
+
`;
|
|
@@ -1,127 +1,49 @@
|
|
|
1
|
-
import React from "react"
|
|
2
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
|
+
import * as cn from "./CTABanner.styles";
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
`,
|
|
8
|
-
container: css`
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
gap: 80px;
|
|
13
|
-
`,
|
|
14
|
-
hero: css`
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
gap: 40px;
|
|
20
|
-
`,
|
|
21
|
-
headingEffect: css`
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
|
|
27
|
-
background: -webkit-linear-gradient(
|
|
28
|
-
120deg,
|
|
29
|
-
var(--headingEffect-color-tertiary) 20%,
|
|
30
|
-
var(--headingEffect-color-tertiary) 30%,
|
|
31
|
-
var(--headingEffect-color-secondary) 60%,
|
|
32
|
-
var(--headingEffect-color-primary) 75%,
|
|
33
|
-
var(--headingEffect-color-primary) 85%
|
|
34
|
-
);
|
|
35
|
-
background-clip: text;
|
|
36
|
-
-webkit-text-fill-color: transparent;
|
|
37
|
-
animation: wave 5s infinite;
|
|
38
|
-
background-size: 200% 200%;
|
|
39
|
-
background-position: 50% 50%; // Start with all colors visible
|
|
4
|
+
export interface CTABannerProps {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}
|
|
40
7
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
50% {
|
|
46
|
-
background-position: 0% 50%;
|
|
47
|
-
}
|
|
48
|
-
100% {
|
|
49
|
-
background-position: 50% 50%;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
`
|
|
8
|
+
export interface CTABannerHeadingProps {
|
|
9
|
+
title: string;
|
|
10
|
+
subtitle: string;
|
|
53
11
|
}
|
|
54
12
|
|
|
55
|
-
export interface
|
|
56
|
-
children: React.ReactNode
|
|
13
|
+
export interface CTABannerButtonGroupProps {
|
|
14
|
+
children: React.ReactNode;
|
|
57
15
|
}
|
|
58
16
|
|
|
59
17
|
export function CTABanner({children}: CTABannerProps) {
|
|
60
|
-
return
|
|
61
|
-
<div className={
|
|
62
|
-
<div className={
|
|
63
|
-
{
|
|
18
|
+
return (
|
|
19
|
+
<div className={cn.CTABannerHost}>
|
|
20
|
+
<div className={cn.CTABannerContainer}>
|
|
21
|
+
<div className={cn.CTABannerHero}>
|
|
22
|
+
{children}
|
|
23
|
+
</div>
|
|
64
24
|
</div>
|
|
65
25
|
</div>
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
const $heading = {
|
|
70
|
-
host: css`
|
|
71
|
-
display: flex;
|
|
72
|
-
align-items: center;
|
|
73
|
-
justify-content: center;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
`,
|
|
76
|
-
title: css`
|
|
77
|
-
font-size: 76px;
|
|
78
|
-
font-weight: 900;
|
|
79
|
-
text-align: center;
|
|
80
|
-
letter-spacing: 3px;
|
|
81
|
-
margin: 0;
|
|
82
|
-
`,
|
|
83
|
-
subtitle: css`
|
|
84
|
-
color: #3c3c43;
|
|
85
|
-
font-size: 46px;
|
|
86
|
-
font-weight: 600;
|
|
87
|
-
text-align: center;
|
|
88
|
-
`
|
|
26
|
+
);
|
|
89
27
|
}
|
|
90
28
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
{
|
|
101
|
-
headingEffect
|
|
102
|
-
? <span className={$banner.headingEffect}>
|
|
103
|
-
{title}
|
|
104
|
-
</span>
|
|
105
|
-
: title
|
|
106
|
-
}
|
|
107
|
-
</h1>
|
|
108
|
-
<p className={$heading.subtitle}>
|
|
109
|
-
{subtitle}
|
|
110
|
-
</p>
|
|
111
|
-
</div>
|
|
29
|
+
function Heading({title, subtitle}: CTABannerHeadingProps) {
|
|
30
|
+
return (
|
|
31
|
+
<div className={cn.CTABannerHeadingHost}>
|
|
32
|
+
<div className={cn.CTABannerHeadingEffect}>
|
|
33
|
+
<h1 className={cn.CTABannerHeadingTitle}>{title}</h1>
|
|
34
|
+
</div>
|
|
35
|
+
<h2 className={cn.CTABannerHeadingSubtitle}>{subtitle}</h2>
|
|
36
|
+
</div>
|
|
37
|
+
);
|
|
112
38
|
}
|
|
113
39
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
`
|
|
40
|
+
function ButtonGroup({children}: CTABannerButtonGroupProps) {
|
|
41
|
+
return (
|
|
42
|
+
<div className={cn.CTABannerButtonGroupHost}>
|
|
43
|
+
{children}
|
|
44
|
+
</div>
|
|
45
|
+
);
|
|
121
46
|
}
|
|
122
47
|
|
|
123
|
-
CTABanner.
|
|
124
|
-
|
|
125
|
-
{children}
|
|
126
|
-
</div>
|
|
127
|
-
}
|
|
48
|
+
CTABanner.Heading = Heading;
|
|
49
|
+
CTABanner.ButtonGroup = ButtonGroup;
|