-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ aae74c2 🚀
- Loading branch information
1 parent
fc1aa4c
commit b0b042b
Showing
124 changed files
with
5,797 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import{_ as m}from"./Stub-25fb95ef.js";import{j as e}from"./jsx-runtime-9a0c1db2.js";import{M as p,P as c}from"./index-fa79e6c0.js";import{u as d}from"./index-2292a21c.js";import"./vue.esm-bundler-c04f16a9.js";import"./utlity-a0fec18e.js";import"./Button-7b8fb4f2.js";import"./Headline-5921ba25.js";/* empty css */import"./iframe-d25fc4be.js";import"../sb-preview/runtime.js";import"./index-f4dda215.js";import"./index-11d98b33.js";import"./index-356e4a49.js";function r(t){return e.jsxs(e.Fragment,{children:[e.jsx(p,{isTemplate:!0}),` | ||
`,e.jsx(c,{})]})}function u(t={}){const{wrapper:n}=Object.assign({},d(),t.components);return n?e.jsx(n,Object.assign({},t,{children:e.jsx(r,t)})):r()}const P={title:"Not implemented/Accordion",parameters:{docs:{source:{code:null},page:u},options:{showPanel:!1}}},l=t=>({components:{UidsStub:m},setup(){return{args:t}},template:` | ||
<uids-stub | ||
path="accordion.html" | ||
title="Accordion" | ||
> | ||
</uids-stub> | ||
`}),o=l.bind({});var s,i,a;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:`args => ({ | ||
// Components used in your story \`template\` are defined in the \`components\` object | ||
components: { | ||
UidsStub | ||
}, | ||
// The story's \`args\` need to be mapped into the template through the \`setup()\` method | ||
setup() { | ||
return { | ||
args | ||
}; | ||
}, | ||
// And then the \`args\` are bound to your component with \`v-bind="args"\` | ||
template: \` | ||
<uids-stub | ||
path="accordion.html" | ||
title="Accordion" | ||
> | ||
</uids-stub> | ||
\` | ||
})`,...(a=(i=o.parameters)==null?void 0:i.docs)==null?void 0:a.source}}};const S=["Accordion"];export{o as Accordion,S as __namedExportsOrder,P as default}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
import{d as T,j as m,o as d,b as p,f as l,n as u,s as g,m as U,g as E}from"./vue.esm-bundler-c04f16a9.js";import{c as y}from"./utlity-a0fec18e.js";const W={key:0,class:"alert__icon"},$={class:"fa-stack fa-1x"},O=l("span",{role:"presentation",class:"fas fa-circle fa-stack-2x"},null,-1),j={key:1,"data-dismiss":"alert"},z=l("i",{class:"fas fa-times"},null,-1),F=[z],B=T({__name:"Alert",props:{type:{type:String,default:"info",validator:t=>["info","success","warning","danger"].indexOf(t)!==-1},centered:{type:Boolean},iconVisible:{type:Boolean},dismissible:{type:Boolean},verticallyCentered:{type:Boolean}},setup(t){const e=t,I=m(()=>{switch(e.type){case"success":return"check";case"warning":return"exclamation-triangle";case"danger":return"exclamation";default:return"info"}}),N=m(()=>{let n=["alert"];return e.type&&n.push(`alert--${y(e.type)}`),e.verticallyCentered&&n.push("alert--vertically-centered"),e.iconVisible&&n.push("alert--icon"),["centered","dismissible"].forEach(c=>{e[c]===!0&&n.push(`alert--${y(c)}`)}),n});return(n,c)=>(d(),p("div",{class:u(N.value)},[e.iconVisible?(d(),p("div",W,[l("span",$,[O,l("span",{role:"presentation",class:u("fas fa-stack-1x fa-inverse fa-"+I.value)},null,2)])])):g("",!0),U(n.$slots,"default",{class:"alert__content"},()=>[E("Body")]),e.dismissible?(d(),p("button",j,F)):g("",!0)],2))}}),w=B;B.__docgenInfo={exportName:"default",displayName:"Alert",description:"",tags:{},props:[{name:"type",description:"Type of alert.",type:{name:"string"},defaultValue:{func:!1,value:"'info'"}},{name:"centered",description:"Content alignment.",type:{name:"boolean"}},{name:"iconVisible",description:"Icon visible.",type:{name:"boolean"}},{name:"dismissible",description:"Alert is removable.",type:{name:"boolean"}},{name:"verticallyCentered",description:"Vertically center alert.",type:{name:"boolean"}}],slots:[{name:"default",scoped:!0,bindings:[{name:"class",title:"binding"}]}],sourceFiles:["/home/runner/work/uids/uids/src/components/alert/Alert.vue"]};const q={title:"Components/Alert",parameters:{docs:{source:{code:null}}},component:w,argTypes:{type:{name:"Type",options:["info","success","warning","danger"],control:{type:"select",labels:{info:"Info",success:"Success",warning:"Warning",danger:"Danger"}},table:{category:"Display options"}},centered:{name:"Centered",table:{category:"Display options"}},iconVisible:{name:"Display Icon",table:{category:"Display options"}},dismissible:{name:"Dismissible",table:{category:"Properties"}},verticallyCentered:{name:"Center Alert Vertically",table:{category:"Display options"}},default:{name:"Content",control:{type:"text"},table:{category:"Content"}}}},o=t=>({components:{UidsAlert:w},setup(){return{args:t}},template:` | ||
<uids-alert | ||
:type="args.type" | ||
:centered="args.centered" | ||
:iconVisible="args.iconVisible" | ||
:dismissible="args.dismissible" | ||
:verticallyCentered="args.verticallyCentered" | ||
> | ||
<div v-html="args.default"></div> | ||
</uids-alert>`}),s=o.bind({});s.args={type:"info",centered:!1,iconVisible:!0,dismissible:!1,verticallyCentered:!1,default:` | ||
<h2 class="headline headline--serif"> | ||
Alert title | ||
</h2> | ||
<p>Lorem ipsum sit dolor amet.</p> | ||
`};const a=o.bind({});a.args={...s.args,type:"success"};const r=o.bind({});r.args={...s.args,type:"warning"};const i=o.bind({});i.args={...s.args,type:"danger"};var b,f,v;s.parameters={...s.parameters,docs:{...(b=s.parameters)==null?void 0:b.docs,source:{originalSource:`args => ({ | ||
components: { | ||
UidsAlert | ||
}, | ||
setup() { | ||
return { | ||
args | ||
}; | ||
}, | ||
template: \` | ||
<uids-alert | ||
:type="args.type" | ||
:centered="args.centered" | ||
:iconVisible="args.iconVisible" | ||
:dismissible="args.dismissible" | ||
:verticallyCentered="args.verticallyCentered" | ||
> | ||
<div v-html="args.default"></div> | ||
</uids-alert>\` | ||
})`,...(v=(f=s.parameters)==null?void 0:f.docs)==null?void 0:v.source}}};var _,h,C;a.parameters={...a.parameters,docs:{...(_=a.parameters)==null?void 0:_.docs,source:{originalSource:`args => ({ | ||
components: { | ||
UidsAlert | ||
}, | ||
setup() { | ||
return { | ||
args | ||
}; | ||
}, | ||
template: \` | ||
<uids-alert | ||
:type="args.type" | ||
:centered="args.centered" | ||
:iconVisible="args.iconVisible" | ||
:dismissible="args.dismissible" | ||
:verticallyCentered="args.verticallyCentered" | ||
> | ||
<div v-html="args.default"></div> | ||
</uids-alert>\` | ||
})`,...(C=(h=a.parameters)==null?void 0:h.docs)==null?void 0:C.source}}};var V,A,x;r.parameters={...r.parameters,docs:{...(V=r.parameters)==null?void 0:V.docs,source:{originalSource:`args => ({ | ||
components: { | ||
UidsAlert | ||
}, | ||
setup() { | ||
return { | ||
args | ||
}; | ||
}, | ||
template: \` | ||
<uids-alert | ||
:type="args.type" | ||
:centered="args.centered" | ||
:iconVisible="args.iconVisible" | ||
:dismissible="args.dismissible" | ||
:verticallyCentered="args.verticallyCentered" | ||
> | ||
<div v-html="args.default"></div> | ||
</uids-alert>\` | ||
})`,...(x=(A=r.parameters)==null?void 0:A.docs)==null?void 0:x.source}}};var k,D,S;i.parameters={...i.parameters,docs:{...(k=i.parameters)==null?void 0:k.docs,source:{originalSource:`args => ({ | ||
components: { | ||
UidsAlert | ||
}, | ||
setup() { | ||
return { | ||
args | ||
}; | ||
}, | ||
template: \` | ||
<uids-alert | ||
:type="args.type" | ||
:centered="args.centered" | ||
:iconVisible="args.iconVisible" | ||
:dismissible="args.dismissible" | ||
:verticallyCentered="args.verticallyCentered" | ||
> | ||
<div v-html="args.default"></div> | ||
</uids-alert>\` | ||
})`,...(S=(D=i.parameters)==null?void 0:D.docs)==null?void 0:S.source}}};const G=["Info","Success","Warning","Danger"];export{i as Danger,s as Info,a as Success,r as Warning,G as __namedExportsOrder,q as default}; |
27 changes: 27 additions & 0 deletions
27
branches/storybook_7/assets/Background.stories-bb189f11.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import{_ as i}from"./Stub-25fb95ef.js";import{j as e}from"./jsx-runtime-9a0c1db2.js";import{M as p,P as u}from"./index-fa79e6c0.js";import{u as c}from"./index-2292a21c.js";import"./vue.esm-bundler-c04f16a9.js";import"./utlity-a0fec18e.js";import"./Button-7b8fb4f2.js";import"./Headline-5921ba25.js";/* empty css */import"./iframe-d25fc4be.js";import"../sb-preview/runtime.js";import"./index-f4dda215.js";import"./index-11d98b33.js";import"./index-356e4a49.js";function r(t){return e.jsxs(e.Fragment,{children:[e.jsx(p,{isTemplate:!0}),` | ||
`,e.jsx(u,{})]})}function d(t={}){const{wrapper:o}=Object.assign({},c(),t.components);return o?e.jsx(o,Object.assign({},t,{children:e.jsx(r,t)})):r()}const O={title:"Not implemented/Background",parameters:{docs:{source:{code:null},page:d},options:{showPanel:!1}}},l=t=>({components:{UidsStub:i},setup(){return{args:t}},template:` | ||
<uids-stub | ||
path="background.html" | ||
title="Background" | ||
> | ||
</uids-stub> | ||
`}),n=l.bind({});var s,a,m;n.parameters={...n.parameters,docs:{...(s=n.parameters)==null?void 0:s.docs,source:{originalSource:`args => ({ | ||
// Components used in your story \`template\` are defined in the \`components\` object | ||
components: { | ||
UidsStub | ||
}, | ||
// The story's \`args\` need to be mapped into the template through the \`setup()\` method | ||
setup() { | ||
return { | ||
args | ||
}; | ||
}, | ||
// And then the \`args\` are bound to your component with \`v-bind="args"\` | ||
template: \` | ||
<uids-stub | ||
path="background.html" | ||
title="Background" | ||
> | ||
</uids-stub> | ||
\` | ||
})`,...(m=(a=n.parameters)==null?void 0:a.docs)==null?void 0:m.source}}};const P=["Background"];export{n as Background,P as __namedExportsOrder,O as default}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import{_ as i}from"./Stub-25fb95ef.js";import{j as e}from"./jsx-runtime-9a0c1db2.js";import{M as p,P as d}from"./index-fa79e6c0.js";import{u}from"./index-2292a21c.js";import"./vue.esm-bundler-c04f16a9.js";import"./utlity-a0fec18e.js";import"./Button-7b8fb4f2.js";import"./Headline-5921ba25.js";/* empty css */import"./iframe-d25fc4be.js";import"../sb-preview/runtime.js";import"./index-f4dda215.js";import"./index-11d98b33.js";import"./index-356e4a49.js";function o(t){return e.jsxs(e.Fragment,{children:[e.jsx(p,{isTemplate:!0}),` | ||
`,e.jsx(d,{})]})}function c(t={}){const{wrapper:s}=Object.assign({},u(),t.components);return s?e.jsx(s,Object.assign({},t,{children:e.jsx(o,t)})):o()}const P={title:"Not implemented/Badge",parameters:{docs:{source:{code:null},page:c},options:{showPanel:!1}}},l=t=>({components:{UidsStub:i},setup(){return{args:t}},template:` | ||
<uids-stub | ||
path="badge.html" | ||
title="Badge" | ||
> | ||
</uids-stub> | ||
`}),n=l.bind({});var r,a,m;n.parameters={...n.parameters,docs:{...(r=n.parameters)==null?void 0:r.docs,source:{originalSource:`args => ({ | ||
// Components used in your story \`template\` are defined in the \`components\` object | ||
components: { | ||
UidsStub | ||
}, | ||
// The story's \`args\` need to be mapped into the template through the \`setup()\` method | ||
setup() { | ||
return { | ||
args | ||
}; | ||
}, | ||
// And then the \`args\` are bound to your component with \`v-bind="args"\` | ||
template: \` | ||
<uids-stub | ||
path="badge.html" | ||
title="Badge" | ||
> | ||
</uids-stub> | ||
\` | ||
})`,...(m=(a=n.parameters)==null?void 0:a.docs)==null?void 0:m.source}}};const S=["Badge"];export{n as Badge,S as __namedExportsOrder,P as default}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
branches/storybook_7/assets/Blockquote.stories-cbce968f.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import{_ as i}from"./Stub-25fb95ef.js";import{j as e}from"./jsx-runtime-9a0c1db2.js";import{M as p,P as u}from"./index-fa79e6c0.js";import{u as c}from"./index-2292a21c.js";import"./vue.esm-bundler-c04f16a9.js";import"./utlity-a0fec18e.js";import"./Button-7b8fb4f2.js";import"./Headline-5921ba25.js";/* empty css */import"./iframe-d25fc4be.js";import"../sb-preview/runtime.js";import"./index-f4dda215.js";import"./index-11d98b33.js";import"./index-356e4a49.js";function s(t){return e.jsxs(e.Fragment,{children:[e.jsx(p,{isTemplate:!0}),` | ||
`,e.jsx(u,{})]})}function d(t={}){const{wrapper:n}=Object.assign({},c(),t.components);return n?e.jsx(n,Object.assign({},t,{children:e.jsx(s,t)})):s()}const D={title:"Not implemented/Blockquote",parameters:{docs:{source:{code:null},page:d},options:{showPanel:!1}}},l=t=>({components:{UidsStub:i},setup(){return{args:t}},template:` | ||
<uids-stub | ||
path="blockquote--default.html" | ||
title="Blockquote" | ||
> | ||
</uids-stub> | ||
`}),o=l.bind({});var r,a,m;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`args => ({ | ||
// Components used in your story \`template\` are defined in the \`components\` object | ||
components: { | ||
UidsStub | ||
}, | ||
// The story's \`args\` need to be mapped into the template through the \`setup()\` method | ||
setup() { | ||
return { | ||
args | ||
}; | ||
}, | ||
// And then the \`args\` are bound to your component with \`v-bind="args"\` | ||
template: \` | ||
<uids-stub | ||
path="blockquote--default.html" | ||
title="Blockquote" | ||
> | ||
</uids-stub> | ||
\` | ||
})`,...(m=(a=o.parameters)==null?void 0:a.docs)==null?void 0:m.source}}};const O=["Blockquote"];export{o as Blockquote,O as __namedExportsOrder,D as default}; |
Oops, something went wrong.