Skip to content

Commit 2f0965f

Browse files
authored
Merge pull request #68 from codeacme17/feat
feat: realize tree-shaking
2 parents ab01faf + a5de7d8 commit 2f0965f

181 files changed

Lines changed: 8868 additions & 2276 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/.island/dist/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727
</script>
2828

29-
<link rel="stylesheet" href="/assets/style.5052cee7.css">
29+
<link rel="stylesheet" href="/assets/style.896bf5fd.css">
3030

3131
</head>
3232
<body>

docs/.island/dist/assets/Analyser.9e774fcc.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/.island/dist/assets/Button.0d3d03e2.js renamed to docs/.island/dist/assets/Button.663b3431.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import{U as n,p as s,x as d,C as i,T as l,S as r,A as u,c as e}from"./index.a54ae35d.js";import{jsx as t,jsxs as c,Fragment as p}from"react/jsx-runtime";const h=()=>t(n,{code:"<Button> Button </Button>",scope:{Button:s}}),b=()=>t(n,{code:"<Button toggled> Toggled </Button>",scope:{Button:s}}),m=()=>t(n,{code:"<Button disabled> Disabled </Button>",scope:{Button:s}}),f=()=>t(n,{code:`<div className="flex gap-4 items-center">
1+
import{U as n,A as u,a as e}from"./index.978ae265.js";import{jsx as t,jsxs as i,Fragment as l}from"react/jsx-runtime";import{B as s}from"./index.2ccb91f8.js";import{S as d,a as r,T as c}from"./Triangle.2f45397e.js";function p(o){return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 256 256",...o,children:t("path",{fill:"currentColor",d:"m238.29 138.22l-104 64A12 12 0 0 1 116 192V85.47l-85.71 52.75a12 12 0 0 1-12.58-20.44l104-64A12 12 0 0 1 140 64v106.53l85.71-52.75a12 12 0 1 1 12.58 20.44Z"})})}const m=()=>t(n,{code:"<Button> Button </Button>",scope:{Button:s}}),f=()=>t(n,{code:"<Button toggled> Toggled </Button>",scope:{Button:s}}),v=()=>t(n,{code:"<Button disabled> Disabled </Button>",scope:{Button:s}}),y=()=>t(n,{code:`<div className="flex gap-4 items-center">
22
<Button size="sm">
33
Small
44
</Button>
@@ -8,7 +8,7 @@ import{U as n,p as s,x as d,C as i,T as l,S as r,A as u,c as e}from"./index.a54a
88
<Button size="lg">
99
Large
1010
</Button>
11-
</div>`,scope:{Button:s}}),y=()=>t(n,{code:`<div className="flex gap-4 items-center">
11+
</div>`,scope:{Button:s}}),w=()=>t(n,{code:`<div className="flex gap-4 items-center">
1212
<Button radius="none">
1313
None
1414
</Button>
@@ -24,7 +24,7 @@ import{U as n,p as s,x as d,C as i,T as l,S as r,A as u,c as e}from"./index.a54a
2424
<Button radius="full">
2525
Full
2626
</Button>
27-
</div>`,scope:{Button:s}}),v=()=>t(n,{code:`<Button.Group>
27+
</div>`,scope:{Button:s}}),S=()=>t(n,{code:`<Button.Group>
2828
<Button value={1} className="data-[toggled=true]:bg-red-500">
2929
Sine
3030
</Button>
@@ -37,4 +37,4 @@ import{U as n,p as s,x as d,C as i,T as l,S as r,A as u,c as e}from"./index.a54a
3737
<Button value={4}>
3838
Triangle
3939
</Button>
40-
</Button.Group>`,scope:{Button:s,SineIcon:d,SawtoothIcon:i,SquareIcon:l,TriangleIcon:r}}),T=()=>t(u,{data:[{attribute:"value",description:c(p,{children:["The bound value (only effective in ",t(e,{children:"`Group`"}),")."]}),type:t(e,{children:"any"}),default:"-"},{attribute:"disabled",description:"Indicates whether the button is disabled",type:t(e,{children:"boolean"}),default:t(e,{children:"false"})},{attribute:"size",description:"Button size",type:t(e,{children:"'sm' | 'md' | 'lg'"}),default:t(e,{children:"'md'"})},{attribute:"radius",description:"Button border radius",type:t(e,{children:"'none' | 'sm' | 'md' | 'lg' | 'full'"}),default:t(e,{children:"'md'"})},{attribute:"toggled",description:"Indicates whether the button is toggled",type:t(e,{children:"boolean"}),default:t(e,{children:"false"})},{attribute:"onToggleChange",description:"Callback function when the toggle state changes",type:t(e,{children:"(toggled: boolean) => void"}),default:"-"}]}),S=()=>t(u,{data:[{attribute:"value",description:"The value associated with the button group. If the value is an array, the button group will be treated as a multi-select group. Otherwise, it will be treated as a single-select group.",type:t(e,{children:"any"}),default:"-"},{attribute:"disabled",description:"Indicates whether buttons in the button group are disabled",type:t(e,{children:"boolean"}),default:t(e,{children:"false"})},{attribute:"size",description:"Button size",type:t(e,{children:"'sm' | 'md' | 'lg'"}),default:t(e,{children:"'md'"})},{attribute:"radius",description:"Button border radius",type:t(e,{children:"'none' | 'sm' | 'md' | 'lg' | 'full'"}),default:t(e,{children:"'md'"})},{attribute:"classNames",description:"Allows setting custom class names for buttons and toggle states",type:t(e,{children:"{ button?: string }"}),default:"-"},{attribute:"styles",description:"Allows setting custom styles for buttons and toggle states",type:t(e,{children:"{ button?: React.CSSProperties }"}),default:"-"},{attribute:"onChange",description:"Callback function when options change",type:t(e,{children:"(values: any) => void"}),default:"-"}]});export{T as B,h as D,v as G,y as R,f as S,b as T,m as a,S as b};
40+
</Button.Group>`,scope:{Button:s,SineIcon:d,SawtoothIcon:p,SquareIcon:r,TriangleIcon:c}}),T=()=>t(u,{data:[{attribute:"value",description:i(l,{children:["The bound value (only effective in ",t(e,{children:"`Group`"}),")."]}),type:t(e,{children:"any"}),default:"-"},{attribute:"disabled",description:"Indicates whether the button is disabled",type:t(e,{children:"boolean"}),default:t(e,{children:"false"})},{attribute:"size",description:"Button size",type:t(e,{children:"'sm' | 'md' | 'lg'"}),default:t(e,{children:"'md'"})},{attribute:"radius",description:"Button border radius",type:t(e,{children:"'none' | 'sm' | 'md' | 'lg' | 'full'"}),default:t(e,{children:"'md'"})},{attribute:"toggled",description:"Indicates whether the button is toggled",type:t(e,{children:"boolean"}),default:t(e,{children:"false"})},{attribute:"onToggleChange",description:"Callback function when the toggle state changes",type:t(e,{children:"(toggled: boolean) => void"}),default:"-"}]}),I=()=>t(u,{data:[{attribute:"value",description:"The value associated with the button group. If the value is an array, the button group will be treated as a multi-select group. Otherwise, it will be treated as a single-select group.",type:t(e,{children:"any"}),default:"-"},{attribute:"disabled",description:"Indicates whether buttons in the button group are disabled",type:t(e,{children:"boolean"}),default:t(e,{children:"false"})},{attribute:"size",description:"Button size",type:t(e,{children:"'sm' | 'md' | 'lg'"}),default:t(e,{children:"'md'"})},{attribute:"radius",description:"Button border radius",type:t(e,{children:"'none' | 'sm' | 'md' | 'lg' | 'full'"}),default:t(e,{children:"'md'"})},{attribute:"classNames",description:"Allows setting custom class names for buttons and toggle states",type:t(e,{children:"{ button?: string }"}),default:"-"},{attribute:"styles",description:"Allows setting custom styles for buttons and toggle states",type:t(e,{children:"{ button?: React.CSSProperties }"}),default:"-"},{attribute:"onChange",description:"Callback function when options change",type:t(e,{children:"(values: any) => void"}),default:"-"}]});export{T as B,m as D,S as G,w as R,y as S,f as T,v as a,I as b};

docs/.island/dist/assets/Card.b7d19bbb.js

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/.island/dist/assets/Card.c01a7fc5.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)