From 48dcdc47f8d4c59413a8e29a0b8561856932ecc1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 13:52:42 -0500 Subject: [PATCH] chore(main): release 5.0.1 (#439) * chore(main): release 5.0.1 * docs: update storybook for latest release --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: benjitrosch --- CHANGELOG.md | 12 ++ ...-1bc54e76.js => Alert.stories-bf3adeef.js} | 2 +- ...bdeecf.js => Artboard.stories-5d677b6e.js} | 2 +- ...-91275a6d.js => Badge.stories-8cf94b78.js} | 2 +- ...{Button-e9ac0f78.js => Button-0267a47f.js} | 2 +- ...2ecc1a31.js => Button.stories-43a0481b.js} | 2 +- ...s-7d9007ed.js => Card.stories-5b682d9f.js} | 2 +- ...01da97.js => Carousel.stories-85e224b2.js} | 2 +- ...fc9214ad.js => Color-6VNJS4EI-72476e84.js} | 2 +- ...2.js => DocsRenderer-NNNQARDV-1147b609.js} | 2 +- ...3cceda62.js => Drawer.stories-169841bc.js} | 2 +- ...9b5a3e.js => Dropdown.stories-73de5173.js} | 2 +- ...js => DropdownDetails.stories-4774b894.js} | 2 +- ...s-e9f74b65.js => Hero.stories-95b258de.js} | 2 +- ...c90e3.js => Indicator.stories-a722f409.js} | 2 +- ...s-9383d512.js => Join.stories-6d5183fd.js} | 2 +- ...-ce305c3b.js => Modal.stories-d56d0980.js} | 2 +- ...a45.js => ModalLegacy.stories-ccac32c6.js} | 2 +- ...5c3fdc08.js => Navbar.stories-b57b9c6f.js} | 2 +- ...ae79.js => Pagination.stories-65a30694.js} | 2 +- docs/assets/Range.stories-530538db.js | 22 +++ docs/assets/Range.stories-9e4759d9.js | 22 --- docs/assets/Stats.stories-4ee4a697.js | 145 ------------------ docs/assets/Stats.stories-c51e6221.js | 129 ++++++++++++++++ ...-7f3bac29.js => Table.stories-6056d524.js} | 2 +- ...f3f07d.js => Timeline.stories-f47888c4.js} | 2 +- ...-8a8af9af.js => Toast.stories-7a65fe46.js} | 2 +- ...5d9ceb9.js => Tooltip.stories-deb48ac1.js} | 2 +- ...elcome-230771bb.js => Welcome-1d0b2fc0.js} | 2 +- ...f6.js => WithTooltip-V3YHNWJZ-b738d207.js} | 2 +- ...aaad.js => formatter-SWP5E3XI-eae48fea.js} | 2 +- ...{iframe-19c7c3ad.js => iframe-653d232b.js} | 2 +- .../{index-e97e44e7.js => index-202b124b.js} | 2 +- .../{index-21c4db47.js => index-8e1aaa9d.js} | 8 +- .../{index-abb70d26.js => index-b9536e2d.js} | 2 +- .../{index-1e3c83a2.js => index-c01ba1f2.js} | 2 +- docs/assets/preview-2faddd65.js | 1 + ...review-42bbc794.js => preview-4cd81478.js} | 2 +- docs/assets/preview-e118a341.js | 1 - ...=> syntaxhighlighter-V7JZZA35-526e8144.js} | 2 +- docs/iframe.html | 2 +- docs/project.json | 2 +- package-lock.json | 4 +- package.json | 2 +- 44 files changed, 205 insertions(+), 209 deletions(-) rename docs/assets/{Alert.stories-1bc54e76.js => Alert.stories-bf3adeef.js} (99%) rename docs/assets/{Artboard.stories-82bdeecf.js => Artboard.stories-5d677b6e.js} (96%) rename docs/assets/{Badge.stories-91275a6d.js => Badge.stories-8cf94b78.js} (99%) rename docs/assets/{Button-e9ac0f78.js => Button-0267a47f.js} (96%) rename docs/assets/{Button.stories-2ecc1a31.js => Button.stories-43a0481b.js} (99%) rename docs/assets/{Card.stories-7d9007ed.js => Card.stories-5b682d9f.js} (98%) rename docs/assets/{Carousel.stories-4b01da97.js => Carousel.stories-85e224b2.js} (98%) rename docs/assets/{Color-6VNJS4EI-fc9214ad.js => Color-6VNJS4EI-72476e84.js} (99%) rename docs/assets/{DocsRenderer-NNNQARDV-d9907032.js => DocsRenderer-NNNQARDV-1147b609.js} (89%) rename docs/assets/{Drawer.stories-3cceda62.js => Drawer.stories-169841bc.js} (98%) rename docs/assets/{Dropdown.stories-bf9b5a3e.js => Dropdown.stories-73de5173.js} (96%) rename docs/assets/{DropdownDetails.stories-cfa84896.js => DropdownDetails.stories-4774b894.js} (88%) rename docs/assets/{Hero.stories-e9f74b65.js => Hero.stories-95b258de.js} (99%) rename docs/assets/{Indicator.stories-f48c90e3.js => Indicator.stories-a722f409.js} (99%) rename docs/assets/{Join.stories-9383d512.js => Join.stories-6d5183fd.js} (97%) rename docs/assets/{Modal.stories-ce305c3b.js => Modal.stories-d56d0980.js} (98%) rename docs/assets/{ModalLegacy.stories-c313fa45.js => ModalLegacy.stories-ccac32c6.js} (98%) rename docs/assets/{Navbar.stories-5c3fdc08.js => Navbar.stories-b57b9c6f.js} (98%) rename docs/assets/{Pagination.stories-55abae79.js => Pagination.stories-65a30694.js} (99%) create mode 100644 docs/assets/Range.stories-530538db.js delete mode 100644 docs/assets/Range.stories-9e4759d9.js delete mode 100644 docs/assets/Stats.stories-4ee4a697.js create mode 100644 docs/assets/Stats.stories-c51e6221.js rename docs/assets/{Table.stories-7f3bac29.js => Table.stories-6056d524.js} (99%) rename docs/assets/{Timeline.stories-cbf3f07d.js => Timeline.stories-f47888c4.js} (99%) rename docs/assets/{Toast.stories-8a8af9af.js => Toast.stories-7a65fe46.js} (96%) rename docs/assets/{Tooltip.stories-a5d9ceb9.js => Tooltip.stories-deb48ac1.js} (98%) rename docs/assets/{Welcome-230771bb.js => Welcome-1d0b2fc0.js} (96%) rename docs/assets/{WithTooltip-V3YHNWJZ-cc2adff6.js => WithTooltip-V3YHNWJZ-b738d207.js} (61%) rename docs/assets/{formatter-SWP5E3XI-ec71aaad.js => formatter-SWP5E3XI-eae48fea.js} (99%) rename docs/assets/{iframe-19c7c3ad.js => iframe-653d232b.js} (72%) rename docs/assets/{index-e97e44e7.js => index-202b124b.js} (96%) rename docs/assets/{index-21c4db47.js => index-8e1aaa9d.js} (99%) rename docs/assets/{index-abb70d26.js => index-b9536e2d.js} (66%) rename docs/assets/{index-1e3c83a2.js => index-c01ba1f2.js} (91%) create mode 100644 docs/assets/preview-2faddd65.js rename docs/assets/{preview-42bbc794.js => preview-4cd81478.js} (99%) delete mode 100644 docs/assets/preview-e118a341.js rename docs/assets/{syntaxhighlighter-V7JZZA35-554d6b8b.js => syntaxhighlighter-V7JZZA35-526e8144.js} (62%) diff --git a/CHANGELOG.md b/CHANGELOG.md index d82bba2b..81b8253e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [5.0.1](https://github.com/daisyui/react-daisyui/compare/v5.0.0...v5.0.1) (2024-01-01) + + +### Bug Fixes + +* **Range:** ticks fix ([#438](https://github.com/daisyui/react-daisyui/issues/438)) ([e6f46a3](https://github.com/daisyui/react-daisyui/commit/e6f46a3ce523962d272d8693aa5b97d33a586357)) + + +### Miscellaneous + +* **Stats:** changed Stat structure ([#341](https://github.com/daisyui/react-daisyui/issues/341)) ([dea06ba](https://github.com/daisyui/react-daisyui/commit/dea06bab3a868c295fcede7fa806bc028f499861)) + ## [5.0.0](https://github.com/daisyui/react-daisyui/compare/v4.1.2...v5.0.0) (2023-11-28) diff --git a/docs/assets/Alert.stories-1bc54e76.js b/docs/assets/Alert.stories-bf3adeef.js similarity index 99% rename from docs/assets/Alert.stories-1bc54e76.js rename to docs/assets/Alert.stories-bf3adeef.js index 1072644b..95bd5272 100644 --- a/docs/assets/Alert.stories-1bc54e76.js +++ b/docs/assets/Alert.stories-bf3adeef.js @@ -1,4 +1,4 @@ -import{j as r,a as h}from"./tw-merge-0a3648bd.js";import{A as s}from"./index-fa7a260c.js";import{B as d}from"./Button-e9ac0f78.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const F={title:"Feedback/Alert",component:s,argTypes:{icon:{control:!1}}},n=e=>r(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"stroke-info shrink-0 w-6 h-6",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),children:r("span",{children:"12 unread messages. Tap to see."})});n.args={};const o=e=>r(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"stroke-current shrink-0 w-6 h-6",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),children:r("span",{children:"New software update available."})});o.args={status:"info"};const a=e=>r(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",className:"stroke-current shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})}),children:r("span",{children:"Your purchase has been confirmed!"})});a.args={status:"success"};const t=e=>r(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",className:"stroke-current shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})}),children:r("span",{children:"Warning: Invalid email address!"})});t.args={status:"warning"};const i=e=>r(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",className:"stroke-current shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"})}),children:r("span",{children:"Error! Task failed successfully."})});i.args={status:"error"};const c=e=>h(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"stroke-info shrink-0 w-6 h-6",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),children:[r("span",{children:"we use cookies for no reason."}),h("div",{className:"space-x-1",children:[r(d,{size:"sm",children:"Deny"}),r(d,{size:"sm",color:"primary",children:"Accept"})]})]});c.args={className:"shadow-lg"};const l=e=>h(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"stroke-info shrink-0 w-6 h-6",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),children:[h("div",{children:[r("h3",{className:"font-bold",children:"New message!"}),r("div",{className:"text-xs",children:"You have 1 unread message"})]}),r(d,{size:"sm",children:"See"})]});l.args={className:"shadow-lg"};var p,m,u;n.parameters={...n.parameters,docs:{...(p=n.parameters)==null?void 0:p.docs,source:{originalSource:`args => { +import{j as r,a as h}from"./tw-merge-0a3648bd.js";import{A as s}from"./index-fa7a260c.js";import{B as d}from"./Button-0267a47f.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const F={title:"Feedback/Alert",component:s,argTypes:{icon:{control:!1}}},n=e=>r(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"stroke-info shrink-0 w-6 h-6",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),children:r("span",{children:"12 unread messages. Tap to see."})});n.args={};const o=e=>r(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"stroke-current shrink-0 w-6 h-6",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),children:r("span",{children:"New software update available."})});o.args={status:"info"};const a=e=>r(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",className:"stroke-current shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})}),children:r("span",{children:"Your purchase has been confirmed!"})});a.args={status:"success"};const t=e=>r(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",className:"stroke-current shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})}),children:r("span",{children:"Warning: Invalid email address!"})});t.args={status:"warning"};const i=e=>r(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",className:"stroke-current shrink-0 h-6 w-6",fill:"none",viewBox:"0 0 24 24",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"})}),children:r("span",{children:"Error! Task failed successfully."})});i.args={status:"error"};const c=e=>h(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"stroke-info shrink-0 w-6 h-6",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),children:[r("span",{children:"we use cookies for no reason."}),h("div",{className:"space-x-1",children:[r(d,{size:"sm",children:"Deny"}),r(d,{size:"sm",color:"primary",children:"Accept"})]})]});c.args={className:"shadow-lg"};const l=e=>h(s,{...e,icon:r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"stroke-info shrink-0 w-6 h-6",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),children:[h("div",{children:[r("h3",{className:"font-bold",children:"New message!"}),r("div",{className:"text-xs",children:"You have 1 unread message"})]}),r(d,{size:"sm",children:"See"})]});l.args={className:"shadow-lg"};var p,m,u;n.parameters={...n.parameters,docs:{...(p=n.parameters)==null?void 0:p.docs,source:{originalSource:`args => { return }> diff --git a/docs/assets/Artboard.stories-82bdeecf.js b/docs/assets/Artboard.stories-5d677b6e.js similarity index 96% rename from docs/assets/Artboard.stories-82bdeecf.js rename to docs/assets/Artboard.stories-5d677b6e.js index 77d283f0..a2ff0c9b 100644 --- a/docs/assets/Artboard.stories-82bdeecf.js +++ b/docs/assets/Artboard.stories-5d677b6e.js @@ -1,4 +1,4 @@ -import{t as dr,j as rr}from"./tw-merge-0a3648bd.js";import{r as ir}from"./index-1b03fe98.js";import{c as cr}from"./clsx.m-1229b3e0.js";const g=ir.forwardRef(({children:a,demo:b=!0,size:e,horizontal:er,dataTheme:ar,className:or,...nr},sr)=>{const tr=dr("artboard",or,cr({"artboard-demo":b,"phone-1":e===1,"phone-2":e===2,"phone-3":e===3,"phone-4":e===4,"phone-5":e===5,"phone-6":e===6,horizontal:er}));return rr("div",{"aria-label":"Artboard",...nr,ref:sr,"data-theme":ar,className:tr,children:a})});g.displayName="Artboard";const z=g;try{g.displayName="Artboard",g.__docgenInfo={description:"",displayName:"Artboard",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},demo:{defaultValue:{value:"true"},description:"",name:"demo",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:"4"},{value:"2"},{value:"1"},{value:"3"},{value:"5"},{value:"6"}]}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}}}}}catch{}try{z.displayName="Artboard",z.__docgenInfo={description:"",displayName:"Artboard",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},demo:{defaultValue:{value:"true"},description:"",name:"demo",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:"4"},{value:"2"},{value:"1"},{value:"3"},{value:"5"},{value:"6"}]}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}}}}}catch{}const mr={title:"Layout/Artboard",component:z},r=({children:a,...b})=>rr(z,{...b,children:a}),o=r.bind({});o.args={size:1,children:" 320×568"};const n=r.bind({});n.args={size:2,children:" 375×667"};const s=r.bind({});s.args={size:3,children:" 414×736"};const t=r.bind({});t.args={size:4,children:" 375×812"};const d=r.bind({});d.args={size:5,children:" 414×896"};const i=r.bind({});i.args={size:6,children:" 320×1024"};const c=r.bind({});c.args={size:1,children:"568×320",horizontal:!0};const l=r.bind({});l.args={size:2,children:" 667×375",horizontal:!0};const u=r.bind({});u.args={size:3,children:" 736×414",horizontal:!0};const p=r.bind({});p.args={size:4,children:" 812×375",horizontal:!0};const m=r.bind({});m.args={size:5,children:" 896×414",horizontal:!0};const h=r.bind({});h.args={size:6,children:" 1024×320",horizontal:!0};var A,S,f;o.parameters={...o.parameters,docs:{...(A=o.parameters)==null?void 0:A.docs,source:{originalSource:`({ +import{t as dr,j as rr}from"./tw-merge-0a3648bd.js";import{r as ir}from"./index-1b03fe98.js";import{c as cr}from"./clsx.m-1229b3e0.js";const g=ir.forwardRef(({children:a,demo:b=!0,size:e,horizontal:er,dataTheme:ar,className:or,...nr},sr)=>{const tr=dr("artboard",or,cr({"artboard-demo":b,"phone-1":e===1,"phone-2":e===2,"phone-3":e===3,"phone-4":e===4,"phone-5":e===5,"phone-6":e===6,horizontal:er}));return rr("div",{"aria-label":"Artboard",...nr,ref:sr,"data-theme":ar,className:tr,children:a})});g.displayName="Artboard";const z=g;try{g.displayName="Artboard",g.__docgenInfo={description:"",displayName:"Artboard",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},demo:{defaultValue:{value:"true"},description:"",name:"demo",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:"2"},{value:"4"},{value:"1"},{value:"3"},{value:"5"},{value:"6"}]}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}}}}}catch{}try{z.displayName="Artboard",z.__docgenInfo={description:"",displayName:"Artboard",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},demo:{defaultValue:{value:"true"},description:"",name:"demo",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:"2"},{value:"4"},{value:"1"},{value:"3"},{value:"5"},{value:"6"}]}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}}}}}catch{}const mr={title:"Layout/Artboard",component:z},r=({children:a,...b})=>rr(z,{...b,children:a}),o=r.bind({});o.args={size:1,children:" 320×568"};const n=r.bind({});n.args={size:2,children:" 375×667"};const s=r.bind({});s.args={size:3,children:" 414×736"};const t=r.bind({});t.args={size:4,children:" 375×812"};const d=r.bind({});d.args={size:5,children:" 414×896"};const i=r.bind({});i.args={size:6,children:" 320×1024"};const c=r.bind({});c.args={size:1,children:"568×320",horizontal:!0};const l=r.bind({});l.args={size:2,children:" 667×375",horizontal:!0};const u=r.bind({});u.args={size:3,children:" 736×414",horizontal:!0};const p=r.bind({});p.args={size:4,children:" 812×375",horizontal:!0};const m=r.bind({});m.args={size:5,children:" 896×414",horizontal:!0};const h=r.bind({});h.args={size:6,children:" 1024×320",horizontal:!0};var A,S,f;o.parameters={...o.parameters,docs:{...(A=o.parameters)==null?void 0:A.docs,source:{originalSource:`({ children, ...args }) => { diff --git a/docs/assets/Badge.stories-91275a6d.js b/docs/assets/Badge.stories-8cf94b78.js similarity index 99% rename from docs/assets/Badge.stories-91275a6d.js rename to docs/assets/Badge.stories-8cf94b78.js index ebb6e5f2..9201b12e 100644 --- a/docs/assets/Badge.stories-91275a6d.js +++ b/docs/assets/Badge.stories-8cf94b78.js @@ -1,4 +1,4 @@ -import{j as r,a as s}from"./tw-merge-0a3648bd.js";import{B as n}from"./index-ccb0f6f2.js";import{B as m}from"./Button-e9ac0f78.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const J={title:"Data Display/Badge",component:n},a=e=>r(n,{...e,children:"Badge"});a.args={};const l=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,children:"default"}),r(n,{...e,color:"neutral",children:"neutral"}),r(n,{...e,color:"primary",children:"primary"}),r(n,{...e,color:"secondary",children:"secondary"}),r(n,{...e,color:"accent",children:"accent"}),r(n,{...e,color:"ghost",children:"ghost"})]}),o=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,children:"default"}),r(n,{...e,color:"primary",children:"primary"}),r(n,{...e,color:"secondary",children:"secondary"}),r(n,{...e,color:"accent",children:"accent"})]});o.args={variant:"outline"};const g=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,size:"lg",children:"987,654"}),r(n,{...e,size:"md",children:"987,654"}),r(n,{...e,size:"sm",children:"987,654"}),r(n,{...e,size:"xs",children:"987,654"})]}),t=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,size:"lg"}),r(n,{...e,size:"md"}),r(n,{...e,size:"sm"}),r(n,{...e,size:"xs"})]});t.args={color:"primary"};const c=e=>s("div",{className:"flex gap-2 items-center",children:[s(n,{...e,color:"info",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"info"]}),s(n,{...e,color:"success",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"success"]}),s(n,{...e,color:"warning",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"warning"]}),s(n,{...e,color:"error",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"error"]})]});c.args={className:"gap-2"};const i=e=>s("div",{className:"flex flex-col gap-2 items-center",children:[s("h2",{className:"text-xl",children:["Heading",r(n,{...e,size:"lg",children:"NEW"})]}),s("h3",{className:"text-xl",children:["Heading",r(n,{...e,size:"md",children:"NEW"})]}),s("h4",{className:"text-base",children:["Heading",r(n,{...e,size:"sm",children:"NEW"})]}),s("h5",{className:"text-sm",children:["Heading",r(n,{...e,size:"xs",children:"NEW"})]})]});i.args={};const d=e=>s("div",{className:"flex gap-2 items-center",children:[s(m,{children:["Inbox",r(n,{...e,children:"+99"})]}),s(m,{children:["Inbox",r(n,{...e,color:"secondary",children:"+99"})]})]});d.args={};var p,h,u;a.parameters={...a.parameters,docs:{...(p=a.parameters)==null?void 0:p.docs,source:{originalSource:`args => { +import{j as r,a as s}from"./tw-merge-0a3648bd.js";import{B as n}from"./index-ccb0f6f2.js";import{B as m}from"./Button-0267a47f.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const J={title:"Data Display/Badge",component:n},a=e=>r(n,{...e,children:"Badge"});a.args={};const l=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,children:"default"}),r(n,{...e,color:"neutral",children:"neutral"}),r(n,{...e,color:"primary",children:"primary"}),r(n,{...e,color:"secondary",children:"secondary"}),r(n,{...e,color:"accent",children:"accent"}),r(n,{...e,color:"ghost",children:"ghost"})]}),o=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,children:"default"}),r(n,{...e,color:"primary",children:"primary"}),r(n,{...e,color:"secondary",children:"secondary"}),r(n,{...e,color:"accent",children:"accent"})]});o.args={variant:"outline"};const g=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,size:"lg",children:"987,654"}),r(n,{...e,size:"md",children:"987,654"}),r(n,{...e,size:"sm",children:"987,654"}),r(n,{...e,size:"xs",children:"987,654"})]}),t=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,size:"lg"}),r(n,{...e,size:"md"}),r(n,{...e,size:"sm"}),r(n,{...e,size:"xs"})]});t.args={color:"primary"};const c=e=>s("div",{className:"flex gap-2 items-center",children:[s(n,{...e,color:"info",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"info"]}),s(n,{...e,color:"success",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"success"]}),s(n,{...e,color:"warning",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"warning"]}),s(n,{...e,color:"error",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"error"]})]});c.args={className:"gap-2"};const i=e=>s("div",{className:"flex flex-col gap-2 items-center",children:[s("h2",{className:"text-xl",children:["Heading",r(n,{...e,size:"lg",children:"NEW"})]}),s("h3",{className:"text-xl",children:["Heading",r(n,{...e,size:"md",children:"NEW"})]}),s("h4",{className:"text-base",children:["Heading",r(n,{...e,size:"sm",children:"NEW"})]}),s("h5",{className:"text-sm",children:["Heading",r(n,{...e,size:"xs",children:"NEW"})]})]});i.args={};const d=e=>s("div",{className:"flex gap-2 items-center",children:[s(m,{children:["Inbox",r(n,{...e,children:"+99"})]}),s(m,{children:["Inbox",r(n,{...e,color:"secondary",children:"+99"})]})]});d.args={};var p,h,u;a.parameters={...a.parameters,docs:{...(p=a.parameters)==null?void 0:p.docs,source:{originalSource:`args => { return Badge; }`,...(u=(h=a.parameters)==null?void 0:h.docs)==null?void 0:u.source}}};var B,x,w;l.parameters={...l.parameters,docs:{...(B=l.parameters)==null?void 0:B.docs,source:{originalSource:`args => { return
diff --git a/docs/assets/Button-e9ac0f78.js b/docs/assets/Button-0267a47f.js similarity index 96% rename from docs/assets/Button-e9ac0f78.js rename to docs/assets/Button-0267a47f.js index 439f77cb..24b31e75 100644 --- a/docs/assets/Button-e9ac0f78.js +++ b/docs/assets/Button-0267a47f.js @@ -1 +1 @@ -import{t as k,j as y,a as N}from"./tw-merge-0a3648bd.js";import{r as B}from"./index-1b03fe98.js";import{c as E}from"./clsx.m-1229b3e0.js";import{L as R}from"./index-a55c3a76.js";const j=["area","base","br","col","embed","hr","img","input","link","keygen","meta","param","source","track","wbr"],n=B.forwardRef(({children:s,shape:d,size:a,variant:o,color:e,glass:v,startIcon:t,endIcon:l,wide:g,fullWidth:q,responsive:V,animation:h=!0,loading:u,active:w,disabled:r,dataTheme:m,className:x,style:c,tag:_="button",...p},f)=>{const i=_,b=k("btn",x,E((t&&!u||l)&&"gap-2",{"btn-lg":a==="lg","btn-md":a==="md","btn-sm":a==="sm","btn-xs":a==="xs","btn-circle":d==="circle","btn-square":d==="square","btn-outline":o==="outline","btn-link":o==="link","btn-neutral":e==="neutral","btn-primary":e==="primary","btn-secondary":e==="secondary","btn-accent":e==="accent","btn-info":e==="info","btn-success":e==="success","btn-warning":e==="warning","btn-error":e==="error","btn-ghost":e==="ghost",glass:v,"btn-wide":g,"btn-block":q,"btn-xs sm:btn-sm md:btn-md lg:btn-lg":V,"no-animation":!h,"btn-active":w,"btn-disabled":r}));return j.includes(i)?y(i,{...p,ref:f,"data-theme":m,className:b,style:c,disabled:r}):N(i,{...p,ref:f,"data-theme":m,className:b,style:c,disabled:r,children:[u&&y(R,{size:a}),t&&!u&&t,s,l&&l]})});n.displayName="Button";const M=n;try{n.displayName="Button",n.__docgenInfo={description:"",displayName:"Button",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},shape:{defaultValue:null,description:"",name:"shape",required:!1,type:{name:"enum",value:[{value:'"circle"'},{value:'"square"'}]}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"lg"'},{value:'"md"'},{value:'"sm"'},{value:'"xs"'}]}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"link"'},{value:'"outline"'}]}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"neutral"'},{value:'"primary"'},{value:'"secondary"'},{value:'"accent"'},{value:'"ghost"'},{value:'"info"'},{value:'"success"'},{value:'"warning"'},{value:'"error"'}]}},glass:{defaultValue:null,description:"",name:"glass",required:!1,type:{name:"boolean"}},wide:{defaultValue:null,description:"",name:"wide",required:!1,type:{name:"boolean"}},fullWidth:{defaultValue:null,description:"",name:"fullWidth",required:!1,type:{name:"boolean"}},responsive:{defaultValue:null,description:"",name:"responsive",required:!1,type:{name:"boolean"}},animation:{defaultValue:{value:"true"},description:"",name:"animation",required:!1,type:{name:"boolean"}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"boolean"}},active:{defaultValue:null,description:"",name:"active",required:!1,type:{name:"boolean"}},startIcon:{defaultValue:null,description:"",name:"startIcon",required:!1,type:{name:"ReactNode"}},endIcon:{defaultValue:null,description:"",name:"endIcon",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},tag:{defaultValue:{value:"button"},description:"",name:"tag",required:!1,type:{name:"ElementType"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}}}}}catch{}export{M as B}; +import{t as k,j as y,a as N}from"./tw-merge-0a3648bd.js";import{r as B}from"./index-1b03fe98.js";import{c as E}from"./clsx.m-1229b3e0.js";import{L as R}from"./index-a55c3a76.js";const j=["area","base","br","col","embed","hr","img","input","link","keygen","meta","param","source","track","wbr"],n=B.forwardRef(({children:s,shape:d,size:a,variant:o,color:e,glass:v,startIcon:t,endIcon:l,wide:g,fullWidth:q,responsive:V,animation:h=!0,loading:u,active:w,disabled:r,dataTheme:m,className:x,style:c,tag:_="button",...p},f)=>{const i=_,b=k("btn",x,E((t&&!u||l)&&"gap-2",{"btn-lg":a==="lg","btn-md":a==="md","btn-sm":a==="sm","btn-xs":a==="xs","btn-circle":d==="circle","btn-square":d==="square","btn-outline":o==="outline","btn-link":o==="link","btn-neutral":e==="neutral","btn-primary":e==="primary","btn-secondary":e==="secondary","btn-accent":e==="accent","btn-info":e==="info","btn-success":e==="success","btn-warning":e==="warning","btn-error":e==="error","btn-ghost":e==="ghost",glass:v,"btn-wide":g,"btn-block":q,"btn-xs sm:btn-sm md:btn-md lg:btn-lg":V,"no-animation":!h,"btn-active":w,"btn-disabled":r}));return j.includes(i)?y(i,{...p,ref:f,"data-theme":m,className:b,style:c,disabled:r}):N(i,{...p,ref:f,"data-theme":m,className:b,style:c,disabled:r,children:[u&&y(R,{size:a}),t&&!u&&t,s,l&&l]})});n.displayName="Button";const M=n;try{n.displayName="Button",n.__docgenInfo={description:"",displayName:"Button",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},shape:{defaultValue:null,description:"",name:"shape",required:!1,type:{name:"enum",value:[{value:'"circle"'},{value:'"square"'}]}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"lg"'},{value:'"md"'},{value:'"sm"'},{value:'"xs"'}]}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"outline"'},{value:'"link"'}]}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"neutral"'},{value:'"primary"'},{value:'"secondary"'},{value:'"accent"'},{value:'"ghost"'},{value:'"info"'},{value:'"success"'},{value:'"warning"'},{value:'"error"'}]}},glass:{defaultValue:null,description:"",name:"glass",required:!1,type:{name:"boolean"}},wide:{defaultValue:null,description:"",name:"wide",required:!1,type:{name:"boolean"}},fullWidth:{defaultValue:null,description:"",name:"fullWidth",required:!1,type:{name:"boolean"}},responsive:{defaultValue:null,description:"",name:"responsive",required:!1,type:{name:"boolean"}},animation:{defaultValue:{value:"true"},description:"",name:"animation",required:!1,type:{name:"boolean"}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"boolean"}},active:{defaultValue:null,description:"",name:"active",required:!1,type:{name:"boolean"}},startIcon:{defaultValue:null,description:"",name:"startIcon",required:!1,type:{name:"ReactNode"}},endIcon:{defaultValue:null,description:"",name:"endIcon",required:!1,type:{name:"ReactNode"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},tag:{defaultValue:{value:"button"},description:"",name:"tag",required:!1,type:{name:"ElementType"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}}}}}catch{}export{M as B}; diff --git a/docs/assets/Button.stories-2ecc1a31.js b/docs/assets/Button.stories-43a0481b.js similarity index 99% rename from docs/assets/Button.stories-2ecc1a31.js rename to docs/assets/Button.stories-43a0481b.js index 353423fe..3b867096 100644 --- a/docs/assets/Button.stories-2ecc1a31.js +++ b/docs/assets/Button.stories-43a0481b.js @@ -1,4 +1,4 @@ -import{j as t,a as n}from"./tw-merge-0a3648bd.js";import{B as e}from"./Button-e9ac0f78.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const Pr={title:"Actions/Button",component:e,argTypes:{startIcon:{control:!1},endIcon:{control:!1}}},L=r=>t(e,{...r,children:"Button"}),o=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,children:"Default"}),t(e,{...r,color:"neutral",children:"Neutral"}),t(e,{...r,color:"primary",children:"Primary"}),t(e,{...r,color:"secondary",children:"Secondary"}),t(e,{...r,color:"accent",children:"Accent"}),t(e,{...r,color:"ghost",children:"Ghost"}),t(e,{...r,variant:"link",children:"Link"})]});o.args={};const s=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,children:"Default"}),t(e,{...r,color:"neutral",children:"Neutral"}),t(e,{...r,color:"primary",children:"Primary"}),t(e,{...r,color:"secondary",children:"Secondary"}),t(e,{...r,color:"accent",children:"Accent"}),t(e,{...r,color:"ghost",children:"Ghost"}),t(e,{...r,variant:"link",children:"Link"})]});s.args={active:!0};const a=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,color:"info",children:"Info"}),t(e,{...r,color:"success",children:"Success"}),t(e,{...r,color:"warning",children:"Warning"}),t(e,{...r,color:"error",children:"Error"})]});a.args={};const c=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,children:"Default"}),t(e,{...r,color:"primary",children:"Primary"}),t(e,{...r,color:"secondary",children:"Secondary"}),t(e,{...r,color:"accent",children:"Accent"})]});c.args={variant:"outline"};const i=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,color:"info",children:"Info"}),t(e,{...r,color:"success",children:"Success"}),t(e,{...r,color:"warning",children:"Warning"}),t(e,{...r,color:"error",children:"Error"})]});i.args={variant:"outline"};const u=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,size:"lg",children:"Large"}),t(e,{...r,children:"Normal"}),t(e,{...r,size:"sm",children:"Small"}),t(e,{...r,size:"xs",children:"Tiny"})]});u.args={};const l=r=>t(e,{...r,children:"Responsive"});l.args={responsive:!0};const d=r=>t(e,{...r,children:"Wide"});d.args={wide:!0};const m=r=>t("div",{className:"w-full flex justify-center py-8 rounded-md",style:{backgroundImage:"url(https://daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.jpg)"},children:t(e,{...r,children:"Glass button"})});m.args={glass:!0};const p=r=>n("div",{className:"flex gap-2 items-center justify-center",children:[t(e,{...r,tag:"a",role:"button",children:"Link"}),t(e,{...r,type:"submit",children:"Button"}),t(e,{...r,tag:"input",type:"button",value:"Input"}),t(e,{...r,tag:"input",type:"submit",value:"Submit"}),t(e,{...r,tag:"input",type:"radio","aria-label":"Radio"}),t(e,{...r,tag:"input",type:"checkbox","aria-label":"Checkbox"}),t(e,{...r,tag:"input",type:"reset",value:"Reset"})]});p.args={};const g=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,children:"Disabled using attribute"}),t(e,{className:"btn btn-disabled",tabIndex:-1,role:"button","aria-disabled":"true",children:"Disabled using class name"})]});g.args={disabled:!0};const B=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,children:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})}),t(e,{...r,variant:"outline",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]});B.args={shape:"square"};const h=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,children:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})}),t(e,{...r,variant:"outline",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]});h.args={shape:"circle"};const y=r=>t(e,{...r,startIcon:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"})}),children:"Button"}),S=r=>t(e,{...r,endIcon:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"})}),children:"Button"}),v=r=>t(e,{...r,children:"Block"});v.args={fullWidth:!0};const k=r=>t(e,{...r});k.args={loading:!0,shape:"square"};const w=r=>t(e,{...r,children:"loading"});w.args={loading:!0};const f=r=>t(e,{...r,children:" I don't have click animation "});f.args={animation:!1};const x=r=>t(e,{...r,children:" Link "});x.args={tag:"a",target:"_blank",rel:"noopener",href:"https://daisyui.com/"};var b,N,W;L.parameters={...L.parameters,docs:{...(b=L.parameters)==null?void 0:b.docs,source:{originalSource:`args => { +import{j as t,a as n}from"./tw-merge-0a3648bd.js";import{B as e}from"./Button-0267a47f.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const Pr={title:"Actions/Button",component:e,argTypes:{startIcon:{control:!1},endIcon:{control:!1}}},L=r=>t(e,{...r,children:"Button"}),o=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,children:"Default"}),t(e,{...r,color:"neutral",children:"Neutral"}),t(e,{...r,color:"primary",children:"Primary"}),t(e,{...r,color:"secondary",children:"Secondary"}),t(e,{...r,color:"accent",children:"Accent"}),t(e,{...r,color:"ghost",children:"Ghost"}),t(e,{...r,variant:"link",children:"Link"})]});o.args={};const s=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,children:"Default"}),t(e,{...r,color:"neutral",children:"Neutral"}),t(e,{...r,color:"primary",children:"Primary"}),t(e,{...r,color:"secondary",children:"Secondary"}),t(e,{...r,color:"accent",children:"Accent"}),t(e,{...r,color:"ghost",children:"Ghost"}),t(e,{...r,variant:"link",children:"Link"})]});s.args={active:!0};const a=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,color:"info",children:"Info"}),t(e,{...r,color:"success",children:"Success"}),t(e,{...r,color:"warning",children:"Warning"}),t(e,{...r,color:"error",children:"Error"})]});a.args={};const c=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,children:"Default"}),t(e,{...r,color:"primary",children:"Primary"}),t(e,{...r,color:"secondary",children:"Secondary"}),t(e,{...r,color:"accent",children:"Accent"})]});c.args={variant:"outline"};const i=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,color:"info",children:"Info"}),t(e,{...r,color:"success",children:"Success"}),t(e,{...r,color:"warning",children:"Warning"}),t(e,{...r,color:"error",children:"Error"})]});i.args={variant:"outline"};const u=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,size:"lg",children:"Large"}),t(e,{...r,children:"Normal"}),t(e,{...r,size:"sm",children:"Small"}),t(e,{...r,size:"xs",children:"Tiny"})]});u.args={};const l=r=>t(e,{...r,children:"Responsive"});l.args={responsive:!0};const d=r=>t(e,{...r,children:"Wide"});d.args={wide:!0};const m=r=>t("div",{className:"w-full flex justify-center py-8 rounded-md",style:{backgroundImage:"url(https://daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.jpg)"},children:t(e,{...r,children:"Glass button"})});m.args={glass:!0};const p=r=>n("div",{className:"flex gap-2 items-center justify-center",children:[t(e,{...r,tag:"a",role:"button",children:"Link"}),t(e,{...r,type:"submit",children:"Button"}),t(e,{...r,tag:"input",type:"button",value:"Input"}),t(e,{...r,tag:"input",type:"submit",value:"Submit"}),t(e,{...r,tag:"input",type:"radio","aria-label":"Radio"}),t(e,{...r,tag:"input",type:"checkbox","aria-label":"Checkbox"}),t(e,{...r,tag:"input",type:"reset",value:"Reset"})]});p.args={};const g=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,children:"Disabled using attribute"}),t(e,{className:"btn btn-disabled",tabIndex:-1,role:"button","aria-disabled":"true",children:"Disabled using class name"})]});g.args={disabled:!0};const B=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,children:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})}),t(e,{...r,variant:"outline",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]});B.args={shape:"square"};const h=r=>n("div",{className:"flex items-center gap-2",children:[t(e,{...r,children:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})}),t(e,{...r,variant:"outline",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]});h.args={shape:"circle"};const y=r=>t(e,{...r,startIcon:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"})}),children:"Button"}),S=r=>t(e,{...r,endIcon:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"})}),children:"Button"}),v=r=>t(e,{...r,children:"Block"});v.args={fullWidth:!0};const k=r=>t(e,{...r});k.args={loading:!0,shape:"square"};const w=r=>t(e,{...r,children:"loading"});w.args={loading:!0};const f=r=>t(e,{...r,children:" I don't have click animation "});f.args={animation:!1};const x=r=>t(e,{...r,children:" Link "});x.args={tag:"a",target:"_blank",rel:"noopener",href:"https://daisyui.com/"};var b,N,W;L.parameters={...L.parameters,docs:{...(b=L.parameters)==null?void 0:b.docs,source:{originalSource:`args => { return ; }`,...(W=(N=L.parameters)==null?void 0:N.docs)==null?void 0:W.source}}};var C,I,j;o.parameters={...o.parameters,docs:{...(C=o.parameters)==null?void 0:C.docs,source:{originalSource:`args => { return
diff --git a/docs/assets/Card.stories-7d9007ed.js b/docs/assets/Card.stories-5b682d9f.js similarity index 98% rename from docs/assets/Card.stories-7d9007ed.js rename to docs/assets/Card.stories-5b682d9f.js index b2e1faa3..e8dcb228 100644 --- a/docs/assets/Card.stories-7d9007ed.js +++ b/docs/assets/Card.stories-5b682d9f.js @@ -1,4 +1,4 @@ -import{a as o,j as e}from"./tw-merge-0a3648bd.js";import{C as s}from"./index-3c968524.js";import{B as d}from"./Button-e9ac0f78.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const A={title:"Data Display/Card",component:s},r=a=>o(s,{...a,children:[e(s.Image,{src:"https://daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.jpg",alt:"Shoes"}),o(s.Body,{children:[e(s.Title,{tag:"h2",children:"Shoes!"}),e("p",{children:"If a dog chews shoes whose shoes does he choose?"}),e(s.Actions,{className:"justify-end",children:e(d,{color:"primary",children:"Buy Now"})})]})]}),t=a=>o("div",{children:[e("div",{className:"mb-3",children:"(vertical on small screen, horizontal on large screen)"}),o(s,{...a,side:"lg",children:[e(s.Image,{src:"https://daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.jpg",alt:"Shoes"}),o(s.Body,{children:[e(s.Title,{tag:"h2",children:"Shoes!"}),e("p",{children:"If a dog chews shoes whose shoes does he choose?"}),e(s.Actions,{className:"justify-end",children:e(d,{color:"primary",children:"Buy Now"})})]})]})]}),n=a=>o(s,{...a,children:[e(s.Image,{src:"https://daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.jpg",alt:"Shoes"}),o(s.Body,{className:"items-center text-center",children:[e(s.Title,{tag:"h2",children:"Shoes!"}),e("p",{children:"If a dog chews shoes whose shoes does he choose?"}),e(s.Actions,{className:"justify-end",children:e(d,{color:"primary",children:"Buy Now"})})]})]}),c=a=>o(s,{...a,imageFull:!0,children:[e(s.Image,{src:"https://daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.jpg",alt:"Shoes"}),o(s.Body,{children:[e(s.Title,{tag:"h2",children:"Shoes!"}),e("p",{children:"If a dog chews shoes whose shoes does he choose?"}),e(s.Actions,{className:"justify-end",children:e(d,{color:"primary",children:"Buy Now"})})]})]});var i,h,l;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`args => { +import{a as o,j as e}from"./tw-merge-0a3648bd.js";import{C as s}from"./index-3c968524.js";import{B as d}from"./Button-0267a47f.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const A={title:"Data Display/Card",component:s},r=a=>o(s,{...a,children:[e(s.Image,{src:"https://daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.jpg",alt:"Shoes"}),o(s.Body,{children:[e(s.Title,{tag:"h2",children:"Shoes!"}),e("p",{children:"If a dog chews shoes whose shoes does he choose?"}),e(s.Actions,{className:"justify-end",children:e(d,{color:"primary",children:"Buy Now"})})]})]}),t=a=>o("div",{children:[e("div",{className:"mb-3",children:"(vertical on small screen, horizontal on large screen)"}),o(s,{...a,side:"lg",children:[e(s.Image,{src:"https://daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.jpg",alt:"Shoes"}),o(s.Body,{children:[e(s.Title,{tag:"h2",children:"Shoes!"}),e("p",{children:"If a dog chews shoes whose shoes does he choose?"}),e(s.Actions,{className:"justify-end",children:e(d,{color:"primary",children:"Buy Now"})})]})]})]}),n=a=>o(s,{...a,children:[e(s.Image,{src:"https://daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.jpg",alt:"Shoes"}),o(s.Body,{className:"items-center text-center",children:[e(s.Title,{tag:"h2",children:"Shoes!"}),e("p",{children:"If a dog chews shoes whose shoes does he choose?"}),e(s.Actions,{className:"justify-end",children:e(d,{color:"primary",children:"Buy Now"})})]})]}),c=a=>o(s,{...a,imageFull:!0,children:[e(s.Image,{src:"https://daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.jpg",alt:"Shoes"}),o(s.Body,{children:[e(s.Title,{tag:"h2",children:"Shoes!"}),e("p",{children:"If a dog chews shoes whose shoes does he choose?"}),e(s.Actions,{className:"justify-end",children:e(d,{color:"primary",children:"Buy Now"})})]})]});var i,h,l;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`args => { return diff --git a/docs/assets/Carousel.stories-4b01da97.js b/docs/assets/Carousel.stories-85e224b2.js similarity index 98% rename from docs/assets/Carousel.stories-4b01da97.js rename to docs/assets/Carousel.stories-85e224b2.js index 2110e4c2..4483f3ac 100644 --- a/docs/assets/Carousel.stories-4b01da97.js +++ b/docs/assets/Carousel.stories-85e224b2.js @@ -1,4 +1,4 @@ -import{t as rt,a as r,j as e,F as V}from"./tw-merge-0a3648bd.js";import{r as c}from"./index-1b03fe98.js";import{c as E}from"./clsx.m-1229b3e0.js";import{B as F}from"./Button-e9ac0f78.js";import"./index-a55c3a76.js";const R=({children:s,innerRef:i,src:u,alt:v,index:x=0,width:l,hasButtons:N,buttonStyle:m,onPrev:C,onNext:I,className:_,...k})=>{const q=rt("carousel-item relative",_,E({"w-full":l==="full","w-1/2":l==="half","h-full":!0})),S=E({"w-full":l==="full"}),w=()=>m!=null?r(V,{children:[c.cloneElement(m("❮"),{onClick:C}),c.cloneElement(m("❯"),{onClick:I})]}):r(V,{children:[e(F,{onClick:C,shape:"circle",children:"❮"}),e(F,{onClick:I,shape:"circle",children:"❯"})]});return r("div",{...k,id:`item${x}`,ref:i,className:q,children:[u?e("img",{src:u,alt:v,className:S}):s,N&&e("div",{className:"absolute flex justify-between transform -translate-y-1/2 left-5 right-5 top-1/2",children:w()})]})},ct=R;try{R.displayName="CarouselItem",R.__docgenInfo={description:"",displayName:"CarouselItem",props:{innerRef:{defaultValue:null,description:"",name:"innerRef",required:!1,type:{name:"LegacyRef"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"string"}},index:{defaultValue:{value:"0"},description:"",name:"index",required:!1,type:{name:"number"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"enum",value:[{value:'"full"'},{value:'"half"'}]}},hasButtons:{defaultValue:null,description:"",name:"hasButtons",required:!1,type:{name:"boolean"}},buttonStyle:{defaultValue:null,description:"",name:"buttonStyle",required:!1,type:{name:"((value: string) => ReactElement>)"}},onPrev:{defaultValue:null,description:"",name:"onPrev",required:!1,type:{name:"(() => void)"}},onNext:{defaultValue:null,description:"",name:"onNext",required:!1,type:{name:"(() => void)"}}}}}catch{}const B=c.forwardRef(({children:s,display:i="slider",snap:u,vertical:v,width:x,buttonStyle:l,dataTheme:N,className:m,...C},I)=>{const _=rt("carousel",m,E({"carousel-center":u==="center","carousel-end":u==="end","carousel-vertical":v,"w-full":i!=="slider"})),[k,q]=c.useState([]),[S,w]=c.useState(0);c.useEffect(()=>{const o=[];s.map(a=>{o.push(c.createRef())}),q(o)},[s]);const j=o=>{var a;(a=k[o].current)==null||a.scrollIntoView({behavior:"smooth",block:"nearest",inline:u}),w(o)};return r(V,{children:[e("div",{role:"listbox","aria-label":"Image carousel",...C,ref:I,"data-theme":N,className:_,children:s.map((o,a)=>c.cloneElement(o,{key:a,innerRef:k[a],index:a+1,children:o.props.children,src:o.props.src,alt:o.props.alt,width:i!=="slider"?"full":x,hasButtons:i==="sequential",buttonStyle:l,onPrev:()=>j(a-1<0?s.length-1:a-1),onNext:()=>j(a+1>s.length-1?0:a+1),...o.props}))}),i==="numbered"&&e("div",{className:"flex justify-center w-full py-2 gap-2",children:s.map((o,a)=>l!=null?c.cloneElement(l((a+1).toString()),{key:a,onClick:()=>j(a)}):e(F,{active:a===S,onClick:()=>j(a),children:a+1},a))})]})}),t=Object.assign(B,{Item:ct});try{B.displayName="Carousel",B.__docgenInfo={description:"",displayName:"Carousel",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},display:{defaultValue:{value:"slider"},description:"",name:"display",required:!1,type:{name:"enum",value:[{value:'"slider"'},{value:'"numbered"'},{value:'"sequential"'}]}},snap:{defaultValue:null,description:"",name:"snap",required:!1,type:{name:"enum",value:[{value:'"start"'},{value:'"end"'},{value:'"center"'}]}},vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"boolean"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"enum",value:[{value:'"full"'},{value:'"half"'}]}},buttonStyle:{defaultValue:null,description:"",name:"buttonStyle",required:!1,type:{name:"((value: string) => ReactElement>)"}}}}}catch{}try{t.displayName="Carousel",t.__docgenInfo={description:"",displayName:"Carousel",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},display:{defaultValue:{value:"slider"},description:"",name:"display",required:!1,type:{name:"enum",value:[{value:'"slider"'},{value:'"numbered"'},{value:'"sequential"'}]}},snap:{defaultValue:null,description:"",name:"snap",required:!1,type:{name:"enum",value:[{value:'"start"'},{value:'"end"'},{value:'"center"'}]}},vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"boolean"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"enum",value:[{value:'"full"'},{value:'"half"'}]}},buttonStyle:{defaultValue:null,description:"",name:"buttonStyle",required:!1,type:{name:"((value: string) => ReactElement>)"}}}}}catch{}const nt={title:"Data Display/Carousel",component:t},p=s=>r(t,{...s,className:"rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559703248-dcaaec9fab78.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1565098772267-60af42b81ef2.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1572635148818-ef6fd45eb394.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1494253109108-2e30c049369b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1550258987-190a2d41a8ba.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559181567-c3190ca9959b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1601004890684-d8cbf643f5f2.jpg",alt:"Fruits"})]});p.args={};const n=s=>r(t,{...s,className:"rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559703248-dcaaec9fab78.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1565098772267-60af42b81ef2.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1572635148818-ef6fd45eb394.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1494253109108-2e30c049369b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1550258987-190a2d41a8ba.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559181567-c3190ca9959b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1601004890684-d8cbf643f5f2.jpg",alt:"Fruits"})]});n.args={snap:"end"};const d=s=>r(t,{...s,className:"w-64 rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559703248-dcaaec9fab78.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1565098772267-60af42b81ef2.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1572635148818-ef6fd45eb394.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1494253109108-2e30c049369b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1550258987-190a2d41a8ba.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559181567-c3190ca9959b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1601004890684-d8cbf643f5f2.jpg",alt:"Fruits"})]});d.args={width:"full"};const g=s=>r(t,{...s,className:"w-64 rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559703248-dcaaec9fab78.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1565098772267-60af42b81ef2.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1572635148818-ef6fd45eb394.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1494253109108-2e30c049369b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1550258987-190a2d41a8ba.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559181567-c3190ca9959b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1601004890684-d8cbf643f5f2.jpg",alt:"Fruits"})]});g.args={width:"half"};const h=s=>r(t,{...s,className:"h-96 w-64 rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559703248-dcaaec9fab78.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1565098772267-60af42b81ef2.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1572635148818-ef6fd45eb394.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1494253109108-2e30c049369b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1550258987-190a2d41a8ba.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559181567-c3190ca9959b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1601004890684-d8cbf643f5f2.jpg",alt:"Fruits"})]});h.args={width:"full",vertical:!0};const f=s=>r(t,{...s,className:"rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1625726411847-8cbb60cc71e6.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1609621838510-5ad474b7d25d.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1414694762283-acccc27bca85.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1665553365602-b2fb8e5d1707.jpg",alt:"City"})]});f.args={display:"numbered"};const y=s=>r(t,{...s,className:"rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1625726411847-8cbb60cc71e6.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1609621838510-5ad474b7d25d.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1414694762283-acccc27bca85.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1665553365602-b2fb8e5d1707.jpg",alt:"City"})]});y.args={display:"sequential"};const b=s=>{const i=u=>e(F,{color:"primary",children:u});return s.buttonStyle=i,r(t,{...s,className:"rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1625726411847-8cbb60cc71e6.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1609621838510-5ad474b7d25d.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1414694762283-acccc27bca85.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1665553365602-b2fb8e5d1707.jpg",alt:"City"})]})};b.args={display:"sequential"};var T,D,W;p.parameters={...p.parameters,docs:{...(T=p.parameters)==null?void 0:T.docs,source:{originalSource:`args => { +import{t as rt,a as r,j as e,F as V}from"./tw-merge-0a3648bd.js";import{r as c}from"./index-1b03fe98.js";import{c as E}from"./clsx.m-1229b3e0.js";import{B as F}from"./Button-0267a47f.js";import"./index-a55c3a76.js";const R=({children:s,innerRef:i,src:u,alt:v,index:x=0,width:l,hasButtons:N,buttonStyle:m,onPrev:C,onNext:I,className:_,...k})=>{const q=rt("carousel-item relative",_,E({"w-full":l==="full","w-1/2":l==="half","h-full":!0})),S=E({"w-full":l==="full"}),w=()=>m!=null?r(V,{children:[c.cloneElement(m("❮"),{onClick:C}),c.cloneElement(m("❯"),{onClick:I})]}):r(V,{children:[e(F,{onClick:C,shape:"circle",children:"❮"}),e(F,{onClick:I,shape:"circle",children:"❯"})]});return r("div",{...k,id:`item${x}`,ref:i,className:q,children:[u?e("img",{src:u,alt:v,className:S}):s,N&&e("div",{className:"absolute flex justify-between transform -translate-y-1/2 left-5 right-5 top-1/2",children:w()})]})},ct=R;try{R.displayName="CarouselItem",R.__docgenInfo={description:"",displayName:"CarouselItem",props:{innerRef:{defaultValue:null,description:"",name:"innerRef",required:!1,type:{name:"LegacyRef"}},src:{defaultValue:null,description:"",name:"src",required:!1,type:{name:"string"}},alt:{defaultValue:null,description:"",name:"alt",required:!1,type:{name:"string"}},index:{defaultValue:{value:"0"},description:"",name:"index",required:!1,type:{name:"number"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"enum",value:[{value:'"full"'},{value:'"half"'}]}},hasButtons:{defaultValue:null,description:"",name:"hasButtons",required:!1,type:{name:"boolean"}},buttonStyle:{defaultValue:null,description:"",name:"buttonStyle",required:!1,type:{name:"((value: string) => ReactElement>)"}},onPrev:{defaultValue:null,description:"",name:"onPrev",required:!1,type:{name:"(() => void)"}},onNext:{defaultValue:null,description:"",name:"onNext",required:!1,type:{name:"(() => void)"}}}}}catch{}const B=c.forwardRef(({children:s,display:i="slider",snap:u,vertical:v,width:x,buttonStyle:l,dataTheme:N,className:m,...C},I)=>{const _=rt("carousel",m,E({"carousel-center":u==="center","carousel-end":u==="end","carousel-vertical":v,"w-full":i!=="slider"})),[k,q]=c.useState([]),[S,w]=c.useState(0);c.useEffect(()=>{const o=[];s.map(a=>{o.push(c.createRef())}),q(o)},[s]);const j=o=>{var a;(a=k[o].current)==null||a.scrollIntoView({behavior:"smooth",block:"nearest",inline:u}),w(o)};return r(V,{children:[e("div",{role:"listbox","aria-label":"Image carousel",...C,ref:I,"data-theme":N,className:_,children:s.map((o,a)=>c.cloneElement(o,{key:a,innerRef:k[a],index:a+1,children:o.props.children,src:o.props.src,alt:o.props.alt,width:i!=="slider"?"full":x,hasButtons:i==="sequential",buttonStyle:l,onPrev:()=>j(a-1<0?s.length-1:a-1),onNext:()=>j(a+1>s.length-1?0:a+1),...o.props}))}),i==="numbered"&&e("div",{className:"flex justify-center w-full py-2 gap-2",children:s.map((o,a)=>l!=null?c.cloneElement(l((a+1).toString()),{key:a,onClick:()=>j(a)}):e(F,{active:a===S,onClick:()=>j(a),children:a+1},a))})]})}),t=Object.assign(B,{Item:ct});try{B.displayName="Carousel",B.__docgenInfo={description:"",displayName:"Carousel",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},display:{defaultValue:{value:"slider"},description:"",name:"display",required:!1,type:{name:"enum",value:[{value:'"slider"'},{value:'"numbered"'},{value:'"sequential"'}]}},snap:{defaultValue:null,description:"",name:"snap",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"boolean"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"enum",value:[{value:'"full"'},{value:'"half"'}]}},buttonStyle:{defaultValue:null,description:"",name:"buttonStyle",required:!1,type:{name:"((value: string) => ReactElement>)"}}}}}catch{}try{t.displayName="Carousel",t.__docgenInfo={description:"",displayName:"Carousel",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},display:{defaultValue:{value:"slider"},description:"",name:"display",required:!1,type:{name:"enum",value:[{value:'"slider"'},{value:'"numbered"'},{value:'"sequential"'}]}},snap:{defaultValue:null,description:"",name:"snap",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"boolean"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"enum",value:[{value:'"full"'},{value:'"half"'}]}},buttonStyle:{defaultValue:null,description:"",name:"buttonStyle",required:!1,type:{name:"((value: string) => ReactElement>)"}}}}}catch{}const nt={title:"Data Display/Carousel",component:t},p=s=>r(t,{...s,className:"rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559703248-dcaaec9fab78.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1565098772267-60af42b81ef2.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1572635148818-ef6fd45eb394.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1494253109108-2e30c049369b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1550258987-190a2d41a8ba.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559181567-c3190ca9959b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1601004890684-d8cbf643f5f2.jpg",alt:"Fruits"})]});p.args={};const n=s=>r(t,{...s,className:"rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559703248-dcaaec9fab78.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1565098772267-60af42b81ef2.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1572635148818-ef6fd45eb394.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1494253109108-2e30c049369b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1550258987-190a2d41a8ba.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559181567-c3190ca9959b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1601004890684-d8cbf643f5f2.jpg",alt:"Fruits"})]});n.args={snap:"end"};const d=s=>r(t,{...s,className:"w-64 rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559703248-dcaaec9fab78.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1565098772267-60af42b81ef2.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1572635148818-ef6fd45eb394.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1494253109108-2e30c049369b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1550258987-190a2d41a8ba.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559181567-c3190ca9959b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1601004890684-d8cbf643f5f2.jpg",alt:"Fruits"})]});d.args={width:"full"};const g=s=>r(t,{...s,className:"w-64 rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559703248-dcaaec9fab78.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1565098772267-60af42b81ef2.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1572635148818-ef6fd45eb394.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1494253109108-2e30c049369b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1550258987-190a2d41a8ba.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559181567-c3190ca9959b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1601004890684-d8cbf643f5f2.jpg",alt:"Fruits"})]});g.args={width:"half"};const h=s=>r(t,{...s,className:"h-96 w-64 rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559703248-dcaaec9fab78.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1565098772267-60af42b81ef2.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1572635148818-ef6fd45eb394.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1494253109108-2e30c049369b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1550258987-190a2d41a8ba.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1559181567-c3190ca9959b.jpg",alt:"Fruits"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1601004890684-d8cbf643f5f2.jpg",alt:"Fruits"})]});h.args={width:"full",vertical:!0};const f=s=>r(t,{...s,className:"rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1625726411847-8cbb60cc71e6.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1609621838510-5ad474b7d25d.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1414694762283-acccc27bca85.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1665553365602-b2fb8e5d1707.jpg",alt:"City"})]});f.args={display:"numbered"};const y=s=>r(t,{...s,className:"rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1625726411847-8cbb60cc71e6.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1609621838510-5ad474b7d25d.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1414694762283-acccc27bca85.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1665553365602-b2fb8e5d1707.jpg",alt:"City"})]});y.args={display:"sequential"};const b=s=>{const i=u=>e(F,{color:"primary",children:u});return s.buttonStyle=i,r(t,{...s,className:"rounded-box",children:[e(t.Item,{src:"https://daisyui.com/images/stock/photo-1625726411847-8cbb60cc71e6.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1609621838510-5ad474b7d25d.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1414694762283-acccc27bca85.jpg",alt:"City"}),e(t.Item,{src:"https://daisyui.com/images/stock/photo-1665553365602-b2fb8e5d1707.jpg",alt:"City"})]})};b.args={display:"sequential"};var T,D,W;p.parameters={...p.parameters,docs:{...(T=p.parameters)==null?void 0:T.docs,source:{originalSource:`args => { return diff --git a/docs/assets/Color-6VNJS4EI-fc9214ad.js b/docs/assets/Color-6VNJS4EI-72476e84.js similarity index 99% rename from docs/assets/Color-6VNJS4EI-fc9214ad.js rename to docs/assets/Color-6VNJS4EI-72476e84.js index 9ba007a5..73fb05e8 100644 --- a/docs/assets/Color-6VNJS4EI-fc9214ad.js +++ b/docs/assets/Color-6VNJS4EI-72476e84.js @@ -1 +1 @@ -import{n as M,d as ue,T as Me,F as Ce,I as $e,g as Ne}from"./index-21c4db47.js";import{R as h,r as b,g as fe}from"./index-1b03fe98.js";import{_ as Oe,i as J,a as Ie}from"./index-d7bb098e.js";import"./iframe-19c7c3ad.js";import"../sb-preview/runtime.js";import"./chunk-ZGA76URP-2bd2442b.js";import"./index-6fd5a17b.js";import"./index-356e4a49.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=0/0,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{icon:"markup",onClick:k}):null)},fn=tn;export{tn as ColorControl,fn as default}; +import{n as M,d as ue,T as Me,F as Ce,I as $e,g as Ne}from"./index-8e1aaa9d.js";import{R as h,r as b,g as fe}from"./index-1b03fe98.js";import{_ as Oe,i as J,a as Ie}from"./index-d7bb098e.js";import"./iframe-653d232b.js";import"../sb-preview/runtime.js";import"./chunk-ZGA76URP-2bd2442b.js";import"./index-6fd5a17b.js";import"./index-356e4a49.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=0/0,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{icon:"markup",onClick:k}):null)},fn=tn;export{tn as ColorControl,fn as default}; diff --git a/docs/assets/DocsRenderer-NNNQARDV-d9907032.js b/docs/assets/DocsRenderer-NNNQARDV-1147b609.js similarity index 89% rename from docs/assets/DocsRenderer-NNNQARDV-d9907032.js rename to docs/assets/DocsRenderer-NNNQARDV-1147b609.js index 88790f45..5dec8f16 100644 --- a/docs/assets/DocsRenderer-NNNQARDV-d9907032.js +++ b/docs/assets/DocsRenderer-NNNQARDV-1147b609.js @@ -1 +1 @@ -import{_ as p}from"./iframe-19c7c3ad.js";import{R as e,r as c}from"./index-1b03fe98.js";import{r as l,u}from"./react-18-5df836b6.js";import{C as h,A as E,H as d,D as x}from"./index-21c4db47.js";import"../sb-preview/runtime.js";import"./index-6fd5a17b.js";import"./chunk-ZGA76URP-2bd2442b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";var _={code:h,a:E,...d},D=class extends c.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},F=class{constructor(){this.render=async(t,r,o)=>{let n={..._,...r==null?void 0:r.components},s=x;return new Promise((m,a)=>{p(()=>import("./index-0dd2673f.js"),["./index-0dd2673f.js","./index-2ef8b458.js","./index-1b03fe98.js"],import.meta.url).then(({MDXProvider:i})=>l(e.createElement(D,{showException:a,key:Math.random()},e.createElement(i,{components:n},e.createElement(s,{context:t,docsParameter:r}))),o)).then(()=>m())})},this.unmount=t=>{u(t)}}};export{F as DocsRenderer,_ as defaultComponents}; +import{_ as p}from"./iframe-653d232b.js";import{R as e,r as c}from"./index-1b03fe98.js";import{r as l,u}from"./react-18-5df836b6.js";import{C as h,A as E,H as d,D as x}from"./index-8e1aaa9d.js";import"../sb-preview/runtime.js";import"./index-6fd5a17b.js";import"./chunk-ZGA76URP-2bd2442b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";var _={code:h,a:E,...d},D=class extends c.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},F=class{constructor(){this.render=async(t,r,o)=>{let n={..._,...r==null?void 0:r.components},s=x;return new Promise((m,a)=>{p(()=>import("./index-0dd2673f.js"),["./index-0dd2673f.js","./index-2ef8b458.js","./index-1b03fe98.js"],import.meta.url).then(({MDXProvider:i})=>l(e.createElement(D,{showException:a,key:Math.random()},e.createElement(i,{components:n},e.createElement(s,{context:t,docsParameter:r}))),o)).then(()=>m())})},this.unmount=t=>{u(t)}}};export{F as DocsRenderer,_ as defaultComponents}; diff --git a/docs/assets/Drawer.stories-3cceda62.js b/docs/assets/Drawer.stories-169841bc.js similarity index 98% rename from docs/assets/Drawer.stories-3cceda62.js rename to docs/assets/Drawer.stories-169841bc.js index 7ac430e7..b28db1b5 100644 --- a/docs/assets/Drawer.stories-3cceda62.js +++ b/docs/assets/Drawer.stories-169841bc.js @@ -1,4 +1,4 @@ -import{t as T,a as i,j as e}from"./tw-merge-0a3648bd.js";import{r as o}from"./index-1b03fe98.js";import{c}from"./clsx.m-1229b3e0.js";import{B as g}from"./Button-e9ac0f78.js";import{N as F}from"./index-1e3c83a2.js";import{M as a}from"./index-44e44375.js";import"./index-a55c3a76.js";const h=({children:s,side:r,open:l,end:n,dataTheme:t,className:D,toggleClassName:O,contentClassName:B,sideClassName:q,overlayClassName:_,onClickOverlay:j,...L})=>{const R=T("drawer",D,c({"drawer-end":n}));return i("div",{"aria-expanded":l,...L,"data-theme":t,className:R,children:[e("input",{type:"checkbox",className:c("drawer-toggle",O),checked:l,readOnly:!0}),e("div",{className:c("drawer-content",B),children:s}),i("div",{className:c("drawer-side",q),children:[e("label",{className:c("drawer-overlay",_),onClick:j}),r]})]})},p=h;try{h.displayName="Drawer",h.__docgenInfo={description:"",displayName:"Drawer",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},side:{defaultValue:null,description:"",name:"side",required:!0,type:{name:"ReactNode"}},open:{defaultValue:null,description:"",name:"open",required:!1,type:{name:"boolean"}},end:{defaultValue:null,description:"",name:"end",required:!1,type:{name:"boolean"}},toggleClassName:{defaultValue:null,description:"",name:"toggleClassName",required:!1,type:{name:"string"}},contentClassName:{defaultValue:null,description:"",name:"contentClassName",required:!1,type:{name:"string"}},sideClassName:{defaultValue:null,description:"",name:"sideClassName",required:!1,type:{name:"string"}},overlayClassName:{defaultValue:null,description:"",name:"overlayClassName",required:!1,type:{name:"string"}},onClickOverlay:{defaultValue:null,description:"",name:"onClickOverlay",required:!1,type:{name:"(() => void)"}}}}}catch{}const H={title:"Layout/Drawer",component:p,argTypes:{side:{control:!1}}},d=s=>{const[r,l]=o.useState(!1),n=o.useCallback(()=>{l(t=>!t)},[]);return e(p,{...s,open:r,onClickOverlay:n,side:i(a,{className:"p-4 w-80 h-full bg-base-200 text-base-content",children:[e(a.Item,{children:e("a",{children:"Sidebar Item 1"})}),e(a.Item,{children:e("a",{children:"Sidebar Item 2"})})]}),children:e(g,{color:"primary",onClick:n,children:"Open drawer"})})};d.args={sideClassName:"h-full absolute",contentClassName:"flex h-56 items-center justify-center"};const m=s=>{const[r,l]=o.useState(!1),n=o.useCallback(()=>{l(t=>!t)},[]);return e(p,{...s,open:r,onClickOverlay:n,side:i(a,{className:"p-4 w-80 h-full bg-base-200 text-base-content",children:[e(a.Item,{children:e("a",{children:"Sidebar Item 1"})}),e(a.Item,{children:e("a",{children:"Sidebar Item 2"})})]}),children:e(g,{color:"primary",onClick:n,className:"lg:hidden",children:"Open drawer"})})};m.args={className:"lg:drawer-open",sideClassName:"h-full absolute",contentClassName:"flex h-56 items-center justify-center"};const u=s=>{const[r,l]=o.useState(!1),n=o.useCallback(()=>{l(t=>!t)},[]);return i(p,{...s,open:r,onClickOverlay:n,side:i(a,{className:"p-4 w-60 md:w-80 h-full bg-base-200",children:[e(a.Item,{children:e("a",{children:"Sidebar Item 1"})}),e(a.Item,{children:e("a",{children:"Sidebar Item 2"})})]}),children:[i(F,{className:"w-full bg-base-300",children:[e("div",{className:"flex-none lg:hidden",children:e(g,{shape:"square",color:"ghost",onClick:n,children:e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-6 h-6 stroke-current",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})})}),e("div",{className:"flex-1 px-2 mx-2",children:"Navbar Title"}),e("div",{className:"flex-none hidden lg:block",children:i(a,{horizontal:!0,children:[e(a.Item,{children:e("a",{children:"Navbar Item 1"})}),e(a.Item,{children:e("a",{children:"Navbar Item 2"})})]})})]}),e("div",{className:"flex flex-grow items-center justify-center",children:"Content"})]})};u.args={className:"h-56 rounded overflow-hidden",contentClassName:"flex flex-col"};const b=s=>{const[r,l]=o.useState(!1),n=o.useCallback(()=>{l(t=>!t)},[]);return e(p,{...s,open:r,onClickOverlay:n,side:i(a,{className:"p-4 w-80 h-full bg-base-200 text-base-content",children:[e(a.Item,{children:e("a",{children:"Sidebar Item 1"})}),e(a.Item,{children:e("a",{children:"Sidebar Item 2"})})]}),children:e(g,{color:"primary",onClick:n,children:"Open drawer"})})};b.args={sideClassName:"h-full absolute",contentClassName:"flex h-56 items-center justify-center",end:!0};var f,v,N;d.parameters={...d.parameters,docs:{...(f=d.parameters)==null?void 0:f.docs,source:{originalSource:`args => { +import{t as T,a as i,j as e}from"./tw-merge-0a3648bd.js";import{r as o}from"./index-1b03fe98.js";import{c}from"./clsx.m-1229b3e0.js";import{B as g}from"./Button-0267a47f.js";import{N as F}from"./index-c01ba1f2.js";import{M as a}from"./index-44e44375.js";import"./index-a55c3a76.js";const h=({children:s,side:r,open:l,end:n,dataTheme:t,className:D,toggleClassName:O,contentClassName:B,sideClassName:q,overlayClassName:_,onClickOverlay:j,...L})=>{const R=T("drawer",D,c({"drawer-end":n}));return i("div",{"aria-expanded":l,...L,"data-theme":t,className:R,children:[e("input",{type:"checkbox",className:c("drawer-toggle",O),checked:l,readOnly:!0}),e("div",{className:c("drawer-content",B),children:s}),i("div",{className:c("drawer-side",q),children:[e("label",{className:c("drawer-overlay",_),onClick:j}),r]})]})},p=h;try{h.displayName="Drawer",h.__docgenInfo={description:"",displayName:"Drawer",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},side:{defaultValue:null,description:"",name:"side",required:!0,type:{name:"ReactNode"}},open:{defaultValue:null,description:"",name:"open",required:!1,type:{name:"boolean"}},end:{defaultValue:null,description:"",name:"end",required:!1,type:{name:"boolean"}},toggleClassName:{defaultValue:null,description:"",name:"toggleClassName",required:!1,type:{name:"string"}},contentClassName:{defaultValue:null,description:"",name:"contentClassName",required:!1,type:{name:"string"}},sideClassName:{defaultValue:null,description:"",name:"sideClassName",required:!1,type:{name:"string"}},overlayClassName:{defaultValue:null,description:"",name:"overlayClassName",required:!1,type:{name:"string"}},onClickOverlay:{defaultValue:null,description:"",name:"onClickOverlay",required:!1,type:{name:"(() => void)"}}}}}catch{}const H={title:"Layout/Drawer",component:p,argTypes:{side:{control:!1}}},d=s=>{const[r,l]=o.useState(!1),n=o.useCallback(()=>{l(t=>!t)},[]);return e(p,{...s,open:r,onClickOverlay:n,side:i(a,{className:"p-4 w-80 h-full bg-base-200 text-base-content",children:[e(a.Item,{children:e("a",{children:"Sidebar Item 1"})}),e(a.Item,{children:e("a",{children:"Sidebar Item 2"})})]}),children:e(g,{color:"primary",onClick:n,children:"Open drawer"})})};d.args={sideClassName:"h-full absolute",contentClassName:"flex h-56 items-center justify-center"};const m=s=>{const[r,l]=o.useState(!1),n=o.useCallback(()=>{l(t=>!t)},[]);return e(p,{...s,open:r,onClickOverlay:n,side:i(a,{className:"p-4 w-80 h-full bg-base-200 text-base-content",children:[e(a.Item,{children:e("a",{children:"Sidebar Item 1"})}),e(a.Item,{children:e("a",{children:"Sidebar Item 2"})})]}),children:e(g,{color:"primary",onClick:n,className:"lg:hidden",children:"Open drawer"})})};m.args={className:"lg:drawer-open",sideClassName:"h-full absolute",contentClassName:"flex h-56 items-center justify-center"};const u=s=>{const[r,l]=o.useState(!1),n=o.useCallback(()=>{l(t=>!t)},[]);return i(p,{...s,open:r,onClickOverlay:n,side:i(a,{className:"p-4 w-60 md:w-80 h-full bg-base-200",children:[e(a.Item,{children:e("a",{children:"Sidebar Item 1"})}),e(a.Item,{children:e("a",{children:"Sidebar Item 2"})})]}),children:[i(F,{className:"w-full bg-base-300",children:[e("div",{className:"flex-none lg:hidden",children:e(g,{shape:"square",color:"ghost",onClick:n,children:e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-6 h-6 stroke-current",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})})}),e("div",{className:"flex-1 px-2 mx-2",children:"Navbar Title"}),e("div",{className:"flex-none hidden lg:block",children:i(a,{horizontal:!0,children:[e(a.Item,{children:e("a",{children:"Navbar Item 1"})}),e(a.Item,{children:e("a",{children:"Navbar Item 2"})})]})})]}),e("div",{className:"flex flex-grow items-center justify-center",children:"Content"})]})};u.args={className:"h-56 rounded overflow-hidden",contentClassName:"flex flex-col"};const b=s=>{const[r,l]=o.useState(!1),n=o.useCallback(()=>{l(t=>!t)},[]);return e(p,{...s,open:r,onClickOverlay:n,side:i(a,{className:"p-4 w-80 h-full bg-base-200 text-base-content",children:[e(a.Item,{children:e("a",{children:"Sidebar Item 1"})}),e(a.Item,{children:e("a",{children:"Sidebar Item 2"})})]}),children:e(g,{color:"primary",onClick:n,children:"Open drawer"})})};b.args={sideClassName:"h-full absolute",contentClassName:"flex h-56 items-center justify-center",end:!0};var f,v,N;d.parameters={...d.parameters,docs:{...(f=d.parameters)==null?void 0:f.docs,source:{originalSource:`args => { const [visible, setVisible] = useState(false); const toggleVisible = useCallback(() => { setVisible(visible => !visible); diff --git a/docs/assets/Dropdown.stories-bf9b5a3e.js b/docs/assets/Dropdown.stories-73de5173.js similarity index 96% rename from docs/assets/Dropdown.stories-bf9b5a3e.js rename to docs/assets/Dropdown.stories-73de5173.js index b30c2a78..5647763e 100644 --- a/docs/assets/Dropdown.stories-bf9b5a3e.js +++ b/docs/assets/Dropdown.stories-73de5173.js @@ -1,4 +1,4 @@ -import{j as e,a as o}from"./tw-merge-0a3648bd.js";import{D as r}from"./index-abb70d26.js";import{C as c}from"./index-3c968524.js";import{N as l}from"./index-1e3c83a2.js";import{B as y}from"./Button-e9ac0f78.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const A={title:"Actions/Dropdown",component:r,argTypes:{item:{control:!1}}},s=n=>e("div",{className:"my-32",children:o(r,{...n,children:[e(r.Toggle,{children:"Click"}),o(r.Menu,{className:"w-52",children:[e(r.Item,{children:"Item 1"}),e(r.Item,{children:"Item 2"})]})]})}),d=n=>e("div",{className:"my-32",children:o(r,{...n,children:[e(r.Toggle,{children:"Click"}),e(r.Menu,{className:"card card-compact w-64 p-2 shadow bg-primary text-primary-content m-1",children:o(c.Body,{children:[e(c.Title,{tag:"h3",children:"Card title!"}),e("p",{children:"you can use any element as a dropdown."})]})})]})}),a=({dataTheme:n,...v})=>o(l,{className:"my-32 px-2 font-sans bg-base-300 rounded-box",dataTheme:n,children:[e(l.Start,{className:"px-2 lg:flex-none",children:e("span",{className:"text-lg font-bold",children:"daisyUI"})}),o(l.End,{children:[e(y,{color:"ghost",dataTheme:n,children:"Button"}),o(r,{...v,dataTheme:n,children:[e(r.Toggle,{className:"btn btn-ghost rounded-btn",button:!1,children:"Dropdown"}),o(r.Menu,{className:"w-52 mt-4",children:[e(r.Item,{children:"Item 1"}),e(r.Item,{children:"Item 2"})]})]})]})]});a.args={end:!0};const t=n=>o("div",{className:"my-32 font-sans",children:["A normal text and a helper dropdown",o(r,{...n,children:[e(r.Toggle,{button:!1,className:"btn btn-circle btn-ghost btn-xs text-info",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"w-4 h-4 stroke-current",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),e(r.Menu,{className:"card compact w-64 !p-0 shadow bg-base-100 rounded-box",children:o(c.Body,{children:[e(c.Title,{tag:"h2",children:"You needed more info?"}),e("p",{children:"Here is a description!"})]})})]})]});t.args={end:!0};var m,p,i;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`args => { +import{j as e,a as o}from"./tw-merge-0a3648bd.js";import{D as r}from"./index-b9536e2d.js";import{C as c}from"./index-3c968524.js";import{N as l}from"./index-c01ba1f2.js";import{B as y}from"./Button-0267a47f.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const A={title:"Actions/Dropdown",component:r,argTypes:{item:{control:!1}}},s=n=>e("div",{className:"my-32",children:o(r,{...n,children:[e(r.Toggle,{children:"Click"}),o(r.Menu,{className:"w-52",children:[e(r.Item,{children:"Item 1"}),e(r.Item,{children:"Item 2"})]})]})}),d=n=>e("div",{className:"my-32",children:o(r,{...n,children:[e(r.Toggle,{children:"Click"}),e(r.Menu,{className:"card card-compact w-64 p-2 shadow bg-primary text-primary-content m-1",children:o(c.Body,{children:[e(c.Title,{tag:"h3",children:"Card title!"}),e("p",{children:"you can use any element as a dropdown."})]})})]})}),a=({dataTheme:n,...v})=>o(l,{className:"my-32 px-2 font-sans bg-base-300 rounded-box",dataTheme:n,children:[e(l.Start,{className:"px-2 lg:flex-none",children:e("span",{className:"text-lg font-bold",children:"daisyUI"})}),o(l.End,{children:[e(y,{color:"ghost",dataTheme:n,children:"Button"}),o(r,{...v,dataTheme:n,children:[e(r.Toggle,{className:"btn btn-ghost rounded-btn",button:!1,children:"Dropdown"}),o(r.Menu,{className:"w-52 mt-4",children:[e(r.Item,{children:"Item 1"}),e(r.Item,{children:"Item 2"})]})]})]})]});a.args={end:!0};const t=n=>o("div",{className:"my-32 font-sans",children:["A normal text and a helper dropdown",o(r,{...n,children:[e(r.Toggle,{button:!1,className:"btn btn-circle btn-ghost btn-xs text-info",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"w-4 h-4 stroke-current",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),e(r.Menu,{className:"card compact w-64 !p-0 shadow bg-base-100 rounded-box",children:o(c.Body,{children:[e(c.Title,{tag:"h2",children:"You needed more info?"}),e("p",{children:"Here is a description!"})]})})]})]});t.args={end:!0};var m,p,i;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`args => { return
Click diff --git a/docs/assets/DropdownDetails.stories-cfa84896.js b/docs/assets/DropdownDetails.stories-4774b894.js similarity index 88% rename from docs/assets/DropdownDetails.stories-cfa84896.js rename to docs/assets/DropdownDetails.stories-4774b894.js index 413a79e2..2ee580b8 100644 --- a/docs/assets/DropdownDetails.stories-cfa84896.js +++ b/docs/assets/DropdownDetails.stories-4774b894.js @@ -1,4 +1,4 @@ -import{j as r,a as t}from"./tw-merge-0a3648bd.js";import{D as e}from"./index-abb70d26.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./Button-e9ac0f78.js";import"./index-a55c3a76.js";const w={title:"Actions/Dropdown/Details",component:e.Details},o=i=>r("div",{className:"my-32",children:t(e.Details,{...i,children:[r(e.Details.Toggle,{children:"Click"}),t(e.Menu,{className:"w-52",children:[r(e.Item,{children:"Item 1"}),r(e.Item,{children:"Item 2"})]})]})});o.args={};var s,n,a;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:`args => { +import{j as r,a as t}from"./tw-merge-0a3648bd.js";import{D as e}from"./index-b9536e2d.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./Button-0267a47f.js";import"./index-a55c3a76.js";const w={title:"Actions/Dropdown/Details",component:e.Details},o=i=>r("div",{className:"my-32",children:t(e.Details,{...i,children:[r(e.Details.Toggle,{children:"Click"}),t(e.Menu,{className:"w-52",children:[r(e.Item,{children:"Item 1"}),r(e.Item,{children:"Item 2"})]})]})});o.args={};var s,n,a;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:`args => { return
Click diff --git a/docs/assets/Hero.stories-e9f74b65.js b/docs/assets/Hero.stories-95b258de.js similarity index 99% rename from docs/assets/Hero.stories-e9f74b65.js rename to docs/assets/Hero.stories-95b258de.js index 7e1ff92f..eb8daa88 100644 --- a/docs/assets/Hero.stories-e9f74b65.js +++ b/docs/assets/Hero.stories-95b258de.js @@ -1,4 +1,4 @@ -import{j as e,a as t}from"./tw-merge-0a3648bd.js";import{H as a}from"./Hero-9639dab2.js";import{B as d}from"./Button-e9ac0f78.js";import{C as c}from"./index-3c968524.js";import{I as m}from"./index-0ee0d1a2.js";import{F as n}from"./index-cdaabc1d.js";import{L as C}from"./index-6329c95a.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const O={title:"Layout/Hero",component:a,args:{className:"bg-base-200 min-h-[30rem]"}},s=r=>e(a,{...r,children:e(a.Content,{className:"text-center",children:t("div",{className:"max-w-md",children:[e("h1",{className:"text-5xl font-bold",children:"Hello there"}),e("p",{className:"py-6",children:"Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a id nisi."}),e(d,{color:"primary",children:"Get Started"})]})})}),o=r=>e(a,{...r,children:t(a.Content,{children:[e("img",{src:"https://daisyui.com/images/stock/photo-1635805737707-575885ab0820.jpg",className:"max-w-sm rounded-lg shadow-2xl"}),t("div",{children:[e("h1",{className:"text-5xl font-bold",children:"Box Office News!"}),e("p",{className:"py-6",children:"Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a id nisi."}),e(d,{color:"primary",children:"Get Started"})]})]})}),l=r=>e(a,{...r,children:t(a.Content,{className:"flex-col lg:flex-row-reverse",children:[t("div",{className:"text-center lg:text-left",children:[e("h1",{className:"text-5xl font-bold",children:"Login now!"}),e("p",{className:"py-6",children:"Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a id nisi."})]}),e(c,{className:"flex-shrink-0 w-full max-w-sm shadow-2xl bg-base-100",children:t(c.Body,{children:[t(n,{children:[e(n.Label,{title:"Email"}),e(m,{type:"text",placeholder:"email",className:"input-bordered"})]}),t(n,{children:[e(n.Label,{title:"Password"}),e(m,{type:"text",placeholder:"password",className:"input-bordered"}),e("label",{className:"label",children:e(C,{href:"#",className:"label-text-alt",hover:!0,children:"Forgot password?"})})]}),e(n,{className:"mt-6",children:e(d,{children:"Login"})})]})})]})}),i=r=>t(a,{style:{backgroundImage:"url(https://daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.jpg)"},children:[e(a.Overlay,{...r}),e(a.Content,{className:"text-center",children:t("div",{className:"max-w-md",children:[e("h1",{className:"text-5xl font-bold",children:"Hello there"}),e("p",{className:"py-6",children:"Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a id nisi."}),e(d,{color:"primary",children:"Get Started"})]})})]});i.args={className:"bg-opacity-60"};s.args={};var u,p,h;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:`args => { +import{j as e,a as t}from"./tw-merge-0a3648bd.js";import{H as a}from"./Hero-9639dab2.js";import{B as d}from"./Button-0267a47f.js";import{C as c}from"./index-3c968524.js";import{I as m}from"./index-0ee0d1a2.js";import{F as n}from"./index-cdaabc1d.js";import{L as C}from"./index-6329c95a.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const O={title:"Layout/Hero",component:a,args:{className:"bg-base-200 min-h-[30rem]"}},s=r=>e(a,{...r,children:e(a.Content,{className:"text-center",children:t("div",{className:"max-w-md",children:[e("h1",{className:"text-5xl font-bold",children:"Hello there"}),e("p",{className:"py-6",children:"Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a id nisi."}),e(d,{color:"primary",children:"Get Started"})]})})}),o=r=>e(a,{...r,children:t(a.Content,{children:[e("img",{src:"https://daisyui.com/images/stock/photo-1635805737707-575885ab0820.jpg",className:"max-w-sm rounded-lg shadow-2xl"}),t("div",{children:[e("h1",{className:"text-5xl font-bold",children:"Box Office News!"}),e("p",{className:"py-6",children:"Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a id nisi."}),e(d,{color:"primary",children:"Get Started"})]})]})}),l=r=>e(a,{...r,children:t(a.Content,{className:"flex-col lg:flex-row-reverse",children:[t("div",{className:"text-center lg:text-left",children:[e("h1",{className:"text-5xl font-bold",children:"Login now!"}),e("p",{className:"py-6",children:"Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a id nisi."})]}),e(c,{className:"flex-shrink-0 w-full max-w-sm shadow-2xl bg-base-100",children:t(c.Body,{children:[t(n,{children:[e(n.Label,{title:"Email"}),e(m,{type:"text",placeholder:"email",className:"input-bordered"})]}),t(n,{children:[e(n.Label,{title:"Password"}),e(m,{type:"text",placeholder:"password",className:"input-bordered"}),e("label",{className:"label",children:e(C,{href:"#",className:"label-text-alt",hover:!0,children:"Forgot password?"})})]}),e(n,{className:"mt-6",children:e(d,{children:"Login"})})]})})]})}),i=r=>t(a,{style:{backgroundImage:"url(https://daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.jpg)"},children:[e(a.Overlay,{...r}),e(a.Content,{className:"text-center",children:t("div",{className:"max-w-md",children:[e("h1",{className:"text-5xl font-bold",children:"Hello there"}),e("p",{className:"py-6",children:"Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a id nisi."}),e(d,{color:"primary",children:"Get Started"})]})})]});i.args={className:"bg-opacity-60"};s.args={};var u,p,h;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:`args => { return
diff --git a/docs/assets/Indicator.stories-f48c90e3.js b/docs/assets/Indicator.stories-a722f409.js similarity index 99% rename from docs/assets/Indicator.stories-f48c90e3.js rename to docs/assets/Indicator.stories-a722f409.js index 02eea33a..653a7588 100644 --- a/docs/assets/Indicator.stories-f48c90e3.js +++ b/docs/assets/Indicator.stories-a722f409.js @@ -1,4 +1,4 @@ -import{a as t,j as e}from"./tw-merge-0a3648bd.js";import{I as a}from"./index-e97e44e7.js";import{A as Me}from"./index-6ae1381f.js";import{B as s}from"./index-ccb0f6f2.js";import{B as Fe}from"./Button-e9ac0f78.js";import{T as y}from"./index-eb20e8d5.js";import{I as Re}from"./index-0ee0d1a2.js";import{C as f}from"./index-3c968524.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./utils-25597068.js";import"./index-a55c3a76.js";const Ge={title:"Layout/Indicator",component:a.Item},n=r=>t(a,{children:[e(a.Item,{...r}),e("div",{className:"grid w-32 h-32 rounded bg-base-300 place-items-center",children:"content"})]});n.args={className:"badge badge-secondary"};const T=r=>t(a,{children:[e(s,{color:"primary",className:a.Item.className(r),children:"new"}),e("div",{className:"grid w-32 h-32 rounded bg-base-300 place-items-center",children:"content"})]}),z=r=>t(a,{children:[e(s,{color:"secondary",className:a.Item.className(r),children:"99+"}),e(Fe,{children:"inbox"})]}),c=r=>t(y,{variant:"lifted",value:1,children:[e(y.Tab,{value:0,children:"Messages"}),t(y.Tab,{className:a.className(),value:1,children:["Notifications",e(a.Item,{...r,children:"8"})]}),e(y.Tab,{value:2,children:"Request"})]});c.args={className:"badge"};const A=r=>t(a,{children:[e(s,{className:a.Item.className(r),color:"secondary",children:"typing…"}),e(Me,{shape:"square",src:"https://daisyui.com/images/stock/photo-1534528741775-53994a69daeb.jpg"})]}),d=r=>t(a,{children:[e(a.Item,{...r,children:"Required"}),e(Re,{placeholder:"Your email address",bordered:!0})]});d.args={className:"badge"};const i=r=>t(a,{className:"my-6 mx-10",children:[e(Fe,{color:"primary",className:a.Item.className(r),children:"Apply"}),e(f,{bordered:!0,className:"bg-base-100",children:t(f.Body,{children:[e(f.Title,{children:"Job Title"}),e("p",{children:"Rerum reiciendis beatae tenetur excepturi"})]})})]});i.args={vertical:"bottom"};const m=r=>t(a,{children:[e(s,{color:"secondary",className:a.Item.className(r),children:"Uploading Image..."}),e("img",{src:"https://daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.jpg"})]});m.args={vertical:"middle",horizontal:"center"};const o=r=>t(a,{children:[e(s,{color:"secondary",className:a.Item.className(r)}),e("div",{className:"grid w-32 h-32 rounded bg-base-300 place-items-center",children:"content"})]}),l=o.bind({});l.args={horizontal:"start"};const g=o.bind({});g.args={horizontal:"center"};const S=o.bind({}),p=o.bind({});p.args={horizontal:"start",vertical:"middle"};const u=o.bind({});u.args={horizontal:"center",vertical:"middle"};const I=o.bind({});I.args={vertical:"middle"};const N=o.bind({});N.args={horizontal:"start",vertical:"bottom"};const b=o.bind({});b.args={horizontal:"center",vertical:"bottom"};const h=o.bind({});h.args={vertical:"bottom"};const v=r=>t(a,{...r,children:[e(s,{color:"secondary",className:a.Item.className({vertical:"top",horizontal:"start"}),children:"top+start"}),e(s,{color:"secondary",className:a.Item.className({vertical:"top",horizontal:"center"}),children:"top+center"}),e(s,{color:"secondary",className:a.Item.className({vertical:"top",horizontal:"end"}),children:"top+end"}),e(s,{color:"secondary",className:a.Item.className({vertical:"middle",horizontal:"start"}),children:"middle+start"}),e(s,{color:"secondary",className:a.Item.className({vertical:"middle",horizontal:"center"}),children:"middle+center"}),e(s,{color:"secondary",className:a.Item.className({vertical:"middle",horizontal:"end"}),children:"middle+end"}),e(s,{color:"secondary",className:a.Item.className({vertical:"bottom",horizontal:"start"}),children:"bottom+start"}),e(s,{color:"secondary",className:a.Item.className({vertical:"bottom",horizontal:"center"}),children:"bottom+center"}),e(s,{color:"secondary",className:a.Item.className({vertical:"bottom",horizontal:"end"}),children:"bottom+end"}),e("div",{className:"grid w-60 h-32 bg-base-300 place-items-center",children:"content"})]});v.argTypes={horizontal:{control:!1},vertical:{control:!1}};const B=o.bind({});B.args={className:"sm:indicator-middle md:indicator-bottom lg:indicator-center xl:indicator-end",horizontal:"start"};var w,C,x;n.parameters={...n.parameters,docs:{...(w=n.parameters)==null?void 0:w.docs,source:{originalSource:`args => { +import{a as t,j as e}from"./tw-merge-0a3648bd.js";import{I as a}from"./index-202b124b.js";import{A as Me}from"./index-6ae1381f.js";import{B as s}from"./index-ccb0f6f2.js";import{B as Fe}from"./Button-0267a47f.js";import{T as y}from"./index-eb20e8d5.js";import{I as Re}from"./index-0ee0d1a2.js";import{C as f}from"./index-3c968524.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./utils-25597068.js";import"./index-a55c3a76.js";const Ge={title:"Layout/Indicator",component:a.Item},n=r=>t(a,{children:[e(a.Item,{...r}),e("div",{className:"grid w-32 h-32 rounded bg-base-300 place-items-center",children:"content"})]});n.args={className:"badge badge-secondary"};const T=r=>t(a,{children:[e(s,{color:"primary",className:a.Item.className(r),children:"new"}),e("div",{className:"grid w-32 h-32 rounded bg-base-300 place-items-center",children:"content"})]}),z=r=>t(a,{children:[e(s,{color:"secondary",className:a.Item.className(r),children:"99+"}),e(Fe,{children:"inbox"})]}),c=r=>t(y,{variant:"lifted",value:1,children:[e(y.Tab,{value:0,children:"Messages"}),t(y.Tab,{className:a.className(),value:1,children:["Notifications",e(a.Item,{...r,children:"8"})]}),e(y.Tab,{value:2,children:"Request"})]});c.args={className:"badge"};const A=r=>t(a,{children:[e(s,{className:a.Item.className(r),color:"secondary",children:"typing…"}),e(Me,{shape:"square",src:"https://daisyui.com/images/stock/photo-1534528741775-53994a69daeb.jpg"})]}),d=r=>t(a,{children:[e(a.Item,{...r,children:"Required"}),e(Re,{placeholder:"Your email address",bordered:!0})]});d.args={className:"badge"};const i=r=>t(a,{className:"my-6 mx-10",children:[e(Fe,{color:"primary",className:a.Item.className(r),children:"Apply"}),e(f,{bordered:!0,className:"bg-base-100",children:t(f.Body,{children:[e(f.Title,{children:"Job Title"}),e("p",{children:"Rerum reiciendis beatae tenetur excepturi"})]})})]});i.args={vertical:"bottom"};const m=r=>t(a,{children:[e(s,{color:"secondary",className:a.Item.className(r),children:"Uploading Image..."}),e("img",{src:"https://daisyui.com/images/stock/photo-1606107557195-0e29a4b5b4aa.jpg"})]});m.args={vertical:"middle",horizontal:"center"};const o=r=>t(a,{children:[e(s,{color:"secondary",className:a.Item.className(r)}),e("div",{className:"grid w-32 h-32 rounded bg-base-300 place-items-center",children:"content"})]}),l=o.bind({});l.args={horizontal:"start"};const g=o.bind({});g.args={horizontal:"center"};const S=o.bind({}),p=o.bind({});p.args={horizontal:"start",vertical:"middle"};const u=o.bind({});u.args={horizontal:"center",vertical:"middle"};const I=o.bind({});I.args={vertical:"middle"};const N=o.bind({});N.args={horizontal:"start",vertical:"bottom"};const b=o.bind({});b.args={horizontal:"center",vertical:"bottom"};const h=o.bind({});h.args={vertical:"bottom"};const v=r=>t(a,{...r,children:[e(s,{color:"secondary",className:a.Item.className({vertical:"top",horizontal:"start"}),children:"top+start"}),e(s,{color:"secondary",className:a.Item.className({vertical:"top",horizontal:"center"}),children:"top+center"}),e(s,{color:"secondary",className:a.Item.className({vertical:"top",horizontal:"end"}),children:"top+end"}),e(s,{color:"secondary",className:a.Item.className({vertical:"middle",horizontal:"start"}),children:"middle+start"}),e(s,{color:"secondary",className:a.Item.className({vertical:"middle",horizontal:"center"}),children:"middle+center"}),e(s,{color:"secondary",className:a.Item.className({vertical:"middle",horizontal:"end"}),children:"middle+end"}),e(s,{color:"secondary",className:a.Item.className({vertical:"bottom",horizontal:"start"}),children:"bottom+start"}),e(s,{color:"secondary",className:a.Item.className({vertical:"bottom",horizontal:"center"}),children:"bottom+center"}),e(s,{color:"secondary",className:a.Item.className({vertical:"bottom",horizontal:"end"}),children:"bottom+end"}),e("div",{className:"grid w-60 h-32 bg-base-300 place-items-center",children:"content"})]});v.argTypes={horizontal:{control:!1},vertical:{control:!1}};const B=o.bind({});B.args={className:"sm:indicator-middle md:indicator-bottom lg:indicator-center xl:indicator-end",horizontal:"start"};var w,C,x;n.parameters={...n.parameters,docs:{...(w=n.parameters)==null?void 0:w.docs,source:{originalSource:`args => { return
diff --git a/docs/assets/Join.stories-9383d512.js b/docs/assets/Join.stories-6d5183fd.js similarity index 97% rename from docs/assets/Join.stories-9383d512.js rename to docs/assets/Join.stories-6d5183fd.js index f806ff78..8cb333ec 100644 --- a/docs/assets/Join.stories-9383d512.js +++ b/docs/assets/Join.stories-6d5183fd.js @@ -1,4 +1,4 @@ -import{a,j as e}from"./tw-merge-0a3648bd.js";import{J as o}from"./Join-47e05b2f.js";import{B as n}from"./Button-e9ac0f78.js";import{I as v}from"./index-0ee0d1a2.js";import{S as r}from"./index-cdac515a.js";import{I as d}from"./index-e97e44e7.js";import{B as E}from"./index-ccb0f6f2.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const L={title:"Layout/Join (group items)",component:o},i=t=>a(o,{...t,children:[e(n,{className:"join-item",children:"Button"}),e(n,{className:"join-item",children:"Button"}),e(n,{className:"join-item",children:"Button"})]});i.args={};const s=t=>a(o,{...t,children:[e(n,{className:"join-item",children:"Button"}),e(n,{className:"join-item",children:"Button"}),e(n,{className:"join-item",children:"Button"})]});s.args={vertical:!0};const c=t=>a(o,{...t,children:[e("div",{children:e("div",{children:e(v,{className:"join-item",placeholder:"Search..."})})}),a(r,{className:"join-item",children:[e(r.Option,{selected:!0,disabled:!0,children:"Category"}),e(r.Option,{children:"Sci-fi"}),e(r.Option,{children:"Drama"}),e(r.Option,{children:"Action"})]}),a(d,{children:[e(E,{color:"secondary",className:d.Item.className(),children:"new"}),e(n,{className:"join-item",children:"Search"})]})]});c.args={};const m=t=>a(o,{...t,children:[e(v,{className:"join-item",placeholder:"Email"}),e(n,{className:"join-item rounded-r-full",children:"Subscribe"})]});m.args={};const l=t=>a(o,{...t,children:[e("input",{className:"join-item btn",type:"radio",name:"options","aria-label":"Radio 1"}),e("input",{className:"join-item btn",type:"radio",name:"options","aria-label":"Radio 2"}),e("input",{className:"join-item btn",type:"radio",name:"options","aria-label":"Radio 3"})]});l.args={};var u,p,B;i.parameters={...i.parameters,docs:{...(u=i.parameters)==null?void 0:u.docs,source:{originalSource:`args => { +import{a,j as e}from"./tw-merge-0a3648bd.js";import{J as o}from"./Join-47e05b2f.js";import{B as n}from"./Button-0267a47f.js";import{I as v}from"./index-0ee0d1a2.js";import{S as r}from"./index-cdac515a.js";import{I as d}from"./index-202b124b.js";import{B as E}from"./index-ccb0f6f2.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const L={title:"Layout/Join (group items)",component:o},i=t=>a(o,{...t,children:[e(n,{className:"join-item",children:"Button"}),e(n,{className:"join-item",children:"Button"}),e(n,{className:"join-item",children:"Button"})]});i.args={};const s=t=>a(o,{...t,children:[e(n,{className:"join-item",children:"Button"}),e(n,{className:"join-item",children:"Button"}),e(n,{className:"join-item",children:"Button"})]});s.args={vertical:!0};const c=t=>a(o,{...t,children:[e("div",{children:e("div",{children:e(v,{className:"join-item",placeholder:"Search..."})})}),a(r,{className:"join-item",children:[e(r.Option,{selected:!0,disabled:!0,children:"Category"}),e(r.Option,{children:"Sci-fi"}),e(r.Option,{children:"Drama"}),e(r.Option,{children:"Action"})]}),a(d,{children:[e(E,{color:"secondary",className:d.Item.className(),children:"new"}),e(n,{className:"join-item",children:"Search"})]})]});c.args={};const m=t=>a(o,{...t,children:[e(v,{className:"join-item",placeholder:"Email"}),e(n,{className:"join-item rounded-r-full",children:"Subscribe"})]});m.args={};const l=t=>a(o,{...t,children:[e("input",{className:"join-item btn",type:"radio",name:"options","aria-label":"Radio 1"}),e("input",{className:"join-item btn",type:"radio",name:"options","aria-label":"Radio 2"}),e("input",{className:"join-item btn",type:"radio",name:"options","aria-label":"Radio 3"})]});l.args={};var u,p,B;i.parameters={...i.parameters,docs:{...(u=i.parameters)==null?void 0:u.docs,source:{originalSource:`args => { return diff --git a/docs/assets/Modal.stories-ce305c3b.js b/docs/assets/Modal.stories-d56d0980.js similarity index 98% rename from docs/assets/Modal.stories-ce305c3b.js rename to docs/assets/Modal.stories-d56d0980.js index fe38809f..9943bfa9 100644 --- a/docs/assets/Modal.stories-ce305c3b.js +++ b/docs/assets/Modal.stories-d56d0980.js @@ -1,4 +1,4 @@ -import{a,j as o}from"./tw-merge-0a3648bd.js";import{r as t}from"./index-1b03fe98.js";import{M as e}from"./index-1c7a8ea4.js";import{B as d}from"./Button-e9ac0f78.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const T={title:"Actions/Modal",component:e},h=s=>{const n=t.useRef(null),r=t.useCallback(()=>{var l;(l=n.current)==null||l.showModal()},[n]);return a("div",{className:"font-sans",children:[o(d,{onClick:r,children:"Open Modal"}),a(e,{...s,ref:n,children:[o(e.Header,{className:"font-bold",children:"Hello!"}),o(e.Body,{children:"Press ESC key or click the button below to close"}),o(e.Actions,{children:o("form",{method:"dialog",children:o(d,{children:"Close"})})})]})]})},c=s=>{const n=t.useRef(null),r=t.useCallback(()=>{var l;(l=n.current)==null||l.showModal()},[n]);return a("div",{className:"font-sans",children:[o(d,{onClick:r,children:"Open Modal"}),a(e,{...s,ref:n,children:[o(e.Header,{className:"font-bold",children:"Hello!"}),o(e.Body,{children:"Press ESC key or click outside to close"})]})]})};c.args={backdrop:!0};const u=s=>{const n=t.useRef(null),r=t.useCallback(()=>{var l;(l=n.current)==null||l.showModal()},[n]);return a("div",{className:"font-sans",children:[o(d,{onClick:r,children:"Open Modal"}),a(e,{...s,ref:n,children:[o("form",{method:"dialog",children:o(d,{size:"sm",color:"ghost",shape:"circle",className:"absolute right-2 top-2",children:"x"})}),o(e.Header,{className:"font-bold",children:"Hello!"}),o(e.Body,{children:"Press ESC key or click on X button to close"})]})]})},i=s=>{const n=t.useRef(null),r=t.useCallback(()=>{var l;(l=n.current)==null||l.showModal()},[n]);return a("div",{className:"font-sans",children:[o(d,{onClick:r,children:"Open Modal"}),a(e,{...s,ref:n,children:[o(e.Header,{className:"font-bold",children:"Hello!"}),o(e.Body,{children:"Press ESC key or click the button below to close"}),o(e.Actions,{children:o("form",{method:"dialog",children:o(d,{children:"Close"})})})]})]})};i.args={className:"w-11/12 max-w-5xl"};const m=s=>{const{Dialog:n,handleShow:r}=e.useDialog();return a("div",{className:"font-sans",children:[o(d,{onClick:r,children:"Open Modal"}),a(n,{...s,children:[o(e.Header,{className:"font-bold",children:"Hello!"}),o(e.Body,{children:"This modal works with useDialog hook!"}),o(e.Actions,{children:o("form",{method:"dialog",children:o(d,{children:"Close"})})})]})]})};var f,M,p;h.parameters={...h.parameters,docs:{...(f=h.parameters)==null?void 0:f.docs,source:{originalSource:`args => { +import{a,j as o}from"./tw-merge-0a3648bd.js";import{r as t}from"./index-1b03fe98.js";import{M as e}from"./index-1c7a8ea4.js";import{B as d}from"./Button-0267a47f.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const T={title:"Actions/Modal",component:e},h=s=>{const n=t.useRef(null),r=t.useCallback(()=>{var l;(l=n.current)==null||l.showModal()},[n]);return a("div",{className:"font-sans",children:[o(d,{onClick:r,children:"Open Modal"}),a(e,{...s,ref:n,children:[o(e.Header,{className:"font-bold",children:"Hello!"}),o(e.Body,{children:"Press ESC key or click the button below to close"}),o(e.Actions,{children:o("form",{method:"dialog",children:o(d,{children:"Close"})})})]})]})},c=s=>{const n=t.useRef(null),r=t.useCallback(()=>{var l;(l=n.current)==null||l.showModal()},[n]);return a("div",{className:"font-sans",children:[o(d,{onClick:r,children:"Open Modal"}),a(e,{...s,ref:n,children:[o(e.Header,{className:"font-bold",children:"Hello!"}),o(e.Body,{children:"Press ESC key or click outside to close"})]})]})};c.args={backdrop:!0};const u=s=>{const n=t.useRef(null),r=t.useCallback(()=>{var l;(l=n.current)==null||l.showModal()},[n]);return a("div",{className:"font-sans",children:[o(d,{onClick:r,children:"Open Modal"}),a(e,{...s,ref:n,children:[o("form",{method:"dialog",children:o(d,{size:"sm",color:"ghost",shape:"circle",className:"absolute right-2 top-2",children:"x"})}),o(e.Header,{className:"font-bold",children:"Hello!"}),o(e.Body,{children:"Press ESC key or click on X button to close"})]})]})},i=s=>{const n=t.useRef(null),r=t.useCallback(()=>{var l;(l=n.current)==null||l.showModal()},[n]);return a("div",{className:"font-sans",children:[o(d,{onClick:r,children:"Open Modal"}),a(e,{...s,ref:n,children:[o(e.Header,{className:"font-bold",children:"Hello!"}),o(e.Body,{children:"Press ESC key or click the button below to close"}),o(e.Actions,{children:o("form",{method:"dialog",children:o(d,{children:"Close"})})})]})]})};i.args={className:"w-11/12 max-w-5xl"};const m=s=>{const{Dialog:n,handleShow:r}=e.useDialog();return a("div",{className:"font-sans",children:[o(d,{onClick:r,children:"Open Modal"}),a(n,{...s,children:[o(e.Header,{className:"font-bold",children:"Hello!"}),o(e.Body,{children:"This modal works with useDialog hook!"}),o(e.Actions,{children:o("form",{method:"dialog",children:o(d,{children:"Close"})})})]})]})};var f,M,p;h.parameters={...h.parameters,docs:{...(f=h.parameters)==null?void 0:f.docs,source:{originalSource:`args => { const ref = useRef(null); const handleShow = useCallback(() => { ref.current?.showModal(); diff --git a/docs/assets/ModalLegacy.stories-c313fa45.js b/docs/assets/ModalLegacy.stories-ccac32c6.js similarity index 98% rename from docs/assets/ModalLegacy.stories-c313fa45.js rename to docs/assets/ModalLegacy.stories-ccac32c6.js index 93bc747f..a24d658e 100644 --- a/docs/assets/ModalLegacy.stories-c313fa45.js +++ b/docs/assets/ModalLegacy.stories-ccac32c6.js @@ -1,4 +1,4 @@ -import{a,j as e}from"./tw-merge-0a3648bd.js";import{r as b}from"./index-1b03fe98.js";import{M as o}from"./index-1c7a8ea4.js";import{B as i}from"./Button-e9ac0f78.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const x={title:"Actions/Modal/Legacy",component:o.Legacy},d=n=>{const[s,t]=b.useState(!1),l=()=>{t(!s)};return a("div",{className:"font-sans",children:[e(i,{onClick:l,children:"Open Modal"}),a(o.Legacy,{...n,open:s,children:[e(o.Header,{className:"font-bold",children:"Hello!"}),e(o.Body,{children:"This modal works with a legacy mode!"}),e(o.Actions,{children:e(i,{onClick:l,children:"Close"})})]})]})},r=n=>{const[s,t]=b.useState(!1),l=()=>{t(!s)};return a("div",{className:"font-sans",children:[e(i,{onClick:l,children:"Open Modal"}),a(o.Legacy,{...n,open:s,onClickBackdrop:l,children:[e(o.Header,{className:"font-bold",children:"Hello!"}),e(o.Body,{children:"Click outside to close"})]})]})},g=n=>{const[s,t]=b.useState(!1),l=()=>{t(!s)};return a("div",{className:"font-sans",children:[e(i,{onClick:l,children:"Open Modal"}),a(o.Legacy,{...n,open:s,children:[e(i,{size:"sm",color:"ghost",shape:"circle",className:"absolute right-2 top-2",onClick:l,children:"✕"}),e(o.Header,{className:"font-bold",children:"Hello!"}),e(o.Body,{children:"Click on X button to close"})]})]})},c=n=>{const[s,t]=b.useState(!1),l=()=>{t(!s)};return a("div",{className:"font-sans",children:[e(i,{onClick:l,children:"Open Modal"}),a(o.Legacy,{...n,open:s,children:[e(o.Header,{className:"font-bold",children:"Hello!"}),e(o.Body,{children:"This modal works with a legacy mode!"}),e(o.Actions,{children:e(i,{onClick:l,children:"Close"})})]})]})};c.args={className:"w-11/12 max-w-5xl"};var m,u,p;d.parameters={...d.parameters,docs:{...(m=d.parameters)==null?void 0:m.docs,source:{originalSource:`args => { +import{a,j as e}from"./tw-merge-0a3648bd.js";import{r as b}from"./index-1b03fe98.js";import{M as o}from"./index-1c7a8ea4.js";import{B as i}from"./Button-0267a47f.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const x={title:"Actions/Modal/Legacy",component:o.Legacy},d=n=>{const[s,t]=b.useState(!1),l=()=>{t(!s)};return a("div",{className:"font-sans",children:[e(i,{onClick:l,children:"Open Modal"}),a(o.Legacy,{...n,open:s,children:[e(o.Header,{className:"font-bold",children:"Hello!"}),e(o.Body,{children:"This modal works with a legacy mode!"}),e(o.Actions,{children:e(i,{onClick:l,children:"Close"})})]})]})},r=n=>{const[s,t]=b.useState(!1),l=()=>{t(!s)};return a("div",{className:"font-sans",children:[e(i,{onClick:l,children:"Open Modal"}),a(o.Legacy,{...n,open:s,onClickBackdrop:l,children:[e(o.Header,{className:"font-bold",children:"Hello!"}),e(o.Body,{children:"Click outside to close"})]})]})},g=n=>{const[s,t]=b.useState(!1),l=()=>{t(!s)};return a("div",{className:"font-sans",children:[e(i,{onClick:l,children:"Open Modal"}),a(o.Legacy,{...n,open:s,children:[e(i,{size:"sm",color:"ghost",shape:"circle",className:"absolute right-2 top-2",onClick:l,children:"✕"}),e(o.Header,{className:"font-bold",children:"Hello!"}),e(o.Body,{children:"Click on X button to close"})]})]})},c=n=>{const[s,t]=b.useState(!1),l=()=>{t(!s)};return a("div",{className:"font-sans",children:[e(i,{onClick:l,children:"Open Modal"}),a(o.Legacy,{...n,open:s,children:[e(o.Header,{className:"font-bold",children:"Hello!"}),e(o.Body,{children:"This modal works with a legacy mode!"}),e(o.Actions,{children:e(i,{onClick:l,children:"Close"})})]})]})};c.args={className:"w-11/12 max-w-5xl"};var m,u,p;d.parameters={...d.parameters,docs:{...(m=d.parameters)==null?void 0:m.docs,source:{originalSource:`args => { const [visible, setVisible] = useState(false); const toggleVisible = () => { setVisible(!visible); diff --git a/docs/assets/Navbar.stories-5c3fdc08.js b/docs/assets/Navbar.stories-b57b9c6f.js similarity index 98% rename from docs/assets/Navbar.stories-5c3fdc08.js rename to docs/assets/Navbar.stories-b57b9c6f.js index 8cdc2cb6..bc0f36ba 100644 --- a/docs/assets/Navbar.stories-5c3fdc08.js +++ b/docs/assets/Navbar.stories-b57b9c6f.js @@ -1,4 +1,4 @@ -import{j as e,a as n,F as O}from"./tw-merge-0a3648bd.js";import{N as s}from"./index-1e3c83a2.js";import{B as a}from"./Button-e9ac0f78.js";import{M as t}from"./index-44e44375.js";import{D as o}from"./index-abb70d26.js";import{F as G}from"./index-cdaabc1d.js";import{I as J}from"./index-0ee0d1a2.js";import{I as w}from"./index-e97e44e7.js";import{B as N}from"./index-ccb0f6f2.js";import{C as x}from"./index-3c968524.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const ce={title:"Navigation/Navbar",component:s,args:{className:"bg-base-100 shadow-xl rounded-box"}},u=r=>e(s,{...r,children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})}),g=r=>n(s,{...r,children:[e("div",{className:"flex-1",children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})}),e("div",{className:"flex-none",children:e(a,{tag:"a",shape:"square",color:"ghost",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-5 h-5 stroke-current",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z"})})})})]}),p=r=>n(s,{...r,children:[e("div",{className:"flex-none",children:e(a,{shape:"square",color:"ghost",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-5 h-5 stroke-current",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})}),e("div",{className:"flex-1",children:e(a,{tag:"a",color:"ghost",className:"normal-case text-xl",children:"daisyUI"})}),e("div",{className:"flex-none",children:e(a,{shape:"square",color:"ghost",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-5 h-5 stroke-current",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z"})})})})]}),l=r=>n(s,{...r,children:[e("div",{className:"flex-1",children:e(a,{tag:"a",color:"ghost",className:"normal-case text-xl",children:"daisyUI"})}),e("div",{className:"flex-none",children:n(t,{horizontal:!0,className:"px-1",children:[e(t.Item,{children:e("a",{children:"Link"})}),e(t.Item,{children:n("details",{children:[e("summary",{children:"Parent"}),n("ul",{className:"p-2 bg-base-100",children:[e("li",{children:e("a",{children:"Link 1"})}),e("li",{children:e("a",{children:"Link 2"})})]})]})})]})})]});l.args={className:"bg-base-100 mb-32 shadow-xl rounded-box"};const c=r=>n(s,{...r,children:[e("div",{className:"flex-1",children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})}),n("div",{className:"flex-none gap-2",children:[e(G,{children:e(J,{bordered:!0,type:"text",placeholder:"Search",className:"w-24 md:w-auto"})}),n(o,{end:!0,children:[e(a,{tag:"label",tabIndex:0,color:"ghost",className:"avatar",shape:"circle",children:e("div",{className:"w-10 rounded-full",children:e("img",{src:"https://daisyui.com/images/stock/photo-1534528741775-53994a69daeb.jpg"})})}),n(o.Menu,{className:"w-52 menu-sm mt-3 z-[1] p-2",children:[e("li",{children:n("a",{className:"justify-between",children:["Profile",e(N,{children:"New"})]})}),e(o.Item,{children:"Settings"}),e(o.Item,{children:"Logout"})]})]})]})]});c.args={className:"bg-base-100 mb-32 shadow-xl round-box"};const d=r=>n(s,{...r,children:[e("div",{className:"flex-1",children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})}),n("div",{className:"flex-none",children:[n(o,{end:!0,children:[e(a,{tag:"label",tabIndex:0,color:"ghost",shape:"circle",children:n(w,{children:[e(N,{size:"sm",className:w.Item.className(),children:"8"}),e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"})})]})}),e(o.Menu,{className:"mt-3 z-[1] card card-compact w-52 !p-0",children:n(x.Body,{children:[e("span",{className:"font-bold text-lg",children:"8 Items"}),e("span",{className:"text-info",children:"Subtotal: $999"}),e(x.Actions,{children:e(a,{color:"primary",fullWidth:!0,children:"View cart"})})]})})]}),n(o,{end:!0,children:[e(a,{tag:"label",tabIndex:0,color:"ghost",className:"avatar",shape:"circle",children:e("div",{className:"w-10 rounded-full",children:e("img",{src:"https://daisyui.com/images/stock/photo-1534528741775-53994a69daeb.jpg"})})}),n(o.Menu,{className:"mt-3 z-[1] w-52 menu-sm",children:[e("li",{children:n("a",{className:"justify-between",children:["Profile",e(N,{className:"badge",children:"New"})]})}),e(o.Item,{children:"Settings"}),e(o.Item,{children:"Logout"})]})]})]})]});d.args={className:"bg-base-100 mb-40 shadow-xl rounded-box"};const i=r=>n(s,{...r,children:[e(s.Start,{children:n(o,{children:[e(a,{tag:"label",color:"ghost",shape:"circle",tabIndex:0,children:e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h7"})})}),n(o.Menu,{className:"menu-sm w-52 mt-3 z-[1]",children:[e(o.Item,{children:"Homepage"}),e(o.Item,{children:"Portfolio"}),e(o.Item,{children:"About"})]})]})}),e(s.Center,{children:e(a,{tag:"a",color:"ghost",className:"normal-case text-xl",children:"daisyUI"})}),n(s.End,{className:"navbar-end",children:[e(a,{color:"ghost",shape:"circle",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})}),e(a,{color:"ghost",shape:"circle",children:n(w,{children:[e(N,{size:"xs",color:"primary",className:w.Item.className()}),e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"})})]})})]})]});i.args={className:"bg-base-100 mb-40 shadow-xl rounded-box"};const m=r=>n(s,{...r,children:[n(s.Start,{children:[n(o,{children:[e(a,{tag:"label",color:"ghost",tabIndex:0,className:"lg:hidden",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h8m-8 6h16"})})}),n(o.Menu,{tabIndex:0,className:"w-52 menu-sm mt-3 z-[1]",children:[e(o.Item,{children:"Item 1"}),n("li",{children:[e("a",{children:"Parent"}),n("ul",{className:"p-2",children:[e("li",{children:e("a",{children:"Submenu 1"})}),e("li",{children:e("a",{children:"Submenu 2"})})]})]}),e(o.Item,{children:"Item 3"})]})]}),e("a",{className:"btn btn-ghost normal-case text-xl",children:"daisyUI"})]}),e(s.Center,{className:"hidden lg:flex",children:n(t,{horizontal:!0,className:"px-1",children:[e(t.Item,{children:e("a",{children:"Item 1"})}),e(t.Item,{children:n("details",{children:[e("summary",{children:"Parent"}),n("ul",{className:"p-2",children:[e(t.Item,{children:e("a",{children:"Submenu 1"})}),e(t.Item,{children:e("a",{children:"Submenu 2"})})]})]})}),e(t.Item,{children:e("a",{children:"Item 3"})})]})}),e(s.End,{children:e(a,{tag:"a",children:"Button"})})]});m.args={className:"bg-base-100 mb-48 shadow-xl rounded-box"};const h=r=>n(O,{children:[e(s,{...r,className:"rounded-box bg-neutral text-neutral-content",children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})}),e(s,{...r,className:"rounded-box bg-base-300",children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})}),e(s,{...r,className:"rounded-box bg-primary text-primary-content",children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})})]});h.argTypes={className:{control:!1}};var v,b,I;u.parameters={...u.parameters,docs:{...(v=u.parameters)==null?void 0:v.docs,source:{originalSource:`args => { +import{j as e,a as n,F as O}from"./tw-merge-0a3648bd.js";import{N as s}from"./index-c01ba1f2.js";import{B as a}from"./Button-0267a47f.js";import{M as t}from"./index-44e44375.js";import{D as o}from"./index-b9536e2d.js";import{F as G}from"./index-cdaabc1d.js";import{I as J}from"./index-0ee0d1a2.js";import{I as w}from"./index-202b124b.js";import{B as N}from"./index-ccb0f6f2.js";import{C as x}from"./index-3c968524.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const ce={title:"Navigation/Navbar",component:s,args:{className:"bg-base-100 shadow-xl rounded-box"}},u=r=>e(s,{...r,children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})}),g=r=>n(s,{...r,children:[e("div",{className:"flex-1",children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})}),e("div",{className:"flex-none",children:e(a,{tag:"a",shape:"square",color:"ghost",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-5 h-5 stroke-current",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z"})})})})]}),p=r=>n(s,{...r,children:[e("div",{className:"flex-none",children:e(a,{shape:"square",color:"ghost",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-5 h-5 stroke-current",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})}),e("div",{className:"flex-1",children:e(a,{tag:"a",color:"ghost",className:"normal-case text-xl",children:"daisyUI"})}),e("div",{className:"flex-none",children:e(a,{shape:"square",color:"ghost",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-5 h-5 stroke-current",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z"})})})})]}),l=r=>n(s,{...r,children:[e("div",{className:"flex-1",children:e(a,{tag:"a",color:"ghost",className:"normal-case text-xl",children:"daisyUI"})}),e("div",{className:"flex-none",children:n(t,{horizontal:!0,className:"px-1",children:[e(t.Item,{children:e("a",{children:"Link"})}),e(t.Item,{children:n("details",{children:[e("summary",{children:"Parent"}),n("ul",{className:"p-2 bg-base-100",children:[e("li",{children:e("a",{children:"Link 1"})}),e("li",{children:e("a",{children:"Link 2"})})]})]})})]})})]});l.args={className:"bg-base-100 mb-32 shadow-xl rounded-box"};const c=r=>n(s,{...r,children:[e("div",{className:"flex-1",children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})}),n("div",{className:"flex-none gap-2",children:[e(G,{children:e(J,{bordered:!0,type:"text",placeholder:"Search",className:"w-24 md:w-auto"})}),n(o,{end:!0,children:[e(a,{tag:"label",tabIndex:0,color:"ghost",className:"avatar",shape:"circle",children:e("div",{className:"w-10 rounded-full",children:e("img",{src:"https://daisyui.com/images/stock/photo-1534528741775-53994a69daeb.jpg"})})}),n(o.Menu,{className:"w-52 menu-sm mt-3 z-[1] p-2",children:[e("li",{children:n("a",{className:"justify-between",children:["Profile",e(N,{children:"New"})]})}),e(o.Item,{children:"Settings"}),e(o.Item,{children:"Logout"})]})]})]})]});c.args={className:"bg-base-100 mb-32 shadow-xl round-box"};const d=r=>n(s,{...r,children:[e("div",{className:"flex-1",children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})}),n("div",{className:"flex-none",children:[n(o,{end:!0,children:[e(a,{tag:"label",tabIndex:0,color:"ghost",shape:"circle",children:n(w,{children:[e(N,{size:"sm",className:w.Item.className(),children:"8"}),e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"})})]})}),e(o.Menu,{className:"mt-3 z-[1] card card-compact w-52 !p-0",children:n(x.Body,{children:[e("span",{className:"font-bold text-lg",children:"8 Items"}),e("span",{className:"text-info",children:"Subtotal: $999"}),e(x.Actions,{children:e(a,{color:"primary",fullWidth:!0,children:"View cart"})})]})})]}),n(o,{end:!0,children:[e(a,{tag:"label",tabIndex:0,color:"ghost",className:"avatar",shape:"circle",children:e("div",{className:"w-10 rounded-full",children:e("img",{src:"https://daisyui.com/images/stock/photo-1534528741775-53994a69daeb.jpg"})})}),n(o.Menu,{className:"mt-3 z-[1] w-52 menu-sm",children:[e("li",{children:n("a",{className:"justify-between",children:["Profile",e(N,{className:"badge",children:"New"})]})}),e(o.Item,{children:"Settings"}),e(o.Item,{children:"Logout"})]})]})]})]});d.args={className:"bg-base-100 mb-40 shadow-xl rounded-box"};const i=r=>n(s,{...r,children:[e(s.Start,{children:n(o,{children:[e(a,{tag:"label",color:"ghost",shape:"circle",tabIndex:0,children:e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h7"})})}),n(o.Menu,{className:"menu-sm w-52 mt-3 z-[1]",children:[e(o.Item,{children:"Homepage"}),e(o.Item,{children:"Portfolio"}),e(o.Item,{children:"About"})]})]})}),e(s.Center,{children:e(a,{tag:"a",color:"ghost",className:"normal-case text-xl",children:"daisyUI"})}),n(s.End,{className:"navbar-end",children:[e(a,{color:"ghost",shape:"circle",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})}),e(a,{color:"ghost",shape:"circle",children:n(w,{children:[e(N,{size:"xs",color:"primary",className:w.Item.className()}),e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"})})]})})]})]});i.args={className:"bg-base-100 mb-40 shadow-xl rounded-box"};const m=r=>n(s,{...r,children:[n(s.Start,{children:[n(o,{children:[e(a,{tag:"label",color:"ghost",tabIndex:0,className:"lg:hidden",children:e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h8m-8 6h16"})})}),n(o.Menu,{tabIndex:0,className:"w-52 menu-sm mt-3 z-[1]",children:[e(o.Item,{children:"Item 1"}),n("li",{children:[e("a",{children:"Parent"}),n("ul",{className:"p-2",children:[e("li",{children:e("a",{children:"Submenu 1"})}),e("li",{children:e("a",{children:"Submenu 2"})})]})]}),e(o.Item,{children:"Item 3"})]})]}),e("a",{className:"btn btn-ghost normal-case text-xl",children:"daisyUI"})]}),e(s.Center,{className:"hidden lg:flex",children:n(t,{horizontal:!0,className:"px-1",children:[e(t.Item,{children:e("a",{children:"Item 1"})}),e(t.Item,{children:n("details",{children:[e("summary",{children:"Parent"}),n("ul",{className:"p-2",children:[e(t.Item,{children:e("a",{children:"Submenu 1"})}),e(t.Item,{children:e("a",{children:"Submenu 2"})})]})]})}),e(t.Item,{children:e("a",{children:"Item 3"})})]})}),e(s.End,{children:e(a,{tag:"a",children:"Button"})})]});m.args={className:"bg-base-100 mb-48 shadow-xl rounded-box"};const h=r=>n(O,{children:[e(s,{...r,className:"rounded-box bg-neutral text-neutral-content",children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})}),e(s,{...r,className:"rounded-box bg-base-300",children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})}),e(s,{...r,className:"rounded-box bg-primary text-primary-content",children:e(a,{tag:"a",className:"text-xl normal-case",color:"ghost",children:"daisyUI"})})]});h.argTypes={className:{control:!1}};var v,b,I;u.parameters={...u.parameters,docs:{...(v=u.parameters)==null?void 0:v.docs,source:{originalSource:`args => { return -
- - - Current balance - $89,400 -
- - -
-
- ; -}`,...(M=(D=v.parameters)==null?void 0:D.docs)==null?void 0:M.source}}};const tt=["Default","IconsOrImage","CenteredItems","Vertical","Responsive","CustomColorsAndButton"];export{o as CenteredItems,v as CustomColorsAndButton,c as Default,m as IconsOrImage,d as Responsive,S as Vertical,tt as __namedExportsOrder,Z as default}; diff --git a/docs/assets/Stats.stories-c51e6221.js b/docs/assets/Stats.stories-c51e6221.js new file mode 100644 index 00000000..5bf5ea74 --- /dev/null +++ b/docs/assets/Stats.stories-c51e6221.js @@ -0,0 +1,129 @@ +import{t as T,j as a,a as s}from"./tw-merge-0a3648bd.js";import{R as r,r as $}from"./index-1b03fe98.js";import{c as W}from"./clsx.m-1229b3e0.js";import{A as J}from"./index-6ae1381f.js";import{B as w}from"./Button-0267a47f.js";import"./utils-25597068.js";import"./index-a55c3a76.js";const N=r.forwardRef(({children:e,section:n,className:l,...c},i)=>{const g=T(l,W({"stat-title":n==="title","stat-value":n==="value","stat-desc":n==="desc","stat-figure":n==="figure","stat-actions":n==="actions"}));return a("div",{...c,className:g,ref:i,children:e})}),o=N;try{N.displayName="StatSection",N.__docgenInfo={description:"",displayName:"StatSection",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},section:{defaultValue:null,description:"",name:"section",required:!0,type:{name:"enum",value:[{value:'"value"'},{value:'"title"'},{value:'"figure"'},{value:'"desc"'},{value:'"actions"'}]}}}}}catch{}const f=$.forwardRef(({dataTheme:e,className:n,...l},c)=>{const i=T("stat",n);return a("div",{...l,"data-theme":e,className:i,ref:c})}),U=r.forwardRef((e,n)=>a(o,{...e,section:"title",ref:n})),O=r.forwardRef((e,n)=>a(o,{...e,section:"value",ref:n})),P=r.forwardRef((e,n)=>a(o,{...e,section:"desc",ref:n})),E=r.forwardRef((e,n)=>a(o,{...e,section:"figure",ref:n})),G=r.forwardRef((e,n)=>a(o,{...e,section:"actions",ref:n})),H=Object.assign(f,{Title:U,Value:O,Desc:P,Figure:E,Actions:G});try{f.displayName="Stat",f.__docgenInfo={description:"",displayName:"Stat",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}const V=r.forwardRef(({direction:e="horizontal",dataTheme:n,className:l,children:c,...i},g)=>{const q=T("stats",l,W({"stats-vertical":e==="vertical","stats-horizontal":e==="horizontal"}));return a("div",{...i,ref:g,"data-theme":n,className:q,children:c})}),t=Object.assign(V,{Stat:H});try{V.displayName="Stats",V.__docgenInfo={description:"",displayName:"Stats",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},direction:{defaultValue:{value:"horizontal"},description:"",name:"direction",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"vertical"'}]}}}}}catch{}try{t.displayName="Stats",t.__docgenInfo={description:"",displayName:"Stats",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},direction:{defaultValue:{value:"horizontal"},description:"",name:"direction",required:!1,type:{name:"enum",value:[{value:'"horizontal"'},{value:'"vertical"'}]}}}}}catch{}const st={title:"Data Display/Stats",component:t},d=e=>a(t,{...e,className:"shadow",children:s(t.Stat,{children:[a(t.Stat.Title,{children:"Total Page Views"}),a(t.Stat.Value,{children:"89,400"}),a(t.Stat.Desc,{children:"21% more than last month"})]})}),u=e=>s(t,{...e,className:"shadow font-sans",children:[s(t.Stat,{children:[a(t.Stat.Figure,{className:"text-primary",children:a("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-8 h-8 stroke-current",children:a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"})})}),a(t.Stat.Title,{children:"Total Likes"}),a(t.Stat.Value,{className:"text-primary",children:"25.6K"}),a(t.Stat.Desc,{children:"21% more than last month"})]}),s(t.Stat,{children:[a(t.Stat.Figure,{className:"text-secondary",children:a("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-8 h-8 stroke-current",children:a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13 10V3L4 14h7v7l9-11h-7z"})})}),a(t.Stat.Title,{children:"Page Views"}),a(t.Stat.Value,{className:"text-secondary",children:"2.6M"}),a(t.Stat.Desc,{children:"21% more than last month"})]}),s(t.Stat,{children:[a(t.Stat.Figure,{className:"text-primary",children:a("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-8 h-8 stroke-current",children:a("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"})})}),a(t.Stat.Figure,{className:"text-secondary",children:a(J,{size:"sm",online:!0,src:"https://daisyui.com/images/stock/photo-1534528741775-53994a69daeb.jpg",shape:"circle"})}),a(t.Stat.Value,{children:"86%"}),a(t.Stat.Title,{children:"Tasks done"}),a(t.Stat.Desc,{className:"text-secondary",children:"31 tasks remaining"})]})]}),m=e=>s(t,{...e,className:"shadow font-sans",children:[s(t.Stat,{className:"place-items-center",children:[a(t.Stat.Title,{children:"Downloads"}),a(t.Stat.Value,{children:"31K"}),a(t.Stat.Desc,{children:"From January 1st to February 1st"})]}),s(t.Stat,{className:"place-items-center",children:[a(t.Stat.Title,{children:"Users"}),a(t.Stat.Value,{className:"text-secondary",children:"4,200"}),a(t.Stat.Desc,{className:"text-secondary",children:"↗︎ 40 (2%)"})]}),s(t.Stat,{className:"place-items-center",children:[a(t.Stat.Title,{children:"New Registers"}),a(t.Stat.Value,{children:"1,200"}),a(t.Stat.Desc,{children:"↘︎ 90 (14%)"})]})]}),S=e=>s(t,{...e,className:"shadow font-sans",children:[s(t.Stat,{children:[a(t.Stat.Title,{children:"Downloads"}),a(t.Stat.Value,{children:"31K"}),a(t.Stat.Desc,{children:"Jan 1st - Feb 1st"})]}),s(t.Stat,{children:[a(t.Stat.Title,{children:"New Users"}),a(t.Stat.Value,{children:"4,200"}),a(t.Stat.Desc,{children:"↗︎ 400 (22%)"})]}),s(t.Stat,{children:[a(t.Stat.Title,{children:"New Registers"}),a(t.Stat.Value,{children:"1,200"}),a(t.Stat.Desc,{children:"↘︎ 90 (14%)"})]})]});S.args={direction:"vertical"};const h=e=>s(t,{...e,className:"lg:stats-horizontal shadow",children:[s(t.Stat,{children:[a(t.Stat.Title,{children:"Downloads"}),a(t.Stat.Value,{children:"31K"}),a(t.Stat.Desc,{children:"Jan 1st - Feb 1st"})]}),s(t.Stat,{children:[a(t.Stat.Title,{children:"New Users"}),a(t.Stat.Value,{children:"4,200"}),a(t.Stat.Desc,{children:"↗︎ 400 (22%)"})]}),s(t.Stat,{children:[a(t.Stat.Title,{children:"New Registers"}),a(t.Stat.Value,{children:"1,200"}),a(t.Stat.Desc,{children:"↘︎ 90 (14%)"})]})]}),p=e=>s(t,{...e,className:"font-sans bg-primary text-primary-content",children:[s(t.Stat,{children:[a(t.Stat.Title,{children:"Account balance"}),a(t.Stat.Value,{children:"$89,400"}),a(t.Stat.Actions,{children:a(w,{size:"sm",color:"success",children:"Add funds"})})]}),s(t.Stat,{children:[a(t.Stat.Title,{children:"Current balance"}),a(t.Stat.Value,{children:"$89,400"}),s(t.Stat.Actions,{className:"gap-1 flex",children:[a(w,{size:"sm",children:"Withdrawal"}),a(w,{size:"sm",children:"deposit"})]})]})]});var v,y,D;d.parameters={...d.parameters,docs:{...(v=d.parameters)==null?void 0:v.docs,source:{originalSource:`args => { + return + + Total Page Views + 89,400 + 21% more than last month + + ; +}`,...(D=(y=d.parameters)==null?void 0:y.docs)==null?void 0:D.source}}};var x,k,_;u.parameters={...u.parameters,docs:{...(x=u.parameters)==null?void 0:x.docs,source:{originalSource:`args => { + return + + + + + + + Total Likes + 25.6K + 21% more than last month + + + + + + + + + Page Views + 2.6M + 21% more than last month + + + + + + + + + + + + 86% + Tasks done + + 31 tasks remaining + + + ; +}`,...(_=(k=u.parameters)==null?void 0:k.docs)==null?void 0:_.source}}};var L,z,b;m.parameters={...m.parameters,docs:{...(L=m.parameters)==null?void 0:L.docs,source:{originalSource:`args => { + return + + Downloads + 31K + From January 1st to February 1st + + + + Users + 4,200 + ↗︎ 40 (2%) + + + + New Registers + 1,200 + ↘︎ 90 (14%) + + ; +}`,...(b=(z=m.parameters)==null?void 0:z.docs)==null?void 0:b.source}}};var F,A,R;S.parameters={...S.parameters,docs:{...(F=S.parameters)==null?void 0:F.docs,source:{originalSource:`args => { + return + + Downloads + 31K + Jan 1st - Feb 1st + + + + New Users + 4,200 + ↗︎ 400 (22%) + + + + New Registers + 1,200 + ↘︎ 90 (14%) + + ; +}`,...(R=(A=S.parameters)==null?void 0:A.docs)==null?void 0:R.source}}};var B,j,I;h.parameters={...h.parameters,docs:{...(B=h.parameters)==null?void 0:B.docs,source:{originalSource:`args => { + return + + Downloads + 31K + Jan 1st - Feb 1st + + + + New Users + 4,200 + ↗︎ 400 (22%) + + + + New Registers + 1,200 + ↘︎ 90 (14%) + + ; +}`,...(I=(j=h.parameters)==null?void 0:j.docs)==null?void 0:I.source}}};var M,C,K;p.parameters={...p.parameters,docs:{...(M=p.parameters)==null?void 0:M.docs,source:{originalSource:`args => { + return + + Account balance + $89,400 + + + + + + Current balance + $89,400 + + + + + + ; +}`,...(K=(C=p.parameters)==null?void 0:C.docs)==null?void 0:K.source}}};const nt=["Default","IconsOrImage","CenteredItems","Vertical","Responsive","CustomColorsAndButton"];export{m as CenteredItems,p as CustomColorsAndButton,d as Default,u as IconsOrImage,h as Responsive,S as Vertical,nt as __namedExportsOrder,st as default}; diff --git a/docs/assets/Table.stories-7f3bac29.js b/docs/assets/Table.stories-6056d524.js similarity index 99% rename from docs/assets/Table.stories-7f3bac29.js rename to docs/assets/Table.stories-6056d524.js index 7ae2bb4b..7db4058f 100644 --- a/docs/assets/Table.stories-7f3bac29.js +++ b/docs/assets/Table.stories-6056d524.js @@ -1,4 +1,4 @@ -import{j as n,t as nn,a as e}from"./tw-merge-0a3648bd.js";import{R as y}from"./index-1b03fe98.js";import{c as en}from"./clsx.m-1229b3e0.js";import{C as c}from"./index-5a4bf744.js";import{M as w}from"./index-3802c17c.js";import{B as R}from"./index-ccb0f6f2.js";import{B as v}from"./Button-e9ac0f78.js";import"./index-a55c3a76.js";const B=y.forwardRef(({children:t,...r},d)=>n("thead",{...r,ref:d,children:n("tr",{children:t==null?void 0:t.map((i,l)=>n("th",{children:i},l))})})),rn=B;try{B.displayName="TableHead",B.__docgenInfo={description:"",displayName:"TableHead",props:{}}}catch{}const x=y.forwardRef(({children:t,...r},d)=>n("tbody",{...r,ref:d,children:t})),dn=x;try{x.displayName="TableBody",x.__docgenInfo={description:"",displayName:"TableBody",props:{}}}catch{}const k=y.forwardRef(({children:t,active:r,hover:d,className:i,...l},f)=>{const C=nn(i,en({active:r,hover:d}));return n("tr",{...l,className:C,ref:f,children:t==null?void 0:t.map((T,s)=>s<1?n("th",{children:T},s):n("td",{children:T},s))})}),ln=k;try{k.displayName="TableRow",k.__docgenInfo={description:"",displayName:"TableRow",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},active:{defaultValue:null,description:"",name:"active",required:!1,type:{name:"boolean"}},hover:{defaultValue:null,description:"",name:"hover",required:!1,type:{name:"boolean"}}}}}catch{}const P=y.forwardRef(({children:t,...r},d)=>n("tfoot",{...r,ref:d,children:n("tr",{children:t==null?void 0:t.map((i,l)=>n("th",{children:i},l))})})),sn=P;try{P.displayName="TableFooter",P.__docgenInfo={description:"",displayName:"TableFooter",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}const H=y.forwardRef(({children:t,size:r,zebra:d,pinRows:i,pinCols:l,dataTheme:f,className:C,...T},s)=>{const tn=nn("table",C,en({"table-zebra":d,"table-lg":r==="lg","table-md":r==="md","table-sm":r==="sm","table-xs":r==="xs","table-pin-rows":i,"table-pin-cols":l}));return n("table",{...T,"data-theme":f,className:tn,ref:s,children:t})}),a=Object.assign(H,{Head:rn,Body:dn,Row:ln,Footer:sn});try{H.displayName="Table",H.__docgenInfo={description:"",displayName:"Table",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"lg"'},{value:'"md"'},{value:'"sm"'},{value:'"xs"'}]}},zebra:{defaultValue:null,description:"",name:"zebra",required:!1,type:{name:"boolean"}},pinRows:{defaultValue:null,description:"",name:"pinRows",required:!1,type:{name:"boolean"}},pinCols:{defaultValue:null,description:"",name:"pinCols",required:!1,type:{name:"boolean"}}}}}catch{}try{a.displayName="Table",a.__docgenInfo={description:"",displayName:"Table",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"lg"'},{value:'"md"'},{value:'"sm"'},{value:'"xs"'}]}},zebra:{defaultValue:null,description:"",name:"zebra",required:!1,type:{name:"boolean"}},pinRows:{defaultValue:null,description:"",name:"pinRows",required:!1,type:{name:"boolean"}},pinCols:{defaultValue:null,description:"",name:"pinCols",required:!1,type:{name:"boolean"}}}}}catch{}const Tn={title:"Data Display/Table",component:a},an=t=>n("div",{className:"overflow-x-auto",children:e(a,{...t,children:[e(a.Head,{children:[n("span",{}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"Favorite Color"})]}),e(a.Body,{children:[e(a.Row,{children:[n("span",{children:"1"}),n("span",{children:"Cy Ganderton"}),n("span",{children:"Quality Control Specialist"}),n("span",{children:"Blue"})]}),e(a.Row,{children:[n("span",{children:"2"}),n("span",{children:"Hart Hagerty"}),n("span",{children:"Desktop Support Technician"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"3"}),n("span",{children:"Brice Swyre"}),n("span",{children:"Tax Accountant"}),n("span",{children:"Red"})]})]})]})}),h=an.bind({});h.args={};const g=t=>n("div",{className:"overflow-x-auto",children:e(a,{...t,children:[e(a.Head,{children:[n("span",{}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"Favorite Color"})]}),e(a.Body,{children:[e(a.Row,{active:!0,children:[n("span",{children:"1"}),n("span",{children:"Cy Ganderton"}),n("span",{children:"Quality Control Specialist"}),n("span",{children:"Blue"})]}),e(a.Row,{children:[n("span",{children:"2"}),n("span",{children:"Hart Hagerty"}),n("span",{children:"Desktop Support Technician"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"3"}),n("span",{children:"Brice Swyre"}),n("span",{children:"Tax Accountant"}),n("span",{children:"Red"})]})]})]})}),S=t=>n("div",{className:"overflow-x-auto",children:e(a,{...t,children:[e(a.Head,{children:[n("span",{}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"Favorite Color"})]}),e(a.Body,{children:[e(a.Row,{children:[n("span",{children:"1"}),n("span",{children:"Cy Ganderton"}),n("span",{children:"Quality Control Specialist"}),n("span",{children:"Blue"})]}),e(a.Row,{hover:!0,children:[n("span",{children:"2"}),n("span",{children:"Hart Hagerty"}),n("span",{children:"Desktop Support Technician"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"3"}),n("span",{children:"Brice Swyre"}),n("span",{children:"Tax Accountant"}),n("span",{children:"Red"})]})]})]})}),o=an.bind({});o.args={zebra:!0};const p=t=>n("div",{className:"overflow-x-auto",children:e(a,{...t,className:"rounded-box",children:[e(a.Head,{children:[n(c,{}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"Favorite Color"}),n("span",{})]}),e(a.Body,{children:[e(a.Row,{children:[n(c,{}),e("div",{className:"flex items-center space-x-3 truncate",children:[n(w,{variant:"squircle",src:"http://daisyui.com/tailwind-css-component-profile-2@56w.png"}),e("div",{children:[n("div",{className:"font-bold",children:"Hart Hagerty"}),n("div",{className:"text-sm opacity-50",children:"United States"})]})]}),e("div",{children:["Zemlak, Daniel and Leannon",n("br",{}),n(R,{color:"ghost",size:"sm",children:"Desktop Support Technician"})]}),n("div",{children:"Purple"}),n(v,{color:"ghost",size:"xs",children:"details"})]}),e(a.Row,{children:[n(c,{}),e("div",{className:"flex items-center space-x-3 truncate",children:[n(w,{variant:"squircle",src:"http://daisyui.com/tailwind-css-component-profile-3@56w.png"}),e("div",{children:[n("div",{className:"font-bold",children:"Brice Swyre"}),n("div",{className:"text-sm opacity-50",children:"China"})]})]}),e("div",{children:["Carrol Group",n("br",{}),n(R,{color:"ghost",size:"sm",children:"Tax Accountant"})]}),n("div",{children:"Red"}),n(v,{color:"ghost",size:"xs",children:"details"})]}),e(a.Row,{children:[n(c,{}),e("div",{className:"flex items-center space-x-3 truncate",children:[n(w,{variant:"squircle",src:"http://daisyui.com/tailwind-css-component-profile-4@56w.png"}),e("div",{children:[n("div",{className:"font-bold",children:"Marjy Ferencz"}),n("div",{className:"text-sm opacity-50",children:"Russia"})]})]}),e("div",{children:["Rowe-Schoen",n("br",{}),n(R,{color:"ghost",size:"sm",children:"Office Assistant I"})]}),n("div",{children:"Crimson"}),n(v,{color:"ghost",size:"xs",children:"details"})]}),e(a.Row,{children:[n(c,{}),e("div",{className:"flex items-center space-x-3 truncate",children:[n(w,{variant:"squircle",src:"http://daisyui.com/tailwind-css-component-profile-5@56w.png"}),e("div",{children:[n("div",{className:"font-bold",children:"Yancy Tear"}),n("div",{className:"text-sm opacity-50",children:"Brazil"})]})]}),e("div",{children:["Wyman-Ledner",n("br",{}),n(R,{color:"ghost",size:"sm",children:"Community Outreach Specialist"})]}),n("div",{children:"Indigo"}),n(v,{color:"ghost",size:"xs",children:"details"})]})]}),e(a.Footer,{children:[n("span",{children:" "}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"Favorite Color"}),n("span",{children:" "})]})]})});p.args={};const u=t=>n("div",{className:"overflow-x-auto",children:e(a,{...t,children:[e(a.Head,{children:[n("span",{}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"Company"}),n("span",{children:"Location"}),n("span",{children:"Last Login"}),n("span",{children:"Favorite Color"})]}),e(a.Body,{children:[e(a.Row,{children:[n("span",{children:"1"}),n("span",{children:"Cy Ganderton"}),n("span",{children:"Quality Control Specialist"}),n("span",{children:"Littel, Schaden and Vandervort"}),n("span",{children:"Canada"}),n("span",{children:"12/16/2020"}),n("span",{children:"Blue"})]}),e(a.Row,{children:[n("span",{children:"2"}),n("span",{children:"Hart Hagerty"}),n("span",{children:"Desktop Support Technician"}),n("span",{children:"Zemlak, Daniel and Leannon"}),n("span",{children:"United States"}),n("span",{children:"12/5/2020"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"3"}),n("span",{children:"Brice Swyre"}),n("span",{children:"Tax Accountant"}),n("span",{children:"Carroll Group"}),n("span",{children:"China"}),n("span",{children:"8/15/2020"}),n("span",{children:"Red"})]}),e(a.Row,{children:[n("span",{children:"4"}),n("span",{children:"Marjy Ferencz"}),n("span",{children:"Office Assistant I"}),n("span",{children:"Rowe-Schoen"}),n("span",{children:"Russia"}),n("span",{children:"3/25/2021"}),n("span",{children:"Crimson"})]}),e(a.Row,{children:[n("span",{children:"5"}),n("span",{children:"Yancy Tear"}),n("span",{children:"Community Outreach Specialist"}),n("span",{children:"Wyman-Ledner"}),n("span",{children:"Brazil"}),n("span",{children:"5/22/2020"}),n("span",{children:"Indigo"})]}),e(a.Row,{children:[n("span",{children:"6"}),n("span",{children:"Irma Vasilik"}),n("span",{children:"Editor"}),n("span",{children:"Wiza, Bins and Emard"}),n("span",{children:"Venezuela"}),n("span",{children:"12/8/2020"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"7"}),n("span",{children:"Meghann Durtnal"}),n("span",{children:"Staff Accountant IV"}),n("span",{children:"Schuster-Schimmel"}),n("span",{children:"Philippines"}),n("span",{children:"2/17/2021"}),n("span",{children:"Yellow"})]}),e(a.Row,{children:[n("span",{children:"8"}),n("span",{children:"Sammy Seston"}),n("span",{children:"Accountant I"}),n("span",{children:"O'Hara, Welch and Keebler"}),n("span",{children:"Indonesia"}),n("span",{children:"5/23/2020"}),n("span",{children:"Crimson"})]}),e(a.Row,{children:[n("span",{children:"9"}),n("span",{children:"Lesya Tinham"}),n("span",{children:"Safety Technician IV"}),n("span",{children:"Turner-Kuhlman"}),n("span",{children:"Philippines"}),n("span",{children:"2/21/2021"}),n("span",{children:"Maroon"})]}),e(a.Row,{children:[n("span",{children:"10"}),n("span",{children:"Zaneta Tewkesbury"}),n("span",{children:"VP Marketing"}),n("span",{children:"Sauer LLC"}),n("span",{children:"Chad"}),n("span",{children:"6/23/2020"}),n("span",{children:"Green"})]}),e(a.Row,{children:[n("span",{children:"11"}),n("span",{children:"Andy Tipple"}),n("span",{children:"Librarian"}),n("span",{children:"Hilpert Group"}),n("span",{children:"Poland"}),n("span",{children:"7/9/2020"}),n("span",{children:"Indigo"})]}),e(a.Row,{children:[n("span",{children:"12"}),n("span",{children:"Sophi Biles"}),n("span",{children:"Recruiting Manager"}),n("span",{children:"Gutmann Inc"}),n("span",{children:"Indonesia"}),n("span",{children:"2/12/2021"}),n("span",{children:"Maroon"})]}),e(a.Row,{children:[n("span",{children:"13"}),n("span",{children:"Florida Garces"}),n("span",{children:"Web Developer IV"}),n("span",{children:"Gaylord, Pacocha and Baumbach"}),n("span",{children:"Poland"}),n("span",{children:"5/31/2020"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"14"}),n("span",{children:"Maribespan Popping"}),n("span",{children:"Analyst Programmer"}),n("span",{children:"Deckow-Pouros"}),n("span",{children:"Portugal"}),n("span",{children:"4/27/2021"}),n("span",{children:"Aquamarine"})]}),e(a.Row,{children:[n("span",{children:"15"}),n("span",{children:"Moritz Dryburgh"}),n("span",{children:"Dental Hygienist"}),n("span",{children:"Schiller, Cole and Hackett"}),n("span",{children:"Sri Lanka"}),n("span",{children:"8/8/2020"}),n("span",{children:"Crimson"})]}),e(a.Row,{children:[n("span",{children:"16"}),n("span",{children:"Reid Semiras"}),n("span",{children:"Teacher"}),n("span",{children:"Sporer, Sipes and Rogahn"}),n("span",{children:"Poland"}),n("span",{children:"7/30/2020"}),n("span",{children:"Green"})]}),e(a.Row,{children:[n("span",{children:"17"}),n("span",{children:"Alec Lethby"}),n("span",{children:"Teacher"}),n("span",{children:"Reichel, Glover and Hamill"}),n("span",{children:"China"}),n("span",{children:"2/28/2021"}),n("span",{children:"Khaki"})]}),e(a.Row,{children:[n("span",{children:"18"}),n("span",{children:"Aland Wilber"}),n("span",{children:"Quality Control Specialist"}),n("span",{children:"Kshlerin, Rogahn and Swaniawski"}),n("span",{children:"Czech Republic"}),n("span",{children:"9/29/2020"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"19"}),n("span",{children:"Teddie Duerden"}),n("span",{children:"Staff Accountant III"}),n("span",{children:"Pouros, Ullrich and Windler"}),n("span",{children:"France"}),n("span",{children:"10/27/2020"}),n("span",{children:"Aquamarine"})]}),e(a.Row,{children:[n("span",{children:"20"}),n("span",{children:"Lorelei Blackstone"}),n("span",{children:"Data Coordiator"}),n("span",{children:"Witting, Kutch and Greenfelder"}),n("span",{children:"Kazakhstan"}),n("span",{children:"6/3/2020"}),n("span",{children:"Red"})]})]}),e(a.Footer,{children:[n("span",{}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"company"}),n("span",{children:"location"}),n("span",{children:"Last Login"}),n("span",{children:"Favorite Color"})]})]})});u.args={size:"xs"};const m=t=>n("div",{className:"overflow-x-auto h-96",children:e(a,{...t,children:[n("thead",{children:n("tr",{children:n("th",{children:"A"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Ant-Man"})}),n("tr",{children:n("td",{children:"Aquaman"})}),n("tr",{children:n("td",{children:"Asterix"})}),n("tr",{children:n("td",{children:"The Atom"})}),n("tr",{children:n("td",{children:"The Avengers"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"B"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Batgirl"})}),n("tr",{children:n("td",{children:"Batman"})}),n("tr",{children:n("td",{children:"Batwoman"})}),n("tr",{children:n("td",{children:"Black Canary"})}),n("tr",{children:n("td",{children:"Black Panther"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"C"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Captain America"})}),n("tr",{children:n("td",{children:"Captain Marvel"})}),n("tr",{children:n("td",{children:"Catwoman"})}),n("tr",{children:n("td",{children:"Conan the Barbarian"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"D"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Daredevil"})}),n("tr",{children:n("td",{children:"The Defenders"})}),n("tr",{children:n("td",{children:"Doc Savage"})}),n("tr",{children:n("td",{children:"Doctor Strange"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"E"})})}),n("tbody",{children:n("tr",{children:n("td",{children:"Elektra"})})}),n("thead",{children:n("tr",{children:n("th",{children:"F"})})}),n("tbody",{children:n("tr",{children:n("td",{children:"Fantastic Four"})})}),n("thead",{children:n("tr",{children:n("th",{children:"G"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Ghost Rider"})}),n("tr",{children:n("td",{children:"Green Arrow"})}),n("tr",{children:n("td",{children:"Green Lantern"})}),n("tr",{children:n("td",{children:"Guardians of the Galaxy"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"H"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Hawkeye"})}),n("tr",{children:n("td",{children:"Hellboy"})}),n("tr",{children:n("td",{children:"Incredible Hulk"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"I"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Iron Fist"})}),n("tr",{children:n("td",{children:"Iron Man"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"M"})})}),n("tbody",{children:n("tr",{children:n("td",{children:"Marvelman"})})}),n("thead",{children:n("tr",{children:n("th",{children:"R"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Robin"})}),n("tr",{children:n("td",{children:"The Rocketeer"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"S"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"The Shadow"})}),n("tr",{children:n("td",{children:"Spider-Man"})}),n("tr",{children:n("td",{children:"Sub-Mariner"})}),n("tr",{children:n("td",{children:"Supergirl"})}),n("tr",{children:n("td",{children:"Superman"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"T"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Teenage Mutant Ninja Turtles"})}),n("tr",{children:n("td",{children:"Thor"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"W"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"The Wasp"})}),n("tr",{children:n("td",{children:"Watchmen"})}),n("tr",{children:n("td",{children:"Wolverine"})}),n("tr",{children:n("td",{children:"Wonder Woman"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"X"})})}),n("tbody",{children:n("tr",{children:n("td",{children:"X-Men"})})}),n("thead",{children:n("tr",{children:n("th",{children:"Z"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Zatanna"})}),n("tr",{children:n("td",{children:"Zatara"})})]})]})});m.args={pinRows:!0};const b=t=>n("div",{className:"overflow-x-auto h-96 w-96",children:e(a,{...t,children:[n("thead",{children:e("tr",{children:[n("th",{}),n("td",{children:"Name"}),n("td",{children:"Job"}),n("td",{children:"company"}),n("td",{children:"location"}),n("td",{children:"Last Login"}),n("td",{children:"Favorite Color"}),n("th",{})]})}),e("tbody",{children:[e("tr",{children:[n("th",{children:"1"}),n("td",{children:"Cy Ganderton"}),n("td",{children:"Quality Control Specialist"}),n("td",{children:"Littel, Schaden and Vandervort"}),n("td",{children:"Canada"}),n("td",{children:"12/16/2020"}),n("td",{children:"Blue"}),n("th",{children:"1"})]}),e("tr",{children:[n("th",{children:"2"}),n("td",{children:"Hart Hagerty"}),n("td",{children:"Desktop Support Technician"}),n("td",{children:"Zemlak, Daniel and Leannon"}),n("td",{children:"United States"}),n("td",{children:"12/5/2020"}),n("td",{children:"Purple"}),n("th",{children:"2"})]}),e("tr",{children:[n("th",{children:"3"}),n("td",{children:"Brice Swyre"}),n("td",{children:"Tax Accountant"}),n("td",{children:"Carroll Group"}),n("td",{children:"China"}),n("td",{children:"8/15/2020"}),n("td",{children:"Red"}),n("th",{children:"3"})]}),e("tr",{children:[n("th",{children:"4"}),n("td",{children:"Marjy Ferencz"}),n("td",{children:"Office Assistant I"}),n("td",{children:"Rowe-Schoen"}),n("td",{children:"Russia"}),n("td",{children:"3/25/2021"}),n("td",{children:"Crimson"}),n("th",{children:"4"})]}),e("tr",{children:[n("th",{children:"5"}),n("td",{children:"Yancy Tear"}),n("td",{children:"Community Outreach Specialist"}),n("td",{children:"Wyman-Ledner"}),n("td",{children:"Brazil"}),n("td",{children:"5/22/2020"}),n("td",{children:"Indigo"}),n("th",{children:"5"})]}),e("tr",{children:[n("th",{children:"6"}),n("td",{children:"Irma Vasilik"}),n("td",{children:"Editor"}),n("td",{children:"Wiza, Bins and Emard"}),n("td",{children:"Venezuela"}),n("td",{children:"12/8/2020"}),n("td",{children:"Purple"}),n("th",{children:"6"})]}),e("tr",{children:[n("th",{children:"7"}),n("td",{children:"Meghann Durtnal"}),n("td",{children:"Staff Accountant IV"}),n("td",{children:"Schuster-Schimmel"}),n("td",{children:"Philippines"}),n("td",{children:"2/17/2021"}),n("td",{children:"Yellow"}),n("th",{children:"7"})]}),e("tr",{children:[n("th",{children:"8"}),n("td",{children:"Sammy Seston"}),n("td",{children:"Accountant I"}),n("td",{children:"O'Hara, Welch and Keebler"}),n("td",{children:"Indonesia"}),n("td",{children:"5/23/2020"}),n("td",{children:"Crimson"}),n("th",{children:"8"})]}),e("tr",{children:[n("th",{children:"9"}),n("td",{children:"Lesya Tinham"}),n("td",{children:"Safety Technician IV"}),n("td",{children:"Turner-Kuhlman"}),n("td",{children:"Philippines"}),n("td",{children:"2/21/2021"}),n("td",{children:"Maroon"}),n("th",{children:"9"})]}),e("tr",{children:[n("th",{children:"10"}),n("td",{children:"Zaneta Tewkesbury"}),n("td",{children:"VP Marketing"}),n("td",{children:"Sauer LLC"}),n("td",{children:"Chad"}),n("td",{children:"6/23/2020"}),n("td",{children:"Green"}),n("th",{children:"10"})]}),e("tr",{children:[n("th",{children:"11"}),n("td",{children:"Andy Tipple"}),n("td",{children:"Librarian"}),n("td",{children:"Hilpert Group"}),n("td",{children:"Poland"}),n("td",{children:"7/9/2020"}),n("td",{children:"Indigo"}),n("th",{children:"11"})]}),e("tr",{children:[n("th",{children:"12"}),n("td",{children:"Sophi Biles"}),n("td",{children:"Recruiting Manager"}),n("td",{children:"Gutmann Inc"}),n("td",{children:"Indonesia"}),n("td",{children:"2/12/2021"}),n("td",{children:"Maroon"}),n("th",{children:"12"})]}),e("tr",{children:[n("th",{children:"13"}),n("td",{children:"Florida Garces"}),n("td",{children:"Web Developer IV"}),n("td",{children:"Gaylord, Pacocha and Baumbach"}),n("td",{children:"Poland"}),n("td",{children:"5/31/2020"}),n("td",{children:"Purple"}),n("th",{children:"13"})]}),e("tr",{children:[n("th",{children:"14"}),n("td",{children:"Maribeth Popping"}),n("td",{children:"Analyst Programmer"}),n("td",{children:"Deckow-Pouros"}),n("td",{children:"Portugal"}),n("td",{children:"4/27/2021"}),n("td",{children:"Aquamarine"}),n("th",{children:"14"})]}),e("tr",{children:[n("th",{children:"15"}),n("td",{children:"Moritz Dryburgh"}),n("td",{children:"Dental Hygienist"}),n("td",{children:"Schiller, Cole and Hackett"}),n("td",{children:"Sri Lanka"}),n("td",{children:"8/8/2020"}),n("td",{children:"Crimson"}),n("th",{children:"15"})]}),e("tr",{children:[n("th",{children:"16"}),n("td",{children:"Reid Semiras"}),n("td",{children:"Teacher"}),n("td",{children:"Sporer, Sipes and Rogahn"}),n("td",{children:"Poland"}),n("td",{children:"7/30/2020"}),n("td",{children:"Green"}),n("th",{children:"16"})]}),e("tr",{children:[n("th",{children:"17"}),n("td",{children:"Alec Lethby"}),n("td",{children:"Teacher"}),n("td",{children:"Reichel, Glover and Hamill"}),n("td",{children:"China"}),n("td",{children:"2/28/2021"}),n("td",{children:"Khaki"}),n("th",{children:"17"})]}),e("tr",{children:[n("th",{children:"18"}),n("td",{children:"Aland Wilber"}),n("td",{children:"Quality Control Specialist"}),n("td",{children:"Kshlerin, Rogahn and Swaniawski"}),n("td",{children:"Czech Republic"}),n("td",{children:"9/29/2020"}),n("td",{children:"Purple"}),n("th",{children:"18"})]}),e("tr",{children:[n("th",{children:"19"}),n("td",{children:"Teddie Duerden"}),n("td",{children:"Staff Accountant III"}),n("td",{children:"Pouros, Ullrich and Windler"}),n("td",{children:"France"}),n("td",{children:"10/27/2020"}),n("td",{children:"Aquamarine"}),n("th",{children:"19"})]}),e("tr",{children:[n("th",{children:"20"}),n("td",{children:"Lorelei Blackstone"}),n("td",{children:"Data Coordinator"}),n("td",{children:"Witting, Kutch and Greenfelder"}),n("td",{children:"Kazakhstan"}),n("td",{children:"6/3/2020"}),n("td",{children:"Red"}),n("th",{children:"20"})]})]}),n("tfoot",{children:e("tr",{children:[n("th",{}),n("td",{children:"Name"}),n("td",{children:"Job"}),n("td",{children:"company"}),n("td",{children:"location"}),n("td",{children:"Last Login"}),n("td",{children:"Favorite Color"}),n("th",{})]})})]})});b.args={size:"xs",pinRows:!0,pinCols:!0};var N,A,I;h.parameters={...h.parameters,docs:{...(N=h.parameters)==null?void 0:N.docs,source:{originalSource:`args => { +import{j as n,t as nn,a as e}from"./tw-merge-0a3648bd.js";import{R as y}from"./index-1b03fe98.js";import{c as en}from"./clsx.m-1229b3e0.js";import{C as c}from"./index-5a4bf744.js";import{M as w}from"./index-3802c17c.js";import{B as R}from"./index-ccb0f6f2.js";import{B as v}from"./Button-0267a47f.js";import"./index-a55c3a76.js";const B=y.forwardRef(({children:t,...r},d)=>n("thead",{...r,ref:d,children:n("tr",{children:t==null?void 0:t.map((i,l)=>n("th",{children:i},l))})})),rn=B;try{B.displayName="TableHead",B.__docgenInfo={description:"",displayName:"TableHead",props:{}}}catch{}const x=y.forwardRef(({children:t,...r},d)=>n("tbody",{...r,ref:d,children:t})),dn=x;try{x.displayName="TableBody",x.__docgenInfo={description:"",displayName:"TableBody",props:{}}}catch{}const k=y.forwardRef(({children:t,active:r,hover:d,className:i,...l},f)=>{const C=nn(i,en({active:r,hover:d}));return n("tr",{...l,className:C,ref:f,children:t==null?void 0:t.map((T,s)=>s<1?n("th",{children:T},s):n("td",{children:T},s))})}),ln=k;try{k.displayName="TableRow",k.__docgenInfo={description:"",displayName:"TableRow",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},active:{defaultValue:null,description:"",name:"active",required:!1,type:{name:"boolean"}},hover:{defaultValue:null,description:"",name:"hover",required:!1,type:{name:"boolean"}}}}}catch{}const P=y.forwardRef(({children:t,...r},d)=>n("tfoot",{...r,ref:d,children:n("tr",{children:t==null?void 0:t.map((i,l)=>n("th",{children:i},l))})})),sn=P;try{P.displayName="TableFooter",P.__docgenInfo={description:"",displayName:"TableFooter",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}const H=y.forwardRef(({children:t,size:r,zebra:d,pinRows:i,pinCols:l,dataTheme:f,className:C,...T},s)=>{const tn=nn("table",C,en({"table-zebra":d,"table-lg":r==="lg","table-md":r==="md","table-sm":r==="sm","table-xs":r==="xs","table-pin-rows":i,"table-pin-cols":l}));return n("table",{...T,"data-theme":f,className:tn,ref:s,children:t})}),a=Object.assign(H,{Head:rn,Body:dn,Row:ln,Footer:sn});try{H.displayName="Table",H.__docgenInfo={description:"",displayName:"Table",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"lg"'},{value:'"md"'},{value:'"sm"'},{value:'"xs"'}]}},zebra:{defaultValue:null,description:"",name:"zebra",required:!1,type:{name:"boolean"}},pinRows:{defaultValue:null,description:"",name:"pinRows",required:!1,type:{name:"boolean"}},pinCols:{defaultValue:null,description:"",name:"pinCols",required:!1,type:{name:"boolean"}}}}}catch{}try{a.displayName="Table",a.__docgenInfo={description:"",displayName:"Table",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"lg"'},{value:'"md"'},{value:'"sm"'},{value:'"xs"'}]}},zebra:{defaultValue:null,description:"",name:"zebra",required:!1,type:{name:"boolean"}},pinRows:{defaultValue:null,description:"",name:"pinRows",required:!1,type:{name:"boolean"}},pinCols:{defaultValue:null,description:"",name:"pinCols",required:!1,type:{name:"boolean"}}}}}catch{}const Tn={title:"Data Display/Table",component:a},an=t=>n("div",{className:"overflow-x-auto",children:e(a,{...t,children:[e(a.Head,{children:[n("span",{}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"Favorite Color"})]}),e(a.Body,{children:[e(a.Row,{children:[n("span",{children:"1"}),n("span",{children:"Cy Ganderton"}),n("span",{children:"Quality Control Specialist"}),n("span",{children:"Blue"})]}),e(a.Row,{children:[n("span",{children:"2"}),n("span",{children:"Hart Hagerty"}),n("span",{children:"Desktop Support Technician"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"3"}),n("span",{children:"Brice Swyre"}),n("span",{children:"Tax Accountant"}),n("span",{children:"Red"})]})]})]})}),h=an.bind({});h.args={};const g=t=>n("div",{className:"overflow-x-auto",children:e(a,{...t,children:[e(a.Head,{children:[n("span",{}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"Favorite Color"})]}),e(a.Body,{children:[e(a.Row,{active:!0,children:[n("span",{children:"1"}),n("span",{children:"Cy Ganderton"}),n("span",{children:"Quality Control Specialist"}),n("span",{children:"Blue"})]}),e(a.Row,{children:[n("span",{children:"2"}),n("span",{children:"Hart Hagerty"}),n("span",{children:"Desktop Support Technician"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"3"}),n("span",{children:"Brice Swyre"}),n("span",{children:"Tax Accountant"}),n("span",{children:"Red"})]})]})]})}),S=t=>n("div",{className:"overflow-x-auto",children:e(a,{...t,children:[e(a.Head,{children:[n("span",{}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"Favorite Color"})]}),e(a.Body,{children:[e(a.Row,{children:[n("span",{children:"1"}),n("span",{children:"Cy Ganderton"}),n("span",{children:"Quality Control Specialist"}),n("span",{children:"Blue"})]}),e(a.Row,{hover:!0,children:[n("span",{children:"2"}),n("span",{children:"Hart Hagerty"}),n("span",{children:"Desktop Support Technician"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"3"}),n("span",{children:"Brice Swyre"}),n("span",{children:"Tax Accountant"}),n("span",{children:"Red"})]})]})]})}),o=an.bind({});o.args={zebra:!0};const p=t=>n("div",{className:"overflow-x-auto",children:e(a,{...t,className:"rounded-box",children:[e(a.Head,{children:[n(c,{}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"Favorite Color"}),n("span",{})]}),e(a.Body,{children:[e(a.Row,{children:[n(c,{}),e("div",{className:"flex items-center space-x-3 truncate",children:[n(w,{variant:"squircle",src:"http://daisyui.com/tailwind-css-component-profile-2@56w.png"}),e("div",{children:[n("div",{className:"font-bold",children:"Hart Hagerty"}),n("div",{className:"text-sm opacity-50",children:"United States"})]})]}),e("div",{children:["Zemlak, Daniel and Leannon",n("br",{}),n(R,{color:"ghost",size:"sm",children:"Desktop Support Technician"})]}),n("div",{children:"Purple"}),n(v,{color:"ghost",size:"xs",children:"details"})]}),e(a.Row,{children:[n(c,{}),e("div",{className:"flex items-center space-x-3 truncate",children:[n(w,{variant:"squircle",src:"http://daisyui.com/tailwind-css-component-profile-3@56w.png"}),e("div",{children:[n("div",{className:"font-bold",children:"Brice Swyre"}),n("div",{className:"text-sm opacity-50",children:"China"})]})]}),e("div",{children:["Carrol Group",n("br",{}),n(R,{color:"ghost",size:"sm",children:"Tax Accountant"})]}),n("div",{children:"Red"}),n(v,{color:"ghost",size:"xs",children:"details"})]}),e(a.Row,{children:[n(c,{}),e("div",{className:"flex items-center space-x-3 truncate",children:[n(w,{variant:"squircle",src:"http://daisyui.com/tailwind-css-component-profile-4@56w.png"}),e("div",{children:[n("div",{className:"font-bold",children:"Marjy Ferencz"}),n("div",{className:"text-sm opacity-50",children:"Russia"})]})]}),e("div",{children:["Rowe-Schoen",n("br",{}),n(R,{color:"ghost",size:"sm",children:"Office Assistant I"})]}),n("div",{children:"Crimson"}),n(v,{color:"ghost",size:"xs",children:"details"})]}),e(a.Row,{children:[n(c,{}),e("div",{className:"flex items-center space-x-3 truncate",children:[n(w,{variant:"squircle",src:"http://daisyui.com/tailwind-css-component-profile-5@56w.png"}),e("div",{children:[n("div",{className:"font-bold",children:"Yancy Tear"}),n("div",{className:"text-sm opacity-50",children:"Brazil"})]})]}),e("div",{children:["Wyman-Ledner",n("br",{}),n(R,{color:"ghost",size:"sm",children:"Community Outreach Specialist"})]}),n("div",{children:"Indigo"}),n(v,{color:"ghost",size:"xs",children:"details"})]})]}),e(a.Footer,{children:[n("span",{children:" "}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"Favorite Color"}),n("span",{children:" "})]})]})});p.args={};const u=t=>n("div",{className:"overflow-x-auto",children:e(a,{...t,children:[e(a.Head,{children:[n("span",{}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"Company"}),n("span",{children:"Location"}),n("span",{children:"Last Login"}),n("span",{children:"Favorite Color"})]}),e(a.Body,{children:[e(a.Row,{children:[n("span",{children:"1"}),n("span",{children:"Cy Ganderton"}),n("span",{children:"Quality Control Specialist"}),n("span",{children:"Littel, Schaden and Vandervort"}),n("span",{children:"Canada"}),n("span",{children:"12/16/2020"}),n("span",{children:"Blue"})]}),e(a.Row,{children:[n("span",{children:"2"}),n("span",{children:"Hart Hagerty"}),n("span",{children:"Desktop Support Technician"}),n("span",{children:"Zemlak, Daniel and Leannon"}),n("span",{children:"United States"}),n("span",{children:"12/5/2020"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"3"}),n("span",{children:"Brice Swyre"}),n("span",{children:"Tax Accountant"}),n("span",{children:"Carroll Group"}),n("span",{children:"China"}),n("span",{children:"8/15/2020"}),n("span",{children:"Red"})]}),e(a.Row,{children:[n("span",{children:"4"}),n("span",{children:"Marjy Ferencz"}),n("span",{children:"Office Assistant I"}),n("span",{children:"Rowe-Schoen"}),n("span",{children:"Russia"}),n("span",{children:"3/25/2021"}),n("span",{children:"Crimson"})]}),e(a.Row,{children:[n("span",{children:"5"}),n("span",{children:"Yancy Tear"}),n("span",{children:"Community Outreach Specialist"}),n("span",{children:"Wyman-Ledner"}),n("span",{children:"Brazil"}),n("span",{children:"5/22/2020"}),n("span",{children:"Indigo"})]}),e(a.Row,{children:[n("span",{children:"6"}),n("span",{children:"Irma Vasilik"}),n("span",{children:"Editor"}),n("span",{children:"Wiza, Bins and Emard"}),n("span",{children:"Venezuela"}),n("span",{children:"12/8/2020"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"7"}),n("span",{children:"Meghann Durtnal"}),n("span",{children:"Staff Accountant IV"}),n("span",{children:"Schuster-Schimmel"}),n("span",{children:"Philippines"}),n("span",{children:"2/17/2021"}),n("span",{children:"Yellow"})]}),e(a.Row,{children:[n("span",{children:"8"}),n("span",{children:"Sammy Seston"}),n("span",{children:"Accountant I"}),n("span",{children:"O'Hara, Welch and Keebler"}),n("span",{children:"Indonesia"}),n("span",{children:"5/23/2020"}),n("span",{children:"Crimson"})]}),e(a.Row,{children:[n("span",{children:"9"}),n("span",{children:"Lesya Tinham"}),n("span",{children:"Safety Technician IV"}),n("span",{children:"Turner-Kuhlman"}),n("span",{children:"Philippines"}),n("span",{children:"2/21/2021"}),n("span",{children:"Maroon"})]}),e(a.Row,{children:[n("span",{children:"10"}),n("span",{children:"Zaneta Tewkesbury"}),n("span",{children:"VP Marketing"}),n("span",{children:"Sauer LLC"}),n("span",{children:"Chad"}),n("span",{children:"6/23/2020"}),n("span",{children:"Green"})]}),e(a.Row,{children:[n("span",{children:"11"}),n("span",{children:"Andy Tipple"}),n("span",{children:"Librarian"}),n("span",{children:"Hilpert Group"}),n("span",{children:"Poland"}),n("span",{children:"7/9/2020"}),n("span",{children:"Indigo"})]}),e(a.Row,{children:[n("span",{children:"12"}),n("span",{children:"Sophi Biles"}),n("span",{children:"Recruiting Manager"}),n("span",{children:"Gutmann Inc"}),n("span",{children:"Indonesia"}),n("span",{children:"2/12/2021"}),n("span",{children:"Maroon"})]}),e(a.Row,{children:[n("span",{children:"13"}),n("span",{children:"Florida Garces"}),n("span",{children:"Web Developer IV"}),n("span",{children:"Gaylord, Pacocha and Baumbach"}),n("span",{children:"Poland"}),n("span",{children:"5/31/2020"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"14"}),n("span",{children:"Maribespan Popping"}),n("span",{children:"Analyst Programmer"}),n("span",{children:"Deckow-Pouros"}),n("span",{children:"Portugal"}),n("span",{children:"4/27/2021"}),n("span",{children:"Aquamarine"})]}),e(a.Row,{children:[n("span",{children:"15"}),n("span",{children:"Moritz Dryburgh"}),n("span",{children:"Dental Hygienist"}),n("span",{children:"Schiller, Cole and Hackett"}),n("span",{children:"Sri Lanka"}),n("span",{children:"8/8/2020"}),n("span",{children:"Crimson"})]}),e(a.Row,{children:[n("span",{children:"16"}),n("span",{children:"Reid Semiras"}),n("span",{children:"Teacher"}),n("span",{children:"Sporer, Sipes and Rogahn"}),n("span",{children:"Poland"}),n("span",{children:"7/30/2020"}),n("span",{children:"Green"})]}),e(a.Row,{children:[n("span",{children:"17"}),n("span",{children:"Alec Lethby"}),n("span",{children:"Teacher"}),n("span",{children:"Reichel, Glover and Hamill"}),n("span",{children:"China"}),n("span",{children:"2/28/2021"}),n("span",{children:"Khaki"})]}),e(a.Row,{children:[n("span",{children:"18"}),n("span",{children:"Aland Wilber"}),n("span",{children:"Quality Control Specialist"}),n("span",{children:"Kshlerin, Rogahn and Swaniawski"}),n("span",{children:"Czech Republic"}),n("span",{children:"9/29/2020"}),n("span",{children:"Purple"})]}),e(a.Row,{children:[n("span",{children:"19"}),n("span",{children:"Teddie Duerden"}),n("span",{children:"Staff Accountant III"}),n("span",{children:"Pouros, Ullrich and Windler"}),n("span",{children:"France"}),n("span",{children:"10/27/2020"}),n("span",{children:"Aquamarine"})]}),e(a.Row,{children:[n("span",{children:"20"}),n("span",{children:"Lorelei Blackstone"}),n("span",{children:"Data Coordiator"}),n("span",{children:"Witting, Kutch and Greenfelder"}),n("span",{children:"Kazakhstan"}),n("span",{children:"6/3/2020"}),n("span",{children:"Red"})]})]}),e(a.Footer,{children:[n("span",{}),n("span",{children:"Name"}),n("span",{children:"Job"}),n("span",{children:"company"}),n("span",{children:"location"}),n("span",{children:"Last Login"}),n("span",{children:"Favorite Color"})]})]})});u.args={size:"xs"};const m=t=>n("div",{className:"overflow-x-auto h-96",children:e(a,{...t,children:[n("thead",{children:n("tr",{children:n("th",{children:"A"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Ant-Man"})}),n("tr",{children:n("td",{children:"Aquaman"})}),n("tr",{children:n("td",{children:"Asterix"})}),n("tr",{children:n("td",{children:"The Atom"})}),n("tr",{children:n("td",{children:"The Avengers"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"B"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Batgirl"})}),n("tr",{children:n("td",{children:"Batman"})}),n("tr",{children:n("td",{children:"Batwoman"})}),n("tr",{children:n("td",{children:"Black Canary"})}),n("tr",{children:n("td",{children:"Black Panther"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"C"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Captain America"})}),n("tr",{children:n("td",{children:"Captain Marvel"})}),n("tr",{children:n("td",{children:"Catwoman"})}),n("tr",{children:n("td",{children:"Conan the Barbarian"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"D"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Daredevil"})}),n("tr",{children:n("td",{children:"The Defenders"})}),n("tr",{children:n("td",{children:"Doc Savage"})}),n("tr",{children:n("td",{children:"Doctor Strange"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"E"})})}),n("tbody",{children:n("tr",{children:n("td",{children:"Elektra"})})}),n("thead",{children:n("tr",{children:n("th",{children:"F"})})}),n("tbody",{children:n("tr",{children:n("td",{children:"Fantastic Four"})})}),n("thead",{children:n("tr",{children:n("th",{children:"G"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Ghost Rider"})}),n("tr",{children:n("td",{children:"Green Arrow"})}),n("tr",{children:n("td",{children:"Green Lantern"})}),n("tr",{children:n("td",{children:"Guardians of the Galaxy"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"H"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Hawkeye"})}),n("tr",{children:n("td",{children:"Hellboy"})}),n("tr",{children:n("td",{children:"Incredible Hulk"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"I"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Iron Fist"})}),n("tr",{children:n("td",{children:"Iron Man"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"M"})})}),n("tbody",{children:n("tr",{children:n("td",{children:"Marvelman"})})}),n("thead",{children:n("tr",{children:n("th",{children:"R"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Robin"})}),n("tr",{children:n("td",{children:"The Rocketeer"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"S"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"The Shadow"})}),n("tr",{children:n("td",{children:"Spider-Man"})}),n("tr",{children:n("td",{children:"Sub-Mariner"})}),n("tr",{children:n("td",{children:"Supergirl"})}),n("tr",{children:n("td",{children:"Superman"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"T"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Teenage Mutant Ninja Turtles"})}),n("tr",{children:n("td",{children:"Thor"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"W"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"The Wasp"})}),n("tr",{children:n("td",{children:"Watchmen"})}),n("tr",{children:n("td",{children:"Wolverine"})}),n("tr",{children:n("td",{children:"Wonder Woman"})})]}),n("thead",{children:n("tr",{children:n("th",{children:"X"})})}),n("tbody",{children:n("tr",{children:n("td",{children:"X-Men"})})}),n("thead",{children:n("tr",{children:n("th",{children:"Z"})})}),e("tbody",{children:[n("tr",{children:n("td",{children:"Zatanna"})}),n("tr",{children:n("td",{children:"Zatara"})})]})]})});m.args={pinRows:!0};const b=t=>n("div",{className:"overflow-x-auto h-96 w-96",children:e(a,{...t,children:[n("thead",{children:e("tr",{children:[n("th",{}),n("td",{children:"Name"}),n("td",{children:"Job"}),n("td",{children:"company"}),n("td",{children:"location"}),n("td",{children:"Last Login"}),n("td",{children:"Favorite Color"}),n("th",{})]})}),e("tbody",{children:[e("tr",{children:[n("th",{children:"1"}),n("td",{children:"Cy Ganderton"}),n("td",{children:"Quality Control Specialist"}),n("td",{children:"Littel, Schaden and Vandervort"}),n("td",{children:"Canada"}),n("td",{children:"12/16/2020"}),n("td",{children:"Blue"}),n("th",{children:"1"})]}),e("tr",{children:[n("th",{children:"2"}),n("td",{children:"Hart Hagerty"}),n("td",{children:"Desktop Support Technician"}),n("td",{children:"Zemlak, Daniel and Leannon"}),n("td",{children:"United States"}),n("td",{children:"12/5/2020"}),n("td",{children:"Purple"}),n("th",{children:"2"})]}),e("tr",{children:[n("th",{children:"3"}),n("td",{children:"Brice Swyre"}),n("td",{children:"Tax Accountant"}),n("td",{children:"Carroll Group"}),n("td",{children:"China"}),n("td",{children:"8/15/2020"}),n("td",{children:"Red"}),n("th",{children:"3"})]}),e("tr",{children:[n("th",{children:"4"}),n("td",{children:"Marjy Ferencz"}),n("td",{children:"Office Assistant I"}),n("td",{children:"Rowe-Schoen"}),n("td",{children:"Russia"}),n("td",{children:"3/25/2021"}),n("td",{children:"Crimson"}),n("th",{children:"4"})]}),e("tr",{children:[n("th",{children:"5"}),n("td",{children:"Yancy Tear"}),n("td",{children:"Community Outreach Specialist"}),n("td",{children:"Wyman-Ledner"}),n("td",{children:"Brazil"}),n("td",{children:"5/22/2020"}),n("td",{children:"Indigo"}),n("th",{children:"5"})]}),e("tr",{children:[n("th",{children:"6"}),n("td",{children:"Irma Vasilik"}),n("td",{children:"Editor"}),n("td",{children:"Wiza, Bins and Emard"}),n("td",{children:"Venezuela"}),n("td",{children:"12/8/2020"}),n("td",{children:"Purple"}),n("th",{children:"6"})]}),e("tr",{children:[n("th",{children:"7"}),n("td",{children:"Meghann Durtnal"}),n("td",{children:"Staff Accountant IV"}),n("td",{children:"Schuster-Schimmel"}),n("td",{children:"Philippines"}),n("td",{children:"2/17/2021"}),n("td",{children:"Yellow"}),n("th",{children:"7"})]}),e("tr",{children:[n("th",{children:"8"}),n("td",{children:"Sammy Seston"}),n("td",{children:"Accountant I"}),n("td",{children:"O'Hara, Welch and Keebler"}),n("td",{children:"Indonesia"}),n("td",{children:"5/23/2020"}),n("td",{children:"Crimson"}),n("th",{children:"8"})]}),e("tr",{children:[n("th",{children:"9"}),n("td",{children:"Lesya Tinham"}),n("td",{children:"Safety Technician IV"}),n("td",{children:"Turner-Kuhlman"}),n("td",{children:"Philippines"}),n("td",{children:"2/21/2021"}),n("td",{children:"Maroon"}),n("th",{children:"9"})]}),e("tr",{children:[n("th",{children:"10"}),n("td",{children:"Zaneta Tewkesbury"}),n("td",{children:"VP Marketing"}),n("td",{children:"Sauer LLC"}),n("td",{children:"Chad"}),n("td",{children:"6/23/2020"}),n("td",{children:"Green"}),n("th",{children:"10"})]}),e("tr",{children:[n("th",{children:"11"}),n("td",{children:"Andy Tipple"}),n("td",{children:"Librarian"}),n("td",{children:"Hilpert Group"}),n("td",{children:"Poland"}),n("td",{children:"7/9/2020"}),n("td",{children:"Indigo"}),n("th",{children:"11"})]}),e("tr",{children:[n("th",{children:"12"}),n("td",{children:"Sophi Biles"}),n("td",{children:"Recruiting Manager"}),n("td",{children:"Gutmann Inc"}),n("td",{children:"Indonesia"}),n("td",{children:"2/12/2021"}),n("td",{children:"Maroon"}),n("th",{children:"12"})]}),e("tr",{children:[n("th",{children:"13"}),n("td",{children:"Florida Garces"}),n("td",{children:"Web Developer IV"}),n("td",{children:"Gaylord, Pacocha and Baumbach"}),n("td",{children:"Poland"}),n("td",{children:"5/31/2020"}),n("td",{children:"Purple"}),n("th",{children:"13"})]}),e("tr",{children:[n("th",{children:"14"}),n("td",{children:"Maribeth Popping"}),n("td",{children:"Analyst Programmer"}),n("td",{children:"Deckow-Pouros"}),n("td",{children:"Portugal"}),n("td",{children:"4/27/2021"}),n("td",{children:"Aquamarine"}),n("th",{children:"14"})]}),e("tr",{children:[n("th",{children:"15"}),n("td",{children:"Moritz Dryburgh"}),n("td",{children:"Dental Hygienist"}),n("td",{children:"Schiller, Cole and Hackett"}),n("td",{children:"Sri Lanka"}),n("td",{children:"8/8/2020"}),n("td",{children:"Crimson"}),n("th",{children:"15"})]}),e("tr",{children:[n("th",{children:"16"}),n("td",{children:"Reid Semiras"}),n("td",{children:"Teacher"}),n("td",{children:"Sporer, Sipes and Rogahn"}),n("td",{children:"Poland"}),n("td",{children:"7/30/2020"}),n("td",{children:"Green"}),n("th",{children:"16"})]}),e("tr",{children:[n("th",{children:"17"}),n("td",{children:"Alec Lethby"}),n("td",{children:"Teacher"}),n("td",{children:"Reichel, Glover and Hamill"}),n("td",{children:"China"}),n("td",{children:"2/28/2021"}),n("td",{children:"Khaki"}),n("th",{children:"17"})]}),e("tr",{children:[n("th",{children:"18"}),n("td",{children:"Aland Wilber"}),n("td",{children:"Quality Control Specialist"}),n("td",{children:"Kshlerin, Rogahn and Swaniawski"}),n("td",{children:"Czech Republic"}),n("td",{children:"9/29/2020"}),n("td",{children:"Purple"}),n("th",{children:"18"})]}),e("tr",{children:[n("th",{children:"19"}),n("td",{children:"Teddie Duerden"}),n("td",{children:"Staff Accountant III"}),n("td",{children:"Pouros, Ullrich and Windler"}),n("td",{children:"France"}),n("td",{children:"10/27/2020"}),n("td",{children:"Aquamarine"}),n("th",{children:"19"})]}),e("tr",{children:[n("th",{children:"20"}),n("td",{children:"Lorelei Blackstone"}),n("td",{children:"Data Coordinator"}),n("td",{children:"Witting, Kutch and Greenfelder"}),n("td",{children:"Kazakhstan"}),n("td",{children:"6/3/2020"}),n("td",{children:"Red"}),n("th",{children:"20"})]})]}),n("tfoot",{children:e("tr",{children:[n("th",{}),n("td",{children:"Name"}),n("td",{children:"Job"}),n("td",{children:"company"}),n("td",{children:"location"}),n("td",{children:"Last Login"}),n("td",{children:"Favorite Color"}),n("th",{})]})})]})});b.args={size:"xs",pinRows:!0,pinCols:!0};var N,A,I;h.parameters={...h.parameters,docs:{...(N=h.parameters)==null?void 0:N.docs,source:{originalSource:`args => { return
diff --git a/docs/assets/Timeline.stories-cbf3f07d.js b/docs/assets/Timeline.stories-f47888c4.js similarity index 99% rename from docs/assets/Timeline.stories-cbf3f07d.js rename to docs/assets/Timeline.stories-f47888c4.js index d9c4e9a8..39ae005f 100644 --- a/docs/assets/Timeline.stories-cbf3f07d.js +++ b/docs/assets/Timeline.stories-f47888c4.js @@ -1,4 +1,4 @@ -import{a as i,j as n,t as A}from"./tw-merge-0a3648bd.js";import{R as _,r as xe}from"./index-1b03fe98.js";import{c as w}from"./clsx.m-1229b3e0.js";const y=_.forwardRef(({children:t,className:r,connect:l,startClassName:a,endClassName:m,...c},W)=>i("li",{...c,className:r,ref:W,children:[(l==="both"||l==="start")&&n("hr",{className:a}),t,(l==="both"||l==="end")&&n("hr",{className:m})]}));y.displayName="TimelineItem";const Ne=y;try{y.displayName="TimelineItem",y.__docgenInfo={description:"",displayName:"TimelineItem",props:{connect:{defaultValue:null,description:"",name:"connect",required:!1,type:{name:"enum",value:[{value:'"start"'},{value:'"end"'},{value:'"both"'}]}},startClassName:{defaultValue:null,description:"",name:"startClassName",required:!1,type:{name:"string"}},endClassName:{defaultValue:null,description:"",name:"endClassName",required:!1,type:{name:"string"}}}}}catch{}const x=_.forwardRef(({children:t,className:r,box:l,...a},m)=>{const c=A("timeline-start",w({"timeline-box":l}),r);return n("div",{...a,className:c,ref:m,children:t})});x.displayName="TimelineStart";const Pe=x;try{x.displayName="TimelineStart",x.__docgenInfo={description:"",displayName:"TimelineStart",props:{box:{defaultValue:null,description:"",name:"box",required:!1,type:{name:"boolean"}}}}}catch{}const N=_.forwardRef(({children:t=n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"w-5 h-5",children:n("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})}),className:r,...l},a)=>{const m=A("timeline-middle",r);return n("div",{...l,className:m,ref:a,children:t})});N.displayName="TimelineMiddle";const ve=N;try{N.displayName="TimelineMiddle",N.__docgenInfo={description:"",displayName:"TimelineMiddle",props:{}}}catch{}const P=_.forwardRef(({children:t,className:r,box:l=!0,...a},m)=>{const c=A("timeline-end",w({"timeline-box":l}),r);return n("div",{...a,className:c,ref:m,children:t})});P.displayName="TimelineEnd";const Ae=P;try{P.displayName="TimelineEnd",P.__docgenInfo={description:"",displayName:"TimelineEnd",props:{box:{defaultValue:{value:"true"},description:"",name:"box",required:!1,type:{name:"boolean"}}}}}catch{}const v=xe.forwardRef(({dataTheme:t,className:r,vertical:l,horizontal:a,responsive:m,snap:c,compact:W,children:ge,...fe},Ee)=>{const ye=A("timeline",w({"timeline-vertical":l,"timeline-horizontal":a,"timeline-vertical lg:timeline-horizontal":m,"timeline-snap-icon":c,"timeline-compact":W}),r);return n("ul",{...fe,"data-theme":t,className:ye,ref:Ee,children:ge})});v.displayName="Timeline";const e=Object.assign(v,{Item:Ne,Start:Pe,Middle:ve,End:Ae});try{v.displayName="Timeline",v.__docgenInfo={description:"",displayName:"Timeline",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"boolean"}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}},responsive:{defaultValue:null,description:"",name:"responsive",required:!1,type:{name:"boolean"}},snap:{defaultValue:null,description:"",name:"snap",required:!1,type:{name:"boolean"}},compact:{defaultValue:null,description:"",name:"compact",required:!1,type:{name:"boolean"}}}}}catch{}const Ce={title:"Data Display/Timeline",component:e,parameters:{controls:{expanded:!0}}},I=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{children:"1984"}),n(e.Middle,{}),n(e.End,{children:"First Macintosh computer"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"1998"}),n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"2001"}),n(e.Middle,{}),n(e.End,{children:"iPod"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"2007"}),n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{children:"2015"}),n(e.Middle,{}),n(e.End,{children:"Apple Watch"})]})]}),M=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Middle,{}),n(e.End,{children:"First Macintosh computer"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPod"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Middle,{}),n(e.End,{children:"Apple Watch"})]})]}),S=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{box:!0,children:"First Macintosh computer"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iMac"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iPod"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iPhone"}),n(e.Middle,{})]}),i(e.Item,{connect:"start",children:[n(e.Start,{box:!0,children:"Apple Watch"}),n(e.Middle,{})]})]}),g=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{box:!0,children:"First Macintosh computer"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iPod"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{box:!0,children:"Apple Watch"}),n(e.Middle,{})]})]}),f=t=>i(e,{...t,children:[i(e.Item,{connect:"end",endClassName:"bg-primary",children:[n(e.Start,{box:!0,children:"First Macintosh computer"}),n(e.Middle,{className:"text-primary"})]}),i(e.Item,{connect:"both",startClassName:"bg-primary",endClassName:"bg-primary",children:[n(e.Middle,{className:"text-primary"}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",startClassName:"bg-primary",children:[n(e.Start,{box:!0,children:"iPod"}),n(e.Middle,{className:"text-primary"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{box:!0,children:"Apple Watch"}),n(e.Middle,{})]})]}),E=t=>i(e,{...t,children:[n(e.Item,{connect:"end",children:n(e.Start,{box:!0,children:"First Macintosh computer"})}),n(e.Item,{connect:"both",children:n(e.End,{children:"iMac"})}),n(e.Item,{connect:"both",children:n(e.Start,{box:!0,children:"iPod"})}),n(e.Item,{connect:"both",children:n(e.End,{children:"iPhone"})}),n(e.Item,{connect:"start",children:n(e.Start,{box:!0,children:"Apple Watch"})})]}),d=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{children:"1984"}),n(e.Middle,{}),n(e.End,{children:"First Macintosh computer"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"1998"}),n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"2001"}),n(e.Middle,{}),n(e.End,{children:"iPod"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"2007"}),n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{children:"2015"}),n(e.Middle,{}),n(e.End,{children:"Apple Watch"})]})]});d.args={vertical:!0};const o=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Middle,{}),n(e.End,{children:"First Macintosh computer"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPod"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Middle,{}),n(e.End,{children:"Apple Watch"})]})]});o.args={vertical:!0};const s=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{box:!0,children:"First Macintosh computer"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iMac"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iPod"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iPhone"}),n(e.Middle,{})]}),i(e.Item,{connect:"start",children:[n(e.Start,{box:!0,children:"Apple Watch"}),n(e.Middle,{})]})]});s.args={vertical:!0};const h=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{box:!0,children:"First Macintosh computer"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iPod"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{box:!0,children:"Apple Watch"}),n(e.Middle,{})]})]});h.args={vertical:!0};const T=t=>i(e,{...t,children:[i(e.Item,{connect:"end",endClassName:"bg-primary",children:[n(e.Start,{box:!0,children:"First Macintosh computer"}),n(e.Middle,{className:"text-primary"})]}),i(e.Item,{connect:"both",startClassName:"bg-primary",endClassName:"bg-primary",children:[n(e.Middle,{className:"text-primary"}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",startClassName:"bg-primary",children:[n(e.Start,{box:!0,children:"iPod"}),n(e.Middle,{className:"text-primary"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{box:!0,children:"Apple Watch"}),n(e.Middle,{})]})]});T.args={vertical:!0};const p=t=>i(e,{...t,children:[n(e.Item,{connect:"end",children:n(e.Start,{box:!0,children:"First Macintosh computer"})}),n(e.Item,{connect:"both",children:n(e.End,{children:"iMac"})}),n(e.Item,{connect:"both",children:n(e.Start,{box:!0,children:"iPod"})}),n(e.Item,{connect:"both",children:n(e.End,{children:"iPhone"})}),n(e.Item,{connect:"start",children:n(e.Start,{box:!0,children:"Apple Watch"})})]});p.args={vertical:!0};const u=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{children:"1984"}),n(e.Middle,{}),n(e.End,{children:"First Macintosh computer"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"1998"}),n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"2001"}),n(e.Middle,{}),n(e.End,{children:"iPod"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"2007"}),n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{children:"2015"}),n(e.Middle,{}),n(e.End,{children:"Apple Watch"})]})]});u.args={responsive:!0};const b=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[i(e.Start,{className:"md:text-end mb-10",children:[n("time",{className:"font-mono italic",children:"1984"}),n("div",{className:"text-lg font-black",children:"First Macintosh computer"}),"The Apple Macintosh—later rebranded as the Macintosh 128K—is the original Apple Macintosh personal computer. It played a pivotal role in establishing desktop publishing as a general office function. The motherboard, a 9 in (23 cm) CRT monitor, and a floppy drive were housed in a beige case with integrated carrying handle; it came with a keyboard and single-button mouse."]}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),i(e.End,{box:!1,className:"mb-10",children:[n("time",{className:"font-mono italic",children:"1998"}),n("div",{className:"text-lg font-black",children:"iMac"}),"iMac is a family of all-in-one Mac desktop computers designed and built by Apple Inc. It has been the primary part of Apple's consumer desktop offerings since its debut in August 1998, and has evolved through seven distinct forms"]})]}),i(e.Item,{connect:"both",children:[i(e.Start,{className:"md:text-end mb-10",children:[n("time",{className:"font-mono italic",children:"2001"}),n("div",{className:"text-lg font-black",children:"iPod"}),"The iPod is a discontinued series of portable media players and multi-purpose mobile devices designed and marketed by Apple Inc. The first version was released on October 23, 2001, about 8+1⁄2 months after the Macintosh version of iTunes was released. Apple sold an estimated 450 million iPod products as of 2022. Apple discontinued the iPod product line on May 10, 2022. At over 20 years, the iPod brand is the oldest to be discontinued by Apple"]}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),i(e.End,{box:!1,className:"mb-10",children:[n("time",{className:"font-mono italic",children:"2007"}),n("div",{className:"text-lg font-black",children:"iPhone"}),"iPhone is a line of smartphones produced by Apple Inc. that use Apple's own iOS mobile operating system. The first-generation iPhone was announced by then-Apple CEO Steve Jobs on January 9, 2007. Since then, Apple has annually released new iPhone models and iOS updates. As of November 1, 2018, more than 2.2 billion iPhones had been sold. As of 2022, the iPhone accounts for 15.6% of global smartphone market share"]})]}),i(e.Item,{connect:"start",children:[i(e.Start,{className:"md:text-end mb-10",children:[n("time",{className:"font-mono italic",children:"2015"}),n("div",{className:"text-lg font-black",children:"Apple Watch"}),"The Apple Watch is a line of smartwatches produced by Apple Inc. It incorporates fitness tracking, health-oriented capabilities, and wireless telecommunication, and integrates with iOS and other Apple products and services"]}),n(e.Middle,{})]})]});b.args={snap:!0,vertical:!0,className:"max:md:timeline-compact"};var C,F,k;I.parameters={...I.parameters,docs:{...(C=I.parameters)==null?void 0:C.docs,source:{originalSource:`args => { +import{a as i,j as n,t as A}from"./tw-merge-0a3648bd.js";import{R as _,r as xe}from"./index-1b03fe98.js";import{c as w}from"./clsx.m-1229b3e0.js";const y=_.forwardRef(({children:t,className:r,connect:l,startClassName:a,endClassName:m,...c},W)=>i("li",{...c,className:r,ref:W,children:[(l==="both"||l==="start")&&n("hr",{className:a}),t,(l==="both"||l==="end")&&n("hr",{className:m})]}));y.displayName="TimelineItem";const Ne=y;try{y.displayName="TimelineItem",y.__docgenInfo={description:"",displayName:"TimelineItem",props:{connect:{defaultValue:null,description:"",name:"connect",required:!1,type:{name:"enum",value:[{value:'"both"'},{value:'"end"'},{value:'"start"'}]}},startClassName:{defaultValue:null,description:"",name:"startClassName",required:!1,type:{name:"string"}},endClassName:{defaultValue:null,description:"",name:"endClassName",required:!1,type:{name:"string"}}}}}catch{}const x=_.forwardRef(({children:t,className:r,box:l,...a},m)=>{const c=A("timeline-start",w({"timeline-box":l}),r);return n("div",{...a,className:c,ref:m,children:t})});x.displayName="TimelineStart";const Pe=x;try{x.displayName="TimelineStart",x.__docgenInfo={description:"",displayName:"TimelineStart",props:{box:{defaultValue:null,description:"",name:"box",required:!1,type:{name:"boolean"}}}}}catch{}const N=_.forwardRef(({children:t=n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"w-5 h-5",children:n("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})}),className:r,...l},a)=>{const m=A("timeline-middle",r);return n("div",{...l,className:m,ref:a,children:t})});N.displayName="TimelineMiddle";const ve=N;try{N.displayName="TimelineMiddle",N.__docgenInfo={description:"",displayName:"TimelineMiddle",props:{}}}catch{}const P=_.forwardRef(({children:t,className:r,box:l=!0,...a},m)=>{const c=A("timeline-end",w({"timeline-box":l}),r);return n("div",{...a,className:c,ref:m,children:t})});P.displayName="TimelineEnd";const Ae=P;try{P.displayName="TimelineEnd",P.__docgenInfo={description:"",displayName:"TimelineEnd",props:{box:{defaultValue:{value:"true"},description:"",name:"box",required:!1,type:{name:"boolean"}}}}}catch{}const v=xe.forwardRef(({dataTheme:t,className:r,vertical:l,horizontal:a,responsive:m,snap:c,compact:W,children:ge,...fe},Ee)=>{const ye=A("timeline",w({"timeline-vertical":l,"timeline-horizontal":a,"timeline-vertical lg:timeline-horizontal":m,"timeline-snap-icon":c,"timeline-compact":W}),r);return n("ul",{...fe,"data-theme":t,className:ye,ref:Ee,children:ge})});v.displayName="Timeline";const e=Object.assign(v,{Item:Ne,Start:Pe,Middle:ve,End:Ae});try{v.displayName="Timeline",v.__docgenInfo={description:"",displayName:"Timeline",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"boolean"}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}},responsive:{defaultValue:null,description:"",name:"responsive",required:!1,type:{name:"boolean"}},snap:{defaultValue:null,description:"",name:"snap",required:!1,type:{name:"boolean"}},compact:{defaultValue:null,description:"",name:"compact",required:!1,type:{name:"boolean"}}}}}catch{}const Ce={title:"Data Display/Timeline",component:e,parameters:{controls:{expanded:!0}}},I=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{children:"1984"}),n(e.Middle,{}),n(e.End,{children:"First Macintosh computer"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"1998"}),n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"2001"}),n(e.Middle,{}),n(e.End,{children:"iPod"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"2007"}),n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{children:"2015"}),n(e.Middle,{}),n(e.End,{children:"Apple Watch"})]})]}),M=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Middle,{}),n(e.End,{children:"First Macintosh computer"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPod"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Middle,{}),n(e.End,{children:"Apple Watch"})]})]}),S=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{box:!0,children:"First Macintosh computer"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iMac"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iPod"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iPhone"}),n(e.Middle,{})]}),i(e.Item,{connect:"start",children:[n(e.Start,{box:!0,children:"Apple Watch"}),n(e.Middle,{})]})]}),g=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{box:!0,children:"First Macintosh computer"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iPod"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{box:!0,children:"Apple Watch"}),n(e.Middle,{})]})]}),f=t=>i(e,{...t,children:[i(e.Item,{connect:"end",endClassName:"bg-primary",children:[n(e.Start,{box:!0,children:"First Macintosh computer"}),n(e.Middle,{className:"text-primary"})]}),i(e.Item,{connect:"both",startClassName:"bg-primary",endClassName:"bg-primary",children:[n(e.Middle,{className:"text-primary"}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",startClassName:"bg-primary",children:[n(e.Start,{box:!0,children:"iPod"}),n(e.Middle,{className:"text-primary"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{box:!0,children:"Apple Watch"}),n(e.Middle,{})]})]}),E=t=>i(e,{...t,children:[n(e.Item,{connect:"end",children:n(e.Start,{box:!0,children:"First Macintosh computer"})}),n(e.Item,{connect:"both",children:n(e.End,{children:"iMac"})}),n(e.Item,{connect:"both",children:n(e.Start,{box:!0,children:"iPod"})}),n(e.Item,{connect:"both",children:n(e.End,{children:"iPhone"})}),n(e.Item,{connect:"start",children:n(e.Start,{box:!0,children:"Apple Watch"})})]}),d=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{children:"1984"}),n(e.Middle,{}),n(e.End,{children:"First Macintosh computer"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"1998"}),n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"2001"}),n(e.Middle,{}),n(e.End,{children:"iPod"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"2007"}),n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{children:"2015"}),n(e.Middle,{}),n(e.End,{children:"Apple Watch"})]})]});d.args={vertical:!0};const o=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Middle,{}),n(e.End,{children:"First Macintosh computer"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPod"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Middle,{}),n(e.End,{children:"Apple Watch"})]})]});o.args={vertical:!0};const s=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{box:!0,children:"First Macintosh computer"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iMac"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iPod"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iPhone"}),n(e.Middle,{})]}),i(e.Item,{connect:"start",children:[n(e.Start,{box:!0,children:"Apple Watch"}),n(e.Middle,{})]})]});s.args={vertical:!0};const h=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{box:!0,children:"First Macintosh computer"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{box:!0,children:"iPod"}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{box:!0,children:"Apple Watch"}),n(e.Middle,{})]})]});h.args={vertical:!0};const T=t=>i(e,{...t,children:[i(e.Item,{connect:"end",endClassName:"bg-primary",children:[n(e.Start,{box:!0,children:"First Macintosh computer"}),n(e.Middle,{className:"text-primary"})]}),i(e.Item,{connect:"both",startClassName:"bg-primary",endClassName:"bg-primary",children:[n(e.Middle,{className:"text-primary"}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",startClassName:"bg-primary",children:[n(e.Start,{box:!0,children:"iPod"}),n(e.Middle,{className:"text-primary"})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{box:!0,children:"Apple Watch"}),n(e.Middle,{})]})]});T.args={vertical:!0};const p=t=>i(e,{...t,children:[n(e.Item,{connect:"end",children:n(e.Start,{box:!0,children:"First Macintosh computer"})}),n(e.Item,{connect:"both",children:n(e.End,{children:"iMac"})}),n(e.Item,{connect:"both",children:n(e.Start,{box:!0,children:"iPod"})}),n(e.Item,{connect:"both",children:n(e.End,{children:"iPhone"})}),n(e.Item,{connect:"start",children:n(e.Start,{box:!0,children:"Apple Watch"})})]});p.args={vertical:!0};const u=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[n(e.Start,{children:"1984"}),n(e.Middle,{}),n(e.End,{children:"First Macintosh computer"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"1998"}),n(e.Middle,{}),n(e.End,{children:"iMac"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"2001"}),n(e.Middle,{}),n(e.End,{children:"iPod"})]}),i(e.Item,{connect:"both",children:[n(e.Start,{children:"2007"}),n(e.Middle,{}),n(e.End,{children:"iPhone"})]}),i(e.Item,{connect:"start",children:[n(e.Start,{children:"2015"}),n(e.Middle,{}),n(e.End,{children:"Apple Watch"})]})]});u.args={responsive:!0};const b=t=>i(e,{...t,children:[i(e.Item,{connect:"end",children:[i(e.Start,{className:"md:text-end mb-10",children:[n("time",{className:"font-mono italic",children:"1984"}),n("div",{className:"text-lg font-black",children:"First Macintosh computer"}),"The Apple Macintosh—later rebranded as the Macintosh 128K—is the original Apple Macintosh personal computer. It played a pivotal role in establishing desktop publishing as a general office function. The motherboard, a 9 in (23 cm) CRT monitor, and a floppy drive were housed in a beige case with integrated carrying handle; it came with a keyboard and single-button mouse."]}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),i(e.End,{box:!1,className:"mb-10",children:[n("time",{className:"font-mono italic",children:"1998"}),n("div",{className:"text-lg font-black",children:"iMac"}),"iMac is a family of all-in-one Mac desktop computers designed and built by Apple Inc. It has been the primary part of Apple's consumer desktop offerings since its debut in August 1998, and has evolved through seven distinct forms"]})]}),i(e.Item,{connect:"both",children:[i(e.Start,{className:"md:text-end mb-10",children:[n("time",{className:"font-mono italic",children:"2001"}),n("div",{className:"text-lg font-black",children:"iPod"}),"The iPod is a discontinued series of portable media players and multi-purpose mobile devices designed and marketed by Apple Inc. The first version was released on October 23, 2001, about 8+1⁄2 months after the Macintosh version of iTunes was released. Apple sold an estimated 450 million iPod products as of 2022. Apple discontinued the iPod product line on May 10, 2022. At over 20 years, the iPod brand is the oldest to be discontinued by Apple"]}),n(e.Middle,{})]}),i(e.Item,{connect:"both",children:[n(e.Middle,{}),i(e.End,{box:!1,className:"mb-10",children:[n("time",{className:"font-mono italic",children:"2007"}),n("div",{className:"text-lg font-black",children:"iPhone"}),"iPhone is a line of smartphones produced by Apple Inc. that use Apple's own iOS mobile operating system. The first-generation iPhone was announced by then-Apple CEO Steve Jobs on January 9, 2007. Since then, Apple has annually released new iPhone models and iOS updates. As of November 1, 2018, more than 2.2 billion iPhones had been sold. As of 2022, the iPhone accounts for 15.6% of global smartphone market share"]})]}),i(e.Item,{connect:"start",children:[i(e.Start,{className:"md:text-end mb-10",children:[n("time",{className:"font-mono italic",children:"2015"}),n("div",{className:"text-lg font-black",children:"Apple Watch"}),"The Apple Watch is a line of smartwatches produced by Apple Inc. It incorporates fitness tracking, health-oriented capabilities, and wireless telecommunication, and integrates with iOS and other Apple products and services"]}),n(e.Middle,{})]})]});b.args={snap:!0,vertical:!0,className:"max:md:timeline-compact"};var C,F,k;I.parameters={...I.parameters,docs:{...(C=I.parameters)==null?void 0:C.docs,source:{originalSource:`args => { return 1984 diff --git a/docs/assets/Toast.stories-8a8af9af.js b/docs/assets/Toast.stories-7a65fe46.js similarity index 96% rename from docs/assets/Toast.stories-8a8af9af.js rename to docs/assets/Toast.stories-7a65fe46.js index 8a7cd9d7..29433000 100644 --- a/docs/assets/Toast.stories-8a8af9af.js +++ b/docs/assets/Toast.stories-7a65fe46.js @@ -1,4 +1,4 @@ -import{j as a,t as q,a as o,F as v}from"./tw-merge-0a3648bd.js";import{r as B,R as L}from"./index-1b03fe98.js";import{A as m}from"./index-fa7a260c.js";import{B as T}from"./Button-e9ac0f78.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const V={start:"toast-start",center:"toast-center",end:"toast-end"},j={top:"toast-top",middle:"toast-middle",bottom:"toast-bottom"},h=B.forwardRef(({horizontal:t="end",vertical:e="bottom",className:s,children:p,...f},r)=>a("div",{...f,className:q("toast",V[t],j[e],s),ref:r,children:p}));h.displayName="Toast";const l=h;try{h.displayName="Toast",h.__docgenInfo={description:"",displayName:"Toast",props:{horizontal:{defaultValue:{value:"end"},description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"start"'},{value:'"end"'},{value:'"center"'}]}},vertical:{defaultValue:{value:"bottom"},description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'},{value:'"middle"'}]}},dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}try{l.displayName="Toast",l.__docgenInfo={description:"",displayName:"Toast",props:{horizontal:{defaultValue:{value:"end"},description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"start"'},{value:'"end"'},{value:'"center"'}]}},vertical:{defaultValue:{value:"bottom"},description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'},{value:'"middle"'}]}},dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}const G={title:"Feedback/Toast",component:l},g={start:"left",end:"right",center:"center"},i=({vertical:t="bottom",horizontal:e="end",...s})=>o(v,{children:[o("span",{children:["Look at the ",t," ",g[e]," of this story to see the toast."]}),a("div",{className:"w-full h-full",children:a(l,{...s,vertical:t,horizontal:e,children:"Default toast"})})]}),d=({vertical:t="bottom",horizontal:e="end",...s})=>o(v,{children:[o("span",{children:["Look at the ",t," ",g[e]," of this story to see the toast."]}),a(l,{...s,vertical:t,horizontal:e,children:a(m,{status:"info",children:"New message arrived."})})]}),c=({vertical:t="bottom",horizontal:e="end",...s})=>o(v,{children:[o("span",{children:["Look at the ",t," ",g[e]," of this story to see the toast."]}),o(l,{...s,vertical:t,horizontal:e,children:[a(m,{status:"info",children:"New message arrived."}),a(m,{status:"success",children:"Message sent successfully."})]})]}),y=["info","success","warning","error"],u=t=>{const[e,s]=L.useState([{text:"This is a custom alert!",status:"info"}]),p=()=>{s(r=>[...r,{text:"New message arrived.",status:y[Math.floor(Math.random()*y.length)]}])},f=r=>{s(n=>n.filter((W,R)=>R!==r))};return o("div",{children:[a(T,{onClick:p,children:"Add Toast"}),a(l,{...t,children:e.map((r,n)=>o(m,{status:r.status,children:[a("div",{className:"w-full flex-row justify-between gap-2",children:a("h3",{children:r.text})}),a(T,{color:"ghost",onClick:()=>f(n),children:"X"})]},n))})]})};var A,_,z;i.parameters={...i.parameters,docs:{...(A=i.parameters)==null?void 0:A.docs,source:{originalSource:`({ +import{j as a,t as q,a as o,F as v}from"./tw-merge-0a3648bd.js";import{r as B,R as L}from"./index-1b03fe98.js";import{A as m}from"./index-fa7a260c.js";import{B as T}from"./Button-0267a47f.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const V={start:"toast-start",center:"toast-center",end:"toast-end"},j={top:"toast-top",middle:"toast-middle",bottom:"toast-bottom"},h=B.forwardRef(({horizontal:t="end",vertical:e="bottom",className:s,children:p,...f},r)=>a("div",{...f,className:q("toast",V[t],j[e],s),ref:r,children:p}));h.displayName="Toast";const l=h;try{h.displayName="Toast",h.__docgenInfo={description:"",displayName:"Toast",props:{horizontal:{defaultValue:{value:"end"},description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},vertical:{defaultValue:{value:"bottom"},description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'},{value:'"middle"'}]}},dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}try{l.displayName="Toast",l.__docgenInfo={description:"",displayName:"Toast",props:{horizontal:{defaultValue:{value:"end"},description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},vertical:{defaultValue:{value:"bottom"},description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'},{value:'"middle"'}]}},dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}const G={title:"Feedback/Toast",component:l},g={start:"left",end:"right",center:"center"},i=({vertical:t="bottom",horizontal:e="end",...s})=>o(v,{children:[o("span",{children:["Look at the ",t," ",g[e]," of this story to see the toast."]}),a("div",{className:"w-full h-full",children:a(l,{...s,vertical:t,horizontal:e,children:"Default toast"})})]}),d=({vertical:t="bottom",horizontal:e="end",...s})=>o(v,{children:[o("span",{children:["Look at the ",t," ",g[e]," of this story to see the toast."]}),a(l,{...s,vertical:t,horizontal:e,children:a(m,{status:"info",children:"New message arrived."})})]}),c=({vertical:t="bottom",horizontal:e="end",...s})=>o(v,{children:[o("span",{children:["Look at the ",t," ",g[e]," of this story to see the toast."]}),o(l,{...s,vertical:t,horizontal:e,children:[a(m,{status:"info",children:"New message arrived."}),a(m,{status:"success",children:"Message sent successfully."})]})]}),y=["info","success","warning","error"],u=t=>{const[e,s]=L.useState([{text:"This is a custom alert!",status:"info"}]),p=()=>{s(r=>[...r,{text:"New message arrived.",status:y[Math.floor(Math.random()*y.length)]}])},f=r=>{s(n=>n.filter((W,R)=>R!==r))};return o("div",{children:[a(T,{onClick:p,children:"Add Toast"}),a(l,{...t,children:e.map((r,n)=>o(m,{status:r.status,children:[a("div",{className:"w-full flex-row justify-between gap-2",children:a("h3",{children:r.text})}),a(T,{color:"ghost",onClick:()=>f(n),children:"X"})]},n))})]})};var A,_,z;i.parameters={...i.parameters,docs:{...(A=i.parameters)==null?void 0:A.docs,source:{originalSource:`({ vertical = 'bottom', horizontal = 'end', ...args diff --git a/docs/assets/Tooltip.stories-a5d9ceb9.js b/docs/assets/Tooltip.stories-deb48ac1.js similarity index 98% rename from docs/assets/Tooltip.stories-a5d9ceb9.js rename to docs/assets/Tooltip.stories-deb48ac1.js index 34108711..2636d8a1 100644 --- a/docs/assets/Tooltip.stories-a5d9ceb9.js +++ b/docs/assets/Tooltip.stories-deb48ac1.js @@ -1,4 +1,4 @@ -import{a as C,j as o}from"./tw-merge-0a3648bd.js";import{T as e}from"./index-6c8d164f.js";import{B as s}from"./Button-e9ac0f78.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const k={title:"Feedback/Tooltip",component:e},p=r=>o("div",{className:"my-6",children:o(e,{...r,children:o(s,{children:"Hover me"})})}),n=p.bind({});n.args={message:"hello"};const t=p.bind({});t.args={message:"hello",open:!0};const a=p.bind({});a.args={message:"hello",open:!0,position:"bottom"};const c=p.bind({});c.args={message:"hello",open:!0,position:"left"};const i=p.bind({});i.args={message:"hello",open:!0,position:"right"};const l=r=>C("div",{className:"flex gap-2 mt-6",children:[o(e,{...r,color:"primary",message:"primary",children:o(s,{color:"primary",children:"Primary"})}),o(e,{...r,color:"secondary",message:"secondary",children:o(s,{color:"secondary",children:"Secondary"})}),o(e,{...r,color:"accent",message:"accent",children:o(s,{color:"accent",children:"Accent"})})]});l.args={open:!0};const m=r=>C("div",{className:"flex gap-2 mt-6",children:[o(e,{...r,color:"info",message:"info",children:o(s,{color:"info",children:"Info"})}),o(e,{...r,color:"success",message:"success",children:o(s,{color:"success",children:"Success"})}),o(e,{...r,color:"warning",message:"warning",children:o(s,{color:"warning",children:"Warning"})}),o(e,{...r,color:"error",message:"error",children:o(s,{color:"error",children:"Error"})})]});m.args={open:!0};var u,d,g;n.parameters={...n.parameters,docs:{...(u=n.parameters)==null?void 0:u.docs,source:{originalSource:`args => { +import{a as C,j as o}from"./tw-merge-0a3648bd.js";import{T as e}from"./index-6c8d164f.js";import{B as s}from"./Button-0267a47f.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const k={title:"Feedback/Tooltip",component:e},p=r=>o("div",{className:"my-6",children:o(e,{...r,children:o(s,{children:"Hover me"})})}),n=p.bind({});n.args={message:"hello"};const t=p.bind({});t.args={message:"hello",open:!0};const a=p.bind({});a.args={message:"hello",open:!0,position:"bottom"};const c=p.bind({});c.args={message:"hello",open:!0,position:"left"};const i=p.bind({});i.args={message:"hello",open:!0,position:"right"};const l=r=>C("div",{className:"flex gap-2 mt-6",children:[o(e,{...r,color:"primary",message:"primary",children:o(s,{color:"primary",children:"Primary"})}),o(e,{...r,color:"secondary",message:"secondary",children:o(s,{color:"secondary",children:"Secondary"})}),o(e,{...r,color:"accent",message:"accent",children:o(s,{color:"accent",children:"Accent"})})]});l.args={open:!0};const m=r=>C("div",{className:"flex gap-2 mt-6",children:[o(e,{...r,color:"info",message:"info",children:o(s,{color:"info",children:"Info"})}),o(e,{...r,color:"success",message:"success",children:o(s,{color:"success",children:"Success"})}),o(e,{...r,color:"warning",message:"warning",children:o(s,{color:"warning",children:"Warning"})}),o(e,{...r,color:"error",message:"error",children:o(s,{color:"error",children:"Error"})})]});m.args={open:!0};var u,d,g;n.parameters={...n.parameters,docs:{...(u=n.parameters)==null?void 0:u.docs,source:{originalSource:`args => { return
diff --git a/docs/assets/Welcome-230771bb.js b/docs/assets/Welcome-1d0b2fc0.js similarity index 96% rename from docs/assets/Welcome-230771bb.js rename to docs/assets/Welcome-1d0b2fc0.js index 80aec289..61cfd048 100644 --- a/docs/assets/Welcome-230771bb.js +++ b/docs/assets/Welcome-1d0b2fc0.js @@ -1,2 +1,2 @@ -import{j as e,a as r,F as m}from"./tw-merge-0a3648bd.js";import{M as d}from"./index-21c4db47.js";import{B as i}from"./Button-e9ac0f78.js";import{C as l}from"./CodeMockup-5ec72808.js";import{H as p}from"./Hero-9639dab2.js";import{L as h}from"./index-6329c95a.js";import{T as g}from"./index-6c8d164f.js";import{a as u}from"./index-147f7280.js";import{u as f}from"./useGlobalTheme-d47a597b.js";import{r as x}from"./index-1b03fe98.js";import{u as w}from"./index-2ef8b458.js";import"./iframe-19c7c3ad.js";import"../sb-preview/runtime.js";import"./chunk-ZGA76URP-2bd2442b.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";import"./constants-fe73bc72.js";const b=({children:t})=>{const a=f();return e(u,{dataTheme:a,children:t})},v=({text:t="",...a})=>{const[o,s]=x.useState(!1),c=async()=>{navigator.clipboard.writeText(t).then(()=>s(!0)).catch(()=>s(!1))};return e(i,{...a,onClick:()=>{c()},children:o?e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1,children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"})}):e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1,children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3"})})})};const y=e("svg",{"aria-hidden":"true",className:"octicon octicon-mark-github fill-current",height:"24",version:"1.1",viewBox:"0 0 16 16",width:"24",children:e("path",{fillRule:"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"})}),C=e("svg",{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block h-6 w-6 stroke-current",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})}),k=()=>{const t=["React components","Faster development","Cleaner JSX/TSX","Customizable and themeable"];return e(b,{children:r("div",{className:"from-primary to-secondary text-primary-content -mt-[4rem] grid place-items-center items-end bg-gradient-to-br pt-20",children:[e("svg",{className:"fill-secondary col-start-1 row-start-1 h-auto w-full",width:"1600",height:"595",viewBox:"0 0 1600 595",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M0 338L53.3 349.2C106.7 360.3 213.3 382.7 320 393.8C426.7 405 533.3 405 640 359.3C746.7 313.7 853.3 222.3 960 189.2C1066.7 156 1173.3 181 1280 159.2C1386.7 137.3 1493.3 68.7 1546.7 34.3L1600 0V595H1546.7C1493.3 595 1386.7 595 1280 595C1173.3 595 1066.7 595 960 595C853.3 595 746.7 595 640 595C533.3 595 426.7 595 320 595C213.3 595 106.7 595 53.3 595H0V338Z"})}),e(p.Content,{className:"col-start-1 row-start-1 w-full max-w-7xl flex-col justify-between gap-10 pb-40 lg:flex-row lg:items-end lg:gap-0 xl:gap-20",children:r("div",{className:"flex-col gap-10 lg:px-10 lg:pb-32",children:[r("h1",{className:"font-title mb-2 py-4 font-extrabold lg:py-10",children:[e("div",{className:"mb-2 text-5xl lg:text-7xl",children:"react-daisyUI"}),r("div",{className:"text-2xl lg:text-3xl",children:["A React component library for"," ",e(h,{color:"info",href:"https://daisyui.com/",target:"_blank",children:"daisyUI"}),", ",e("br",{}),"the most popular, free and open-source ",e("br",{}),"Tailwind CSS component library"]})]}),r("div",{className:"flex w-full flex-col items-start space-y-10 lg:flex-row lg:space-x-4 lg:space-y-0",children:[e("div",{className:"my-2 flex max-w-sm flex-col gap-2 text-left",children:t.map((a,o)=>r("div",{className:"flex gap-2",children:[C," ",a]},`bulletPoint.${o}`))}),e(l,{className:"border-base-content w-full max-w-sm flex-1 border-2 border-opacity-20 bg-transparent pb-6 text-left text-current lg:mx-0",children:r(l.Line,{children:["npm i daisyui react-daisyui"," ",e(g,{message:"Copy",children:e(v,{color:"ghost",size:"xs",text:"npm i daisyui react-daisyui"})})]})})]}),r("div",{className:"pt-4 flex flex-row gap-2",children:[e(i,{tag:"a",active:!0,startIcon:y,size:"lg",color:"ghost",href:"https://github.com/daisyui/react-daisyui",target:"_blank",children:"GitHub"}),e(i,{tag:"a",size:"lg",href:"https://www.npmjs.com/package/react-daisyui",target:"_blank",children:"NPM"})]})]})})]})})};function n(t){return r(m,{children:[e(d,{title:"Welcome"}),` +import{j as e,a as r,F as m}from"./tw-merge-0a3648bd.js";import{M as d}from"./index-8e1aaa9d.js";import{B as i}from"./Button-0267a47f.js";import{C as l}from"./CodeMockup-5ec72808.js";import{H as p}from"./Hero-9639dab2.js";import{L as h}from"./index-6329c95a.js";import{T as g}from"./index-6c8d164f.js";import{a as u}from"./index-147f7280.js";import{u as f}from"./useGlobalTheme-d47a597b.js";import{r as x}from"./index-1b03fe98.js";import{u as w}from"./index-2ef8b458.js";import"./iframe-653d232b.js";import"../sb-preview/runtime.js";import"./chunk-ZGA76URP-2bd2442b.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";import"./constants-fe73bc72.js";const b=({children:t})=>{const a=f();return e(u,{dataTheme:a,children:t})},v=({text:t="",...a})=>{const[o,s]=x.useState(!1),c=async()=>{navigator.clipboard.writeText(t).then(()=>s(!0)).catch(()=>s(!1))};return e(i,{...a,onClick:()=>{c()},children:o?e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1,children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"})}):e("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1,children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3"})})})};const y=e("svg",{"aria-hidden":"true",className:"octicon octicon-mark-github fill-current",height:"24",version:"1.1",viewBox:"0 0 16 16",width:"24",children:e("path",{fillRule:"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"})}),C=e("svg",{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block h-6 w-6 stroke-current",children:e("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})}),k=()=>{const t=["React components","Faster development","Cleaner JSX/TSX","Customizable and themeable"];return e(b,{children:r("div",{className:"from-primary to-secondary text-primary-content -mt-[4rem] grid place-items-center items-end bg-gradient-to-br pt-20",children:[e("svg",{className:"fill-secondary col-start-1 row-start-1 h-auto w-full",width:"1600",height:"595",viewBox:"0 0 1600 595",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M0 338L53.3 349.2C106.7 360.3 213.3 382.7 320 393.8C426.7 405 533.3 405 640 359.3C746.7 313.7 853.3 222.3 960 189.2C1066.7 156 1173.3 181 1280 159.2C1386.7 137.3 1493.3 68.7 1546.7 34.3L1600 0V595H1546.7C1493.3 595 1386.7 595 1280 595C1173.3 595 1066.7 595 960 595C853.3 595 746.7 595 640 595C533.3 595 426.7 595 320 595C213.3 595 106.7 595 53.3 595H0V338Z"})}),e(p.Content,{className:"col-start-1 row-start-1 w-full max-w-7xl flex-col justify-between gap-10 pb-40 lg:flex-row lg:items-end lg:gap-0 xl:gap-20",children:r("div",{className:"flex-col gap-10 lg:px-10 lg:pb-32",children:[r("h1",{className:"font-title mb-2 py-4 font-extrabold lg:py-10",children:[e("div",{className:"mb-2 text-5xl lg:text-7xl",children:"react-daisyUI"}),r("div",{className:"text-2xl lg:text-3xl",children:["A React component library for"," ",e(h,{color:"info",href:"https://daisyui.com/",target:"_blank",children:"daisyUI"}),", ",e("br",{}),"the most popular, free and open-source ",e("br",{}),"Tailwind CSS component library"]})]}),r("div",{className:"flex w-full flex-col items-start space-y-10 lg:flex-row lg:space-x-4 lg:space-y-0",children:[e("div",{className:"my-2 flex max-w-sm flex-col gap-2 text-left",children:t.map((a,o)=>r("div",{className:"flex gap-2",children:[C," ",a]},`bulletPoint.${o}`))}),e(l,{className:"border-base-content w-full max-w-sm flex-1 border-2 border-opacity-20 bg-transparent pb-6 text-left text-current lg:mx-0",children:r(l.Line,{children:["npm i daisyui react-daisyui"," ",e(g,{message:"Copy",children:e(v,{color:"ghost",size:"xs",text:"npm i daisyui react-daisyui"})})]})})]}),r("div",{className:"pt-4 flex flex-row gap-2",children:[e(i,{tag:"a",active:!0,startIcon:y,size:"lg",color:"ghost",href:"https://github.com/daisyui/react-daisyui",target:"_blank",children:"GitHub"}),e(i,{tag:"a",size:"lg",href:"https://www.npmjs.com/package/react-daisyui",target:"_blank",children:"NPM"})]})]})})]})})};function n(t){return r(m,{children:[e(d,{title:"Welcome"}),` `,e("div",{className:"sb-unstyled",children:e(k,{})})]})}function U(t={}){const{wrapper:a}=Object.assign({},w(),t.components);return a?e(a,Object.assign({},t,{children:e(n,t)})):n()}export{U as default}; diff --git a/docs/assets/WithTooltip-V3YHNWJZ-cc2adff6.js b/docs/assets/WithTooltip-V3YHNWJZ-b738d207.js similarity index 61% rename from docs/assets/WithTooltip-V3YHNWJZ-cc2adff6.js rename to docs/assets/WithTooltip-V3YHNWJZ-b738d207.js index 21480453..c94de1a7 100644 --- a/docs/assets/WithTooltip-V3YHNWJZ-cc2adff6.js +++ b/docs/assets/WithTooltip-V3YHNWJZ-b738d207.js @@ -1 +1 @@ -import{W as e,W as h,a as l}from"./index-21c4db47.js";import"./iframe-19c7c3ad.js";import"../sb-preview/runtime.js";import"./chunk-ZGA76URP-2bd2442b.js";import"./index-1b03fe98.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";export{e as WithToolTipState,h as WithTooltip,l as WithTooltipPure}; +import{W as e,W as h,a as l}from"./index-8e1aaa9d.js";import"./iframe-653d232b.js";import"../sb-preview/runtime.js";import"./chunk-ZGA76URP-2bd2442b.js";import"./index-1b03fe98.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";export{e as WithToolTipState,h as WithTooltip,l as WithTooltipPure}; diff --git a/docs/assets/formatter-SWP5E3XI-ec71aaad.js b/docs/assets/formatter-SWP5E3XI-eae48fea.js similarity index 99% rename from docs/assets/formatter-SWP5E3XI-ec71aaad.js rename to docs/assets/formatter-SWP5E3XI-eae48fea.js index e4113a64..807ea898 100644 --- a/docs/assets/formatter-SWP5E3XI-ec71aaad.js +++ b/docs/assets/formatter-SWP5E3XI-eae48fea.js @@ -1,4 +1,4 @@ -import{_ as ea,m as pl,b as ta}from"./index-21c4db47.js";import"./iframe-19c7c3ad.js";import"../sb-preview/runtime.js";import"./chunk-ZGA76URP-2bd2442b.js";import"./index-1b03fe98.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";var cl=ta({"node_modules/prettier/parser-html.js"(Jr,Xr){(function(Ae){if(typeof Jr=="object"&&typeof Xr=="object")Xr.exports=Ae();else if(typeof define=="function"&&define.amd)define(Ae);else{var Yt=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};Yt.prettierPlugins=Yt.prettierPlugins||{},Yt.prettierPlugins.html=Ae()}})(function(){var Ae=(ot,Ne)=>()=>(Ne||ot((Ne={exports:{}}).exports,Ne),Ne.exports),Yt=Ae((ot,Ne)=>{var Se=function(Oe){return Oe&&Oe.Math==Math&&Oe};Ne.exports=Se(typeof globalThis=="object"&&globalThis)||Se(typeof window=="object"&&window)||Se(typeof self=="object"&&self)||Se(typeof global=="object"&&global)||function(){return this}()||Function("return this")()}),hr=Ae((ot,Ne)=>{Ne.exports=function(Se){try{return!!Se()}catch{return!0}}}),br=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Hr=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){var Oe=(function(){}).bind();return typeof Oe!="function"||Oe.hasOwnProperty("prototype")})}),gr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype.call;Ne.exports=Se?Oe.bind(Oe):function(){return Oe.apply(Oe,arguments)}}),Dn=Ae(ot=>{var Ne={}.propertyIsEnumerable,Se=Object.getOwnPropertyDescriptor,Oe=Se&&!Ne.call({1:2},1);ot.f=Oe?function(ee){var V=Se(this,ee);return!!V&&V.enumerable}:Ne}),Lr=Ae((ot,Ne)=>{Ne.exports=function(Se,Oe){return{enumerable:!(Se&1),configurable:!(Se&2),writable:!(Se&4),value:Oe}}}),Dr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype,ee=Oe.call,V=Se&&Oe.bind.bind(ee,ee);Ne.exports=Se?V:function(W){return function(){return ee.apply(W,arguments)}}}),Br=Ae((ot,Ne)=>{var Se=Dr(),Oe=Se({}.toString),ee=Se("".slice);Ne.exports=function(V){return ee(Oe(V),8,-1)}}),Zr=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=Br(),V=Object,W=Se("".split);Ne.exports=Oe(function(){return!V("z").propertyIsEnumerable(0)})?function(Z){return ee(Z)=="String"?W(Z,""):V(Z)}:V}),nn=Ae((ot,Ne)=>{Ne.exports=function(Se){return Se==null}}),qn=Ae((ot,Ne)=>{var Se=nn(),Oe=TypeError;Ne.exports=function(ee){if(Se(ee))throw Oe("Can't call method on "+ee);return ee}}),dn=Ae((ot,Ne)=>{var Se=Zr(),Oe=qn();Ne.exports=function(ee){return Se(Oe(ee))}}),Vn=Ae((ot,Ne)=>{var Se=typeof document=="object"&&document.all,Oe=typeof Se>"u"&&Se!==void 0;Ne.exports={all:Se,IS_HTMLDDA:Oe}}),dr=Ae((ot,Ne)=>{var Se=Vn(),Oe=Se.all;Ne.exports=Se.IS_HTMLDDA?function(ee){return typeof ee=="function"||ee===Oe}:function(ee){return typeof ee=="function"}}),Or=Ae((ot,Ne)=>{var Se=dr(),Oe=Vn(),ee=Oe.all;Ne.exports=Oe.IS_HTMLDDA?function(V){return typeof V=="object"?V!==null:Se(V)||V===ee}:function(V){return typeof V=="object"?V!==null:Se(V)}}),un=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=function(V){return Oe(V)?V:void 0};Ne.exports=function(V,W){return arguments.length<2?ee(Se[V]):Se[V]&&Se[V][W]}}),Un=Ae((ot,Ne)=>{var Se=Dr();Ne.exports=Se({}.isPrototypeOf)}),ii=Ae((ot,Ne)=>{var Se=un();Ne.exports=Se("navigator","userAgent")||""}),si=Ae((ot,Ne)=>{var Se=Yt(),Oe=ii(),ee=Se.process,V=Se.Deno,W=ee&&ee.versions||V&&V.version,Z=W&&W.v8,Y,ne;Z&&(Y=Z.split("."),ne=Y[0]>0&&Y[0]<4?1:+(Y[0]+Y[1])),!ne&&Oe&&(Y=Oe.match(/Edge\/(\d+)/),(!Y||Y[1]>=74)&&(Y=Oe.match(/Chrome\/(\d+)/),Y&&(ne=+Y[1]))),Ne.exports=ne}),Gn=Ae((ot,Ne)=>{var Se=si(),Oe=hr();Ne.exports=!!Object.getOwnPropertySymbols&&!Oe(function(){var ee=Symbol();return!String(ee)||!(Object(ee)instanceof Symbol)||!Symbol.sham&&Se&&Se<41})}),Jn=Ae((ot,Ne)=>{var Se=Gn();Ne.exports=Se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Xn=Ae((ot,Ne)=>{var Se=un(),Oe=dr(),ee=Un(),V=Jn(),W=Object;Ne.exports=V?function(Z){return typeof Z=="symbol"}:function(Z){var Y=Se("Symbol");return Oe(Y)&&ee(Y.prototype,W(Z))}}),fn=Ae((ot,Ne)=>{var Se=String;Ne.exports=function(Oe){try{return Se(Oe)}catch{return"Object"}}}),sn=Ae((ot,Ne)=>{var Se=dr(),Oe=fn(),ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not a function")}}),mn=Ae((ot,Ne)=>{var Se=sn(),Oe=nn();Ne.exports=function(ee,V){var W=ee[V];return Oe(W)?void 0:Se(W)}}),ai=Ae((ot,Ne)=>{var Se=gr(),Oe=dr(),ee=Or(),V=TypeError;Ne.exports=function(W,Z){var Y,ne;if(Z==="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W))||Oe(Y=W.valueOf)&&!ee(ne=Se(Y,W))||Z!=="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W)))return ne;throw V("Can't convert object to primitive value")}}),oi=Ae((ot,Ne)=>{Ne.exports=!1}),hn=Ae((ot,Ne)=>{var Se=Yt(),Oe=Object.defineProperty;Ne.exports=function(ee,V){try{Oe(Se,ee,{value:V,configurable:!0,writable:!0})}catch{Se[ee]=V}return V}}),gn=Ae((ot,Ne)=>{var Se=Yt(),Oe=hn(),ee="__core-js_shared__",V=Se[ee]||Oe(ee,{});Ne.exports=V}),Wn=Ae((ot,Ne)=>{var Se=oi(),Oe=gn();(Ne.exports=function(ee,V){return Oe[ee]||(Oe[ee]=V!==void 0?V:{})})("versions",[]).push({version:"3.26.1",mode:Se?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Sn=Ae((ot,Ne)=>{var Se=qn(),Oe=Object;Ne.exports=function(ee){return Oe(Se(ee))}}),kr=Ae((ot,Ne)=>{var Se=Dr(),Oe=Sn(),ee=Se({}.hasOwnProperty);Ne.exports=Object.hasOwn||function(V,W){return ee(Oe(V),W)}}),zn=Ae((ot,Ne)=>{var Se=Dr(),Oe=0,ee=Math.random(),V=Se(1 .toString);Ne.exports=function(W){return"Symbol("+(W===void 0?"":W)+")_"+V(++Oe+ee,36)}}),$r=Ae((ot,Ne)=>{var Se=Yt(),Oe=Wn(),ee=kr(),V=zn(),W=Gn(),Z=Jn(),Y=Oe("wks"),ne=Se.Symbol,Fe=ne&&ne.for,je=Z?ne:ne&&ne.withoutSetter||V;Ne.exports=function(he){if(!ee(Y,he)||!(W||typeof Y[he]=="string")){var qe="Symbol."+he;W&&ee(ne,he)?Y[he]=ne[he]:Z&&Fe?Y[he]=Fe(qe):Y[he]=je(qe)}return Y[he]}}),li=Ae((ot,Ne)=>{var Se=gr(),Oe=Or(),ee=Xn(),V=mn(),W=ai(),Z=$r(),Y=TypeError,ne=Z("toPrimitive");Ne.exports=function(Fe,je){if(!Oe(Fe)||ee(Fe))return Fe;var he=V(Fe,ne),qe;if(he){if(je===void 0&&(je="default"),qe=Se(he,Fe,je),!Oe(qe)||ee(qe))return qe;throw Y("Can't convert object to primitive value")}return je===void 0&&(je="number"),W(Fe,je)}}),yn=Ae((ot,Ne)=>{var Se=li(),Oe=Xn();Ne.exports=function(ee){var V=Se(ee,"string");return Oe(V)?V:V+""}}),pi=Ae((ot,Ne)=>{var Se=Yt(),Oe=Or(),ee=Se.document,V=Oe(ee)&&Oe(ee.createElement);Ne.exports=function(W){return V?ee.createElement(W):{}}}),Hn=Ae((ot,Ne)=>{var Se=br(),Oe=hr(),ee=pi();Ne.exports=!Se&&!Oe(function(){return Object.defineProperty(ee("div"),"a",{get:function(){return 7}}).a!=7})}),Yn=Ae(ot=>{var Ne=br(),Se=gr(),Oe=Dn(),ee=Lr(),V=dn(),W=yn(),Z=kr(),Y=Hn(),ne=Object.getOwnPropertyDescriptor;ot.f=Ne?ne:function(Fe,je){if(Fe=V(Fe),je=W(je),Y)try{return ne(Fe,je)}catch{}if(Z(Fe,je))return ee(!Se(Oe.f,Fe,je),Fe[je])}}),ci=Ae((ot,Ne)=>{var Se=br(),Oe=hr();Ne.exports=Se&&Oe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Wr=Ae((ot,Ne)=>{var Se=Or(),Oe=String,ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not an object")}}),en=Ae(ot=>{var Ne=br(),Se=Hn(),Oe=ci(),ee=Wr(),V=yn(),W=TypeError,Z=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,ne="enumerable",Fe="configurable",je="writable";ot.f=Ne?Oe?function(he,qe,et){if(ee(he),qe=V(qe),ee(et),typeof he=="function"&&qe==="prototype"&&"value"in et&&je in et&&!et[je]){var Ze=Y(he,qe);Ze&&Ze[je]&&(he[qe]=et.value,et={configurable:Fe in et?et[Fe]:Ze[Fe],enumerable:ne in et?et[ne]:Ze[ne],writable:!1})}return Z(he,qe,et)}:Z:function(he,qe,et){if(ee(he),qe=V(qe),ee(et),Se)try{return Z(he,qe,et)}catch{}if("get"in et||"set"in et)throw W("Accessors not supported");return"value"in et&&(he[qe]=et.value),he}}),Kn=Ae((ot,Ne)=>{var Se=br(),Oe=en(),ee=Lr();Ne.exports=Se?function(V,W,Z){return Oe.f(V,W,ee(1,Z))}:function(V,W,Z){return V[W]=Z,V}}),Di=Ae((ot,Ne)=>{var Se=br(),Oe=kr(),ee=Function.prototype,V=Se&&Object.getOwnPropertyDescriptor,W=Oe(ee,"name"),Z=W&&(function(){}).name==="something",Y=W&&(!Se||Se&&V(ee,"name").configurable);Ne.exports={EXISTS:W,PROPER:Z,CONFIGURABLE:Y}}),Qn=Ae((ot,Ne)=>{var Se=Dr(),Oe=dr(),ee=gn(),V=Se(Function.toString);Oe(ee.inspectSource)||(ee.inspectSource=function(W){return V(W)}),Ne.exports=ee.inspectSource}),di=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=Se.WeakMap;Ne.exports=Oe(ee)&&/native code/.test(String(ee))}),fi=Ae((ot,Ne)=>{var Se=Wn(),Oe=zn(),ee=Se("keys");Ne.exports=function(V){return ee[V]||(ee[V]=Oe(V))}}),Zn=Ae((ot,Ne)=>{Ne.exports={}}),mi=Ae((ot,Ne)=>{var Se=di(),Oe=Yt(),ee=Or(),V=Kn(),W=kr(),Z=gn(),Y=fi(),ne=Zn(),Fe="Object already initialized",je=Oe.TypeError,he=Oe.WeakMap,qe,et,Ze,nt=function(At){return Ze(At)?et(At):qe(At,{})},rt=function(At){return function(Lt){var qt;if(!ee(Lt)||(qt=et(Lt)).type!==At)throw je("Incompatible receiver, "+At+" required");return qt}};Se||Z.state?($=Z.state||(Z.state=new he),$.get=$.get,$.has=$.has,$.set=$.set,qe=function(At,Lt){if($.has(At))throw je(Fe);return Lt.facade=At,$.set(At,Lt),Lt},et=function(At){return $.get(At)||{}},Ze=function(At){return $.has(At)}):(Ft=Y("state"),ne[Ft]=!0,qe=function(At,Lt){if(W(At,Ft))throw je(Fe);return Lt.facade=At,V(At,Ft,Lt),Lt},et=function(At){return W(At,Ft)?At[Ft]:{}},Ze=function(At){return W(At,Ft)});var $,Ft;Ne.exports={set:qe,get:et,has:Ze,enforce:nt,getterFor:rt}}),gu=Ae((ot,Ne)=>{var Se=hr(),Oe=dr(),ee=kr(),V=br(),W=Di().CONFIGURABLE,Z=Qn(),Y=mi(),ne=Y.enforce,Fe=Y.get,je=Object.defineProperty,he=V&&!Se(function(){return je(function(){},"length",{value:8}).length!==8}),qe=String(String).split("String"),et=Ne.exports=function(Ze,nt,rt){String(nt).slice(0,7)==="Symbol("&&(nt="["+String(nt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),rt&&rt.getter&&(nt="get "+nt),rt&&rt.setter&&(nt="set "+nt),(!ee(Ze,"name")||W&&Ze.name!==nt)&&(V?je(Ze,"name",{value:nt,configurable:!0}):Ze.name=nt),he&&rt&&ee(rt,"arity")&&Ze.length!==rt.arity&&je(Ze,"length",{value:rt.arity});try{rt&&ee(rt,"constructor")&&rt.constructor?V&&je(Ze,"prototype",{writable:!1}):Ze.prototype&&(Ze.prototype=void 0)}catch{}var $=ne(Ze);return ee($,"source")||($.source=qe.join(typeof nt=="string"?nt:"")),Ze};Function.prototype.toString=et(function(){return Oe(this)&&Fe(this).source||Z(this)},"toString")}),hi=Ae((ot,Ne)=>{var Se=dr(),Oe=en(),ee=gu(),V=hn();Ne.exports=function(W,Z,Y,ne){ne||(ne={});var Fe=ne.enumerable,je=ne.name!==void 0?ne.name:Z;if(Se(Y)&&ee(Y,je,ne),ne.global)Fe?W[Z]=Y:V(Z,Y);else{try{ne.unsafe?W[Z]&&(Fe=!0):delete W[Z]}catch{}Fe?W[Z]=Y:Oe.f(W,Z,{value:Y,enumerable:!1,configurable:!ne.nonConfigurable,writable:!ne.nonWritable})}return W}}),gi=Ae((ot,Ne)=>{var Se=Math.ceil,Oe=Math.floor;Ne.exports=Math.trunc||function(ee){var V=+ee;return(V>0?Oe:Se)(V)}}),xn=Ae((ot,Ne)=>{var Se=gi();Ne.exports=function(Oe){var ee=+Oe;return ee!==ee||ee===0?0:Se(ee)}}),yi=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.max,ee=Math.min;Ne.exports=function(V,W){var Z=Se(V);return Z<0?Oe(Z+W,0):ee(Z,W)}}),Ei=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.min;Ne.exports=function(ee){return ee>0?Oe(Se(ee),9007199254740991):0}}),tn=Ae((ot,Ne)=>{var Se=Ei();Ne.exports=function(Oe){return Se(Oe.length)}}),Ci=Ae((ot,Ne)=>{var Se=dn(),Oe=yi(),ee=tn(),V=function(W){return function(Z,Y,ne){var Fe=Se(Z),je=ee(Fe),he=Oe(ne,je),qe;if(W&&Y!=Y){for(;je>he;)if(qe=Fe[he++],qe!=qe)return!0}else for(;je>he;he++)if((W||he in Fe)&&Fe[he]===Y)return W||he||0;return!W&&-1}};Ne.exports={includes:V(!0),indexOf:V(!1)}}),Fi=Ae((ot,Ne)=>{var Se=Dr(),Oe=kr(),ee=dn(),V=Ci().indexOf,W=Zn(),Z=Se([].push);Ne.exports=function(Y,ne){var Fe=ee(Y),je=0,he=[],qe;for(qe in Fe)!Oe(W,qe)&&Oe(Fe,qe)&&Z(he,qe);for(;ne.length>je;)Oe(Fe,qe=ne[je++])&&(~V(he,qe)||Z(he,qe));return he}}),Ai=Ae((ot,Ne)=>{Ne.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),vi=Ae(ot=>{var Ne=Fi(),Se=Ai(),Oe=Se.concat("length","prototype");ot.f=Object.getOwnPropertyNames||function(ee){return Ne(ee,Oe)}}),bi=Ae(ot=>{ot.f=Object.getOwnPropertySymbols}),Si=Ae((ot,Ne)=>{var Se=un(),Oe=Dr(),ee=vi(),V=bi(),W=Wr(),Z=Oe([].concat);Ne.exports=Se("Reflect","ownKeys")||function(Y){var ne=ee.f(W(Y)),Fe=V.f;return Fe?Z(ne,Fe(Y)):ne}}),xi=Ae((ot,Ne)=>{var Se=kr(),Oe=Si(),ee=Yn(),V=en();Ne.exports=function(W,Z,Y){for(var ne=Oe(Z),Fe=V.f,je=ee.f,he=0;he{var Se=hr(),Oe=dr(),ee=/#|\.prototype\./,V=function(Fe,je){var he=Z[W(Fe)];return he==ne?!0:he==Y?!1:Oe(je)?Se(je):!!je},W=V.normalize=function(Fe){return String(Fe).replace(ee,".").toLowerCase()},Z=V.data={},Y=V.NATIVE="N",ne=V.POLYFILL="P";Ne.exports=V}),an=Ae((ot,Ne)=>{var Se=Yt(),Oe=Yn().f,ee=Kn(),V=hi(),W=hn(),Z=xi(),Y=Ti();Ne.exports=function(ne,Fe){var je=ne.target,he=ne.global,qe=ne.stat,et,Ze,nt,rt,$,Ft;if(he?Ze=Se:qe?Ze=Se[je]||W(je,{}):Ze=(Se[je]||{}).prototype,Ze)for(nt in Fe){if($=Fe[nt],ne.dontCallGetSet?(Ft=Oe(Ze,nt),rt=Ft&&Ft.value):rt=Ze[nt],et=Y(he?nt:je+(qe?".":"#")+nt,ne.forced),!et&&rt!==void 0){if(typeof $==typeof rt)continue;Z($,rt)}(ne.sham||rt&&rt.sham)&&ee($,"sham",!0),V(Ze,nt,$,ne)}}}),yu=Ae(()=>{var ot=an(),Ne=Yt();ot({global:!0,forced:Ne.globalThis!==Ne},{globalThis:Ne})}),Bi=Ae(()=>{yu()}),Eu=Ae((ot,Ne)=>{var Se=Br();Ne.exports=Array.isArray||function(Oe){return Se(Oe)=="Array"}}),Cu=Ae((ot,Ne)=>{var Se=TypeError,Oe=9007199254740991;Ne.exports=function(ee){if(ee>Oe)throw Se("Maximum allowed index exceeded");return ee}}),Fu=Ae((ot,Ne)=>{var Se=Br(),Oe=Dr();Ne.exports=function(ee){if(Se(ee)==="Function")return Oe(ee)}}),Au=Ae((ot,Ne)=>{var Se=Fu(),Oe=sn(),ee=Hr(),V=Se(Se.bind);Ne.exports=function(W,Z){return Oe(W),Z===void 0?W:ee?V(W,Z):function(){return W.apply(Z,arguments)}}}),vu=Ae((ot,Ne)=>{var Se=Eu(),Oe=tn(),ee=Cu(),V=Au(),W=function(Z,Y,ne,Fe,je,he,qe,et){for(var Ze=je,nt=0,rt=qe?V(qe,et):!1,$,Ft;nt0&&Se($)?(Ft=Oe($),Ze=W(Z,Y,$,Ft,Ze,he-1)-1):(ee(Ze+1),Z[Ze]=$),Ze++),nt++;return Ze};Ne.exports=W}),wi=Ae((ot,Ne)=>{var Se=$r(),Oe=Se("toStringTag"),ee={};ee[Oe]="z",Ne.exports=String(ee)==="[object z]"}),bu=Ae((ot,Ne)=>{var Se=wi(),Oe=dr(),ee=Br(),V=$r(),W=V("toStringTag"),Z=Object,Y=ee(function(){return arguments}())=="Arguments",ne=function(Fe,je){try{return Fe[je]}catch{}};Ne.exports=Se?ee:function(Fe){var je,he,qe;return Fe===void 0?"Undefined":Fe===null?"Null":typeof(he=ne(je=Z(Fe),W))=="string"?he:Y?ee(je):(qe=ee(je))=="Object"&&Oe(je.callee)?"Arguments":qe}}),Su=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=dr(),V=bu(),W=un(),Z=Qn(),Y=function(){},ne=[],Fe=W("Reflect","construct"),je=/^\s*(?:class|function)\b/,he=Se(je.exec),qe=!je.exec(Y),et=function(nt){if(!ee(nt))return!1;try{return Fe(Y,ne,nt),!0}catch{return!1}},Ze=function(nt){if(!ee(nt))return!1;switch(V(nt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return qe||!!he(je,Z(nt))}catch{return!0}};Ze.sham=!0,Ne.exports=!Fe||Oe(function(){var nt;return et(et.call)||!et(Object)||!et(function(){nt=!0})||nt})?Ze:et}),Ni=Ae((ot,Ne)=>{var Se=Eu(),Oe=Su(),ee=Or(),V=$r(),W=V("species"),Z=Array;Ne.exports=function(Y){var ne;return Se(Y)&&(ne=Y.constructor,Oe(ne)&&(ne===Z||Se(ne.prototype))?ne=void 0:ee(ne)&&(ne=ne[W],ne===null&&(ne=void 0))),ne===void 0?Z:ne}}),xu=Ae((ot,Ne)=>{var Se=Ni();Ne.exports=function(Oe,ee){return new(Se(Oe))(ee===0?0:ee)}}),_i=Ae(()=>{var ot=an(),Ne=vu(),Se=sn(),Oe=Sn(),ee=tn(),V=xu();ot({target:"Array",proto:!0},{flatMap:function(W){var Z=Oe(this),Y=ee(Z),ne;return Se(W),ne=V(Z,0),ne.length=Ne(ne,Z,Z,Y,0,1,W,arguments.length>1?arguments[1]:void 0),ne}})}),eu=Ae((ot,Ne)=>{Ne.exports={}}),ki=Ae((ot,Ne)=>{var Se=$r(),Oe=eu(),ee=Se("iterator"),V=Array.prototype;Ne.exports=function(W){return W!==void 0&&(Oe.Array===W||V[ee]===W)}}),Tu=Ae((ot,Ne)=>{var Se=bu(),Oe=mn(),ee=nn(),V=eu(),W=$r(),Z=W("iterator");Ne.exports=function(Y){if(!ee(Y))return Oe(Y,Z)||Oe(Y,"@@iterator")||V[Se(Y)]}}),Pi=Ae((ot,Ne)=>{var Se=gr(),Oe=sn(),ee=Wr(),V=fn(),W=Tu(),Z=TypeError;Ne.exports=function(Y,ne){var Fe=arguments.length<2?W(Y):ne;if(Oe(Fe))return ee(Se(Fe,Y));throw Z(V(Y)+" is not iterable")}}),Ii=Ae((ot,Ne)=>{var Se=gr(),Oe=Wr(),ee=mn();Ne.exports=function(V,W,Z){var Y,ne;Oe(V);try{if(Y=ee(V,"return"),!Y){if(W==="throw")throw Z;return Z}Y=Se(Y,V)}catch(Fe){ne=!0,Y=Fe}if(W==="throw")throw Z;if(ne)throw Y;return Oe(Y),Z}}),ji=Ae((ot,Ne)=>{var Se=Au(),Oe=gr(),ee=Wr(),V=fn(),W=ki(),Z=tn(),Y=Un(),ne=Pi(),Fe=Tu(),je=Ii(),he=TypeError,qe=function(Ze,nt){this.stopped=Ze,this.result=nt},et=qe.prototype;Ne.exports=function(Ze,nt,rt){var $=rt&&rt.that,Ft=!!(rt&&rt.AS_ENTRIES),At=!!(rt&&rt.IS_RECORD),Lt=!!(rt&&rt.IS_ITERATOR),qt=!!(rt&&rt.INTERRUPTED),Zt=Se(nt,$),ue,yr,Pr,zr,fr,Rr,mr,rn=function(Fr){return ue&&je(ue,"normal",Fr),new qe(!0,Fr)},wr=function(Fr){return Ft?(ee(Fr),qt?Zt(Fr[0],Fr[1],rn):Zt(Fr[0],Fr[1])):qt?Zt(Fr,rn):Zt(Fr)};if(At)ue=Ze.iterator;else if(Lt)ue=Ze;else{if(yr=Fe(Ze),!yr)throw he(V(Ze)+" is not iterable");if(W(yr)){for(Pr=0,zr=Z(Ze);zr>Pr;Pr++)if(fr=wr(Ze[Pr]),fr&&Y(et,fr))return fr;return new qe(!1)}ue=ne(Ze,yr)}for(Rr=At?Ze.next:ue.next;!(mr=Oe(Rr,ue)).done;){try{fr=wr(mr.value)}catch(Fr){je(ue,"throw",Fr)}if(typeof fr=="object"&&fr&&Y(et,fr))return fr}return new qe(!1)}}),Li=Ae((ot,Ne)=>{var Se=yn(),Oe=en(),ee=Lr();Ne.exports=function(V,W,Z){var Y=Se(W);Y in V?Oe.f(V,Y,ee(0,Z)):V[Y]=Z}}),Oi=Ae(()=>{var ot=an(),Ne=ji(),Se=Li();ot({target:"Object",stat:!0},{fromEntries:function(Oe){var ee={};return Ne(Oe,function(V,W){Se(ee,V,W)},{AS_ENTRIES:!0}),ee}})}),$i=Ae((ot,Ne)=>{var Se=["cliName","cliCategory","cliDescription"];function Oe(L,re){if(L==null)return{};var ge=ee(L,re),Ee,Pe;if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(L);for(Pe=0;Pe=0)&&Object.prototype.propertyIsEnumerable.call(L,Ee)&&(ge[Ee]=L[Ee])}return ge}function ee(L,re){if(L==null)return{};var ge={},Ee=Object.keys(L),Pe,ie;for(ie=0;ie=0)&&(ge[Pe]=L[Pe]);return ge}Bi(),_i(),Oi();var V=Object.create,W=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,Y=Object.getOwnPropertyNames,ne=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty,je=(L,re)=>function(){return L&&(re=(0,L[Y(L)[0]])(L=0)),re},he=(L,re)=>function(){return re||(0,L[Y(L)[0]])((re={exports:{}}).exports,re),re.exports},qe=(L,re)=>{for(var ge in re)W(L,ge,{get:re[ge],enumerable:!0})},et=(L,re,ge,Ee)=>{if(re&&typeof re=="object"||typeof re=="function")for(let Pe of Y(re))!Fe.call(L,Pe)&&Pe!==ge&&W(L,Pe,{get:()=>re[Pe],enumerable:!(Ee=Z(re,Pe))||Ee.enumerable});return L},Ze=(L,re,ge)=>(ge=L!=null?V(ne(L)):{},et(re||!L||!L.__esModule?W(ge,"default",{value:L,enumerable:!0}):ge,L)),nt=L=>et(W({},"__esModule",{value:!0}),L),rt,$=je({""(){rt={env:{},argv:[]}}}),Ft=he({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.$EOF=0,L.$BSPACE=8,L.$TAB=9,L.$LF=10,L.$VTAB=11,L.$FF=12,L.$CR=13,L.$SPACE=32,L.$BANG=33,L.$DQ=34,L.$HASH=35,L.$$=36,L.$PERCENT=37,L.$AMPERSAND=38,L.$SQ=39,L.$LPAREN=40,L.$RPAREN=41,L.$STAR=42,L.$PLUS=43,L.$COMMA=44,L.$MINUS=45,L.$PERIOD=46,L.$SLASH=47,L.$COLON=58,L.$SEMICOLON=59,L.$LT=60,L.$EQ=61,L.$GT=62,L.$QUESTION=63,L.$0=48,L.$7=55,L.$9=57,L.$A=65,L.$E=69,L.$F=70,L.$X=88,L.$Z=90,L.$LBRACKET=91,L.$BACKSLASH=92,L.$RBRACKET=93,L.$CARET=94,L.$_=95,L.$a=97,L.$b=98,L.$e=101,L.$f=102,L.$n=110,L.$r=114,L.$t=116,L.$u=117,L.$v=118,L.$x=120,L.$z=122,L.$LBRACE=123,L.$BAR=124,L.$RBRACE=125,L.$NBSP=160,L.$PIPE=124,L.$TILDA=126,L.$AT=64,L.$BT=96;function re(Ue){return Ue>=L.$TAB&&Ue<=L.$SPACE||Ue==L.$NBSP}L.isWhitespace=re;function ge(Ue){return L.$0<=Ue&&Ue<=L.$9}L.isDigit=ge;function Ee(Ue){return Ue>=L.$a&&Ue<=L.$z||Ue>=L.$A&&Ue<=L.$Z}L.isAsciiLetter=Ee;function Pe(Ue){return Ue>=L.$a&&Ue<=L.$f||Ue>=L.$A&&Ue<=L.$F||ge(Ue)}L.isAsciiHexDigit=Pe;function ie(Ue){return Ue===L.$LF||Ue===L.$CR}L.isNewLine=ie;function de(Ue){return L.$0<=Ue&&Ue<=L.$7}L.isOctalDigit=de}}),At=he({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=class{constructor(Ee,Pe,ie){this.filePath=Ee,this.name=Pe,this.members=ie}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};L.StaticSymbol=re;var ge=class{constructor(){this.cache=new Map}get(Ee,Pe,ie){ie=ie||[];let de=ie.length?`.${ie.join(".")}`:"",Ue=`"${Ee}".${Pe}${de}`,Ge=this.cache.get(Ue);return Ge||(Ge=new re(Ee,Pe,ie),this.cache.set(Ue,Ge)),Ge}};L.StaticSymbolCache=ge}}),Lt=he({"node_modules/angular-html-parser/lib/compiler/src/util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=/-+([a-z0-9])/g;function ge(le){return le.replace(re,function(){for(var We=arguments.length,Me=new Array(We),at=0;atde(Me,this,We))}visitStringMap(le,We){let Me={};return Object.keys(le).forEach(at=>{Me[at]=de(le[at],this,We)}),Me}visitPrimitive(le,We){return le}visitOther(le,We){return le}};L.ValueTransformer=gt,L.SyncAsync={assertSync:le=>{if(st(le))throw new Error("Illegal state: value cannot be a promise");return le},then:(le,We)=>st(le)?le.then(We):We(le),all:le=>le.some(st)?Promise.all(le):le};function ce(le){throw new Error(`Internal Error: ${le}`)}L.error=ce;function ve(le,We){let Me=Error(le);return Me[Ve]=!0,We&&(Me[He]=We),Me}L.syntaxError=ve;var Ve="ngSyntaxError",He="ngParseErrors";function Je(le){return le[Ve]}L.isSyntaxError=Je;function Qe(le){return le[He]||[]}L.getParseErrors=Qe;function yt(le){return le.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}L.escapeRegExp=yt;var _t=Object.getPrototypeOf({});function ct(le){return typeof le=="object"&&le!==null&&Object.getPrototypeOf(le)===_t}function kt(le){let We="";for(let Me=0;Me=55296&&at<=56319&&le.length>Me+1){let Jt=le.charCodeAt(Me+1);Jt>=56320&&Jt<=57343&&(Me++,at=(at-55296<<10)+Jt-56320+65536)}at<=127?We+=String.fromCharCode(at):at<=2047?We+=String.fromCharCode(at>>6&31|192,at&63|128):at<=65535?We+=String.fromCharCode(at>>12|224,at>>6&63|128,at&63|128):at<=2097151&&(We+=String.fromCharCode(at>>18&7|240,at>>12&63|128,at>>6&63|128,at&63|128))}return We}L.utf8Encode=kt;function $t(le){if(typeof le=="string")return le;if(le instanceof Array)return"["+le.map($t).join(", ")+"]";if(le==null)return""+le;if(le.overriddenName)return`${le.overriddenName}`;if(le.name)return`${le.name}`;if(!le.toString)return"object";let We=le.toString();if(We==null)return""+We;let Me=We.indexOf(` +import{_ as ea,m as pl,b as ta}from"./index-8e1aaa9d.js";import"./iframe-653d232b.js";import"../sb-preview/runtime.js";import"./chunk-ZGA76URP-2bd2442b.js";import"./index-1b03fe98.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";var cl=ta({"node_modules/prettier/parser-html.js"(Jr,Xr){(function(Ae){if(typeof Jr=="object"&&typeof Xr=="object")Xr.exports=Ae();else if(typeof define=="function"&&define.amd)define(Ae);else{var Yt=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};Yt.prettierPlugins=Yt.prettierPlugins||{},Yt.prettierPlugins.html=Ae()}})(function(){var Ae=(ot,Ne)=>()=>(Ne||ot((Ne={exports:{}}).exports,Ne),Ne.exports),Yt=Ae((ot,Ne)=>{var Se=function(Oe){return Oe&&Oe.Math==Math&&Oe};Ne.exports=Se(typeof globalThis=="object"&&globalThis)||Se(typeof window=="object"&&window)||Se(typeof self=="object"&&self)||Se(typeof global=="object"&&global)||function(){return this}()||Function("return this")()}),hr=Ae((ot,Ne)=>{Ne.exports=function(Se){try{return!!Se()}catch{return!0}}}),br=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Hr=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){var Oe=(function(){}).bind();return typeof Oe!="function"||Oe.hasOwnProperty("prototype")})}),gr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype.call;Ne.exports=Se?Oe.bind(Oe):function(){return Oe.apply(Oe,arguments)}}),Dn=Ae(ot=>{var Ne={}.propertyIsEnumerable,Se=Object.getOwnPropertyDescriptor,Oe=Se&&!Ne.call({1:2},1);ot.f=Oe?function(ee){var V=Se(this,ee);return!!V&&V.enumerable}:Ne}),Lr=Ae((ot,Ne)=>{Ne.exports=function(Se,Oe){return{enumerable:!(Se&1),configurable:!(Se&2),writable:!(Se&4),value:Oe}}}),Dr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype,ee=Oe.call,V=Se&&Oe.bind.bind(ee,ee);Ne.exports=Se?V:function(W){return function(){return ee.apply(W,arguments)}}}),Br=Ae((ot,Ne)=>{var Se=Dr(),Oe=Se({}.toString),ee=Se("".slice);Ne.exports=function(V){return ee(Oe(V),8,-1)}}),Zr=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=Br(),V=Object,W=Se("".split);Ne.exports=Oe(function(){return!V("z").propertyIsEnumerable(0)})?function(Z){return ee(Z)=="String"?W(Z,""):V(Z)}:V}),nn=Ae((ot,Ne)=>{Ne.exports=function(Se){return Se==null}}),qn=Ae((ot,Ne)=>{var Se=nn(),Oe=TypeError;Ne.exports=function(ee){if(Se(ee))throw Oe("Can't call method on "+ee);return ee}}),dn=Ae((ot,Ne)=>{var Se=Zr(),Oe=qn();Ne.exports=function(ee){return Se(Oe(ee))}}),Vn=Ae((ot,Ne)=>{var Se=typeof document=="object"&&document.all,Oe=typeof Se>"u"&&Se!==void 0;Ne.exports={all:Se,IS_HTMLDDA:Oe}}),dr=Ae((ot,Ne)=>{var Se=Vn(),Oe=Se.all;Ne.exports=Se.IS_HTMLDDA?function(ee){return typeof ee=="function"||ee===Oe}:function(ee){return typeof ee=="function"}}),Or=Ae((ot,Ne)=>{var Se=dr(),Oe=Vn(),ee=Oe.all;Ne.exports=Oe.IS_HTMLDDA?function(V){return typeof V=="object"?V!==null:Se(V)||V===ee}:function(V){return typeof V=="object"?V!==null:Se(V)}}),un=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=function(V){return Oe(V)?V:void 0};Ne.exports=function(V,W){return arguments.length<2?ee(Se[V]):Se[V]&&Se[V][W]}}),Un=Ae((ot,Ne)=>{var Se=Dr();Ne.exports=Se({}.isPrototypeOf)}),ii=Ae((ot,Ne)=>{var Se=un();Ne.exports=Se("navigator","userAgent")||""}),si=Ae((ot,Ne)=>{var Se=Yt(),Oe=ii(),ee=Se.process,V=Se.Deno,W=ee&&ee.versions||V&&V.version,Z=W&&W.v8,Y,ne;Z&&(Y=Z.split("."),ne=Y[0]>0&&Y[0]<4?1:+(Y[0]+Y[1])),!ne&&Oe&&(Y=Oe.match(/Edge\/(\d+)/),(!Y||Y[1]>=74)&&(Y=Oe.match(/Chrome\/(\d+)/),Y&&(ne=+Y[1]))),Ne.exports=ne}),Gn=Ae((ot,Ne)=>{var Se=si(),Oe=hr();Ne.exports=!!Object.getOwnPropertySymbols&&!Oe(function(){var ee=Symbol();return!String(ee)||!(Object(ee)instanceof Symbol)||!Symbol.sham&&Se&&Se<41})}),Jn=Ae((ot,Ne)=>{var Se=Gn();Ne.exports=Se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Xn=Ae((ot,Ne)=>{var Se=un(),Oe=dr(),ee=Un(),V=Jn(),W=Object;Ne.exports=V?function(Z){return typeof Z=="symbol"}:function(Z){var Y=Se("Symbol");return Oe(Y)&&ee(Y.prototype,W(Z))}}),fn=Ae((ot,Ne)=>{var Se=String;Ne.exports=function(Oe){try{return Se(Oe)}catch{return"Object"}}}),sn=Ae((ot,Ne)=>{var Se=dr(),Oe=fn(),ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not a function")}}),mn=Ae((ot,Ne)=>{var Se=sn(),Oe=nn();Ne.exports=function(ee,V){var W=ee[V];return Oe(W)?void 0:Se(W)}}),ai=Ae((ot,Ne)=>{var Se=gr(),Oe=dr(),ee=Or(),V=TypeError;Ne.exports=function(W,Z){var Y,ne;if(Z==="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W))||Oe(Y=W.valueOf)&&!ee(ne=Se(Y,W))||Z!=="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W)))return ne;throw V("Can't convert object to primitive value")}}),oi=Ae((ot,Ne)=>{Ne.exports=!1}),hn=Ae((ot,Ne)=>{var Se=Yt(),Oe=Object.defineProperty;Ne.exports=function(ee,V){try{Oe(Se,ee,{value:V,configurable:!0,writable:!0})}catch{Se[ee]=V}return V}}),gn=Ae((ot,Ne)=>{var Se=Yt(),Oe=hn(),ee="__core-js_shared__",V=Se[ee]||Oe(ee,{});Ne.exports=V}),Wn=Ae((ot,Ne)=>{var Se=oi(),Oe=gn();(Ne.exports=function(ee,V){return Oe[ee]||(Oe[ee]=V!==void 0?V:{})})("versions",[]).push({version:"3.26.1",mode:Se?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Sn=Ae((ot,Ne)=>{var Se=qn(),Oe=Object;Ne.exports=function(ee){return Oe(Se(ee))}}),kr=Ae((ot,Ne)=>{var Se=Dr(),Oe=Sn(),ee=Se({}.hasOwnProperty);Ne.exports=Object.hasOwn||function(V,W){return ee(Oe(V),W)}}),zn=Ae((ot,Ne)=>{var Se=Dr(),Oe=0,ee=Math.random(),V=Se(1 .toString);Ne.exports=function(W){return"Symbol("+(W===void 0?"":W)+")_"+V(++Oe+ee,36)}}),$r=Ae((ot,Ne)=>{var Se=Yt(),Oe=Wn(),ee=kr(),V=zn(),W=Gn(),Z=Jn(),Y=Oe("wks"),ne=Se.Symbol,Fe=ne&&ne.for,je=Z?ne:ne&&ne.withoutSetter||V;Ne.exports=function(he){if(!ee(Y,he)||!(W||typeof Y[he]=="string")){var qe="Symbol."+he;W&&ee(ne,he)?Y[he]=ne[he]:Z&&Fe?Y[he]=Fe(qe):Y[he]=je(qe)}return Y[he]}}),li=Ae((ot,Ne)=>{var Se=gr(),Oe=Or(),ee=Xn(),V=mn(),W=ai(),Z=$r(),Y=TypeError,ne=Z("toPrimitive");Ne.exports=function(Fe,je){if(!Oe(Fe)||ee(Fe))return Fe;var he=V(Fe,ne),qe;if(he){if(je===void 0&&(je="default"),qe=Se(he,Fe,je),!Oe(qe)||ee(qe))return qe;throw Y("Can't convert object to primitive value")}return je===void 0&&(je="number"),W(Fe,je)}}),yn=Ae((ot,Ne)=>{var Se=li(),Oe=Xn();Ne.exports=function(ee){var V=Se(ee,"string");return Oe(V)?V:V+""}}),pi=Ae((ot,Ne)=>{var Se=Yt(),Oe=Or(),ee=Se.document,V=Oe(ee)&&Oe(ee.createElement);Ne.exports=function(W){return V?ee.createElement(W):{}}}),Hn=Ae((ot,Ne)=>{var Se=br(),Oe=hr(),ee=pi();Ne.exports=!Se&&!Oe(function(){return Object.defineProperty(ee("div"),"a",{get:function(){return 7}}).a!=7})}),Yn=Ae(ot=>{var Ne=br(),Se=gr(),Oe=Dn(),ee=Lr(),V=dn(),W=yn(),Z=kr(),Y=Hn(),ne=Object.getOwnPropertyDescriptor;ot.f=Ne?ne:function(Fe,je){if(Fe=V(Fe),je=W(je),Y)try{return ne(Fe,je)}catch{}if(Z(Fe,je))return ee(!Se(Oe.f,Fe,je),Fe[je])}}),ci=Ae((ot,Ne)=>{var Se=br(),Oe=hr();Ne.exports=Se&&Oe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Wr=Ae((ot,Ne)=>{var Se=Or(),Oe=String,ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not an object")}}),en=Ae(ot=>{var Ne=br(),Se=Hn(),Oe=ci(),ee=Wr(),V=yn(),W=TypeError,Z=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,ne="enumerable",Fe="configurable",je="writable";ot.f=Ne?Oe?function(he,qe,et){if(ee(he),qe=V(qe),ee(et),typeof he=="function"&&qe==="prototype"&&"value"in et&&je in et&&!et[je]){var Ze=Y(he,qe);Ze&&Ze[je]&&(he[qe]=et.value,et={configurable:Fe in et?et[Fe]:Ze[Fe],enumerable:ne in et?et[ne]:Ze[ne],writable:!1})}return Z(he,qe,et)}:Z:function(he,qe,et){if(ee(he),qe=V(qe),ee(et),Se)try{return Z(he,qe,et)}catch{}if("get"in et||"set"in et)throw W("Accessors not supported");return"value"in et&&(he[qe]=et.value),he}}),Kn=Ae((ot,Ne)=>{var Se=br(),Oe=en(),ee=Lr();Ne.exports=Se?function(V,W,Z){return Oe.f(V,W,ee(1,Z))}:function(V,W,Z){return V[W]=Z,V}}),Di=Ae((ot,Ne)=>{var Se=br(),Oe=kr(),ee=Function.prototype,V=Se&&Object.getOwnPropertyDescriptor,W=Oe(ee,"name"),Z=W&&(function(){}).name==="something",Y=W&&(!Se||Se&&V(ee,"name").configurable);Ne.exports={EXISTS:W,PROPER:Z,CONFIGURABLE:Y}}),Qn=Ae((ot,Ne)=>{var Se=Dr(),Oe=dr(),ee=gn(),V=Se(Function.toString);Oe(ee.inspectSource)||(ee.inspectSource=function(W){return V(W)}),Ne.exports=ee.inspectSource}),di=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=Se.WeakMap;Ne.exports=Oe(ee)&&/native code/.test(String(ee))}),fi=Ae((ot,Ne)=>{var Se=Wn(),Oe=zn(),ee=Se("keys");Ne.exports=function(V){return ee[V]||(ee[V]=Oe(V))}}),Zn=Ae((ot,Ne)=>{Ne.exports={}}),mi=Ae((ot,Ne)=>{var Se=di(),Oe=Yt(),ee=Or(),V=Kn(),W=kr(),Z=gn(),Y=fi(),ne=Zn(),Fe="Object already initialized",je=Oe.TypeError,he=Oe.WeakMap,qe,et,Ze,nt=function(At){return Ze(At)?et(At):qe(At,{})},rt=function(At){return function(Lt){var qt;if(!ee(Lt)||(qt=et(Lt)).type!==At)throw je("Incompatible receiver, "+At+" required");return qt}};Se||Z.state?($=Z.state||(Z.state=new he),$.get=$.get,$.has=$.has,$.set=$.set,qe=function(At,Lt){if($.has(At))throw je(Fe);return Lt.facade=At,$.set(At,Lt),Lt},et=function(At){return $.get(At)||{}},Ze=function(At){return $.has(At)}):(Ft=Y("state"),ne[Ft]=!0,qe=function(At,Lt){if(W(At,Ft))throw je(Fe);return Lt.facade=At,V(At,Ft,Lt),Lt},et=function(At){return W(At,Ft)?At[Ft]:{}},Ze=function(At){return W(At,Ft)});var $,Ft;Ne.exports={set:qe,get:et,has:Ze,enforce:nt,getterFor:rt}}),gu=Ae((ot,Ne)=>{var Se=hr(),Oe=dr(),ee=kr(),V=br(),W=Di().CONFIGURABLE,Z=Qn(),Y=mi(),ne=Y.enforce,Fe=Y.get,je=Object.defineProperty,he=V&&!Se(function(){return je(function(){},"length",{value:8}).length!==8}),qe=String(String).split("String"),et=Ne.exports=function(Ze,nt,rt){String(nt).slice(0,7)==="Symbol("&&(nt="["+String(nt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),rt&&rt.getter&&(nt="get "+nt),rt&&rt.setter&&(nt="set "+nt),(!ee(Ze,"name")||W&&Ze.name!==nt)&&(V?je(Ze,"name",{value:nt,configurable:!0}):Ze.name=nt),he&&rt&&ee(rt,"arity")&&Ze.length!==rt.arity&&je(Ze,"length",{value:rt.arity});try{rt&&ee(rt,"constructor")&&rt.constructor?V&&je(Ze,"prototype",{writable:!1}):Ze.prototype&&(Ze.prototype=void 0)}catch{}var $=ne(Ze);return ee($,"source")||($.source=qe.join(typeof nt=="string"?nt:"")),Ze};Function.prototype.toString=et(function(){return Oe(this)&&Fe(this).source||Z(this)},"toString")}),hi=Ae((ot,Ne)=>{var Se=dr(),Oe=en(),ee=gu(),V=hn();Ne.exports=function(W,Z,Y,ne){ne||(ne={});var Fe=ne.enumerable,je=ne.name!==void 0?ne.name:Z;if(Se(Y)&&ee(Y,je,ne),ne.global)Fe?W[Z]=Y:V(Z,Y);else{try{ne.unsafe?W[Z]&&(Fe=!0):delete W[Z]}catch{}Fe?W[Z]=Y:Oe.f(W,Z,{value:Y,enumerable:!1,configurable:!ne.nonConfigurable,writable:!ne.nonWritable})}return W}}),gi=Ae((ot,Ne)=>{var Se=Math.ceil,Oe=Math.floor;Ne.exports=Math.trunc||function(ee){var V=+ee;return(V>0?Oe:Se)(V)}}),xn=Ae((ot,Ne)=>{var Se=gi();Ne.exports=function(Oe){var ee=+Oe;return ee!==ee||ee===0?0:Se(ee)}}),yi=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.max,ee=Math.min;Ne.exports=function(V,W){var Z=Se(V);return Z<0?Oe(Z+W,0):ee(Z,W)}}),Ei=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.min;Ne.exports=function(ee){return ee>0?Oe(Se(ee),9007199254740991):0}}),tn=Ae((ot,Ne)=>{var Se=Ei();Ne.exports=function(Oe){return Se(Oe.length)}}),Ci=Ae((ot,Ne)=>{var Se=dn(),Oe=yi(),ee=tn(),V=function(W){return function(Z,Y,ne){var Fe=Se(Z),je=ee(Fe),he=Oe(ne,je),qe;if(W&&Y!=Y){for(;je>he;)if(qe=Fe[he++],qe!=qe)return!0}else for(;je>he;he++)if((W||he in Fe)&&Fe[he]===Y)return W||he||0;return!W&&-1}};Ne.exports={includes:V(!0),indexOf:V(!1)}}),Fi=Ae((ot,Ne)=>{var Se=Dr(),Oe=kr(),ee=dn(),V=Ci().indexOf,W=Zn(),Z=Se([].push);Ne.exports=function(Y,ne){var Fe=ee(Y),je=0,he=[],qe;for(qe in Fe)!Oe(W,qe)&&Oe(Fe,qe)&&Z(he,qe);for(;ne.length>je;)Oe(Fe,qe=ne[je++])&&(~V(he,qe)||Z(he,qe));return he}}),Ai=Ae((ot,Ne)=>{Ne.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),vi=Ae(ot=>{var Ne=Fi(),Se=Ai(),Oe=Se.concat("length","prototype");ot.f=Object.getOwnPropertyNames||function(ee){return Ne(ee,Oe)}}),bi=Ae(ot=>{ot.f=Object.getOwnPropertySymbols}),Si=Ae((ot,Ne)=>{var Se=un(),Oe=Dr(),ee=vi(),V=bi(),W=Wr(),Z=Oe([].concat);Ne.exports=Se("Reflect","ownKeys")||function(Y){var ne=ee.f(W(Y)),Fe=V.f;return Fe?Z(ne,Fe(Y)):ne}}),xi=Ae((ot,Ne)=>{var Se=kr(),Oe=Si(),ee=Yn(),V=en();Ne.exports=function(W,Z,Y){for(var ne=Oe(Z),Fe=V.f,je=ee.f,he=0;he{var Se=hr(),Oe=dr(),ee=/#|\.prototype\./,V=function(Fe,je){var he=Z[W(Fe)];return he==ne?!0:he==Y?!1:Oe(je)?Se(je):!!je},W=V.normalize=function(Fe){return String(Fe).replace(ee,".").toLowerCase()},Z=V.data={},Y=V.NATIVE="N",ne=V.POLYFILL="P";Ne.exports=V}),an=Ae((ot,Ne)=>{var Se=Yt(),Oe=Yn().f,ee=Kn(),V=hi(),W=hn(),Z=xi(),Y=Ti();Ne.exports=function(ne,Fe){var je=ne.target,he=ne.global,qe=ne.stat,et,Ze,nt,rt,$,Ft;if(he?Ze=Se:qe?Ze=Se[je]||W(je,{}):Ze=(Se[je]||{}).prototype,Ze)for(nt in Fe){if($=Fe[nt],ne.dontCallGetSet?(Ft=Oe(Ze,nt),rt=Ft&&Ft.value):rt=Ze[nt],et=Y(he?nt:je+(qe?".":"#")+nt,ne.forced),!et&&rt!==void 0){if(typeof $==typeof rt)continue;Z($,rt)}(ne.sham||rt&&rt.sham)&&ee($,"sham",!0),V(Ze,nt,$,ne)}}}),yu=Ae(()=>{var ot=an(),Ne=Yt();ot({global:!0,forced:Ne.globalThis!==Ne},{globalThis:Ne})}),Bi=Ae(()=>{yu()}),Eu=Ae((ot,Ne)=>{var Se=Br();Ne.exports=Array.isArray||function(Oe){return Se(Oe)=="Array"}}),Cu=Ae((ot,Ne)=>{var Se=TypeError,Oe=9007199254740991;Ne.exports=function(ee){if(ee>Oe)throw Se("Maximum allowed index exceeded");return ee}}),Fu=Ae((ot,Ne)=>{var Se=Br(),Oe=Dr();Ne.exports=function(ee){if(Se(ee)==="Function")return Oe(ee)}}),Au=Ae((ot,Ne)=>{var Se=Fu(),Oe=sn(),ee=Hr(),V=Se(Se.bind);Ne.exports=function(W,Z){return Oe(W),Z===void 0?W:ee?V(W,Z):function(){return W.apply(Z,arguments)}}}),vu=Ae((ot,Ne)=>{var Se=Eu(),Oe=tn(),ee=Cu(),V=Au(),W=function(Z,Y,ne,Fe,je,he,qe,et){for(var Ze=je,nt=0,rt=qe?V(qe,et):!1,$,Ft;nt0&&Se($)?(Ft=Oe($),Ze=W(Z,Y,$,Ft,Ze,he-1)-1):(ee(Ze+1),Z[Ze]=$),Ze++),nt++;return Ze};Ne.exports=W}),wi=Ae((ot,Ne)=>{var Se=$r(),Oe=Se("toStringTag"),ee={};ee[Oe]="z",Ne.exports=String(ee)==="[object z]"}),bu=Ae((ot,Ne)=>{var Se=wi(),Oe=dr(),ee=Br(),V=$r(),W=V("toStringTag"),Z=Object,Y=ee(function(){return arguments}())=="Arguments",ne=function(Fe,je){try{return Fe[je]}catch{}};Ne.exports=Se?ee:function(Fe){var je,he,qe;return Fe===void 0?"Undefined":Fe===null?"Null":typeof(he=ne(je=Z(Fe),W))=="string"?he:Y?ee(je):(qe=ee(je))=="Object"&&Oe(je.callee)?"Arguments":qe}}),Su=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=dr(),V=bu(),W=un(),Z=Qn(),Y=function(){},ne=[],Fe=W("Reflect","construct"),je=/^\s*(?:class|function)\b/,he=Se(je.exec),qe=!je.exec(Y),et=function(nt){if(!ee(nt))return!1;try{return Fe(Y,ne,nt),!0}catch{return!1}},Ze=function(nt){if(!ee(nt))return!1;switch(V(nt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return qe||!!he(je,Z(nt))}catch{return!0}};Ze.sham=!0,Ne.exports=!Fe||Oe(function(){var nt;return et(et.call)||!et(Object)||!et(function(){nt=!0})||nt})?Ze:et}),Ni=Ae((ot,Ne)=>{var Se=Eu(),Oe=Su(),ee=Or(),V=$r(),W=V("species"),Z=Array;Ne.exports=function(Y){var ne;return Se(Y)&&(ne=Y.constructor,Oe(ne)&&(ne===Z||Se(ne.prototype))?ne=void 0:ee(ne)&&(ne=ne[W],ne===null&&(ne=void 0))),ne===void 0?Z:ne}}),xu=Ae((ot,Ne)=>{var Se=Ni();Ne.exports=function(Oe,ee){return new(Se(Oe))(ee===0?0:ee)}}),_i=Ae(()=>{var ot=an(),Ne=vu(),Se=sn(),Oe=Sn(),ee=tn(),V=xu();ot({target:"Array",proto:!0},{flatMap:function(W){var Z=Oe(this),Y=ee(Z),ne;return Se(W),ne=V(Z,0),ne.length=Ne(ne,Z,Z,Y,0,1,W,arguments.length>1?arguments[1]:void 0),ne}})}),eu=Ae((ot,Ne)=>{Ne.exports={}}),ki=Ae((ot,Ne)=>{var Se=$r(),Oe=eu(),ee=Se("iterator"),V=Array.prototype;Ne.exports=function(W){return W!==void 0&&(Oe.Array===W||V[ee]===W)}}),Tu=Ae((ot,Ne)=>{var Se=bu(),Oe=mn(),ee=nn(),V=eu(),W=$r(),Z=W("iterator");Ne.exports=function(Y){if(!ee(Y))return Oe(Y,Z)||Oe(Y,"@@iterator")||V[Se(Y)]}}),Pi=Ae((ot,Ne)=>{var Se=gr(),Oe=sn(),ee=Wr(),V=fn(),W=Tu(),Z=TypeError;Ne.exports=function(Y,ne){var Fe=arguments.length<2?W(Y):ne;if(Oe(Fe))return ee(Se(Fe,Y));throw Z(V(Y)+" is not iterable")}}),Ii=Ae((ot,Ne)=>{var Se=gr(),Oe=Wr(),ee=mn();Ne.exports=function(V,W,Z){var Y,ne;Oe(V);try{if(Y=ee(V,"return"),!Y){if(W==="throw")throw Z;return Z}Y=Se(Y,V)}catch(Fe){ne=!0,Y=Fe}if(W==="throw")throw Z;if(ne)throw Y;return Oe(Y),Z}}),ji=Ae((ot,Ne)=>{var Se=Au(),Oe=gr(),ee=Wr(),V=fn(),W=ki(),Z=tn(),Y=Un(),ne=Pi(),Fe=Tu(),je=Ii(),he=TypeError,qe=function(Ze,nt){this.stopped=Ze,this.result=nt},et=qe.prototype;Ne.exports=function(Ze,nt,rt){var $=rt&&rt.that,Ft=!!(rt&&rt.AS_ENTRIES),At=!!(rt&&rt.IS_RECORD),Lt=!!(rt&&rt.IS_ITERATOR),qt=!!(rt&&rt.INTERRUPTED),Zt=Se(nt,$),ue,yr,Pr,zr,fr,Rr,mr,rn=function(Fr){return ue&&je(ue,"normal",Fr),new qe(!0,Fr)},wr=function(Fr){return Ft?(ee(Fr),qt?Zt(Fr[0],Fr[1],rn):Zt(Fr[0],Fr[1])):qt?Zt(Fr,rn):Zt(Fr)};if(At)ue=Ze.iterator;else if(Lt)ue=Ze;else{if(yr=Fe(Ze),!yr)throw he(V(Ze)+" is not iterable");if(W(yr)){for(Pr=0,zr=Z(Ze);zr>Pr;Pr++)if(fr=wr(Ze[Pr]),fr&&Y(et,fr))return fr;return new qe(!1)}ue=ne(Ze,yr)}for(Rr=At?Ze.next:ue.next;!(mr=Oe(Rr,ue)).done;){try{fr=wr(mr.value)}catch(Fr){je(ue,"throw",Fr)}if(typeof fr=="object"&&fr&&Y(et,fr))return fr}return new qe(!1)}}),Li=Ae((ot,Ne)=>{var Se=yn(),Oe=en(),ee=Lr();Ne.exports=function(V,W,Z){var Y=Se(W);Y in V?Oe.f(V,Y,ee(0,Z)):V[Y]=Z}}),Oi=Ae(()=>{var ot=an(),Ne=ji(),Se=Li();ot({target:"Object",stat:!0},{fromEntries:function(Oe){var ee={};return Ne(Oe,function(V,W){Se(ee,V,W)},{AS_ENTRIES:!0}),ee}})}),$i=Ae((ot,Ne)=>{var Se=["cliName","cliCategory","cliDescription"];function Oe(L,re){if(L==null)return{};var ge=ee(L,re),Ee,Pe;if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(L);for(Pe=0;Pe=0)&&Object.prototype.propertyIsEnumerable.call(L,Ee)&&(ge[Ee]=L[Ee])}return ge}function ee(L,re){if(L==null)return{};var ge={},Ee=Object.keys(L),Pe,ie;for(ie=0;ie=0)&&(ge[Pe]=L[Pe]);return ge}Bi(),_i(),Oi();var V=Object.create,W=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,Y=Object.getOwnPropertyNames,ne=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty,je=(L,re)=>function(){return L&&(re=(0,L[Y(L)[0]])(L=0)),re},he=(L,re)=>function(){return re||(0,L[Y(L)[0]])((re={exports:{}}).exports,re),re.exports},qe=(L,re)=>{for(var ge in re)W(L,ge,{get:re[ge],enumerable:!0})},et=(L,re,ge,Ee)=>{if(re&&typeof re=="object"||typeof re=="function")for(let Pe of Y(re))!Fe.call(L,Pe)&&Pe!==ge&&W(L,Pe,{get:()=>re[Pe],enumerable:!(Ee=Z(re,Pe))||Ee.enumerable});return L},Ze=(L,re,ge)=>(ge=L!=null?V(ne(L)):{},et(re||!L||!L.__esModule?W(ge,"default",{value:L,enumerable:!0}):ge,L)),nt=L=>et(W({},"__esModule",{value:!0}),L),rt,$=je({""(){rt={env:{},argv:[]}}}),Ft=he({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.$EOF=0,L.$BSPACE=8,L.$TAB=9,L.$LF=10,L.$VTAB=11,L.$FF=12,L.$CR=13,L.$SPACE=32,L.$BANG=33,L.$DQ=34,L.$HASH=35,L.$$=36,L.$PERCENT=37,L.$AMPERSAND=38,L.$SQ=39,L.$LPAREN=40,L.$RPAREN=41,L.$STAR=42,L.$PLUS=43,L.$COMMA=44,L.$MINUS=45,L.$PERIOD=46,L.$SLASH=47,L.$COLON=58,L.$SEMICOLON=59,L.$LT=60,L.$EQ=61,L.$GT=62,L.$QUESTION=63,L.$0=48,L.$7=55,L.$9=57,L.$A=65,L.$E=69,L.$F=70,L.$X=88,L.$Z=90,L.$LBRACKET=91,L.$BACKSLASH=92,L.$RBRACKET=93,L.$CARET=94,L.$_=95,L.$a=97,L.$b=98,L.$e=101,L.$f=102,L.$n=110,L.$r=114,L.$t=116,L.$u=117,L.$v=118,L.$x=120,L.$z=122,L.$LBRACE=123,L.$BAR=124,L.$RBRACE=125,L.$NBSP=160,L.$PIPE=124,L.$TILDA=126,L.$AT=64,L.$BT=96;function re(Ue){return Ue>=L.$TAB&&Ue<=L.$SPACE||Ue==L.$NBSP}L.isWhitespace=re;function ge(Ue){return L.$0<=Ue&&Ue<=L.$9}L.isDigit=ge;function Ee(Ue){return Ue>=L.$a&&Ue<=L.$z||Ue>=L.$A&&Ue<=L.$Z}L.isAsciiLetter=Ee;function Pe(Ue){return Ue>=L.$a&&Ue<=L.$f||Ue>=L.$A&&Ue<=L.$F||ge(Ue)}L.isAsciiHexDigit=Pe;function ie(Ue){return Ue===L.$LF||Ue===L.$CR}L.isNewLine=ie;function de(Ue){return L.$0<=Ue&&Ue<=L.$7}L.isOctalDigit=de}}),At=he({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=class{constructor(Ee,Pe,ie){this.filePath=Ee,this.name=Pe,this.members=ie}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};L.StaticSymbol=re;var ge=class{constructor(){this.cache=new Map}get(Ee,Pe,ie){ie=ie||[];let de=ie.length?`.${ie.join(".")}`:"",Ue=`"${Ee}".${Pe}${de}`,Ge=this.cache.get(Ue);return Ge||(Ge=new re(Ee,Pe,ie),this.cache.set(Ue,Ge)),Ge}};L.StaticSymbolCache=ge}}),Lt=he({"node_modules/angular-html-parser/lib/compiler/src/util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=/-+([a-z0-9])/g;function ge(le){return le.replace(re,function(){for(var We=arguments.length,Me=new Array(We),at=0;atde(Me,this,We))}visitStringMap(le,We){let Me={};return Object.keys(le).forEach(at=>{Me[at]=de(le[at],this,We)}),Me}visitPrimitive(le,We){return le}visitOther(le,We){return le}};L.ValueTransformer=gt,L.SyncAsync={assertSync:le=>{if(st(le))throw new Error("Illegal state: value cannot be a promise");return le},then:(le,We)=>st(le)?le.then(We):We(le),all:le=>le.some(st)?Promise.all(le):le};function ce(le){throw new Error(`Internal Error: ${le}`)}L.error=ce;function ve(le,We){let Me=Error(le);return Me[Ve]=!0,We&&(Me[He]=We),Me}L.syntaxError=ve;var Ve="ngSyntaxError",He="ngParseErrors";function Je(le){return le[Ve]}L.isSyntaxError=Je;function Qe(le){return le[He]||[]}L.getParseErrors=Qe;function yt(le){return le.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}L.escapeRegExp=yt;var _t=Object.getPrototypeOf({});function ct(le){return typeof le=="object"&&le!==null&&Object.getPrototypeOf(le)===_t}function kt(le){let We="";for(let Me=0;Me=55296&&at<=56319&&le.length>Me+1){let Jt=le.charCodeAt(Me+1);Jt>=56320&&Jt<=57343&&(Me++,at=(at-55296<<10)+Jt-56320+65536)}at<=127?We+=String.fromCharCode(at):at<=2047?We+=String.fromCharCode(at>>6&31|192,at&63|128):at<=65535?We+=String.fromCharCode(at>>12|224,at>>6&63|128,at&63|128):at<=2097151&&(We+=String.fromCharCode(at>>18&7|240,at>>12&63|128,at>>6&63|128,at&63|128))}return We}L.utf8Encode=kt;function $t(le){if(typeof le=="string")return le;if(le instanceof Array)return"["+le.map($t).join(", ")+"]";if(le==null)return""+le;if(le.overriddenName)return`${le.overriddenName}`;if(le.name)return`${le.name}`;if(!le.toString)return"object";let We=le.toString();if(We==null)return""+We;let Me=We.indexOf(` `);return Me===-1?We:We.substring(0,Me)}L.stringify=$t;function ir(le){return typeof le=="function"&&le.hasOwnProperty("__forward_ref__")?le():le}L.resolveForwardRef=ir;function st(le){return!!le&&typeof le.then=="function"}L.isPromise=st;var Ot=class{constructor(le){this.full=le;let We=le.split(".");this.major=We[0],this.minor=We[1],this.patch=We.slice(2).join(".")}};L.Version=Ot;var Vt=typeof window<"u"&&window,Ut=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,rr=typeof globalThis<"u"&&globalThis,z=rr||Vt||Ut;L.global=z}}),qt=he({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=At(),ge=Lt(),Ee=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Pe(Me){return Me.replace(/\W/g,"_")}L.sanitizeIdentifier=Pe;var ie=0;function de(Me){if(!Me||!Me.reference)return null;let at=Me.reference;if(at instanceof re.StaticSymbol)return at.name;if(at.__anonymousType)return at.__anonymousType;let Jt=ge.stringify(at);return Jt.indexOf("(")>=0?(Jt=`anonymous_${ie++}`,at.__anonymousType=Jt):Jt=Pe(Jt),Jt}L.identifierName=de;function Ue(Me){let at=Me.reference;return at instanceof re.StaticSymbol?at.filePath:`./${ge.stringify(at)}`}L.identifierModuleUrl=Ue;function Ge(Me,at){return`View_${de({reference:Me})}_${at}`}L.viewClassName=Ge;function gt(Me){return`RenderType_${de({reference:Me})}`}L.rendererTypeName=gt;function ce(Me){return`HostView_${de({reference:Me})}`}L.hostViewClassName=ce;function ve(Me){return`${de({reference:Me})}NgFactory`}L.componentFactoryName=ve;var Ve;(function(Me){Me[Me.Pipe=0]="Pipe",Me[Me.Directive=1]="Directive",Me[Me.NgModule=2]="NgModule",Me[Me.Injectable=3]="Injectable"})(Ve=L.CompileSummaryKind||(L.CompileSummaryKind={}));function He(Me){return Me.value!=null?Pe(Me.value):de(Me.identifier)}L.tokenName=He;function Je(Me){return Me.identifier!=null?Me.identifier.reference:Me.value}L.tokenReference=Je;var Qe=class{constructor(){let{moduleUrl:Me,styles:at,styleUrls:Jt}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=Me||null,this.styles=st(at),this.styleUrls=st(Jt)}};L.CompileStylesheetMetadata=Qe;var yt=class{constructor(Me){let{encapsulation:at,template:Jt,templateUrl:er,htmlAst:Ar,styles:Er,styleUrls:_r,externalStylesheets:xr,animations:Ir,ngContentSelectors:Mr,interpolation:or,isInline:lt,preserveWhitespaces:mt}=Me;if(this.encapsulation=at,this.template=Jt,this.templateUrl=er,this.htmlAst=Ar,this.styles=st(Er),this.styleUrls=st(_r),this.externalStylesheets=st(xr),this.animations=Ir?Vt(Ir):[],this.ngContentSelectors=Mr||[],or&&or.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=or,this.isInline=lt,this.preserveWhitespaces=mt}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};L.CompileTemplateMetadata=yt;var _t=class{static create(Me){let{isHost:at,type:Jt,isComponent:er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:xr,outputs:Ir,host:Mr,providers:or,viewProviders:lt,queries:mt,guards:St,viewQueries:xt,entryComponents:Kt,template:sr,componentViewType:lr,rendererType:Qt,componentFactory:Kr}=Me,Pn={},In={},Hu={};Mr!=null&&Object.keys(Mr).forEach(vr=>{let Qr=Mr[vr],cn=vr.match(Ee);cn===null?Hu[vr]=Qr:cn[1]!=null?In[cn[1]]=Qr:cn[2]!=null&&(Pn[cn[2]]=Qr)});let Yu={};xr==null||xr.forEach(vr=>{let Qr=ge.splitAtColon(vr,[vr,vr]);Yu[Qr[0]]=Qr[1]});let Ku={};return Ir==null||Ir.forEach(vr=>{let Qr=ge.splitAtColon(vr,[vr,vr]);Ku[Qr[0]]=Qr[1]}),new _t({isHost:at,type:Jt,isComponent:!!er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:Yu,outputs:Ku,hostListeners:Pn,hostProperties:In,hostAttributes:Hu,providers:or,viewProviders:lt,queries:mt,guards:St,viewQueries:xt,entryComponents:Kt,template:sr,componentViewType:lr,rendererType:Qt,componentFactory:Kr})}constructor(Me){let{isHost:at,type:Jt,isComponent:er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:xr,outputs:Ir,hostListeners:Mr,hostProperties:or,hostAttributes:lt,providers:mt,viewProviders:St,queries:xt,guards:Kt,viewQueries:sr,entryComponents:lr,template:Qt,componentViewType:Kr,rendererType:Pn,componentFactory:In}=Me;this.isHost=!!at,this.type=Jt,this.isComponent=er,this.selector=Ar,this.exportAs=Er,this.changeDetection=_r,this.inputs=xr,this.outputs=Ir,this.hostListeners=Mr,this.hostProperties=or,this.hostAttributes=lt,this.providers=st(mt),this.viewProviders=st(St),this.queries=st(xt),this.guards=Kt,this.viewQueries=st(sr),this.entryComponents=st(lr),this.template=Qt,this.componentViewType=Kr,this.rendererType=Pn,this.componentFactory=In}toSummary(){return{summaryKind:Ve.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};L.CompileDirectiveMetadata=_t;var ct=class{constructor(Me){let{type:at,name:Jt,pure:er}=Me;this.type=at,this.name=Jt,this.pure=!!er}toSummary(){return{summaryKind:Ve.Pipe,type:this.type,name:this.name,pure:this.pure}}};L.CompilePipeMetadata=ct;var kt=class{};L.CompileShallowModuleMetadata=kt;var $t=class{constructor(Me){let{type:at,providers:Jt,declaredDirectives:er,exportedDirectives:Ar,declaredPipes:Er,exportedPipes:_r,entryComponents:xr,bootstrapComponents:Ir,importedModules:Mr,exportedModules:or,schemas:lt,transitiveModule:mt,id:St}=Me;this.type=at||null,this.declaredDirectives=st(er),this.exportedDirectives=st(Ar),this.declaredPipes=st(Er),this.exportedPipes=st(_r),this.providers=st(Jt),this.entryComponents=st(xr),this.bootstrapComponents=st(Ir),this.importedModules=st(Mr),this.exportedModules=st(or),this.schemas=st(lt),this.id=St||null,this.transitiveModule=mt||null}toSummary(){let Me=this.transitiveModule;return{summaryKind:Ve.NgModule,type:this.type,entryComponents:Me.entryComponents,providers:Me.providers,modules:Me.modules,exportedDirectives:Me.exportedDirectives,exportedPipes:Me.exportedPipes}}};L.CompileNgModuleMetadata=$t;var ir=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(Me,at){this.providers.push({provider:Me,module:at})}addDirective(Me){this.directivesSet.has(Me.reference)||(this.directivesSet.add(Me.reference),this.directives.push(Me))}addExportedDirective(Me){this.exportedDirectivesSet.has(Me.reference)||(this.exportedDirectivesSet.add(Me.reference),this.exportedDirectives.push(Me))}addPipe(Me){this.pipesSet.has(Me.reference)||(this.pipesSet.add(Me.reference),this.pipes.push(Me))}addExportedPipe(Me){this.exportedPipesSet.has(Me.reference)||(this.exportedPipesSet.add(Me.reference),this.exportedPipes.push(Me))}addModule(Me){this.modulesSet.has(Me.reference)||(this.modulesSet.add(Me.reference),this.modules.push(Me))}addEntryComponent(Me){this.entryComponentsSet.has(Me.componentType)||(this.entryComponentsSet.add(Me.componentType),this.entryComponents.push(Me))}};L.TransitiveCompileNgModuleMetadata=ir;function st(Me){return Me||[]}var Ot=class{constructor(Me,at){let{useClass:Jt,useValue:er,useExisting:Ar,useFactory:Er,deps:_r,multi:xr}=at;this.token=Me,this.useClass=Jt||null,this.useValue=er,this.useExisting=Ar,this.useFactory=Er||null,this.dependencies=_r||null,this.multi=!!xr}};L.ProviderMeta=Ot;function Vt(Me){return Me.reduce((at,Jt)=>{let er=Array.isArray(Jt)?Vt(Jt):Jt;return at.concat(er)},[])}L.flatten=Vt;function Ut(Me){return Me.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function rr(Me,at,Jt){let er;return Jt.isInline?at.type.reference instanceof re.StaticSymbol?er=`${at.type.reference.filePath}.${at.type.reference.name}.html`:er=`${de(Me)}/${de(at.type)}.html`:er=Jt.templateUrl,at.type.reference instanceof re.StaticSymbol?er:Ut(er)}L.templateSourceUrl=rr;function z(Me,at){let Jt=Me.moduleUrl.split(/\/\\/g),er=Jt[Jt.length-1];return Ut(`css/${at}${er}.ngstyle.js`)}L.sharedStylesheetJitUrl=z;function le(Me){return Ut(`${de(Me.type)}/module.ngfactory.js`)}L.ngModuleJitUrl=le;function We(Me,at){return Ut(`${de(Me)}/${de(at.type)}.ngfactory.js`)}L.templateJitUrl=We}}),Zt=he({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=Ft(),ge=qt(),Ee=class{constructor(ce,ve,Ve,He){this.file=ce,this.offset=ve,this.line=Ve,this.col=He}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(ce){let ve=this.file.content,Ve=ve.length,He=this.offset,Je=this.line,Qe=this.col;for(;He>0&&ce<0;)if(He--,ce++,ve.charCodeAt(He)==re.$LF){Je--;let yt=ve.substr(0,He-1).lastIndexOf(String.fromCharCode(re.$LF));Qe=yt>0?He-yt:He}else Qe--;for(;He0;){let yt=ve.charCodeAt(He);He++,ce--,yt==re.$LF?(Je++,Qe=0):Qe++}return new Ee(this.file,He,Je,Qe)}getContext(ce,ve){let Ve=this.file.content,He=this.offset;if(He!=null){He>Ve.length-1&&(He=Ve.length-1);let Je=He,Qe=0,yt=0;for(;Qe0&&(He--,Qe++,!(Ve[He]==` `&&++yt==ve)););for(Qe=0,yt=0;Qe2&&arguments[2]!==void 0?arguments[2]:null;this.start=ce,this.end=ve,this.details=Ve}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};L.ParseSourceSpan=ie,L.EMPTY_PARSE_LOCATION=new Ee(new Pe("",""),0,0,0),L.EMPTY_SOURCE_SPAN=new ie(L.EMPTY_PARSE_LOCATION,L.EMPTY_PARSE_LOCATION);var de;(function(ce){ce[ce.WARNING=0]="WARNING",ce[ce.ERROR=1]="ERROR"})(de=L.ParseErrorLevel||(L.ParseErrorLevel={}));var Ue=class{constructor(ce,ve){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:de.ERROR;this.span=ce,this.msg=ve,this.level=Ve}contextualMessage(){let ce=this.span.start.getContext(100,3);return ce?`${this.msg} ("${ce.before}[${de[this.level]} ->]${ce.after}")`:this.msg}toString(){let ce=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${ce}`}};L.ParseError=Ue;function Ge(ce,ve){let Ve=ge.identifierModuleUrl(ve),He=Ve!=null?`in ${ce} ${ge.identifierName(ve)} in ${Ve}`:`in ${ce} ${ge.identifierName(ve)}`,Je=new Pe("",He);return new ie(new Ee(Je,-1,-1,-1),new Ee(Je,-1,-1,-1))}L.typeSourceSpan=Ge;function gt(ce,ve,Ve){let He=`in ${ce} ${ve} in ${Ve}`,Je=new Pe("",He);return new ie(new Ee(Je,-1,-1,-1),new Ee(Je,-1,-1,-1))}L.r3JitTypeSourceSpan=gt}}),ue=he({"src/utils/front-matter/parse.js"(L,re){$();var ge=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Ee(Pe){let ie=Pe.match(ge);if(!ie)return{content:Pe};let{startDelimiter:de,language:Ue,value:Ge="",endDelimiter:gt}=ie.groups,ce=Ue.trim()||"yaml";if(de==="+++"&&(ce="toml"),ce!=="yaml"&&de!==gt)return{content:Pe};let[ve]=ie;return{frontMatter:{type:"front-matter",lang:ce,value:Ge,startDelimiter:de,endDelimiter:gt,raw:ve.replace(/\n$/,"")},content:ve.replace(/[^\n]/g," ")+Pe.slice(ve.length)}}re.exports=Ee}}),yr=he({"src/utils/get-last.js"(L,re){$();var ge=Ee=>Ee[Ee.length-1];re.exports=ge}}),Pr=he({"src/common/parser-create-error.js"(L,re){$();function ge(Ee,Pe){let ie=new SyntaxError(Ee+" ("+Pe.start.line+":"+Pe.start.column+")");return ie.loc=Pe,ie}re.exports=ge}}),zr={};qe(zr,{default:()=>fr});function fr(L){if(typeof L!="string")throw new TypeError("Expected a string");return L.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Rr=je({"node_modules/escape-string-regexp/index.js"(){$()}}),mr=he({"node_modules/semver/internal/debug.js"(L,re){$();var ge=typeof rt=="object"&&rt.env&&rt.env.NODE_DEBUG&&/\bsemver\b/i.test(rt.env.NODE_DEBUG)?function(){for(var Ee=arguments.length,Pe=new Array(Ee),ie=0;ie{};re.exports=ge}}),rn=he({"node_modules/semver/internal/constants.js"(L,re){$();var ge="2.0.0",Ee=256,Pe=Number.MAX_SAFE_INTEGER||9007199254740991,ie=16;re.exports={SEMVER_SPEC_VERSION:ge,MAX_LENGTH:Ee,MAX_SAFE_INTEGER:Pe,MAX_SAFE_COMPONENT_LENGTH:ie}}}),wr=he({"node_modules/semver/internal/re.js"(L,re){$();var{MAX_SAFE_COMPONENT_LENGTH:ge}=rn(),Ee=mr();L=re.exports={};var Pe=L.re=[],ie=L.src=[],de=L.t={},Ue=0,Ge=(gt,ce,ve)=>{let Ve=Ue++;Ee(gt,Ve,ce),de[gt]=Ve,ie[Ve]=ce,Pe[Ve]=new RegExp(ce,ve?"g":void 0)};Ge("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ge("NUMERICIDENTIFIERLOOSE","[0-9]+"),Ge("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Ge("MAINVERSION",`(${ie[de.NUMERICIDENTIFIER]})\\.(${ie[de.NUMERICIDENTIFIER]})\\.(${ie[de.NUMERICIDENTIFIER]})`),Ge("MAINVERSIONLOOSE",`(${ie[de.NUMERICIDENTIFIERLOOSE]})\\.(${ie[de.NUMERICIDENTIFIERLOOSE]})\\.(${ie[de.NUMERICIDENTIFIERLOOSE]})`),Ge("PRERELEASEIDENTIFIER",`(?:${ie[de.NUMERICIDENTIFIER]}|${ie[de.NONNUMERICIDENTIFIER]})`),Ge("PRERELEASEIDENTIFIERLOOSE",`(?:${ie[de.NUMERICIDENTIFIERLOOSE]}|${ie[de.NONNUMERICIDENTIFIER]})`),Ge("PRERELEASE",`(?:-(${ie[de.PRERELEASEIDENTIFIER]}(?:\\.${ie[de.PRERELEASEIDENTIFIER]})*))`),Ge("PRERELEASELOOSE",`(?:-?(${ie[de.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ie[de.PRERELEASEIDENTIFIERLOOSE]})*))`),Ge("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Ge("BUILD",`(?:\\+(${ie[de.BUILDIDENTIFIER]}(?:\\.${ie[de.BUILDIDENTIFIER]})*))`),Ge("FULLPLAIN",`v?${ie[de.MAINVERSION]}${ie[de.PRERELEASE]}?${ie[de.BUILD]}?`),Ge("FULL",`^${ie[de.FULLPLAIN]}$`),Ge("LOOSEPLAIN",`[v=\\s]*${ie[de.MAINVERSIONLOOSE]}${ie[de.PRERELEASELOOSE]}?${ie[de.BUILD]}?`),Ge("LOOSE",`^${ie[de.LOOSEPLAIN]}$`),Ge("GTLT","((?:<|>)?=?)"),Ge("XRANGEIDENTIFIERLOOSE",`${ie[de.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ge("XRANGEIDENTIFIER",`${ie[de.NUMERICIDENTIFIER]}|x|X|\\*`),Ge("XRANGEPLAIN",`[v=\\s]*(${ie[de.XRANGEIDENTIFIER]})(?:\\.(${ie[de.XRANGEIDENTIFIER]})(?:\\.(${ie[de.XRANGEIDENTIFIER]})(?:${ie[de.PRERELEASE]})?${ie[de.BUILD]}?)?)?`),Ge("XRANGEPLAINLOOSE",`[v=\\s]*(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:${ie[de.PRERELEASELOOSE]})?${ie[de.BUILD]}?)?)?`),Ge("XRANGE",`^${ie[de.GTLT]}\\s*${ie[de.XRANGEPLAIN]}$`),Ge("XRANGELOOSE",`^${ie[de.GTLT]}\\s*${ie[de.XRANGEPLAINLOOSE]}$`),Ge("COERCE",`(^|[^\\d])(\\d{1,${ge}})(?:\\.(\\d{1,${ge}}))?(?:\\.(\\d{1,${ge}}))?(?:$|[^\\d])`),Ge("COERCERTL",ie[de.COERCE],!0),Ge("LONETILDE","(?:~>?)"),Ge("TILDETRIM",`(\\s*)${ie[de.LONETILDE]}\\s+`,!0),L.tildeTrimReplace="$1~",Ge("TILDE",`^${ie[de.LONETILDE]}${ie[de.XRANGEPLAIN]}$`),Ge("TILDELOOSE",`^${ie[de.LONETILDE]}${ie[de.XRANGEPLAINLOOSE]}$`),Ge("LONECARET","(?:\\^)"),Ge("CARETTRIM",`(\\s*)${ie[de.LONECARET]}\\s+`,!0),L.caretTrimReplace="$1^",Ge("CARET",`^${ie[de.LONECARET]}${ie[de.XRANGEPLAIN]}$`),Ge("CARETLOOSE",`^${ie[de.LONECARET]}${ie[de.XRANGEPLAINLOOSE]}$`),Ge("COMPARATORLOOSE",`^${ie[de.GTLT]}\\s*(${ie[de.LOOSEPLAIN]})$|^$`),Ge("COMPARATOR",`^${ie[de.GTLT]}\\s*(${ie[de.FULLPLAIN]})$|^$`),Ge("COMPARATORTRIM",`(\\s*)${ie[de.GTLT]}\\s*(${ie[de.LOOSEPLAIN]}|${ie[de.XRANGEPLAIN]})`,!0),L.comparatorTrimReplace="$1$2$3",Ge("HYPHENRANGE",`^\\s*(${ie[de.XRANGEPLAIN]})\\s+-\\s+(${ie[de.XRANGEPLAIN]})\\s*$`),Ge("HYPHENRANGELOOSE",`^\\s*(${ie[de.XRANGEPLAINLOOSE]})\\s+-\\s+(${ie[de.XRANGEPLAINLOOSE]})\\s*$`),Ge("STAR","(<|>)?=?\\s*\\*"),Ge("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Ge("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Fr=he({"node_modules/semver/internal/parse-options.js"(L,re){$();var ge=["includePrerelease","loose","rtl"],Ee=Pe=>Pe?typeof Pe!="object"?{loose:!0}:ge.filter(ie=>Pe[ie]).reduce((ie,de)=>(ie[de]=!0,ie),{}):{};re.exports=Ee}}),Tn=he({"node_modules/semver/internal/identifiers.js"(L,re){$();var ge=/^[0-9]+$/,Ee=(ie,de)=>{let Ue=ge.test(ie),Ge=ge.test(de);return Ue&&Ge&&(ie=+ie,de=+de),ie===de?0:Ue&&!Ge?-1:Ge&&!Ue?1:ieEe(de,ie);re.exports={compareIdentifiers:Ee,rcompareIdentifiers:Pe}}}),Bn=he({"node_modules/semver/classes/semver.js"(L,re){$();var ge=mr(),{MAX_LENGTH:Ee,MAX_SAFE_INTEGER:Pe}=rn(),{re:ie,t:de}=wr(),Ue=Fr(),{compareIdentifiers:Ge}=Tn(),gt=class{constructor(ce,ve){if(ve=Ue(ve),ce instanceof gt){if(ce.loose===!!ve.loose&&ce.includePrerelease===!!ve.includePrerelease)return ce;ce=ce.version}else if(typeof ce!="string")throw new TypeError(`Invalid Version: ${ce}`);if(ce.length>Ee)throw new TypeError(`version is longer than ${Ee} characters`);ge("SemVer",ce,ve),this.options=ve,this.loose=!!ve.loose,this.includePrerelease=!!ve.includePrerelease;let Ve=ce.trim().match(ve.loose?ie[de.LOOSE]:ie[de.FULL]);if(!Ve)throw new TypeError(`Invalid Version: ${ce}`);if(this.raw=ce,this.major=+Ve[1],this.minor=+Ve[2],this.patch=+Ve[3],this.major>Pe||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Pe||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Pe||this.patch<0)throw new TypeError("Invalid patch version");Ve[4]?this.prerelease=Ve[4].split(".").map(He=>{if(/^[0-9]+$/.test(He)){let Je=+He;if(Je>=0&&Je=0;)typeof this.prerelease[Ve]=="number"&&(this.prerelease[Ve]++,Ve=-2);Ve===-1&&this.prerelease.push(0)}ve&&(Ge(this.prerelease[0],ve)===0?isNaN(this.prerelease[1])&&(this.prerelease=[ve,0]):this.prerelease=[ve,0]);break;default:throw new Error(`invalid increment argument: ${ce}`)}return this.format(),this.raw=this.version,this}};re.exports=gt}}),on=he({"node_modules/semver/functions/compare.js"(L,re){$();var ge=Bn(),Ee=(Pe,ie,de)=>new ge(Pe,de).compare(new ge(ie,de));re.exports=Ee}}),Nr=he({"node_modules/semver/functions/lt.js"(L,re){$();var ge=on(),Ee=(Pe,ie,de)=>ge(Pe,ie,de)<0;re.exports=Ee}}),Bu=he({"node_modules/semver/functions/gte.js"(L,re){$();var ge=on(),Ee=(Pe,ie,de)=>ge(Pe,ie,de)>=0;re.exports=Ee}}),Ri=he({"src/utils/arrayify.js"(L,re){$(),re.exports=(ge,Ee)=>Object.entries(ge).map(Pe=>{let[ie,de]=Pe;return Object.assign({[Ee]:ie},de)})}}),wu=he({"package.json"(L,re){re.exports={version:"2.8.8"}}}),Mi=he({"node_modules/outdent/lib/index.js"(L,re){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.outdent=void 0;function ge(){for(var ct=[],kt=0;kt{for(const r of o)if(r.type==="childList")for(const e of r.addedNodes)e.tagName==="LINK"&&e.rel==="modulepreload"&&m(e)}).observe(document,{childList:!0,subtree:!0});function a(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function m(o){if(o.ep)return;o.ep=!0;const r=a(o);fetch(o.href,r)}})();const l="modulepreload",d=function(_,s){return new URL(_,s).href},p={},t=function(s,a,m){if(!a||a.length===0)return s();const o=document.getElementsByTagName("link");return Promise.all(a.map(r=>{if(r=d(r,m),r in p)return;p[r]=!0;const e=r.endsWith(".css"),E=e?'[rel="stylesheet"]':"";if(!!m)for(let n=o.length-1;n>=0;n--){const c=o[n];if(c.href===r&&(!e||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${E}`))return;const i=document.createElement("link");if(i.rel=e?"stylesheet":l,e||(i.as="script",i.crossOrigin=""),i.href=r,document.head.appendChild(i),e)return new Promise((n,c)=>{i.addEventListener("load",n),i.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>s()).catch(r=>{const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=r,window.dispatchEvent(e),!e.defaultPrevented)throw r})},{createBrowserChannel:O}=__STORYBOOK_MODULE_CHANNELS__,{addons:R}=__STORYBOOK_MODULE_PREVIEW_API__,u=O({page:"preview"});R.setChannel(u);window.__STORYBOOK_ADDONS_CHANNEL__=u;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=u);const T={"./.storybook/docs/pages/Welcome.mdx":async()=>t(()=>import("./Welcome-230771bb.js"),["./Welcome-230771bb.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-21c4db47.js","./chunk-ZGA76URP-2bd2442b.js","./index-6fd5a17b.js","./index-d7bb098e.js","./index-356e4a49.js","./Button-e9ac0f78.js","./clsx.m-1229b3e0.js","./index-a55c3a76.js","./CodeMockup-5ec72808.js","./Hero-9639dab2.js","./index-6329c95a.js","./index-6c8d164f.js","./index-147f7280.js","./constants-fe73bc72.js","./useGlobalTheme-d47a597b.js","./index-2ef8b458.js","./Welcome-a99bb0d1.css"],import.meta.url),"./src/Accordion/Accordion.stories.tsx":async()=>t(()=>import("./Accordion.stories-153ffdb7.js"),["./Accordion.stories-153ffdb7.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./CollapseContent-8035002f.js","./Join-47e05b2f.js"],import.meta.url),"./src/Alert/Alert.stories.tsx":async()=>t(()=>import("./Alert.stories-1bc54e76.js"),["./Alert.stories-1bc54e76.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-fa7a260c.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js"],import.meta.url),"./src/Artboard/Artboard.stories.tsx":async()=>t(()=>import("./Artboard.stories-82bdeecf.js"),["./Artboard.stories-82bdeecf.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Avatar/Avatar.stories.tsx":async()=>t(()=>import("./Avatar.stories-17472006.js"),["./Avatar.stories-17472006.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-6ae1381f.js","./clsx.m-1229b3e0.js","./utils-25597068.js","./index-3802c17c.js"],import.meta.url),"./src/Badge/Badge.stories.tsx":async()=>t(()=>import("./Badge.stories-91275a6d.js"),["./Badge.stories-91275a6d.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-ccb0f6f2.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js"],import.meta.url),"./src/BottomNavigation/BottomNavigation.stories.tsx":async()=>t(()=>import("./BottomNavigation.stories-e1b3f548.js"),["./BottomNavigation.stories-e1b3f548.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Breadcrumbs/Breadcrumbs.stories.tsx":async()=>t(()=>import("./Breadcrumbs.stories-8ab9ebfa.js"),["./Breadcrumbs.stories-8ab9ebfa.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js"],import.meta.url),"./src/BrowserMockup/BrowserMockup.stories.tsx":async()=>t(()=>import("./BrowserMockup.stories-8fc338cf.js"),["./BrowserMockup.stories-8fc338cf.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Button/Button.stories.tsx":async()=>t(()=>import("./Button.stories-2ecc1a31.js"),["./Button.stories-2ecc1a31.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./Button-e9ac0f78.js","./clsx.m-1229b3e0.js","./index-a55c3a76.js"],import.meta.url),"./src/Card/Card.stories.tsx":async()=>t(()=>import("./Card.stories-7d9007ed.js"),["./Card.stories-7d9007ed.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-3c968524.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js"],import.meta.url),"./src/Carousel/Carousel.stories.tsx":async()=>t(()=>import("./Carousel.stories-4b01da97.js"),["./Carousel.stories-4b01da97.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js"],import.meta.url),"./src/ChatBubble/ChatBubble.stories.tsx":async()=>t(()=>import("./ChatBubble.stories-11893b91.js"),["./ChatBubble.stories-11893b91.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-6ae1381f.js","./clsx.m-1229b3e0.js","./utils-25597068.js"],import.meta.url),"./src/Checkbox/Checkbox.stories.tsx":async()=>t(()=>import("./Checkbox.stories-c0fcae51.js"),["./Checkbox.stories-c0fcae51.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-5a4bf744.js","./clsx.m-1229b3e0.js","./index-cdaabc1d.js"],import.meta.url),"./src/CodeMockup/CodeMockup.stories.tsx":async()=>t(()=>import("./CodeMockup.stories-c54235b4.js"),["./CodeMockup.stories-c54235b4.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./CodeMockup-5ec72808.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Collapse/Collapse.stories.tsx":async()=>t(()=>import("./Collapse.stories-ee07c980.js"),["./Collapse.stories-ee07c980.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-679b5f9b.js","./clsx.m-1229b3e0.js","./CollapseContent-8035002f.js"],import.meta.url),"./src/Collapse/CollapseDetails.stories.tsx":async()=>t(()=>import("./CollapseDetails.stories-af5e2dc5.js"),["./CollapseDetails.stories-af5e2dc5.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-679b5f9b.js","./clsx.m-1229b3e0.js","./CollapseContent-8035002f.js"],import.meta.url),"./src/Countdown/Countdown.stories.tsx":async()=>t(()=>import("./Countdown.stories-efe995ac.js"),["./Countdown.stories-efe995ac.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js"],import.meta.url),"./src/Diff/Diff.stories.tsx":async()=>t(()=>import("./Diff.stories-42040ab8.js"),["./Diff.stories-42040ab8.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Divider/Divider.stories.tsx":async()=>t(()=>import("./Divider.stories-8b6f67c7.js"),["./Divider.stories-8b6f67c7.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./index-3c968524.js"],import.meta.url),"./src/Drawer/Drawer.stories.tsx":async()=>t(()=>import("./Drawer.stories-3cceda62.js"),["./Drawer.stories-3cceda62.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js","./index-1e3c83a2.js","./index-44e44375.js"],import.meta.url),"./src/Dropdown/Dropdown.stories.tsx":async()=>t(()=>import("./Dropdown.stories-bf9b5a3e.js"),["./Dropdown.stories-bf9b5a3e.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-abb70d26.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js","./index-3c968524.js","./index-1e3c83a2.js"],import.meta.url),"./src/Dropdown/DropdownDetails.stories.tsx":async()=>t(()=>import("./DropdownDetails.stories-cfa84896.js"),["./DropdownDetails.stories-cfa84896.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-abb70d26.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js"],import.meta.url),"./src/FileInput/FileInput.stories.tsx":async()=>t(()=>import("./FileInput.stories-3482d76d.js"),["./FileInput.stories-3482d76d.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Footer/Footer.stories.tsx":async()=>t(()=>import("./Footer.stories-1abc7582.js"),["./Footer.stories-1abc7582.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Hero/Hero.stories.tsx":async()=>t(()=>import("./Hero.stories-e9f74b65.js"),["./Hero.stories-e9f74b65.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./Hero-9639dab2.js","./Button-e9ac0f78.js","./clsx.m-1229b3e0.js","./index-a55c3a76.js","./index-3c968524.js","./index-0ee0d1a2.js","./index-cdaabc1d.js","./index-6329c95a.js"],import.meta.url),"./src/Indicator/Indicator.stories.tsx":async()=>t(()=>import("./Indicator.stories-f48c90e3.js"),["./Indicator.stories-f48c90e3.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-e97e44e7.js","./clsx.m-1229b3e0.js","./index-6ae1381f.js","./utils-25597068.js","./index-ccb0f6f2.js","./Button-e9ac0f78.js","./index-a55c3a76.js","./index-eb20e8d5.js","./index-0ee0d1a2.js","./index-3c968524.js"],import.meta.url),"./src/Input/Input.stories.tsx":async()=>t(()=>import("./Input.stories-66d78c5c.js"),["./Input.stories-66d78c5c.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-0ee0d1a2.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Join/Join.stories.tsx":async()=>t(()=>import("./Join.stories-9383d512.js"),["./Join.stories-9383d512.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./Join-47e05b2f.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js","./index-0ee0d1a2.js","./index-cdac515a.js","./index-e97e44e7.js","./index-ccb0f6f2.js"],import.meta.url),"./src/Kbd/Kbd.stories.tsx":async()=>t(()=>import("./Kbd.stories-68acbd4b.js"),["./Kbd.stories-68acbd4b.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Link/Link.stories.tsx":async()=>t(()=>import("./Link.stories-a56412a8.js"),["./Link.stories-a56412a8.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-6329c95a.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Loading/Loading.stories.tsx":async()=>t(()=>import("./Loading.stories-4d6dd8ad.js"),["./Loading.stories-4d6dd8ad.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-a55c3a76.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Mask/Mask.stories.tsx":async()=>t(()=>import("./Mask.stories-07003ec5.js"),["./Mask.stories-07003ec5.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-3802c17c.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Menu/Menu.stories.tsx":async()=>t(()=>import("./Menu.stories-1416ca38.js"),["./Menu.stories-1416ca38.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-44e44375.js","./clsx.m-1229b3e0.js","./index-6c8d164f.js","./index-ccb0f6f2.js"],import.meta.url),"./src/Modal/Modal.stories.tsx":async()=>t(()=>import("./Modal.stories-ce305c3b.js"),["./Modal.stories-ce305c3b.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-1c7a8ea4.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js"],import.meta.url),"./src/Modal/ModalLegacy.stories.tsx":async()=>t(()=>import("./ModalLegacy.stories-c313fa45.js"),["./ModalLegacy.stories-c313fa45.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-1c7a8ea4.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js"],import.meta.url),"./src/Navbar/Navbar.stories.tsx":async()=>t(()=>import("./Navbar.stories-5c3fdc08.js"),["./Navbar.stories-5c3fdc08.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-1e3c83a2.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js","./index-44e44375.js","./index-abb70d26.js","./index-cdaabc1d.js","./index-0ee0d1a2.js","./index-e97e44e7.js","./index-ccb0f6f2.js","./index-3c968524.js"],import.meta.url),"./src/Pagination/Pagination.stories.tsx":async()=>t(()=>import("./Pagination.stories-55abae79.js"),["./Pagination.stories-55abae79.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./Join-47e05b2f.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js"],import.meta.url),"./src/PhoneMockup/PhoneMockup.stories.tsx":async()=>t(()=>import("./PhoneMockup.stories-aaef4ddd.js"),["./PhoneMockup.stories-aaef4ddd.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./constants-fe73bc72.js"],import.meta.url),"./src/Progress/Progress.stories.tsx":async()=>t(()=>import("./Progress.stories-c0a7b9ed.js"),["./Progress.stories-c0a7b9ed.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/RadialProgress/RadialProgress.stories.tsx":async()=>t(()=>import("./RadialProgress.stories-85b2e777.js"),["./RadialProgress.stories-85b2e777.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Radio/Radio.stories.tsx":async()=>t(()=>import("./Radio.stories-6447d64d.js"),["./Radio.stories-6447d64d.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./index-cdaabc1d.js"],import.meta.url),"./src/Range/Range.stories.tsx":async()=>t(()=>import("./Range.stories-9e4759d9.js"),["./Range.stories-9e4759d9.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Rating/Rating.stories.tsx":async()=>t(()=>import("./Rating.stories-ce64c5ed.js"),["./Rating.stories-ce64c5ed.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Select/Select.stories.tsx":async()=>t(()=>import("./Select.stories-bb92ac25.js"),["./Select.stories-bb92ac25.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-cdac515a.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Skeleton/Skeleton.stories.tsx":async()=>t(()=>import("./Skeleton.stories-debfd09f.js"),["./Skeleton.stories-debfd09f.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Stack/Stack.stories.tsx":async()=>t(()=>import("./Stack.stories-4b1fa1d7.js"),["./Stack.stories-4b1fa1d7.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-3c968524.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Stats/Stats.stories.tsx":async()=>t(()=>import("./Stats.stories-4ee4a697.js"),["./Stats.stories-4ee4a697.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./index-6ae1381f.js","./utils-25597068.js","./Button-e9ac0f78.js","./index-a55c3a76.js"],import.meta.url),"./src/Steps/Steps.stories.tsx":async()=>t(()=>import("./Steps.stories-b79461a4.js"),["./Steps.stories-b79461a4.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Swap/Swap.stories.tsx":async()=>t(()=>import("./Swap.stories-996cc5a4.js"),["./Swap.stories-996cc5a4.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./utils-25597068.js"],import.meta.url),"./src/Table/Table.stories.tsx":async()=>t(()=>import("./Table.stories-7f3bac29.js"),["./Table.stories-7f3bac29.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./index-5a4bf744.js","./index-3802c17c.js","./index-ccb0f6f2.js","./Button-e9ac0f78.js","./index-a55c3a76.js"],import.meta.url),"./src/Tabs/Tabs.stories.tsx":async()=>t(()=>import("./Tabs.stories-a7c49570.js"),["./Tabs.stories-a7c49570.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-eb20e8d5.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Textarea/Textarea.stories.tsx":async()=>t(()=>import("./Textarea.stories-684e9d32.js"),["./Textarea.stories-684e9d32.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Theme/Theme.stories.tsx":async()=>t(()=>import("./Theme.stories-98a6e05a.js"),["./Theme.stories-98a6e05a.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-147f7280.js","./constants-fe73bc72.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Timeline/Timeline.stories.tsx":async()=>t(()=>import("./Timeline.stories-cbf3f07d.js"),["./Timeline.stories-cbf3f07d.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Toast/Toast.stories.tsx":async()=>t(()=>import("./Toast.stories-8a8af9af.js"),["./Toast.stories-8a8af9af.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-fa7a260c.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js"],import.meta.url),"./src/Toggle/Toggle.stories.tsx":async()=>t(()=>import("./Toggle.stories-2c7a644f.js"),["./Toggle.stories-2c7a644f.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./index-cdaabc1d.js"],import.meta.url),"./src/Tooltip/Tooltip.stories.tsx":async()=>t(()=>import("./Tooltip.stories-a5d9ceb9.js"),["./Tooltip.stories-a5d9ceb9.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-6c8d164f.js","./clsx.m-1229b3e0.js","./Button-e9ac0f78.js","./index-a55c3a76.js"],import.meta.url),"./src/WindowMockup/WindowMockup.stories.tsx":async()=>t(()=>import("./WindowMockup.stories-636b25be.js"),["./WindowMockup.stories-636b25be.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./constants-fe73bc72.js"],import.meta.url)};async function P(_){return T[_]()}const{composeConfigs:L,PreviewWeb:v,ClientApi:I}=__STORYBOOK_MODULE_PREVIEW_API__,A=async()=>{const _=await Promise.all([t(()=>import("./entry-preview-2845a20c.js"),["./entry-preview-2845a20c.js","./index-1b03fe98.js","./react-18-5df836b6.js","./index-6fd5a17b.js"],import.meta.url),t(()=>import("./entry-preview-docs-6c008c5e.js"),["./entry-preview-docs-6c008c5e.js","./index-d7bb098e.js","./index-1b03fe98.js","./index-356e4a49.js"],import.meta.url),t(()=>import("./preview-0b293f2a.js"),[],import.meta.url),t(()=>import("./preview-e118a341.js"),[],import.meta.url),t(()=>import("./preview-d01b88e8.js"),["./preview-d01b88e8.js","./index-356e4a49.js"],import.meta.url),t(()=>import("./preview-c56bf6ac.js"),[],import.meta.url),t(()=>import("./preview-da31036b.js"),["./preview-da31036b.js","./index-356e4a49.js"],import.meta.url),t(()=>import("./preview-0ef86afd.js"),[],import.meta.url),t(()=>import("./preview-42bbc794.js"),["./preview-42bbc794.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./CodeMockup-5ec72808.js","./clsx.m-1229b3e0.js","./index-1e3c83a2.js","./index-eb20e8d5.js","./index-147f7280.js","./constants-fe73bc72.js","./useGlobalTheme-d47a597b.js","./chunk-ZGA76URP-2bd2442b.js","./preview-c8403f04.css"],import.meta.url)]);return L(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new v;window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;window.__STORYBOOK_CLIENT_API__=window.__STORYBOOK_CLIENT_API__||new I({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:P,getProjectAnnotations:A});export{t as _}; +import"../sb-preview/runtime.js";(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))m(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const e of r.addedNodes)e.tagName==="LINK"&&e.rel==="modulepreload"&&m(e)}).observe(document,{childList:!0,subtree:!0});function a(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function m(o){if(o.ep)return;o.ep=!0;const r=a(o);fetch(o.href,r)}})();const l="modulepreload",d=function(_,s){return new URL(_,s).href},p={},t=function(s,a,m){if(!a||a.length===0)return s();const o=document.getElementsByTagName("link");return Promise.all(a.map(r=>{if(r=d(r,m),r in p)return;p[r]=!0;const e=r.endsWith(".css"),E=e?'[rel="stylesheet"]':"";if(!!m)for(let n=o.length-1;n>=0;n--){const c=o[n];if(c.href===r&&(!e||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${E}`))return;const i=document.createElement("link");if(i.rel=e?"stylesheet":l,e||(i.as="script",i.crossOrigin=""),i.href=r,document.head.appendChild(i),e)return new Promise((n,c)=>{i.addEventListener("load",n),i.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>s()).catch(r=>{const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=r,window.dispatchEvent(e),!e.defaultPrevented)throw r})},{createBrowserChannel:O}=__STORYBOOK_MODULE_CHANNELS__,{addons:R}=__STORYBOOK_MODULE_PREVIEW_API__,u=O({page:"preview"});R.setChannel(u);window.__STORYBOOK_ADDONS_CHANNEL__=u;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=u);const T={"./.storybook/docs/pages/Welcome.mdx":async()=>t(()=>import("./Welcome-1d0b2fc0.js"),["./Welcome-1d0b2fc0.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-8e1aaa9d.js","./chunk-ZGA76URP-2bd2442b.js","./index-6fd5a17b.js","./index-d7bb098e.js","./index-356e4a49.js","./Button-0267a47f.js","./clsx.m-1229b3e0.js","./index-a55c3a76.js","./CodeMockup-5ec72808.js","./Hero-9639dab2.js","./index-6329c95a.js","./index-6c8d164f.js","./index-147f7280.js","./constants-fe73bc72.js","./useGlobalTheme-d47a597b.js","./index-2ef8b458.js","./Welcome-a99bb0d1.css"],import.meta.url),"./src/Accordion/Accordion.stories.tsx":async()=>t(()=>import("./Accordion.stories-153ffdb7.js"),["./Accordion.stories-153ffdb7.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./CollapseContent-8035002f.js","./Join-47e05b2f.js"],import.meta.url),"./src/Alert/Alert.stories.tsx":async()=>t(()=>import("./Alert.stories-bf3adeef.js"),["./Alert.stories-bf3adeef.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-fa7a260c.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js"],import.meta.url),"./src/Artboard/Artboard.stories.tsx":async()=>t(()=>import("./Artboard.stories-5d677b6e.js"),["./Artboard.stories-5d677b6e.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Avatar/Avatar.stories.tsx":async()=>t(()=>import("./Avatar.stories-17472006.js"),["./Avatar.stories-17472006.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-6ae1381f.js","./clsx.m-1229b3e0.js","./utils-25597068.js","./index-3802c17c.js"],import.meta.url),"./src/Badge/Badge.stories.tsx":async()=>t(()=>import("./Badge.stories-8cf94b78.js"),["./Badge.stories-8cf94b78.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-ccb0f6f2.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js"],import.meta.url),"./src/BottomNavigation/BottomNavigation.stories.tsx":async()=>t(()=>import("./BottomNavigation.stories-e1b3f548.js"),["./BottomNavigation.stories-e1b3f548.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Breadcrumbs/Breadcrumbs.stories.tsx":async()=>t(()=>import("./Breadcrumbs.stories-8ab9ebfa.js"),["./Breadcrumbs.stories-8ab9ebfa.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js"],import.meta.url),"./src/BrowserMockup/BrowserMockup.stories.tsx":async()=>t(()=>import("./BrowserMockup.stories-8fc338cf.js"),["./BrowserMockup.stories-8fc338cf.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Button/Button.stories.tsx":async()=>t(()=>import("./Button.stories-43a0481b.js"),["./Button.stories-43a0481b.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./Button-0267a47f.js","./clsx.m-1229b3e0.js","./index-a55c3a76.js"],import.meta.url),"./src/Card/Card.stories.tsx":async()=>t(()=>import("./Card.stories-5b682d9f.js"),["./Card.stories-5b682d9f.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-3c968524.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js"],import.meta.url),"./src/Carousel/Carousel.stories.tsx":async()=>t(()=>import("./Carousel.stories-85e224b2.js"),["./Carousel.stories-85e224b2.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js"],import.meta.url),"./src/ChatBubble/ChatBubble.stories.tsx":async()=>t(()=>import("./ChatBubble.stories-11893b91.js"),["./ChatBubble.stories-11893b91.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-6ae1381f.js","./clsx.m-1229b3e0.js","./utils-25597068.js"],import.meta.url),"./src/Checkbox/Checkbox.stories.tsx":async()=>t(()=>import("./Checkbox.stories-c0fcae51.js"),["./Checkbox.stories-c0fcae51.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-5a4bf744.js","./clsx.m-1229b3e0.js","./index-cdaabc1d.js"],import.meta.url),"./src/CodeMockup/CodeMockup.stories.tsx":async()=>t(()=>import("./CodeMockup.stories-c54235b4.js"),["./CodeMockup.stories-c54235b4.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./CodeMockup-5ec72808.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Collapse/Collapse.stories.tsx":async()=>t(()=>import("./Collapse.stories-ee07c980.js"),["./Collapse.stories-ee07c980.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-679b5f9b.js","./clsx.m-1229b3e0.js","./CollapseContent-8035002f.js"],import.meta.url),"./src/Collapse/CollapseDetails.stories.tsx":async()=>t(()=>import("./CollapseDetails.stories-af5e2dc5.js"),["./CollapseDetails.stories-af5e2dc5.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-679b5f9b.js","./clsx.m-1229b3e0.js","./CollapseContent-8035002f.js"],import.meta.url),"./src/Countdown/Countdown.stories.tsx":async()=>t(()=>import("./Countdown.stories-efe995ac.js"),["./Countdown.stories-efe995ac.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js"],import.meta.url),"./src/Diff/Diff.stories.tsx":async()=>t(()=>import("./Diff.stories-42040ab8.js"),["./Diff.stories-42040ab8.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Divider/Divider.stories.tsx":async()=>t(()=>import("./Divider.stories-8b6f67c7.js"),["./Divider.stories-8b6f67c7.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./index-3c968524.js"],import.meta.url),"./src/Drawer/Drawer.stories.tsx":async()=>t(()=>import("./Drawer.stories-169841bc.js"),["./Drawer.stories-169841bc.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js","./index-c01ba1f2.js","./index-44e44375.js"],import.meta.url),"./src/Dropdown/Dropdown.stories.tsx":async()=>t(()=>import("./Dropdown.stories-73de5173.js"),["./Dropdown.stories-73de5173.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-b9536e2d.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js","./index-3c968524.js","./index-c01ba1f2.js"],import.meta.url),"./src/Dropdown/DropdownDetails.stories.tsx":async()=>t(()=>import("./DropdownDetails.stories-4774b894.js"),["./DropdownDetails.stories-4774b894.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-b9536e2d.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js"],import.meta.url),"./src/FileInput/FileInput.stories.tsx":async()=>t(()=>import("./FileInput.stories-3482d76d.js"),["./FileInput.stories-3482d76d.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Footer/Footer.stories.tsx":async()=>t(()=>import("./Footer.stories-1abc7582.js"),["./Footer.stories-1abc7582.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Hero/Hero.stories.tsx":async()=>t(()=>import("./Hero.stories-95b258de.js"),["./Hero.stories-95b258de.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./Hero-9639dab2.js","./Button-0267a47f.js","./clsx.m-1229b3e0.js","./index-a55c3a76.js","./index-3c968524.js","./index-0ee0d1a2.js","./index-cdaabc1d.js","./index-6329c95a.js"],import.meta.url),"./src/Indicator/Indicator.stories.tsx":async()=>t(()=>import("./Indicator.stories-a722f409.js"),["./Indicator.stories-a722f409.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-202b124b.js","./clsx.m-1229b3e0.js","./index-6ae1381f.js","./utils-25597068.js","./index-ccb0f6f2.js","./Button-0267a47f.js","./index-a55c3a76.js","./index-eb20e8d5.js","./index-0ee0d1a2.js","./index-3c968524.js"],import.meta.url),"./src/Input/Input.stories.tsx":async()=>t(()=>import("./Input.stories-66d78c5c.js"),["./Input.stories-66d78c5c.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-0ee0d1a2.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Join/Join.stories.tsx":async()=>t(()=>import("./Join.stories-6d5183fd.js"),["./Join.stories-6d5183fd.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./Join-47e05b2f.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js","./index-0ee0d1a2.js","./index-cdac515a.js","./index-202b124b.js","./index-ccb0f6f2.js"],import.meta.url),"./src/Kbd/Kbd.stories.tsx":async()=>t(()=>import("./Kbd.stories-68acbd4b.js"),["./Kbd.stories-68acbd4b.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Link/Link.stories.tsx":async()=>t(()=>import("./Link.stories-a56412a8.js"),["./Link.stories-a56412a8.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-6329c95a.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Loading/Loading.stories.tsx":async()=>t(()=>import("./Loading.stories-4d6dd8ad.js"),["./Loading.stories-4d6dd8ad.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-a55c3a76.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Mask/Mask.stories.tsx":async()=>t(()=>import("./Mask.stories-07003ec5.js"),["./Mask.stories-07003ec5.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-3802c17c.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Menu/Menu.stories.tsx":async()=>t(()=>import("./Menu.stories-1416ca38.js"),["./Menu.stories-1416ca38.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-44e44375.js","./clsx.m-1229b3e0.js","./index-6c8d164f.js","./index-ccb0f6f2.js"],import.meta.url),"./src/Modal/Modal.stories.tsx":async()=>t(()=>import("./Modal.stories-d56d0980.js"),["./Modal.stories-d56d0980.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-1c7a8ea4.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js"],import.meta.url),"./src/Modal/ModalLegacy.stories.tsx":async()=>t(()=>import("./ModalLegacy.stories-ccac32c6.js"),["./ModalLegacy.stories-ccac32c6.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-1c7a8ea4.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js"],import.meta.url),"./src/Navbar/Navbar.stories.tsx":async()=>t(()=>import("./Navbar.stories-b57b9c6f.js"),["./Navbar.stories-b57b9c6f.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-c01ba1f2.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js","./index-44e44375.js","./index-b9536e2d.js","./index-cdaabc1d.js","./index-0ee0d1a2.js","./index-202b124b.js","./index-ccb0f6f2.js","./index-3c968524.js"],import.meta.url),"./src/Pagination/Pagination.stories.tsx":async()=>t(()=>import("./Pagination.stories-65a30694.js"),["./Pagination.stories-65a30694.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./Join-47e05b2f.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js"],import.meta.url),"./src/PhoneMockup/PhoneMockup.stories.tsx":async()=>t(()=>import("./PhoneMockup.stories-aaef4ddd.js"),["./PhoneMockup.stories-aaef4ddd.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./constants-fe73bc72.js"],import.meta.url),"./src/Progress/Progress.stories.tsx":async()=>t(()=>import("./Progress.stories-c0a7b9ed.js"),["./Progress.stories-c0a7b9ed.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/RadialProgress/RadialProgress.stories.tsx":async()=>t(()=>import("./RadialProgress.stories-85b2e777.js"),["./RadialProgress.stories-85b2e777.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Radio/Radio.stories.tsx":async()=>t(()=>import("./Radio.stories-6447d64d.js"),["./Radio.stories-6447d64d.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./index-cdaabc1d.js"],import.meta.url),"./src/Range/Range.stories.tsx":async()=>t(()=>import("./Range.stories-530538db.js"),["./Range.stories-530538db.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Rating/Rating.stories.tsx":async()=>t(()=>import("./Rating.stories-ce64c5ed.js"),["./Rating.stories-ce64c5ed.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Select/Select.stories.tsx":async()=>t(()=>import("./Select.stories-bb92ac25.js"),["./Select.stories-bb92ac25.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-cdac515a.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Skeleton/Skeleton.stories.tsx":async()=>t(()=>import("./Skeleton.stories-debfd09f.js"),["./Skeleton.stories-debfd09f.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Stack/Stack.stories.tsx":async()=>t(()=>import("./Stack.stories-4b1fa1d7.js"),["./Stack.stories-4b1fa1d7.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-3c968524.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Stats/Stats.stories.tsx":async()=>t(()=>import("./Stats.stories-c51e6221.js"),["./Stats.stories-c51e6221.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./index-6ae1381f.js","./utils-25597068.js","./Button-0267a47f.js","./index-a55c3a76.js"],import.meta.url),"./src/Steps/Steps.stories.tsx":async()=>t(()=>import("./Steps.stories-b79461a4.js"),["./Steps.stories-b79461a4.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Swap/Swap.stories.tsx":async()=>t(()=>import("./Swap.stories-996cc5a4.js"),["./Swap.stories-996cc5a4.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./utils-25597068.js"],import.meta.url),"./src/Table/Table.stories.tsx":async()=>t(()=>import("./Table.stories-6056d524.js"),["./Table.stories-6056d524.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./index-5a4bf744.js","./index-3802c17c.js","./index-ccb0f6f2.js","./Button-0267a47f.js","./index-a55c3a76.js"],import.meta.url),"./src/Tabs/Tabs.stories.tsx":async()=>t(()=>import("./Tabs.stories-a7c49570.js"),["./Tabs.stories-a7c49570.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-eb20e8d5.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Textarea/Textarea.stories.tsx":async()=>t(()=>import("./Textarea.stories-684e9d32.js"),["./Textarea.stories-684e9d32.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Theme/Theme.stories.tsx":async()=>t(()=>import("./Theme.stories-98a6e05a.js"),["./Theme.stories-98a6e05a.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-147f7280.js","./constants-fe73bc72.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Timeline/Timeline.stories.tsx":async()=>t(()=>import("./Timeline.stories-f47888c4.js"),["./Timeline.stories-f47888c4.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js"],import.meta.url),"./src/Toast/Toast.stories.tsx":async()=>t(()=>import("./Toast.stories-7a65fe46.js"),["./Toast.stories-7a65fe46.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-fa7a260c.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js"],import.meta.url),"./src/Toggle/Toggle.stories.tsx":async()=>t(()=>import("./Toggle.stories-2c7a644f.js"),["./Toggle.stories-2c7a644f.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./index-cdaabc1d.js"],import.meta.url),"./src/Tooltip/Tooltip.stories.tsx":async()=>t(()=>import("./Tooltip.stories-deb48ac1.js"),["./Tooltip.stories-deb48ac1.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./index-6c8d164f.js","./clsx.m-1229b3e0.js","./Button-0267a47f.js","./index-a55c3a76.js"],import.meta.url),"./src/WindowMockup/WindowMockup.stories.tsx":async()=>t(()=>import("./WindowMockup.stories-636b25be.js"),["./WindowMockup.stories-636b25be.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./clsx.m-1229b3e0.js","./constants-fe73bc72.js"],import.meta.url)};async function P(_){return T[_]()}const{composeConfigs:L,PreviewWeb:v,ClientApi:I}=__STORYBOOK_MODULE_PREVIEW_API__,A=async()=>{const _=await Promise.all([t(()=>import("./entry-preview-2845a20c.js"),["./entry-preview-2845a20c.js","./index-1b03fe98.js","./react-18-5df836b6.js","./index-6fd5a17b.js"],import.meta.url),t(()=>import("./entry-preview-docs-6c008c5e.js"),["./entry-preview-docs-6c008c5e.js","./index-d7bb098e.js","./index-1b03fe98.js","./index-356e4a49.js"],import.meta.url),t(()=>import("./preview-0b293f2a.js"),[],import.meta.url),t(()=>import("./preview-2faddd65.js"),[],import.meta.url),t(()=>import("./preview-d01b88e8.js"),["./preview-d01b88e8.js","./index-356e4a49.js"],import.meta.url),t(()=>import("./preview-c56bf6ac.js"),[],import.meta.url),t(()=>import("./preview-da31036b.js"),["./preview-da31036b.js","./index-356e4a49.js"],import.meta.url),t(()=>import("./preview-0ef86afd.js"),[],import.meta.url),t(()=>import("./preview-4cd81478.js"),["./preview-4cd81478.js","./tw-merge-0a3648bd.js","./index-1b03fe98.js","./CodeMockup-5ec72808.js","./clsx.m-1229b3e0.js","./index-c01ba1f2.js","./index-eb20e8d5.js","./index-147f7280.js","./constants-fe73bc72.js","./useGlobalTheme-d47a597b.js","./chunk-ZGA76URP-2bd2442b.js","./preview-c8403f04.css"],import.meta.url)]);return L(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new v;window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;window.__STORYBOOK_CLIENT_API__=window.__STORYBOOK_CLIENT_API__||new I({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:P,getProjectAnnotations:A});export{t as _}; diff --git a/docs/assets/index-e97e44e7.js b/docs/assets/index-202b124b.js similarity index 96% rename from docs/assets/index-e97e44e7.js rename to docs/assets/index-202b124b.js index e723f56b..44da415f 100644 --- a/docs/assets/index-e97e44e7.js +++ b/docs/assets/index-202b124b.js @@ -1 +1 @@ -import{t as c,j as s}from"./tw-merge-0a3648bd.js";import{R as l}from"./index-1b03fe98.js";import{c as I}from"./clsx.m-1229b3e0.js";const m=({className:e,horizontal:a,vertical:t}={})=>c("indicator-item",e,I({"indicator-start":a==="start","indicator-center":a==="center","indicator-end":a==="end","indicator-top":t==="top","indicator-middle":t==="middle","indicator-bottom":t==="bottom"})),r=l.forwardRef(({children:e,horizontal:a="end",vertical:t="top",dataTheme:n,className:i,...u},_)=>s("div",{"aria-label":"Indicator",...u,className:m({className:i,horizontal:a,vertical:t}),ref:_,children:e}));r.displayName="IndicatorItem";const f=Object.assign(r,{className:m});try{r.displayName="IndicatorItem",r.__docgenInfo={description:"",displayName:"IndicatorItem",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},horizontal:{defaultValue:{value:"end"},description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"start"'},{value:'"end"'},{value:'"center"'}]}},vertical:{defaultValue:{value:"top"},description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'},{value:'"middle"'}]}}}}}catch{}const p=({className:e}={})=>c("indicator",e),d=l.forwardRef(({children:e,className:a,dataTheme:t,...n},i)=>s("div",{...n,"data-theme":t,className:p({className:a}),ref:i,children:e}));d.displayName="Indicator";const o=Object.assign(d,{Item:f,className:p});try{d.displayName="Indicator",d.__docgenInfo={description:"",displayName:"Indicator",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}try{o.displayName="Indicator",o.__docgenInfo={description:"",displayName:"Indicator",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}export{o as I}; +import{t as c,j as s}from"./tw-merge-0a3648bd.js";import{R as l}from"./index-1b03fe98.js";import{c as I}from"./clsx.m-1229b3e0.js";const m=({className:e,horizontal:a,vertical:t}={})=>c("indicator-item",e,I({"indicator-start":a==="start","indicator-center":a==="center","indicator-end":a==="end","indicator-top":t==="top","indicator-middle":t==="middle","indicator-bottom":t==="bottom"})),r=l.forwardRef(({children:e,horizontal:a="end",vertical:t="top",dataTheme:n,className:i,...u},_)=>s("div",{"aria-label":"Indicator",...u,className:m({className:i,horizontal:a,vertical:t}),ref:_,children:e}));r.displayName="IndicatorItem";const f=Object.assign(r,{className:m});try{r.displayName="IndicatorItem",r.__docgenInfo={description:"",displayName:"IndicatorItem",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},horizontal:{defaultValue:{value:"end"},description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},vertical:{defaultValue:{value:"top"},description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'},{value:'"middle"'}]}}}}}catch{}const p=({className:e}={})=>c("indicator",e),d=l.forwardRef(({children:e,className:a,dataTheme:t,...n},i)=>s("div",{...n,"data-theme":t,className:p({className:a}),ref:i,children:e}));d.displayName="Indicator";const o=Object.assign(d,{Item:f,className:p});try{d.displayName="Indicator",d.__docgenInfo={description:"",displayName:"Indicator",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}try{o.displayName="Indicator",o.__docgenInfo={description:"",displayName:"Indicator",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}export{o as I}; diff --git a/docs/assets/index-21c4db47.js b/docs/assets/index-8e1aaa9d.js similarity index 99% rename from docs/assets/index-21c4db47.js rename to docs/assets/index-8e1aaa9d.js index 863560ef..79e1c910 100644 --- a/docs/assets/index-21c4db47.js +++ b/docs/assets/index-8e1aaa9d.js @@ -1,4 +1,4 @@ -import{_ as Mt}from"./iframe-19c7c3ad.js";import{_ as as,a as lo,b as Vt,t as Ut,d as x0,e as Ca,g as A0,f as Y,l as bl,m as w0,h as Er}from"./chunk-ZGA76URP-2bd2442b.js";import{r as b,b as yl,g as An,R as a,c as Kn}from"./index-1b03fe98.js";import{r as os,R as S0}from"./index-6fd5a17b.js";import{q as ls,r as C0,s as is,t as k0,i as wn,v as _0,w as O0,x as T0,c as ss,y as us,z as R0,A as cs,B as F0,C as L0,D as D0,E as $0,F as M0,G as B0,H as ds,I as I0,J as N0,K as ps,_ as j0,L as P0,M as H0,N as io,d as fs,O as ms,P as gs,Q as Z0,R as V0,U as z0,e as q0,S as vl,V as ka,k as Xn}from"./index-d7bb098e.js";import{d as xe}from"./index-356e4a49.js";var He=e=>`control-${e.replace(/\s+/g,"-")}`,Sn=e=>`set-${e.replace(/\s+/g,"-")}`,U0=function(t){return t()},hs=yl["useInsertionEffect"]?yl["useInsertionEffect"]:!1,so=hs||U0,El=hs||b.useLayoutEffect;function Wr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var bs={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,o,l){function i(c,d){if(!o[c]){if(!n[c]){var m=typeof Wr=="function"&&Wr;if(!d&&m)return m(c,!0);if(u)return u(c,!0);var f=new Error("Cannot find module '"+c+"'");throw f.code="MODULE_NOT_FOUND",f}var p=o[c]={exports:{}};n[c][0].call(p.exports,function(h){var g=n[c][1][h];return i(g||h)},p,p.exports,r,n,o,l)}return o[c].exports}for(var u=typeof Wr=="function"&&Wr,s=0;s=0)return this.lastItem=this.list[u],this.list[u].val},l.prototype.set=function(i,u){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=u,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=u,this):(this.lastItem={key:i,val:u},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(i){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),u=this.indexOf(i),u>=0)return this.size--,this.list.splice(u,1)[0]},l.prototype.has=function(i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],!0):!1)},l.prototype.forEach=function(i,u){var s;for(s=0;s0&&(v[w]={cacheItem:h,arg:arguments[w]},y?i(m,v):m.push(v),m.length>c&&u(m.shift())),p.wasMemoized=y,p.numArgs=w+1,A};return p.limit=c,p.wasMemoized=!1,p.cache=d,p.lru=m,p}};function i(c,d){var m=c.length,f=d.length,p,h,g;for(h=0;h=0&&(m=c[p],f=m.cacheItem.get(m.arg),!f||!f.size);p--)m.cacheItem.delete(m.arg)}function s(c,d){return c===d||c!==c&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})})(bs);var W0=bs.exports;const It=An(W0),{logger:G0}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Y0=lo({"../../node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,l=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,A=t?Symbol.for("react.block"):60121,w=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,y=t?Symbol.for("react.scope"):60119;function E(M){return typeof M=="string"||typeof M=="function"||M===o||M===d||M===i||M===l||M===f||M===p||typeof M=="object"&&M!==null&&(M.$$typeof===g||M.$$typeof===h||M.$$typeof===u||M.$$typeof===s||M.$$typeof===m||M.$$typeof===w||M.$$typeof===v||M.$$typeof===y||M.$$typeof===A)}function x(M){if(typeof M=="object"&&M!==null){var Ne=M.$$typeof;switch(Ne){case r:var Ve=M.type;switch(Ve){case c:case d:case o:case i:case l:case f:return Ve;default:var At=Ve&&Ve.$$typeof;switch(At){case s:case m:case g:case h:case u:return At;default:return Ne}}case n:return Ne}}}var S=c,C=d,k=s,O=u,T=r,R=m,F=o,L=g,N=h,D=n,$=i,j=l,Z=f,B=!1;function P(M){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),K(M)||x(M)===c}function K(M){return x(M)===d}function re(M){return x(M)===s}function G(M){return x(M)===u}function X(M){return typeof M=="object"&&M!==null&&M.$$typeof===r}function I(M){return x(M)===m}function V(M){return x(M)===o}function q(M){return x(M)===g}function se(M){return x(M)===h}function be(M){return x(M)===n}function ot(M){return x(M)===i}function Re(M){return x(M)===l}function Ze(M){return x(M)===f}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=k,e.ContextProvider=O,e.Element=T,e.ForwardRef=R,e.Fragment=F,e.Lazy=L,e.Memo=N,e.Portal=D,e.Profiler=$,e.StrictMode=j,e.Suspense=Z,e.isAsyncMode=P,e.isConcurrentMode=K,e.isContextConsumer=re,e.isContextProvider=G,e.isElement=X,e.isForwardRef=I,e.isFragment=V,e.isLazy=q,e.isMemo=se,e.isPortal=be,e.isProfiler=ot,e.isStrictMode=Re,e.isSuspense=Ze,e.isValidElementType=E,e.typeOf=x})()}}),K0=lo({"../../node_modules/react-is/index.js"(e,t){t.exports=Y0()}}),ys=lo({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){var r=K0(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[r.ForwardRef]=l,u[r.Memo]=i;function s(A){return r.isMemo(A)?i:u[A.$$typeof]||n}var c=Object.defineProperty,d=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;function g(A,w,v){if(typeof w!="string"){if(h){var y=p(w);y&&y!==h&&g(A,y,v)}var E=d(w);m&&(E=E.concat(m(w)));for(var x=s(A),S=s(w),C=0;C`control-${e.replace(/\s+/g,"-")}`,Sn=e=>`set-${e.replace(/\s+/g,"-")}`,U0=function(t){return t()},hs=yl["useInsertionEffect"]?yl["useInsertionEffect"]:!1,so=hs||U0,El=hs||b.useLayoutEffect;function Wr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var bs={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,o,l){function i(c,d){if(!o[c]){if(!n[c]){var m=typeof Wr=="function"&&Wr;if(!d&&m)return m(c,!0);if(u)return u(c,!0);var f=new Error("Cannot find module '"+c+"'");throw f.code="MODULE_NOT_FOUND",f}var p=o[c]={exports:{}};n[c][0].call(p.exports,function(h){var g=n[c][1][h];return i(g||h)},p,p.exports,r,n,o,l)}return o[c].exports}for(var u=typeof Wr=="function"&&Wr,s=0;s=0)return this.lastItem=this.list[u],this.list[u].val},l.prototype.set=function(i,u){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=u,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=u,this):(this.lastItem={key:i,val:u},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(i){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),u=this.indexOf(i),u>=0)return this.size--,this.list.splice(u,1)[0]},l.prototype.has=function(i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],!0):!1)},l.prototype.forEach=function(i,u){var s;for(s=0;s0&&(v[w]={cacheItem:h,arg:arguments[w]},y?i(m,v):m.push(v),m.length>c&&u(m.shift())),p.wasMemoized=y,p.numArgs=w+1,A};return p.limit=c,p.wasMemoized=!1,p.cache=d,p.lru=m,p}};function i(c,d){var m=c.length,f=d.length,p,h,g;for(h=0;h=0&&(m=c[p],f=m.cacheItem.get(m.arg),!f||!f.size);p--)m.cacheItem.delete(m.arg)}function s(c,d){return c===d||c!==c&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})})(bs);var W0=bs.exports;const It=An(W0),{logger:G0}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Y0=lo({"../../node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,l=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,A=t?Symbol.for("react.block"):60121,w=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,y=t?Symbol.for("react.scope"):60119;function E(M){return typeof M=="string"||typeof M=="function"||M===o||M===d||M===i||M===l||M===f||M===p||typeof M=="object"&&M!==null&&(M.$$typeof===g||M.$$typeof===h||M.$$typeof===u||M.$$typeof===s||M.$$typeof===m||M.$$typeof===w||M.$$typeof===v||M.$$typeof===y||M.$$typeof===A)}function x(M){if(typeof M=="object"&&M!==null){var Ne=M.$$typeof;switch(Ne){case r:var Ve=M.type;switch(Ve){case c:case d:case o:case i:case l:case f:return Ve;default:var At=Ve&&Ve.$$typeof;switch(At){case s:case m:case g:case h:case u:return At;default:return Ne}}case n:return Ne}}}var S=c,C=d,k=s,O=u,T=r,R=m,F=o,L=g,N=h,D=n,$=i,j=l,Z=f,B=!1;function P(M){return B||(B=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),K(M)||x(M)===c}function K(M){return x(M)===d}function re(M){return x(M)===s}function G(M){return x(M)===u}function X(M){return typeof M=="object"&&M!==null&&M.$$typeof===r}function I(M){return x(M)===m}function V(M){return x(M)===o}function q(M){return x(M)===g}function se(M){return x(M)===h}function be(M){return x(M)===n}function ot(M){return x(M)===i}function Re(M){return x(M)===l}function Ze(M){return x(M)===f}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=k,e.ContextProvider=O,e.Element=T,e.ForwardRef=R,e.Fragment=F,e.Lazy=L,e.Memo=N,e.Portal=D,e.Profiler=$,e.StrictMode=j,e.Suspense=Z,e.isAsyncMode=P,e.isConcurrentMode=K,e.isContextConsumer=re,e.isContextProvider=G,e.isElement=X,e.isForwardRef=I,e.isFragment=V,e.isLazy=q,e.isMemo=se,e.isPortal=be,e.isProfiler=ot,e.isStrictMode=Re,e.isSuspense=Ze,e.isValidElementType=E,e.typeOf=x})()}}),K0=lo({"../../node_modules/react-is/index.js"(e,t){t.exports=Y0()}}),ys=lo({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){var r=K0(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[r.ForwardRef]=l,u[r.Memo]=i;function s(A){return r.isMemo(A)?i:u[A.$$typeof]||n}var c=Object.defineProperty,d=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;function g(A,w,v){if(typeof w!="string"){if(h){var y=p(w);y&&y!==h&&g(A,y,v)}var E=d(w);m&&(E=E.concat(m(w)));for(var x=s(A),S=s(w),C=0;C0?de(lr,--Se):0,Kt--,ae===10&&(Kt=1,kn--),ae}function ke(){return ae=Se2||Sr(ae)>3?"":" "}function d1(e,t){for(;--t&&ke()&&!(ae<48||ae>102||ae>57&&ae<65||ae>70&&ae<97););return Br(e,rn()+(t<6&&rt()==32&&ke()==32))}function Ta(e){for(;ke();)switch(ae){case e:return Se;case 34:case 39:e!==34&&e!==39&&Ta(ae);break;case 40:e===41&&Ta(e);break;case 92:ke();break}return Se}function p1(e,t){for(;ke()&&e+ae!==47+10&&!(e+ae===42+42&&rt()===47););return"/*"+Br(t,Se-1)+"*"+Cn(e===47?e:ke())}function f1(e){for(;!Sr(rt());)ke();return Br(e,Se)}function m1(e){return Ss(an("",null,null,null,[""],e=ws(e),0,[0],e))}function an(e,t,r,n,o,l,i,u,s){for(var c=0,d=0,m=i,f=0,p=0,h=0,g=1,A=1,w=1,v=0,y="",E=o,x=l,S=n,C=y;A;)switch(h=v,v=ke()){case 40:if(h!=108&&de(C,m-1)==58){Oa(C+=W(nn(v),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:C+=nn(v);break;case 9:case 10:case 13:case 32:C+=c1(h);break;case 92:C+=d1(rn()-1,7);continue;case 47:switch(rt()){case 42:case 47:Gr(g1(p1(ke(),rn()),t,r),s);break;default:C+="/"}break;case 123*g:u[c++]=Xe(C)*w;case 125*g:case 59:case 0:switch(v){case 0:case 125:A=0;case 59+d:w==-1&&(C=W(C,/\f/g,"")),p>0&&Xe(C)-m&&Gr(p>32?Al(C+";",n,r,m-1):Al(W(C," ","")+";",n,r,m-2),s);break;case 59:C+=";";default:if(Gr(S=xl(C,t,r,c,d,o,u,y,E=[],x=[],m),l),v===123)if(d===0)an(C,t,S,S,E,l,m,u,x);else switch(f===99&&de(C,3)===110?100:f){case 100:case 108:case 109:case 115:an(e,S,S,n&&Gr(xl(e,S,S,0,0,o,u,y,o,E=[],m),x),o,x,m,u,n?E:x);break;default:an(C,S,S,S,[""],x,0,u,x)}}c=d=p=0,g=w=1,y=C="",m=i;break;case 58:m=1+Xe(C),p=h;default:if(g<1){if(v==123)--g;else if(v==125&&g++==0&&u1()==125)continue}switch(C+=Cn(v),v*g){case 38:w=d>0?1:(C+="\f",-1);break;case 44:u[c++]=(Xe(C)-1)*w,w=1;break;case 64:rt()===45&&(C+=nn(ke())),f=rt(),d=m=Xe(y=C+=f1(rn())),v++;break;case 45:h===45&&Xe(C)==2&&(g=0)}}return l}function xl(e,t,r,n,o,l,i,u,s,c,d){for(var m=o-1,f=o===0?l:[""],p=mo(f),h=0,g=0,A=0;h0?f[w]+" "+v:W(v,/&\f/g,f[w])))&&(s[A++]=y);return _n(e,t,r,o===0?po:u,s,c,d)}function g1(e,t,r){return _n(e,t,r,co,Cn(s1()),wr(e,2,-2),0)}function Al(e,t,r,n){return _n(e,t,r,fo,wr(e,0,n),wr(e,n+1,-1),n)}function Yt(e,t){for(var r="",n=mo(e),o=0;o-1},C1=function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var l=!!t.parent,i=l?t.parent.children:n,u=i.length-1;u>=0;u--){var s=i[u];if(s.line=0;r--)if(!Cs(t[r]))return!0;return!1},Cl=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},_1=function(e,t,r){Cs(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Cl(e)):k1(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Cl(e)))};function ks(e,t){switch(o1(e,t)){case 5103:return U+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return U+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return U+e+mn+e+he+e+e;case 6828:case 4268:return U+e+he+e+e;case 6165:return U+e+he+"flex-"+e+e;case 5187:return U+e+W(e,/(\w+).+(:[^]+)/,U+"box-$1$2"+he+"flex-$1$2")+e;case 5443:return U+e+he+"flex-item-"+W(e,/flex-|-self/,"")+e;case 4675:return U+e+he+"flex-line-pack"+W(e,/align-content|flex-|-self/,"")+e;case 5548:return U+e+he+W(e,"shrink","negative")+e;case 5292:return U+e+he+W(e,"basis","preferred-size")+e;case 6060:return U+"box-"+W(e,"-grow","")+U+e+he+W(e,"grow","positive")+e;case 4554:return U+W(e,/([^-])(transform)/g,"$1"+U+"$2")+e;case 6187:return W(W(W(e,/(zoom-|grab)/,U+"$1"),/(image-set)/,U+"$1"),e,"")+e;case 5495:case 3959:return W(e,/(image-set\([^]*)/,U+"$1$`$1");case 4968:return W(W(e,/(.+:)(flex-)?(.*)/,U+"box-pack:$3"+he+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+U+e+e;case 4095:case 3583:case 4068:case 2532:return W(e,/(.+)-inline(.+)/,U+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Xe(e)-1-t>6)switch(de(e,t+1)){case 109:if(de(e,t+4)!==45)break;case 102:return W(e,/(.+:)(.+)-([^]+)/,"$1"+U+"$2-$3$1"+mn+(de(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Oa(e,"stretch")?ks(W(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(de(e,t+1)!==115)break;case 6444:switch(de(e,Xe(e)-3-(~Oa(e,"!important")&&10))){case 107:return W(e,":",":"+U)+e;case 101:return W(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+U+(de(e,14)===45?"inline-":"")+"box$3$1"+U+"$2$3$1"+he+"$2box$3")+e}break;case 5936:switch(de(e,t+11)){case 114:return U+e+he+W(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return U+e+he+W(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return U+e+he+W(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return U+e+he+e+e}return e}var O1=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case fo:e.return=ks(e.value,e.length);break;case Es:return Yt([gr(e,{value:W(e.value,"@","@"+U)})],n);case po:if(e.length)return i1(e.props,function(o){switch(l1(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yt([gr(e,{props:[W(o,/:(read-\w+)/,":"+mn+"$1")]})],n);case"::placeholder":return Yt([gr(e,{props:[W(o,/:(plac\w+)/,":"+U+"input-$1")]}),gr(e,{props:[W(o,/:(plac\w+)/,":"+mn+"$1")]}),gr(e,{props:[W(o,/:(plac\w+)/,he+"input-$1")]})],n)}return""})}},T1=[O1],R1=function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var g=h.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var n=e.stylisPlugins||T1;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o={},l,i=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(h){for(var g=h.getAttribute("data-emotion").split(" "),A=1;A=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var D1={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},kl=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". @@ -78,9 +78,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho path { fill: currentColor; } -`,ve=({icon:e,useSymbol:t,...r})=>a.createElement(Wu,{viewBox:"0 0 14 14",width:"14px",height:"14px",...r},t?a.createElement("use",{xlinkHref:`#icon--${e}`}):Lr[e]),fm=b.memo(function({icons:e=Object.keys(Lr)}){return a.createElement(Wu,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>a.createElement("symbol",{id:`icon--${t}`,key:t},Lr[t])))}),mm=0,gm=e=>e.button===mm&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,hm=(e,t)=>{gm(e)&&(e.preventDefault(),t(e))},bm=_.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),ym=_.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Gt(.07,e.color.secondary),"svg path:not([fill])":{fill:Gt(.07,e.color.secondary)}},"&:active":{color:Gt(.1,e.color.secondary),"svg path:not([fill])":{fill:Gt(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),vt=({cancel:e,children:t,onClick:r,withArrow:n,containsIcon:o,className:l,...i})=>a.createElement(ym,{...i,onClick:r&&e?u=>hm(u,r):r,className:l},a.createElement(bm,{withArrow:n,containsIcon:o},t,n&&a.createElement(ve,{icon:"arrowright"})));vt.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var vm=_.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"&&e.color.darkest}})),Dt=[],nr=null,Em=b.lazy(async()=>{let{SyntaxHighlighter:e}=await Mt(()=>import("./syntaxhighlighter-V7JZZA35-554d6b8b.js"),["./syntaxhighlighter-V7JZZA35-554d6b8b.js","./iframe-19c7c3ad.js","./chunk-ZGA76URP-2bd2442b.js","./index-1b03fe98.js","./index-6fd5a17b.js","./index-d7bb098e.js","./index-356e4a49.js"],import.meta.url);return Dt.length>0&&(Dt.forEach(t=>{e.registerLanguage(...t)}),Dt=[]),nr===null&&(nr=e),{default:t=>a.createElement(e,{...t})}}),xm=b.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Mt(()=>import("./syntaxhighlighter-V7JZZA35-554d6b8b.js"),["./syntaxhighlighter-V7JZZA35-554d6b8b.js","./iframe-19c7c3ad.js","./chunk-ZGA76URP-2bd2442b.js","./index-1b03fe98.js","./index-6fd5a17b.js","./index-d7bb098e.js","./index-356e4a49.js"],import.meta.url),Mt(()=>import("./formatter-SWP5E3XI-ec71aaad.js"),["./formatter-SWP5E3XI-ec71aaad.js","./iframe-19c7c3ad.js","./chunk-ZGA76URP-2bd2442b.js","./index-1b03fe98.js","./index-6fd5a17b.js","./index-d7bb098e.js","./index-356e4a49.js"],import.meta.url)]);return Dt.length>0&&(Dt.forEach(r=>{e.registerLanguage(...r)}),Dt=[]),nr===null&&(nr=e),{default:r=>a.createElement(e,{...r,formatter:t})}}),Mn=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},e.format!==!1?a.createElement(xm,{...e}):a.createElement(Em,{...e}));Mn.registerLanguage=(...e)=>{if(nr!==null){nr.registerLanguage(...e);return}Dt.push(e)};var Am=e=>typeof e=="number"?e:Number(e),wm=_.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${La}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${La}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),Sm=({col:e,row:t,outer:r,children:n,...o})=>{let l=Am(typeof r=="number"||!r?r:e||t);return a.createElement(wm,{col:e,row:t,outer:l,...o},n)},Cm=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),km=_.div(),_m=_.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),Gu=({children:e,...t})=>{let[r,n]=b.Children.toArray(e);return a.createElement(_m,{...t},a.createElement(Cm,null,r),n&&a.createElement(km,null,n))},Om=_.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function Tm({scale:e,children:t}){let r=b.useRef(null),[n,o]=b.useState(0),l=b.useCallback(({height:i})=>{i&&o(i/e)},[e]);return b.useEffect(()=>{r.current&&o(r.current.getBoundingClientRect().height)},[e]),xu({ref:r,onResize:l}),a.createElement(Om,{scale:e,elementHeight:n},a.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}var Rm=class extends b.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:r}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),r!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return a.createElement(a.Fragment,null,e)}},Yu={Element:Tm,IFrame:Rm},{document:Fm}=Of,Lm=_.strong(({theme:e})=>({color:e.color.orange})),Dm=_.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),ui=_.em(({theme:e})=>({color:e.textMutedColor})),$m=/(Error): (.*)\n/,Mm=/at (?:(.*) )?\(?(.+)\)?/,Bm=/([^@]+)?(?:\/<)?@(.+)?/,Im=/([^@]+)?@(.+)?/,Ku=({error:e})=>{if(!e)return a.createElement(b.Fragment,null,"This error has no stack or message");if(!e.stack)return a.createElement(b.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} +`,ve=({icon:e,useSymbol:t,...r})=>a.createElement(Wu,{viewBox:"0 0 14 14",width:"14px",height:"14px",...r},t?a.createElement("use",{xlinkHref:`#icon--${e}`}):Lr[e]),fm=b.memo(function({icons:e=Object.keys(Lr)}){return a.createElement(Wu,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>a.createElement("symbol",{id:`icon--${t}`,key:t},Lr[t])))}),mm=0,gm=e=>e.button===mm&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,hm=(e,t)=>{gm(e)&&(e.preventDefault(),t(e))},bm=_.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),ym=_.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Gt(.07,e.color.secondary),"svg path:not([fill])":{fill:Gt(.07,e.color.secondary)}},"&:active":{color:Gt(.1,e.color.secondary),"svg path:not([fill])":{fill:Gt(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),vt=({cancel:e,children:t,onClick:r,withArrow:n,containsIcon:o,className:l,...i})=>a.createElement(ym,{...i,onClick:r&&e?u=>hm(u,r):r,className:l},a.createElement(bm,{withArrow:n,containsIcon:o},t,n&&a.createElement(ve,{icon:"arrowright"})));vt.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var vm=_.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"&&e.color.darkest}})),Dt=[],nr=null,Em=b.lazy(async()=>{let{SyntaxHighlighter:e}=await Mt(()=>import("./syntaxhighlighter-V7JZZA35-526e8144.js"),["./syntaxhighlighter-V7JZZA35-526e8144.js","./iframe-653d232b.js","./chunk-ZGA76URP-2bd2442b.js","./index-1b03fe98.js","./index-6fd5a17b.js","./index-d7bb098e.js","./index-356e4a49.js"],import.meta.url);return Dt.length>0&&(Dt.forEach(t=>{e.registerLanguage(...t)}),Dt=[]),nr===null&&(nr=e),{default:t=>a.createElement(e,{...t})}}),xm=b.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Mt(()=>import("./syntaxhighlighter-V7JZZA35-526e8144.js"),["./syntaxhighlighter-V7JZZA35-526e8144.js","./iframe-653d232b.js","./chunk-ZGA76URP-2bd2442b.js","./index-1b03fe98.js","./index-6fd5a17b.js","./index-d7bb098e.js","./index-356e4a49.js"],import.meta.url),Mt(()=>import("./formatter-SWP5E3XI-eae48fea.js"),["./formatter-SWP5E3XI-eae48fea.js","./iframe-653d232b.js","./chunk-ZGA76URP-2bd2442b.js","./index-1b03fe98.js","./index-6fd5a17b.js","./index-d7bb098e.js","./index-356e4a49.js"],import.meta.url)]);return Dt.length>0&&(Dt.forEach(r=>{e.registerLanguage(...r)}),Dt=[]),nr===null&&(nr=e),{default:r=>a.createElement(e,{...r,formatter:t})}}),Mn=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},e.format!==!1?a.createElement(xm,{...e}):a.createElement(Em,{...e}));Mn.registerLanguage=(...e)=>{if(nr!==null){nr.registerLanguage(...e);return}Dt.push(e)};var Am=e=>typeof e=="number"?e:Number(e),wm=_.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${La}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${La}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),Sm=({col:e,row:t,outer:r,children:n,...o})=>{let l=Am(typeof r=="number"||!r?r:e||t);return a.createElement(wm,{col:e,row:t,outer:l,...o},n)},Cm=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),km=_.div(),_m=_.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),Gu=({children:e,...t})=>{let[r,n]=b.Children.toArray(e);return a.createElement(_m,{...t},a.createElement(Cm,null,r),n&&a.createElement(km,null,n))},Om=_.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function Tm({scale:e,children:t}){let r=b.useRef(null),[n,o]=b.useState(0),l=b.useCallback(({height:i})=>{i&&o(i/e)},[e]);return b.useEffect(()=>{r.current&&o(r.current.getBoundingClientRect().height)},[e]),xu({ref:r,onResize:l}),a.createElement(Om,{scale:e,elementHeight:n},a.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}var Rm=class extends b.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:r}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),r!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return a.createElement(a.Fragment,null,e)}},Yu={Element:Tm,IFrame:Rm},{document:Fm}=Of,Lm=_.strong(({theme:e})=>({color:e.color.orange})),Dm=_.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),ui=_.em(({theme:e})=>({color:e.textMutedColor})),$m=/(Error): (.*)\n/,Mm=/at (?:(.*) )?\(?(.+)\)?/,Bm=/([^@]+)?(?:\/<)?@(.+)?/,Im=/([^@]+)?@(.+)?/,Ku=({error:e})=>{if(!e)return a.createElement(b.Fragment,null,"This error has no stack or message");if(!e.stack)return a.createElement(b.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} -${t}`);let r=t.match($m);if(!r)return a.createElement(b.Fragment,null,t);let[,n,o]=r,l=t.split(/\n/).slice(1),[,...i]=l.map(u=>{let s=u.match(Mm)||u.match(Bm)||u.match(Im);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(Fm.location.origin,"")}:null}).filter(Boolean);return a.createElement(b.Fragment,null,a.createElement("span",null,n),": ",a.createElement(Lm,null,o),a.createElement("br",null),i.map((u,s)=>u.name?a.createElement(b.Fragment,{key:s}," ","at ",a.createElement(Dm,null,u.name)," (",a.createElement(ui,null,u.location),")",a.createElement("br",null)):a.createElement(b.Fragment,{key:s}," ","at ",a.createElement(ui,null,u.location),a.createElement("br",null))))},Xu=_.button(({small:e,theme:t})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:e?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:`${e?t.typography.size.s1:t.typography.size.s2-1}px`,fontWeight:t.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:e?12:14,width:e?12:14,verticalAlign:"top",marginRight:e?4:6,marginTop:e?0:-1,marginBottom:e?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}}),({disabled:e})=>e?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{},({containsIcon:e,small:t})=>e?{svg:{display:"block",margin:0},...t?{padding:10}:{padding:13}}:{},({theme:e,primary:t,secondary:r,gray:n})=>{let o;return n?o=e.color.mediumlight:r?o=e.color.secondary:t&&(o=e.color.primary),o?{background:o,color:n?e.color.darkest:e.color.lightest,"&:hover":{background:Gt(.05,o)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:`${ut(o,1)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${ut(o,.2)} 0 8px 18px 0px`}}:{}},({theme:e,tertiary:t,inForm:r,small:n})=>t?{background:e.button.background,color:e.input.color,boxShadow:`${e.button.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,...r&&n?{padding:"10px 16px"}:{},"&:hover":{background:e.base==="light"?Gt(.02,e.button.background):tm(.03,e.button.background),...r?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:e.button.background},"&:focus":{boxShadow:`${ut(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"}}:{},({theme:e,outline:t})=>t?{boxShadow:`${Ee(.8,e.color.defaultText)} 0 0 0 1px inset`,color:Ee(.3,e.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:`${Ee(.5,e.color.defaultText)} 0 0 0 1px inset`,outline:"none"},"&:active":{boxShadow:`${Ee(.5,e.color.defaultText)} 0 0 0 2px inset`,color:Ee(0,e.color.defaultText)}}:{},({theme:e,outline:t,primary:r})=>{let n=e.color.primary;return t&&r?{boxShadow:`${n} 0 0 0 1px inset`,color:n,"svg path:not([fill])":{fill:n},"&:hover":{boxShadow:`${n} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:n,boxShadow:`${n} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${n} 0 0 0 1px inset, ${ut(n,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${n} 0 0 0 1px inset, ${ut(n,.2)} 0 8px 18px 0px`}}:{}},({theme:e,outline:t,primary:r,secondary:n})=>{let o;return n?o=e.color.secondary:r&&(o=e.color.primary),t&&o?{boxShadow:`${o} 0 0 0 1px inset`,color:o,"svg path:not([fill])":{fill:o},"&:hover":{boxShadow:`${o} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:o,boxShadow:`${o} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${o} 0 0 0 1px inset, ${ut(o,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${o} 0 0 0 1px inset, ${ut(o,.2)} 0 8px 18px 0px`}}:{}}),Nm=Xu.withComponent("a"),Ju=Object.assign(b.forwardRef(function({isLink:e,children:t,...r},n){return e?a.createElement(Nm,{...r,ref:n},t):a.createElement(Xu,{...r,ref:n},t)}),{defaultProps:{isLink:!1}}),jm=_.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Pm=_.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),Qu=({label:e,children:t,...r})=>a.createElement(jm,{...r},e?a.createElement(Pm,null,a.createElement("span",null,e)):null,t);Qu.defaultProps={label:void 0};function qa(){return qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}var ci=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},Zm=function(e,t){var r=b.useRef();return b.useCallback(function(n){e.current=n,r.current&&ci(r.current,null),r.current=t,t&&ci(t,n)},[t])},Vm=Zm,zm=function(){},qm=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],Um=function(e,t){e.cacheMeasurements,e.maxRows,e.minRows;var r=e.onChange,n=r===void 0?zm:r;e.onHeightChange;var o=Hm(e,qm);o.value;var l=b.useRef(null),i=Vm(l,t);return b.useRef(0),b.useRef(),b.createElement("textarea",qa({},o,{onChange:n,ref:i}))},Wm=b.forwardRef(Um),Gm={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Zo=({theme:e})=>({...Gm,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),Bn=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},ec=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},In=({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},Ym=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement("input",{...n,ref:o})}))(Zo,Bn,ec,In,{minHeight:32}),{displayName:"Input"}),Km=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement("select",{...n,ref:o})}))(Zo,Bn,In,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Xm=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement(Wm,{...n,ref:o})}))(Zo,Bn,ec,In,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Jm=_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement(Ju,{...n,ref:o})}))(Bn,In,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),Qm=Object.assign(b.forwardRef(function(e,t){return a.createElement(Jm,{...e,tertiary:!0,small:!0,inForm:!0,ref:t})}),{displayName:"Button"}),Pe=Object.assign(_.form({boxSizing:"border-box",width:"100%"}),{Field:Qu,Input:Ym,Select:Km,Textarea:Xm,Button:Qm}),eg=b.lazy(()=>Mt(()=>import("./WithTooltip-V3YHNWJZ-cc2adff6.js"),["./WithTooltip-V3YHNWJZ-cc2adff6.js","./iframe-19c7c3ad.js","./chunk-ZGA76URP-2bd2442b.js","./index-1b03fe98.js","./index-6fd5a17b.js","./index-d7bb098e.js","./index-356e4a49.js"],import.meta.url).then(e=>({default:e.WithTooltip}))),tg=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(eg,{...e})),rg=b.lazy(()=>Mt(()=>import("./WithTooltip-V3YHNWJZ-cc2adff6.js"),["./WithTooltip-V3YHNWJZ-cc2adff6.js","./iframe-19c7c3ad.js","./chunk-ZGA76URP-2bd2442b.js","./index-1b03fe98.js","./index-6fd5a17b.js","./index-d7bb098e.js","./index-356e4a49.js"],import.meta.url).then(e=>({default:e.WithTooltipPure}))),tc=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(rg,{...e})),ng=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),ag=_.span(),og=_.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),lg=_.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),ig=_.div({padding:15,width:280,boxSizing:"border-box"}),rc=({title:e,desc:t,links:r})=>a.createElement(ig,null,a.createElement(lg,null,e&&a.createElement(ng,null,e),t&&a.createElement(ag,null,t)),r&&a.createElement(og,null,r.map(({title:n,...o})=>a.createElement(vt,{...o,key:n},n))));rc.defaultProps={title:null,desc:null,links:null};var sg=_.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),ug=({note:e,...t})=>a.createElement(sg,{...t},e),cg=_(({active:e,loading:t,disabled:r,...n})=>a.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Ee(.7,t.color.defaultText)}:{}),dg=_.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),pg=_.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),fg=_.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),di=_.span(({active:e,theme:t})=>e?{"& svg":{opacity:1},"& svg path:not([fill])":{fill:t.color.secondary}}:{},()=>({display:"flex",maxWidth:14})),mg=_.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),gg=It(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),nc=({loading:e,left:t,title:r,center:n,right:o,icon:l,active:i,disabled:u,isIndented:s,href:c,onClick:d,LinkWrapper:m,...f})=>{let p=gg(d,c,m),h={active:i,disabled:u},g=typeof l=="string"&&Lr[l];return a.createElement(mg,{...h,...f,...p},l?a.createElement(di,{...h},g?a.createElement(ve,{icon:l}):l):t&&a.createElement(di,{...h},t),r||n?a.createElement(pg,{isIndented:!t&&!l&&s},r&&a.createElement(cg,{...h,loading:e},r),n&&a.createElement(fg,{...h},n)):null,o&&a.createElement(dg,{...h},o))};nc.defaultProps={loading:!1,left:null,title:a.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var Vo=nc,hg=_.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),bg=e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:o,...l}=e,{title:i,href:u,active:s}=l,c=b.useCallback(m=>{r(m,l)},[r]),d=!!r;return a.createElement(Vo,{title:i,active:s,href:u,id:`list-item-${n}`,LinkWrapper:t,isIndented:o,...l,...d?{onClick:c}:{}})},zo=({links:e,LinkWrapper:t})=>{let r=e.some(n=>n.left||n.icon);return a.createElement(hg,null,e.map(({isGatsby:n,...o})=>a.createElement(bg,{key:o.id,LinkWrapper:n?t:null,isIndented:r,...o})))};zo.defaultProps={LinkWrapper:Vo.defaultProps.LinkWrapper};var qo=a.forwardRef(({children:e,...t},r)=>t.href!=null?a.createElement("a",{ref:r,...t},e):a.createElement("button",{ref:r,type:"button",...t},e));qo.displayName="ButtonOrLink";var Zr=_(qo,{shouldForwardProp:uo})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.color.secondary}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent"});Zr.displayName="TabButton";var $t=_(qo,{shouldForwardProp:uo})(()=>({alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}}),({active:e,theme:t})=>e?{backgroundColor:t.background.hoverable,color:t.barSelectedColor}:{},({disabled:e,theme:t})=>e?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:Ee(.88,t.color.secondary),color:t.barHoverColor},"&:focus-visible":{outline:Dn},"&:focus:not(:focus-visible)":{outline:"none"}});$t.displayName="IconButton";var yg=_.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),vg=_.div(()=>({marginTop:6,padding:7,height:28})),ac=()=>a.createElement(vg,null,a.createElement(yg,null)),Ua=_.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});Ua.displayName="Side";var Eg=({children:e,className:t,scrollable:r})=>r?a.createElement(ko,{vertical:!1,className:t},e):a.createElement("div",{className:t},e),Uo=_(Eg)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});Uo.displayName="Bar";var xg=_.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Nn=({children:e,backgroundColor:t,...r})=>{let[n,o]=b.Children.toArray(e);return a.createElement(Uo,{...r},a.createElement(xg,{bgColor:t},a.createElement(Ua,{scrollable:r.scrollable,left:!0},n),o?a.createElement(Ua,{right:!0},o):null))};Nn.displayName="FlexBar";var oc=_.div(({active:e})=>e?{display:"block"}:{display:"none"}),pi=e=>b.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:o}})=>{let l=Array.isArray(o)?o[0]:o;return{title:t,id:r,...n?{color:n}:{},render:typeof l=="function"?l:({active:i})=>a.createElement(oc,{active:i,role:"tabpanel"},l)}}),Ag=_.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),wg=_(Zr)(({active:e,theme:t,preActive:r})=>` +${t}`);let r=t.match($m);if(!r)return a.createElement(b.Fragment,null,t);let[,n,o]=r,l=t.split(/\n/).slice(1),[,...i]=l.map(u=>{let s=u.match(Mm)||u.match(Bm)||u.match(Im);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(Fm.location.origin,"")}:null}).filter(Boolean);return a.createElement(b.Fragment,null,a.createElement("span",null,n),": ",a.createElement(Lm,null,o),a.createElement("br",null),i.map((u,s)=>u.name?a.createElement(b.Fragment,{key:s}," ","at ",a.createElement(Dm,null,u.name)," (",a.createElement(ui,null,u.location),")",a.createElement("br",null)):a.createElement(b.Fragment,{key:s}," ","at ",a.createElement(ui,null,u.location),a.createElement("br",null))))},Xu=_.button(({small:e,theme:t})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:e?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:`${e?t.typography.size.s1:t.typography.size.s2-1}px`,fontWeight:t.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:e?12:14,width:e?12:14,verticalAlign:"top",marginRight:e?4:6,marginTop:e?0:-1,marginBottom:e?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}}),({disabled:e})=>e?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{},({containsIcon:e,small:t})=>e?{svg:{display:"block",margin:0},...t?{padding:10}:{padding:13}}:{},({theme:e,primary:t,secondary:r,gray:n})=>{let o;return n?o=e.color.mediumlight:r?o=e.color.secondary:t&&(o=e.color.primary),o?{background:o,color:n?e.color.darkest:e.color.lightest,"&:hover":{background:Gt(.05,o)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:`${ut(o,1)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${ut(o,.2)} 0 8px 18px 0px`}}:{}},({theme:e,tertiary:t,inForm:r,small:n})=>t?{background:e.button.background,color:e.input.color,boxShadow:`${e.button.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,...r&&n?{padding:"10px 16px"}:{},"&:hover":{background:e.base==="light"?Gt(.02,e.button.background):tm(.03,e.button.background),...r?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:e.button.background},"&:focus":{boxShadow:`${ut(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"}}:{},({theme:e,outline:t})=>t?{boxShadow:`${Ee(.8,e.color.defaultText)} 0 0 0 1px inset`,color:Ee(.3,e.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:`${Ee(.5,e.color.defaultText)} 0 0 0 1px inset`,outline:"none"},"&:active":{boxShadow:`${Ee(.5,e.color.defaultText)} 0 0 0 2px inset`,color:Ee(0,e.color.defaultText)}}:{},({theme:e,outline:t,primary:r})=>{let n=e.color.primary;return t&&r?{boxShadow:`${n} 0 0 0 1px inset`,color:n,"svg path:not([fill])":{fill:n},"&:hover":{boxShadow:`${n} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:n,boxShadow:`${n} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${n} 0 0 0 1px inset, ${ut(n,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${n} 0 0 0 1px inset, ${ut(n,.2)} 0 8px 18px 0px`}}:{}},({theme:e,outline:t,primary:r,secondary:n})=>{let o;return n?o=e.color.secondary:r&&(o=e.color.primary),t&&o?{boxShadow:`${o} 0 0 0 1px inset`,color:o,"svg path:not([fill])":{fill:o},"&:hover":{boxShadow:`${o} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:o,boxShadow:`${o} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${o} 0 0 0 1px inset, ${ut(o,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${o} 0 0 0 1px inset, ${ut(o,.2)} 0 8px 18px 0px`}}:{}}),Nm=Xu.withComponent("a"),Ju=Object.assign(b.forwardRef(function({isLink:e,children:t,...r},n){return e?a.createElement(Nm,{...r,ref:n},t):a.createElement(Xu,{...r,ref:n},t)}),{defaultProps:{isLink:!1}}),jm=_.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Pm=_.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),Qu=({label:e,children:t,...r})=>a.createElement(jm,{...r},e?a.createElement(Pm,null,a.createElement("span",null,e)):null,t);Qu.defaultProps={label:void 0};function qa(){return qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}var ci=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},Zm=function(e,t){var r=b.useRef();return b.useCallback(function(n){e.current=n,r.current&&ci(r.current,null),r.current=t,t&&ci(t,n)},[t])},Vm=Zm,zm=function(){},qm=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],Um=function(e,t){e.cacheMeasurements,e.maxRows,e.minRows;var r=e.onChange,n=r===void 0?zm:r;e.onHeightChange;var o=Hm(e,qm);o.value;var l=b.useRef(null),i=Vm(l,t);return b.useRef(0),b.useRef(),b.createElement("textarea",qa({},o,{onChange:n,ref:i}))},Wm=b.forwardRef(Um),Gm={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Zo=({theme:e})=>({...Gm,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),Bn=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},ec=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},In=({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},Ym=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement("input",{...n,ref:o})}))(Zo,Bn,ec,In,{minHeight:32}),{displayName:"Input"}),Km=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement("select",{...n,ref:o})}))(Zo,Bn,In,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Xm=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement(Wm,{...n,ref:o})}))(Zo,Bn,ec,In,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Jm=_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement(Ju,{...n,ref:o})}))(Bn,In,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),Qm=Object.assign(b.forwardRef(function(e,t){return a.createElement(Jm,{...e,tertiary:!0,small:!0,inForm:!0,ref:t})}),{displayName:"Button"}),Pe=Object.assign(_.form({boxSizing:"border-box",width:"100%"}),{Field:Qu,Input:Ym,Select:Km,Textarea:Xm,Button:Qm}),eg=b.lazy(()=>Mt(()=>import("./WithTooltip-V3YHNWJZ-b738d207.js"),["./WithTooltip-V3YHNWJZ-b738d207.js","./iframe-653d232b.js","./chunk-ZGA76URP-2bd2442b.js","./index-1b03fe98.js","./index-6fd5a17b.js","./index-d7bb098e.js","./index-356e4a49.js"],import.meta.url).then(e=>({default:e.WithTooltip}))),tg=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(eg,{...e})),rg=b.lazy(()=>Mt(()=>import("./WithTooltip-V3YHNWJZ-b738d207.js"),["./WithTooltip-V3YHNWJZ-b738d207.js","./iframe-653d232b.js","./chunk-ZGA76URP-2bd2442b.js","./index-1b03fe98.js","./index-6fd5a17b.js","./index-d7bb098e.js","./index-356e4a49.js"],import.meta.url).then(e=>({default:e.WithTooltipPure}))),tc=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(rg,{...e})),ng=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),ag=_.span(),og=_.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),lg=_.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),ig=_.div({padding:15,width:280,boxSizing:"border-box"}),rc=({title:e,desc:t,links:r})=>a.createElement(ig,null,a.createElement(lg,null,e&&a.createElement(ng,null,e),t&&a.createElement(ag,null,t)),r&&a.createElement(og,null,r.map(({title:n,...o})=>a.createElement(vt,{...o,key:n},n))));rc.defaultProps={title:null,desc:null,links:null};var sg=_.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),ug=({note:e,...t})=>a.createElement(sg,{...t},e),cg=_(({active:e,loading:t,disabled:r,...n})=>a.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Ee(.7,t.color.defaultText)}:{}),dg=_.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),pg=_.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),fg=_.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),di=_.span(({active:e,theme:t})=>e?{"& svg":{opacity:1},"& svg path:not([fill])":{fill:t.color.secondary}}:{},()=>({display:"flex",maxWidth:14})),mg=_.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),gg=It(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),nc=({loading:e,left:t,title:r,center:n,right:o,icon:l,active:i,disabled:u,isIndented:s,href:c,onClick:d,LinkWrapper:m,...f})=>{let p=gg(d,c,m),h={active:i,disabled:u},g=typeof l=="string"&&Lr[l];return a.createElement(mg,{...h,...f,...p},l?a.createElement(di,{...h},g?a.createElement(ve,{icon:l}):l):t&&a.createElement(di,{...h},t),r||n?a.createElement(pg,{isIndented:!t&&!l&&s},r&&a.createElement(cg,{...h,loading:e},r),n&&a.createElement(fg,{...h},n)):null,o&&a.createElement(dg,{...h},o))};nc.defaultProps={loading:!1,left:null,title:a.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var Vo=nc,hg=_.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),bg=e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:o,...l}=e,{title:i,href:u,active:s}=l,c=b.useCallback(m=>{r(m,l)},[r]),d=!!r;return a.createElement(Vo,{title:i,active:s,href:u,id:`list-item-${n}`,LinkWrapper:t,isIndented:o,...l,...d?{onClick:c}:{}})},zo=({links:e,LinkWrapper:t})=>{let r=e.some(n=>n.left||n.icon);return a.createElement(hg,null,e.map(({isGatsby:n,...o})=>a.createElement(bg,{key:o.id,LinkWrapper:n?t:null,isIndented:r,...o})))};zo.defaultProps={LinkWrapper:Vo.defaultProps.LinkWrapper};var qo=a.forwardRef(({children:e,...t},r)=>t.href!=null?a.createElement("a",{ref:r,...t},e):a.createElement("button",{ref:r,type:"button",...t},e));qo.displayName="ButtonOrLink";var Zr=_(qo,{shouldForwardProp:uo})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.color.secondary}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent"});Zr.displayName="TabButton";var $t=_(qo,{shouldForwardProp:uo})(()=>({alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}}),({active:e,theme:t})=>e?{backgroundColor:t.background.hoverable,color:t.barSelectedColor}:{},({disabled:e,theme:t})=>e?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:Ee(.88,t.color.secondary),color:t.barHoverColor},"&:focus-visible":{outline:Dn},"&:focus:not(:focus-visible)":{outline:"none"}});$t.displayName="IconButton";var yg=_.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),vg=_.div(()=>({marginTop:6,padding:7,height:28})),ac=()=>a.createElement(vg,null,a.createElement(yg,null)),Ua=_.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});Ua.displayName="Side";var Eg=({children:e,className:t,scrollable:r})=>r?a.createElement(ko,{vertical:!1,className:t},e):a.createElement("div",{className:t},e),Uo=_(Eg)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});Uo.displayName="Bar";var xg=_.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Nn=({children:e,backgroundColor:t,...r})=>{let[n,o]=b.Children.toArray(e);return a.createElement(Uo,{...r},a.createElement(xg,{bgColor:t},a.createElement(Ua,{scrollable:r.scrollable,left:!0},n),o?a.createElement(Ua,{right:!0},o):null))};Nn.displayName="FlexBar";var oc=_.div(({active:e})=>e?{display:"block"}:{display:"none"}),pi=e=>b.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:o}})=>{let l=Array.isArray(o)?o[0]:o;return{title:t,id:r,...n?{color:n}:{},render:typeof l=="function"?l:({active:i})=>a.createElement(oc,{active:i,role:"tabpanel"},l)}}),Ag=_.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),wg=_(Zr)(({active:e,theme:t,preActive:r})=>` color: ${r||e?t.color.secondary:t.color.mediumdark}; &:hover { color: ${t.color.secondary}; @@ -160,7 +160,7 @@ ${t}`);let r=t.match($m);if(!r)return a.createElement(b.Fragment,null,t);let[,n, ${Ke(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${Ot(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ot(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${ct(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),c0=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),z8=_(c0)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),q8=_.div({display:"flex",alignItems:"center",width:"100%"});function U8(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var W8=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:l=1,onBlur:i,onFocus:u})=>{let s=m=>{r(l8(m.target.value))},c=t!==void 0,d=b.useMemo(()=>U8(l),[l]);return a.createElement(q8,null,a.createElement(c0,null,n),a.createElement(V8,{id:He(e),type:"range",onChange:s,name:e,value:t,min:n,max:o,step:l,onFocus:u,onBlur:i}),a.createElement(z8,{numberOFDecimalsPlaces:d,max:o},c?t.toFixed(d):"--"," / ",o))},G8=_.label({display:"flex"}),Y8=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),K8=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:l})=>{let i=m=>{r(m.target.value)},[u,s]=b.useState(!1),c=b.useCallback(()=>{r(""),s(!0)},[s]);if(t===void 0)return a.createElement(Pe.Button,{id:Sn(e),onClick:c},"Set string");let d=typeof t=="string";return a.createElement(G8,null,a.createElement(Pe.Textarea,{id:He(e),maxLength:l,onChange:i,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:d?null:"error",name:e,value:d?t:"",onFocus:n,onBlur:o}),l&&a.createElement(Y8,{isMaxed:(t==null?void 0:t.length)===l},(t==null?void 0:t.length)??0," / ",l))},X8=_(Pe.Input)({padding:10});function J8(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var Q8=({onChange:e,name:t,accept:r="image/*",value:n})=>{let o=b.useRef(null);function l(i){if(!i.target.files)return;let u=Array.from(i.target.files).map(s=>URL.createObjectURL(s));e(u),J8(n)}return b.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),a.createElement(X8,{ref:o,id:He(t),type:"file",name:t,multiple:!0,onChange:l,accept:r,size:"flex"})},ex=b.lazy(()=>Mt(()=>import("./Color-6VNJS4EI-fc9214ad.js"),["./Color-6VNJS4EI-fc9214ad.js","./index-1b03fe98.js","./index-d7bb098e.js","./iframe-19c7c3ad.js","./chunk-ZGA76URP-2bd2442b.js","./index-6fd5a17b.js","./index-356e4a49.js"],import.meta.url)),tx=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(ex,{...e})),rx={array:ts,object:ts,boolean:JE,color:tx,date:a8,number:i8,check:qt,"inline-check":qt,radio:qt,"inline-radio":qt,select:qt,"multi-select":qt,range:W8,text:K8,file:Q8},rs=()=>a.createElement(a.Fragment,null,"-"),nx=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:o,control:l}=e,[i,u]=b.useState(!1),[s,c]=b.useState({value:t});b.useEffect(()=>{i||c({value:t})},[i,t]);let d=b.useCallback(g=>(c({value:g}),r({[o]:g}),g),[r,o]),m=b.useCallback(()=>u(!1),[]),f=b.useCallback(()=>u(!0),[]);if(!l||l.disable)return n?a.createElement(vt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):a.createElement(rs,null);let p={name:o,argType:e,value:s.value,onChange:d,onBlur:m,onFocus:f},h=rx[l.type]||rs;return a.createElement(h,{...p,...l,controlType:l.type})},ax=_.span({fontWeight:"bold"}),ox=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),lx=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...ft({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),ix=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ee(.1,e.color.defaultText):ee(.2,e.color.defaultText),marginTop:t?4:0})),sx=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ee(.1,e.color.defaultText):ee(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),ux=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),en=e=>{var g;let[t,r]=b.useState(!1),{row:n,updateArgs:o,compact:l,expandable:i,initialExpandedArgs:u}=e,{name:s,description:c}=n,d=n.table||{},m=d.type||n.type,f=d.defaultValue||n.defaultValue,p=(g=n.type)==null?void 0:g.required,h=c!=null&&c!=="";return a.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},a.createElement(ux,{expandable:i},a.createElement(ax,null,s),p?a.createElement(ox,{title:"Required"},"*"):null),l?null:a.createElement("td",null,h&&a.createElement(lx,null,a.createElement(Mc,null,c)),d.jsDocTags!=null?a.createElement(a.Fragment,null,a.createElement(sx,{hasDescription:h},a.createElement(Aa,{value:m,initialExpandedArgs:u})),a.createElement(PE,{tags:d.jsDocTags})):a.createElement(ix,{hasDescription:h},a.createElement(Aa,{value:m,initialExpandedArgs:u}))),l?null:a.createElement("td",null,a.createElement(Aa,{value:f,initialExpandedArgs:u})),o?a.createElement("td",null,a.createElement(nx,{...e,isHovered:t})):null)},cx=_(ve)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ee(.25,e.color.defaultText):ee(.3,e.color.defaultText),border:"none",display:"inline-block"})),dx=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),px=_.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),fx=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),mx=_.td(()=>({position:"relative"})),gx=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Ot(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),ns=_.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Sa=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[l,i]=b.useState(n),u=e==="subsection"?fx:px,s=(r==null?void 0:r.length)||0,c=e==="subsection"?`${s} item${s!==1?"s":""}`:"",d=l?"arrowdown":"arrowright",m=`${l?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return a.createElement(a.Fragment,null,a.createElement(gx,{title:m},a.createElement(u,{colSpan:1},a.createElement(ns,{onClick:f=>i(!l),tabIndex:0},m),a.createElement(dx,null,a.createElement(cx,{icon:d}),t)),a.createElement(mx,{colSpan:o-1},a.createElement(ns,{onClick:f=>i(!l),tabIndex:-1,style:{outline:"none"}},m),l?null:c)),l?r:null)},tn=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),me=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ie=_.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),ge=[2,4,2,2],hx=()=>a.createElement(a.Fragment,null,a.createElement(tn,null,a.createElement(me,{numColumn:ge[0]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[1]},a.createElement(ie,{width:"30%"})),a.createElement(me,{numColumn:ge[2]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[3]},a.createElement(ie,{width:"60%"}))),a.createElement(tn,null,a.createElement(me,{numColumn:ge[0]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[1]},a.createElement(ie,{width:"80%"}),a.createElement(ie,{width:"30%"})),a.createElement(me,{numColumn:ge[2]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[3]},a.createElement(ie,{width:"60%"}))),a.createElement(tn,null,a.createElement(me,{numColumn:ge[0]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[1]},a.createElement(ie,{width:"80%"}),a.createElement(ie,{width:"30%"})),a.createElement(me,{numColumn:ge[2]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[3]},a.createElement(ie,{width:"60%"}))),a.createElement(tn,null,a.createElement(me,{numColumn:ge[0]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[1]},a.createElement(ie,{width:"80%"}),a.createElement(ie,{width:"30%"})),a.createElement(me,{numColumn:ge[2]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[3]},a.createElement(ie,{width:"60%"})))),bx=_.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),yx=_.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),vx=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),Ex=_.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),xx=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),Ax=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),wx=({inAddonPanel:e})=>{let[t,r]=b.useState(!0);return b.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:a.createElement(bx,{inAddonPanel:e},a.createElement(yx,null,a.createElement(vx,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),a.createElement(Ex,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.")),a.createElement(xx,null,e&&a.createElement(a.Fragment,null,a.createElement(vt,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},a.createElement(ve,{icon:"video"})," Watch 5m video"),a.createElement(Ax,null),a.createElement(vt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Read docs")),!e&&a.createElement(vt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Learn how to set that up")))},Sx=_.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?ee(.25,e.color.defaultText):ee(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),Cx=_($t)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),kx=_.span({display:"flex",justifyContent:"space-between"}),_x={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},Ox=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([l,i])=>{let{category:u,subcategory:s}=(i==null?void 0:i.table)||{};if(u){let c=r.sections[u]||{ungrouped:[],subsections:{}};if(!s)c.ungrouped.push({key:l,...i});else{let d=c.subsections[s]||[];d.push({key:l,...i}),c.subsections[s]=d}r.sections[u]=c}else if(s){let c=r.ungroupedSubsections[s]||[];c.push({key:l,...i}),r.ungroupedSubsections[s]=c}else r.ungrouped.push({key:l,...i})});let n=_x[t],o=l=>n?Object.keys(l).reduce((i,u)=>({...i,[u]:l[u].sort(n)}),{}):l;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((l,i)=>({...l,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:o(r.sections[i].subsections)}}),{})}},Tx=(e,t,r)=>{try{return _f(e,t,r)}catch(n){return iE.warn(n.message),!1}},Rx=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:l,sort:i="none",isLoading:u}=e;if("error"in e){let{error:v}=e;return a.createElement(Kc,null,v," ",a.createElement(vt,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"))}if(u)return a.createElement(hx,null);let{rows:s,args:c,globals:d}="rows"in e&&e,m=Ox(fb(s,v=>{var y;return!((y=v==null?void 0:v.table)!=null&&y.disable)&&Tx(v,c||{},d||{})}),i),f=m.ungrouped.length===0,p=Object.entries(m.sections).length===0,h=Object.entries(m.ungroupedSubsections).length===0;if(f&&p&&h)return a.createElement(wx,{inAddonPanel:o});let g=1;t&&(g+=1),n||(g+=2);let A=Object.keys(m.sections).length>0,w={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:l};return a.createElement(Ho,null,a.createElement(Sx,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},a.createElement("thead",{className:"docblock-argstable-head"},a.createElement("tr",null,a.createElement("th",null,a.createElement("span",null,"Name")),n?null:a.createElement("th",null,a.createElement("span",null,"Description")),n?null:a.createElement("th",null,a.createElement("span",null,"Default")),t?a.createElement("th",null,a.createElement(kx,null,"Control"," ",!u&&r&&a.createElement(Cx,{onClick:()=>r(),title:"Reset controls"},a.createElement(ve,{icon:"undo","aria-hidden":!0})))):null)),a.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(v=>a.createElement(en,{key:v.key,row:v,arg:c&&c[v.key],...w})),Object.entries(m.ungroupedSubsections).map(([v,y])=>a.createElement(Sa,{key:v,label:v,level:"subsection",colSpan:g},y.map(E=>a.createElement(en,{key:E.key,row:E,arg:c&&c[E.key],expandable:A,...w})))),Object.entries(m.sections).map(([v,y])=>a.createElement(Sa,{key:v,label:v,level:"section",colSpan:g},y.ungrouped.map(E=>a.createElement(en,{key:E.key,row:E,arg:c&&c[E.key],...w})),Object.entries(y.subsections).map(([E,x])=>a.createElement(Sa,{key:E,label:E,level:"subsection",colSpan:g},x.map(S=>a.createElement(en,{key:S.key,row:S,arg:c&&c[S.key],expandable:A,...w})))))))))};_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText)}));_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});_.div(te,({theme:e})=>({...Un(e),margin:"25px 0 40px",padding:"30px 20px"}));_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));_.div(({theme:e})=>({color:e.base==="light"?ee(.2,e.color.defaultText):ee(.6,e.color.defaultText)}));_.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});_.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));_.div({display:"flex",flexDirection:"row"});_.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));_.div(({theme:e})=>({...Un(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));_.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});_.div({flex:1,display:"flex",flexDirection:"row"});_.div({display:"flex",alignItems:"flex-start"});_.div({flex:"0 0 30%"});_.div({flex:1});_.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText)}));_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));_.div(({theme:e})=>({...Un(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});_.div({display:"flex",flexFlow:"row wrap"});var Fx=e=>`anchor--${e}`,d0=({storyId:e,children:t})=>a.createElement("div",{id:Fx(e),className:"sb-anchor"},t);Le&&Le.__DOCS_CONTEXT__===void 0&&(Le.__DOCS_CONTEXT__=b.createContext(null),Le.__DOCS_CONTEXT__.displayName="DocsContext");var Ce=Le?Le.__DOCS_CONTEXT__:b.createContext(null),Vr=(e,t)=>b.useContext(Ce).resolveOf(e,t);function Lx(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function Dx(e,t){let r=cl([e],t);return r&&r[0]}function cl(e,t){let[r,n]=b.useState({});return b.useEffect(()=>{Promise.all(e.map(async o=>{let l=await t.loadStory(o);n(i=>i[o]===l?i:{...i,[o]:l})}))}),e.map(o=>{if(r[o])return r[o];try{return t.storyById(o)}catch{return null}})}function p0(e){return tE(e)}var f0=b.createContext({sources:{}}),m0="--unknown--",$x=({children:e,channel:t})=>{let[r,n]=b.useState({});return b.useEffect(()=>{let o=(l,i=null,u=!1)=>{let{id:s,args:c=void 0,source:d,format:m}=typeof l=="string"?{id:l,source:i,format:u}:l,f=c?p0(c):m0;n(p=>({...p,[s]:{...p[s],[f]:{code:d,format:m}}}))};return t.on(vl,o),()=>t.off(vl,o)},[]),a.createElement(f0.Provider,{value:{sources:r}},e)},Mx=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(Mx||{}),Bx=e=>{let t=e.map(r=>{var n,o;return(o=(n=r.parameters.docs)==null?void 0:n.source)==null?void 0:o.state}).filter(Boolean);return t.length===0?"closed":t[0]},Ix=(e,t,r)=>{let{sources:n}=r,o=n==null?void 0:n[e];return(o==null?void 0:o[p0(t)])||(o==null?void 0:o[m0])||{code:""}},Nx=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var s,c,d,m,f,p;let{__isArgsStory:o}=t.parameters,l=((s=t.parameters.docs)==null?void 0:s.source)||{},i=r||l.type||Xn.AUTO;if(l.code!==void 0)return l.code;let u=i===Xn.DYNAMIC||i===Xn.AUTO&&e&&o?e:l.originalSource||"";return l.transformSource&&pe(xe`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. + ${Ot(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${ct(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),c0=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),z8=_(c0)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),q8=_.div({display:"flex",alignItems:"center",width:"100%"});function U8(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var W8=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:l=1,onBlur:i,onFocus:u})=>{let s=m=>{r(l8(m.target.value))},c=t!==void 0,d=b.useMemo(()=>U8(l),[l]);return a.createElement(q8,null,a.createElement(c0,null,n),a.createElement(V8,{id:He(e),type:"range",onChange:s,name:e,value:t,min:n,max:o,step:l,onFocus:u,onBlur:i}),a.createElement(z8,{numberOFDecimalsPlaces:d,max:o},c?t.toFixed(d):"--"," / ",o))},G8=_.label({display:"flex"}),Y8=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),K8=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:l})=>{let i=m=>{r(m.target.value)},[u,s]=b.useState(!1),c=b.useCallback(()=>{r(""),s(!0)},[s]);if(t===void 0)return a.createElement(Pe.Button,{id:Sn(e),onClick:c},"Set string");let d=typeof t=="string";return a.createElement(G8,null,a.createElement(Pe.Textarea,{id:He(e),maxLength:l,onChange:i,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:d?null:"error",name:e,value:d?t:"",onFocus:n,onBlur:o}),l&&a.createElement(Y8,{isMaxed:(t==null?void 0:t.length)===l},(t==null?void 0:t.length)??0," / ",l))},X8=_(Pe.Input)({padding:10});function J8(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var Q8=({onChange:e,name:t,accept:r="image/*",value:n})=>{let o=b.useRef(null);function l(i){if(!i.target.files)return;let u=Array.from(i.target.files).map(s=>URL.createObjectURL(s));e(u),J8(n)}return b.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),a.createElement(X8,{ref:o,id:He(t),type:"file",name:t,multiple:!0,onChange:l,accept:r,size:"flex"})},ex=b.lazy(()=>Mt(()=>import("./Color-6VNJS4EI-72476e84.js"),["./Color-6VNJS4EI-72476e84.js","./index-1b03fe98.js","./index-d7bb098e.js","./iframe-653d232b.js","./chunk-ZGA76URP-2bd2442b.js","./index-6fd5a17b.js","./index-356e4a49.js"],import.meta.url)),tx=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(ex,{...e})),rx={array:ts,object:ts,boolean:JE,color:tx,date:a8,number:i8,check:qt,"inline-check":qt,radio:qt,"inline-radio":qt,select:qt,"multi-select":qt,range:W8,text:K8,file:Q8},rs=()=>a.createElement(a.Fragment,null,"-"),nx=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:o,control:l}=e,[i,u]=b.useState(!1),[s,c]=b.useState({value:t});b.useEffect(()=>{i||c({value:t})},[i,t]);let d=b.useCallback(g=>(c({value:g}),r({[o]:g}),g),[r,o]),m=b.useCallback(()=>u(!1),[]),f=b.useCallback(()=>u(!0),[]);if(!l||l.disable)return n?a.createElement(vt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):a.createElement(rs,null);let p={name:o,argType:e,value:s.value,onChange:d,onBlur:m,onFocus:f},h=rx[l.type]||rs;return a.createElement(h,{...p,...l,controlType:l.type})},ax=_.span({fontWeight:"bold"}),ox=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),lx=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...ft({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),ix=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ee(.1,e.color.defaultText):ee(.2,e.color.defaultText),marginTop:t?4:0})),sx=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ee(.1,e.color.defaultText):ee(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),ux=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),en=e=>{var g;let[t,r]=b.useState(!1),{row:n,updateArgs:o,compact:l,expandable:i,initialExpandedArgs:u}=e,{name:s,description:c}=n,d=n.table||{},m=d.type||n.type,f=d.defaultValue||n.defaultValue,p=(g=n.type)==null?void 0:g.required,h=c!=null&&c!=="";return a.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},a.createElement(ux,{expandable:i},a.createElement(ax,null,s),p?a.createElement(ox,{title:"Required"},"*"):null),l?null:a.createElement("td",null,h&&a.createElement(lx,null,a.createElement(Mc,null,c)),d.jsDocTags!=null?a.createElement(a.Fragment,null,a.createElement(sx,{hasDescription:h},a.createElement(Aa,{value:m,initialExpandedArgs:u})),a.createElement(PE,{tags:d.jsDocTags})):a.createElement(ix,{hasDescription:h},a.createElement(Aa,{value:m,initialExpandedArgs:u}))),l?null:a.createElement("td",null,a.createElement(Aa,{value:f,initialExpandedArgs:u})),o?a.createElement("td",null,a.createElement(nx,{...e,isHovered:t})):null)},cx=_(ve)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ee(.25,e.color.defaultText):ee(.3,e.color.defaultText),border:"none",display:"inline-block"})),dx=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),px=_.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),fx=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),mx=_.td(()=>({position:"relative"})),gx=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Ot(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),ns=_.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Sa=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[l,i]=b.useState(n),u=e==="subsection"?fx:px,s=(r==null?void 0:r.length)||0,c=e==="subsection"?`${s} item${s!==1?"s":""}`:"",d=l?"arrowdown":"arrowright",m=`${l?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return a.createElement(a.Fragment,null,a.createElement(gx,{title:m},a.createElement(u,{colSpan:1},a.createElement(ns,{onClick:f=>i(!l),tabIndex:0},m),a.createElement(dx,null,a.createElement(cx,{icon:d}),t)),a.createElement(mx,{colSpan:o-1},a.createElement(ns,{onClick:f=>i(!l),tabIndex:-1,style:{outline:"none"}},m),l?null:c)),l?r:null)},tn=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),me=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ie=_.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),ge=[2,4,2,2],hx=()=>a.createElement(a.Fragment,null,a.createElement(tn,null,a.createElement(me,{numColumn:ge[0]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[1]},a.createElement(ie,{width:"30%"})),a.createElement(me,{numColumn:ge[2]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[3]},a.createElement(ie,{width:"60%"}))),a.createElement(tn,null,a.createElement(me,{numColumn:ge[0]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[1]},a.createElement(ie,{width:"80%"}),a.createElement(ie,{width:"30%"})),a.createElement(me,{numColumn:ge[2]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[3]},a.createElement(ie,{width:"60%"}))),a.createElement(tn,null,a.createElement(me,{numColumn:ge[0]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[1]},a.createElement(ie,{width:"80%"}),a.createElement(ie,{width:"30%"})),a.createElement(me,{numColumn:ge[2]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[3]},a.createElement(ie,{width:"60%"}))),a.createElement(tn,null,a.createElement(me,{numColumn:ge[0]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[1]},a.createElement(ie,{width:"80%"}),a.createElement(ie,{width:"30%"})),a.createElement(me,{numColumn:ge[2]},a.createElement(ie,{width:"60%"})),a.createElement(me,{numColumn:ge[3]},a.createElement(ie,{width:"60%"})))),bx=_.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),yx=_.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),vx=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),Ex=_.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),xx=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),Ax=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),wx=({inAddonPanel:e})=>{let[t,r]=b.useState(!0);return b.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:a.createElement(bx,{inAddonPanel:e},a.createElement(yx,null,a.createElement(vx,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),a.createElement(Ex,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.")),a.createElement(xx,null,e&&a.createElement(a.Fragment,null,a.createElement(vt,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},a.createElement(ve,{icon:"video"})," Watch 5m video"),a.createElement(Ax,null),a.createElement(vt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Read docs")),!e&&a.createElement(vt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Learn how to set that up")))},Sx=_.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?ee(.25,e.color.defaultText):ee(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),Cx=_($t)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),kx=_.span({display:"flex",justifyContent:"space-between"}),_x={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},Ox=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([l,i])=>{let{category:u,subcategory:s}=(i==null?void 0:i.table)||{};if(u){let c=r.sections[u]||{ungrouped:[],subsections:{}};if(!s)c.ungrouped.push({key:l,...i});else{let d=c.subsections[s]||[];d.push({key:l,...i}),c.subsections[s]=d}r.sections[u]=c}else if(s){let c=r.ungroupedSubsections[s]||[];c.push({key:l,...i}),r.ungroupedSubsections[s]=c}else r.ungrouped.push({key:l,...i})});let n=_x[t],o=l=>n?Object.keys(l).reduce((i,u)=>({...i,[u]:l[u].sort(n)}),{}):l;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((l,i)=>({...l,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:o(r.sections[i].subsections)}}),{})}},Tx=(e,t,r)=>{try{return _f(e,t,r)}catch(n){return iE.warn(n.message),!1}},Rx=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:l,sort:i="none",isLoading:u}=e;if("error"in e){let{error:v}=e;return a.createElement(Kc,null,v," ",a.createElement(vt,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"))}if(u)return a.createElement(hx,null);let{rows:s,args:c,globals:d}="rows"in e&&e,m=Ox(fb(s,v=>{var y;return!((y=v==null?void 0:v.table)!=null&&y.disable)&&Tx(v,c||{},d||{})}),i),f=m.ungrouped.length===0,p=Object.entries(m.sections).length===0,h=Object.entries(m.ungroupedSubsections).length===0;if(f&&p&&h)return a.createElement(wx,{inAddonPanel:o});let g=1;t&&(g+=1),n||(g+=2);let A=Object.keys(m.sections).length>0,w={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:l};return a.createElement(Ho,null,a.createElement(Sx,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},a.createElement("thead",{className:"docblock-argstable-head"},a.createElement("tr",null,a.createElement("th",null,a.createElement("span",null,"Name")),n?null:a.createElement("th",null,a.createElement("span",null,"Description")),n?null:a.createElement("th",null,a.createElement("span",null,"Default")),t?a.createElement("th",null,a.createElement(kx,null,"Control"," ",!u&&r&&a.createElement(Cx,{onClick:()=>r(),title:"Reset controls"},a.createElement(ve,{icon:"undo","aria-hidden":!0})))):null)),a.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(v=>a.createElement(en,{key:v.key,row:v,arg:c&&c[v.key],...w})),Object.entries(m.ungroupedSubsections).map(([v,y])=>a.createElement(Sa,{key:v,label:v,level:"subsection",colSpan:g},y.map(E=>a.createElement(en,{key:E.key,row:E,arg:c&&c[E.key],expandable:A,...w})))),Object.entries(m.sections).map(([v,y])=>a.createElement(Sa,{key:v,label:v,level:"section",colSpan:g},y.ungrouped.map(E=>a.createElement(en,{key:E.key,row:E,arg:c&&c[E.key],...w})),Object.entries(y.subsections).map(([E,x])=>a.createElement(Sa,{key:E,label:E,level:"subsection",colSpan:g},x.map(S=>a.createElement(en,{key:S.key,row:S,arg:c&&c[S.key],expandable:A,...w})))))))))};_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText)}));_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});_.div(te,({theme:e})=>({...Un(e),margin:"25px 0 40px",padding:"30px 20px"}));_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));_.div(({theme:e})=>({color:e.base==="light"?ee(.2,e.color.defaultText):ee(.6,e.color.defaultText)}));_.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});_.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));_.div({display:"flex",flexDirection:"row"});_.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));_.div(({theme:e})=>({...Un(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));_.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});_.div({flex:1,display:"flex",flexDirection:"row"});_.div({display:"flex",alignItems:"flex-start"});_.div({flex:"0 0 30%"});_.div({flex:1});_.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText)}));_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));_.div(({theme:e})=>({...Un(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});_.div({display:"flex",flexFlow:"row wrap"});var Fx=e=>`anchor--${e}`,d0=({storyId:e,children:t})=>a.createElement("div",{id:Fx(e),className:"sb-anchor"},t);Le&&Le.__DOCS_CONTEXT__===void 0&&(Le.__DOCS_CONTEXT__=b.createContext(null),Le.__DOCS_CONTEXT__.displayName="DocsContext");var Ce=Le?Le.__DOCS_CONTEXT__:b.createContext(null),Vr=(e,t)=>b.useContext(Ce).resolveOf(e,t);function Lx(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function Dx(e,t){let r=cl([e],t);return r&&r[0]}function cl(e,t){let[r,n]=b.useState({});return b.useEffect(()=>{Promise.all(e.map(async o=>{let l=await t.loadStory(o);n(i=>i[o]===l?i:{...i,[o]:l})}))}),e.map(o=>{if(r[o])return r[o];try{return t.storyById(o)}catch{return null}})}function p0(e){return tE(e)}var f0=b.createContext({sources:{}}),m0="--unknown--",$x=({children:e,channel:t})=>{let[r,n]=b.useState({});return b.useEffect(()=>{let o=(l,i=null,u=!1)=>{let{id:s,args:c=void 0,source:d,format:m}=typeof l=="string"?{id:l,source:i,format:u}:l,f=c?p0(c):m0;n(p=>({...p,[s]:{...p[s],[f]:{code:d,format:m}}}))};return t.on(vl,o),()=>t.off(vl,o)},[]),a.createElement(f0.Provider,{value:{sources:r}},e)},Mx=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(Mx||{}),Bx=e=>{let t=e.map(r=>{var n,o;return(o=(n=r.parameters.docs)==null?void 0:n.source)==null?void 0:o.state}).filter(Boolean);return t.length===0?"closed":t[0]},Ix=(e,t,r)=>{let{sources:n}=r,o=n==null?void 0:n[e];return(o==null?void 0:o[p0(t)])||(o==null?void 0:o[m0])||{code:""}},Nx=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var s,c,d,m,f,p;let{__isArgsStory:o}=t.parameters,l=((s=t.parameters.docs)==null?void 0:s.source)||{},i=r||l.type||Xn.AUTO;if(l.code!==void 0)return l.code;let u=i===Xn.DYNAMIC||i===Xn.AUTO&&e&&o?e:l.originalSource||"";return l.transformSource&&pe(xe`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block `),(c=t.parameters.docs)!=null&&c.transformSource&&pe(xe`The \`transformSource\` parameter at \`parameters.docs.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. diff --git a/docs/assets/index-abb70d26.js b/docs/assets/index-b9536e2d.js similarity index 66% rename from docs/assets/index-abb70d26.js rename to docs/assets/index-b9536e2d.js index 2a1d2e5a..02b3bc43 100644 --- a/docs/assets/index-abb70d26.js +++ b/docs/assets/index-b9536e2d.js @@ -1 +1 @@ -import{j as n,t as q,a as D,F as g}from"./tw-merge-0a3648bd.js";import{r as N,R as _}from"./index-1b03fe98.js";import{c as I}from"./clsx.m-1229b3e0.js";import{B as V}from"./Button-e9ac0f78.js";const m=({children:e,color:a,size:l,button:r=!0,dataTheme:t,className:o,disabled:u,...d})=>n("label",{tabIndex:0,className:o,...d,children:r?n(V,{type:"button",dataTheme:t,color:a,size:l,disabled:u,children:e}):e}),c=N.forwardRef((e,a)=>n(V,{...e,ref:a,tag:"summary"})),T=m;try{c.displayName="Summary",c.__docgenInfo={description:"",displayName:"Summary",props:{color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"neutral"'},{value:'"primary"'},{value:'"secondary"'},{value:'"accent"'},{value:'"ghost"'},{value:'"info"'},{value:'"success"'},{value:'"warning"'},{value:'"error"'}]}},responsive:{defaultValue:null,description:"",name:"responsive",required:!1,type:{name:"boolean"}},dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"lg"'},{value:'"md"'},{value:'"sm"'},{value:'"xs"'}]}},shape:{defaultValue:null,description:"",name:"shape",required:!1,type:{name:"enum",value:[{value:'"circle"'},{value:'"square"'}]}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"link"'},{value:'"outline"'}]}},glass:{defaultValue:null,description:"",name:"glass",required:!1,type:{name:"boolean"}},startIcon:{defaultValue:null,description:"",name:"startIcon",required:!1,type:{name:"ReactNode"}},endIcon:{defaultValue:null,description:"",name:"endIcon",required:!1,type:{name:"ReactNode"}},wide:{defaultValue:null,description:"",name:"wide",required:!1,type:{name:"boolean"}},fullWidth:{defaultValue:null,description:"",name:"fullWidth",required:!1,type:{name:"boolean"}},animation:{defaultValue:null,description:"",name:"animation",required:!1,type:{name:"boolean"}},active:{defaultValue:null,description:"",name:"active",required:!1,type:{name:"boolean"}}}}}catch{}try{m.displayName="DropdownToggle",m.__docgenInfo={description:"",displayName:"DropdownToggle",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"neutral"'},{value:'"primary"'},{value:'"secondary"'},{value:'"accent"'},{value:'"ghost"'},{value:'"info"'},{value:'"success"'},{value:'"warning"'},{value:'"error"'}]}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"lg"'},{value:'"md"'},{value:'"sm"'},{value:'"xs"'}]}},button:{defaultValue:{value:"true"},description:"",name:"button",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const i=_.forwardRef(({children:e,className:a,horizontal:l,vertical:r,end:t,dataTheme:o,open:u,...d},p)=>n("details",{role:"listbox",...d,ref:p,"data-theme":o,className:s({className:a,horizontal:l,vertical:r,open:u,end:t}),open:u,children:e}));i.displayName="Details";const x=Object.assign(i,{Toggle:c});try{i.displayName="Details",i.__docgenInfo={description:"",displayName:"Details",props:{vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'}]}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'}]}},end:{defaultValue:null,description:"",name:"end",required:!1,type:{name:"boolean"}},dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},open:{defaultValue:null,description:"",name:"open",required:!1,type:{name:"boolean"}}}}}catch{}const f=({dataTheme:e,className:a,...l})=>{const r=q("dropdown-content menu p-2 shadow bg-base-100 rounded-box",a);return n("ul",{...l,tabIndex:0,"data-theme":e,className:r,role:"menu"})},z=f;try{f.displayName="DropdownMenu",f.__docgenInfo={description:"",displayName:"DropdownMenu",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}const y=_.forwardRef(({anchor:e=!0,...a},l)=>n("li",{role:"menuitem",children:e?n("a",{ref:l,...a}):a.children})),R=y;try{y.displayName="DropdownItem",y.__docgenInfo={description:"",displayName:"DropdownItem",props:{anchor:{defaultValue:{value:"true"},description:"",name:"anchor",required:!1,type:{name:"boolean"}}}}}catch{}const s=({className:e,horizontal:a,vertical:l,end:r,hover:t,open:o})=>q("dropdown",e,I({"dropdown-left":a==="left","dropdown-right":a==="right","dropdown-top":l==="top","dropdown-bottom":l==="bottom","dropdown-end":r,"dropdown-hover":t,"dropdown-open":o})),v=_.forwardRef(({children:e,className:a,item:l,horizontal:r,vertical:t,end:o,hover:u,open:d,dataTheme:p,...b},w)=>n("div",{role:"listbox",...b,ref:w,"data-theme":p,className:s({className:a,horizontal:r,vertical:t,end:o,hover:u,open:d}),children:l?D(g,{children:[n("label",{tabIndex:0,children:e}),n("ul",{className:"dropdown-content",children:l})]}):n(g,{children:e})})),h=Object.assign(v,{Details:x,Toggle:T,Menu:z,Item:R});try{s.displayName="classesFn",s.__docgenInfo={description:"",displayName:"classesFn",props:{vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'}]}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'}]}},end:{defaultValue:null,description:"",name:"end",required:!1,type:{name:"boolean"}},open:{defaultValue:null,description:"",name:"open",required:!1,type:{name:"boolean"}},hover:{defaultValue:null,description:"",name:"hover",required:!1,type:{name:"boolean"}}}}}catch{}try{v.displayName="Dropdown",v.__docgenInfo={description:"",displayName:"Dropdown",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},item:{defaultValue:null,description:"",name:"item",required:!1,type:{name:"ReactNode"}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'}]}},vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'}]}},end:{defaultValue:null,description:"",name:"end",required:!1,type:{name:"boolean"}},hover:{defaultValue:null,description:"",name:"hover",required:!1,type:{name:"boolean"}},open:{defaultValue:null,description:"",name:"open",required:!1,type:{name:"boolean"}}}}}catch{}try{h.displayName="Dropdown",h.__docgenInfo={description:"",displayName:"Dropdown",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},item:{defaultValue:null,description:"",name:"item",required:!1,type:{name:"ReactNode"}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'}]}},vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'}]}},end:{defaultValue:null,description:"",name:"end",required:!1,type:{name:"boolean"}},hover:{defaultValue:null,description:"",name:"hover",required:!1,type:{name:"boolean"}},open:{defaultValue:null,description:"",name:"open",required:!1,type:{name:"boolean"}}}}}catch{}export{h as D}; +import{j as n,t as q,a as D,F as g}from"./tw-merge-0a3648bd.js";import{r as N,R as _}from"./index-1b03fe98.js";import{c as I}from"./clsx.m-1229b3e0.js";import{B as V}from"./Button-0267a47f.js";const m=({children:e,color:a,size:l,button:r=!0,dataTheme:t,className:o,disabled:u,...d})=>n("label",{tabIndex:0,className:o,...d,children:r?n(V,{type:"button",dataTheme:t,color:a,size:l,disabled:u,children:e}):e}),c=N.forwardRef((e,a)=>n(V,{...e,ref:a,tag:"summary"})),T=m;try{c.displayName="Summary",c.__docgenInfo={description:"",displayName:"Summary",props:{color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"neutral"'},{value:'"primary"'},{value:'"secondary"'},{value:'"accent"'},{value:'"ghost"'},{value:'"info"'},{value:'"success"'},{value:'"warning"'},{value:'"error"'}]}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"lg"'},{value:'"md"'},{value:'"sm"'},{value:'"xs"'}]}},shape:{defaultValue:null,description:"",name:"shape",required:!1,type:{name:"enum",value:[{value:'"circle"'},{value:'"square"'}]}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"outline"'},{value:'"link"'}]}},glass:{defaultValue:null,description:"",name:"glass",required:!1,type:{name:"boolean"}},startIcon:{defaultValue:null,description:"",name:"startIcon",required:!1,type:{name:"ReactNode"}},endIcon:{defaultValue:null,description:"",name:"endIcon",required:!1,type:{name:"ReactNode"}},wide:{defaultValue:null,description:"",name:"wide",required:!1,type:{name:"boolean"}},fullWidth:{defaultValue:null,description:"",name:"fullWidth",required:!1,type:{name:"boolean"}},responsive:{defaultValue:null,description:"",name:"responsive",required:!1,type:{name:"boolean"}},animation:{defaultValue:null,description:"",name:"animation",required:!1,type:{name:"boolean"}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"boolean"}},active:{defaultValue:null,description:"",name:"active",required:!1,type:{name:"boolean"}},dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}try{m.displayName="DropdownToggle",m.__docgenInfo={description:"",displayName:"DropdownToggle",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"neutral"'},{value:'"primary"'},{value:'"secondary"'},{value:'"accent"'},{value:'"ghost"'},{value:'"info"'},{value:'"success"'},{value:'"warning"'},{value:'"error"'}]}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"lg"'},{value:'"md"'},{value:'"sm"'},{value:'"xs"'}]}},button:{defaultValue:{value:"true"},description:"",name:"button",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const i=_.forwardRef(({children:e,className:a,horizontal:l,vertical:r,end:t,dataTheme:o,open:u,...d},p)=>n("details",{role:"listbox",...d,ref:p,"data-theme":o,className:s({className:a,horizontal:l,vertical:r,open:u,end:t}),open:u,children:e}));i.displayName="Details";const x=Object.assign(i,{Toggle:c});try{i.displayName="Details",i.__docgenInfo={description:"",displayName:"Details",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'}]}},vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'}]}},open:{defaultValue:null,description:"",name:"open",required:!1,type:{name:"boolean"}},end:{defaultValue:null,description:"",name:"end",required:!1,type:{name:"boolean"}}}}}catch{}const f=({dataTheme:e,className:a,...l})=>{const r=q("dropdown-content menu p-2 shadow bg-base-100 rounded-box",a);return n("ul",{...l,tabIndex:0,"data-theme":e,className:r,role:"menu"})},z=f;try{f.displayName="DropdownMenu",f.__docgenInfo={description:"",displayName:"DropdownMenu",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}const y=_.forwardRef(({anchor:e=!0,...a},l)=>n("li",{role:"menuitem",children:e?n("a",{ref:l,...a}):a.children})),R=y;try{y.displayName="DropdownItem",y.__docgenInfo={description:"",displayName:"DropdownItem",props:{anchor:{defaultValue:{value:"true"},description:"",name:"anchor",required:!1,type:{name:"boolean"}}}}}catch{}const s=({className:e,horizontal:a,vertical:l,end:r,hover:t,open:o})=>q("dropdown",e,I({"dropdown-left":a==="left","dropdown-right":a==="right","dropdown-top":l==="top","dropdown-bottom":l==="bottom","dropdown-end":r,"dropdown-hover":t,"dropdown-open":o})),v=_.forwardRef(({children:e,className:a,item:l,horizontal:r,vertical:t,end:o,hover:u,open:d,dataTheme:p,...b},w)=>n("div",{role:"listbox",...b,ref:w,"data-theme":p,className:s({className:a,horizontal:r,vertical:t,end:o,hover:u,open:d}),children:l?D(g,{children:[n("label",{tabIndex:0,children:e}),n("ul",{className:"dropdown-content",children:l})]}):n(g,{children:e})})),h=Object.assign(v,{Details:x,Toggle:T,Menu:z,Item:R});try{s.displayName="classesFn",s.__docgenInfo={description:"",displayName:"classesFn",props:{horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'}]}},vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'}]}},open:{defaultValue:null,description:"",name:"open",required:!1,type:{name:"boolean"}},end:{defaultValue:null,description:"",name:"end",required:!1,type:{name:"boolean"}},hover:{defaultValue:null,description:"",name:"hover",required:!1,type:{name:"boolean"}}}}}catch{}try{v.displayName="Dropdown",v.__docgenInfo={description:"",displayName:"Dropdown",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},item:{defaultValue:null,description:"",name:"item",required:!1,type:{name:"ReactNode"}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'}]}},vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'}]}},end:{defaultValue:null,description:"",name:"end",required:!1,type:{name:"boolean"}},hover:{defaultValue:null,description:"",name:"hover",required:!1,type:{name:"boolean"}},open:{defaultValue:null,description:"",name:"open",required:!1,type:{name:"boolean"}}}}}catch{}try{h.displayName="Dropdown",h.__docgenInfo={description:"",displayName:"Dropdown",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},item:{defaultValue:null,description:"",name:"item",required:!1,type:{name:"ReactNode"}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'}]}},vertical:{defaultValue:null,description:"",name:"vertical",required:!1,type:{name:"enum",value:[{value:'"top"'},{value:'"bottom"'}]}},end:{defaultValue:null,description:"",name:"end",required:!1,type:{name:"boolean"}},hover:{defaultValue:null,description:"",name:"hover",required:!1,type:{name:"boolean"}},open:{defaultValue:null,description:"",name:"open",required:!1,type:{name:"boolean"}}}}}catch{}export{h as D}; diff --git a/docs/assets/index-1e3c83a2.js b/docs/assets/index-c01ba1f2.js similarity index 91% rename from docs/assets/index-1e3c83a2.js rename to docs/assets/index-c01ba1f2.js index 15648da4..57af2876 100644 --- a/docs/assets/index-1e3c83a2.js +++ b/docs/assets/index-c01ba1f2.js @@ -1 +1 @@ -import{t as m,j as r}from"./tw-merge-0a3648bd.js";import{R as t}from"./index-1b03fe98.js";import{c as u}from"./clsx.m-1229b3e0.js";const d=t.forwardRef(({children:a,section:e,dataTheme:n,className:s,style:o},c)=>{const v=m(s,u({"navbar-start":e==="start","navbar-center":e==="center","navbar-end":e==="end"}));return r("div",{"data-theme":n,className:v,style:o,ref:c,children:a})}),l=d;try{d.displayName="NavbarSection",d.__docgenInfo={description:"",displayName:"NavbarSection",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},section:{defaultValue:null,description:"",name:"section",required:!0,type:{name:"enum",value:[{value:'"start"'},{value:'"end"'},{value:'"center"'}]}}}}}catch{}const i=t.forwardRef(({children:a,dataTheme:e,className:n,...s},o)=>{const c=m("navbar",n);return r("div",{role:"navigation","aria-label":"Navbar",...s,"data-theme":e,className:c,ref:o,children:a})}),_=t.forwardRef((a,e)=>r(l,{...a,section:"start",ref:e})),f=t.forwardRef((a,e)=>r(l,{...a,section:"center",ref:e})),N=t.forwardRef((a,e)=>r(l,{...a,section:"end",ref:e})),p=Object.assign(i,{Start:_,Center:f,End:N});try{i.displayName="Navbar",i.__docgenInfo={description:"",displayName:"Navbar",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}try{p.displayName="Navbar",p.__docgenInfo={description:"",displayName:"Navbar",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}export{p as N}; +import{t as m,j as r}from"./tw-merge-0a3648bd.js";import{R as t}from"./index-1b03fe98.js";import{c as u}from"./clsx.m-1229b3e0.js";const d=t.forwardRef(({children:a,section:e,dataTheme:n,className:s,style:o},c)=>{const v=m(s,u({"navbar-start":e==="start","navbar-center":e==="center","navbar-end":e==="end"}));return r("div",{"data-theme":n,className:v,style:o,ref:c,children:a})}),l=d;try{d.displayName="NavbarSection",d.__docgenInfo={description:"",displayName:"NavbarSection",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},section:{defaultValue:null,description:"",name:"section",required:!0,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"start"'}]}}}}}catch{}const i=t.forwardRef(({children:a,dataTheme:e,className:n,...s},o)=>{const c=m("navbar",n);return r("div",{role:"navigation","aria-label":"Navbar",...s,"data-theme":e,className:c,ref:o,children:a})}),_=t.forwardRef((a,e)=>r(l,{...a,section:"start",ref:e})),f=t.forwardRef((a,e)=>r(l,{...a,section:"center",ref:e})),N=t.forwardRef((a,e)=>r(l,{...a,section:"end",ref:e})),p=Object.assign(i,{Start:_,Center:f,End:N});try{i.displayName="Navbar",i.__docgenInfo={description:"",displayName:"Navbar",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}try{p.displayName="Navbar",p.__docgenInfo={description:"",displayName:"Navbar",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}}}}}catch{}export{p as N}; diff --git a/docs/assets/preview-2faddd65.js b/docs/assets/preview-2faddd65.js new file mode 100644 index 00000000..38bcd97b --- /dev/null +++ b/docs/assets/preview-2faddd65.js @@ -0,0 +1 @@ +import{_ as e}from"./iframe-653d232b.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-1147b609.js"),["./DocsRenderer-NNNQARDV-1147b609.js","./iframe-653d232b.js","./index-1b03fe98.js","./react-18-5df836b6.js","./index-6fd5a17b.js","./index-8e1aaa9d.js","./chunk-ZGA76URP-2bd2442b.js","./index-d7bb098e.js","./index-356e4a49.js"],import.meta.url);return new r}}};export{a as parameters}; diff --git a/docs/assets/preview-42bbc794.js b/docs/assets/preview-4cd81478.js similarity index 99% rename from docs/assets/preview-42bbc794.js rename to docs/assets/preview-4cd81478.js index 0552a060..750d8a74 100644 --- a/docs/assets/preview-42bbc794.js +++ b/docs/assets/preview-4cd81478.js @@ -1,4 +1,4 @@ -import{a as G,j as k}from"./tw-merge-0a3648bd.js";import{r as W}from"./index-1b03fe98.js";import{C as X}from"./CodeMockup-5ec72808.js";import{N as V}from"./index-1e3c83a2.js";import{T as Y}from"./index-eb20e8d5.js";import{a as ne}from"./index-147f7280.js";import{u as re,S as ie,D as se,T as oe}from"./useGlobalTheme-d47a597b.js";import{c as le}from"./chunk-ZGA76URP-2bd2442b.js";import"./clsx.m-1229b3e0.js";import"./constants-fe73bc72.js";/** +import{a as G,j as k}from"./tw-merge-0a3648bd.js";import{r as W}from"./index-1b03fe98.js";import{C as X}from"./CodeMockup-5ec72808.js";import{N as V}from"./index-c01ba1f2.js";import{T as Y}from"./index-eb20e8d5.js";import{a as ne}from"./index-147f7280.js";import{u as re,S as ie,D as se,T as oe}from"./useGlobalTheme-d47a597b.js";import{c as le}from"./chunk-ZGA76URP-2bd2442b.js";import"./clsx.m-1229b3e0.js";import"./constants-fe73bc72.js";/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT diff --git a/docs/assets/preview-e118a341.js b/docs/assets/preview-e118a341.js deleted file mode 100644 index 46f2994e..00000000 --- a/docs/assets/preview-e118a341.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./iframe-19c7c3ad.js";import"../sb-preview/runtime.js";var a={docs:{renderer:async()=>{let{DocsRenderer:r}=await e(()=>import("./DocsRenderer-NNNQARDV-d9907032.js"),["./DocsRenderer-NNNQARDV-d9907032.js","./iframe-19c7c3ad.js","./index-1b03fe98.js","./react-18-5df836b6.js","./index-6fd5a17b.js","./index-21c4db47.js","./chunk-ZGA76URP-2bd2442b.js","./index-d7bb098e.js","./index-356e4a49.js"],import.meta.url);return new r}}};export{a as parameters}; diff --git a/docs/assets/syntaxhighlighter-V7JZZA35-554d6b8b.js b/docs/assets/syntaxhighlighter-V7JZZA35-526e8144.js similarity index 62% rename from docs/assets/syntaxhighlighter-V7JZZA35-554d6b8b.js rename to docs/assets/syntaxhighlighter-V7JZZA35-526e8144.js index 437f945a..5f0f2c0e 100644 --- a/docs/assets/syntaxhighlighter-V7JZZA35-554d6b8b.js +++ b/docs/assets/syntaxhighlighter-V7JZZA35-526e8144.js @@ -1 +1 @@ -import{S as c,c as l,s as n}from"./index-21c4db47.js";import"./iframe-19c7c3ad.js";import"../sb-preview/runtime.js";import"./chunk-ZGA76URP-2bd2442b.js";import"./index-1b03fe98.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";export{c as SyntaxHighlighter,l as createCopyToClipboardFunction,n as default}; +import{S as c,c as l,s as n}from"./index-8e1aaa9d.js";import"./iframe-653d232b.js";import"../sb-preview/runtime.js";import"./chunk-ZGA76URP-2bd2442b.js";import"./index-1b03fe98.js";import"./index-6fd5a17b.js";import"./index-d7bb098e.js";import"./index-356e4a49.js";export{c as SyntaxHighlighter,l as createCopyToClipboardFunction,n as default}; diff --git a/docs/iframe.html b/docs/iframe.html index ace69c88..43a7020b 100644 --- a/docs/iframe.html +++ b/docs/iframe.html @@ -364,7 +364,7 @@ } - + diff --git a/docs/project.json b/docs/project.json index 9c63d987..086b0d99 100644 --- a/docs/project.json +++ b/docs/project.json @@ -1 +1 @@ -{"generatedAt":1701204081575,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"9.9.2"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"7.6.0","storybookVersionSpecifier":"^7.1.1","language":"typescript","storybookPackages":{"@storybook/addon-links":{"version":"7.6.0"},"@storybook/react":{"version":"7.6.0"},"@storybook/react-vite":{"version":"7.6.0"},"storybook":{"version":"7.6.0"}},"addons":{"@storybook/addon-styling":{"version":"1.3.7"},"@storybook/addon-essentials":{"options":{"backgrounds":false},"version":"7.6.0"}}} +{"generatedAt":1704132709521,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"9.9.2"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"7.6.0","storybookVersionSpecifier":"^7.1.1","language":"typescript","storybookPackages":{"@storybook/addon-links":{"version":"7.6.0"},"@storybook/react":{"version":"7.6.0"},"@storybook/react-vite":{"version":"7.6.0"},"storybook":{"version":"7.6.0"}},"addons":{"@storybook/addon-styling":{"version":"1.3.7"},"@storybook/addon-essentials":{"options":{"backgrounds":false},"version":"7.6.0"}}} diff --git a/package-lock.json b/package-lock.json index 9b0013a2..95c12a76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-daisyui", - "version": "5.0.0", + "version": "5.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "react-daisyui", - "version": "5.0.0", + "version": "5.0.1", "license": "MIT", "devDependencies": { "@babel/core": "^7.16.0", diff --git a/package.json b/package.json index 2cb2a7d9..c321dfcd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-daisyui", - "version": "5.0.0", + "version": "5.0.1", "description": "react-daisyui - DaisyUI components built with React 🌼", "author": "daisyui", "license": "MIT",