@sleetch/react 1.0.7 → 1.0.8
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/dist/assets/button.css +1 -1
- package/dist/assets/content.css +1 -1
- package/dist/assets/content2.css +1 -1
- package/dist/assets/content3.css +1 -1
- package/dist/assets/file-system.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/layout.css +1 -1
- package/dist/assets/navigation.css +1 -1
- package/dist/assets/sidebar.css +1 -1
- package/dist/assets/toc.css +1 -1
- package/dist/{button-BVRKTAnQ.js → button-B6mWWZyo.js} +7 -7
- package/dist/button-B6mWWZyo.js.map +1 -0
- package/dist/{button-rojnIyoM.cjs → button-DLQL3vVY.cjs} +2 -2
- package/dist/button-DLQL3vVY.cjs.map +1 -0
- package/dist/components/button.cjs.js +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/documentation/content.cjs.js +1 -1
- package/dist/components/documentation/content.es.js +1 -1
- package/dist/components/documentation/header.cjs.js +1 -1
- package/dist/components/documentation/header.es.js +1 -1
- package/dist/components/documentation/layout.cjs.js +1 -1
- package/dist/components/documentation/layout.es.js +1 -1
- package/dist/components/documentation/page/content.cjs.js +1 -1
- package/dist/components/documentation/page/content.d.ts +2 -2
- package/dist/components/documentation/page/content.es.js +1 -1
- package/dist/components/documentation/page/header.cjs.js +1 -1
- package/dist/components/documentation/page/header.cjs.js.map +1 -1
- package/dist/components/documentation/page/header.d.ts +2 -2
- package/dist/components/documentation/page/header.es.js +14 -16
- package/dist/components/documentation/page/header.es.js.map +1 -1
- package/dist/components/documentation/page/loader.cjs.js +2 -0
- package/dist/components/documentation/page/loader.cjs.js.map +1 -0
- package/dist/components/documentation/page/loader.d.ts +6 -0
- package/dist/components/documentation/page/loader.es.js +7 -0
- package/dist/components/documentation/page/loader.es.js.map +1 -0
- package/dist/components/documentation/page/navigation.cjs.js +1 -1
- package/dist/components/documentation/page/navigation.es.js +1 -1
- package/dist/components/documentation/sidebar/content.cjs.js +1 -1
- package/dist/components/documentation/sidebar/content.es.js +1 -1
- package/dist/components/documentation/sidebar/index.cjs.js +1 -1
- package/dist/components/documentation/sidebar/index.es.js +1 -1
- package/dist/components/documentation/toc/content.cjs.js +1 -1
- package/dist/components/documentation/toc/content.es.js +1 -1
- package/dist/components/documentation/toc/index.cjs.js +1 -1
- package/dist/components/documentation/toc/index.d.ts +2 -2
- package/dist/components/documentation/toc/index.es.js +1 -1
- package/dist/components/file-system.cjs.js +1 -1
- package/dist/components/file-system.es.js +1 -1
- package/dist/{content-CQ5PQ1-Z.cjs → content-8dXeWXcA.cjs} +2 -2
- package/dist/content-8dXeWXcA.cjs.map +1 -0
- package/dist/{content-DsE39ENV.cjs → content-BJ6O_X1Y.cjs} +2 -2
- package/dist/content-BJ6O_X1Y.cjs.map +1 -0
- package/dist/content-BU9cbvVn.cjs +2 -0
- package/dist/content-BU9cbvVn.cjs.map +1 -0
- package/dist/{content-DvLxAJYd.js → content-CP58YEGJ.js} +3 -3
- package/dist/content-CP58YEGJ.js.map +1 -0
- package/dist/content-CjmD3T8J.cjs +2 -0
- package/dist/content-CjmD3T8J.cjs.map +1 -0
- package/dist/content-D0ROn3Pd.js +36 -0
- package/dist/content-D0ROn3Pd.js.map +1 -0
- package/dist/{content-Wo136UBd.js → content-DmSVqH2f.js} +4 -4
- package/dist/content-DmSVqH2f.js.map +1 -0
- package/dist/{content-CoLxuTJs.js → content-eQM-qDRO.js} +4 -4
- package/dist/content-eQM-qDRO.js.map +1 -0
- package/dist/contexts/documentation.cjs.js +1 -1
- package/dist/contexts/documentation.cjs.js.map +1 -1
- package/dist/contexts/documentation.d.ts +1 -1
- package/dist/contexts/documentation.es.js +8 -8
- package/dist/contexts/documentation.es.js.map +1 -1
- package/dist/{file-system-Ca6fqwTn.cjs → file-system-BNu9B10z.cjs} +2 -2
- package/dist/file-system-BNu9B10z.cjs.map +1 -0
- package/dist/{file-system-CMsswKsJ.js → file-system-SWuikr8O.js} +12 -12
- package/dist/file-system-SWuikr8O.js.map +1 -0
- package/dist/{header-DDS6Ak-Z.js → header-1bJsyr4I.js} +7 -7
- package/dist/header-1bJsyr4I.js.map +1 -0
- package/dist/{header-CmQhY5Pa.cjs → header-3dQ5Gq3p.cjs} +2 -2
- package/dist/header-3dQ5Gq3p.cjs.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +10 -9
- package/dist/index.es.js +15 -14
- package/dist/{layout-C_NguCrO.js → layout-BE3-MmWB.js} +2 -2
- package/dist/layout-BE3-MmWB.js.map +1 -0
- package/dist/{layout-B9nkyVRH.cjs → layout-vfa7JhoC.cjs} +2 -2
- package/dist/layout-vfa7JhoC.cjs.map +1 -0
- package/dist/{navigation-bIVcotMC.js → navigation-BWmLA_nr.js} +37 -37
- package/dist/navigation-BWmLA_nr.js.map +1 -0
- package/dist/navigation-D6nkWYOB.cjs +2 -0
- package/dist/navigation-D6nkWYOB.cjs.map +1 -0
- package/dist/sidebar-D7bXjwCm.js +162 -0
- package/dist/sidebar-D7bXjwCm.js.map +1 -0
- package/dist/sidebar-DSOeiBFI.cjs +2 -0
- package/dist/sidebar-DSOeiBFI.cjs.map +1 -0
- package/dist/toc-DkBTetNW.cjs +2 -0
- package/dist/toc-DkBTetNW.cjs.map +1 -0
- package/dist/toc-rfPQJ_Pf.js +101 -0
- package/dist/toc-rfPQJ_Pf.js.map +1 -0
- package/package.json +47 -47
- package/dist/button-BVRKTAnQ.js.map +0 -1
- package/dist/button-rojnIyoM.cjs.map +0 -1
- package/dist/content-CQ5PQ1-Z.cjs.map +0 -1
- package/dist/content-CoLxuTJs.js.map +0 -1
- package/dist/content-DOo3vcgG.cjs +0 -2
- package/dist/content-DOo3vcgG.cjs.map +0 -1
- package/dist/content-DsE39ENV.cjs.map +0 -1
- package/dist/content-DvLxAJYd.js.map +0 -1
- package/dist/content-KDKeEwv-.cjs +0 -2
- package/dist/content-KDKeEwv-.cjs.map +0 -1
- package/dist/content-Wo136UBd.js.map +0 -1
- package/dist/content-xKdbA544.js +0 -37
- package/dist/content-xKdbA544.js.map +0 -1
- package/dist/file-system-CMsswKsJ.js.map +0 -1
- package/dist/file-system-Ca6fqwTn.cjs.map +0 -1
- package/dist/header-CmQhY5Pa.cjs.map +0 -1
- package/dist/header-DDS6Ak-Z.js.map +0 -1
- package/dist/layout-B9nkyVRH.cjs.map +0 -1
- package/dist/layout-C_NguCrO.js.map +0 -1
- package/dist/navigation-BCpfEaXG.cjs +0 -2
- package/dist/navigation-BCpfEaXG.cjs.map +0 -1
- package/dist/navigation-bIVcotMC.js.map +0 -1
- package/dist/sidebar-CiheJpEa.cjs +0 -2
- package/dist/sidebar-CiheJpEa.cjs.map +0 -1
- package/dist/sidebar-aXd_UA6s.js +0 -162
- package/dist/sidebar-aXd_UA6s.js.map +0 -1
- package/dist/toc-CI_8-KFH.cjs +0 -2
- package/dist/toc-CI_8-KFH.cjs.map +0 -1
- package/dist/toc-Dvn-UEjm.js +0 -103
- package/dist/toc-Dvn-UEjm.js.map +0 -1
package/dist/assets/button.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._default_d34fg_2,._primary_d34fg_3,._secondary_d34fg_4,._ghost_d34fg_5,._outline_d34fg_6,._destructive_d34fg_7{border-radius:var(--_sleetch-radius);font-family:var(--_sleetch-font-base);cursor:pointer;transition:background-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), border-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), filter var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);border:1px solid #0000;justify-content:center;align-items:center;padding:3px 10px;display:inline-flex}._default_d34fg_2{color:var(--_sleetch-color-text);background-color:var(--_sleetch-color-background);border-color:var(--_sleetch-color-border)}._default_d34fg_2:hover{background-color:var(--_sleetch-color-muted);border-color:var(--_sleetch-color-text-underline)}._outline_d34fg_6{color:var(--_sleetch-color-text);border-color:var(--_sleetch-color-border)}._outline_d34fg_6:hover{background-color:var(--_sleetch-color-muted);border-color:var(--_sleetch-color-text-underline)}._primary_d34fg_3{color:var(--_sleetch-color-primary-foreground);background-color:var(--_sleetch-color-text-primary);border-color:#0000}._primary_d34fg_3:hover{filter:brightness(1.1)}._secondary_d34fg_4{color:var(--_sleetch-color-text);background-color:var(--_sleetch-color-secondary);border-color:var(--_sleetch-color-border)}._secondary_d34fg_4:hover{background-color:var(--_sleetch-color-muted)}._ghost_d34fg_5{color:var(--_sleetch-color-text);background-color:#0000;border-color:#0000}._ghost_d34fg_5:hover{background-color:var(--_sleetch-color-muted)}._destructive_d34fg_7{color:var(--_sleetch-color-background);background-color:var(--_sleetch-syntax-deletion);border-color:#0000}._destructive_d34fg_7:hover{filter:brightness(1.1)}._default_d34fg_2:active,._primary_d34fg_3:active,._secondary_d34fg_4:active,._ghost_d34fg_5:active,._outline_d34fg_6:active,._destructive_d34fg_7:active{transform:scale(.98)}._default_d34fg_2:disabled,._primary_d34fg_3:disabled,._secondary_d34fg_4:disabled,._ghost_d34fg_5:disabled,._outline_d34fg_6:disabled,._destructive_d34fg_7:disabled{opacity:.5;cursor:not-allowed;filter:none;transform:none}@media (width<=768px){._default_d34fg_2,._primary_d34fg_3,._secondary_d34fg_4,._ghost_d34fg_5,._outline_d34fg_6,._destructive_d34fg_7{padding:6px 12px;font-size:14px}}.sleetch-markdown ._default_d34fg_2,.sleetch-markdown ._primary_d34fg_3,.sleetch-markdown ._secondary_d34fg_4,.sleetch-markdown ._ghost_d34fg_5,.sleetch-markdown ._outline_d34fg_6,.sleetch-markdown ._destructive_d34fg_7{margin:0 0 1em}
|
package/dist/assets/content.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._default_nb3kz_1{min-height:calc(100vh - var(--_sleetch-header-height));flex:1;display:flex}@media (width<=768px){._default_nb3kz_1{flex-direction:column}}
|
package/dist/assets/content2.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._default_1r9fi_1{min-height:calc(100vh - var(--_sleetch-header-height));flex:1;display:flex}@media (width<=768px){._default_1r9fi_1{flex-direction:column}}
|
|
1
|
+
@import "https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css";.sleetch-markdown+.sleetch-markdown{padding-top:0}.sleetch-markdown:has(+.sleetch-markdown){padding-bottom:0}.sleetch-markdown{color:var(--_sleetch-color-text);padding:var(--_sleetch-padding-root);background:var(--_sleetch-color-background);font-family:var(--_sleetch-font-base);line-height:var(--_sleetch-line-height);width:100%}@media (width<=768px){.sleetch-markdown{padding:1em;font-size:15px}.sleetch-markdown h1:not(.no-sleetch-markdown *){font-size:1.75em}.sleetch-markdown h2:not(.no-sleetch-markdown *){font-size:1.4em}.sleetch-markdown h3:not(.no-sleetch-markdown *){font-size:1.2em}.sleetch-markdown pre:not(.no-sleetch-markdown *){font-size:13px}.sleetch-markdown code:not(.no-sleetch-markdown *){font-size:.85em}}@media (width>=769px) and (width<=1024px){.sleetch-markdown{padding:1.5em 2em}}.sleetch-markdown hr:not(.no-sleetch-markdown *){height:var(--_sleetch-hr-height);border:0;border-top:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);margin:var(--_sleetch-margin-hr) 0;padding:0;display:block}.sleetch-markdown h1:not(.no-sleetch-markdown *),.sleetch-markdown h2:not(.no-sleetch-markdown *),.sleetch-markdown h3:not(.no-sleetch-markdown *),.sleetch-markdown h4:not(.no-sleetch-markdown *){font-weight:var(--_sleetch-font-weight-heading);line-height:var(--_sleetch-line-height-heading);margin:var(--_sleetch-margin-heading)}.sleetch-markdown h1:not(.no-sleetch-markdown *){font-size:var(--_sleetch-font-size-h1)}.sleetch-markdown h2:not(.no-sleetch-markdown *){font-size:var(--_sleetch-font-size-h2)}.sleetch-markdown h3:not(.no-sleetch-markdown *){font-size:var(--_sleetch-font-size-h3)}.sleetch-markdown p:not(.no-sleetch-markdown *){margin:var(--_sleetch-margin-paragraph)}:is(.sleetch-markdown a:has(.no-sleetch-markdown),.sleetch-markdown a:not(:has(>*)),.sleetch-markdown a:not(:has(>button:only-child))){color:var(--_sleetch-color-text-primary);border-bottom:var(--_sleetch-underline-height) solid var(--_sleetch-color-text-underline);transition:border-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), transform var(--_sleetch-transition-duration) var(--_sleetch-transition-timing)}.sleetch-markdown a:not(.no-sleetch-markdown *):hover{border-bottom-color:var(--_sleetch-color-text-primary)}.sleetch-markdown ul:not(.no-sleetch-markdown *),.sleetch-markdown ol:not(.no-sleetch-markdown *){margin:var(--_sleetch-margin-list)}.sleetch-markdown ul li:not(.no-sleetch-markdown *){list-style-type:disc}.sleetch-markdown ol li:not(.no-sleetch-markdown *){list-style-type:decimal}.sleetch-markdown li:not(.no-sleetch-markdown *){margin:var(--_sleetch-margin-li);list-style-position:outside}.sleetch-markdown ol li:not(.no-sleetch-markdown *)::marker{color:var(--_sleetch-color-muted-foreground)}.sleetch-markdown ul li:not(.no-sleetch-markdown *)::marker{color:var(--_sleetch-color-muted-foreground)}.sleetch-markdown li:not(.no-sleetch-markdown *)>p:first-child{margin-top:0;margin-bottom:0}.sleetch-markdown li:not(.no-sleetch-markdown *)>p:last-child{margin-bottom:0}.sleetch-markdown ul:not(.no-sleetch-markdown *)>li{list-style-type:disc}.sleetch-markdown ol:not(.no-sleetch-markdown *)>li{list-style-type:decimal}.sleetch-markdown p:not(.no-sleetch-markdown *)>pre{background:var(--_sleetch-color-card);padding:var(--_sleetch-padding-pre);border-radius:var(--_sleetch-radius);border:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);overflow:auto}.sleetch-markdown code:not(.no-sleetch-markdown *){font-family:var(--_sleetch-font-mono);background:var(--_sleetch-color-card);padding:var(--_sleetch-padding-code);border-radius:var(--_sleetch-radius)}.sleetch-markdown blockquote:not(.no-sleetch-markdown *){margin:var(--_sleetch-margin-blockquote);padding:var(--_sleetch-padding-blockquote);background:color-mix(in srgb, var(--_sleetch-color-card) 30%, transparent);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-color-blockquote-border);color:var(--_sleetch-color-foreground)}.sleetch-markdown blockquote:not(.no-sleetch-markdown *) p:last-child{margin-bottom:0}.no-sleetch-markdown{all:revert;box-sizing:border-box}.sleetch-markdown h1:not(.no-sleetch-markdown *) a,.sleetch-markdown h2:not(.no-sleetch-markdown *) a,.sleetch-markdown h3:not(.no-sleetch-markdown *) a,.sleetch-markdown h4:not(.no-sleetch-markdown *) a,.sleetch-markdown h5:not(.no-sleetch-markdown *) a,.sleetch-markdown h6:not(.no-sleetch-markdown *) a{color:inherit;border-bottom:none;text-decoration:none}.sleetch-markdown h1:not(.no-sleetch-markdown *):has(>a):after{content:"#";color:var(--_sleetch-color-muted-foreground);opacity:0;transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);margin-left:.5em}.sleetch-markdown h2:not(.no-sleetch-markdown *):has(>a):after{content:"#";color:var(--_sleetch-color-muted-foreground);opacity:0;transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);margin-left:.5em}.sleetch-markdown h3:not(.no-sleetch-markdown *):has(>a):after{content:"#";color:var(--_sleetch-color-muted-foreground);opacity:0;transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);margin-left:.5em}.sleetch-markdown h4:not(.no-sleetch-markdown *):has(>a):after{content:"#";color:var(--_sleetch-color-muted-foreground);opacity:0;transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);margin-left:.5em}.sleetch-markdown h5:not(.no-sleetch-markdown *):has(>a):after{content:"#";color:var(--_sleetch-color-muted-foreground);opacity:0;transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);margin-left:.5em}.sleetch-markdown h6:not(.no-sleetch-markdown *):has(>a):after{content:"#";color:var(--_sleetch-color-muted-foreground);opacity:0;transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);margin-left:.5em}.sleetch-markdown h1:not(.no-sleetch-markdown *):has(>a):hover:after{opacity:1}.sleetch-markdown h2:not(.no-sleetch-markdown *):has(>a):hover:after{opacity:1}.sleetch-markdown h3:not(.no-sleetch-markdown *):has(>a):hover:after{opacity:1}.sleetch-markdown h4:not(.no-sleetch-markdown *):has(>a):hover:after{opacity:1}.sleetch-markdown h5:not(.no-sleetch-markdown *):has(>a):hover:after{opacity:1}.sleetch-markdown h6:not(.no-sleetch-markdown *):has(>a):hover:after{opacity:1}.sleetch-markdown table:not(.no-sleetch-markdown *){border-collapse:collapse;border-spacing:0;max-width:100%;margin:var(--_sleetch-margin-paragraph);border-radius:var(--_sleetch-radius);border:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);background:var(--_sleetch-color-background);overflow:auto hidden}.sleetch-markdown thead:not(.no-sleetch-markdown *){background:var(--_sleetch-color-card)}.sleetch-markdown th:not(.no-sleetch-markdown *),.sleetch-markdown td:not(.no-sleetch-markdown *){text-align:left;vertical-align:middle;border-bottom:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);padding:.65rem .9rem}.sleetch-markdown th:not(.no-sleetch-markdown *){font-weight:var(--_sleetch-font-weight-heading);color:var(--_sleetch-color-text);white-space:nowrap}.sleetch-markdown td:not(.no-sleetch-markdown *){color:var(--_sleetch-color-text)}.sleetch-markdown tbody tr:not(.no-sleetch-markdown *):last-child td{border-bottom:0}.sleetch-markdown tbody tr:not(.no-sleetch-markdown *):hover{background:color-mix(in srgb, var(--_sleetch-color-card) 50%, transparent)}.sleetch-markdown caption:not(.no-sleetch-markdown *){caption-side:bottom;color:var(--_sleetch-color-muted-foreground);padding-top:.5rem;font-size:.85em}.sleetch-markdown table.striped:not(.no-sleetch-markdown *) tbody tr:nth-child(2n){background:color-mix(in srgb, var(--_sleetch-color-card) 40%, transparent)}.sleetch-markdown table.compact:not(.no-sleetch-markdown *) th,.sleetch-markdown table.compact:not(.no-sleetch-markdown *) td{padding:.4rem .6rem}.sleetch-markdown th[align=center]:not(.no-sleetch-markdown *),.sleetch-markdown td[align=center]:not(.no-sleetch-markdown *){text-align:center}.sleetch-markdown th[align=right]:not(.no-sleetch-markdown *),.sleetch-markdown td[align=right]:not(.no-sleetch-markdown *){text-align:right}.sleetch-markdown img:not(.no-sleetch-markdown *){object-fit:contain;border-radius:var(--_sleetch-radius);width:auto;max-width:100%;height:auto;max-height:70vh;margin:1rem auto;display:block}.sleetch-markdown svg:not(.no-sleetch-markdown *){max-width:100%;height:auto;margin:1rem auto;display:block}.sleetch-markdown pre.line-numbers:not(.no-sleetch-markdown *) code:not(.no-sleetch-markdown *){counter-reset:step;counter-increment:step 0}.sleetch-markdown pre.line-numbers:not(.no-sleetch-markdown *) code:not(.no-sleetch-markdown *) .line:not(.diff):before{content:counter(step);counter-increment:step;text-align:right;opacity:.3;margin-right:1rem;display:inline-block}.sleetch-markdown pre:not(.no-sleetch-markdown *){background:var(--_sleetch-color-card);border-radius:var(--_sleetch-radius);border:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);margin:0 0 1em}.sleetch-markdown pre:not(.no-sleetch-markdown *) code:not(.no-sleetch-markdown *){padding:0;padding:var(--_sleetch-padding-pre);font-size:var(--_sleetch-pre-font-size);line-height:var(--_sleetch-pre-line-height);white-space:pre;color:var(--_sleetch-color-text);font-family:var(--_sleetch-font-mono);background:0 0;border-radius:0;display:block}.sleetch-markdown pre.shiki .line{width:100%;padding:0 var(--_sleetch-padding-pre);margin-inline:calc(var(--_sleetch-padding-pre) * -1);transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), filter var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);display:inline-block}.sleetch-markdown .code-title{font-family:var(--_sleetch-font-mono);color:var(--_sleetch-color-muted-foreground);padding:.5em var(--_sleetch-padding-pre);border-bottom:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);border-radius:var(--_sleetch-radius) var(--_sleetch-radius) 0 0;letter-spacing:.02em;font-size:.8em}.sleetch-markdown pre.shiki.has-title code{padding-top:.8em;display:block}.sleetch-markdown pre.shiki .line.highlighted{background:color-mix(in srgb, var(--_sleetch-color-text-primary) 12%, transparent);border-left:2px solid var(--_sleetch-color-text-primary)}.sleetch-markdown pre.shiki .highlighted-word{background:color-mix(in srgb, var(--_sleetch-color-text-primary) 20%, transparent);border-radius:3px;padding:0 2px}.sleetch-markdown pre.shiki .line.diff{padding-left:calc(var(--_sleetch-padding-pre) + 1em);position:relative}.sleetch-markdown pre.shiki .line.diff:before{left:var(--_sleetch-padding-pre);font-family:var(--_sleetch-font-mono);position:absolute}.sleetch-markdown pre.shiki .line.diff.add{background:color-mix(in srgb, var(--_sleetch-syntax-addition) 15%, transparent)}.sleetch-markdown pre.shiki .line.diff.add:before{content:"+";color:var(--_sleetch-syntax-addition)}.sleetch-markdown pre.shiki .line.diff.remove{background:color-mix(in srgb, var(--_sleetch-syntax-deletion) 15%, transparent)}.sleetch-markdown pre.shiki .line.diff.remove:before{content:"-";color:var(--_sleetch-syntax-deletion)}.sleetch-markdown pre.shiki.has-focused .line{opacity:.4;filter:blur(.15px)}.sleetch-markdown pre.shiki.has-focused .line.focused,.sleetch-markdown pre.shiki.has-focused:hover .line{opacity:1;filter:none}.sleetch-markdown pre.shiki .line.highlighted.error{background:color-mix(in srgb, var(--_sleetch-syntax-deletion) 18%, transparent);border-left:2px solid var(--_sleetch-syntax-deletion)}.sleetch-markdown pre.shiki .line.highlighted.warning{background:#e0af682e;border-left:2px solid #e0af68}@media (prefers-reduced-motion:reduce){.sleetch-markdown .twoslash :not(.no-sleetch-markdown *){transition:none!important}}.sleetch-markdown .twoslash:hover .twoslash-hover:not(.no-sleetch-markdown *){border-color:var(--_sleetch-twoslash-underline-color)}.sleetch-markdown .twoslash .twoslash-hover:not(.no-sleetch-markdown *){transition-timing-function:var(--_sleetch-transition-timing);transition:border-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);border-bottom:1px dotted #0000;position:relative}.sleetch-markdown .twoslash .twoslash-popup-container:not(.no-sleetch-markdown *){opacity:0;background:var(--_sleetch-twoslash-popup-bg);color:var(--_sleetch-twoslash-popup-color);border:var(--_sleetch-hr-height) solid var(--_sleetch-twoslash-border-color);transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);border-radius:var(--_sleetch-radius);pointer-events:none;z-index:10;-webkit-user-select:none;user-select:none;text-align:left;box-shadow:var(--_sleetch-twoslash-popup-shadow);flex-direction:column;display:inline-flex;position:absolute;transform:translateY(1.1em)}.sleetch-markdown .twoslash .twoslash-query-persisted .twoslash-popup-container:not(.no-sleetch-markdown *){z-index:9;transform:translateY(1.5em)}.sleetch-markdown .twoslash .twoslash-hover:hover .twoslash-popup-container,.sleetch-markdown .twoslash .twoslash-error-hover:hover .twoslash-popup-container,.sleetch-markdown .twoslash .twoslash-query-persisted .twoslash-popup-container,.sleetch-markdown .twoslash .twoslash-query-line .twoslash-popup-container{opacity:1;pointer-events:auto}.sleetch-markdown .twoslash .twoslash-popup-container:hover{-webkit-user-select:auto;user-select:auto}.sleetch-markdown .twoslash .twoslash-popup-arrow:not(.no-sleetch-markdown *){border-top:var(--_sleetch-hr-height) solid var(--_sleetch-twoslash-border-color);border-right:var(--_sleetch-hr-height) solid var(--_sleetch-twoslash-border-color);background:var(--_sleetch-twoslash-popup-bg);pointer-events:none;width:6px;height:6px;position:absolute;top:-4px;left:1em;transform:rotate(-45deg)}.sleetch-markdown .twoslash .twoslash-popup-code,.sleetch-markdown .twoslash .twoslash-popup-error,.sleetch-markdown .twoslash .twoslash-popup-docs{padding:6px 8px!important}.sleetch-markdown .twoslash .twoslash-popup-code:not(.no-sleetch-markdown *){font-family:var(--_sleetch-twoslash-code-font);font-size:var(--_sleetch-twoslash-code-font-size)}.sleetch-markdown .twoslash .twoslash-popup-docs:not(.no-sleetch-markdown *){color:var(--_sleetch-twoslash-docs-color);font-family:var(--_sleetch-twoslash-docs-font);border-top:var(--_sleetch-hr-height) solid var(--_sleetch-twoslash-border-color);font-size:.8em}.sleetch-markdown .twoslash .twoslash-popup-error:not(.no-sleetch-markdown *){color:var(--_sleetch-twoslash-error-color);background-color:var(--_sleetch-twoslash-error-bg);font-family:var(--_sleetch-twoslash-docs-font);font-size:.8em}.sleetch-markdown .twoslash .twoslash-popup-docs-tags:not(.no-sleetch-markdown *){font-family:var(--_sleetch-twoslash-docs-font);flex-direction:column;display:flex}.sleetch-markdown .twoslash .twoslash-popup-docs-tags,.sleetch-markdown .twoslash .twoslash-popup-docs-tag-name{margin-right:.5em}.sleetch-markdown .twoslash .twoslash-popup-docs-tag-name:not(.no-sleetch-markdown *){font-family:var(--_sleetch-twoslash-code-font)}.sleetch-markdown .twoslash .twoslash-query-line .twoslash-popup-container{margin-bottom:1.4em;position:relative;transform:translateY(.6em)}.sleetch-markdown .twoslash .twoslash-error-line:not(.no-sleetch-markdown *){background-color:var(--_sleetch-twoslash-error-bg);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-twoslash-error-color);color:var(--_sleetch-twoslash-error-color);width:max-content;min-width:100%;margin:.2em 0;padding:6px 12px;position:relative}.sleetch-markdown .twoslash .twoslash-error-line.twoslash-error-level-warning{background-color:var(--_sleetch-twoslash-warn-bg);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-twoslash-warn-color);color:var(--_sleetch-twoslash-warn-color)}.sleetch-markdown .twoslash .twoslash-error:not(.no-sleetch-markdown *){background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%206%203'%20height%3D'3'%20width%3D'6'%3E%3Cg%20fill%3D'currentColor'%3E%3Cpolygon%20points%3D'5.5%2C0%202.5%2C3%201.1%2C3%204.1%2C0'%2F%3E%3Cpolygon%20points%3D'4%2C0%206%2C2%206%2C0.6%205.4%2C0'%2F%3E%3Cpolygon%20points%3D'0%2C2%201%2C3%202.4%2C3%200%2C0.6'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 100% repeat-x;padding-bottom:2px}.sleetch-markdown .twoslash .twoslash-completion-cursor:not(.no-sleetch-markdown *){position:relative}.sleetch-markdown .twoslash svg{max-width:100%;height:auto;margin:.5em auto;display:block}.sleetch-markdown .twoslash .twoslash-completion-cursor .twoslash-completion-list{-webkit-user-select:none;user-select:none;z-index:8;background:var(--_sleetch-twoslash-popup-bg);border:var(--_sleetch-hr-height) solid var(--_sleetch-twoslash-border-color);border-radius:var(--_sleetch-radius);margin:3px 0 0 -1px;display:inline-block;position:absolute;top:0;left:0;transform:translateY(1.2em)}.sleetch-markdown .twoslash-completion-list:not(.no-sleetch-markdown *){flex-direction:column;gap:4px;width:240px;padding:4px;font-size:.8rem;display:flex}.sleetch-markdown .twoslash-completion-list:hover{-webkit-user-select:auto;user-select:auto}.sleetch-markdown .twoslash-completion-list:before{background-color:var(--_sleetch-twoslash-cursor-color);content:" ";width:2px;height:1.4em;position:absolute;top:-1.6em;left:-1px}.sleetch-markdown .twoslash-completion-list li:not(.no-sleetch-markdown *){align-items:center;gap:.25em;margin:0;line-height:1em;display:flex;overflow:hidden}.sleetch-markdown .twoslash-completion-list li span.twoslash-completions-unmatched{color:var(--_sleetch-twoslash-unmatched-color)}.sleetch-markdown .twoslash-completion-list .deprecated{opacity:.5;text-decoration:line-through}.sleetch-markdown .twoslash-completion-list li span.twoslash-completions-matched{color:var(--_sleetch-twoslash-matched-color)}.sleetch-markdown .twoslash-highlighted:not(.no-sleetch-markdown *){background-color:var(--_sleetch-twoslash-highlighted-bg);border:var(--_sleetch-hr-height) solid var(--_sleetch-twoslash-highlighted-border);border-radius:var(--_sleetch-radius);margin:-1px -3px;padding:1px 2px}.sleetch-markdown .twoslash-completion-list .twoslash-completions-icon{color:var(--_sleetch-twoslash-unmatched-color);flex:none;width:1em}.sleetch-markdown .twoslash .twoslash-tag-line:not(.no-sleetch-markdown *){background-color:var(--_sleetch-twoslash-tag-bg);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-twoslash-tag-color);color:var(--_sleetch-twoslash-tag-color);align-items:center;gap:.3em;width:max-content;min-width:100%;margin:.2em 0;padding:6px 10px;display:flex;position:relative}.sleetch-markdown .twoslash .twoslash-tag-line .twoslash-tag-icon{width:1.1em;color:inherit}.sleetch-markdown .twoslash .twoslash-tag-line.twoslash-tag-error-line{background-color:var(--_sleetch-twoslash-error-bg);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-twoslash-error-color);color:var(--_sleetch-twoslash-error-color)}.sleetch-markdown .twoslash .twoslash-tag-line.twoslash-tag-warn-line{background-color:var(--_sleetch-twoslash-tag-warn-bg);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-twoslash-tag-warn-color);color:var(--_sleetch-twoslash-tag-warn-color)}.sleetch-markdown .twoslash .twoslash-tag-line.twoslash-tag-annotate-line{background-color:var(--_sleetch-twoslash-tag-annotate-bg);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-twoslash-tag-annotate-color);color:var(--_sleetch-twoslash-tag-annotate-color)}.sleetch-markdown pre.shiki{max-width:100%;overflow:auto visible}
|
package/dist/assets/content3.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css";.sleetch-markdown+.sleetch-markdown{padding-top:0}.sleetch-markdown:has(+.sleetch-markdown){padding-bottom:0}.sleetch-markdown{color:var(--_sleetch-color-text);padding:var(--_sleetch-padding-root);background:var(--_sleetch-color-background);font-family:var(--_sleetch-font-base);line-height:var(--_sleetch-line-height);width:100%}@media (width<=768px){.sleetch-markdown{padding:1em;font-size:15px}.sleetch-markdown h1:not(.no-sleetch-markdown *){font-size:1.75em}.sleetch-markdown h2:not(.no-sleetch-markdown *){font-size:1.4em}.sleetch-markdown h3:not(.no-sleetch-markdown *){font-size:1.2em}.sleetch-markdown pre:not(.no-sleetch-markdown *){font-size:13px}.sleetch-markdown code:not(.no-sleetch-markdown *){font-size:.85em}}@media (width>=769px) and (width<=1024px){.sleetch-markdown{padding:1.5em 2em}}.sleetch-markdown hr:not(.no-sleetch-markdown *){height:var(--_sleetch-hr-height);border:0;border-top:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);margin:var(--_sleetch-margin-hr) 0;padding:0;display:block}.sleetch-markdown h1:not(.no-sleetch-markdown *),.sleetch-markdown h2:not(.no-sleetch-markdown *),.sleetch-markdown h3:not(.no-sleetch-markdown *),.sleetch-markdown h4:not(.no-sleetch-markdown *){font-weight:var(--_sleetch-font-weight-heading);line-height:var(--_sleetch-line-height-heading);margin:var(--_sleetch-margin-heading)}.sleetch-markdown h1:not(.no-sleetch-markdown *){font-size:var(--_sleetch-font-size-h1)}.sleetch-markdown h2:not(.no-sleetch-markdown *){font-size:var(--_sleetch-font-size-h2)}.sleetch-markdown h3:not(.no-sleetch-markdown *){font-size:var(--_sleetch-font-size-h3)}.sleetch-markdown p:not(.no-sleetch-markdown *){margin:var(--_sleetch-margin-paragraph)}:is(.sleetch-markdown a:has(.no-sleetch-markdown),.sleetch-markdown a:not(:has(>*)),.sleetch-markdown a:not(:has(>button:only-child))){color:var(--_sleetch-color-text-primary);border-bottom:var(--_sleetch-underline-height) solid var(--_sleetch-color-text-underline);transition:border-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), transform var(--_sleetch-transition-duration) var(--_sleetch-transition-timing)}.sleetch-markdown a:not(.no-sleetch-markdown *):hover{border-bottom-color:var(--_sleetch-color-text-primary)}.sleetch-markdown ul:not(.no-sleetch-markdown *),.sleetch-markdown ol:not(.no-sleetch-markdown *){margin:var(--_sleetch-margin-list)}.sleetch-markdown ul li:not(.no-sleetch-markdown *){list-style-type:disc}.sleetch-markdown ol li:not(.no-sleetch-markdown *){list-style-type:decimal}.sleetch-markdown li:not(.no-sleetch-markdown *){margin:var(--_sleetch-margin-li);list-style-position:outside}.sleetch-markdown ol li:not(.no-sleetch-markdown *)::marker{color:var(--_sleetch-color-muted-foreground)}.sleetch-markdown ul li:not(.no-sleetch-markdown *)::marker{color:var(--_sleetch-color-muted-foreground)}.sleetch-markdown li:not(.no-sleetch-markdown *)>p:first-child{margin-top:0;margin-bottom:0}.sleetch-markdown li:not(.no-sleetch-markdown *)>p:last-child{margin-bottom:0}.sleetch-markdown ul:not(.no-sleetch-markdown *)>li{list-style-type:disc}.sleetch-markdown ol:not(.no-sleetch-markdown *)>li{list-style-type:decimal}.sleetch-markdown p:not(.no-sleetch-markdown *)>pre{background:var(--_sleetch-color-card);padding:var(--_sleetch-padding-pre);border-radius:var(--_sleetch-radius);border:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);overflow:auto}.sleetch-markdown code:not(.no-sleetch-markdown *){font-family:var(--_sleetch-font-mono);background:var(--_sleetch-color-card);padding:var(--_sleetch-padding-code);border-radius:var(--_sleetch-radius)}.sleetch-markdown blockquote:not(.no-sleetch-markdown *){margin:var(--_sleetch-margin-blockquote);padding:var(--_sleetch-padding-blockquote);background:color-mix(in srgb, var(--_sleetch-color-card) 30%, transparent);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-color-blockquote-border);color:var(--_sleetch-color-foreground)}.sleetch-markdown blockquote:not(.no-sleetch-markdown *) p:last-child{margin-bottom:0}.no-sleetch-markdown{all:revert;box-sizing:border-box}.sleetch-markdown h1:not(.no-sleetch-markdown *) a,.sleetch-markdown h2:not(.no-sleetch-markdown *) a,.sleetch-markdown h3:not(.no-sleetch-markdown *) a,.sleetch-markdown h4:not(.no-sleetch-markdown *) a,.sleetch-markdown h5:not(.no-sleetch-markdown *) a,.sleetch-markdown h6:not(.no-sleetch-markdown *) a{color:inherit;border-bottom:none;text-decoration:none}.sleetch-markdown h1:not(.no-sleetch-markdown *):has(>a):after{content:"#";color:var(--_sleetch-color-muted-foreground);opacity:0;transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);margin-left:.5em}.sleetch-markdown h2:not(.no-sleetch-markdown *):has(>a):after{content:"#";color:var(--_sleetch-color-muted-foreground);opacity:0;transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);margin-left:.5em}.sleetch-markdown h3:not(.no-sleetch-markdown *):has(>a):after{content:"#";color:var(--_sleetch-color-muted-foreground);opacity:0;transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);margin-left:.5em}.sleetch-markdown h4:not(.no-sleetch-markdown *):has(>a):after{content:"#";color:var(--_sleetch-color-muted-foreground);opacity:0;transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);margin-left:.5em}.sleetch-markdown h5:not(.no-sleetch-markdown *):has(>a):after{content:"#";color:var(--_sleetch-color-muted-foreground);opacity:0;transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);margin-left:.5em}.sleetch-markdown h6:not(.no-sleetch-markdown *):has(>a):after{content:"#";color:var(--_sleetch-color-muted-foreground);opacity:0;transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);margin-left:.5em}.sleetch-markdown h1:not(.no-sleetch-markdown *):has(>a):hover:after{opacity:1}.sleetch-markdown h2:not(.no-sleetch-markdown *):has(>a):hover:after{opacity:1}.sleetch-markdown h3:not(.no-sleetch-markdown *):has(>a):hover:after{opacity:1}.sleetch-markdown h4:not(.no-sleetch-markdown *):has(>a):hover:after{opacity:1}.sleetch-markdown h5:not(.no-sleetch-markdown *):has(>a):hover:after{opacity:1}.sleetch-markdown h6:not(.no-sleetch-markdown *):has(>a):hover:after{opacity:1}.sleetch-markdown table:not(.no-sleetch-markdown *){border-collapse:collapse;border-spacing:0;max-width:100%;margin:var(--_sleetch-margin-paragraph);border-radius:var(--_sleetch-radius);border:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);background:var(--_sleetch-color-background);overflow:auto hidden}.sleetch-markdown thead:not(.no-sleetch-markdown *){background:var(--_sleetch-color-card)}.sleetch-markdown th:not(.no-sleetch-markdown *),.sleetch-markdown td:not(.no-sleetch-markdown *){text-align:left;vertical-align:middle;border-bottom:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);padding:.65rem .9rem}.sleetch-markdown th:not(.no-sleetch-markdown *){font-weight:var(--_sleetch-font-weight-heading);color:var(--_sleetch-color-text);white-space:nowrap}.sleetch-markdown td:not(.no-sleetch-markdown *){color:var(--_sleetch-color-text)}.sleetch-markdown tbody tr:not(.no-sleetch-markdown *):last-child td{border-bottom:0}.sleetch-markdown tbody tr:not(.no-sleetch-markdown *):hover{background:color-mix(in srgb, var(--_sleetch-color-card) 50%, transparent)}.sleetch-markdown caption:not(.no-sleetch-markdown *){caption-side:bottom;color:var(--_sleetch-color-muted-foreground);padding-top:.5rem;font-size:.85em}.sleetch-markdown table.striped:not(.no-sleetch-markdown *) tbody tr:nth-child(2n){background:color-mix(in srgb, var(--_sleetch-color-card) 40%, transparent)}.sleetch-markdown table.compact:not(.no-sleetch-markdown *) th,.sleetch-markdown table.compact:not(.no-sleetch-markdown *) td{padding:.4rem .6rem}.sleetch-markdown th[align=center]:not(.no-sleetch-markdown *),.sleetch-markdown td[align=center]:not(.no-sleetch-markdown *){text-align:center}.sleetch-markdown th[align=right]:not(.no-sleetch-markdown *),.sleetch-markdown td[align=right]:not(.no-sleetch-markdown *){text-align:right}.sleetch-markdown img:not(.no-sleetch-markdown *){object-fit:contain;border-radius:var(--_sleetch-radius);width:auto;max-width:100%;height:auto;max-height:70vh;margin:1rem auto;display:block}.sleetch-markdown svg:not(.no-sleetch-markdown *){max-width:100%;height:auto;margin:1rem auto;display:block}.sleetch-markdown pre.line-numbers:not(.no-sleetch-markdown *) code:not(.no-sleetch-markdown *){counter-reset:step;counter-increment:step 0}.sleetch-markdown pre.line-numbers:not(.no-sleetch-markdown *) code:not(.no-sleetch-markdown *) .line:not(.diff):before{content:counter(step);counter-increment:step;text-align:right;opacity:.3;margin-right:1rem;display:inline-block}.sleetch-markdown pre:not(.no-sleetch-markdown *){background:var(--_sleetch-color-card);border-radius:var(--_sleetch-radius);border:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);margin:0 0 1em}.sleetch-markdown pre:not(.no-sleetch-markdown *) code:not(.no-sleetch-markdown *){padding:0;padding:var(--_sleetch-padding-pre);font-size:var(--_sleetch-pre-font-size);line-height:var(--_sleetch-pre-line-height);white-space:pre;color:var(--_sleetch-color-text);font-family:var(--_sleetch-font-mono);background:0 0;border-radius:0;display:block}.sleetch-markdown pre.shiki .line{width:100%;padding:0 var(--_sleetch-padding-pre);margin-inline:calc(var(--_sleetch-padding-pre) * -1);transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), filter var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);display:inline-block}.sleetch-markdown .code-title{font-family:var(--_sleetch-font-mono);color:var(--_sleetch-color-muted-foreground);padding:.5em var(--_sleetch-padding-pre);border-bottom:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);border-radius:var(--_sleetch-radius) var(--_sleetch-radius) 0 0;letter-spacing:.02em;font-size:.8em}.sleetch-markdown pre.shiki.has-title code{padding-top:.8em;display:block}.sleetch-markdown pre.shiki .line.highlighted{background:color-mix(in srgb, var(--_sleetch-color-text-primary) 12%, transparent);border-left:2px solid var(--_sleetch-color-text-primary)}.sleetch-markdown pre.shiki .highlighted-word{background:color-mix(in srgb, var(--_sleetch-color-text-primary) 20%, transparent);border-radius:3px;padding:0 2px}.sleetch-markdown pre.shiki .line.diff{padding-left:calc(var(--_sleetch-padding-pre) + 1em);position:relative}.sleetch-markdown pre.shiki .line.diff:before{left:var(--_sleetch-padding-pre);font-family:var(--_sleetch-font-mono);position:absolute}.sleetch-markdown pre.shiki .line.diff.add{background:color-mix(in srgb, var(--_sleetch-syntax-addition) 15%, transparent)}.sleetch-markdown pre.shiki .line.diff.add:before{content:"+";color:var(--_sleetch-syntax-addition)}.sleetch-markdown pre.shiki .line.diff.remove{background:color-mix(in srgb, var(--_sleetch-syntax-deletion) 15%, transparent)}.sleetch-markdown pre.shiki .line.diff.remove:before{content:"-";color:var(--_sleetch-syntax-deletion)}.sleetch-markdown pre.shiki.has-focused .line{opacity:.4;filter:blur(.15px)}.sleetch-markdown pre.shiki.has-focused .line.focused,.sleetch-markdown pre.shiki.has-focused:hover .line{opacity:1;filter:none}.sleetch-markdown pre.shiki .line.highlighted.error{background:color-mix(in srgb, var(--_sleetch-syntax-deletion) 18%, transparent);border-left:2px solid var(--_sleetch-syntax-deletion)}.sleetch-markdown pre.shiki .line.highlighted.warning{background:#e0af682e;border-left:2px solid #e0af68}@media (prefers-reduced-motion:reduce){.sleetch-markdown .twoslash :not(.no-sleetch-markdown *){transition:none!important}}.sleetch-markdown .twoslash:hover .twoslash-hover:not(.no-sleetch-markdown *){border-color:var(--_sleetch-twoslash-underline-color)}.sleetch-markdown .twoslash .twoslash-hover:not(.no-sleetch-markdown *){transition-timing-function:var(--_sleetch-transition-timing);transition:border-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);border-bottom:1px dotted #0000;position:relative}.sleetch-markdown .twoslash .twoslash-popup-container:not(.no-sleetch-markdown *){opacity:0;background:var(--_sleetch-twoslash-popup-bg);color:var(--_sleetch-twoslash-popup-color);border:var(--_sleetch-hr-height) solid var(--_sleetch-twoslash-border-color);transition:opacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);border-radius:var(--_sleetch-radius);pointer-events:none;z-index:10;-webkit-user-select:none;user-select:none;text-align:left;box-shadow:var(--_sleetch-twoslash-popup-shadow);flex-direction:column;display:inline-flex;position:absolute;transform:translateY(1.1em)}.sleetch-markdown .twoslash .twoslash-query-persisted .twoslash-popup-container:not(.no-sleetch-markdown *){z-index:9;transform:translateY(1.5em)}.sleetch-markdown .twoslash .twoslash-hover:hover .twoslash-popup-container,.sleetch-markdown .twoslash .twoslash-error-hover:hover .twoslash-popup-container,.sleetch-markdown .twoslash .twoslash-query-persisted .twoslash-popup-container,.sleetch-markdown .twoslash .twoslash-query-line .twoslash-popup-container{opacity:1;pointer-events:auto}.sleetch-markdown .twoslash .twoslash-popup-container:hover{-webkit-user-select:auto;user-select:auto}.sleetch-markdown .twoslash .twoslash-popup-arrow:not(.no-sleetch-markdown *){border-top:var(--_sleetch-hr-height) solid var(--_sleetch-twoslash-border-color);border-right:var(--_sleetch-hr-height) solid var(--_sleetch-twoslash-border-color);background:var(--_sleetch-twoslash-popup-bg);pointer-events:none;width:6px;height:6px;position:absolute;top:-4px;left:1em;transform:rotate(-45deg)}.sleetch-markdown .twoslash .twoslash-popup-code,.sleetch-markdown .twoslash .twoslash-popup-error,.sleetch-markdown .twoslash .twoslash-popup-docs{padding:6px 8px!important}.sleetch-markdown .twoslash .twoslash-popup-code:not(.no-sleetch-markdown *){font-family:var(--_sleetch-twoslash-code-font);font-size:var(--_sleetch-twoslash-code-font-size)}.sleetch-markdown .twoslash .twoslash-popup-docs:not(.no-sleetch-markdown *){color:var(--_sleetch-twoslash-docs-color);font-family:var(--_sleetch-twoslash-docs-font);border-top:var(--_sleetch-hr-height) solid var(--_sleetch-twoslash-border-color);font-size:.8em}.sleetch-markdown .twoslash .twoslash-popup-error:not(.no-sleetch-markdown *){color:var(--_sleetch-twoslash-error-color);background-color:var(--_sleetch-twoslash-error-bg);font-family:var(--_sleetch-twoslash-docs-font);font-size:.8em}.sleetch-markdown .twoslash .twoslash-popup-docs-tags:not(.no-sleetch-markdown *){font-family:var(--_sleetch-twoslash-docs-font);flex-direction:column;display:flex}.sleetch-markdown .twoslash .twoslash-popup-docs-tags,.sleetch-markdown .twoslash .twoslash-popup-docs-tag-name{margin-right:.5em}.sleetch-markdown .twoslash .twoslash-popup-docs-tag-name:not(.no-sleetch-markdown *){font-family:var(--_sleetch-twoslash-code-font)}.sleetch-markdown .twoslash .twoslash-query-line .twoslash-popup-container{margin-bottom:1.4em;position:relative;transform:translateY(.6em)}.sleetch-markdown .twoslash .twoslash-error-line:not(.no-sleetch-markdown *){background-color:var(--_sleetch-twoslash-error-bg);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-twoslash-error-color);color:var(--_sleetch-twoslash-error-color);width:max-content;min-width:100%;margin:.2em 0;padding:6px 12px;position:relative}.sleetch-markdown .twoslash .twoslash-error-line.twoslash-error-level-warning{background-color:var(--_sleetch-twoslash-warn-bg);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-twoslash-warn-color);color:var(--_sleetch-twoslash-warn-color)}.sleetch-markdown .twoslash .twoslash-error:not(.no-sleetch-markdown *){background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%206%203'%20height%3D'3'%20width%3D'6'%3E%3Cg%20fill%3D'currentColor'%3E%3Cpolygon%20points%3D'5.5%2C0%202.5%2C3%201.1%2C3%204.1%2C0'%2F%3E%3Cpolygon%20points%3D'4%2C0%206%2C2%206%2C0.6%205.4%2C0'%2F%3E%3Cpolygon%20points%3D'0%2C2%201%2C3%202.4%2C3%200%2C0.6'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 100% repeat-x;padding-bottom:2px}.sleetch-markdown .twoslash .twoslash-completion-cursor:not(.no-sleetch-markdown *){position:relative}.sleetch-markdown .twoslash svg{max-width:100%;height:auto;margin:.5em auto;display:block}.sleetch-markdown .twoslash .twoslash-completion-cursor .twoslash-completion-list{-webkit-user-select:none;user-select:none;z-index:8;background:var(--_sleetch-twoslash-popup-bg);border:var(--_sleetch-hr-height) solid var(--_sleetch-twoslash-border-color);border-radius:var(--_sleetch-radius);margin:3px 0 0 -1px;display:inline-block;position:absolute;top:0;left:0;transform:translateY(1.2em)}.sleetch-markdown .twoslash-completion-list:not(.no-sleetch-markdown *){flex-direction:column;gap:4px;width:240px;padding:4px;font-size:.8rem;display:flex}.sleetch-markdown .twoslash-completion-list:hover{-webkit-user-select:auto;user-select:auto}.sleetch-markdown .twoslash-completion-list:before{background-color:var(--_sleetch-twoslash-cursor-color);content:" ";width:2px;height:1.4em;position:absolute;top:-1.6em;left:-1px}.sleetch-markdown .twoslash-completion-list li:not(.no-sleetch-markdown *){align-items:center;gap:.25em;margin:0;line-height:1em;display:flex;overflow:hidden}.sleetch-markdown .twoslash-completion-list li span.twoslash-completions-unmatched{color:var(--_sleetch-twoslash-unmatched-color)}.sleetch-markdown .twoslash-completion-list .deprecated{opacity:.5;text-decoration:line-through}.sleetch-markdown .twoslash-completion-list li span.twoslash-completions-matched{color:var(--_sleetch-twoslash-matched-color)}.sleetch-markdown .twoslash-highlighted:not(.no-sleetch-markdown *){background-color:var(--_sleetch-twoslash-highlighted-bg);border:var(--_sleetch-hr-height) solid var(--_sleetch-twoslash-highlighted-border);border-radius:var(--_sleetch-radius);margin:-1px -3px;padding:1px 2px}.sleetch-markdown .twoslash-completion-list .twoslash-completions-icon{color:var(--_sleetch-twoslash-unmatched-color);flex:none;width:1em}.sleetch-markdown .twoslash .twoslash-tag-line:not(.no-sleetch-markdown *){background-color:var(--_sleetch-twoslash-tag-bg);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-twoslash-tag-color);color:var(--_sleetch-twoslash-tag-color);align-items:center;gap:.3em;width:max-content;min-width:100%;margin:.2em 0;padding:6px 10px;display:flex;position:relative}.sleetch-markdown .twoslash .twoslash-tag-line .twoslash-tag-icon{width:1.1em;color:inherit}.sleetch-markdown .twoslash .twoslash-tag-line.twoslash-tag-error-line{background-color:var(--_sleetch-twoslash-error-bg);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-twoslash-error-color);color:var(--_sleetch-twoslash-error-color)}.sleetch-markdown .twoslash .twoslash-tag-line.twoslash-tag-warn-line{background-color:var(--_sleetch-twoslash-tag-warn-bg);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-twoslash-tag-warn-color);color:var(--_sleetch-twoslash-tag-warn-color)}.sleetch-markdown .twoslash .twoslash-tag-line.twoslash-tag-annotate-line{background-color:var(--_sleetch-twoslash-tag-annotate-bg);border-left:var(--_sleetch-blockquote-border-width) solid var(--_sleetch-twoslash-tag-annotate-color);color:var(--_sleetch-twoslash-tag-annotate-color)}.sleetch-markdown pre.shiki{max-width:100%;overflow:auto visible}
|
|
1
|
+
._default_kg51w_1{color:var(--_sleetch-color-text);flex:1;width:100%;max-width:1200px;margin:0 auto;padding:0 2em}@media (width<=768px){._default_kg51w_1{padding:0 1em}}@media (width>=769px) and (width<=1024px){._default_kg51w_1{padding:0 1.5em}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
._file-
|
|
1
|
+
._file-system_bl1m0_1{color:var(--_sleetch-color-text);font-family:var(--_sleetch-font-base);font-size:var(--_sleetch-font-size-small);line-height:var(--_sleetch-line-height);background:var(--_sleetch-color-card);border-radius:var(--_sleetch-radius);border:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);flex-direction:column;gap:.15em;margin:0 0 1em;padding:.85em;display:flex}._folder_bl1m0_16{flex-direction:column;display:flex}._folder_bl1m0_16._hidden_bl1m0_21{opacity:.5}._row_bl1m0_25{border-radius:calc(var(--_sleetch-radius) - 2px);transition:background-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);align-items:center;gap:.55em;padding:.4em .6em;display:flex}._folderRow_bl1m0_36{color:var(--_sleetch-color-muted-foreground)}._icon_bl1m0_40{color:currentColor;flex-shrink:0}._label_bl1m0_45{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._comment_bl1m0_51{text-overflow:ellipsis;white-space:nowrap;color:var(--_sleetch-color-muted-foreground);font-style:italic;overflow:hidden}._children_bl1m0_59{border-left:var(--_sleetch-underline-height) solid var(--_sleetch-color-border);flex-direction:column;gap:.15em;margin-left:.75em;padding-left:.65em;display:flex}._file_bl1m0_1{color:var(--_sleetch-color-text);cursor:default}._file_bl1m0_1:hover{background:var(--_sleetch-color-muted)}._file_bl1m0_1._selected_bl1m0_77{color:var(--_sleetch-color-text-primary);background:color-mix(in srgb, var(--_sleetch-color-text-primary) 12%, transparent)}._file_bl1m0_1._selected_bl1m0_77:hover{background:color-mix(in srgb, var(--_sleetch-color-text-primary) 18%, transparent)}
|
package/dist/assets/header.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._default_ezzto_1{color:var(--_sleetch-color-text);height:var(--_sleetch-header-height);background-color:color-mix(in srgb, var(--_sleetch-color-card) 30%, transparent);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-bottom:1px solid var(--_sleetch-color-border);z-index:100;align-items:center;gap:1em;padding:0 2em;display:flex;position:sticky;top:0}._menu-toggle_ezzto_16{color:var(--_sleetch-color-text);cursor:pointer;border-radius:var(--_sleetch-radius);transition:background-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);background:0 0;border:none;padding:.5em;display:none}._menu-toggle_ezzto_16:hover{background-color:var(--_sleetch-color-muted)}._menu-toggle_ezzto_16:active{transform:scale(.95)}@media (width<=768px){._default_ezzto_1{padding:0 1em}._menu-toggle_ezzto_16{justify-content:center;align-items:center;display:flex}}
|
package/dist/assets/layout.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._default_1qcrr_1{color:var(--_sleetch-color-text);background-color:var(--_sleetch-color-background);flex-direction:column;min-height:100vh;display:flex}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._navigation_sdshn_1{padding:var(--_sleetch-padding-root);font-family:var(--_sleetch-font-base);grid-template-columns:1fr 1fr;gap:1em;padding-top:0;display:grid}._slot_sdshn_10{display:flex}._slot-end_sdshn_14{justify-content:flex-end}._card_sdshn_18{border-radius:var(--_sleetch-radius);border:var(--_sleetch-hr-height) solid var(--_sleetch-color-border);width:100%;max-width:320px;color:var(--_sleetch-color-text);transition:border-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), background-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);flex-direction:column;gap:.25em;padding:1em;text-decoration:none;display:flex}._card_sdshn_18:hover,._card_sdshn_18:focus-visible{border-color:var(--_sleetch-color-text-primary);background-color:color-mix(in srgb, var(--_sleetch-color-text-primary) 8%, var(--_sleetch-color-card))}._card_sdshn_18:focus-visible{outline:2px solid var(--_sleetch-color-text-primary);outline-offset:2px}._next_sdshn_45{text-align:right;align-items:flex-end}._previous_sdshn_50{text-align:left;align-items:flex-start}._meta_sdshn_55{font-size:var(--_sleetch-font-size-tiny);color:var(--_sleetch-color-muted-foreground);align-items:center;gap:.3em;display:flex}._chevron_sdshn_63{flex-shrink:0;width:20px;height:20px}._title_sdshn_69{font-size:var(--_sleetch-font-size-base);font-weight:var(--_sleetch-font-weight-heading);line-height:var(--_sleetch-line-height-heading);color:var(--_sleetch-color-text)}._description_sdshn_76{font-size:var(--_sleetch-font-size-tiny);line-height:var(--_sleetch-line-height);color:var(--_sleetch-color-muted-foreground);overflow:hidden}@media (width>=769px) and (width<=1024px){._navigation_sdshn_1{padding:1.5em 2em}}@media (width<=768px){._card_sdshn_18{max-width:100%}._navigation_sdshn_1{grid-template-columns:1fr;padding:1em}._slot-end_sdshn_14{justify-content:flex-start}._next_sdshn_45{text-align:left;align-items:flex-start}}
|
package/dist/assets/sidebar.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._sidebar_1gu6z_1{min-width:var(--_sleetch-sidebar-width);height:calc(100vh - var(--_sleetch-header-height));top:var(--_sleetch-header-height);color:var(--_sleetch-color-text);border-right:1px dashed var(--_sleetch-color-muted);scrollbar-width:thin;scrollbar-color:var(--_sleetch-color-muted) transparent;flex-direction:column;padding:4em 1.5em;display:flex;position:sticky;overflow-y:auto}._sidebar_1gu6z_1::-webkit-scrollbar{width:6px}._sidebar_1gu6z_1::-webkit-scrollbar-track{background:0 0}._sidebar_1gu6z_1::-webkit-scrollbar-thumb{background-color:var(--_sleetch-color-muted);border-radius:3px}._sidebar_1gu6z_1::-webkit-scrollbar-thumb:hover{background-color:var(--_sleetch-color-muted-foreground)}._overlay_1gu6z_33{display:none}@media (width<=768px){._sidebar_1gu6z_1{top:var(--_sleetch-header-height);z-index:90;background-color:var(--_sleetch-color-background);border-right:1px solid var(--_sleetch-color-border);width:280px;min-width:280px;max-width:85vw;padding:2em 1.5em;transition:transform .3s;position:fixed;bottom:0;left:0;transform:translate(-100%);box-shadow:2px 0 8px #0000004d}._sidebar-open_1gu6z_55{transform:translate(0)}._overlay_1gu6z_33{top:var(--_sleetch-header-height);z-index:89;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background-color:#00000080;animation:.3s _fadeIn_1gu6z_1;display:block;position:fixed;bottom:0;left:0;right:0}@keyframes _fadeIn_1gu6z_1{0%{opacity:0}to{opacity:1}}}@media (width>=769px) and (width<=1024px){._sidebar_1gu6z_1{min-width:260px;padding:3em 1.2em}}._nav_1gu6z_89{flex-direction:column;display:flex}._list_1gu6z_94{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}._item_1gu6z_103{min-width:0}._row_1gu6z_107{align-items:center;display:flex}._link_1gu6z_112,._category-label_1gu6z_113{--depth:1;width:100%;min-width:0;padding-block:.4em;padding-left:calc(1em + (var(--depth) - 1) * 1em);font-family:var(--_sleetch-font-base);font-size:calc(1em - (var(--depth) - 1) * .03em);text-align:left;color:var(--_sleetch-color-muted-foreground);cursor:pointer;transition:color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), border-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), background-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), transform var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);background:0 0;border:none;border-left:3px solid #0000;flex:1;align-items:center;gap:.55em;margin-left:-1px;padding-right:.5em;line-height:1.3;text-decoration:none;display:flex}._link_1gu6z_112:hover,._category-label_1gu6z_113:hover{color:var(--_sleetch-color-text)}._category-link_1gu6z_147,._category-label_1gu6z_113{font-weight:var(--_sleetch-font-weight-heading);color:var(--_sleetch-color-text);padding-top:.5em}._active_1gu6z_154{border-left-color:var(--_sleetch-color-text-primary);background:color-mix(in srgb, var(--_sleetch-color-text-underline) 35%, transparent);color:var(--_sleetch-color-text);transform:translate(4px)}._active_1gu6z_154:hover{transform:translate(6px)}._toggle_1gu6z_165{border-radius:var(--_sleetch-radius);width:1.7em;height:1.7em;color:var(--_sleetch-color-muted-foreground);cursor:pointer;transition:background-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;margin-right:.2em;display:flex}._toggle_1gu6z_165:hover{background-color:var(--_sleetch-color-card);color:var(--_sleetch-color-text)}._chevron_1gu6z_188{transition:transform var(--_sleetch-transition-duration) var(--_sleetch-transition-timing)}._chevron-open_1gu6z_192{transform:rotate(90deg)}._icon_1gu6z_196{opacity:.75;flex-shrink:0;justify-content:center;align-items:center;width:1.1em;height:1.1em;display:inline-flex}._label_1gu6z_206{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}
|
package/dist/assets/toc.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._default_1gcyi_1{min-width:var(--_sleetch-toc-width);height:calc(100vh - var(--_sleetch-header-height));top:var(--_sleetch-header-height);color:var(--_sleetch-color-text);border-left:1px dashed var(--_sleetch-color-border);flex-direction:column;padding:4em 2em;display:flex;position:sticky;overflow-y:auto}@media (width<=1024px){._default_1gcyi_1{display:none}}@media (width>=1025px) and (width<=1280px){._default_1gcyi_1{min-width:220px;padding:3em 1.5em}}._title_1gcyi_27{font-size:.9em;font-weight:var(--_sleetch-font-weight-heading);color:var(--_sleetch-color-text);margin:0 0 .5em}._track_1gcyi_34{position:relative}._line_1gcyi_38{background:var(--_sleetch-color-muted);z-index:0;width:1px;position:absolute;top:0;bottom:0;left:0}._gapDot_1gcyi_48{background:var(--_sleetch-color-muted-foreground);z-index:1;pointer-events:none;width:6px;height:6px;transition:top var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);border-radius:50%;position:absolute;left:0;transform:translate(-50%,-50%)}._list_1gcyi_61{z-index:1;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex;position:relative}._item_1gcyi_72{min-width:0}._link_1gcyi_76{--depth:1;width:100%;padding-block:.4em;padding-left:calc(1em + (var(--depth) - 1) * .85em);font-family:var(--_sleetch-font-base);font-size:calc(.85em - (var(--depth) - 1) * .03em);color:var(--_sleetch-color-muted-foreground);white-space:nowrap;text-overflow:ellipsis;transition:color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), border-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), background-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing), transform var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);border-left:3px solid #0000;margin-left:-1px;padding-right:.5em;line-height:1.3;text-decoration:none;display:block;overflow:hidden}._link_1gcyi_76:hover{color:var(--_sleetch-color-text)}._active_1gcyi_109{border-left-color:var(--_sleetch-color-text-primary);background:color-mix(in srgb, var(--_sleetch-color-text-underline) 35%, transparent);color:var(--_sleetch-color-text);transform:translate(4px)}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./clsx-CaAiuA5w.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
import './assets/button.css';var n = {
|
|
4
|
-
default: "
|
|
5
|
-
primary: "
|
|
6
|
-
secondary: "
|
|
7
|
-
ghost: "
|
|
8
|
-
outline: "
|
|
9
|
-
destructive: "
|
|
4
|
+
default: "_default_d34fg_2",
|
|
5
|
+
primary: "_primary_d34fg_3",
|
|
6
|
+
secondary: "_secondary_d34fg_4",
|
|
7
|
+
ghost: "_ghost_d34fg_5",
|
|
8
|
+
outline: "_outline_d34fg_6",
|
|
9
|
+
destructive: "_destructive_d34fg_7"
|
|
10
10
|
};
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/components/button.tsx
|
|
@@ -20,4 +20,4 @@ function r({ variant: r = "default", className: i, children: a, ...o }) {
|
|
|
20
20
|
//#endregion
|
|
21
21
|
export { r as t };
|
|
22
22
|
|
|
23
|
-
//# sourceMappingURL=button-
|
|
23
|
+
//# sourceMappingURL=button-B6mWWZyo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-B6mWWZyo.js","names":[],"sources":["../../styles/src/components/button.module.css","../src/components/button.tsx"],"sourcesContent":["/* Shared base */\n.default,\n.primary,\n.secondary,\n.ghost,\n.outline,\n.destructive {\n\tborder-radius: var(--_sleetch-radius);\n\tpadding: 3px 10px;\n\tfont-family: var(--_sleetch-font-base);\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\talign-items: center;\n\tjustify-content: center;\n\tborder: 1px solid transparent;\n\ttransition:\n\t\tbackground-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing),\n\t\tborder-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing),\n\t\tfilter var(--_sleetch-transition-duration) var(--_sleetch-transition-timing),\n\t\topacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);\n}\n\n/* Default — neutral filled, matches card surface */\n.default {\n\tcolor: var(--_sleetch-color-text);\n\tbackground-color: var(--_sleetch-color-background);\n\tborder-color: var(--_sleetch-color-border);\n}\n\n.default:hover {\n\tbackground-color: var(--_sleetch-color-muted);\n\tborder-color: var(--_sleetch-color-text-underline);\n}\n\n.outline {\n\tcolor: var(--_sleetch-color-text);\n\tborder-color: var(--_sleetch-color-border);\n}\n\n.outline:hover {\n\tbackground-color: var(--_sleetch-color-muted);\n\tborder-color: var(--_sleetch-color-text-underline);\n}\n\n.primary {\n\tcolor: var(--_sleetch-color-primary-foreground);\n\tbackground-color: var(--_sleetch-color-text-primary);\n\tborder-color: transparent;\n}\n\n.primary:hover {\n\tfilter: brightness(1.1);\n}\n\n.secondary {\n\tcolor: var(--_sleetch-color-text);\n\tbackground-color: var(--_sleetch-color-secondary);\n\tborder-color: var(--_sleetch-color-border);\n}\n\n.secondary:hover {\n\tbackground-color: var(--_sleetch-color-muted);\n}\n\n/* Ghost — no border, no fill until interaction */\n.ghost {\n\tcolor: var(--_sleetch-color-text);\n\tbackground-color: transparent;\n\tborder-color: transparent;\n}\n\n.ghost:hover {\n\tbackground-color: var(--_sleetch-color-muted);\n}\n\n/* Destructive — dangerous / irreversible actions */\n.destructive {\n\tcolor: var(--_sleetch-color-background);\n\tbackground-color: var(--_sleetch-syntax-deletion);\n\tborder-color: transparent;\n}\n\n.destructive:hover {\n\tfilter: brightness(1.1);\n}\n\n/* Shared interaction states */\n.default:active,\n.primary:active,\n.secondary:active,\n.ghost:active,\n.outline:active,\n.destructive:active {\n\ttransform: scale(0.98);\n}\n\n.default:disabled,\n.primary:disabled,\n.secondary:disabled,\n.ghost:disabled,\n.outline:disabled,\n.destructive:disabled {\n\topacity: 0.5;\n\tcursor: not-allowed;\n\ttransform: none;\n\tfilter: none;\n}\n\n@media (max-width: 768px) {\n\n\t.default,\n\t.primary,\n\t.secondary,\n\t.ghost,\n\t.outline,\n\t.destructive {\n\t\tpadding: 6px 12px;\n\t\tfont-size: 14px;\n\t}\n}\n\n:global(.sleetch-markdown) .default,\n:global(.sleetch-markdown) .primary,\n:global(.sleetch-markdown) .secondary,\n:global(.sleetch-markdown) .ghost,\n:global(.sleetch-markdown) .outline,\n:global(.sleetch-markdown) .destructive {\n\tmargin: 0 0 1em;\n}\n","import styles from '@sleetch/styles/components/button.module.css';\nimport clsx from 'clsx';\nimport type { ButtonHTMLAttributes } from 'react';\n\nexport interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n variant?: 'default' | 'secondary' | 'primary' | 'ghost' | 'destructive' | 'outline';\n}\n\nexport function Button({ variant = 'default', className, children, ...props }: ButtonProps) {\n return (\n <button className={clsx(styles[variant], className)} {...props}>\n {children}\n </button>\n );\n}\n"],"mappings":";;;;;;;;;;;;ACQA,SAAgB,EAAO,EAAE,aAAU,WAAW,cAAW,aAAU,GAAG,KAAsB;CACxF,OACI,kBAAC,UAAD;EAAQ,WAAW,EAAK,EAAO,IAAU,CAAS;EAAG,GAAI;EACpD;CACG,CAAA;AAEhB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require('./assets/button.css');const e=require("./clsx-GLXUd3yb.cjs");let t=require("react/jsx-runtime");var n={default:`
|
|
2
|
-
//# sourceMappingURL=button-
|
|
1
|
+
require('./assets/button.css');const e=require("./clsx-GLXUd3yb.cjs");let t=require("react/jsx-runtime");var n={default:`_default_d34fg_2`,primary:`_primary_d34fg_3`,secondary:`_secondary_d34fg_4`,ghost:`_ghost_d34fg_5`,outline:`_outline_d34fg_6`,destructive:`_destructive_d34fg_7`};function r({variant:r=`default`,className:i,children:a,...o}){return(0,t.jsx)(`button`,{className:e.t(n[r],i),...o,children:a})}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|
|
2
|
+
//# sourceMappingURL=button-DLQL3vVY.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-DLQL3vVY.cjs","names":[],"sources":["../../styles/src/components/button.module.css","../src/components/button.tsx"],"sourcesContent":["/* Shared base */\n.default,\n.primary,\n.secondary,\n.ghost,\n.outline,\n.destructive {\n\tborder-radius: var(--_sleetch-radius);\n\tpadding: 3px 10px;\n\tfont-family: var(--_sleetch-font-base);\n\tcursor: pointer;\n\tdisplay: inline-flex;\n\talign-items: center;\n\tjustify-content: center;\n\tborder: 1px solid transparent;\n\ttransition:\n\t\tbackground-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing),\n\t\tborder-color var(--_sleetch-transition-duration) var(--_sleetch-transition-timing),\n\t\tfilter var(--_sleetch-transition-duration) var(--_sleetch-transition-timing),\n\t\topacity var(--_sleetch-transition-duration) var(--_sleetch-transition-timing);\n}\n\n/* Default — neutral filled, matches card surface */\n.default {\n\tcolor: var(--_sleetch-color-text);\n\tbackground-color: var(--_sleetch-color-background);\n\tborder-color: var(--_sleetch-color-border);\n}\n\n.default:hover {\n\tbackground-color: var(--_sleetch-color-muted);\n\tborder-color: var(--_sleetch-color-text-underline);\n}\n\n.outline {\n\tcolor: var(--_sleetch-color-text);\n\tborder-color: var(--_sleetch-color-border);\n}\n\n.outline:hover {\n\tbackground-color: var(--_sleetch-color-muted);\n\tborder-color: var(--_sleetch-color-text-underline);\n}\n\n.primary {\n\tcolor: var(--_sleetch-color-primary-foreground);\n\tbackground-color: var(--_sleetch-color-text-primary);\n\tborder-color: transparent;\n}\n\n.primary:hover {\n\tfilter: brightness(1.1);\n}\n\n.secondary {\n\tcolor: var(--_sleetch-color-text);\n\tbackground-color: var(--_sleetch-color-secondary);\n\tborder-color: var(--_sleetch-color-border);\n}\n\n.secondary:hover {\n\tbackground-color: var(--_sleetch-color-muted);\n}\n\n/* Ghost — no border, no fill until interaction */\n.ghost {\n\tcolor: var(--_sleetch-color-text);\n\tbackground-color: transparent;\n\tborder-color: transparent;\n}\n\n.ghost:hover {\n\tbackground-color: var(--_sleetch-color-muted);\n}\n\n/* Destructive — dangerous / irreversible actions */\n.destructive {\n\tcolor: var(--_sleetch-color-background);\n\tbackground-color: var(--_sleetch-syntax-deletion);\n\tborder-color: transparent;\n}\n\n.destructive:hover {\n\tfilter: brightness(1.1);\n}\n\n/* Shared interaction states */\n.default:active,\n.primary:active,\n.secondary:active,\n.ghost:active,\n.outline:active,\n.destructive:active {\n\ttransform: scale(0.98);\n}\n\n.default:disabled,\n.primary:disabled,\n.secondary:disabled,\n.ghost:disabled,\n.outline:disabled,\n.destructive:disabled {\n\topacity: 0.5;\n\tcursor: not-allowed;\n\ttransform: none;\n\tfilter: none;\n}\n\n@media (max-width: 768px) {\n\n\t.default,\n\t.primary,\n\t.secondary,\n\t.ghost,\n\t.outline,\n\t.destructive {\n\t\tpadding: 6px 12px;\n\t\tfont-size: 14px;\n\t}\n}\n\n:global(.sleetch-markdown) .default,\n:global(.sleetch-markdown) .primary,\n:global(.sleetch-markdown) .secondary,\n:global(.sleetch-markdown) .ghost,\n:global(.sleetch-markdown) .outline,\n:global(.sleetch-markdown) .destructive {\n\tmargin: 0 0 1em;\n}\n","import styles from '@sleetch/styles/components/button.module.css';\nimport clsx from 'clsx';\nimport type { ButtonHTMLAttributes } from 'react';\n\nexport interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n variant?: 'default' | 'secondary' | 'primary' | 'ghost' | 'destructive' | 'outline';\n}\n\nexport function Button({ variant = 'default', className, children, ...props }: ButtonProps) {\n return (\n <button className={clsx(styles[variant], className)} {...props}>\n {children}\n </button>\n );\n}\n"],"mappings":"4PCQA,SAAgB,EAAO,CAAE,UAAU,UAAW,YAAW,WAAU,GAAG,GAAsB,CACxF,OACI,EAAA,EAAA,IAAA,CAAC,SAAD,CAAQ,UAAW,EAAA,EAAK,EAAO,GAAU,CAAS,EAAG,GAAI,EACpD,UACG,CAAA,CAEhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../button-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../button-DLQL3vVY.cjs");exports.Button=e.t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../button-
|
|
1
|
+
import { t as e } from "../button-B6mWWZyo.js";
|
|
2
2
|
export { e as Button };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../content-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../content-8dXeWXcA.cjs");exports.DocumentationContent=e.t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../content-
|
|
1
|
+
import { t as e } from "../../content-DmSVqH2f.js";
|
|
2
2
|
export { e as DocumentationContent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`})
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../header-3dQ5Gq3p.cjs");require("../../contexts/documentation.cjs.js"),exports.DocumentationHeader=e.t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../layout-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../layout-vfa7JhoC.cjs");exports.DocumentationLayout=e.t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../layout-
|
|
1
|
+
import { t as e } from "../../layout-BE3-MmWB.js";
|
|
2
2
|
export { e as DocumentationLayout };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../content-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../content-BU9cbvVn.cjs");exports.PageContent=e.t;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { MDXComponents } from 'mdx/types';
|
|
2
1
|
import { page_module } from '@sleetch/core/compiler';
|
|
2
|
+
import { MDXComponents } from 'mdx/types';
|
|
3
3
|
import * as runtime from 'react/jsx-runtime';
|
|
4
4
|
export declare function PageContent({ page, components }: {
|
|
5
|
-
page:
|
|
5
|
+
page: page_module["default"];
|
|
6
6
|
components?: MDXComponents;
|
|
7
7
|
}): runtime.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../content-
|
|
1
|
+
import { t as e } from "../../../content-D0ROn3Pd.js";
|
|
2
2
|
export { e as PageContent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../button-DLQL3vVY.cjs"),t=require("../../../clsx-GLXUd3yb.cjs");let n=require("react/jsx-runtime");function r({page:r,className:i,children:a,...o}){return(0,n.jsxs)(`div`,{className:t.t(i,`sleetch-markdown`),...o,children:[(0,n.jsx)(`h1`,{children:r.frontmatter.title}),(0,n.jsx)(`p`,{children:r.frontmatter.description}),(0,n.jsxs)(`div`,{style:{gap:`15px`,display:`flex`},children:[(0,n.jsx)(e.t,{variant:`secondary`,children:`View as markdown`}),(0,n.jsx)(e.t,{children:`Copy for LLM`})]}),(0,n.jsx)(`hr`,{})]})}exports.PageHeader=r;
|
|
2
2
|
//# sourceMappingURL=header.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header.cjs.js","names":[],"sources":["../../../../src/components/documentation/page/header.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"header.cjs.js","names":[],"sources":["../../../../src/components/documentation/page/header.tsx"],"sourcesContent":["import type { page_module } from '@sleetch/core/compiler';\n//import styles from '@sleetch/styles/components/Page/header.module.css';\nimport clsx from 'clsx';\nimport type { BaseHTMLAttributes } from 'react';\nimport { Button } from '../../button';\n\nexport interface PageHeaderProps extends BaseHTMLAttributes<HTMLDivElement> {\n\tpage: page_module[\"default\"];\n}\n\nexport function PageHeader({ page, className, children, ...props }: PageHeaderProps) {\n\treturn (\n\t\t<div className={clsx(/*styles['default'],*/ className, 'sleetch-markdown')} {...props}>\n\t\t\t<h1>{page.frontmatter.title}</h1>\n\t\t\t<p>{page.frontmatter.description}</p>\n\t\t\t<div style={{ gap: '15px', display: 'flex' }}>\n\t\t\t\t<Button variant=\"secondary\">View as markdown</Button>\n\t\t\t\t<Button>Copy for LLM</Button>\n\t\t\t</div>\n\t\t\t<hr />\n\t\t</div>\n\t);\n}\n"],"mappings":"8LAUA,SAAgB,EAAW,CAAE,OAAM,YAAW,WAAU,GAAG,GAA0B,CACpF,OACC,EAAA,EAAA,KAAA,CAAC,MAAD,CAAK,UAAW,EAAA,EAA4B,EAAW,kBAAkB,EAAG,GAAI,EAAhF,SAAA,EACC,EAAA,EAAA,IAAA,CAAC,KAAD,CAAA,SAAK,EAAK,YAAY,KAAU,CAAA,GAChC,EAAA,EAAA,IAAA,CAAC,IAAD,CAAA,SAAI,EAAK,YAAY,WAAe,CAAA,GACpC,EAAA,EAAA,KAAA,CAAC,MAAD,CAAK,MAAO,CAAE,IAAK,OAAQ,QAAS,MAAO,EAA3C,SAAA,EACC,EAAA,EAAA,IAAA,CAAC,EAAA,EAAD,CAAQ,QAAQ,YAAY,SAAA,kBAAwB,CAAA,GACpD,EAAA,EAAA,IAAA,CAAC,EAAA,EAAD,CAAA,SAAQ,cAAoB,CAAA,CACxB,KACL,EAAA,EAAA,IAAA,CAAC,KAAD,CAAK,CAAA,CACD,GAEP"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseHTMLAttributes } from 'react';
|
|
2
1
|
import { page_module } from '@sleetch/core/compiler';
|
|
2
|
+
import { BaseHTMLAttributes } from 'react';
|
|
3
3
|
export interface PageHeaderProps extends BaseHTMLAttributes<HTMLDivElement> {
|
|
4
|
-
page:
|
|
4
|
+
page: page_module["default"];
|
|
5
5
|
}
|
|
6
6
|
export declare function PageHeader({ page, className, children, ...props }: PageHeaderProps): import("react").JSX.Element;
|
|
@@ -1,31 +1,29 @@
|
|
|
1
|
-
import { t as e } from "../../../
|
|
2
|
-
import { t } from "../../../
|
|
3
|
-
import {
|
|
4
|
-
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
1
|
+
import { t as e } from "../../../button-B6mWWZyo.js";
|
|
2
|
+
import { t } from "../../../clsx-CaAiuA5w.js";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
4
|
//#region src/components/documentation/page/header.tsx
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
...c,
|
|
5
|
+
function i({ page: i, className: a, children: o, ...s }) {
|
|
6
|
+
return /* @__PURE__ */ r("div", {
|
|
7
|
+
className: t(a, "sleetch-markdown"),
|
|
8
|
+
...s,
|
|
11
9
|
children: [
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
10
|
+
/* @__PURE__ */ n("h1", { children: i.frontmatter.title }),
|
|
11
|
+
/* @__PURE__ */ n("p", { children: i.frontmatter.description }),
|
|
12
|
+
/* @__PURE__ */ r("div", {
|
|
15
13
|
style: {
|
|
16
14
|
gap: "15px",
|
|
17
15
|
display: "flex"
|
|
18
16
|
},
|
|
19
|
-
children: [/* @__PURE__ */
|
|
17
|
+
children: [/* @__PURE__ */ n(e, {
|
|
20
18
|
variant: "secondary",
|
|
21
19
|
children: "View as markdown"
|
|
22
|
-
}), /* @__PURE__ */
|
|
20
|
+
}), /* @__PURE__ */ n(e, { children: "Copy for LLM" })]
|
|
23
21
|
}),
|
|
24
|
-
/* @__PURE__ */
|
|
22
|
+
/* @__PURE__ */ n("hr", {})
|
|
25
23
|
]
|
|
26
24
|
});
|
|
27
25
|
}
|
|
28
26
|
//#endregion
|
|
29
|
-
export {
|
|
27
|
+
export { i as PageHeader };
|
|
30
28
|
|
|
31
29
|
//# sourceMappingURL=header.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header.es.js","names":[],"sources":["../../../../src/components/documentation/page/header.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"header.es.js","names":[],"sources":["../../../../src/components/documentation/page/header.tsx"],"sourcesContent":["import type { page_module } from '@sleetch/core/compiler';\n//import styles from '@sleetch/styles/components/Page/header.module.css';\nimport clsx from 'clsx';\nimport type { BaseHTMLAttributes } from 'react';\nimport { Button } from '../../button';\n\nexport interface PageHeaderProps extends BaseHTMLAttributes<HTMLDivElement> {\n\tpage: page_module[\"default\"];\n}\n\nexport function PageHeader({ page, className, children, ...props }: PageHeaderProps) {\n\treturn (\n\t\t<div className={clsx(/*styles['default'],*/ className, 'sleetch-markdown')} {...props}>\n\t\t\t<h1>{page.frontmatter.title}</h1>\n\t\t\t<p>{page.frontmatter.description}</p>\n\t\t\t<div style={{ gap: '15px', display: 'flex' }}>\n\t\t\t\t<Button variant=\"secondary\">View as markdown</Button>\n\t\t\t\t<Button>Copy for LLM</Button>\n\t\t\t</div>\n\t\t\t<hr />\n\t\t</div>\n\t);\n}\n"],"mappings":";;;;AAUA,SAAgB,EAAW,EAAE,SAAM,cAAW,aAAU,GAAG,KAA0B;CACpF,OACC,kBAAC,OAAD;EAAK,WAAW,EAA4B,GAAW,kBAAkB;EAAG,GAAI;EAAhF,UAAA;GACC,kBAAC,MAAD,EAAA,UAAK,EAAK,YAAY,MAAU,CAAA;GAChC,kBAAC,KAAD,EAAA,UAAI,EAAK,YAAY,YAAe,CAAA;GACpC,kBAAC,OAAD;IAAK,OAAO;KAAE,KAAK;KAAQ,SAAS;IAAO;IAA3C,UAAA,CACC,kBAAC,GAAD;KAAQ,SAAQ;KAAY,UAAA;IAAwB,CAAA,GACpD,kBAAC,GAAD,EAAA,UAAQ,eAAoB,CAAA,CACxB;;GACL,kBAAC,MAAD,CAAK,CAAA;EACD;;AAEP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loader.cjs.js","names":[],"sources":["../../../../src/components/documentation/page/loader.tsx"],"sourcesContent":["import type { page_module } from 'packages/core/dist/compiler';\nimport { type FC, type ReactNode, use } from 'react';\n\nexport const PageLoader: FC<{ page: Promise<page_module>; children: (page: page_module['default']) => ReactNode }> = ({ page, children }) => {\n\tconst resolved = use(page);\n\treturn children(resolved.default);\n};\n"],"mappings":"0FAGA,IAAa,GAAyG,CAAE,OAAM,cAEtH,GAAA,EADU,EAAA,IAAA,CAAI,CACL,CAAA,CAAS,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loader.es.js","names":[],"sources":["../../../../src/components/documentation/page/loader.tsx"],"sourcesContent":["import type { page_module } from 'packages/core/dist/compiler';\nimport { type FC, type ReactNode, use } from 'react';\n\nexport const PageLoader: FC<{ page: Promise<page_module>; children: (page: page_module['default']) => ReactNode }> = ({ page, children }) => {\n\tconst resolved = use(page);\n\treturn children(resolved.default);\n};\n"],"mappings":";;AAGA,IAAa,KAAyG,EAAE,SAAM,kBAEtH,EADU,EAAI,CACL,CAAA,CAAS,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("../../../contexts/documentation.cjs.js");const e=require("../../../navigation-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("../../../contexts/documentation.cjs.js");const e=require("../../../navigation-D6nkWYOB.cjs");exports.PageNavigation=e.t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../content-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../content-CjmD3T8J.cjs");exports.DocumentationSidebarContent=e.t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../content-
|
|
1
|
+
import { t as e } from "../../../content-CP58YEGJ.js";
|
|
2
2
|
export { e as DocumentationSidebarContent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("../../../contexts/documentation.cjs.js");const e=require("../../../sidebar-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("../../../contexts/documentation.cjs.js");const e=require("../../../sidebar-DSOeiBFI.cjs");exports.DocumentationSidebar=e.t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../content-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../content-BJ6O_X1Y.cjs");exports.DocumentationTocContent=e.t;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../content-
|
|
1
|
+
import { t as e } from "../../../content-eQM-qDRO.js";
|
|
2
2
|
export { e as DocumentationTocContent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../toc-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../toc-DkBTetNW.cjs");exports.DocumentationToc=e.t;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseHTMLAttributes } from 'react';
|
|
2
1
|
import { page_module } from '@sleetch/core/compiler';
|
|
2
|
+
import { BaseHTMLAttributes } from 'react';
|
|
3
3
|
export interface DocumentationTocProps extends BaseHTMLAttributes<HTMLBaseElement> {
|
|
4
|
-
page:
|
|
4
|
+
page: page_module["default"];
|
|
5
5
|
}
|
|
6
6
|
export declare function DocumentationToc({ className, children, page, ...props }: DocumentationTocProps): import("react").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../toc-
|
|
1
|
+
import { t as e } from "../../../toc-rfPQJ_Pf.js";
|
|
2
2
|
export { e as DocumentationToc };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../file-system-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../file-system-BNu9B10z.cjs");exports.File=e.t,exports.FileSystem=e.n,exports.Folder=e.r;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../file-system-
|
|
1
|
+
import { n as e, r as t, t as n } from "../file-system-SWuikr8O.js";
|
|
2
2
|
export { n as File, e as FileSystem, t as Folder };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require('./assets/content.css');const e=require("./clsx-GLXUd3yb.cjs");let t=require("react/jsx-runtime");var n={default:`
|
|
2
|
-
//# sourceMappingURL=content-
|
|
1
|
+
require('./assets/content.css');const e=require("./clsx-GLXUd3yb.cjs");let t=require("react/jsx-runtime");var n={default:`_default_nb3kz_1`};function r({className:r,children:i,...a}){return(0,t.jsx)(`div`,{className:e.t(n.default,r),...a,children:i})}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|
|
2
|
+
//# sourceMappingURL=content-8dXeWXcA.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-8dXeWXcA.cjs","names":[],"sources":["../../styles/src/components/documentation/content.module.css","../src/components/documentation/content.tsx"],"sourcesContent":[".default {\n display: flex;\n flex: 1;\n min-height: calc(100vh - var(--_sleetch-header-height));\n}\n\n@media (max-width: 768px) {\n .default {\n flex-direction: column;\n }\n}\n","import styles from '@sleetch/styles/components/documentation/content.module.css';\nimport clsx from 'clsx';\nimport type { BaseHTMLAttributes } from 'react';\n\nexport interface DocumentationContentProps extends BaseHTMLAttributes<HTMLDivElement> {}\n\nexport function DocumentationContent({ className, children, ...props }: DocumentationContentProps) {\n return (\n <div className={clsx(styles.default, className)} {...props}>\n {children}\n </div>\n );\n}\n"],"mappings":"6GCMA,SAAgB,EAAqB,CAAE,YAAW,WAAU,GAAG,GAAoC,CAC/F,OACI,EAAA,EAAA,IAAA,CAAC,MAAD,CAAK,UAAW,EAAA,EAAK,EAAO,QAAS,CAAS,EAAG,GAAI,EAChD,UACA,CAAA,CAEb"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
require('./assets/
|
|
2
|
-
//# sourceMappingURL=content-
|
|
1
|
+
require('./assets/content3.css');const e=require("./clsx-GLXUd3yb.cjs");let t=require("react/jsx-runtime");var n={default:`_default_kg51w_1`};function r({className:r,children:i,...a}){return(0,t.jsx)(`div`,{className:e.t(n.default,r),...a,children:i})}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|
|
2
|
+
//# sourceMappingURL=content-BJ6O_X1Y.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-BJ6O_X1Y.cjs","names":[],"sources":["../../styles/src/components/documentation/toc/content.module.css","../src/components/documentation/toc/content.tsx"],"sourcesContent":[".default {\n color: var(--_sleetch-color-text);\n width: 100%;\n flex: 1;\n padding: 0 2em;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n@media (max-width: 768px) {\n .default {\n padding: 0 1em;\n }\n}\n\n@media (min-width: 769px) and (max-width: 1024px) {\n .default {\n padding: 0 1.5em;\n }\n}\n","import styles from '@sleetch/styles/components/documentation/toc/content.module.css';\nimport clsx from 'clsx';\nimport type { BaseHTMLAttributes } from 'react';\n\nexport interface DocumentationTocContentProps extends BaseHTMLAttributes<HTMLDivElement> {}\n\nexport function DocumentationTocContent({ className, children, ...props }: DocumentationTocContentProps) {\n return (\n <div className={clsx(styles.default, className)} {...props}>\n {children}\n </div>\n );\n}\n"],"mappings":"6GCMA,SAAgB,EAAwB,CAAE,YAAW,WAAU,GAAG,GAAuC,CACrG,OACI,EAAA,EAAA,IAAA,CAAC,MAAD,CAAK,UAAW,EAAA,EAAK,EAAO,QAAS,CAAS,EAAG,GAAI,EAChD,UACA,CAAA,CAEb"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
require('./assets/content2.css');var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,s)=>(s=n==null?{}:e(i(n)),o(r||!n||!n.__esModule||!a.call(n,`default`)?t(s,`default`,{value:n,enumerable:!0}):s,n));let c=require("react/jsx-runtime");c=s(c,1);let l=require("react");var u=Object.getPrototypeOf(d).constructor;async function d(e,t){return new u(String(e))(t)}var f=new Map;function p(e){return d(e,{...c,baseUrl:{}.url})}function m(e){let t=f.get(e);return t||(t=p(e),f.set(e,t)),t}function h({page:e,components:t}){if(e.parsed.type===`html`)return(0,c.jsx)(`div`,{className:`sleetch-markdown`,children:(0,c.jsx)(`div`,{dangerouslySetInnerHTML:{__html:e.parsed.html}})});let{default:n}=(0,l.use)(m(e.parsed.code));return(0,c.jsx)(`div`,{className:`sleetch-markdown`,children:(0,c.jsx)(n,{components:t})})}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return h}});
|
|
2
|
+
//# sourceMappingURL=content-BU9cbvVn.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-BU9cbvVn.cjs","names":[],"sources":["../../../node_modules/.bun/@mdx-js+mdx@3.1.1/node_modules/@mdx-js/mdx/lib/run.js","../src/components/documentation/page/content.tsx"],"sourcesContent":["/**\n * @import {MDXModule} from 'mdx/types.js'\n * @import {RunOptions} from './util/resolve-evaluate-options.js'\n */\n\n/** @type {new (code: string, ...args: Array<unknown>) => Function} **/\nconst AsyncFunction = Object.getPrototypeOf(run).constructor\n\n/**\n * Run code compiled with `outputFormat: 'function-body'`.\n *\n * > ☢️ **Danger**: this `eval`s JavaScript.\n *\n * @param {{toString(): string}} code\n * JavaScript function body to run.\n * @param {RunOptions} options\n * Configuration (**required**).\n * @return {Promise<MDXModule>}\n * Promise to a module;\n * the result is an object with a `default` field set to the component;\n * anything else that was exported is available too.\n */\nexport async function run(code, options) {\n return new AsyncFunction(String(code))(options)\n}\n\n/**\n * Run code, synchronously.\n *\n * When possible please use the async `run`.\n *\n * > ☢️ **Danger**: this `eval`s JavaScript.\n *\n * @param {{toString(): string}} code\n * JavaScript function body to run.\n * @param {RunOptions} options\n * Configuration (**required**).\n * @return {MDXModule}\n * Module.\n */\nexport function runSync(code, options) {\n // eslint-disable-next-line no-new-func\n return new Function(String(code))(options)\n}\n","import { use } from 'react';\nimport '@sleetch/styles/markdown.css';\nimport '@sleetch/styles/katex.css';\nimport { run } from '@mdx-js/mdx';\nimport type { page_module } from '@sleetch/core/compiler';\nimport type { MDXComponents } from 'mdx/types';\nimport * as runtime from 'react/jsx-runtime';\n\nconst mdxCache = new Map<string, ReturnType<typeof compileMDX>>();\n\nfunction compileMDX(code: string) {\n\treturn run(code, {\n\t\t...runtime,\n\t\tbaseUrl: import.meta.url,\n\t});\n}\n\nfunction getCompiledMDX(code: string) {\n\tlet promise = mdxCache.get(code);\n\n\tif (!promise) {\n\t\tpromise = compileMDX(code);\n\t\tmdxCache.set(code, promise);\n\t}\n\n\treturn promise;\n}\nexport function PageContent({ page, components }: { page: page_module[\"default\"]; components?: MDXComponents }) {\n\n\tif (page.parsed.type === 'html') {\n\t\treturn (\n\t\t\t<div className=\"sleetch-markdown\">\n\t\t\t\t<div dangerouslySetInnerHTML={{ __html: page.parsed.html }} />\n\t\t\t</div>\n\t\t);\n\t}\n\n\tconst { default: Content } = use(getCompiledMDX(page.parsed.code));\n\n\treturn (\n\t\t<div className=\"sleetch-markdown\">\n\t\t\t<Content components={components} />\n\t\t</div>\n\t);\n}\n"],"x_google_ignoreList":[0],"mappings":"ujBAMA,IAAM,EAAgB,OAAO,eAAe,CAAG,CAAC,CAAC,YAgBjD,eAAsB,EAAI,EAAM,EAAS,CACvC,OAAO,IAAI,EAAc,OAAO,CAAI,CAAC,CAAC,CAAC,CAAO,CAChD,CChBA,IAAM,EAAW,IAAI,IAErB,SAAS,EAAW,EAAc,CACjC,OAAO,EAAI,EAAM,CAChB,GAAG,EACH,QAAA,CAAA,EAAqB,GACtB,CAAC,CACF,CAEA,SAAS,EAAe,EAAc,CACrC,IAAI,EAAU,EAAS,IAAI,CAAI,EAO/B,OALK,IACJ,EAAU,EAAW,CAAI,EACzB,EAAS,IAAI,EAAM,CAAO,GAGpB,CACR,CACA,SAAgB,EAAY,CAAE,OAAM,cAA4E,CAE/G,GAAI,EAAK,OAAO,OAAS,OACxB,OACC,EAAA,EAAA,IAAA,CAAC,MAAD,CAAK,UAAU,mBACd,UAAA,EAAA,EAAA,IAAA,CAAC,MAAD,CAAK,wBAAyB,CAAE,OAAQ,EAAK,OAAO,IAAK,CAAI,CAAA,CACzD,CAAA,EAIP,GAAM,CAAE,QAAS,IAAA,EAAY,EAAA,IAAA,CAAI,EAAe,EAAK,OAAO,IAAI,CAAC,EAEjE,OACC,EAAA,EAAA,IAAA,CAAC,MAAD,CAAK,UAAU,mBACd,UAAA,EAAA,EAAA,IAAA,CAAC,EAAD,CAAqB,YAAa,CAAA,CAC9B,CAAA,CAEP"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./clsx-CaAiuA5w.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
-
import './assets/
|
|
4
|
-
var n = { default: "
|
|
3
|
+
import './assets/content3.css';//#region ../styles/src/components/documentation/sidebar/content.module.css
|
|
4
|
+
var n = { default: "_default_kg51w_1" };
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/documentation/sidebar/content.tsx
|
|
7
7
|
function r({ className: r, children: i, ...a }) {
|
|
@@ -14,4 +14,4 @@ function r({ className: r, children: i, ...a }) {
|
|
|
14
14
|
//#endregion
|
|
15
15
|
export { r as t };
|
|
16
16
|
|
|
17
|
-
//# sourceMappingURL=content-
|
|
17
|
+
//# sourceMappingURL=content-CP58YEGJ.js.map
|