Skip to content

Commit

Permalink
feat: add gh-page
Browse files Browse the repository at this point in the history
  • Loading branch information
shanksgx committed Apr 27, 2024
1 parent c488782 commit 840c419
Show file tree
Hide file tree
Showing 105 changed files with 4,312 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"build": "tsc && vite build",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
"build-storybook": "storybook build",
"deploy": "gh-pages -d ./storybook-static",
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"@radix-ui/react-slot": "^1.0.2",
Expand Down Expand Up @@ -42,6 +44,7 @@
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.19",
"gh-pages": "^6.1.1",
"postcss": "^8.4.38",
"storybook": "^8.0.9",
"storybook-dark-mode": "^4.0.1",
Expand Down
101 changes: 101 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions storybook-static/assets/Button-8g0fNW-V.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions storybook-static/assets/Button-BfyGbg8N.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions storybook-static/assets/Button.stories-CHdkgIra.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import{f as b}from"./index-BASH1HpE.js";import{B as y}from"./Button-8g0fNW-V.js";import"./jsx-runtime-C5mRq8X_.js";import"./index-Dh25_VVa.js";const k={title:"Example/Button",component:y,parameters:{layout:"centered"},tags:["autodocs"],argTypes:{backgroundColor:{control:"color"}},args:{onClick:b()}},r={args:{primary:!0,label:"Button"}},a={args:{label:"Button"}},e={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 c,l,m;a.parameters={...a.parameters,docs:{...(c=a.parameters)==null?void 0:c.docs,source:{originalSource:`{
args: {
label: 'Button'
}
}`,...(m=(l=a.parameters)==null?void 0:l.docs)==null?void 0:m.source}}};var p,u,i;e.parameters={...e.parameters,docs:{...(p=e.parameters)==null?void 0:p.docs,source:{originalSource:`{
args: {
size: 'large',
label: 'Button'
}
}`,...(i=(u=e.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 C=["Primary","Secondary","Large","Small"];export{e as Large,r as Primary,a as Secondary,o as Small,C as __namedExportsOrder,k as default};
1 change: 1 addition & 0 deletions storybook-static/assets/Color-RQJUDNI5-CtR0UsxR.js

Large diffs are not rendered by default.

Loading

0 comments on commit 840c419

Please sign in to comment.