This commit is contained in:
André Jaenisch 2024-03-14 18:56:06 +01:00
parent 911b80f4ff
commit c8cf811380
No known key found for this signature in database
GPG key ID: 5A668E771F1ED854
24 changed files with 25 additions and 25 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import{j as r}from"./jsx-runtime-ea3d6ccb.js";import{M as s,C as t,b as o}from"./index-6f701dea.js";import{u as e}from"./index-5fd49470.js";import"./iframe-e37939d1.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";function l(a){const c=Object.assign({p:"p"},e(),a.components);return r.jsxs(r.Fragment,{children:[` import{j as r}from"./jsx-runtime-7369b924.js";import{M as s,C as t,b as o}from"./index-e27a64c7.js";import{u as e}from"./index-c7e530aa.js";import"./iframe-a95b58fe.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";function l(a){const c=Object.assign({p:"p"},e(),a.components);return r.jsxs(r.Fragment,{children:[`
`,` `,`
`,r.jsx(s,{title:"Colors"}),` `,r.jsx(s,{title:"Colors"}),`
`,r.jsx(c.p,{children:"Consider the value at 500 to be the default."}),` `,r.jsx(c.p,{children:"Consider the value at 500 to be the default."}),`

View file

@ -1 +1 @@
import{_ as h}from"./iframe-e37939d1.js";import{e as d,R as o,r as a,f as E,A as R,H as x,D as y}from"./index-6f701dea.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=d;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 v(t);return new Promise(s=>{r.render(o.createElement(D,{callback:()=>s(null)},e))})},f=(e,t)=>{let r=n.get(e);r&&(r.unmount(),n.delete(e))},v=async e=>{let t=n.get(e);return t||(t=c.createRoot(e),n.set(e,t)),t},w={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={...w,...t==null?void 0:t.components},u=y;return new Promise((i,p)=>{h(()=>import("./index-9b23ba78.js"),["./index-9b23ba78.js","./index-5fd49470.js","./index-6f701dea.js","./iframe-e37939d1.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=>{f(e)}}};export{S as DocsRenderer,w as defaultComponents}; import{_ as h}from"./iframe-a95b58fe.js";import{e as d,R as o,r as a,f as E,A as R,H as x,D as y}from"./index-e27a64c7.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=d;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 v(t);return new Promise(s=>{r.render(o.createElement(D,{callback:()=>s(null)},e))})},f=(e,t)=>{let r=n.get(e);r&&(r.unmount(),n.delete(e))},v=async e=>{let t=n.get(e);return t||(t=c.createRoot(e),n.set(e,t)),t},w={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={...w,...t==null?void 0:t.components},u=y;return new Promise((i,p)=>{h(()=>import("./index-dc765a9c.js"),["./index-dc765a9c.js","./index-c7e530aa.js","./index-e27a64c7.js","./iframe-a95b58fe.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=>{f(e)}}};export{S as DocsRenderer,w as defaultComponents};

View file

@ -1 +1 @@
import{a as F,c as I}from"./utils-09ff0c0e.js";import{a as h,t as L,l as S,b as v,f as _,h as E,d as u,m as D,j as k,i as K,k as d,n as V}from"./lifecycle-16e1fb41.js";import{S as P,i as q,c as x,b as A,m as C,a as H,t as z,d as B}from"./index-b180c43f.js";import{$ as G}from"./runtime-ea3b2d3b.js";import{L as J}from"./LoginForm-a4fce076.js";function M(o){let s,e,l,r=o[3]("page.login.heading")+"",c,g,m,a=o[3]("page.login.intro")+"",b,y,f,p;return f=new J({props:{data:o[0],form:o[1],i18n:o[4],sb:o[2]}}),{c(){s=h("div"),e=h("div"),l=h("h1"),c=L(r),g=S(),m=h("p"),b=L(a),y=S(),x(f.$$.fragment),this.h()},l(t){s=v(t,"DIV",{class:!0});var n=_(s);e=v(n,"DIV",{class:!0});var i=_(e);l=v(i,"H1",{class:!0});var w=_(l);c=E(w,r),w.forEach(u),g=D(i),m=v(i,"P",{});var j=_(m);b=E(j,a),j.forEach(u),y=D(i),A(f.$$.fragment,i),i.forEach(u),n.forEach(u),this.h()},h(){k(l,"class","h1 font-bold"),k(e,"class","space-y-10"),k(s,"class","w-full max-w-md h-full mx-auto flex justify-center items-center py-10")},m(t,n){K(t,s,n),d(s,e),d(e,l),d(l,c),d(e,g),d(e,m),d(m,b),d(e,y),C(f,e,null),p=!0},p(t,[n]){(!p||n&8)&&r!==(r=t[3]("page.login.heading")+"")&&V(c,r),(!p||n&8)&&a!==(a=t[3]("page.login.intro")+"")&&V(b,a);const i={};n&1&&(i.data=t[0]),n&2&&(i.form=t[1]),n&4&&(i.sb=t[2]),f.$set(i)},i(t){p||(H(f.$$.fragment,t),p=!0)},o(t){z(f.$$.fragment,t),p=!1},d(t){t&&u(s),B(f)}}}function N(o,s,e){let l;I(o,G,a=>e(3,l=a));let{data:r={servers:{}}}=s,{form:c={servers:{}}}=s;const g={fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}};let{sb:m=""}=s;return o.$$set=a=>{"data"in a&&e(0,r=a.data),"form"in a&&e(1,c=a.form),"sb"in a&&e(2,m=a.sb)},[r,c,m,l,g]}class O extends P{constructor(s){super(),q(this,s,N,M,F,{data:0,form:1,sb:2})}}O.__docgen={version:3,name:"Login.svelte",data:[{keywords:[],visibility:"public",description:"PageData provided by SvelteKit.",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Form handling by SvelteKit",name:"form",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Allow for linking stories in Storybook.",name:"sb",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{O as L}; import{a as F,c as I}from"./utils-09ff0c0e.js";import{a as h,t as L,l as S,b as v,f as _,h as E,d as u,m as D,j as k,i as K,k as d,n as V}from"./lifecycle-16e1fb41.js";import{S as P,i as q,c as x,b as A,m as C,a as H,t as z,d as B}from"./index-b180c43f.js";import{$ as G}from"./runtime-ea3b2d3b.js";import{L as J}from"./LoginForm-9fb70c0c.js";function M(o){let s,e,l,r=o[3]("page.login.heading")+"",c,g,m,a=o[3]("page.login.intro")+"",b,y,f,p;return f=new J({props:{data:o[0],form:o[1],i18n:o[4],sb:o[2]}}),{c(){s=h("div"),e=h("div"),l=h("h1"),c=L(r),g=S(),m=h("p"),b=L(a),y=S(),x(f.$$.fragment),this.h()},l(t){s=v(t,"DIV",{class:!0});var n=_(s);e=v(n,"DIV",{class:!0});var i=_(e);l=v(i,"H1",{class:!0});var w=_(l);c=E(w,r),w.forEach(u),g=D(i),m=v(i,"P",{});var j=_(m);b=E(j,a),j.forEach(u),y=D(i),A(f.$$.fragment,i),i.forEach(u),n.forEach(u),this.h()},h(){k(l,"class","h1 font-bold"),k(e,"class","space-y-10"),k(s,"class","w-full max-w-md h-full mx-auto flex justify-center items-center py-10")},m(t,n){K(t,s,n),d(s,e),d(e,l),d(l,c),d(e,g),d(e,m),d(m,b),d(e,y),C(f,e,null),p=!0},p(t,[n]){(!p||n&8)&&r!==(r=t[3]("page.login.heading")+"")&&V(c,r),(!p||n&8)&&a!==(a=t[3]("page.login.intro")+"")&&V(b,a);const i={};n&1&&(i.data=t[0]),n&2&&(i.form=t[1]),n&4&&(i.sb=t[2]),f.$set(i)},i(t){p||(H(f.$$.fragment,t),p=!0)},o(t){z(f.$$.fragment,t),p=!1},d(t){t&&u(s),B(f)}}}function N(o,s,e){let l;I(o,G,a=>e(3,l=a));let{data:r={servers:{}}}=s,{form:c={servers:{}}}=s;const g={fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}};let{sb:m=""}=s;return o.$$set=a=>{"data"in a&&e(0,r=a.data),"form"in a&&e(1,c=a.form),"sb"in a&&e(2,m=a.sb)},[r,c,m,l,g]}class O extends P{constructor(s){super(),q(this,s,N,M,F,{data:0,form:1,sb:2})}}O.__docgen={version:3,name:"Login.svelte",data:[{keywords:[],visibility:"public",description:"PageData provided by SvelteKit.",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Form handling by SvelteKit",name:"form",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Allow for linking stories in Storybook.",name:"sb",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{O as L};

View file

@ -1,4 +1,4 @@
import{a as v}from"./utils-09ff0c0e.js";import{S as j,i as k,c as x,b as S,m as L,a as h,t as w,d as I}from"./index-b180c43f.js";import{L as P}from"./Login-c422d948.js";import"./lifecycle-16e1fb41.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";import"./LoginForm-a4fce076.js";import"./each-57bb632b.js";function D(r){let t,a;return t=new P({props:{data:r[0],form:r[1]}}),{c(){x(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,o){L(t,e,o),a=!0},p(e,[o]){const n={};o&1&&(n.data=e[0]),o&2&&(n.form=e[1]),t.$set(n)},i(e){a||(h(t.$$.fragment,e),a=!0)},o(e){w(t.$$.fragment,e),a=!1},d(e){I(t,e)}}}function F(r,t,a){let{data:e={servers:{}}}=t,{form:o=null}=t;return r.$$set=n=>{"data"in n&&a(0,e=n.data),"form"in n&&a(1,o=n.form)},[e,o]}class b extends j{constructor(t){super(),k(this,t,F,D,v,{data:0,form:1})}}b.__docgen={version:3,name:"Login.svelte",data:[{keywords:[],visibility:"public",description:"PageData provided by SvelteKit.",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Form handling by SvelteKit",name:"form",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"},defaultValue:null}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const z={title:"Pages/Login",component:b,tags:["autodocs"],argTypes:{form:{controls:"object"}}},s={args:{form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1}}},i={args:{form:{account:"",incorrect:!1,missing:!0}}},c={args:{form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1}}};var m,l,d;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ import{a as v}from"./utils-09ff0c0e.js";import{S as j,i as k,c as x,b as S,m as L,a as h,t as w,d as I}from"./index-b180c43f.js";import{L as P}from"./Login-c5ffcdd4.js";import"./lifecycle-16e1fb41.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";import"./LoginForm-9fb70c0c.js";import"./each-57bb632b.js";function D(r){let t,a;return t=new P({props:{data:r[0],form:r[1]}}),{c(){x(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,o){L(t,e,o),a=!0},p(e,[o]){const n={};o&1&&(n.data=e[0]),o&2&&(n.form=e[1]),t.$set(n)},i(e){a||(h(t.$$.fragment,e),a=!0)},o(e){w(t.$$.fragment,e),a=!1},d(e){I(t,e)}}}function F(r,t,a){let{data:e={servers:{}}}=t,{form:o=null}=t;return r.$$set=n=>{"data"in n&&a(0,e=n.data),"form"in n&&a(1,o=n.form)},[e,o]}class b extends j{constructor(t){super(),k(this,t,F,D,v,{data:0,form:1})}}b.__docgen={version:3,name:"Login.svelte",data:[{keywords:[],visibility:"public",description:"PageData provided by SvelteKit.",name:"data",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{keywords:[],visibility:"public",description:"Form handling by SvelteKit",name:"form",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"},defaultValue:null}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const z={title:"Pages/Login",component:b,tags:["autodocs"],argTypes:{form:{controls:"object"}}},s={args:{form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1}}},i={args:{form:{account:"",incorrect:!1,missing:!0}}},c={args:{form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1}}};var m,l,d;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{
args: { args: {
form: { form: {
account: 'jane.doe@domain.example', account: 'jane.doe@domain.example',

View file

@ -1,4 +1,4 @@
import{w as d,a as u}from"./chunk-6GSMXRCY-a387bb65.js";import{L as g}from"./Login-c422d948.js";import"./chunk-WFFRPTHA-ed72344b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./index-11d98b33.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";import"./LoginForm-a4fce076.js";import"./each-57bb632b.js";const M={title:"Templates/Login",component:g,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},form:{controls:"object"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[d,u]},r={args:{form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1}}},o={args:{form:{account:"",incorrect:!1,missing:!0}}},a={args:{form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1}}};var e,s,n;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{ import{w as d,a as u}from"./chunk-6GSMXRCY-a387bb65.js";import{L as g}from"./Login-c5ffcdd4.js";import"./chunk-WFFRPTHA-ed72344b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./index-11d98b33.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./index-b180c43f.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";import"./LoginForm-9fb70c0c.js";import"./each-57bb632b.js";const M={title:"Templates/Login",component:g,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{onSubmit:{action:"submit"},form:{controls:"object"},sb:{control:"radio",options:["Templates/Profile"]}},decorators:[d,u]},r={args:{form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1}}},o={args:{form:{account:"",incorrect:!1,missing:!0}}},a={args:{form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1}}};var e,s,n;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`{
args: { args: {
form: { form: {
account: 'jane.doe@domain.example', account: 'jane.doe@domain.example',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import{w as c,a as f}from"./chunk-6GSMXRCY-a387bb65.js";import{L as d}from"./LoginForm-a4fce076.js";import"./chunk-WFFRPTHA-ed72344b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./index-11d98b33.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./each-57bb632b.js";import"./index-b180c43f.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";const D={title:"Organisms/LoginForm",component:d,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{form:{controls:"object"},i18n:{controls:"object"},onSubmit:{action:"submit"},sb:{control:"radio",options:["Templates/Profile"]},servers:{controls:"object"}},decorators:[c,f]},e={args:{form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}},servers:[]}},a={args:{form:{account:"",incorrect:!1,missing:!0},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}},servers:[]}},n={args:{form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}},servers:[]}};var r,o,s;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`{ import{w as c,a as f}from"./chunk-6GSMXRCY-a387bb65.js";import{L as d}from"./LoginForm-9fb70c0c.js";import"./chunk-WFFRPTHA-ed72344b.js";import"./preview-errors-dde4324f.js";import"./index-356e4a49.js";import"./index-11d98b33.js";import"./utils-09ff0c0e.js";import"./lifecycle-16e1fb41.js";import"./each-57bb632b.js";import"./index-b180c43f.js";import"./runtime-ea3b2d3b.js";import"./index-9ff358fd.js";import"./_commonjsHelpers-725317a4.js";const D={title:"Organisms/LoginForm",component:d,tags:["autodocs"],args:{sb:"Templates/Profile"},argTypes:{form:{controls:"object"},i18n:{controls:"object"},onSubmit:{action:"submit"},sb:{control:"radio",options:["Templates/Profile"]},servers:{controls:"object"}},decorators:[c,f]},e={args:{form:{account:"jane.doe@domain.example",incorrect:!1,missing:!1},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}},servers:[]}},a={args:{form:{account:"",incorrect:!1,missing:!0},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}},servers:[]}},n={args:{form:{account:"jane.doe@domain.example",incorrect:!0,missing:!1},i18n:{fields:{account:{label:"page.login.form.fields.account.label"},passphrase:{label:"page.login.form.fields.passphrase.label",placeholder:"page.login.form.fields.passphrase.placeholder"},server:{label:"page.login.form.fields.server.label"}},reset:"page.login.form.reset",submit:"page.login.form.submit",validation:{incorrect:"page.login.form.validation.incorrect",missing:"page.login.form.validation.missing"}},servers:[]}};var r,o,s;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`{
args: { args: {
form: { form: {
account: 'jane.doe@domain.example', account: 'jane.doe@domain.example',

View file

@ -1,4 +1,4 @@
import{j as e}from"./jsx-runtime-ea3d6ccb.js";import{M as o}from"./index-6f701dea.js";import{u as r}from"./index-5fd49470.js";import"./iframe-e37939d1.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";const s="Lorem ipsum dolor sit amet, consectetur";function i(t){const n=Object.assign({h1:"h1",p:"p",h2:"h2"},r(),t.components);return e.jsxs(e.Fragment,{children:[` import{j as e}from"./jsx-runtime-7369b924.js";import{M as o}from"./index-e27a64c7.js";import{u as r}from"./index-c7e530aa.js";import"./iframe-a95b58fe.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";const s="Lorem ipsum dolor sit amet, consectetur";function i(t){const n=Object.assign({h1:"h1",p:"p",h2:"h2"},r(),t.components);return e.jsxs(e.Fragment,{children:[`
`,` `,`
`,e.jsx(o,{title:"Typography"}),` `,e.jsx(o,{title:"Typography"}),`
`,` `,`

View file

@ -1 +1 @@
import{W as T,W as e,a as h}from"./index-6f701dea.js";import"./iframe-e37939d1.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}; import{W as T,W as e,a as h}from"./index-e27a64c7.js";import"./iframe-a95b58fe.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};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
import{R as o}from"./index-6f701dea.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}; import{R as o}from"./index-e27a64c7.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};

View file

@ -1 +1 @@
import{M as n,a as M,u as D,w as X}from"./index-5fd49470.js";import"./index-6f701dea.js";import"./iframe-e37939d1.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}; import{M as n,a as M,u as D,w as X}from"./index-c7e530aa.js";import"./index-e27a64c7.js";import"./iframe-a95b58fe.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};

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import{r as l}from"./index-6f701dea.js";var f={exports:{}},n={};/** import{r as l}from"./index-e27a64c7.js";var f={exports:{}},n={};/**
* @license React * @license React
* react-jsx-runtime.production.min.js * react-jsx-runtime.production.min.js
* *

View file

@ -1 +0,0 @@
import{_ as e}from"./iframe-e37939d1.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-245a6c5d.js"),["./DocsRenderer-NNNQARDV-245a6c5d.js","./iframe-e37939d1.js","./index-6f701dea.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js"],import.meta.url);return new r}}};export{a as parameters};

View file

@ -0,0 +1 @@
import{_ as e}from"./iframe-a95b58fe.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-73a90748.js"),["./DocsRenderer-NNNQARDV-73a90748.js","./iframe-a95b58fe.js","./index-e27a64c7.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js"],import.meta.url);return new r}}};export{a as parameters};

View file

@ -1 +1 @@
import{_ as e}from"./iframe-e37939d1.js";import{r as t,i,b as a}from"./runtime-ea3b2d3b.js";import"../sb-preview/runtime.js";import"./index-9ff358fd.js";import"./utils-09ff0c0e.js";import"./_commonjsHelpers-725317a4.js";const n="en";t("de",()=>e(()=>import("./de-4447c9d9.js"),[],import.meta.url));t("en",()=>e(()=>import("./en-39186d42.js"),[],import.meta.url));t("he",()=>e(()=>import("./he-42d86658.js"),[],import.meta.url));i({fallbackLocale:n,initialLocale:window.navigator.language});function c(o){return["he"].includes(o)?"rtl":"ltr"}t("de",()=>e(()=>import("./de-4447c9d9.js"),[],import.meta.url));t("en",()=>e(()=>import("./en-39186d42.js"),[],import.meta.url));t("he",()=>e(()=>import("./he-42d86658.js"),[],import.meta.url));i({fallbackLocale:"en",initialLocale:"en"});a.set("en");function m(o,l){const r=l.globals.locale;return a.set(r),document.dir=c(r),o()}const E={globalTypes:{locale:{description:"Internationalization locale",defaultValue:"en",toolbar:{icon:"globe",items:[{value:"de",title:"German"},{value:"en",title:"English"},{value:"he",title:"Hebrew"}]}}},parameters:{actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}}}},v=[m];export{v as decorators,E as default}; import{_ as e}from"./iframe-a95b58fe.js";import{r as t,i,b as a}from"./runtime-ea3b2d3b.js";import"../sb-preview/runtime.js";import"./index-9ff358fd.js";import"./utils-09ff0c0e.js";import"./_commonjsHelpers-725317a4.js";const n="en";t("de",()=>e(()=>import("./de-4447c9d9.js"),[],import.meta.url));t("en",()=>e(()=>import("./en-39186d42.js"),[],import.meta.url));t("he",()=>e(()=>import("./he-42d86658.js"),[],import.meta.url));i({fallbackLocale:n,initialLocale:window.navigator.language});function c(o){return["he"].includes(o)?"rtl":"ltr"}t("de",()=>e(()=>import("./de-4447c9d9.js"),[],import.meta.url));t("en",()=>e(()=>import("./en-39186d42.js"),[],import.meta.url));t("he",()=>e(()=>import("./he-42d86658.js"),[],import.meta.url));i({fallbackLocale:"en",initialLocale:"en"});a.set("en");function m(o,l){const r=l.globals.locale;return a.set(r),document.dir=c(r),o()}const E={globalTypes:{locale:{description:"Internationalization locale",defaultValue:"en",toolbar:{icon:"globe",items:[{value:"de",title:"German"},{value:"en",title:"English"},{value:"he",title:"Hebrew"}]}}},parameters:{actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}}}},v=[m];export{v as decorators,E as default};

View file

@ -1 +1 @@
import{_ as N}from"./iframe-e37939d1.js";import"../sb-preview/runtime.js";const{global:T}=__STORYBOOK_MODULE_GLOBAL__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__;var n="storybook/a11y",U=`${n}/result`,f=`${n}/request`,g=`${n}/running`,p=`${n}/error`,w=`${n}/manual`,a={RESULT:U,REQUEST:f,RUNNING:g,ERROR:p,MANUAL:w},{document:L,window:d}=T,r=y.getChannel(),o=!1,_,A=async t=>{let{manual:e}=await s(t);e||await l(t)},l=async t=>{_=t;try{let e=await s(t);if(!o){o=!0,r.emit(a.RUNNING);let i=(await N(()=>import("./axe-95259d90.js").then(S=>S.a),["./axe-95259d90.js","./_commonjsHelpers-725317a4.js"],import.meta.url)).default,{element:u="#storybook-root",config:O,options:E={}}=e,R=L.querySelector(u);if(!R)return;i.reset(),O&&i.configure(O);let m=await i.run(R,E),c=JSON.parse(JSON.stringify(m));_===t?r.emit(a.RESULT,c):(o=!1,l(_))}}catch(e){r.emit(a.ERROR,e)}finally{o=!1}},s=async t=>{let{parameters:e}=await d.__STORYBOOK_STORY_STORE__.loadStory({storyId:t})||{};return e.a11y||{config:{},options:{}}};r.on(a.REQUEST,A);r.on(a.MANUAL,l); import{_ as N}from"./iframe-a95b58fe.js";import"../sb-preview/runtime.js";const{global:T}=__STORYBOOK_MODULE_GLOBAL__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__;var n="storybook/a11y",U=`${n}/result`,f=`${n}/request`,g=`${n}/running`,p=`${n}/error`,w=`${n}/manual`,a={RESULT:U,REQUEST:f,RUNNING:g,ERROR:p,MANUAL:w},{document:L,window:d}=T,r=y.getChannel(),o=!1,_,A=async t=>{let{manual:e}=await s(t);e||await l(t)},l=async t=>{_=t;try{let e=await s(t);if(!o){o=!0,r.emit(a.RUNNING);let i=(await N(()=>import("./axe-95259d90.js").then(S=>S.a),["./axe-95259d90.js","./_commonjsHelpers-725317a4.js"],import.meta.url)).default,{element:u="#storybook-root",config:O,options:E={}}=e,R=L.querySelector(u);if(!R)return;i.reset(),O&&i.configure(O);let m=await i.run(R,E),c=JSON.parse(JSON.stringify(m));_===t?r.emit(a.RESULT,c):(o=!1,l(_))}}catch(e){r.emit(a.ERROR,e)}finally{o=!1}},s=async t=>{let{parameters:e}=await d.__STORYBOOK_STORY_STORE__.loadStory({storyId:t})||{};return e.a11y||{config:{},options:{}}};r.on(a.REQUEST,A);r.on(a.MANUAL,l);

View file

@ -1 +1 @@
import{S as s,c,s as l}from"./index-6f701dea.js";import"./iframe-e37939d1.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}; import{S as s,c,s as l}from"./index-e27a64c7.js";import"./iframe-a95b58fe.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};

View file

@ -373,7 +373,7 @@ You should have received a copy of the GNU Affero General Public License along w
<link rel="preconnect" href="https://rsms.me/" /> <link rel="preconnect" href="https://rsms.me/" />
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" /> <link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
<script type="module" crossorigin src="./assets/iframe-e37939d1.js"></script> <script type="module" crossorigin src="./assets/iframe-a95b58fe.js"></script>
</head> </head>
<body> <body>

View file

@ -1 +1 @@
{"generatedAt":1710438106295,"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":true},"framework":{"name":"@storybook/sveltekit","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/svelte","storybookVersion":"7.6.17","storybookVersionSpecifier":"7.6.17","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"7.6.17"},"@storybook/builder-vite":{"version":"7.6.17"},"@storybook/svelte":{"version":"7.6.17"},"@storybook/sveltekit":{"version":"7.6.17"},"@storybook/test":{"version":"7.6.17"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"7.6.17"}},"addons":{"@storybook/addon-a11y":{"version":"7.6.17"},"@storybook/addon-essentials":{"version":"7.6.17"},"@storybook/addon-links":{"version":"7.6.17"},"@storybook/addon-interactions":{"version":"7.6.17"},"@storybook/addon-toolbar":{"version":null}}} {"generatedAt":1710438926157,"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":true},"framework":{"name":"@storybook/sveltekit","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/svelte","storybookVersion":"7.6.17","storybookVersionSpecifier":"7.6.17","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"7.6.17"},"@storybook/builder-vite":{"version":"7.6.17"},"@storybook/svelte":{"version":"7.6.17"},"@storybook/sveltekit":{"version":"7.6.17"},"@storybook/test":{"version":"7.6.17"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"7.6.17"}},"addons":{"@storybook/addon-a11y":{"version":"7.6.17"},"@storybook/addon-essentials":{"version":"7.6.17"},"@storybook/addon-links":{"version":"7.6.17"},"@storybook/addon-interactions":{"version":"7.6.17"},"@storybook/addon-toolbar":{"version":null}}}