Updates
1
assets/Button-880c7a21.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{S as m,i as f,s as k,n as d}from"./index-29d97ebc.js";import{e as p,t as h,c as g,b as _,m as v,h as y,i as u,j as w,k as C,p as z,n as B,q as j}from"./lifecycle-1566062d.js";function V(o){let t,i,a,l,r;return{c(){t=p("button"),i=h(o[1]),this.h()},l(e){t=g(e,"BUTTON",{type:!0,class:!0,style:!0});var n=_(t);i=v(n,o[1]),n.forEach(y),this.h()},h(){u(t,"type","button"),u(t,"class",a=["storybook-button",`storybook-button--${o[0]}`,o[3]].join(" ")),u(t,"style",o[2])},m(e,n){w(e,t,n),C(t,i),l||(r=z(t,"click",o[6]),l=!0)},p(e,[n]){n&2&&B(i,e[1]),n&9&&a!==(a=["storybook-button",`storybook-button--${e[0]}`,e[3]].join(" "))&&u(t,"class",a),n&4&&u(t,"style",e[2])},i:d,o:d,d(e){e&&y(t),l=!1,r()}}}function q(o,t,i){let a,l,{primary:r=!1}=t,{backgroundColor:e=void 0}=t,{size:n="medium"}=t,{label:c=""}=t;function b(s){j.call(this,o,s)}return o.$$set=s=>{"primary"in s&&i(4,r=s.primary),"backgroundColor"in s&&i(5,e=s.backgroundColor),"size"in s&&i(0,n=s.size),"label"in s&&i(1,c=s.label)},o.$$.update=()=>{o.$$.dirty&16&&i(3,a=r?"storybook-button--primary":"storybook-button--secondary"),o.$$.dirty&32&&i(2,l=e?`background-color: ${e}`:"")},[n,c,l,a,r,e,b]}class S extends m{constructor(t){super(),f(this,t,q,V,k,{primary:4,backgroundColor:5,size:0,label:1})}}S.__docgen={version:3,name:"Button.svelte",data:[{keywords:[],visibility:"public",description:"Is this the principal call to action on the page?",name:"primary",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"boolean",type:"boolean"},defaultValue:!1},{keywords:[],visibility:"public",description:"What background color to use",name:"backgroundColor",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{keywords:[],visibility:"public",description:"How large should the button be?",name:"size",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"medium"},{keywords:[],visibility:"public",description:"Button contents",name:"label",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[{keywords:[],visibility:"public",description:"",name:"click",parent:"button",modificators:[],locations:null}],slots:[],refs:[]};export{S as B};
|
1
assets/Button-bc1a867b.css
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1}.storybook-button--primary{color:#fff;background-color:#1ea7fd}.storybook-button--secondary{color:#333;background-color:transparent;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}
|
20
assets/Button.stories-55e7689c.js
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
import{B as b}from"./Button-880c7a21.js";import"./index-29d97ebc.js";import"./lifecycle-1566062d.js";const x={title:"Example/Button",component:b,tags:["autodocs"],argTypes:{backgroundColor:{control:"color"},size:{control:{type:"select"},options:["small","medium","large"]}}},r={args:{primary:!0,label:"Button"}},e={args:{label:"Button"}},a={args:{size:"large",label:"Button"}},o={args:{size:"small",label:"Button"}};var s,t,n;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{
|
||||||
|
args: {
|
||||||
|
primary: true,
|
||||||
|
label: 'Button'
|
||||||
|
}
|
||||||
|
}`,...(n=(t=r.parameters)==null?void 0:t.docs)==null?void 0:n.source}}};var l,c,m;e.parameters={...e.parameters,docs:{...(l=e.parameters)==null?void 0:l.docs,source:{originalSource:`{
|
||||||
|
args: {
|
||||||
|
label: 'Button'
|
||||||
|
}
|
||||||
|
}`,...(m=(c=e.parameters)==null?void 0:c.docs)==null?void 0:m.source}}};var p,u,i;a.parameters={...a.parameters,docs:{...(p=a.parameters)==null?void 0:p.docs,source:{originalSource:`{
|
||||||
|
args: {
|
||||||
|
size: 'large',
|
||||||
|
label: 'Button'
|
||||||
|
}
|
||||||
|
}`,...(i=(u=a.parameters)==null?void 0:u.docs)==null?void 0:i.source}}};var d,g,B;o.parameters={...o.parameters,docs:{...(d=o.parameters)==null?void 0:d.docs,source:{originalSource:`{
|
||||||
|
args: {
|
||||||
|
size: 'small',
|
||||||
|
label: 'Button'
|
||||||
|
}
|
||||||
|
}`,...(B=(g=o.parameters)==null?void 0:g.docs)==null?void 0:B.source}}};const f=["Primary","Secondary","Large","Small"];export{a as Large,r as Primary,e as Secondary,o as Small,f as __namedExportsOrder,x as default};
|
1
assets/Color-6VNJS4EI-d70c499c.js
Normal file
173
assets/Configure-a37af9ea.js
Normal file
1
assets/DocsRenderer-NNNQARDV-388ea117.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{_ as d}from"./iframe-1480f123.js";import{r as h,R as o,d as a,C as E,A as R,H as x,D as y}from"./index-9ad14d90.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";var c={},m=h;c.createRoot=m.createRoot,c.hydrateRoot=m.hydrateRoot;var n=new Map,D=({callback:e,children:t})=>{let r=a.useRef();return a.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t},_=async(e,t)=>{let r=await w(t);return new Promise(s=>{r.render(o.createElement(D,{callback:()=>s(null)},e))})},v=(e,t)=>{let r=n.get(e);r&&(r.unmount(),n.delete(e))},w=async e=>{let t=n.get(e);return t||(t=c.createRoot(e),n.set(e,t)),t},f={code:E,a:R,...x},g=class extends a.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:o.createElement(o.Fragment,null,t)}},S=class{constructor(){this.render=async(e,t,r)=>{let s={...f,...t==null?void 0:t.components},u=y;return new Promise((i,p)=>{d(()=>import("./index-6c729434.js"),["./index-6c729434.js","./index-c6d7f16b.js","./index-9ad14d90.js","./iframe-1480f123.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js"],import.meta.url).then(({MDXProvider:l})=>_(o.createElement(g,{showException:p,key:Math.random()},o.createElement(l,{components:s},o.createElement(u,{context:e,docsParameter:t}))),r)).then(()=>i())})},this.unmount=e=>{v(e)}}};export{S as DocsRenderer,f as defaultComponents};
|
1
assets/Header-976773b5.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{S,i as j,s as C,t as k,c as I,a as y,g as T,b as E,d as H,m as L,n as W,e as V}from"./index-29d97ebc.js";import{e as v,a as M,c as b,b as $,d as q,f as D,h as d,i as F,j as w,k as h,l as N,t as A,m as z,n as P}from"./lifecycle-1566062d.js";import{B}from"./Button-880c7a21.js";function R(f){let t,s,l,r;return t=new B({props:{size:"small",label:"Log in"}}),t.$on("click",f[1]),l=new B({props:{primary:!0,size:"small",label:"Sign up"}}),l.$on("click",f[3]),{c(){E(t.$$.fragment),s=M(),E(l.$$.fragment)},l(n){H(t.$$.fragment,n),s=D(n),H(l.$$.fragment,n)},m(n,c){L(t,n,c),w(n,s,c),L(l,n,c),r=!0},p:W,i(n){r||(y(t.$$.fragment,n),y(l.$$.fragment,n),r=!0)},o(n){k(t.$$.fragment,n),k(l.$$.fragment,n),r=!1},d(n){n&&d(s),V(t,n),V(l,n)}}}function G(f){let t,s,l,r=f[0].name+"",n,c,a,e,m;return e=new B({props:{size:"small",label:"Log out"}}),e.$on("click",f[2]),{c(){t=v("span"),s=A("Welcome, "),l=v("b"),n=A(r),c=A("!"),a=M(),E(e.$$.fragment),this.h()},l(i){t=b(i,"SPAN",{class:!0});var o=$(t);s=z(o,"Welcome, "),l=b(o,"B",{});var g=$(l);n=z(g,r),g.forEach(d),c=z(o,"!"),o.forEach(d),a=D(i),H(e.$$.fragment,i),this.h()},h(){F(t,"class","welcome")},m(i,o){w(i,t,o),h(t,s),h(t,l),h(l,n),h(t,c),w(i,a,o),L(e,i,o),m=!0},p(i,o){(!m||o&1)&&r!==(r=i[0].name+"")&&P(n,r)},i(i){m||(y(e.$$.fragment,i),m=!0)},o(i){k(e.$$.fragment,i),m=!1},d(i){i&&(d(t),d(a)),V(e,i)}}}function J(f){let t,s,l,r='<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M10 0h12a10 10 0 0110 10v12a10 10 0 01-10 10H10A10 10 0 010 22V10A10 10 0 0110 0z" fill="#FFF"></path><path d="M5.3 10.6l10.4 6v11.1l-10.4-6v-11zm11.4-6.2l9.7 5.5-9.7 5.6V4.4z" fill="#555AB9"></path><path d="M27.2 10.6v11.2l-10.5 6V16.5l10.5-6zM15.7 4.4v11L6 10l9.7-5.5z" fill="#91BAF8"></path></g></svg> <h1>Acme</h1>',n,c,a,e,m;const i=[G,R],o=[];function g(u,p){return u[0]?0:1}return a=g(f),e=o[a]=i[a](f),{c(){t=v("header"),s=v("div"),l=v("div"),l.innerHTML=r,n=M(),c=v("div"),e.c(),this.h()},l(u){t=b(u,"HEADER",{});var p=$(t);s=b(p,"DIV",{class:!0});var _=$(s);l=b(_,"DIV",{"data-svelte-h":!0}),q(l)!=="svelte-mhlgcu"&&(l.innerHTML=r),n=D(_),c=b(_,"DIV",{});var x=$(c);e.l(x),x.forEach(d),_.forEach(d),p.forEach(d),this.h()},h(){F(s,"class","storybook-header")},m(u,p){w(u,t,p),h(t,s),h(s,l),h(s,n),h(s,c),o[a].m(c,null),m=!0},p(u,[p]){let _=a;a=g(u),a===_?o[a].p(u,p):(T(),k(o[_],1,1,()=>{o[_]=null}),I(),e=o[a],e?e.p(u,p):(e=o[a]=i[a](u),e.c()),y(e,1),e.m(c,null))},i(u){m||(y(e),m=!0)},o(u){k(e),m=!1},d(u){u&&d(t),o[a].d()}}}function K(f,t,s){let{user:l=null}=t;const r=N();function n(e){r("login",e)}function c(e){r("logout",e)}function a(e){r("createAccount",e)}return f.$$set=e=>{"user"in e&&s(0,l=e.user)},[l,n,c,a]}class O extends S{constructor(t){super(),j(this,t,K,J,C,{user:0})}}O.__docgen={version:3,name:"Header.svelte",data:[{visibility:"public",description:null,keywords:[],name:"user",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"},defaultValue:null}],computed:[],methods:[],components:[],description:null,keywords:[],events:[{visibility:"public",description:null,keywords:[],name:"login"},{visibility:"public",description:null,keywords:[],name:"logout"},{visibility:"public",description:null,keywords:[],name:"createAccount"}],slots:[],refs:[]};export{O as H};
|
1
assets/Header-a6911580.css
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.storybook-header{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;border-bottom:1px solid rgba(0,0,0,.1);padding:15px 20px;display:flex;align-items:center;justify-content:space-between}.storybook-header svg{display:inline-block;vertical-align:top}.storybook-header h1{font-weight:700;font-size:20px;line-height:1;margin:6px 0 6px 10px;display:inline-block;vertical-align:top}.storybook-header button+button{margin-left:10px}.storybook-header .welcome{color:#333;font-size:14px;margin-right:10px}
|
7
assets/Header.stories-c73869bb.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import{H as c}from"./Header-976773b5.js";import"./index-29d97ebc.js";import"./lifecycle-1566062d.js";import"./Button-880c7a21.js";const i={title:"Example/Header",component:c,tags:["autodocs"],parameters:{layout:"fullscreen"}},e={args:{user:{name:"Jane Doe"}}},r={};var a,o,s;e.parameters={...e.parameters,docs:{...(a=e.parameters)==null?void 0:a.docs,source:{originalSource:`{
|
||||||
|
args: {
|
||||||
|
user: {
|
||||||
|
name: 'Jane Doe'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}`,...(s=(o=e.parameters)==null?void 0:o.docs)==null?void 0:s.source}}};var t,n,m;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(m=(n=r.parameters)==null?void 0:n.docs)==null?void 0:m.source}}};const l=["LoggedIn","LoggedOut"];export{e as LoggedIn,r as LoggedOut,l as __namedExportsOrder,i as default};
|
224
assets/Page.stories-3865e87b.js
Normal file
1
assets/Page.stories-ece1482a.css
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.storybook-page{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:24px;padding:48px 20px;margin:0 auto;max-width:600px;color:#333}.storybook-page h2{font-weight:700;font-size:32px;line-height:1;margin:0 0 4px;display:inline-block;vertical-align:top}.storybook-page p{margin:1em 0}.storybook-page a{text-decoration:none;color:#1ea7fd}.storybook-page ul{padding-left:30px;margin:1em 0}.storybook-page li{margin-bottom:8px}.storybook-page .tip{display:inline-block;border-radius:1em;font-size:11px;line-height:12px;font-weight:700;background:#e7fdd8;color:#66bf3c;padding:4px 12px;margin-right:10px;vertical-align:top}.storybook-page .tip-wrapper{font-size:13px;line-height:20px;margin-top:40px;margin-bottom:40px}.storybook-page .tip-wrapper svg{display:inline-block;height:12px;width:12px;margin-right:4px;vertical-align:top;margin-top:3px}.storybook-page .tip-wrapper svg path{fill:#1ea7fd}
|
1
assets/WithTooltip-V3YHNWJZ-f3dea45d.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{W as T,W as e,a as h}from"./index-9ad14d90.js";import"./iframe-1480f123.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";export{T as WithToolTipState,e as WithTooltip,h as WithTooltipPure};
|
1
assets/_commonjsHelpers-725317a4.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{o as c,l as g};
|
BIN
assets/accessibility-cd6d60f7.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
assets/addon-library-bc7ba705.png
Normal file
After Width: | Height: | Size: 456 KiB |
BIN
assets/context-c612d889.png
Normal file
After Width: | Height: | Size: 6 KiB |
15
assets/discord-f7d1b78c.svg
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<svg width="33" height="32" viewBox="0 0 33 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g clip-path="url(#clip0_10031_177575)">
|
||||||
|
<mask id="mask0_10031_177575" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="4" width="33" height="25">
|
||||||
|
<path d="M32.5034 4.00195H0.503906V28.7758H32.5034V4.00195Z" fill="white"/>
|
||||||
|
</mask>
|
||||||
|
<g mask="url(#mask0_10031_177575)">
|
||||||
|
<path d="M27.5928 6.20817C25.5533 5.27289 23.3662 4.58382 21.0794 4.18916C21.0378 4.18154 20.9962 4.20057 20.9747 4.23864C20.6935 4.73863 20.3819 5.3909 20.1637 5.90358C17.7042 5.53558 15.2573 5.53558 12.8481 5.90358C12.6299 5.37951 12.307 4.73863 12.0245 4.23864C12.003 4.20184 11.9614 4.18281 11.9198 4.18916C9.63431 4.58255 7.44721 5.27163 5.40641 6.20817C5.38874 6.21578 5.3736 6.22848 5.36355 6.24497C1.21508 12.439 0.078646 18.4809 0.636144 24.4478C0.638667 24.477 0.655064 24.5049 0.677768 24.5227C3.41481 26.5315 6.06609 27.7511 8.66815 28.5594C8.70979 28.5721 8.75392 28.5569 8.78042 28.5226C9.39594 27.6826 9.94461 26.7968 10.4151 25.8653C10.4428 25.8107 10.4163 25.746 10.3596 25.7244C9.48927 25.3945 8.66058 24.9922 7.86343 24.5354C7.80038 24.4986 7.79533 24.4084 7.85333 24.3653C8.02108 24.2397 8.18888 24.109 8.34906 23.977C8.37804 23.9529 8.41842 23.9478 8.45249 23.963C13.6894 26.3526 19.359 26.3526 24.5341 23.963C24.5682 23.9465 24.6086 23.9516 24.6388 23.9757C24.799 24.1077 24.9668 24.2397 25.1358 24.3653C25.1938 24.4084 25.19 24.4986 25.127 24.5354C24.3298 25.0011 23.5011 25.3945 22.6296 25.7232C22.5728 25.7447 22.5476 25.8107 22.5754 25.8653C23.0559 26.7955 23.6046 27.6812 24.2087 28.5213C24.234 28.5569 24.2794 28.5721 24.321 28.5594C26.9357 27.7511 29.5869 26.5315 32.324 24.5227C32.348 24.5049 32.3631 24.4783 32.3656 24.4491C33.0328 17.5506 31.2481 11.5584 27.6344 6.24623C27.6256 6.22848 27.6105 6.21578 27.5928 6.20817ZM11.1971 20.8146C9.62043 20.8146 8.32129 19.3679 8.32129 17.5913C8.32129 15.8146 9.59523 14.368 11.1971 14.368C12.8115 14.368 14.0981 15.8273 14.0729 17.5913C14.0729 19.3679 12.7989 20.8146 11.1971 20.8146ZM21.8299 20.8146C20.2533 20.8146 18.9541 19.3679 18.9541 17.5913C18.9541 15.8146 20.228 14.368 21.8299 14.368C23.4444 14.368 24.7309 15.8273 24.7057 17.5913C24.7057 19.3679 23.4444 20.8146 21.8299 20.8146Z" fill="#5865F2"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip0_10031_177575">
|
||||||
|
<rect width="31.9995" height="32" fill="white" transform="translate(0.5)"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
BIN
assets/docs-5b0c7100.png
Normal file
After Width: | Height: | Size: 27 KiB |
5
assets/entry-preview-0f676f23.js
Normal file
7
assets/entry-preview-docs-9f458c92.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import{e as m,S as _,a as f}from"./index-a04a29e8.js";import"./_commonjsHelpers-725317a4.js";const{logger:E,deprecate:$}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{addons:S,useEffect:h}=__STORYBOOK_MODULE_PREVIEW_API__;function T(r,e){return e?e.find(n=>n.name===r)!=null:!1}var O=r=>{try{let e=r.__docgen;if(e)return A(e)}catch(e){E.log(`Error extracting argTypes: ${e}`)}return{}},A=r=>{let e={};return r.data&&r.data.forEach(n=>{var t,a;e[n.name]={control:w(n.type),name:n.name,description:n.description||void 0,type:{required:T("required",n.keywords||[]),name:(t=n.type)==null?void 0:t.text},table:{type:{summary:(a=n.type)==null?void 0:a.text},defaultValue:{summary:n.defaultValue},category:"properties"}}}),r.events&&r.events.forEach(n=>{e[`event_${n.name}`]={name:n.name,action:n.name,control:!1,...n.description?{description:n.description}:{},table:{category:"events"}}}),r.slots&&r.slots.forEach(n=>{var t;e[`slot_${n.name}`]={name:n.name,control:!1,description:[n.description,(t=n.params)==null?void 0:t.map(a=>`\`${a.name}\``).join(" ")].filter(a=>a).join(`
|
||||||
|
|
||||||
|
`),table:{category:"slots"}}}),e},w=r=>{if(!r)return null;if(r.kind==="type")switch(r.type){case"string":return{type:"text"};case"enum":return{type:"radio"};case"any":return{type:"object"};default:return{type:r.type}}else if(r.kind==="union"&&Array.isArray(r.type)&&!r.type.find(e=>e.type!=="string"))return{type:"radio",options:r.type.filter(e=>e.kind==="const").map(e=>e.value)};return null};function C(r){if(!r)return"";let{__docgen:e={}}=r;return e.description}var D=r=>{var t;let e=(t=r==null?void 0:r.parameters.docs)==null?void 0:t.source,n=r==null?void 0:r.parameters.__isArgsStory;return(e==null?void 0:e.type)===f.DYNAMIC?!1:!n||(e==null?void 0:e.code)||(e==null?void 0:e.type)===f.CODE};function v(r,e,n){if(e==null)return null;let t=n[r];return t&&t.defaultValue===e||t&&t.action?null:e===!0?r:typeof e=="string"?`${r}=${JSON.stringify(e)}`:typeof e=="function"?`${r}={<handler>}`:`${r}={${JSON.stringify(e)}}`}function N(r){if(r==null)return null;let{__docgen:e={}}=r,{name:n}=e;return n?(n.endsWith(".svelte")&&(n=n.substring(0,n.length-7)),n):r.name}function R(r,e,n,t){let a=N(r);if(!a)return null;let s=Object.entries(e).filter(([o])=>o!==t).map(([o,d])=>v(o,d,n)).filter(o=>o),p=s.join(" "),l=p.length>50,u=t?e[t]:null,i=l?`<${a}
|
||||||
|
${s.join(`
|
||||||
|
`)}`:`<${a} ${p}`;return u?`${i}>
|
||||||
|
${u}
|
||||||
|
</${a}>`:`${i}/>`}function b(r){var n,t,a;let{__docgen:e}=r||{};return e?(n=e.keywords)!=null&&n.find(s=>s.name==="wrapper")?{wrapper:!0,slotProperty:(a=(t=e.data)==null?void 0:t.find(s=>s.keywords.find(p=>p.name==="slot")))==null?void 0:a.name}:{wrapper:!1}:{wrapper:!1}}var j=(r,e)=>{let n=S.getChannel(),t=D(e),a=r(),s;if(h(()=>{if(!t&&s){let{id:y,unmappedArgs:g}=e;n.emit(_,{id:y,args:g,source:s})}}),t)return a;let{parameters:p={},args:l={},component:u}=e||{},{Component:i}=e.originalStoryFn(l,e),{wrapper:o,slotProperty:d}=b(i);o&&(p.component&&$("parameters.component is deprecated. Using context.component instead."),i=u);let c=R(i,l,e==null?void 0:e.argTypes,d);return c&&(s=c),a},L={docs:{story:{inline:!0},extractArgTypes:O,extractComponentDescription:C}},k=[j],K=[m];export{K as argTypesEnhancers,k as decorators,L as parameters};
|
BIN
assets/figma-plugin-b0a5ad2d.png
Normal file
After Width: | Height: | Size: 43 KiB |
156
assets/formatter-SWP5E3XI-5814e4ec.js
Normal file
3
assets/github-cdfc3270.svg
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M16.0001 0C7.16466 0 0 7.17472 0 16.0256C0 23.1061 4.58452 29.1131 10.9419 31.2322C11.7415 31.3805 12.0351 30.8845 12.0351 30.4613C12.0351 30.0791 12.0202 28.8167 12.0133 27.4776C7.56209 28.447 6.62283 25.5868 6.62283 25.5868C5.89499 23.7345 4.8463 23.2419 4.8463 23.2419C3.39461 22.2473 4.95573 22.2678 4.95573 22.2678C6.56242 22.3808 7.40842 23.9192 7.40842 23.9192C8.83547 26.3691 11.1514 25.6609 12.0645 25.2514C12.2081 24.2156 12.6227 23.5087 13.0803 23.1085C9.52648 22.7032 5.7906 21.3291 5.7906 15.1886C5.7906 13.4389 6.41563 12.0094 7.43916 10.8871C7.27303 10.4834 6.72537 8.85349 7.59415 6.64609C7.59415 6.64609 8.93774 6.21539 11.9953 8.28877C13.2716 7.9337 14.6404 7.75563 16.0001 7.74953C17.3599 7.75563 18.7297 7.9337 20.0084 8.28877C23.0623 6.21539 24.404 6.64609 24.404 6.64609C25.2749 8.85349 24.727 10.4834 24.5608 10.8871C25.5868 12.0094 26.2075 13.4389 26.2075 15.1886C26.2075 21.3437 22.4645 22.699 18.9017 23.0957C19.4756 23.593 19.9869 24.5683 19.9869 26.0634C19.9869 28.2077 19.9684 29.9334 19.9684 30.4613C19.9684 30.8877 20.2564 31.3874 21.0674 31.2301C27.4213 29.1086 32 23.1037 32 16.0256C32 7.17472 24.8364 0 16.0001 0ZM5.99257 22.8288C5.95733 22.9084 5.83227 22.9322 5.71834 22.8776C5.60229 22.8253 5.53711 22.7168 5.57474 22.6369C5.60918 22.5549 5.7345 22.5321 5.85029 22.587C5.9666 22.6393 6.03284 22.7489 5.99257 22.8288ZM6.7796 23.5321C6.70329 23.603 6.55412 23.5701 6.45291 23.4581C6.34825 23.3464 6.32864 23.197 6.40601 23.125C6.4847 23.0542 6.62937 23.0874 6.73429 23.1991C6.83895 23.3121 6.85935 23.4605 6.7796 23.5321ZM7.31953 24.4321C7.2215 24.5003 7.0612 24.4363 6.96211 24.2938C6.86407 24.1513 6.86407 23.9804 6.96422 23.9119C7.06358 23.8435 7.2215 23.905 7.32191 24.0465C7.41968 24.1914 7.41968 24.3623 7.31953 24.4321ZM8.23267 25.4743C8.14497 25.5712 7.95818 25.5452 7.82146 25.413C7.68156 25.2838 7.64261 25.1004 7.73058 25.0035C7.81934 24.9064 8.00719 24.9337 8.14497 25.0648C8.28381 25.1938 8.3262 25.3785 8.23267 25.4743ZM9.41281 25.8262C9.37413 25.9517 9.19423 26.0088 9.013 25.9554C8.83203 25.9005 8.7136 25.7535 8.75016 25.6266C8.78778 25.5003 8.96848 25.4408 9.15104 25.4979C9.33174 25.5526 9.45044 25.6985 9.41281 25.8262ZM10.7559 25.9754C10.7604 26.1076 10.6067 26.2172 10.4165 26.2196C10.2252 26.2238 10.0704 26.1169 10.0683 25.9868C10.0683 25.8534 10.2185 25.7448 10.4098 25.7416C10.6001 25.7379 10.7559 25.8441 10.7559 25.9754ZM12.0753 25.9248C12.0981 26.0537 11.9658 26.1862 11.7769 26.2215C11.5912 26.2554 11.4192 26.1758 11.3957 26.0479C11.3726 25.9157 11.5072 25.7833 11.6927 25.7491C11.8819 25.7162 12.0512 25.7937 12.0753 25.9248Z" fill="#161614"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
1
assets/iframe-1480f123.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))l(t);new MutationObserver(t=>{for(const e of t)if(e.type==="childList")for(const o of e.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&l(o)}).observe(document,{childList:!0,subtree:!0});function s(t){const e={};return t.integrity&&(e.integrity=t.integrity),t.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),t.crossOrigin==="use-credentials"?e.credentials="include":t.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function l(t){if(t.ep)return;t.ep=!0;const e=s(t);fetch(t.href,e)}})();const E="modulepreload",d=function(i,_){return new URL(i,_).href},m={},r=function(_,s,l){if(!s||s.length===0)return _();const t=document.getElementsByTagName("link");return Promise.all(s.map(e=>{if(e=d(e,l),e in m)return;m[e]=!0;const o=e.endsWith(".css"),O=o?'[rel="stylesheet"]':"";if(!!l)for(let c=t.length-1;c>=0;c--){const u=t[c];if(u.href===e&&(!o||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${O}`))return;const n=document.createElement("link");if(n.rel=o?"stylesheet":E,o||(n.as="script",n.crossOrigin=""),n.href=e,document.head.appendChild(n),o)return new Promise((c,u)=>{n.addEventListener("load",c),n.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>_()).catch(e=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=e,window.dispatchEvent(o),!o.defaultPrevented)throw e})},{createBrowserChannel:p}=__STORYBOOK_MODULE_CHANNELS__,{addons:R}=__STORYBOOK_MODULE_PREVIEW_API__,a=p({page:"preview"});R.setChannel(a);window.__STORYBOOK_ADDONS_CHANNEL__=a;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=a);const f={"./stories/Button.stories.ts":async()=>r(()=>import("./Button.stories-55e7689c.js"),["./Button.stories-55e7689c.js","./Button-880c7a21.js","./index-29d97ebc.js","./lifecycle-1566062d.js","./Button-bc1a867b.css"],import.meta.url),"./stories/Configure.mdx":async()=>r(()=>import("./Configure-a37af9ea.js"),["./Configure-a37af9ea.js","./index-9ad14d90.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-c6d7f16b.js"],import.meta.url),"./stories/Header.stories.ts":async()=>r(()=>import("./Header.stories-c73869bb.js"),["./Header.stories-c73869bb.js","./Header-976773b5.js","./index-29d97ebc.js","./lifecycle-1566062d.js","./Button-880c7a21.js","./Button-bc1a867b.css","./Header-a6911580.css"],import.meta.url),"./stories/Page.stories.ts":async()=>r(()=>import("./Page.stories-3865e87b.js"),["./Page.stories-3865e87b.js","./index-29d97ebc.js","./lifecycle-1566062d.js","./Header-976773b5.js","./Button-880c7a21.js","./Button-bc1a867b.css","./Header-a6911580.css","./Page.stories-ece1482a.css"],import.meta.url)};async function P(i){return f[i]()}const{composeConfigs:T,PreviewWeb:w,ClientApi:L}=__STORYBOOK_MODULE_PREVIEW_API__,I=async()=>{const i=await Promise.all([r(()=>import("./entry-preview-0f676f23.js"),["./entry-preview-0f676f23.js","./index-29d97ebc.js","./lifecycle-1566062d.js","./index-356e4a49.js"],import.meta.url),r(()=>import("./entry-preview-docs-9f458c92.js"),["./entry-preview-docs-9f458c92.js","./index-a04a29e8.js","./_commonjsHelpers-725317a4.js"],import.meta.url),r(()=>import("./preview-0ad5268f.js"),["./preview-0ad5268f.js","./preview-errors-dde4324f.js","./index-356e4a49.js","./lifecycle-1566062d.js"],import.meta.url),r(()=>import("./preview-73104b77.js"),["./preview-73104b77.js","./index-11d98b33.js"],import.meta.url),r(()=>import("./preview-fd3fd313.js"),[],import.meta.url),r(()=>import("./preview-77a968f3.js"),["./preview-77a968f3.js","./preview-errors-dde4324f.js","./index-356e4a49.js"],import.meta.url),r(()=>import("./preview-30b54f76.js"),["./preview-30b54f76.js","./index-356e4a49.js"],import.meta.url),r(()=>import("./preview-c56bf6ac.js"),[],import.meta.url),r(()=>import("./preview-da31036b.js"),["./preview-da31036b.js","./index-356e4a49.js"],import.meta.url),r(()=>import("./preview-0ef86afd.js"),[],import.meta.url),r(()=>import("./preview-8f310eab.js"),["./preview-8f310eab.js","./_commonjsHelpers-725317a4.js"],import.meta.url),r(()=>import("./preview-ba2273f4.js"),[],import.meta.url)]);return T(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new w;window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;window.__STORYBOOK_CLIENT_API__=window.__STORYBOOK_CLIENT_API__||new L({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:P,getProjectAnnotations:I});export{r as _};
|
1
assets/index-11d98b33.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
var A=Object.create,g=Object.defineProperty,d=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,h=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,x=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),P=(r,e,i,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of j(e))!m.call(r,a)&&a!==i&&g(r,a,{get:()=>e[a],enumerable:!(u=d(e,a))||u.enumerable});return r},S=(r,e,i)=>(i=r!=null?A(h(r)):{},P(e||!r||!r.__esModule?g(i,"default",{value:r,enumerable:!0}):i,r)),U=x(r=>{Object.defineProperty(r,"__esModule",{value:!0}),r.isEqual=function(){var e=Object.prototype.toString,i=Object.getPrototypeOf,u=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,c){return function f(t,n,o){var y,s,l,p=e.call(t),w=e.call(n);if(t===n)return!0;if(t==null||n==null)return!1;if(o.indexOf(t)>-1&&o.indexOf(n)>-1)return!0;if(o.push(t,n),p!=w||(y=u(t),s=u(n),y.length!=s.length||y.some(function(O){return!f(t[O],n[O],o)})))return!1;switch(p.slice(8,-1)){case"Symbol":return t.valueOf()==n.valueOf();case"Date":case"Number":return+t==+n||+t!=+t&&+n!=+n;case"RegExp":case"Function":case"String":case"Boolean":return""+t==""+n;case"Set":case"Map":y=t.entries(),s=n.entries();do if(!f((l=y.next()).value,s.next().value,o))return!1;while(!l.done);return!0;case"ArrayBuffer":t=new Uint8Array(t),n=new Uint8Array(n);case"DataView":t=new Uint8Array(t.buffer),n=new Uint8Array(n.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(t.length!=n.length)return!1;for(l=0;l<t.length;l++)if((l in t||l in n)&&(l in t!=l in n||!f(t[l],n[l],o)))return!1;return!0;case"Object":return f(i(t),i(n),o);default:return!1}}(a,c,[])}}()}),b=S(U()),v=r=>r.map(e=>typeof e<"u").filter(Boolean).length,q=(r,e)=>{let{exists:i,eq:u,neq:a,truthy:c}=r;if(v([i,u,a,c])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:i,eq:u,neq:a})}`);if(typeof u<"u")return(0,b.isEqual)(e,u);if(typeof a<"u")return!(0,b.isEqual)(e,a);if(typeof i<"u"){let f=typeof e<"u";return i?f:!f}return typeof c>"u"||c?!!e:!e},E=(r,e,i)=>{if(!r.if)return!0;let{arg:u,global:a}=r.if;if(v([u,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:u,global:a})}`);let c=u?e[u]:i[a];return q(r.if,c)},I=r=>r.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");export{I as L,E as O};
|
1
assets/index-29d97ebc.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
var M=Object.defineProperty;var N=(t,e,n)=>e in t?M(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var $=(t,e,n)=>(N(t,typeof e!="symbol"?e+"":e,n),n);import{v as d,w as C,b as R,h as U,x as V,y as q}from"./lifecycle-1566062d.js";function m(){}function Y(t,e){for(const n in e)t[n]=e[n];return t}function I(t){return t()}function O(){return Object.create(null)}function l(t){t.forEach(I)}function P(t){return typeof t=="function"}function Z(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function z(t){return Object.keys(t).length===0}const u=[],j=[];let c=[];const k=[],A=Promise.resolve();let y=!1;function D(){y||(y=!0,A.then(B))}function w(t){c.push(t)}const p=new Set;let i=0;function B(){if(i!==0)return;const t=C;do{try{for(;i<u.length;){const e=u[i];i++,d(e),F(e.$$)}}catch(e){throw u.length=0,i=0,e}for(d(null),u.length=0,i=0;j.length;)j.pop()();for(let e=0;e<c.length;e+=1){const n=c[e];p.has(n)||(p.add(n),n())}c.length=0}while(u.length);for(;k.length;)k.pop()();y=!1,p.clear(),d(t)}function F(t){if(t.fragment!==null){t.update(),l(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(w)}}function G(t){const e=[],n=[];c.forEach(r=>t.indexOf(r)===-1?e.push(r):n.push(r)),n.forEach(r=>r()),c=e}const g=new Set;let a;function tt(){a={r:0,c:[],p:a}}function et(){a.r||l(a.c),a=a.p}function H(t,e){t&&t.i&&(g.delete(t),t.i(e))}function nt(t,e,n,r){if(t&&t.o){if(g.has(t))return;g.add(t),a.c.push(()=>{g.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}else r&&r()}function rt(t){t&&t.c()}function st(t,e){t&&t.l(e)}function J(t,e,n){const{fragment:r,after_update:f}=t.$$;r&&r.m(e,n),w(()=>{const _=t.$$.on_mount.map(I).filter(P);t.$$.on_destroy?t.$$.on_destroy.push(..._):l(_),t.$$.on_mount=[]}),f.forEach(w)}function K(t,e){const n=t.$$;n.fragment!==null&&(G(n.after_update),l(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Q(t,e){t.$$.dirty[0]===-1&&(u.push(t),D(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ot(t,e,n,r,f,_,x=null,L=[-1]){const h=C;d(t);const s=t.$$={fragment:null,ctx:[],props:_,update:m,not_equal:f,bound:O(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(h?h.$$.context:[])),callbacks:O(),dirty:L,skip_bound:!1,root:e.target||h.$$.root};x&&x(s.root);let b=!1;if(s.ctx=n?n(t,e.props||{},(o,v,...E)=>{const S=E.length?E[0]:v;return s.ctx&&f(s.ctx[o],s.ctx[o]=S)&&(!s.skip_bound&&s.bound[o]&&s.bound[o](S),b&&Q(t,o)),v}):[],s.update(),b=!0,l(s.before_update),s.fragment=r?r(s.ctx):!1,e.target){if(e.hydrate){V();const o=R(e.target);s.fragment&&s.fragment.l(o),o.forEach(U)}else s.fragment&&s.fragment.c();e.intro&&H(t.$$.fragment),J(t,e.target,e.anchor),q(),B()}d(h)}class ft{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){K(this,1),this.$destroy=m}$on(e,n){if(!P(n))return m;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{const f=r.indexOf(n);f!==-1&&r.splice(f,1)}}$set(e){this.$$set&&!z(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const T="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(T);export{ft as S,H as a,rt as b,et as c,st as d,K as e,j as f,tt as g,Y as h,ot as i,J as m,m as n,Z as s,nt as t};
|
6
assets/index-356e4a49.js
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
function l(o){for(var f=[],i=1;i<arguments.length;i++)f[i-1]=arguments[i];var n=Array.from(typeof o=="string"?[o]:o);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var s=n.reduce(function(t,g){var a=g.match(/\n([\t ]+|(?!\s).)/g);return a?t.concat(a.map(function(u){var r,e;return(e=(r=u.match(/[\t ]/g))===null||r===void 0?void 0:r.length)!==null&&e!==void 0?e:0})):t},[]);if(s.length){var d=new RegExp(`
|
||||||
|
[ ]{`+Math.min.apply(Math,s)+"}","g");n=n.map(function(t){return t.replace(d,`
|
||||||
|
`)})}n[0]=n[0].replace(/^\r?\n/,"");var c=n[0];return f.forEach(function(t,g){var a=c.match(/(?:^|\n)( *)$/),u=a?a[1]:"",r=t;typeof t=="string"&&t.includes(`
|
||||||
|
`)&&(r=String(t).split(`
|
||||||
|
`).map(function(e,h){return h===0?e:""+u+e}).join(`
|
||||||
|
`)),c+=r+n[g+1]}),c}export{l as d};
|
1
assets/index-6c729434.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{M as n,a as M,u as D,w as X}from"./index-c6d7f16b.js";import"./index-9ad14d90.js";import"./iframe-1480f123.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";export{n as MDXContext,M as MDXProvider,D as useMDXComponents,X as withMDXComponents};
|
395
assets/index-9ad14d90.js
Normal file
3
assets/index-a04a29e8.js
Normal file
1
assets/index-c6d7f16b.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{R as o}from"./index-9ad14d90.js";const u=o.createContext({});function c(t){return e;function e(r){const n=a(r.components);return o.createElement(t,{...r,allComponents:n})}}function a(t){const e=o.useContext(u);return o.useMemo(()=>typeof t=="function"?t(e):{...e,...t},[e,t])}const i={};function f({components:t,children:e,disableParentContext:r}){let n;return r?n=typeof t=="function"?t({}):t||i:n=a(t),o.createElement(u.Provider,{value:n},e)}export{u as M,f as a,a as u,c as w};
|
1
assets/lifecycle-1566062d.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
let f=!1;function C(){f=!0}function k(){f=!1}function x(n,e,t,r){for(;n<e;){const c=n+(e-n>>1);t(c)<=r?n=c+1:e=c}return n}function y(n){if(n.hydrate_init)return;n.hydrate_init=!0;let e=n.childNodes;if(n.nodeName==="HEAD"){const l=[];for(let o=0;o<e.length;o++){const s=e[o];s.claim_order!==void 0&&l.push(s)}e=l}const t=new Int32Array(e.length+1),r=new Int32Array(e.length);t[0]=-1;let c=0;for(let l=0;l<e.length;l++){const o=e[l].claim_order,s=(c>0&&e[t[c]].claim_order<=o?c+1:x(1,c,b=>e[t[b]].claim_order,o))-1;r[l]=t[s]+1;const h=s+1;t[h]=l,c=Math.max(h,c)}const u=[],i=[];let a=e.length-1;for(let l=t[c]+1;l!=0;l=r[l-1]){for(u.push(e[l-1]);a>=l;a--)i.push(e[a]);a--}for(;a>=0;a--)i.push(e[a]);u.reverse(),i.sort((l,o)=>l.claim_order-o.claim_order);for(let l=0,o=0;l<i.length;l++){for(;o<u.length&&i[l].claim_order>=u[o].claim_order;)o++;const s=o<u.length?u[o]:null;n.insertBefore(i[l],s)}}function v(n,e){if(f){for(y(n),(n.actual_end_child===void 0||n.actual_end_child!==null&&n.actual_end_child.parentNode!==n)&&(n.actual_end_child=n.firstChild);n.actual_end_child!==null&&n.actual_end_child.claim_order===void 0;)n.actual_end_child=n.actual_end_child.nextSibling;e!==n.actual_end_child?(e.claim_order!==void 0||e.parentNode!==n)&&n.insertBefore(e,n.actual_end_child):n.actual_end_child=e.nextSibling}else(e.parentNode!==n||e.nextSibling!==null)&&n.appendChild(e)}function S(n,e,t){f&&!t?v(n,e):(e.parentNode!==n||e.nextSibling!=t)&&n.insertBefore(e,t||null)}function j(n){n.parentNode&&n.parentNode.removeChild(n)}function N(n){return document.createElement(n)}function m(n){return document.createTextNode(n)}function B(){return m(" ")}function T(){return m("")}function g(n,e,t,r){return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}function q(n,e,t){t==null?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function D(n){return n.dataset.svelteH}function H(n){return Array.from(n.childNodes)}function E(n){n.claim_info===void 0&&(n.claim_info={last_index:0,total_claimed:0})}function p(n,e,t,r,c=!1){E(n);const u=(()=>{for(let i=n.claim_info.last_index;i<n.length;i++){const a=n[i];if(e(a)){const l=t(a);return l===void 0?n.splice(i,1):n[i]=l,c||(n.claim_info.last_index=i),a}}for(let i=n.claim_info.last_index-1;i>=0;i--){const a=n[i];if(e(a)){const l=t(a);return l===void 0?n.splice(i,1):n[i]=l,c?l===void 0&&n.claim_info.last_index--:n.claim_info.last_index=i,a}}return r()})();return u.claim_order=n.claim_info.total_claimed,n.claim_info.total_claimed+=1,u}function $(n,e,t,r){return p(n,c=>c.nodeName===e,c=>{const u=[];for(let i=0;i<c.attributes.length;i++){const a=c.attributes[i];t[a.name]||u.push(a.name)}u.forEach(i=>c.removeAttribute(i))},()=>r(e))}function I(n,e,t){return $(n,e,t,N)}function A(n,e){return p(n,t=>t.nodeType===3,t=>{const r=""+e;if(t.data.startsWith(r)){if(t.data.length!==r.length)return t.splitText(r.length)}else t.data=r},()=>m(e),!0)}function L(n){return A(n," ")}function M(n,e){e=""+e,n.data!==e&&(n.data=e)}function w(n,e,{bubbles:t=!1,cancelable:r=!1}={}){return new CustomEvent(n,{detail:e,bubbles:t,cancelable:r})}function z(n,e){return new n(e)}let d;function F(n){d=n}function _(){if(!d)throw new Error("Function called outside component initialization");return d}function P(n){_().$$.on_mount.push(n)}function W(){const n=_();return(e,t,{cancelable:r=!1}={})=>{const c=n.$$.callbacks[e];if(c){const u=w(e,t,{cancelable:r});return c.slice().forEach(i=>{i.call(n,u)}),!u.defaultPrevented}return!0}}function G(n,e){return _().$$.context.set(n,e),e}function J(n){return _().$$.context.get(n)}function K(n,e){const t=n.$$.callbacks[e.type];t&&t.slice().forEach(r=>r.call(this,e))}export{B as a,H as b,I as c,D as d,N as e,L as f,J as g,j as h,q as i,S as j,v as k,W as l,A as m,M as n,P as o,g as p,K as q,T as r,G as s,m as t,z as u,F as v,d as w,C as x,k as y};
|
1
assets/preview-0ad5268f.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{I as S,v as I}from"./preview-errors-dde4324f.js";import{o as j,s as b,g as x}from"./lifecycle-1566062d.js";import"./index-356e4a49.js";const{addons:T}=__STORYBOOK_MODULE_PREVIEW_API__,{global:A}=__STORYBOOK_MODULE_GLOBAL__;var k="storybook/actions",B=`${k}/action-event`,C={depth:10,clearOnStoryChange:!0,limit:50},L=(e,n)=>{let t=Object.getPrototypeOf(e);return!t||n(t)?t:L(t,n)},F=e=>!!(typeof e=="object"&&e&&L(e,n=>/^Synthetic(?:Base)?Event$/.test(n.constructor.name))&&typeof e.persist=="function"),N=e=>{if(F(e)){let n=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));n.persist();let t=Object.getOwnPropertyDescriptor(n,"view"),r=t==null?void 0:t.value;return typeof r=="object"&&(r==null?void 0:r.constructor.name)==="Window"&&Object.defineProperty(n,"view",{...t,value:Object.create(r.constructor.prototype)}),n}return e},V=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?I():Date.now().toString(36)+Math.random().toString(36).substring(2);function R(e,n={}){let t={...C,...n},r=function(...g){var h,i;if(n.implicit){let c=(h="__STORYBOOK_PREVIEW__"in A?A.__STORYBOOK_PREVIEW__:void 0)==null?void 0:h.storyRenders.find(o=>o.phase==="playing"||o.phase==="rendering");if(c){let o=!((i=window==null?void 0:window.FEATURES)!=null&&i.disallowImplicitActionsInRenderV8),s=new S({phase:c.phase,name:e,deprecated:o});if(o)console.warn(s);else throw s}}let f=T.getChannel(),u=V(),v=5,d=g.map(N),O=g.length>1?d:d[0],_={id:u,count:0,data:{name:e,args:O},options:{...t,maxDepth:v+(t.depth||3),allowFunction:t.allowFunction||!1}};f.emit(B,_)};return r.isAction=!0,r}function M(e){b("after-navigate-args",e)}function E(e){return[{subscribe(n){let t=x(e);return n(t),()=>{}}},n=>{b(e,n)}]}var[q,z]=E("page-ctx"),[J,P]=E("navigating-ctx"),[U,W]=E("updated-ctx");U.check=()=>{};var Y=e=>typeof e=="function"?{callback:e,asRegex:!1}:e,Q=[(e,n)=>{var r,g,f,u,v;let t=((r=n.parameters)==null?void 0:r.sveltekit_experimental)??{};return z((g=t==null?void 0:t.stores)==null?void 0:g.page),P((f=t==null?void 0:t.stores)==null?void 0:f.navigating),W((u=t==null?void 0:t.stores)==null?void 0:u.updated),M((v=t==null?void 0:t.navigation)==null?void 0:v.afterNavigate),j(()=>{let d=i=>{let c=i.composedPath().findLast(o=>o instanceof HTMLElement&&o.tagName==="A");if(c&&c instanceof HTMLAnchorElement){let o=c.getAttribute("href");if(!o)return;i.preventDefault();let s=()=>R("navigate")(o,i);if(!t.hrefs){s();return}let a=!0;Object.entries(t.hrefs).forEach(([l,m])=>{let{callback:p,asRegex:y}=Y(m);(y?new RegExp(l).test(o):o===l)&&(a=!1,p==null||p(o,i))}),a&&s()}};function O(i,c,o){let s=[];return c.forEach(a=>{var m;let l=((m=t[i])==null?void 0:m[a])&&t[i][a]instanceof Function;if(l||o){let p=({detail:w=[]})=>{let D=Array.isArray(w)?w:[];(l?t[i][a]:R(a))(...D)},y=`storybook:${a}`;s.push({eventType:y,listener:p}),window.addEventListener(y,p)}}),()=>{s.forEach(({eventType:a,listener:l})=>{window.removeEventListener(a,l)})}}let _=O("navigation",["goto","invalidate","invalidateAll","pushState","replaceState"],!0),h=O("forms",["enhance"]);return window.addEventListener("click",d),()=>{window.removeEventListener("click",d),_(),h()}}),e()}];export{Q as decorators};
|
7
assets/preview-0ef86afd.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
const{global:r}=__STORYBOOK_MODULE_GLOBAL__,{addons:s}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_CHANGED:O}=__STORYBOOK_MODULE_CORE_EVENTS__;var i="storybook/highlight",d="storybookHighlight",g=`${i}/add`,E=`${i}/reset`,{document:l}=r,H=(e="#FF4785",t="dashed")=>`
|
||||||
|
outline: 2px ${t} ${e};
|
||||||
|
outline-offset: 2px;
|
||||||
|
box-shadow: 0 0 0 6px rgba(255,255,255,0.6);
|
||||||
|
`,I=e=>({outline:`2px dashed ${e}`,outlineOffset:2,boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"}),_=s.getChannel(),T=e=>{let t=d;n();let o=Array.from(new Set(e.elements)),h=l.createElement("style");h.setAttribute("id",t),h.innerHTML=o.map(a=>`${a}{
|
||||||
|
${H(e.color,e.style)}
|
||||||
|
}`).join(" "),l.head.appendChild(h)},n=()=>{var o;let e=d,t=l.getElementById(e);t&&((o=t.parentNode)==null||o.removeChild(t))};_.on(O,n);_.on(E,n);_.on(g,T);export{I as highlightObject,H as highlightStyle};
|
20
assets/preview-30b54f76.js
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
import{d as E}from"./index-356e4a49.js";const{useMemo:f,useEffect:v}=__STORYBOOK_MODULE_PREVIEW_API__,{global:M}=__STORYBOOK_MODULE_GLOBAL__,{logger:h}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var p="backgrounds",{document:s,window:B}=M,S=()=>B.matchMedia("(prefers-reduced-motion: reduce)").matches,x=(r,e=[],a)=>{if(r==="transparent")return"transparent";if(e.find(t=>t.value===r))return r;let n=e.find(t=>t.name===a);if(n)return n.value;if(a){let t=e.map(o=>o.name).join(", ");h.warn(E`
|
||||||
|
Backgrounds Addon: could not find the default color "${a}".
|
||||||
|
These are the available colors for your story based on your configuration:
|
||||||
|
${t}.
|
||||||
|
`)}return"transparent"},k=r=>{(Array.isArray(r)?r:[r]).forEach(O)},O=r=>{var a;let e=s.getElementById(r);e&&((a=e.parentElement)==null||a.removeChild(e))},w=(r,e)=>{let a=s.getElementById(r);if(a)a.innerHTML!==e&&(a.innerHTML=e);else{let n=s.createElement("style");n.setAttribute("id",r),n.innerHTML=e,s.head.appendChild(n)}},A=(r,e,a)=>{var t;let n=s.getElementById(r);if(n)n.innerHTML!==e&&(n.innerHTML=e);else{let o=s.createElement("style");o.setAttribute("id",r),o.innerHTML=e;let i=`addon-backgrounds-grid${a?`-docs-${a}`:""}`,d=s.getElementById(i);d?(t=d.parentElement)==null||t.insertBefore(o,d):s.head.appendChild(o)}},L=(r,e)=>{var c;let{globals:a,parameters:n}=e,t=(c=a[p])==null?void 0:c.value,o=n[p],i=f(()=>o.disable?"transparent":x(t,o.values,o.default),[o,t]),d=f(()=>i&&i!=="transparent",[i]),g=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",u=f(()=>{let l="transition: background-color 0.3s;";return`
|
||||||
|
${g} {
|
||||||
|
background: ${i} !important;
|
||||||
|
${S()?"":l}
|
||||||
|
}
|
||||||
|
`},[i,g]);return v(()=>{let l=e.viewMode==="docs"?`addon-backgrounds-docs-${e.id}`:"addon-backgrounds-color";if(!d){k(l);return}A(l,u,e.viewMode==="docs"?e.id:null)},[d,u,e]),r()},T=(r,e)=>{var y;let{globals:a,parameters:n}=e,t=n[p].grid,o=((y=a[p])==null?void 0:y.grid)===!0&&t.disable!==!0,{cellAmount:i,cellSize:d,opacity:g}=t,u=e.viewMode==="docs",c=n.layout===void 0||n.layout==="padded"?16:0,l=t.offsetX??(u?20:c),m=t.offsetY??(u?20:c),$=f(()=>{let b=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",_=[`${d*i}px ${d*i}px`,`${d*i}px ${d*i}px`,`${d}px ${d}px`,`${d}px ${d}px`].join(", ");return`
|
||||||
|
${b} {
|
||||||
|
background-size: ${_} !important;
|
||||||
|
background-position: ${l}px ${m}px, ${l}px ${m}px, ${l}px ${m}px, ${l}px ${m}px !important;
|
||||||
|
background-blend-mode: difference !important;
|
||||||
|
background-image: linear-gradient(rgba(130, 130, 130, ${g}) 1px, transparent 1px),
|
||||||
|
linear-gradient(90deg, rgba(130, 130, 130, ${g}) 1px, transparent 1px),
|
||||||
|
linear-gradient(rgba(130, 130, 130, ${g/2}) 1px, transparent 1px),
|
||||||
|
linear-gradient(90deg, rgba(130, 130, 130, ${g/2}) 1px, transparent 1px) !important;
|
||||||
|
}
|
||||||
|
`},[d]);return v(()=>{let b=e.viewMode==="docs"?`addon-backgrounds-grid-docs-${e.id}`:"addon-backgrounds-grid";if(!o){k(b);return}w(b,$)},[o,$,e]),r()},I=[T,L],R={[p]:{grid:{cellSize:20,opacity:.5,cellAmount:5},values:[{name:"light",value:"#F8F8F8"},{name:"dark",value:"#333333"}]}},G={[p]:null};export{I as decorators,G as globals,R as parameters};
|
1
assets/preview-73104b77.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import"./index-11d98b33.js";const{global:O}=__STORYBOOK_MODULE_GLOBAL__,{makeDecorator:E,addons:_}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_CHANGED:l,SELECT_STORY:L}=__STORYBOOK_MODULE_CORE_EVENTS__;var c="links",{document:i,HTMLElement:m}=O,v=e=>_.getChannel().emit(L,e),o=e=>{let{target:t}=e;if(!(t instanceof m))return;let s=t,{sbKind:a,sbStory:r}=s.dataset;(a||r)&&(e.preventDefault(),v({kind:a,story:r}))},n=!1,d=()=>{n||(n=!0,i.addEventListener("click",o))},k=()=>{n&&(n=!1,i.removeEventListener("click",o))},R=E({name:"withLinks",parameterName:c,wrapper:(e,t)=>(d(),_.getChannel().once(l,k),e(t))}),T=[R];export{T as decorators};
|
1
assets/preview-77a968f3.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{I as A,v as R}from"./preview-errors-dde4324f.js";import"./index-356e4a49.js";const{addons:E}=__STORYBOOK_MODULE_PREVIEW_API__,{global:O}=__STORYBOOK_MODULE_GLOBAL__;var b="storybook/actions",I=`${b}/action-event`,T={depth:10,clearOnStoryChange:!0,limit:50},_=(t,n)=>{let e=Object.getPrototypeOf(t);return!e||n(e)?e:_(e,n)},w=t=>!!(typeof t=="object"&&t&&_(t,n=>/^Synthetic(?:Base)?Event$/.test(n.constructor.name))&&typeof t.persist=="function"),j=t=>{if(w(t)){let n=Object.create(t.constructor.prototype,Object.getOwnPropertyDescriptors(t));n.persist();let e=Object.getOwnPropertyDescriptor(n,"view"),r=e==null?void 0:e.value;return typeof r=="object"&&(r==null?void 0:r.constructor.name)==="Window"&&Object.defineProperty(n,"view",{...e,value:Object.create(r.constructor.prototype)}),n}return t},D=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?R():Date.now().toString(36)+Math.random().toString(36).substring(2);function l(t,n={}){let e={...T,...n},r=function(...i){var g,d;if(n.implicit){let y=(g="__STORYBOOK_PREVIEW__"in O?O.__STORYBOOK_PREVIEW__:void 0)==null?void 0:g.storyRenders.find(s=>s.phase==="playing"||s.phase==="rendering");if(y){let s=!((d=window==null?void 0:window.FEATURES)!=null&&d.disallowImplicitActionsInRenderV8),f=new A({phase:y.phase,name:t,deprecated:s});if(s)console.warn(f);else throw f}}let o=E.getChannel(),c=D(),a=5,p=i.map(j),h=i.length>1?p:p[0],u={id:c,count:0,data:{name:t,args:h},options:{...e,maxDepth:a+(e.depth||3),allowFunction:e.allowFunction||!1}};o.emit(I,u)};return r.isAction=!0,r}var m=(t,n)=>typeof n[t]>"u"&&!(t in n),S=t=>{let{initialArgs:n,argTypes:e,id:r,parameters:{actions:i}}=t;if(!i||i.disable||!i.argTypesRegex||!e)return{};let o=new RegExp(i.argTypesRegex);return Object.entries(e).filter(([c])=>!!o.test(c)).reduce((c,[a,p])=>(m(a,n)&&(c[a]=l(a,{implicit:!0,id:r})),c),{})},P=t=>{let{initialArgs:n,argTypes:e,parameters:{actions:r}}=t;return r!=null&&r.disable||!e?{}:Object.entries(e).filter(([i,o])=>!!o.action).reduce((i,[o,c])=>(m(o,n)&&(i[o]=l(typeof c.action=="string"?c.action:o)),i),{})},v=[P,S],F=t=>{let{args:n,parameters:{actions:e}}=t;e!=null&&e.disable||Object.entries(n).filter(([,r])=>typeof r=="function"&&"_isMockFunction"in r&&r._isMockFunction).forEach(([r,i])=>{let o=i.getMockImplementation();if((o==null?void 0:o._actionAttached)!==!0&&(o==null?void 0:o.isAction)!==!0){let c=(...a)=>(l(r)(...a),o==null?void 0:o(...a));c._actionAttached=!0,i.mockImplementation(c)}})},B=[F];export{v as argsEnhancers,B as loaders};
|
27
assets/preview-8f310eab.js
Normal file
1
assets/preview-ba2273f4.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
const e={parameters:{actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}}}};export{e as default};
|
1
assets/preview-c56bf6ac.js
Normal file
396
assets/preview-da31036b.js
Normal file
|
@ -0,0 +1,396 @@
|
||||||
|
import{d as $}from"./index-356e4a49.js";const{useMemo:x,useEffect:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:p}=__STORYBOOK_MODULE_GLOBAL__;var u=i=>{(Array.isArray(i)?i:[i]).forEach(r)},r=i=>{let t=typeof i=="string"?i:i.join(""),o=p.document.getElementById(t);o&&o.parentElement&&o.parentElement.removeChild(o)},b=(i,t)=>{let o=p.document.getElementById(i);if(o)o.innerHTML!==t&&(o.innerHTML=t);else{let n=p.document.createElement("style");n.setAttribute("id",i),n.innerHTML=t,p.document.head.appendChild(n)}},m="outline";function s(i){return $`
|
||||||
|
${i} body {
|
||||||
|
outline: 1px solid #2980b9 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} article {
|
||||||
|
outline: 1px solid #3498db !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} nav {
|
||||||
|
outline: 1px solid #0088c3 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} aside {
|
||||||
|
outline: 1px solid #33a0ce !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} section {
|
||||||
|
outline: 1px solid #66b8da !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} header {
|
||||||
|
outline: 1px solid #99cfe7 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} footer {
|
||||||
|
outline: 1px solid #cce7f3 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} h1 {
|
||||||
|
outline: 1px solid #162544 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} h2 {
|
||||||
|
outline: 1px solid #314e6e !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} h3 {
|
||||||
|
outline: 1px solid #3e5e85 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} h4 {
|
||||||
|
outline: 1px solid #449baf !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} h5 {
|
||||||
|
outline: 1px solid #c7d1cb !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} h6 {
|
||||||
|
outline: 1px solid #4371d0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} main {
|
||||||
|
outline: 1px solid #2f4f90 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} address {
|
||||||
|
outline: 1px solid #1a2c51 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} div {
|
||||||
|
outline: 1px solid #036cdb !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} p {
|
||||||
|
outline: 1px solid #ac050b !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} hr {
|
||||||
|
outline: 1px solid #ff063f !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} pre {
|
||||||
|
outline: 1px solid #850440 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} blockquote {
|
||||||
|
outline: 1px solid #f1b8e7 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} ol {
|
||||||
|
outline: 1px solid #ff050c !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} ul {
|
||||||
|
outline: 1px solid #d90416 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} li {
|
||||||
|
outline: 1px solid #d90416 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} dl {
|
||||||
|
outline: 1px solid #fd3427 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} dt {
|
||||||
|
outline: 1px solid #ff0043 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} dd {
|
||||||
|
outline: 1px solid #e80174 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} figure {
|
||||||
|
outline: 1px solid #ff00bb !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} figcaption {
|
||||||
|
outline: 1px solid #bf0032 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} table {
|
||||||
|
outline: 1px solid #00cc99 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} caption {
|
||||||
|
outline: 1px solid #37ffc4 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} thead {
|
||||||
|
outline: 1px solid #98daca !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} tbody {
|
||||||
|
outline: 1px solid #64a7a0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} tfoot {
|
||||||
|
outline: 1px solid #22746b !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} tr {
|
||||||
|
outline: 1px solid #86c0b2 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} th {
|
||||||
|
outline: 1px solid #a1e7d6 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} td {
|
||||||
|
outline: 1px solid #3f5a54 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} col {
|
||||||
|
outline: 1px solid #6c9a8f !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} colgroup {
|
||||||
|
outline: 1px solid #6c9a9d !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} button {
|
||||||
|
outline: 1px solid #da8301 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} datalist {
|
||||||
|
outline: 1px solid #c06000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} fieldset {
|
||||||
|
outline: 1px solid #d95100 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} form {
|
||||||
|
outline: 1px solid #d23600 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} input {
|
||||||
|
outline: 1px solid #fca600 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} keygen {
|
||||||
|
outline: 1px solid #b31e00 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} label {
|
||||||
|
outline: 1px solid #ee8900 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} legend {
|
||||||
|
outline: 1px solid #de6d00 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} meter {
|
||||||
|
outline: 1px solid #e8630c !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} optgroup {
|
||||||
|
outline: 1px solid #b33600 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} option {
|
||||||
|
outline: 1px solid #ff8a00 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} output {
|
||||||
|
outline: 1px solid #ff9619 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} progress {
|
||||||
|
outline: 1px solid #e57c00 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} select {
|
||||||
|
outline: 1px solid #e26e0f !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} textarea {
|
||||||
|
outline: 1px solid #cc5400 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} details {
|
||||||
|
outline: 1px solid #33848f !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} summary {
|
||||||
|
outline: 1px solid #60a1a6 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} command {
|
||||||
|
outline: 1px solid #438da1 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} menu {
|
||||||
|
outline: 1px solid #449da6 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} del {
|
||||||
|
outline: 1px solid #bf0000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} ins {
|
||||||
|
outline: 1px solid #400000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} img {
|
||||||
|
outline: 1px solid #22746b !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} iframe {
|
||||||
|
outline: 1px solid #64a7a0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} embed {
|
||||||
|
outline: 1px solid #98daca !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} object {
|
||||||
|
outline: 1px solid #00cc99 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} param {
|
||||||
|
outline: 1px solid #37ffc4 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} video {
|
||||||
|
outline: 1px solid #6ee866 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} audio {
|
||||||
|
outline: 1px solid #027353 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} source {
|
||||||
|
outline: 1px solid #012426 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} canvas {
|
||||||
|
outline: 1px solid #a2f570 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} track {
|
||||||
|
outline: 1px solid #59a600 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} map {
|
||||||
|
outline: 1px solid #7be500 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} area {
|
||||||
|
outline: 1px solid #305900 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} a {
|
||||||
|
outline: 1px solid #ff62ab !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} em {
|
||||||
|
outline: 1px solid #800b41 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} strong {
|
||||||
|
outline: 1px solid #ff1583 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} i {
|
||||||
|
outline: 1px solid #803156 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} b {
|
||||||
|
outline: 1px solid #cc1169 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} u {
|
||||||
|
outline: 1px solid #ff0430 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} s {
|
||||||
|
outline: 1px solid #f805e3 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} small {
|
||||||
|
outline: 1px solid #d107b2 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} abbr {
|
||||||
|
outline: 1px solid #4a0263 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} q {
|
||||||
|
outline: 1px solid #240018 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} cite {
|
||||||
|
outline: 1px solid #64003c !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} dfn {
|
||||||
|
outline: 1px solid #b4005a !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} sub {
|
||||||
|
outline: 1px solid #dba0c8 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} sup {
|
||||||
|
outline: 1px solid #cc0256 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} time {
|
||||||
|
outline: 1px solid #d6606d !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} code {
|
||||||
|
outline: 1px solid #e04251 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} kbd {
|
||||||
|
outline: 1px solid #5e001f !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} samp {
|
||||||
|
outline: 1px solid #9c0033 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} var {
|
||||||
|
outline: 1px solid #d90047 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} mark {
|
||||||
|
outline: 1px solid #ff0053 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} bdi {
|
||||||
|
outline: 1px solid #bf3668 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} bdo {
|
||||||
|
outline: 1px solid #6f1400 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} ruby {
|
||||||
|
outline: 1px solid #ff7b93 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} rt {
|
||||||
|
outline: 1px solid #ff2f54 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} rp {
|
||||||
|
outline: 1px solid #803e49 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} span {
|
||||||
|
outline: 1px solid #cc2643 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} br {
|
||||||
|
outline: 1px solid #db687d !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
${i} wbr {
|
||||||
|
outline: 1px solid #db175b !important;
|
||||||
|
}`}var e=(i,t)=>{let{globals:o}=t,n=[!0,"true"].includes(o[m]),d=t.viewMode==="docs",l=x(()=>s(d?'[data-story-block="true"]':".sb-show-main"),[t]);return f(()=>{let a=d?`addon-outline-docs-${t.id}`:"addon-outline";return n?b(a,l):u(a),()=>{u(a)}},[n,l,t]),i()},g=[e],h={[m]:!1};export{g as decorators,h as globals};
|
17
assets/preview-errors-dde4324f.js
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
import{d}from"./index-356e4a49.js";let e;const s=new Uint8Array(16);function u(){if(!e&&(e=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!e))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return e(s)}const n=[];for(let E=0;E<256;++E)n.push((E+256).toString(16).slice(1));function c(E,t=0){return n[E[t+0]]+n[E[t+1]]+n[E[t+2]]+n[E[t+3]]+"-"+n[E[t+4]]+n[E[t+5]]+"-"+n[E[t+6]]+n[E[t+7]]+"-"+n[E[t+8]]+n[E[t+9]]+"-"+n[E[t+10]]+n[E[t+11]]+n[E[t+12]]+n[E[t+13]]+n[E[t+14]]+n[E[t+15]]}const a=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),r={randomUUID:a};function I(E,t,i){if(r.randomUUID&&!t&&!E)return r.randomUUID();E=E||{};const R=E.random||(E.rng||u)();if(R[6]=R[6]&15|64,R[8]=R[8]&63|128,t){i=i||0;for(let o=0;o<16;++o)t[i+o]=R[o];return t}return c(R)}var m=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0}get fullErrorCode(){let E=String(this.code).padStart(4,"0");return`SB_${this.category}_${E}`}get name(){let E=this.constructor.name;return`${this.fullErrorCode} (${E})`}get message(){let E;return this.documentation===!0?E=`https://storybook.js.org/error/${this.fullErrorCode}`:typeof this.documentation=="string"?E=this.documentation:Array.isArray(this.documentation)&&(E=`
|
||||||
|
${this.documentation.map(t=>` - ${t}`).join(`
|
||||||
|
`)}`),`${this.template()}${E!=null?`
|
||||||
|
|
||||||
|
More info: ${E}
|
||||||
|
`:""}`}},_=(E=>(E.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",E.PREVIEW_CHANNELS="PREVIEW_CHANNELS",E.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",E.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",E.PREVIEW_API="PREVIEW_API",E.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",E.PREVIEW_ROUTER="PREVIEW_ROUTER",E.PREVIEW_THEMING="PREVIEW_THEMING",E.RENDERER_HTML="RENDERER_HTML",E.RENDERER_PREACT="RENDERER_PREACT",E.RENDERER_REACT="RENDERER_REACT",E.RENDERER_SERVER="RENDERER_SERVER",E.RENDERER_SVELTE="RENDERER_SVELTE",E.RENDERER_VUE="RENDERER_VUE",E.RENDERER_VUE3="RENDERER_VUE3",E.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",E))(_||{}),N=class extends m{constructor(E){super(),this.data=E,this.category="PREVIEW_API",this.code=2,this.documentation="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function"}template(){return d`
|
||||||
|
We detected that you use an implicit action arg during ${this.data.phase} of your story.
|
||||||
|
${this.data.deprecated?`
|
||||||
|
This is deprecated and won't work in Storybook 8 anymore.
|
||||||
|
`:""}
|
||||||
|
Please provide an explicit spy to your args like this:
|
||||||
|
import { fn } from '@storybook/test';
|
||||||
|
...
|
||||||
|
args: {
|
||||||
|
${this.data.name}: fn()
|
||||||
|
}
|
||||||
|
`}};export{N as I,I as v};
|
1
assets/preview-fd3fd313.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{_ as e}from"./iframe-1480f123.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-388ea117.js"),["./DocsRenderer-NNNQARDV-388ea117.js","./iframe-1480f123.js","./index-9ad14d90.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js"],import.meta.url);return new r}}};export{a as parameters};
|
BIN
assets/share-b59d6c77.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
assets/styling-c83082e0.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
1
assets/syntaxhighlighter-V7JZZA35-5b0ff689.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{S as s,c,s as l}from"./index-9ad14d90.js";import"./iframe-1480f123.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";export{s as SyntaxHighlighter,c as createCopyToClipboardFunction,l as default};
|
BIN
assets/testing-6a59f681.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
assets/theming-b6e819c3.png
Normal file
After Width: | Height: | Size: 43 KiB |
12
assets/tutorials-adff6365.svg
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<svg width="33" height="32" viewBox="0 0 33 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g clip-path="url(#clip0_10031_177597)">
|
||||||
|
<path opacity="0.7" fill-rule="evenodd" clip-rule="evenodd" d="M17 7.87059C17 6.48214 17.9812 5.28722 19.3431 5.01709L29.5249 2.99755C31.3238 2.64076 33 4.01717 33 5.85105V22.1344C33 23.5229 32.0188 24.7178 30.6569 24.9879L20.4751 27.0074C18.6762 27.3642 17 25.9878 17 24.1539L17 7.87059Z" fill="#B7F0EF"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 5.85245C1 4.01857 2.67623 2.64215 4.47507 2.99895L14.6569 5.01848C16.0188 5.28861 17 6.48354 17 7.87198V24.1553C17 25.9892 15.3238 27.3656 13.5249 27.0088L3.34311 24.9893C1.98119 24.7192 1 23.5242 1 22.1358V5.85245Z" fill="#87E6E5"/>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.543 5.71289C15.543 5.71289 16.8157 5.96289 17.4002 6.57653C17.9847 7.19016 18.4521 9.03107 18.4521 9.03107C18.4521 9.03107 18.4521 25.1106 18.4521 26.9629C18.4521 28.8152 19.3775 31.4174 19.3775 31.4174L17.4002 28.8947L16.2575 31.4174C16.2575 31.4174 15.543 29.0765 15.543 27.122C15.543 25.1674 15.543 5.71289 15.543 5.71289Z" fill="#61C1FD"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip0_10031_177597">
|
||||||
|
<rect width="32" height="32" fill="white" transform="translate(0.5)"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
4
assets/youtube-9f26eb0b.svg
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M31.3313 8.44657C30.9633 7.08998 29.8791 6.02172 28.5022 5.65916C26.0067 5.00026 16 5.00026 16 5.00026C16 5.00026 5.99333 5.00026 3.4978 5.65916C2.12102 6.02172 1.03665 7.08998 0.668678 8.44657C0 10.9053 0 16.0353 0 16.0353C0 16.0353 0 21.1652 0.668678 23.6242C1.03665 24.9806 2.12102 26.0489 3.4978 26.4116C5.99333 27.0703 16 27.0703 16 27.0703C16 27.0703 26.0067 27.0703 28.5022 26.4116C29.8791 26.0489 30.9633 24.9806 31.3313 23.6242C32 21.1652 32 16.0353 32 16.0353C32 16.0353 32 10.9053 31.3313 8.44657Z" fill="#ED1D24"/>
|
||||||
|
<path d="M12.7266 20.6934L21.0902 16.036L12.7266 11.3781V20.6934Z" fill="white"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 721 B |
7
favicon.svg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" width="164" height="164">
|
||||||
|
<svg width="164" height="164" viewBox="0 0 164 164" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M22.467 147.762 17.5 15.402a8.062 8.062 0 0 1 7.553-8.35L137.637.016a8.061 8.061 0 0 1 8.565 8.047v144.23a8.063 8.063 0 0 1-8.424 8.054l-107.615-4.833a8.062 8.062 0 0 1-7.695-7.752Z" fill="#FF4785"></path>
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="m128.785.57-15.495.968-.755 18.172a1.203 1.203 0 0 0 1.928 1.008l7.06-5.354 5.962 4.697a1.202 1.202 0 0 0 1.946-.987L128.785.569Zm-12.059 60.856c-2.836 2.203-23.965 3.707-23.965.57.447-11.969-4.912-12.494-7.889-12.494-2.828 0-7.59.855-7.59 7.267 0 6.534 6.96 10.223 15.13 14.553 11.607 6.15 25.654 13.594 25.654 32.326 0 17.953-14.588 27.871-33.194 27.871-19.201 0-35.981-7.769-34.086-34.702.744-3.163 25.156-2.411 25.156 0-.298 11.114 2.232 14.383 8.633 14.383 4.912 0 7.144-2.708 7.144-7.267 0-6.9-7.252-10.973-15.595-15.657C64.827 81.933 51.53 74.468 51.53 57.34c0-17.098 11.76-28.497 32.747-28.497 20.988 0 32.449 11.224 32.449 32.584Z" fill="#fff"></path>
|
||||||
|
</svg>
|
||||||
|
<style>@media (prefers-color-scheme: light) { :root { filter: none; } }</style>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
460
iframe.html
Normal file
|
@ -0,0 +1,460 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<!--suppress HtmlUnknownTarget -->
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>Storybook</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
|
||||||
|
<link rel="prefetch" href="./sb-common-assets/nunito-sans-regular.woff2" as="font" type="font/woff2" crossorigin />
|
||||||
|
<link rel="prefetch" href="./sb-common-assets/nunito-sans-italic.woff2" as="font" type="font/woff2" crossorigin />
|
||||||
|
<link rel="prefetch" href="./sb-common-assets/nunito-sans-bold.woff2" as="font" type="font/woff2" crossorigin />
|
||||||
|
<link rel="prefetch" href="./sb-common-assets/nunito-sans-bold-italic.woff2" as="font" type="font/woff2" crossorigin />
|
||||||
|
<link rel="stylesheet" href="./sb-common-assets/fonts.css" />
|
||||||
|
|
||||||
|
<script>
|
||||||
|
window.CONFIG_TYPE = 'PRODUCTION';
|
||||||
|
window.LOGLEVEL = 'info';
|
||||||
|
window.FRAMEWORK_OPTIONS = {};
|
||||||
|
window.CHANNEL_OPTIONS = {};
|
||||||
|
window.FEATURES = {"warnOnLegacyHierarchySeparator":true,"buildStoriesJson":false,"storyStoreV7":true,"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false,"disallowImplicitActionsInRenderV8":false};
|
||||||
|
window.STORIES = [{"titlePrefix":"","directory":"./stories","files":"**/*.mdx","importPathMatcher":"^\\.[\\\\/](?:stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.mdx)$"},{"titlePrefix":"","directory":"./stories","files":"**/*.stories.@(js|jsx|mjs|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|mjs|ts|tsx))$"}];
|
||||||
|
window.DOCS_OPTIONS = {"defaultName":"Docs","autodocs":"tag"};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// We do this so that "module && module.hot" etc. in Storybook source code
|
||||||
|
// doesn't fail (it will simply be disabled)
|
||||||
|
window.module = undefined;
|
||||||
|
window.global = window;
|
||||||
|
</script>
|
||||||
|
<base target="_parent" />
|
||||||
|
|
||||||
|
<style>
|
||||||
|
/* While we aren't showing the main block yet, but still preparing, we want everything the user
|
||||||
|
has rendered, which may or may not be in #storybook-root, to be display none */
|
||||||
|
.sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-show-preparing-docs:not(.sb-show-main) > :not(.sb-preparing-docs) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hide our own blocks when we aren't supposed to be showing them */
|
||||||
|
:not(.sb-show-preparing-story) > .sb-preparing-story,
|
||||||
|
:not(.sb-show-preparing-docs) > .sb-preparing-docs,
|
||||||
|
:not(.sb-show-nopreview) > .sb-nopreview,
|
||||||
|
:not(.sb-show-errordisplay) > .sb-errordisplay {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-show-main.sb-main-centered {
|
||||||
|
margin: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-show-main.sb-main-centered #storybook-root {
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: auto;
|
||||||
|
padding: 1rem;
|
||||||
|
max-height: 100%; /* Hack for centering correctly in IE11 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Vertical centering fix for IE11 */
|
||||||
|
@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||||
|
.sb-show-main.sb-main-centered:after {
|
||||||
|
content: '';
|
||||||
|
min-height: inherit;
|
||||||
|
font-size: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-show-main.sb-main-fullscreen {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-show-main.sb-main-padded {
|
||||||
|
margin: 0;
|
||||||
|
padding: 1rem;
|
||||||
|
display: block;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-wrapper {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
padding: 20px;
|
||||||
|
font-family: 'Nunito Sans', -apple-system, '.SFNSText-Regular', 'San Francisco',
|
||||||
|
BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-heading {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
letter-spacing: 0.2px;
|
||||||
|
margin: 10px 0;
|
||||||
|
padding-right: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-nopreview {
|
||||||
|
display: flex;
|
||||||
|
align-content: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-nopreview_main {
|
||||||
|
margin: auto;
|
||||||
|
padding: 30px;
|
||||||
|
border-radius: 10px;
|
||||||
|
background: rgba(0, 0, 0, 0.03);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-nopreview_heading {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-errordisplay {
|
||||||
|
border: 20px solid rgb(187, 49, 49);
|
||||||
|
background: #222;
|
||||||
|
color: #fff;
|
||||||
|
z-index: 999999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-errordisplay_code {
|
||||||
|
padding: 10px;
|
||||||
|
background: #000;
|
||||||
|
color: #eee;
|
||||||
|
font-family: 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
|
||||||
|
'Lucida Console', Consolas, Monaco, monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-errordisplay pre {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes sb-rotate360 {
|
||||||
|
from {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes sb-rotate360 {
|
||||||
|
from {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@-webkit-keyframes sb-glow {
|
||||||
|
0%,
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
opacity: 0.4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes sb-glow {
|
||||||
|
0%,
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
opacity: 0.4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* We display the preparing loaders *over* the rendering story */
|
||||||
|
.sb-preparing-story,
|
||||||
|
.sb-preparing-docs {
|
||||||
|
background-color: white;
|
||||||
|
/* Maximum possible z-index. It would be better to use stacking contexts to ensure it's always
|
||||||
|
on top, but this isn't possible as it would require making CSS changes that could affect user code */
|
||||||
|
z-index: 2147483647;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-loader {
|
||||||
|
-webkit-animation: sb-rotate360 0.7s linear infinite;
|
||||||
|
animation: sb-rotate360 0.7s linear infinite;
|
||||||
|
border-color: rgba(97, 97, 97, 0.29);
|
||||||
|
border-radius: 50%;
|
||||||
|
border-style: solid;
|
||||||
|
border-top-color: #646464;
|
||||||
|
border-width: 2px;
|
||||||
|
display: inline-block;
|
||||||
|
height: 32px;
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -16px;
|
||||||
|
margin-top: -16px;
|
||||||
|
mix-blend-mode: difference;
|
||||||
|
overflow: hidden;
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
transition: all 200ms ease-out;
|
||||||
|
vertical-align: top;
|
||||||
|
width: 32px;
|
||||||
|
z-index: 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-previewBlock {
|
||||||
|
background: #fff;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
|
border-radius: 4px;
|
||||||
|
box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 0;
|
||||||
|
margin: 25px auto 40px;
|
||||||
|
max-width: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-previewBlock_header {
|
||||||
|
align-items: center;
|
||||||
|
box-shadow: rgba(0, 0, 0, 0.1) 0 -1px 0 0 inset;
|
||||||
|
display: flex;
|
||||||
|
gap: 14px;
|
||||||
|
height: 40px;
|
||||||
|
padding: 0 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-previewBlock_icon {
|
||||||
|
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
||||||
|
animation: sb-glow 1.5s ease-in-out infinite;
|
||||||
|
background: #e6e6e6;
|
||||||
|
height: 14px;
|
||||||
|
width: 14px;
|
||||||
|
}
|
||||||
|
.sb-previewBlock_icon:last-child {
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-previewBlock_body {
|
||||||
|
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
||||||
|
animation: sb-glow 1.5s ease-in-out infinite;
|
||||||
|
height: 182px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-argstableBlock {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0;
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: 20px;
|
||||||
|
margin: 25px auto 40px;
|
||||||
|
max-width: 600px;
|
||||||
|
text-align: left;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock th:first-of-type,
|
||||||
|
.sb-argstableBlock td:first-of-type {
|
||||||
|
padding-left: 20px;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock th:nth-of-type(2),
|
||||||
|
.sb-argstableBlock td:nth-of-type(2) {
|
||||||
|
width: 35%;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock th:nth-of-type(3),
|
||||||
|
.sb-argstableBlock td:nth-of-type(3) {
|
||||||
|
width: 15%;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock th:last-of-type,
|
||||||
|
.sb-argstableBlock td:last-of-type {
|
||||||
|
width: 25%;
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock th span,
|
||||||
|
.sb-argstableBlock td span {
|
||||||
|
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
||||||
|
animation: sb-glow 1.5s ease-in-out infinite;
|
||||||
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
|
border-radius: 0;
|
||||||
|
box-shadow: none;
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock th {
|
||||||
|
padding: 10px 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-argstableBlock-body {
|
||||||
|
border-radius: 4px;
|
||||||
|
box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 1px, rgba(0, 0, 0, 0.065) 0 0 0 1px;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock-body tr {
|
||||||
|
background: transparent;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock-body tr:not(:first-child) {
|
||||||
|
border-top: 1px solid #e6e6e6;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock-body tr:first-child td:first-child {
|
||||||
|
border-top-left-radius: 4px;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock-body tr:first-child td:last-child {
|
||||||
|
border-top-right-radius: 4px;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock-body tr:last-child td:first-child {
|
||||||
|
border-bottom-left-radius: 4px;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock-body tr:last-child td:last-child {
|
||||||
|
border-bottom-right-radius: 4px;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock-body td {
|
||||||
|
background: #fff;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
padding-top: 10px;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock-body td:not(:first-of-type) {
|
||||||
|
padding-left: 15px;
|
||||||
|
padding-right: 15px;
|
||||||
|
}
|
||||||
|
.sb-argstableBlock-body button {
|
||||||
|
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
||||||
|
animation: sb-glow 1.5s ease-in-out infinite;
|
||||||
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
|
border: 0;
|
||||||
|
border-radius: 0;
|
||||||
|
box-shadow: none;
|
||||||
|
color: transparent;
|
||||||
|
display: inline;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 1;
|
||||||
|
padding: 10px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-argstableBlock-summary {
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sb-argstableBlock-code {
|
||||||
|
margin-right: 4px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
padding: 2px 5px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
/* globals window */
|
||||||
|
/* eslint-disable no-underscore-dangle */
|
||||||
|
try {
|
||||||
|
if (window.top !== window) {
|
||||||
|
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.top.__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||||
|
window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.top.__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
||||||
|
window.top.__VUE_DEVTOOLS_CONTEXT__ = window.document;
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
|
console.warn('unable to connect to top frame for connecting dev tools');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script type="module" crossorigin src="./assets/iframe-1480f123.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="sb-preparing-story sb-wrapper">
|
||||||
|
<div class="sb-loader"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="sb-preparing-docs sb-wrapper">
|
||||||
|
<div class="sb-previewBlock">
|
||||||
|
<div class="sb-previewBlock_header">
|
||||||
|
<div class="sb-previewBlock_icon"></div>
|
||||||
|
<div class="sb-previewBlock_icon"></div>
|
||||||
|
<div class="sb-previewBlock_icon"></div>
|
||||||
|
<div class="sb-previewBlock_icon"></div>
|
||||||
|
</div>
|
||||||
|
<div class="sb-previewBlock_body">
|
||||||
|
<div class="sb-loader"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<table aria-hidden="true" class="sb-argstableBlock">
|
||||||
|
<thead class="sb-argstableBlock-head">
|
||||||
|
<tr>
|
||||||
|
<th><span>Name</span></th>
|
||||||
|
<th><span>Description</span></th>
|
||||||
|
<th><span>Default</span></th>
|
||||||
|
<th><span>Control </span></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody class="sb-argstableBlock-body">
|
||||||
|
<tr>
|
||||||
|
<td><span>propertyName</span><span title="Required">*</span></td>
|
||||||
|
<td>
|
||||||
|
<div><span>This is a short description</span></div>
|
||||||
|
<div class="sb-argstableBlock-summary">
|
||||||
|
<div><span class="sb-argstableBlock-code">summary</span></div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
||||||
|
</td>
|
||||||
|
<td><button>Set string</button></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><span>propertyName</span><span>*</span></td>
|
||||||
|
<td>
|
||||||
|
<div><span>This is a short description</span></div>
|
||||||
|
<div class="sb-argstableBlock-summary">
|
||||||
|
<div><span class="sb-argstableBlock-code">summary</span></div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
||||||
|
</td>
|
||||||
|
<td><button>Set string</button></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><span>propertyName</span><span>*</span></td>
|
||||||
|
<td>
|
||||||
|
<div><span>This is a short description</span></div>
|
||||||
|
<div class="sb-argstableBlock-summary">
|
||||||
|
<div><span class="sb-argstableBlock-code">summary</span></div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
||||||
|
</td>
|
||||||
|
<td><button>Set string</button></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="sb-nopreview sb-wrapper">
|
||||||
|
<div class="sb-nopreview_main">
|
||||||
|
<h1 class="sb-nopreview_heading sb-heading">No Preview</h1>
|
||||||
|
<p>Sorry, but you either have no stories or none are selected somehow.</p>
|
||||||
|
<ul>
|
||||||
|
<li>Please check the Storybook config.</li>
|
||||||
|
<li>Try reloading the page.</li>
|
||||||
|
</ul>
|
||||||
|
<p>
|
||||||
|
If the problem persists, check the browser console, or the terminal you've run Storybook from.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="sb-errordisplay sb-wrapper">
|
||||||
|
<pre id="error-message" class="sb-heading"></pre>
|
||||||
|
<pre class="sb-errordisplay_code"><code id="error-stack"></code></pre>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="storybook-root"></div>
|
||||||
|
<div id="storybook-docs"></div>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
127
index.html
Normal file
|
@ -0,0 +1,127 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
|
<title>@storybook/cli - Storybook</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
|
||||||
|
|
||||||
|
<link
|
||||||
|
rel="prefetch"
|
||||||
|
href="./sb-common-assets/nunito-sans-regular.woff2"
|
||||||
|
as="font"
|
||||||
|
type="font/woff2"
|
||||||
|
crossorigin
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
rel="prefetch"
|
||||||
|
href="./sb-common-assets/nunito-sans-bold.woff2"
|
||||||
|
as="font"
|
||||||
|
type="font/woff2"
|
||||||
|
crossorigin
|
||||||
|
/>
|
||||||
|
<link rel="stylesheet" href="./sb-common-assets/fonts.css" />
|
||||||
|
|
||||||
|
<link href="./sb-manager/runtime.js" rel="modulepreload" />
|
||||||
|
|
||||||
|
|
||||||
|
<link href="./sb-addons/links-0/manager-bundle.js" rel="modulepreload" />
|
||||||
|
|
||||||
|
<link href="./sb-addons/essentials-controls-1/manager-bundle.js" rel="modulepreload" />
|
||||||
|
|
||||||
|
<link href="./sb-addons/essentials-actions-2/manager-bundle.js" rel="modulepreload" />
|
||||||
|
|
||||||
|
<link href="./sb-addons/essentials-backgrounds-3/manager-bundle.js" rel="modulepreload" />
|
||||||
|
|
||||||
|
<link href="./sb-addons/essentials-viewport-4/manager-bundle.js" rel="modulepreload" />
|
||||||
|
|
||||||
|
<link href="./sb-addons/essentials-toolbars-5/manager-bundle.js" rel="modulepreload" />
|
||||||
|
|
||||||
|
<link href="./sb-addons/essentials-measure-6/manager-bundle.js" rel="modulepreload" />
|
||||||
|
|
||||||
|
<link href="./sb-addons/essentials-outline-7/manager-bundle.js" rel="modulepreload" />
|
||||||
|
|
||||||
|
<link href="./sb-addons/interactions-8/manager-bundle.js" rel="modulepreload" />
|
||||||
|
|
||||||
|
|
||||||
|
<style>
|
||||||
|
#storybook-root[hidden] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="root"></div>
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
|
||||||
|
window['FEATURES'] = {
|
||||||
|
"warnOnLegacyHierarchySeparator": true,
|
||||||
|
"buildStoriesJson": false,
|
||||||
|
"storyStoreV7": true,
|
||||||
|
"argTypeTargetsV7": true,
|
||||||
|
"legacyDecoratorFileOrder": false,
|
||||||
|
"disallowImplicitActionsInRenderV8": false
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
window['REFS'] = {};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
window['LOGLEVEL'] = "info";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
window['DOCS_OPTIONS'] = {
|
||||||
|
"defaultName": "Docs",
|
||||||
|
"autodocs": "tag"
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
window['CONFIG_TYPE'] = "PRODUCTION";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
<script type="module">
|
||||||
|
import './sb-manager/runtime.js';
|
||||||
|
|
||||||
|
|
||||||
|
import './sb-addons/links-0/manager-bundle.js';
|
||||||
|
|
||||||
|
import './sb-addons/essentials-controls-1/manager-bundle.js';
|
||||||
|
|
||||||
|
import './sb-addons/essentials-actions-2/manager-bundle.js';
|
||||||
|
|
||||||
|
import './sb-addons/essentials-backgrounds-3/manager-bundle.js';
|
||||||
|
|
||||||
|
import './sb-addons/essentials-viewport-4/manager-bundle.js';
|
||||||
|
|
||||||
|
import './sb-addons/essentials-toolbars-5/manager-bundle.js';
|
||||||
|
|
||||||
|
import './sb-addons/essentials-measure-6/manager-bundle.js';
|
||||||
|
|
||||||
|
import './sb-addons/essentials-outline-7/manager-bundle.js';
|
||||||
|
|
||||||
|
import './sb-addons/interactions-8/manager-bundle.js';
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<link href="./sb-preview/runtime.js" rel="prefetch" as="script" />
|
||||||
|
</body>
|
||||||
|
</html>
|
1
index.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"v":4,"entries":{"configure-your-project--docs":{"id":"configure-your-project--docs","title":"Configure your project","name":"Docs","importPath":"./stories/Configure.mdx","storiesImports":[],"type":"docs","tags":["unattached-mdx","docs"]},"example-button--docs":{"id":"example-button--docs","title":"Example/Button","name":"Docs","importPath":"./stories/Button.stories.ts","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"example-button--primary":{"type":"story","id":"example-button--primary","name":"Primary","title":"Example/Button","importPath":"./stories/Button.stories.ts","tags":["autodocs","story"]},"example-button--secondary":{"type":"story","id":"example-button--secondary","name":"Secondary","title":"Example/Button","importPath":"./stories/Button.stories.ts","tags":["autodocs","story"]},"example-button--large":{"type":"story","id":"example-button--large","name":"Large","title":"Example/Button","importPath":"./stories/Button.stories.ts","tags":["autodocs","story"]},"example-button--small":{"type":"story","id":"example-button--small","name":"Small","title":"Example/Button","importPath":"./stories/Button.stories.ts","tags":["autodocs","story"]},"example-header--docs":{"id":"example-header--docs","title":"Example/Header","name":"Docs","importPath":"./stories/Header.stories.ts","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"example-header--logged-in":{"type":"story","id":"example-header--logged-in","name":"Logged In","title":"Example/Header","importPath":"./stories/Header.stories.ts","tags":["autodocs","story"]},"example-header--logged-out":{"type":"story","id":"example-header--logged-out","name":"Logged Out","title":"Example/Header","importPath":"./stories/Header.stories.ts","tags":["autodocs","story"]},"example-page--logged-out":{"type":"story","id":"example-page--logged-out","name":"Logged Out","title":"Example/Page","importPath":"./stories/Page.stories.ts","tags":["story"]},"example-page--logged-in":{"type":"story","id":"example-page--logged-in","name":"Logged In","title":"Example/Page","importPath":"./stories/Page.stories.ts","tags":["play-fn","story"]}}}
|
1
project.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"generatedAt":1707385696199,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"metaFramework":{"name":"sveltekit","packageName":"@sveltejs/kit","version":"1.27.5"},"packageManager":{"type":"npm","version":"9.5.1"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/sveltekit","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/svelte","storybookVersion":"7.6.13","storybookVersionSpecifier":"7.6.13","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"7.6.13"},"@storybook/builder-vite":{"version":"7.6.13"},"@storybook/svelte":{"version":"7.6.13"},"@storybook/sveltekit":{"version":"7.6.13"},"@storybook/test":{"version":"7.6.13"},"eslint-plugin-storybook":{"version":"0.6.15"},"storybook":{"version":"7.6.13"}},"addons":{"@storybook/addon-links":{"version":"7.6.13"},"@storybook/addon-essentials":{"version":"7.6.13"},"@storybook/addon-interactions":{"version":"7.6.13"}}}
|
3
sb-addons/essentials-actions-2/manager-bundle.js
Normal file
12
sb-addons/essentials-backgrounds-3/manager-bundle.js
Normal file
63
sb-addons/essentials-controls-1/manager-bundle.js
Normal file
18
sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
Bundled license information:
|
||||||
|
|
||||||
|
telejson/dist/index.mjs:
|
||||||
|
/*!
|
||||||
|
* isobject <https://github.com/jonschlinkert/isobject>
|
||||||
|
*
|
||||||
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||||
|
* Released under the MIT License.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* @license
|
||||||
|
* Lodash (Custom Build) <https://lodash.com/>
|
||||||
|
* Build: `lodash modularize exports="es" -o ./`
|
||||||
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||||||
|
* Released under MIT license <https://lodash.com/license>
|
||||||
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||||
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||||
|
*/
|
3
sb-addons/essentials-measure-6/manager-bundle.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
try{
|
||||||
|
(()=>{var r=__REACT__,{Children:A,Component:I,Fragment:R,Profiler:L,PureComponent:M,StrictMode:B,Suspense:P,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:x,cloneElement:v,createContext:H,createElement:N,createFactory:D,createRef:F,forwardRef:W,isValidElement:K,lazy:Y,memo:G,useCallback:m,useContext:w,useDebugValue:U,useEffect:p,useImperativeHandle:V,useLayoutEffect:q,useMemo:z,useReducer:Z,useRef:$,useState:j,version:J}=__REACT__;var oe=__STORYBOOK_API__,{ActiveTabs:re,Consumer:ae,ManagerContext:ne,Provider:se,addons:l,combineParameters:le,controlOrMetaKey:ue,controlOrMetaSymbol:ce,eventMatchesShortcut:ie,eventToShortcut:me,isMacLike:pe,isShortcutTaken:Se,keyToSymbol:_e,merge:de,mockChannel:Te,optionOrAltSymbol:be,shortcutMatchesShortcut:Oe,shortcutToHumanString:ye,types:S,useAddonState:Ce,useArgTypes:Ee,useArgs:he,useChannel:fe,useGlobalTypes:ge,useGlobals:_,useParameter:ke,useSharedState:Ae,useStoryPrepared:Ie,useStorybookApi:d,useStorybookState:Re}=__STORYBOOK_API__;var xe=__STORYBOOK_COMPONENTS__,{A:ve,ActionBar:He,AddonPanel:Ne,Badge:De,Bar:Fe,Blockquote:We,Button:Ke,ClipboardCode:Ye,Code:Ge,DL:we,Div:Ue,DocumentWrapper:Ve,ErrorFormatter:qe,FlexBar:ze,Form:Ze,H1:$e,H2:je,H3:Je,H4:Qe,H5:Xe,H6:et,HR:tt,IconButton:T,IconButtonSkeleton:ot,Icons:b,Img:rt,LI:at,Link:nt,ListItem:st,Loader:lt,OL:ut,P:ct,Placeholder:it,Pre:mt,ResetWrapper:pt,ScrollArea:St,Separator:_t,Spaced:dt,Span:Tt,StorybookIcon:bt,StorybookLogo:Ot,Symbols:yt,SyntaxHighlighter:Ct,TT:Et,TabBar:ht,TabButton:ft,TabWrapper:gt,Table:kt,Tabs:At,TabsState:It,TooltipLinkList:Rt,TooltipMessage:Lt,TooltipNote:Mt,UL:Bt,WithTooltip:Pt,WithTooltipPure:xt,Zoom:vt,codeCommon:Ht,components:Nt,createCopyToClipboardFunction:Dt,getStoryHref:Ft,icons:Wt,interleaveSeparators:Kt,nameSpaceClassNames:Yt,resetComponents:Gt,withReset:wt}=__STORYBOOK_COMPONENTS__;var u="storybook/measure-addon",O=`${u}/tool`,y=()=>{let[a,c]=_(),{measureEnabled:n}=a,i=d(),s=m(()=>c({measureEnabled:!n}),[c,n]);return p(()=>{i.setAddonShortcut(u,{label:"Toggle Measure [M]",defaultShortcut:["M"],actionName:"measure",showInMenu:!1,action:s})},[s,i]),r.createElement(T,{key:O,active:n,title:"Enable measure",onClick:s},r.createElement(b,{icon:"ruler"}))};l.register(u,()=>{l.add(O,{type:S.TOOL,title:"Measure",match:({viewMode:a})=>a==="story",render:()=>r.createElement(y,null)})});})();
|
||||||
|
}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }
|
3
sb-addons/essentials-outline-7/manager-bundle.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
try{
|
||||||
|
(()=>{var a=__REACT__,{Children:k,Component:I,Fragment:B,Profiler:L,PureComponent:P,StrictMode:v,Suspense:x,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:M,cloneElement:H,createContext:N,createElement:D,createFactory:F,createRef:K,forwardRef:W,isValidElement:Y,lazy:G,memo:i,useCallback:p,useContext:w,useDebugValue:U,useEffect:m,useImperativeHandle:V,useLayoutEffect:q,useMemo:z,useReducer:Z,useRef:$,useState:j,version:J}=__REACT__;var oe=__STORYBOOK_API__,{ActiveTabs:re,Consumer:ae,ManagerContext:ne,Provider:le,addons:s,combineParameters:se,controlOrMetaKey:ue,controlOrMetaSymbol:ce,eventMatchesShortcut:ie,eventToShortcut:pe,isMacLike:me,isShortcutTaken:Se,keyToSymbol:_e,merge:de,mockChannel:Te,optionOrAltSymbol:Oe,shortcutMatchesShortcut:be,shortcutToHumanString:ye,types:S,useAddonState:Ce,useArgTypes:he,useArgs:Ae,useChannel:fe,useGlobalTypes:Ee,useGlobals:_,useParameter:ge,useSharedState:Re,useStoryPrepared:ke,useStorybookApi:d,useStorybookState:Ie}=__STORYBOOK_API__;var xe=__STORYBOOK_COMPONENTS__,{A:Me,ActionBar:He,AddonPanel:Ne,Badge:De,Bar:Fe,Blockquote:Ke,Button:We,ClipboardCode:Ye,Code:Ge,DL:we,Div:Ue,DocumentWrapper:Ve,ErrorFormatter:qe,FlexBar:ze,Form:Ze,H1:$e,H2:je,H3:Je,H4:Qe,H5:Xe,H6:et,HR:tt,IconButton:T,IconButtonSkeleton:ot,Icons:O,Img:rt,LI:at,Link:nt,ListItem:lt,Loader:st,OL:ut,P:ct,Placeholder:it,Pre:pt,ResetWrapper:mt,ScrollArea:St,Separator:_t,Spaced:dt,Span:Tt,StorybookIcon:Ot,StorybookLogo:bt,Symbols:yt,SyntaxHighlighter:Ct,TT:ht,TabBar:At,TabButton:ft,TabWrapper:Et,Table:gt,Tabs:Rt,TabsState:kt,TooltipLinkList:It,TooltipMessage:Bt,TooltipNote:Lt,UL:Pt,WithTooltip:vt,WithTooltipPure:xt,Zoom:Mt,codeCommon:Ht,components:Nt,createCopyToClipboardFunction:Dt,getStoryHref:Ft,icons:Kt,interleaveSeparators:Wt,nameSpaceClassNames:Yt,resetComponents:Gt,withReset:wt}=__STORYBOOK_COMPONENTS__;var u="storybook/outline",b="outline",C=i(function(){let[r,y]=_(),c=d(),n=[!0,"true"].includes(r[b]),l=p(()=>y({[b]:!n}),[n]);return m(()=>{c.setAddonShortcut(u,{label:"Toggle Outline [O]",defaultShortcut:["O"],actionName:"outline",showInMenu:!1,action:l})},[l,c]),a.createElement(T,{key:"outline",active:n,title:"Apply outlines to the preview",onClick:l},a.createElement(O,{icon:"outline"}))});s.register(u,()=>{s.add(u,{title:"Outline",type:S.TOOL,match:({viewMode:r})=>!!(r&&r.match(/^(story|docs)$/)),render:()=>a.createElement(C,null)})});})();
|
||||||
|
}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }
|
3
sb-addons/essentials-toolbars-5/manager-bundle.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
try{
|
||||||
|
(()=>{var l=__REACT__,{Children:le,Component:ne,Fragment:ie,Profiler:se,PureComponent:ce,StrictMode:ue,Suspense:me,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:pe,cloneElement:de,createContext:be,createElement:Se,createFactory:Te,createRef:ye,forwardRef:_e,isValidElement:fe,lazy:Ce,memo:ve,useCallback:v,useContext:Ie,useDebugValue:Oe,useEffect:E,useImperativeHandle:xe,useLayoutEffect:Ee,useMemo:ge,useReducer:he,useRef:L,useState:R,version:ke}=__REACT__;var Pe=__STORYBOOK_API__,{ActiveTabs:Me,Consumer:Ne,ManagerContext:we,Provider:He,addons:g,combineParameters:Ve,controlOrMetaKey:De,controlOrMetaSymbol:Fe,eventMatchesShortcut:Ge,eventToShortcut:We,isMacLike:Ke,isShortcutTaken:Ye,keyToSymbol:$e,merge:ze,mockChannel:Ue,optionOrAltSymbol:je,shortcutMatchesShortcut:qe,shortcutToHumanString:Ze,types:B,useAddonState:Je,useArgTypes:Qe,useArgs:Xe,useChannel:et,useGlobalTypes:P,useGlobals:h,useParameter:tt,useSharedState:ot,useStoryPrepared:rt,useStorybookApi:M,useStorybookState:at}=__STORYBOOK_API__;var ct=__STORYBOOK_COMPONENTS__,{A:ut,ActionBar:mt,AddonPanel:pt,Badge:dt,Bar:bt,Blockquote:St,Button:Tt,ClipboardCode:yt,Code:_t,DL:ft,Div:Ct,DocumentWrapper:vt,ErrorFormatter:It,FlexBar:Ot,Form:xt,H1:Et,H2:gt,H3:ht,H4:kt,H5:At,H6:Lt,HR:Rt,IconButton:N,IconButtonSkeleton:Bt,Icons:k,Img:Pt,LI:Mt,Link:Nt,ListItem:wt,Loader:Ht,OL:Vt,P:Dt,Placeholder:Ft,Pre:Gt,ResetWrapper:Wt,ScrollArea:Kt,Separator:w,Spaced:Yt,Span:$t,StorybookIcon:zt,StorybookLogo:Ut,Symbols:jt,SyntaxHighlighter:qt,TT:Zt,TabBar:Jt,TabButton:Qt,TabWrapper:Xt,Table:eo,Tabs:to,TabsState:oo,TooltipLinkList:H,TooltipMessage:ro,TooltipNote:ao,UL:lo,WithTooltip:V,WithTooltipPure:no,Zoom:io,codeCommon:so,components:co,createCopyToClipboardFunction:uo,getStoryHref:mo,icons:po,interleaveSeparators:bo,nameSpaceClassNames:So,resetComponents:To,withReset:yo}=__STORYBOOK_COMPONENTS__;var G=({active:o,title:t,icon:e,description:r,onClick:a})=>l.createElement(N,{active:o,title:r,onClick:a},e&&l.createElement(k,{icon:e}),t?`\xA0${t}`:null),W=["reset"],K=o=>o.filter(t=>!W.includes(t.type)).map(t=>t.value),b="addon-toolbars",Y=async(o,t,e)=>{e&&e.next&&await o.setAddonShortcut(b,{label:e.next.label,defaultShortcut:e.next.keys,actionName:`${t}:next`,action:e.next.action}),e&&e.previous&&await o.setAddonShortcut(b,{label:e.previous.label,defaultShortcut:e.previous.keys,actionName:`${t}:previous`,action:e.previous.action}),e&&e.reset&&await o.setAddonShortcut(b,{label:e.reset.label,defaultShortcut:e.reset.keys,actionName:`${t}:reset`,action:e.reset.action})},$=o=>t=>{let{id:e,toolbar:{items:r,shortcuts:a}}=t,d=M(),[S,i]=h(),n=L([]),s=S[e],I=v(()=>{i({[e]:""})},[i]),O=v(()=>{let p=n.current,c=p.indexOf(s),m=c===p.length-1?0:c+1,T=n.current[m];i({[e]:T})},[n,s,i]),u=v(()=>{let p=n.current,c=p.indexOf(s),m=c>-1?c:0,T=m===0?p.length-1:m-1,y=n.current[T];i({[e]:y})},[n,s,i]);return E(()=>{a&&Y(d,e,{next:{...a.next,action:O},previous:{...a.previous,action:u},reset:{...a.reset,action:I}})},[d,e,a,O,u,I]),E(()=>{n.current=K(r)},[]),l.createElement(o,{cycleValues:n.current,...t})},D=({currentValue:o,items:t})=>o!=null&&t.find(e=>e.value===o&&e.type!=="reset"),z=({currentValue:o,items:t})=>{let e=D({currentValue:o,items:t});if(e)return e.icon},U=({currentValue:o,items:t})=>{let e=D({currentValue:o,items:t});if(e)return e.title},j=({left:o,right:t,title:e,value:r,icon:a,hideIcon:d,onClick:S,currentValue:i})=>{let n=a&&l.createElement(k,{style:{opacity:1},icon:a}),s={id:r??"_reset",active:i===r,right:t,title:e,left:o,onClick:S};return a&&!d&&(s.left=n),s},q=$(({id:o,name:t,description:e,toolbar:{icon:r,items:a,title:d,preventDynamicIcon:S,dynamicTitle:i}})=>{let[n,s]=h(),[I,O]=R(!1),u=n[o],p=!!u,c=r,m=d;S||(c=z({currentValue:u,items:a})||c),i&&(m=U({currentValue:u,items:a})||m),!m&&!c&&console.warn(`Toolbar '${t}' has no title or icon`);let T=v(y=>{s({[o]:y})},[u,s]);return l.createElement(V,{placement:"top",tooltip:({onHide:y})=>{let F=a.filter(({type:x})=>{let A=!0;return x==="reset"&&!u&&(A=!1),A}).map(x=>j({...x,currentValue:u,onClick:()=>{T(x.value),y()}}));return l.createElement(H,{links:F})},closeOnOutsideClick:!0,onVisibleChange:O},l.createElement(G,{active:I||p,description:e||"",icon:c,title:m||""}))}),Z={type:"item",value:""},J=(o,t)=>({...t,name:t.name||o,description:t.description||o,toolbar:{...t.toolbar,items:t.toolbar.items.map(e=>{let r=typeof e=="string"?{value:e,title:e}:e;return r.type==="reset"&&t.toolbar.icon&&(r.icon=t.toolbar.icon,r.hideIcon=!0),{...Z,...r}})}}),Q=()=>{let o=P(),t=Object.keys(o).filter(e=>!!o[e].toolbar);return t.length?l.createElement(l.Fragment,null,l.createElement(w,null),t.map(e=>{let r=J(e,o[e]);return l.createElement(q,{key:e,id:e,...r})})):null};g.register(b,()=>g.add(b,{title:b,type:B.TOOL,match:()=>!0,render:()=>l.createElement(Q,null)}));})();
|
||||||
|
}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }
|
3
sb-addons/essentials-viewport-4/manager-bundle.js
Normal file
12
sb-addons/interactions-8/manager-bundle.js
Normal file
0
sb-addons/interactions-8/manager-bundle.js.LEGAL.txt
Normal file
3
sb-addons/links-0/manager-bundle.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
try{
|
||||||
|
(()=>{var _=__STORYBOOK_API__,{ActiveTabs:h,Consumer:A,ManagerContext:E,Provider:b,addons:a,combineParameters:O,controlOrMetaKey:k,controlOrMetaSymbol:p,eventMatchesShortcut:v,eventToShortcut:g,isMacLike:I,isShortcutTaken:C,keyToSymbol:M,merge:P,mockChannel:R,optionOrAltSymbol:f,shortcutMatchesShortcut:x,shortcutToHumanString:D,types:G,useAddonState:K,useArgTypes:V,useArgs:$,useChannel:B,useGlobalTypes:N,useGlobals:Q,useParameter:U,useSharedState:Y,useStoryPrepared:q,useStorybookApi:H,useStorybookState:L}=__STORYBOOK_API__;var e="storybook/links",n={NAVIGATE:`${e}/navigate`,REQUEST:`${e}/request`,RECEIVE:`${e}/receive`};a.register(e,t=>{t.on(n.REQUEST,({kind:u,name:S})=>{let c=t.storyId(u,S);t.emit(n.RECEIVE,c)})});})();
|
||||||
|
}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }
|
0
sb-addons/links-0/manager-bundle.js.LEGAL.txt
Normal file
31
sb-common-assets/fonts.css
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Nunito Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url('./nunito-sans-regular.woff2') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Nunito Sans';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url('./nunito-sans-italic.woff2') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Nunito Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url('./nunito-sans-bold.woff2') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Nunito Sans';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url('./nunito-sans-bold-italic.woff2') format('woff2');
|
||||||
|
}
|
BIN
sb-common-assets/nunito-sans-bold-italic.woff2
Normal file
BIN
sb-common-assets/nunito-sans-bold.woff2
Normal file
BIN
sb-common-assets/nunito-sans-italic.woff2
Normal file
BIN
sb-common-assets/nunito-sans-regular.woff2
Normal file
1
sb-manager/WithTooltip-V3YHNWJZ-LVYLGZW2.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{WithToolTipState,WithTooltipPure}from"./chunk-NGTUFCUO.js";import"./chunk-INSKDKQB.js";import"./chunk-ZEU7PDD3.js";export{WithToolTipState,WithToolTipState as WithTooltip,WithTooltipPure};
|
7
sb-manager/chunk-2IXBUOFS.js
Normal file
406
sb-manager/chunk-GGCOS3UQ.js
Normal file
348
sb-manager/chunk-INSKDKQB.js
Normal file
9
sb-manager/chunk-NGTUFCUO.js
Normal file
1
sb-manager/chunk-ZEU7PDD3.js
Normal file
156
sb-manager/formatter-SWP5E3XI-7BGIK6BL.js
Normal file
1
sb-manager/globals-module-info.js
Normal file
1
sb-manager/globals.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var globals_exports={};__export(globals_exports,{globalPackages:()=>globalPackages,globalsNameReferenceMap:()=>globalsNameReferenceMap});module.exports=__toCommonJS(globals_exports);var globalsNameReferenceMap={react:"__REACT__","react-dom":"__REACT_DOM__","@storybook/components":"__STORYBOOK_COMPONENTS__","@storybook/channels":"__STORYBOOK_CHANNELS__","@storybook/core-events":"__STORYBOOK_CORE_EVENTS__","@storybook/router":"__STORYBOOK_ROUTER__","@storybook/theming":"__STORYBOOK_THEMING__","@storybook/api":"__STORYBOOK_API__","@storybook/manager-api":"__STORYBOOK_API__","@storybook/addons":"__STORYBOOK_ADDONS__","@storybook/client-logger":"__STORYBOOK_CLIENT_LOGGER__","@storybook/types":"__STORYBOOK_TYPES__"},globalPackages=Object.keys(globalsNameReferenceMap);0&&(module.exports={globalPackages,globalsNameReferenceMap});
|
1
sb-manager/index.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{Provider,Root,renderStorybookUI}from"./chunk-GGCOS3UQ.js";import"./chunk-2IXBUOFS.js";import"./chunk-NGTUFCUO.js";import"./chunk-INSKDKQB.js";import"./chunk-ZEU7PDD3.js";export{Provider,Root,renderStorybookUI};
|
1
sb-manager/runtime.js
Normal file
1
sb-manager/syntaxhighlighter-V7JZZA35-DXZCI2WR.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import{SyntaxHighlighter2,createCopyToClipboardFunction,syntaxhighlighter_default}from"./chunk-2IXBUOFS.js";import"./chunk-INSKDKQB.js";import"./chunk-ZEU7PDD3.js";export{SyntaxHighlighter2 as SyntaxHighlighter,createCopyToClipboardFunction,syntaxhighlighter_default as default};
|
1
sb-preview/globals.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
"use strict";var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var globals_exports={};__export(globals_exports,{globalPackages:()=>globalPackages,globalsNameReferenceMap:()=>globalsNameReferenceMap});module.exports=__toCommonJS(globals_exports);var globalsNameReferenceMap={"@storybook/addons":"__STORYBOOK_MODULE_ADDONS__","@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","@storybook/channel-postmessage":"__STORYBOOK_MODULE_CHANNEL_POSTMESSAGE__","@storybook/channel-websocket":"__STORYBOOK_MODULE_CHANNEL_WEBSOCKET__","@storybook/channels":"__STORYBOOK_MODULE_CHANNELS__","@storybook/client-api":"__STORYBOOK_MODULE_CLIENT_API__","@storybook/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","@storybook/core-client":"__STORYBOOK_MODULE_CORE_CLIENT__","@storybook/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","@storybook/preview-web":"__STORYBOOK_MODULE_PREVIEW_WEB__","@storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","@storybook/store":"__STORYBOOK_MODULE_STORE__","@storybook/types":"__STORYBOOK_MODULE_TYPES__"},globalPackages=Object.keys(globalsNameReferenceMap);0&&(module.exports={globalPackages,globalsNameReferenceMap});
|
112
sb-preview/runtime.js
Normal file
1
stories.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"v":3,"stories":{"configure-your-project--docs":{"id":"configure-your-project--docs","title":"Configure your project","name":"Docs","importPath":"./stories/Configure.mdx","storiesImports":[],"tags":["unattached-mdx","docs"],"kind":"Configure your project","story":"Docs","parameters":{"__id":"configure-your-project--docs","docsOnly":true,"fileName":"./stories/Configure.mdx"}},"example-button--docs":{"id":"example-button--docs","title":"Example/Button","name":"Docs","importPath":"./stories/Button.stories.ts","tags":["autodocs","docs"],"storiesImports":[],"kind":"Example/Button","story":"Docs","parameters":{"__id":"example-button--docs","docsOnly":true,"fileName":"./stories/Button.stories.ts"}},"example-button--primary":{"id":"example-button--primary","name":"Primary","title":"Example/Button","importPath":"./stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Example/Button","story":"Primary","parameters":{"__id":"example-button--primary","docsOnly":false,"fileName":"./stories/Button.stories.ts"}},"example-button--secondary":{"id":"example-button--secondary","name":"Secondary","title":"Example/Button","importPath":"./stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Example/Button","story":"Secondary","parameters":{"__id":"example-button--secondary","docsOnly":false,"fileName":"./stories/Button.stories.ts"}},"example-button--large":{"id":"example-button--large","name":"Large","title":"Example/Button","importPath":"./stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Example/Button","story":"Large","parameters":{"__id":"example-button--large","docsOnly":false,"fileName":"./stories/Button.stories.ts"}},"example-button--small":{"id":"example-button--small","name":"Small","title":"Example/Button","importPath":"./stories/Button.stories.ts","tags":["autodocs","story"],"kind":"Example/Button","story":"Small","parameters":{"__id":"example-button--small","docsOnly":false,"fileName":"./stories/Button.stories.ts"}},"example-header--docs":{"id":"example-header--docs","title":"Example/Header","name":"Docs","importPath":"./stories/Header.stories.ts","tags":["autodocs","docs"],"storiesImports":[],"kind":"Example/Header","story":"Docs","parameters":{"__id":"example-header--docs","docsOnly":true,"fileName":"./stories/Header.stories.ts"}},"example-header--logged-in":{"id":"example-header--logged-in","name":"Logged In","title":"Example/Header","importPath":"./stories/Header.stories.ts","tags":["autodocs","story"],"kind":"Example/Header","story":"Logged In","parameters":{"__id":"example-header--logged-in","docsOnly":false,"fileName":"./stories/Header.stories.ts"}},"example-header--logged-out":{"id":"example-header--logged-out","name":"Logged Out","title":"Example/Header","importPath":"./stories/Header.stories.ts","tags":["autodocs","story"],"kind":"Example/Header","story":"Logged Out","parameters":{"__id":"example-header--logged-out","docsOnly":false,"fileName":"./stories/Header.stories.ts"}},"example-page--logged-out":{"id":"example-page--logged-out","name":"Logged Out","title":"Example/Page","importPath":"./stories/Page.stories.ts","tags":["story"],"kind":"Example/Page","story":"Logged Out","parameters":{"__id":"example-page--logged-out","docsOnly":false,"fileName":"./stories/Page.stories.ts"}},"example-page--logged-in":{"id":"example-page--logged-in","name":"Logged In","title":"Example/Page","importPath":"./stories/Page.stories.ts","tags":["play-fn","story"],"kind":"Example/Page","story":"Logged In","parameters":{"__id":"example-page--logged-in","docsOnly":false,"fileName":"./stories/Page.stories.ts"}}}}
|