Anvil/assets/AnvilLogo.stories-CR5w1hTU.js
André Jaenisch 902b3bf474
Updates
2024-07-05 09:29:52 +02:00

5 lines
1.6 KiB
JavaScript

import{a as _,b as h,n as i}from"./utils-AUSSiI9x.js";import{a as v,f as y,l as r,i as k,d as w}from"./lifecycle-DZHCWxcx.js";import{S as A,i as L}from"./index-CRVYNev9.js";const S=""+new URL("anvil-efIa5oS8.png",import.meta.url).href;function x(a){let s,o;return{c(){s=v("img"),this.h()},l(e){s=y(e,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){h(s.src,o=S)||r(s,"src",o),r(s,"alt","Anvil logo"),r(s,"class",a[0])},m(e,t){k(e,s,t)},p(e,[t]){t&1&&r(s,"class",e[0])},i,o:i,d(e){e&&w(s)}}}function b(a,s,o){let{class:e=""}=s;return a.$$set=t=>{"class"in t&&o(0,e=t.class)},[e]}class g extends A{constructor(s){super(),L(this,s,b,x,_,{class:0})}}g.__docgen={version:3,name:"AnvilLogo.svelte",data:[{visibility:"public",description:"Allow defining classList from outside.",keywords:[],name:"class",kind:"const",static:!1,readonly:!0,type:{kind:"type",text:"string",type:"string"},localName:"klass",defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const P={title:"Atoms/AnvilLogo",component:g,tags:["autodocs"]},l={},n={args:{class:"w-full"}};var c,m,u;l.parameters={...l.parameters,docs:{...(c=l.parameters)==null?void 0:c.docs,source:{originalSource:"{}",...(u=(m=l.parameters)==null?void 0:m.docs)==null?void 0:u.source}}};var d,p,f;n.parameters={...n.parameters,docs:{...(d=n.parameters)==null?void 0:d.docs,source:{originalSource:`{
args: {
'class': 'w-full'
}
}`,...(f=(p=n.parameters)==null?void 0:p.docs)==null?void 0:f.source}}};const W=["Plain","WithClass"];export{l as Plain,n as WithClass,W as __namedExportsOrder,P as default};