This commit is contained in:
André Jaenisch 2024-02-11 18:35:51 +01:00
parent 8a1b1f1289
commit 7c2d288460
No known key found for this signature in database
GPG key ID: 5A668E771F1ED854
16 changed files with 18 additions and 18 deletions

View file

@ -30,7 +30,7 @@ import{n as re,j as On,k as Yn,l as Qn,o as Xn,p as Zn,r as Ee,t as R,a as B,s a
0.000 0.000 0.000 1.000 0.000`),d(t,"id","Summer84"),d(t,"filterUnits","objectBoundingBox"),d(t,"primitiveUnits","userSpaceOnUse"),d(t,"color-interpolation-filters","sRGB"),d(e,"id","svg-filter-summer84"),d(e,"class","filter absolute -left-full w-0 h-0")},m(a,n){M(a,e,n),N(e,t),N(t,l)},p:re,i:re,o:re,d(a){a&&V(e)}}}class Dc extends ve{constructor(e){super(),_e(this,e,null,Pc,ke,{})}}Dc.__docgen={version:3,name:"Summer84.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Oc(i){let e,t,l;return{c(){e=be("svg"),t=be("filter"),l=be("feColorMatrix"),this.h()},l(a){e=me(a,"svg",{id:!0,class:!0});var n=L(e);t=me(n,"filter",{id:!0,filterUnits:!0,primitiveUnits:!0,"color-interpolation-filters":!0});var s=L(t);l=me(s,"feColorMatrix",{type:!0,values:!0}),L(l).forEach(V),s.forEach(V),n.forEach(V),this.h()},h(){d(l,"type","matrix"),d(l,"values",`1.70 -0.20 0.00 0.00 0.00
0.10 0.800 0.30 0.00 0.00
0.20 0.300 0.50 0.00 0.00
0.00 0.00 0.00 1.00 0.00`),d(t,"id","XPro"),d(t,"filterUnits","objectBoundingBox"),d(t,"primitiveUnits","userSpaceOnUse"),d(t,"color-interpolation-filters","sRGB"),d(e,"id","svg-filter-xpro"),d(e,"class","filter absolute -left-full w-0 h-0")},m(a,n){M(a,e,n),N(e,t),N(t,l)},p:re,i:re,o:re,d(a){a&&V(e)}}}class Ac extends ve{constructor(e){super(),_e(this,e,null,Oc,ke,{})}}Ac.__docgen={version:3,name:"XPro.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Rc(i){let e,t;return e=new Zt({props:{src:i[0],alt:i[1],width:"w-32",rounded:"rounded-full",initials:i[1]}}),{c(){et(e.$$.fragment)},l(l){ct(e.$$.fragment,l)},m(l,a){tt(e,l,a),t=!0},p(l,[a]){const n={};a&1&&(n.src=l[0]),a&2&&(n.alt=l[1]),a&2&&(n.initials=l[1]),e.$set(n)},i(l){t||(B(e.$$.fragment,l),t=!0)},o(l){R(e.$$.fragment,l),t=!1},d(l){it(e,l)}}}function Mc(i,e,t){let{avatar:l=""}=e,{displayName:a="Max Mustermann"}=e;return i.$$set=n=>{"avatar"in n&&t(0,l=n.avatar),"displayName"in n&&t(1,a=n.displayName)},[l,a]}class Fc extends ve{constructor(e){super(),_e(this,e,Mc,Rc,ke,{avatar:0,displayName:1})}}Zt.__docgen={version:3,name:"Avatar.svelte",data:[{keywords:[],visibility:"public",description:"URL to Avatar image.",name:"avatar",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{keywords:[],visibility:"public",description:"Name to derive initials from if no avatar is given.",name:"displayName",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"Max Mustermann"}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const Hc={title:"Atoms/Avatar",component:Fc,tags:["autodocs"],argTypes:{avatar:{control:"text",description:"An URL to the image"},displayName:{control:"text",description:"If no image is provided, derive initials"}}},Ct={args:{avatar:"",displayName:"Jane Doe"}},Rt={args:{...Ct.args,avatar:"https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280"}};var Ln,Nn,Bn;Ct.parameters={...Ct.parameters,docs:{...(Ln=Ct.parameters)==null?void 0:Ln.docs,source:{originalSource:`{
0.00 0.00 0.00 1.00 0.00`),d(t,"id","XPro"),d(t,"filterUnits","objectBoundingBox"),d(t,"primitiveUnits","userSpaceOnUse"),d(t,"color-interpolation-filters","sRGB"),d(e,"id","svg-filter-xpro"),d(e,"class","filter absolute -left-full w-0 h-0")},m(a,n){M(a,e,n),N(e,t),N(t,l)},p:re,i:re,o:re,d(a){a&&V(e)}}}class Ac extends ve{constructor(e){super(),_e(this,e,null,Oc,ke,{})}}Ac.__docgen={version:3,name:"XPro.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};function Rc(i){let e,t;return e=new Zt({props:{src:i[0],alt:i[1],width:"w-32",rounded:"rounded-full",initials:i[1]}}),{c(){et(e.$$.fragment)},l(l){ct(e.$$.fragment,l)},m(l,a){tt(e,l,a),t=!0},p(l,[a]){const n={};a&1&&(n.src=l[0]),a&2&&(n.alt=l[1]),a&2&&(n.initials=l[1]),e.$set(n)},i(l){t||(B(e.$$.fragment,l),t=!0)},o(l){R(e.$$.fragment,l),t=!1},d(l){it(e,l)}}}function Mc(i,e,t){let{avatar:l=""}=e,{displayName:a=""}=e;return i.$$set=n=>{"avatar"in n&&t(0,l=n.avatar),"displayName"in n&&t(1,a=n.displayName)},[l,a]}class Fc extends ve{constructor(e){super(),_e(this,e,Mc,Rc,ke,{avatar:0,displayName:1})}}Zt.__docgen={version:3,name:"Avatar.svelte",data:[{keywords:[],visibility:"public",description:"URL to Avatar image.",name:"avatar",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{keywords:[],visibility:"public",description:"Name to derive initials from if no avatar is given.",name:"displayName",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const Hc={title:"Atoms/Avatar",component:Fc,tags:["autodocs"],argTypes:{avatar:{control:"text",description:"An URL to the image"},displayName:{control:"text",description:"If no image is provided, derive initials"}}},Ct={args:{avatar:"",displayName:"Jane Doe"}},Rt={args:{...Ct.args,avatar:"https://codeberg.org/avatars/a9defc12e1826458289a39e3a66792f0adef29a73fb79b71c66560b7d80aac8f?size=280"}};var Ln,Nn,Bn;Ct.parameters={...Ct.parameters,docs:{...(Ln=Ct.parameters)==null?void 0:Ln.docs,source:{originalSource:`{
args: {
avatar: '',
displayName: 'Jane Doe'

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
import{d as p,M as b}from"./index-43eea83a.js";import{u as c}from"./index-3211bf66.js";import"./iframe-816972a2.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";var m={exports:{}},a={};/**
import{d as p,M as b}from"./index-6c6ef8a7.js";import{u as c}from"./index-e1b5ba6e.js";import"./iframe-e5d9f59b.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";var m={exports:{}},a={};/**
* @license React
* react-jsx-runtime.production.min.js
*

View file

@ -1 +1 @@
import{_ as d}from"./iframe-816972a2.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-43eea83a.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-ce27fba3.js"),["./index-ce27fba3.js","./index-3211bf66.js","./index-43eea83a.js","./iframe-816972a2.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};
import{_ as d}from"./iframe-e5d9f59b.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-6c6ef8a7.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-8fd31f72.js"),["./index-8fd31f72.js","./index-e1b5ba6e.js","./index-6c6ef8a7.js","./iframe-e5d9f59b.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};

View file

@ -1 +1 @@
import{W as T,W as e,a as h}from"./index-43eea83a.js";import"./iframe-816972a2.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-6c6ef8a7.js";import"./iframe-e5d9f59b.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

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
import{M as n,a as M,u as D,w as X}from"./index-3211bf66.js";import"./index-43eea83a.js";import"./iframe-816972a2.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-e1b5ba6e.js";import"./index-6c6ef8a7.js";import"./iframe-e5d9f59b.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};

View file

@ -1 +1 @@
import{R as o}from"./index-43eea83a.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-6c6ef8a7.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 +0,0 @@
import{_ as e}from"./iframe-816972a2.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-064bdddb.js"),["./DocsRenderer-NNNQARDV-064bdddb.js","./iframe-816972a2.js","./index-43eea83a.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-e5d9f59b.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-38b05964.js"),["./DocsRenderer-NNNQARDV-38b05964.js","./iframe-e5d9f59b.js","./index-6c6ef8a7.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 N}from"./iframe-816972a2.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-e5d9f59b.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-43eea83a.js";import"./iframe-816972a2.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-6c6ef8a7.js";import"./iframe-e5d9f59b.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

@ -359,7 +359,7 @@
}
</script>
<script type="module" crossorigin src="./assets/iframe-816972a2.js"></script>
<script type="module" crossorigin src="./assets/iframe-e5d9f59b.js"></script>
</head>
<body>

View file

@ -1 +1 @@
{"generatedAt":1707509643200,"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"},"@storybook/addon-a11y":{"version":"7.6.13"}}}
{"generatedAt":1707672924050,"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"},"@storybook/addon-a11y":{"version":"7.6.13"}}}