diff --git a/demo-1732-error-on-icon-prop/c943835fd32ee25f450474e262736d99d71ef62d.txt b/demo-1732-error-on-icon-prop/1ffb676d71939bb78ce0821a2ddc04b0e4e782aa.txt similarity index 100% rename from demo-1732-error-on-icon-prop/c943835fd32ee25f450474e262736d99d71ef62d.txt rename to demo-1732-error-on-icon-prop/1ffb676d71939bb78ce0821a2ddc04b0e4e782aa.txt diff --git a/demo-1732-error-on-icon-prop/assets/Accordion.docs-Bl0HEu-d.js b/demo-1732-error-on-icon-prop/assets/Accordion.docs-B812VCDt.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/Accordion.docs-Bl0HEu-d.js rename to demo-1732-error-on-icon-prop/assets/Accordion.docs-B812VCDt.js index d9d2bf89b3..13f6c75da1 100644 --- a/demo-1732-error-on-icon-prop/assets/Accordion.docs-Bl0HEu-d.js +++ b/demo-1732-error-on-icon-prop/assets/Accordion.docs-B812VCDt.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as a}from"./index-BSj771as.js";import{ae as i,aq as r,ar as c,as as d,at as o}from"./index-fGKZZBv1.js";import{A as h,E as l,R as m}from"./Accordion.stories-BcDWirK7.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./exampleContent-hIIPvEhU.js";import"./getHeadingTag-Dv1eMqvl.js";import"./Icon-D1obyjGa.js";import"./useKeyboardFocus-CRUFsA_C.js";const p=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as a}from"./index-BSj771as.js";import{ae as i,aq as r,ar as c,as as d,at as o}from"./index-Cnpsjyel.js";import{A as h,E as l,R as m}from"./Accordion.stories-Ci2N4QHF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./exampleContent-hIIPvEhU.js";import"./getHeadingTag-Dv1eMqvl.js";import"./Icon-D1obyjGa.js";import"./useKeyboardFocus-CRUFsA_C.js";const p=` # Accordion diff --git a/demo-1732-error-on-icon-prop/assets/Accordion.stories-BcDWirK7.js b/demo-1732-error-on-icon-prop/assets/Accordion.stories-Ci2N4QHF.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Accordion.stories-BcDWirK7.js rename to demo-1732-error-on-icon-prop/assets/Accordion.stories-Ci2N4QHF.js index 9800ae984d..04e46f2203 100644 --- a/demo-1732-error-on-icon-prop/assets/Accordion.stories-BcDWirK7.js +++ b/demo-1732-error-on-icon-prop/assets/Accordion.stories-Ci2N4QHF.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as n}from"./index.esm-jyjgLnxG.js";import{b as x,g as S}from"./exampleContent-hIIPvEhU.js";import{c as u}from"./clsx-B-dksMZM.js";import{r}from"./index-B-o1Wr-g.js";import{s as K}from"./index.esm-DoGgRjwu.js";import{g as M}from"./getHeadingTag-Dv1eMqvl.js";import{I as F}from"./Icon-D1obyjGa.js";import{u as W}from"./useKeyboardFocus-CRUFsA_C.js";/** +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as n}from"./index.esm-DEmhLKYr.js";import{b as x,g as S}from"./exampleContent-hIIPvEhU.js";import{c as u}from"./clsx-B-dksMZM.js";import{r}from"./index-B-o1Wr-g.js";import{s as K}from"./index.esm-DoGgRjwu.js";import{g as M}from"./getHeadingTag-Dv1eMqvl.js";import{I as F}from"./Icon-D1obyjGa.js";import{u as W}from"./useKeyboardFocus-CRUFsA_C.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const G={headingLevel:1,sectionAs:"section"},H=r.createContext(G);try{Context.displayName="Context",Context.__docgenInfo={description:`Context lets components pass information deep down without explicitly diff --git a/demo-1732-error-on-icon-prop/assets/ActionGroup.docs-Bb2Oca6E.js b/demo-1732-error-on-icon-prop/assets/ActionGroup.docs-o0dSu3jS.js similarity index 86% rename from demo-1732-error-on-icon-prop/assets/ActionGroup.docs-Bb2Oca6E.js rename to demo-1732-error-on-icon-prop/assets/ActionGroup.docs-o0dSu3jS.js index f70e226e35..53610c6251 100644 --- a/demo-1732-error-on-icon-prop/assets/ActionGroup.docs-Bb2Oca6E.js +++ b/demo-1732-error-on-icon-prop/assets/ActionGroup.docs-o0dSu3jS.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as a,aq as s,ar as h,at as e}from"./index-fGKZZBv1.js";import{A as c,S as l,W as d}from"./ActionGroup.stories-DTegxGdB.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const p=` +import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as a,aq as s,ar as h,at as e}from"./index-Cnpsjyel.js";import{A as c,S as l,W as d}from"./ActionGroup.stories-DdTjDTRD.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const p=` # Action Group diff --git a/demo-1732-error-on-icon-prop/assets/ActionGroup.stories-DTegxGdB.js b/demo-1732-error-on-icon-prop/assets/ActionGroup.stories-DdTjDTRD.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/ActionGroup.stories-DTegxGdB.js rename to demo-1732-error-on-icon-prop/assets/ActionGroup.stories-DdTjDTRD.js index 7c183be4e0..bf40b3b088 100644 --- a/demo-1732-error-on-icon-prop/assets/ActionGroup.stories-DTegxGdB.js +++ b/demo-1732-error-on-icon-prop/assets/ActionGroup.stories-DdTjDTRD.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{a as t,L as _}from"./index.esm-jyjgLnxG.js";import{c as x}from"./clsx-B-dksMZM.js";import{r as S}from"./index-B-o1Wr-g.js";const n=S.forwardRef(({children:s,className:j,...y},f)=>e.jsx("div",{...y,ref:f,className:x("ams-action-group",j),role:"group",children:s}));n.displayName="ActionGroup";try{n.displayName="ActionGroup",n.__docgenInfo={description:"",displayName:"ActionGroup",props:{}}}catch{}const k={title:"Components/Layout/Action Group",component:n,args:{children:[e.jsx(t,{children:"Doorgaan"}),e.jsx(t,{variant:"tertiary",children:"Stoppen"})]}},r={},o={args:{children:[e.jsx(t,{children:"Adres wijzigen"}),e.jsx(t,{variant:"secondary",children:"Adres verwijderen"})],className:"ams-resize-horizontal",style:{inlineSize:"16rem"}}},a={args:{children:[e.jsx(t,{children:"Bewerken"},1),e.jsx(_,{download:!0,href:"#",variant:"standalone",children:"Downloaden"},2)]}};var i,c,d;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:"{}",...(d=(c=r.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};var l,p,m;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{a as t,L as _}from"./index.esm-DEmhLKYr.js";import{c as x}from"./clsx-B-dksMZM.js";import{r as S}from"./index-B-o1Wr-g.js";const n=S.forwardRef(({children:s,className:j,...y},f)=>e.jsx("div",{...y,ref:f,className:x("ams-action-group",j),role:"group",children:s}));n.displayName="ActionGroup";try{n.displayName="ActionGroup",n.__docgenInfo={description:"",displayName:"ActionGroup",props:{}}}catch{}const k={title:"Components/Layout/Action Group",component:n,args:{children:[e.jsx(t,{children:"Doorgaan"}),e.jsx(t,{variant:"tertiary",children:"Stoppen"})]}},r={},o={args:{children:[e.jsx(t,{children:"Adres wijzigen"}),e.jsx(t,{variant:"secondary",children:"Adres verwijderen"})],className:"ams-resize-horizontal",style:{inlineSize:"16rem"}}},a={args:{children:[e.jsx(t,{children:"Bewerken"},1),e.jsx(_,{download:!0,href:"#",variant:"standalone",children:"Downloaden"},2)]}};var i,c,d;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:"{}",...(d=(c=r.parameters)==null?void 0:c.docs)==null?void 0:d.source}}};var l,p,m;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`{ args: { children: [, ], className: 'ams-resize-horizontal', diff --git a/demo-1732-error-on-icon-prop/assets/Alert.docs-B9kZ7sHv.js b/demo-1732-error-on-icon-prop/assets/Alert.docs-CWgInLgR.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/Alert.docs-B9kZ7sHv.js rename to demo-1732-error-on-icon-prop/assets/Alert.docs-CWgInLgR.js index b85c30e98d..5074587e99 100644 --- a/demo-1732-error-on-icon-prop/assets/Alert.docs-B9kZ7sHv.js +++ b/demo-1732-error-on-icon-prop/assets/Alert.docs-CWgInLgR.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as o,aq as a,ar as c,as as h,at as i}from"./index-fGKZZBv1.js";import{A as l,W as d,E as m,S as p,I as f,a as u,b as x,c as g}from"./Alert.stories-CB_ZUHia.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Alert-Cj2Qy2vp.js";import"./Icon-D1obyjGa.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-D2q6GTZc.js";const j=` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as o,aq as a,ar as c,as as h,at as i}from"./index-Cnpsjyel.js";import{A as l,W as d,E as m,S as p,I as f,a as u,b as x,c as g}from"./Alert.stories-G7yZpdFl.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Alert-Cj2Qy2vp.js";import"./Icon-D1obyjGa.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-D2q6GTZc.js";const j=` # Alert diff --git a/demo-1732-error-on-icon-prop/assets/Alert.stories-CB_ZUHia.js b/demo-1732-error-on-icon-prop/assets/Alert.stories-G7yZpdFl.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Alert.stories-CB_ZUHia.js rename to demo-1732-error-on-icon-prop/assets/Alert.stories-G7yZpdFl.js index 2b5400f343..1726f508b7 100644 --- a/demo-1732-error-on-icon-prop/assets/Alert.stories-CB_ZUHia.js +++ b/demo-1732-error-on-icon-prop/assets/Alert.stories-G7yZpdFl.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as n,U as g,L as A}from"./index.esm-jyjgLnxG.js";import{A as E}from"./Alert-Cj2Qy2vp.js";const H={title:"Components/Feedback/Alert",component:E,args:{closeable:!1,heading:"Let op"}},r={args:{children:e.jsx(n,{children:"Tijdens Koningsdag zijn alle Stadsloketten gesloten. Ook 14 020 en alle andere telefoonnummers van de gemeente zijn niet bereikbaar."})}},a={args:{children:e.jsx(n,{children:"U bent vergeten verplichte velden in te vullen."}),heading:"Vul de gegevens aan"}},s={args:{children:e.jsx(n,{children:"Wegens een technische fout kon het formulier niet worden verzonden. We hebben uw gegevens niet ontvangen. Probeer het over een paar minuten opnieuw."}),heading:"Niet gelukt",severity:"error"}},t={args:{children:e.jsx(n,{children:"Het formulier is verzonden. We hebben uw gegevens goed ontvangen."}),closeable:!0,heading:"Gelukt",severity:"success"}},o={args:{children:e.jsx(n,{children:"Tijdens de hijswerkzaamheden geldt er een korte verkeersstop. We zetten verkeersregelaars in, volg hun aanwijzingen op. De verkeersstop duurt ongeveer 10 minuten."}),closeable:!0,severity:"info"}},i={args:{children:[e.jsx(n,{children:"U bent vergeten de volgende verplichte velden in te vullen:"},1),e.jsxs(g,{children:[e.jsx(g.Item,{children:"Naam"}),e.jsx(g.Item,{children:"Telefoonnummer"})]},2)],heading:"Vul de gegevens aan"}},d={args:{children:e.jsxs(n,{children:["Tijdens Koningsdag zijn"," ",e.jsx(A,{variant:"inline",href:"#",children:"alle Stadsloketten"})," ","gesloten. Ook 14 020 en alle andere telefoonnummers van de gemeente zijn niet bereikbaar."]}),severity:"info"}},l={args:{children:e.jsx(n,{children:"De geschatte wachttijd in de adreszoeker klopt momenteel niet altijd. We werken aan een oplossing."}),heading:void 0}};var c,h,m;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as n,U as g,L as A}from"./index.esm-DEmhLKYr.js";import{A as E}from"./Alert-Cj2Qy2vp.js";const H={title:"Components/Feedback/Alert",component:E,args:{closeable:!1,heading:"Let op"}},r={args:{children:e.jsx(n,{children:"Tijdens Koningsdag zijn alle Stadsloketten gesloten. Ook 14 020 en alle andere telefoonnummers van de gemeente zijn niet bereikbaar."})}},a={args:{children:e.jsx(n,{children:"U bent vergeten verplichte velden in te vullen."}),heading:"Vul de gegevens aan"}},s={args:{children:e.jsx(n,{children:"Wegens een technische fout kon het formulier niet worden verzonden. We hebben uw gegevens niet ontvangen. Probeer het over een paar minuten opnieuw."}),heading:"Niet gelukt",severity:"error"}},t={args:{children:e.jsx(n,{children:"Het formulier is verzonden. We hebben uw gegevens goed ontvangen."}),closeable:!0,heading:"Gelukt",severity:"success"}},o={args:{children:e.jsx(n,{children:"Tijdens de hijswerkzaamheden geldt er een korte verkeersstop. We zetten verkeersregelaars in, volg hun aanwijzingen op. De verkeersstop duurt ongeveer 10 minuten."}),closeable:!0,severity:"info"}},i={args:{children:[e.jsx(n,{children:"U bent vergeten de volgende verplichte velden in te vullen:"},1),e.jsxs(g,{children:[e.jsx(g.Item,{children:"Naam"}),e.jsx(g.Item,{children:"Telefoonnummer"})]},2)],heading:"Vul de gegevens aan"}},d={args:{children:e.jsxs(n,{children:["Tijdens Koningsdag zijn"," ",e.jsx(A,{variant:"inline",href:"#",children:"alle Stadsloketten"})," ","gesloten. Ook 14 020 en alle andere telefoonnummers van de gemeente zijn niet bereikbaar."]}),severity:"info"}},l={args:{children:e.jsx(n,{children:"De geschatte wachttijd in de adreszoeker klopt momenteel niet altijd. We werken aan een oplossing."}),heading:void 0}};var c,h,m;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:`{ args: { children: Tijdens Koningsdag zijn alle Stadsloketten gesloten. Ook 14 020 en alle andere telefoonnummers van de gemeente diff --git a/demo-1732-error-on-icon-prop/assets/AppIcons-Dtqr_rt6.js b/demo-1732-error-on-icon-prop/assets/AppIcons-DitZmZ8_.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/AppIcons-Dtqr_rt6.js rename to demo-1732-error-on-icon-prop/assets/AppIcons-DitZmZ8_.js index ac4f85faa3..b80543570f 100644 --- a/demo-1732-error-on-icon-prop/assets/AppIcons-Dtqr_rt6.js +++ b/demo-1732-error-on-icon-prop/assets/AppIcons-DitZmZ8_.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime-j_jdvEMj.js";import{I as i}from"./index.esm-jyjgLnxG.js";const o=()=>s.jsx("div",{className:"ams-docs-gallery",children:s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"favicon/apple-touch-icon.png",width:180,height:180}),s.jsx("figcaption",{children:"apple-touch-icon.png (180px)"})]})}),e=()=>s.jsxs("div",{className:"ams-docs-gallery",children:[s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"favicon/favicon.ico",width:16,height:16}),s.jsx("figcaption",{children:"favicon.ico (16px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"favicon/favicon.ico",width:32,height:32}),s.jsx("figcaption",{children:"favicon.ico (32px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"favicon/favicon.ico",width:48,height:48}),s.jsx("figcaption",{children:"favicon.ico (48px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"favicon/favicon.ico",width:64,height:64}),s.jsx("figcaption",{children:"favicon.ico (64px)"})]})]}),n=()=>s.jsx("div",{className:"ams-docs-gallery",children:s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"favicon/icon.svg",width:64,height:64}),s.jsx("figcaption",{children:"icon.svg (64px)"})]})}),r=()=>s.jsxs("div",{className:"ams-docs-gallery",children:[s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"app-icons/icon-192.png",width:192,height:192}),s.jsx("figcaption",{children:"icon-192.png (192px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"app-icons/icon-512.png",width:512,height:512}),s.jsx("figcaption",{children:"icon-512.png (512px)"})]})]});export{o as A,e as F,n as S,r as W}; +import{j as s}from"./jsx-runtime-j_jdvEMj.js";import{I as i}from"./index.esm-DEmhLKYr.js";const o=()=>s.jsx("div",{className:"ams-docs-gallery",children:s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"favicon/apple-touch-icon.png",width:180,height:180}),s.jsx("figcaption",{children:"apple-touch-icon.png (180px)"})]})}),e=()=>s.jsxs("div",{className:"ams-docs-gallery",children:[s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"favicon/favicon.ico",width:16,height:16}),s.jsx("figcaption",{children:"favicon.ico (16px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"favicon/favicon.ico",width:32,height:32}),s.jsx("figcaption",{children:"favicon.ico (32px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"favicon/favicon.ico",width:48,height:48}),s.jsx("figcaption",{children:"favicon.ico (48px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"favicon/favicon.ico",width:64,height:64}),s.jsx("figcaption",{children:"favicon.ico (64px)"})]})]}),n=()=>s.jsx("div",{className:"ams-docs-gallery",children:s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"favicon/icon.svg",width:64,height:64}),s.jsx("figcaption",{children:"icon.svg (64px)"})]})}),r=()=>s.jsxs("div",{className:"ams-docs-gallery",children:[s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"app-icons/icon-192.png",width:192,height:192}),s.jsx("figcaption",{children:"icon-192.png (192px)"})]}),s.jsxs("figure",{className:"ams-docs-figure",children:[s.jsx(i,{src:"app-icons/icon-512.png",width:512,height:512}),s.jsx("figcaption",{children:"icon-512.png (512px)"})]})]});export{o as A,e as F,n as S,r as W}; diff --git a/demo-1732-error-on-icon-prop/assets/ArticlePage.docs-D_ZO0x2o.js b/demo-1732-error-on-icon-prop/assets/ArticlePage.docs-CkVZciku.js similarity index 72% rename from demo-1732-error-on-icon-prop/assets/ArticlePage.docs-D_ZO0x2o.js rename to demo-1732-error-on-icon-prop/assets/ArticlePage.docs-CkVZciku.js index 806d188faf..0e2c47baa2 100644 --- a/demo-1732-error-on-icon-prop/assets/ArticlePage.docs-D_ZO0x2o.js +++ b/demo-1732-error-on-icon-prop/assets/ArticlePage.docs-CkVZciku.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as m}from"./index-BSj771as.js";import{ae as e}from"./index-fGKZZBv1.js";import{A as n}from"./ArticlePage.stories-BfsH0ODX.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Image.stories-C6o__ADK.js";import"./Image-9n1GiQZ0.js";import"./config-BBOtvoZc.js";import"./PageMenu.stories-BCcfa8-E.js";import"./Icon-D1obyjGa.js";import"./Footer.stories-CB9baubF.js";import"./Spotlight-iwYL-F79.js";/*@license CC0-1.0*/function i(o){const r={h1:"h1",p:"p",...m(),...o.components};return t.jsxs(t.Fragment,{children:[` +import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as m}from"./index-BSj771as.js";import{ae as e}from"./index-Cnpsjyel.js";import{A as n}from"./ArticlePage.stories-ZGx9nU2q.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Image.stories-C6o__ADK.js";import"./Image-9n1GiQZ0.js";import"./config-aPKURfrr.js";import"./PageMenu.stories-BCcfa8-E.js";import"./Icon-D1obyjGa.js";import"./Footer.stories-C2lX89Aa.js";import"./Spotlight-iwYL-F79.js";/*@license CC0-1.0*/function i(o){const r={h1:"h1",p:"p",...m(),...o.components};return t.jsxs(t.Fragment,{children:[` `,` `,t.jsx(e,{of:n}),` `,t.jsx(r.h1,{id:"article-page",children:"Article page"}),` diff --git a/demo-1732-error-on-icon-prop/assets/ArticlePage.stories-BfsH0ODX.js b/demo-1732-error-on-icon-prop/assets/ArticlePage.stories-ZGx9nU2q.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/ArticlePage.stories-BfsH0ODX.js rename to demo-1732-error-on-icon-prop/assets/ArticlePage.stories-ZGx9nU2q.js index 2075704df0..c9cce4953b 100644 --- a/demo-1732-error-on-icon-prop/assets/ArticlePage.stories-BfsH0ODX.js +++ b/demo-1732-error-on-icon-prop/assets/ArticlePage.stories-ZGx9nU2q.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as a,P as t,u as z,C as g,H as i,U as r,L as h,q as j,k as m,O as y,h as _,I}from"./index.esm-jyjgLnxG.js";import{L}from"./Image.stories-C6o__ADK.js";import{c as A}from"./config-BBOtvoZc.js";const u=({lead:n,paragraph1:s,spotlightHeading:o,spotlightLinkLabel:l})=>e.jsxs(e.Fragment,{children:[e.jsx(a,{paddingVertical:"medium",children:e.jsxs(a.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:[e.jsx(t,{className:"ams-mb--md",size:"large",children:n}),e.jsx(t,{children:s})]})}),e.jsx(z,{as:"section",color:"purple",children:e.jsx(a,{paddingTop:"medium",paddingBottom:"large",children:e.jsx(a.Cell,{span:{narrow:4,medium:6,wide:8},start:{narrow:1,medium:2,wide:3},children:e.jsxs(g,{gap:"small",children:[e.jsx(i,{inverseColor:!0,level:2,children:o}),e.jsxs(r,{inverseColor:!0,children:[e.jsx(r.Item,{children:"Vraag uw paspoort of ID-kaart aan bij een Stadsloket in Amsterdam."}),e.jsx(r.Item,{children:"U kunt elke dag langskomen van 9.00 uur tot 17.00 uur en op donderdag tot 20.00 uur."}),e.jsx(r.Item,{children:"Op amsterdam.nl/paspoort staat wat u mee moet nemen."}),e.jsx(r.Item,{children:"Laat aan het loket bij uw aanvraag weten dat u kiest voor gratis bezorgen."}),e.jsx(r.Item,{children:"Als uw paspoort of ID-kaart klaar is, krijgt u een e-mail en sms-bericht met inloggegevens. Met deze inloggegevens kunt u zelf inplannen wanneer u uw reisdocument bezorgd wilt hebben."})]}),e.jsx(t,{inverseColor:!0,children:e.jsx(h,{href:"https://amsterdam.nl/paspoort/",inverseColor:!0,children:l})})]})})})}),e.jsx(a,{paddingVertical:"medium",children:e.jsx(a.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:e.jsxs(g,{children:[e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Wanneer bezorgen we"}),e.jsx(t,{children:"We bezorgen op werkdagen en zaterdag tussen 8.00 en 18.00 uur. De ene week bezorgen wij op dinsdag en donderdag ook tot 21.00 uur en de andere week op woensdag tot 21.00 uur."})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Tekenen voor ontvangst"}),e.jsx(t,{children:"Zorg dat u thuis bent om uw paspoort of ID-kaart te ontvangen. Bij bezorging voor meerdere personen moeten alle personen aanwezig zijn. Ook kinderen vanaf 12 jaar moeten tekenen voor ontvangst. Tot 12 jaar tekent de ouder of wettelijk vertegenwoordiger van het kind."})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Bezorgen met waarde-transport"}),e.jsxs(t,{children:["De gemeente laat uw paspoort of ID-kaart bezorgen met een waarde-transport. Op"," ",e.jsx(h,{href:"https://mijnafspraak.nl/",children:"mijnafspraak.nl"})," ziet u wie er langskomt. De pasfoto van de medewerker is vanaf 8.00 uur zichtbaar. De bezorger controleert bij aankomst uw identiteit en geeft u het nieuwe reisdocument. U geeft uw oude reisdocument aan de bezorger. De bezorger maakt uw oude reisdocument ongeldig waar u bij bent. Daarna mag u het zelf houden of meegeven aan de bezorger, die het vernietigt."]})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Wanneer kan bezorgen niet?"}),e.jsxs(r,{children:[e.jsx(r.Item,{children:"Bij een spoedaanvraag."}),e.jsx(r.Item,{children:"Als u een geldig visum in uw paspoort hebt dat u nog wilt gebruiken."}),e.jsx(r.Item,{children:"Als u het oude reisdocument kwijt bent."}),e.jsx(r.Item,{children:"Als u op een van de Waddeneilanden woont. Daar bezorgen we niet."})]})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Meer weten"}),e.jsx(j,{children:e.jsx(j.Link,{href:"https://amsterdam.nl/paspoort/",children:"amsterdam.nl/paspoort"})})]})]})})})]});try{u.displayName="ArticleBody",u.__docgenInfo={description:"",displayName:"ArticleBody",props:{lead:{defaultValue:null,description:"",name:"lead",required:!0,type:{name:"string"}},paragraph1:{defaultValue:null,description:"",name:"paragraph1",required:!0,type:{name:"string"}},spotlightHeading:{defaultValue:null,description:"",name:"spotlightHeading",required:!0,type:{name:"string"}},spotlightLinkLabel:{defaultValue:null,description:"",name:"spotlightLinkLabel",required:!0,type:{name:"string"}}}}}catch{}const D=()=>e.jsx(a,{paddingTop:"small",children:e.jsx(a.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:e.jsxs(m,{children:[e.jsx(m.Link,{href:"#",children:"Home"}),e.jsx(m.Link,{href:"#",children:"Nieuws"})]})})}),c=({heading:n,imageSrc:s})=>e.jsxs("header",{children:[e.jsx(a,{paddingBottom:"medium",children:e.jsxs(a.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:[e.jsx(i,{className:"ams-mb--sm",children:n}),e.jsx(t,{size:"small",children:"7 juni 2024"})]})}),e.jsx(y,{children:e.jsx(_,{ratio:"2x-wide",children:e.jsx(I,{alt:"",loading:"lazy",src:s})})})]});try{c.displayName="ArticleHeader",c.__docgenInfo={description:"",displayName:"ArticleHeader",props:{heading:{defaultValue:null,description:"",name:"heading",required:!0,type:{name:"string"}},imageSrc:{defaultValue:null,description:"",name:"imageSrc",required:!0,type:{name:"string"}}}}}catch{}const p=({heading:n,imageSrc:s,lead:o,paragraph1:l,spotlightHeading:b,spotlightLinkLabel:v})=>e.jsxs(e.Fragment,{children:[e.jsx(D,{}),e.jsxs("main",{id:"main",children:[e.jsx(c,{heading:n,imageSrc:s}),e.jsx(u,{lead:o,paragraph1:l,spotlightHeading:b,spotlightLinkLabel:v})]})]});try{p.displayName="ArticlePage",p.__docgenInfo={description:"",displayName:"ArticlePage",props:{heading:{defaultValue:null,description:"",name:"heading",required:!0,type:{name:"string"}},imageSrc:{defaultValue:null,description:"",name:"imageSrc",required:!0,type:{name:"string"}},lead:{defaultValue:null,description:"",name:"lead",required:!0,type:{name:"string"}},paragraph1:{defaultValue:null,description:"",name:"paragraph1",required:!0,type:{name:"string"}},spotlightHeading:{defaultValue:null,description:"",name:"spotlightHeading",required:!0,type:{name:"string"}},spotlightLinkLabel:{defaultValue:null,description:"",name:"spotlightLinkLabel",required:!0,type:{name:"string"}}}}}catch{}/** +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as a,P as t,u as z,C as g,H as i,U as r,L as h,q as j,k as m,O as y,h as _,I}from"./index.esm-DEmhLKYr.js";import{L}from"./Image.stories-C6o__ADK.js";import{c as A}from"./config-aPKURfrr.js";const u=({lead:n,paragraph1:s,spotlightHeading:o,spotlightLinkLabel:l})=>e.jsxs(e.Fragment,{children:[e.jsx(a,{paddingVertical:"medium",children:e.jsxs(a.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:[e.jsx(t,{className:"ams-mb--md",size:"large",children:n}),e.jsx(t,{children:s})]})}),e.jsx(z,{as:"section",color:"purple",children:e.jsx(a,{paddingTop:"medium",paddingBottom:"large",children:e.jsx(a.Cell,{span:{narrow:4,medium:6,wide:8},start:{narrow:1,medium:2,wide:3},children:e.jsxs(g,{gap:"small",children:[e.jsx(i,{inverseColor:!0,level:2,children:o}),e.jsxs(r,{inverseColor:!0,children:[e.jsx(r.Item,{children:"Vraag uw paspoort of ID-kaart aan bij een Stadsloket in Amsterdam."}),e.jsx(r.Item,{children:"U kunt elke dag langskomen van 9.00 uur tot 17.00 uur en op donderdag tot 20.00 uur."}),e.jsx(r.Item,{children:"Op amsterdam.nl/paspoort staat wat u mee moet nemen."}),e.jsx(r.Item,{children:"Laat aan het loket bij uw aanvraag weten dat u kiest voor gratis bezorgen."}),e.jsx(r.Item,{children:"Als uw paspoort of ID-kaart klaar is, krijgt u een e-mail en sms-bericht met inloggegevens. Met deze inloggegevens kunt u zelf inplannen wanneer u uw reisdocument bezorgd wilt hebben."})]}),e.jsx(t,{inverseColor:!0,children:e.jsx(h,{href:"https://amsterdam.nl/paspoort/",inverseColor:!0,children:l})})]})})})}),e.jsx(a,{paddingVertical:"medium",children:e.jsx(a.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:e.jsxs(g,{children:[e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Wanneer bezorgen we"}),e.jsx(t,{children:"We bezorgen op werkdagen en zaterdag tussen 8.00 en 18.00 uur. De ene week bezorgen wij op dinsdag en donderdag ook tot 21.00 uur en de andere week op woensdag tot 21.00 uur."})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Tekenen voor ontvangst"}),e.jsx(t,{children:"Zorg dat u thuis bent om uw paspoort of ID-kaart te ontvangen. Bij bezorging voor meerdere personen moeten alle personen aanwezig zijn. Ook kinderen vanaf 12 jaar moeten tekenen voor ontvangst. Tot 12 jaar tekent de ouder of wettelijk vertegenwoordiger van het kind."})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Bezorgen met waarde-transport"}),e.jsxs(t,{children:["De gemeente laat uw paspoort of ID-kaart bezorgen met een waarde-transport. Op"," ",e.jsx(h,{href:"https://mijnafspraak.nl/",children:"mijnafspraak.nl"})," ziet u wie er langskomt. De pasfoto van de medewerker is vanaf 8.00 uur zichtbaar. De bezorger controleert bij aankomst uw identiteit en geeft u het nieuwe reisdocument. U geeft uw oude reisdocument aan de bezorger. De bezorger maakt uw oude reisdocument ongeldig waar u bij bent. Daarna mag u het zelf houden of meegeven aan de bezorger, die het vernietigt."]})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Wanneer kan bezorgen niet?"}),e.jsxs(r,{children:[e.jsx(r.Item,{children:"Bij een spoedaanvraag."}),e.jsx(r.Item,{children:"Als u een geldig visum in uw paspoort hebt dat u nog wilt gebruiken."}),e.jsx(r.Item,{children:"Als u het oude reisdocument kwijt bent."}),e.jsx(r.Item,{children:"Als u op een van de Waddeneilanden woont. Daar bezorgen we niet."})]})]}),e.jsxs("section",{children:[e.jsx(i,{className:"ams-mb--xs",level:2,children:"Meer weten"}),e.jsx(j,{children:e.jsx(j.Link,{href:"https://amsterdam.nl/paspoort/",children:"amsterdam.nl/paspoort"})})]})]})})})]});try{u.displayName="ArticleBody",u.__docgenInfo={description:"",displayName:"ArticleBody",props:{lead:{defaultValue:null,description:"",name:"lead",required:!0,type:{name:"string"}},paragraph1:{defaultValue:null,description:"",name:"paragraph1",required:!0,type:{name:"string"}},spotlightHeading:{defaultValue:null,description:"",name:"spotlightHeading",required:!0,type:{name:"string"}},spotlightLinkLabel:{defaultValue:null,description:"",name:"spotlightLinkLabel",required:!0,type:{name:"string"}}}}}catch{}const D=()=>e.jsx(a,{paddingTop:"small",children:e.jsx(a.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:e.jsxs(m,{children:[e.jsx(m.Link,{href:"#",children:"Home"}),e.jsx(m.Link,{href:"#",children:"Nieuws"})]})})}),c=({heading:n,imageSrc:s})=>e.jsxs("header",{children:[e.jsx(a,{paddingBottom:"medium",children:e.jsxs(a.Cell,{span:{narrow:4,medium:8,wide:10},start:{narrow:1,medium:1,wide:2},children:[e.jsx(i,{className:"ams-mb--sm",children:n}),e.jsx(t,{size:"small",children:"7 juni 2024"})]})}),e.jsx(y,{children:e.jsx(_,{ratio:"2x-wide",children:e.jsx(I,{alt:"",loading:"lazy",src:s})})})]});try{c.displayName="ArticleHeader",c.__docgenInfo={description:"",displayName:"ArticleHeader",props:{heading:{defaultValue:null,description:"",name:"heading",required:!0,type:{name:"string"}},imageSrc:{defaultValue:null,description:"",name:"imageSrc",required:!0,type:{name:"string"}}}}}catch{}const p=({heading:n,imageSrc:s,lead:o,paragraph1:l,spotlightHeading:b,spotlightLinkLabel:v})=>e.jsxs(e.Fragment,{children:[e.jsx(D,{}),e.jsxs("main",{id:"main",children:[e.jsx(c,{heading:n,imageSrc:s}),e.jsx(u,{lead:o,paragraph1:l,spotlightHeading:b,spotlightLinkLabel:v})]})]});try{p.displayName="ArticlePage",p.__docgenInfo={description:"",displayName:"ArticlePage",props:{heading:{defaultValue:null,description:"",name:"heading",required:!0,type:{name:"string"}},imageSrc:{defaultValue:null,description:"",name:"imageSrc",required:!0,type:{name:"string"}},lead:{defaultValue:null,description:"",name:"lead",required:!0,type:{name:"string"}},paragraph1:{defaultValue:null,description:"",name:"paragraph1",required:!0,type:{name:"string"}},spotlightHeading:{defaultValue:null,description:"",name:"spotlightHeading",required:!0,type:{name:"string"}},spotlightLinkLabel:{defaultValue:null,description:"",name:"spotlightLinkLabel",required:!0,type:{name:"string"}}}}}catch{}/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */var x;const V={...A,title:"Pages/Amsterdam.nl/Article Page",component:p,args:{heading:"Ontvang uw paspoort of ID-kaart in de zomer gratis thuis",imageSrc:(x=L.args)==null?void 0:x.src,lead:"Niet meer naar het Stadsloket, maar thuis of op het werk uw nieuwe paspoort ontvangen. In juni en juli kan dat. Deze zomer bezorgt de gemeente reisdocumenten gratis aan huis. We doen dat om de drukte in de Stadsloketten te verminderen. En u hoeft maar 1 keer naar het Stadsloket.",paragraph1:"Van maandag 10 juni tot en met zaterdag 27 juli bezorgt de gemeente Amsterdam uw paspoort of ID-kaart gratis bij u thuis of op het werk. U moet wel naar het Stadsloket om uw reisdocument aan te vragen. Lees hier hoe het werkt.",spotlightHeading:"Vraag een paspoort of ID-kaart aan",spotlightLinkLabel:"Vraag nu een paspoort of ID-kaart aan"}},d={};var w,k,f;d.parameters={...d.parameters,docs:{...(w=d.parameters)==null?void 0:w.docs,source:{originalSource:"{}",...(f=(k=d.parameters)==null?void 0:k.docs)==null?void 0:f.source}}};const N=["Default"],B=Object.freeze(Object.defineProperty({__proto__:null,Default:d,__namedExportsOrder:N,default:V},Symbol.toStringTag,{value:"Module"}));export{B as A}; diff --git a/demo-1732-error-on-icon-prop/assets/AspectRatio.docs-CKMb3EOy.js b/demo-1732-error-on-icon-prop/assets/AspectRatio.docs-BnOQF7F9.js similarity index 88% rename from demo-1732-error-on-icon-prop/assets/AspectRatio.docs-CKMb3EOy.js rename to demo-1732-error-on-icon-prop/assets/AspectRatio.docs-BnOQF7F9.js index 15e5160b9d..633c7ae6c3 100644 --- a/demo-1732-error-on-icon-prop/assets/AspectRatio.docs-CKMb3EOy.js +++ b/demo-1732-error-on-icon-prop/assets/AspectRatio.docs-BnOQF7F9.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as o,aq as r,ar as l,as as d,at as a}from"./index-fGKZZBv1.js";import{A as h,D as x,E as m,W as p,S as c,T as j,a as f}from"./AspectRatio.stories-Bg96E_B9.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const u=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as o,aq as r,ar as l,as as d,at as a}from"./index-Cnpsjyel.js";import{A as h,D as x,E as m,W as p,S as c,T as j,a as f}from"./AspectRatio.stories-BU-nZ_2T.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const u=` # Aspect Ratio diff --git a/demo-1732-error-on-icon-prop/assets/AspectRatio.stories-Bg96E_B9.js b/demo-1732-error-on-icon-prop/assets/AspectRatio.stories-BU-nZ_2T.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/AspectRatio.stories-Bg96E_B9.js rename to demo-1732-error-on-icon-prop/assets/AspectRatio.stories-BU-nZ_2T.js index e80834e4cb..abe0332cc5 100644 --- a/demo-1732-error-on-icon-prop/assets/AspectRatio.stories-Bg96E_B9.js +++ b/demo-1732-error-on-icon-prop/assets/AspectRatio.stories-BU-nZ_2T.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{I as z}from"./index.esm-jyjgLnxG.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as M}from"./index-B-o1Wr-g.js";const l=M.forwardRef(({children:e,className:N,ratio:C="square",...I},O)=>r.jsx("div",{...I,ref:O,className:L("ams-aspect-ratio",`ams-aspect-ratio--${C}`,N),children:e}));l.displayName="AspectRatio";try{l.displayName="AspectRatio",l.__docgenInfo={description:"",displayName:"AspectRatio",props:{ratio:{defaultValue:{value:"square"},description:"The dimensions.",name:"ratio",required:!1,type:{name:"enum",value:[{value:'"square"'},{value:'"wide"'},{value:'"x-wide"'},{value:'"x-tall"'},{value:'"tall"'},{value:'"2x-wide"'}]}}}}}catch{}const P={title:"Components/Layout/Aspect Ratio",component:l,args:{ratio:"square"},argTypes:{ratio:{control:"radio",options:["2x-wide","x-wide","wide","square","tall","x-tall"]}}},V={"2x-wide":{image:"https://picsum.photos/1152/360"},"x-wide":{image:"https://picsum.photos/640/360"},wide:{image:"https://picsum.photos/480/360"},square:{image:"https://picsum.photos/360/360"},tall:{image:"https://picsum.photos/360/480"},"x-tall":{image:"https://picsum.photos/360/640"}},a={decorators:[e=>r.jsx("div",{style:{display:"flex",justifyContent:"center"},children:r.jsx(e,{})})],render:({ratio:e})=>r.jsx(l,{ratio:e,children:r.jsx(z,{alt:"",src:V[e??"square"].image})})},s={...a},t={...a,args:{ratio:"2x-wide"}},o={...a,args:{ratio:"x-wide"}},i={...a,args:{ratio:"wide"}},c={...a,args:{ratio:"square"}},p={...a,args:{ratio:"tall"}},n={...a,args:{ratio:"x-tall"}};var m,d,u;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{I as z}from"./index.esm-DEmhLKYr.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as M}from"./index-B-o1Wr-g.js";const l=M.forwardRef(({children:e,className:N,ratio:C="square",...I},O)=>r.jsx("div",{...I,ref:O,className:L("ams-aspect-ratio",`ams-aspect-ratio--${C}`,N),children:e}));l.displayName="AspectRatio";try{l.displayName="AspectRatio",l.__docgenInfo={description:"",displayName:"AspectRatio",props:{ratio:{defaultValue:{value:"square"},description:"The dimensions.",name:"ratio",required:!1,type:{name:"enum",value:[{value:'"square"'},{value:'"wide"'},{value:'"x-wide"'},{value:'"x-tall"'},{value:'"tall"'},{value:'"2x-wide"'}]}}}}}catch{}const P={title:"Components/Layout/Aspect Ratio",component:l,args:{ratio:"square"},argTypes:{ratio:{control:"radio",options:["2x-wide","x-wide","wide","square","tall","x-tall"]}}},V={"2x-wide":{image:"https://picsum.photos/1152/360"},"x-wide":{image:"https://picsum.photos/640/360"},wide:{image:"https://picsum.photos/480/360"},square:{image:"https://picsum.photos/360/360"},tall:{image:"https://picsum.photos/360/480"},"x-tall":{image:"https://picsum.photos/360/640"}},a={decorators:[e=>r.jsx("div",{style:{display:"flex",justifyContent:"center"},children:r.jsx(e,{})})],render:({ratio:e})=>r.jsx(l,{ratio:e,children:r.jsx(z,{alt:"",src:V[e??"square"].image})})},s={...a},t={...a,args:{ratio:"2x-wide"}},o={...a,args:{ratio:"x-wide"}},i={...a,args:{ratio:"wide"}},c={...a,args:{ratio:"square"}},p={...a,args:{ratio:"tall"}},n={...a,args:{ratio:"x-tall"}};var m,d,u;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ ...StoryTemplate }`,...(u=(d=s.parameters)==null?void 0:d.docs)==null?void 0:u.source}}};var g,x,y;t.parameters={...t.parameters,docs:{...(g=t.parameters)==null?void 0:g.docs,source:{originalSource:`{ ...StoryTemplate, diff --git a/demo-1732-error-on-icon-prop/assets/Avatar.docs-BOKzXzq5.js b/demo-1732-error-on-icon-prop/assets/Avatar.docs-DCeQqMcM.js similarity index 86% rename from demo-1732-error-on-icon-prop/assets/Avatar.docs-BOKzXzq5.js rename to demo-1732-error-on-icon-prop/assets/Avatar.docs-DCeQqMcM.js index 186c512ce0..e7e620125a 100644 --- a/demo-1732-error-on-icon-prop/assets/Avatar.docs-BOKzXzq5.js +++ b/demo-1732-error-on-icon-prop/assets/Avatar.docs-DCeQqMcM.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as i,aq as s,ar as c,as as p,at as r}from"./index-fGKZZBv1.js";import{A as l,W as m,F as d,I as h}from"./Avatar.stories-DqfN3h4o.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Image-9n1GiQZ0.js";import"./Icon-D1obyjGa.js";const x=` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as i,aq as s,ar as c,as as p,at as r}from"./index-Cnpsjyel.js";import{A as l,W as m,F as d,I as h}from"./Avatar.stories-71Xw7J09.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Image-9n1GiQZ0.js";import"./Icon-D1obyjGa.js";const x=` # Avatar diff --git a/demo-1732-error-on-icon-prop/assets/Avatar.stories-DqfN3h4o.js b/demo-1732-error-on-icon-prop/assets/Avatar.stories-71Xw7J09.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Avatar.stories-DqfN3h4o.js rename to demo-1732-error-on-icon-prop/assets/Avatar.stories-71Xw7J09.js index 9cb04ba44a..a5e62fcd80 100644 --- a/demo-1732-error-on-icon-prop/assets/Avatar.stories-DqfN3h4o.js +++ b/demo-1732-error-on-icon-prop/assets/Avatar.stories-71Xw7J09.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{b as P,c}from"./index.esm-jyjgLnxG.js";import{i as L,j as M}from"./index.esm-DoGgRjwu.js";import{c as w}from"./clsx-B-dksMZM.js";import{r as C}from"./index-B-o1Wr-g.js";import{I as D}from"./Image-9n1GiQZ0.js";import{I as E}from"./Icon-D1obyjGa.js";const N=({imageSrc:a,initials:r})=>a?e.jsx(D,{src:a,alt:""}):r.length?e.jsx("span",{"aria-hidden":!0,children:r}):e.jsx(E,{svg:L,size:"level-6"}),o=C.forwardRef(({label:a,imageSrc:r,className:y,color:j="blue",...I},_)=>{const i=a.slice(0,2).toUpperCase(),A=i.length===0?"Gebruiker":`Initialen gebruiker: ${i}`;return e.jsxs("span",{...I,ref:_,className:w("ams-avatar",`ams-avatar--${j}`,r&&"ams-avatar--has-image",y),children:[e.jsx("span",{className:"ams-visually-hidden",children:A}),e.jsx(N,{imageSrc:r,initials:i})]})});o.displayName="Avatar";try{o.displayName="Avatar",o.__docgenInfo={description:"",displayName:"Avatar",props:{color:{defaultValue:{value:"blue"},description:"The background colour.",name:"color",required:!1,type:{name:"enum",value:[{value:'"black"'},{value:'"blue"'},{value:'"dark-green"'},{value:'"green"'},{value:'"grey-1"'},{value:'"grey-2"'},{value:'"grey-3"'},{value:'"light-blue"'},{value:'"magenta"'},{value:'"orange"'},{value:'"purple"'},{value:'"red"'},{value:'"white"'},{value:'"yellow"'}]}},imageSrc:{defaultValue:null,description:"The url for the user’s image. Its center will be displayed. Should be square and scaled down.",name:"imageSrc",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"The text content. Should be the user’s initials. The first two characters will be displayed.",name:"label",required:!0,type:{name:"string"}}}}}catch{}const T={title:"Components/Feedback/Avatar",component:o,args:{label:"DS",imageSrc:""}},s={},t={args:{label:"PS",imageSrc:"https://i.pravatar.cc/128"}},n={args:{imageSrc:void 0,label:""}},l={args:{label:"DS"},render:a=>e.jsx(P,{links:e.jsxs(c,{alignEnd:!0,children:[e.jsx(c.Link,{href:"#",children:"Contact"}),e.jsx(c.Link,{href:"#",icon:M,children:"Zoeken"}),e.jsx("li",{children:e.jsx(o,{...a})})]})})};var u,d,m;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(m=(d=s.parameters)==null?void 0:d.docs)==null?void 0:m.source}}};var p,g,v;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{b as P,c}from"./index.esm-DEmhLKYr.js";import{i as L,j as M}from"./index.esm-DoGgRjwu.js";import{c as w}from"./clsx-B-dksMZM.js";import{r as C}from"./index-B-o1Wr-g.js";import{I as D}from"./Image-9n1GiQZ0.js";import{I as E}from"./Icon-D1obyjGa.js";const N=({imageSrc:a,initials:r})=>a?e.jsx(D,{src:a,alt:""}):r.length?e.jsx("span",{"aria-hidden":!0,children:r}):e.jsx(E,{svg:L,size:"level-6"}),o=C.forwardRef(({label:a,imageSrc:r,className:y,color:j="blue",...I},_)=>{const i=a.slice(0,2).toUpperCase(),A=i.length===0?"Gebruiker":`Initialen gebruiker: ${i}`;return e.jsxs("span",{...I,ref:_,className:w("ams-avatar",`ams-avatar--${j}`,r&&"ams-avatar--has-image",y),children:[e.jsx("span",{className:"ams-visually-hidden",children:A}),e.jsx(N,{imageSrc:r,initials:i})]})});o.displayName="Avatar";try{o.displayName="Avatar",o.__docgenInfo={description:"",displayName:"Avatar",props:{color:{defaultValue:{value:"blue"},description:"The background colour.",name:"color",required:!1,type:{name:"enum",value:[{value:'"black"'},{value:'"blue"'},{value:'"dark-green"'},{value:'"green"'},{value:'"grey-1"'},{value:'"grey-2"'},{value:'"grey-3"'},{value:'"light-blue"'},{value:'"magenta"'},{value:'"orange"'},{value:'"purple"'},{value:'"red"'},{value:'"white"'},{value:'"yellow"'}]}},imageSrc:{defaultValue:null,description:"The url for the user’s image. Its center will be displayed. Should be square and scaled down.",name:"imageSrc",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"The text content. Should be the user’s initials. The first two characters will be displayed.",name:"label",required:!0,type:{name:"string"}}}}}catch{}const T={title:"Components/Feedback/Avatar",component:o,args:{label:"DS",imageSrc:""}},s={},t={args:{label:"PS",imageSrc:"https://i.pravatar.cc/128"}},n={args:{imageSrc:void 0,label:""}},l={args:{label:"DS"},render:a=>e.jsx(P,{links:e.jsxs(c,{alignEnd:!0,children:[e.jsx(c.Link,{href:"#",children:"Contact"}),e.jsx(c.Link,{href:"#",icon:M,children:"Zoeken"}),e.jsx("li",{children:e.jsx(o,{...a})})]})})};var u,d,m;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(m=(d=s.parameters)==null?void 0:d.docs)==null?void 0:m.source}}};var p,g,v;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { label: 'PS', imageSrc: 'https://i.pravatar.cc/128' diff --git a/demo-1732-error-on-icon-prop/assets/Badge.docs-DPqlLB-p.js b/demo-1732-error-on-icon-prop/assets/Badge.docs-CKz5_mdz.js similarity index 88% rename from demo-1732-error-on-icon-prop/assets/Badge.docs-DPqlLB-p.js rename to demo-1732-error-on-icon-prop/assets/Badge.docs-CKz5_mdz.js index 96a17d1051..0aaa9725e9 100644 --- a/demo-1732-error-on-icon-prop/assets/Badge.docs-DPqlLB-p.js +++ b/demo-1732-error-on-icon-prop/assets/Badge.docs-CKz5_mdz.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as e}from"./index-BSj771as.js";import{ae as s,aq as i,ar as a,as as m}from"./index-fGKZZBv1.js";import{B as c}from"./Badge.stories-7hJOo2XW.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Badge-jE39d5Kk.js";import"./clsx-B-dksMZM.js";const p=` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as e}from"./index-BSj771as.js";import{ae as s,aq as i,ar as a,as as m}from"./index-Cnpsjyel.js";import{B as c}from"./Badge.stories-7hJOo2XW.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Badge-jE39d5Kk.js";import"./clsx-B-dksMZM.js";const p=` # Badge diff --git a/demo-1732-error-on-icon-prop/assets/Blockquote.docs-B-QRCSmb.js b/demo-1732-error-on-icon-prop/assets/Blockquote.docs-DLwejvb_.js similarity index 89% rename from demo-1732-error-on-icon-prop/assets/Blockquote.docs-B-QRCSmb.js rename to demo-1732-error-on-icon-prop/assets/Blockquote.docs-DLwejvb_.js index 2491c164b2..0bc93a09d0 100644 --- a/demo-1732-error-on-icon-prop/assets/Blockquote.docs-B-QRCSmb.js +++ b/demo-1732-error-on-icon-prop/assets/Blockquote.docs-DLwejvb_.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as s,aq as a,ar as i,as as m,at as c}from"./index-fGKZZBv1.js";import{B as h,I as l}from"./Blockquote.stories-dmSqBBoc.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./decorators-DYZ3zH5Z.js";import"./exampleContent-hIIPvEhU.js";import"./clsx-B-dksMZM.js";const u=` +import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as s,aq as a,ar as i,as as m,at as c}from"./index-Cnpsjyel.js";import{B as h,I as l}from"./Blockquote.stories-dmSqBBoc.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./decorators-DYZ3zH5Z.js";import"./exampleContent-hIIPvEhU.js";import"./clsx-B-dksMZM.js";const u=` # Blockquote diff --git a/demo-1732-error-on-icon-prop/assets/Breadcrumb.docs-BXVnpA7l.js b/demo-1732-error-on-icon-prop/assets/Breadcrumb.docs-Donyc5OU.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/Breadcrumb.docs-BXVnpA7l.js rename to demo-1732-error-on-icon-prop/assets/Breadcrumb.docs-Donyc5OU.js index 8cd9210b3e..a1cf502c47 100644 --- a/demo-1732-error-on-icon-prop/assets/Breadcrumb.docs-BXVnpA7l.js +++ b/demo-1732-error-on-icon-prop/assets/Breadcrumb.docs-Donyc5OU.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as s,aq as a,ar as o}from"./index-fGKZZBv1.js";import{B as c}from"./Breadcrumb.stories-EowaNKYC.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const u=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as s,aq as a,ar as o}from"./index-Cnpsjyel.js";import{B as c}from"./Breadcrumb.stories-EowaNKYC.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const u=` # Breadcrumb diff --git a/demo-1732-error-on-icon-prop/assets/Breakout.docs-CArcjKCM.js b/demo-1732-error-on-icon-prop/assets/Breakout.docs-6qOPiO7D.js similarity index 87% rename from demo-1732-error-on-icon-prop/assets/Breakout.docs-CArcjKCM.js rename to demo-1732-error-on-icon-prop/assets/Breakout.docs-6qOPiO7D.js index cbeca013e7..9ff25ad637 100644 --- a/demo-1732-error-on-icon-prop/assets/Breakout.docs-CArcjKCM.js +++ b/demo-1732-error-on-icon-prop/assets/Breakout.docs-6qOPiO7D.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as i,ar as a,as as l,at as h}from"./index-fGKZZBv1.js";import{B as c,V as d}from"./Breakout.stories-DnrOdCQt.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./paddingClasses-C5gheHLv.js";const p=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as i,ar as a,as as l,at as h}from"./index-Cnpsjyel.js";import{B as c,V as d}from"./Breakout.stories-DxEhhcfc.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./paddingClasses-C5gheHLv.js";const p=` # Breakout diff --git a/demo-1732-error-on-icon-prop/assets/Breakout.stories-DnrOdCQt.js b/demo-1732-error-on-icon-prop/assets/Breakout.stories-DxEhhcfc.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Breakout.stories-DnrOdCQt.js rename to demo-1732-error-on-icon-prop/assets/Breakout.stories-DxEhhcfc.js index 2647e45cae..142ca9b996 100644 --- a/demo-1732-error-on-icon-prop/assets/Breakout.stories-DnrOdCQt.js +++ b/demo-1732-error-on-icon-prop/assets/Breakout.stories-DxEhhcfc.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{S as V,u as k,P as p,h as C,I as b}from"./index.esm-jyjgLnxG.js";import{c as _}from"./clsx-B-dksMZM.js";import{r as B}from"./index-B-o1Wr-g.js";import{a as u,p as T}from"./paddingClasses-C5gheHLv.js";/** +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{S as V,u as k,P as p,h as C,I as b}from"./index.esm-DEmhLKYr.js";import{c as _}from"./clsx-B-dksMZM.js";import{r as B}from"./index-B-o1Wr-g.js";import{a as u,p as T}from"./paddingClasses-C5gheHLv.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const R=(a,l,t,o)=>[...u("ams-breakout__cell--col-span-",a),...u("ams-breakout__cell--col-start-",l),...u("ams-breakout__cell--row-span-",t),...u("ams-breakout__cell--row-start-",o)],x=B.forwardRef(({as:a="div",children:l,className:t,colSpan:o,colStart:d,has:i,rowSpan:m,rowStart:c,...j},N)=>e.jsx(a,{...j,ref:N,className:_("ams-breakout__cell",R(o,d,m,c),i&&`ams-breakout__cell--has-${i}`,t),children:l}));x.displayName="Breakout.Cell";try{Breakout.Cell.displayName="Breakout.Cell",Breakout.Cell.__docgenInfo={description:"",displayName:"Breakout.Cell",props:{as:{defaultValue:null,description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'}]}},colSpan:{defaultValue:null,description:`Lets the cell span the full width of all grid variants. diff --git a/demo-1732-error-on-icon-prop/assets/Button.docs-BYeAPfZF.js b/demo-1732-error-on-icon-prop/assets/Button.docs-Dv0v6OT5.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/Button.docs-BYeAPfZF.js rename to demo-1732-error-on-icon-prop/assets/Button.docs-Dv0v6OT5.js index acb4601639..02ba1fa227 100644 --- a/demo-1732-error-on-icon-prop/assets/Button.docs-BYeAPfZF.js +++ b/demo-1732-error-on-icon-prop/assets/Button.docs-Dv0v6OT5.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as s,aq as a,ar as c,as as h,at as t}from"./index-fGKZZBv1.js";import{B as l,P as d,S as u,T as p,W as m,a as b,b as f,c as w}from"./Button.stories-DMuaDOUT.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DoGgRjwu.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const x=` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as s,aq as a,ar as c,as as h,at as t}from"./index-Cnpsjyel.js";import{B as l,P as d,S as u,T as p,W as m,a as b,b as f,c as w}from"./Button.stories-D3TuiAti.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DoGgRjwu.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const x=` # Button diff --git a/demo-1732-error-on-icon-prop/assets/Button.stories-D3TuiAti.js b/demo-1732-error-on-icon-prop/assets/Button.stories-D3TuiAti.js new file mode 100644 index 0000000000..06896491b6 --- /dev/null +++ b/demo-1732-error-on-icon-prop/assets/Button.stories-D3TuiAti.js @@ -0,0 +1,38 @@ +import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{I as y,c as p}from"./index.esm-DoGgRjwu.js";import{c as $}from"./clsx-B-dksMZM.js";import{r as D}from"./index-B-o1Wr-g.js";import{I as g}from"./Icon-D1obyjGa.js";const u=D.forwardRef(({children:n,className:R,disabled:E,icon:e,iconBefore:m,iconOnly:a,type:k,variant:F="primary",...M},U)=>r.jsxs("button",{...M,className:$("ams-button",`ams-button--${F}`,e&&a&&"ams-button--icon-only",R),disabled:E,ref:U,type:k||"button",children:[e&&(m||a)&&r.jsx(g,{svg:e,size:"level-5",square:a}),e&&a?r.jsx("span",{className:"ams-visually-hidden",children:n}):n,e&&!m&&!a&&r.jsx(g,{svg:e,size:"level-5"})]}));u.displayName="Button";try{u.displayName="Button",u.__docgenInfo={description:"",displayName:"Button",props:{variant:{defaultValue:{value:"primary"},description:"The level of prominence. Use a primary button only once per page or section.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},icon:{defaultValue:null,description:"Adds an icon to the button, showing it after the label.",name:"icon",required:!1,type:{name:"Function"}},iconBefore:{defaultValue:null,description:"Shows the icon before the label. Requires a value for `icon`. Cannot be used together with `iconOnly`.",name:"iconBefore",required:!1,type:{name:"boolean"}},iconOnly:{defaultValue:null,description:"Shows the icon without the label. Requires a value for `icon`. Cannot be used together with `iconBefore`.",name:"iconOnly",required:!1,type:{name:"boolean"}}}}}catch{}const G={title:"Components/Buttons/Button",component:u,args:{children:"Versturen",disabled:!1,icon:void 0,iconBefore:!1,iconOnly:!1,variant:"primary"},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."},icon:{control:{type:"select",labels:{undefined:"none"}},options:[void 0,...Object.keys(y)],mapping:y},iconBefore:{control:{type:"boolean"},if:{arg:"icon"}},iconOnly:{control:{type:"boolean"},if:{arg:"icon"}}}},o={},t={args:{children:"Annuleren",variant:"secondary"}},s={args:{children:"Terug",variant:"tertiary"}},i={args:{children:"Sluiten",icon:p}},c={args:{children:"Sluiten",icon:p,iconBefore:!0}},l={args:{children:"Sluiten",icon:p,iconOnly:!0,variant:"tertiary"}},d={args:{children:"Vergunningsaanvraag verzenden"},decorators:[n=>r.jsx("div",{style:{maxWidth:"16rem"},children:r.jsx(n,{})})]};var f,h,v;o.parameters={...o.parameters,docs:{...(f=o.parameters)==null?void 0:f.docs,source:{originalSource:"{}",...(v=(h=o.parameters)==null?void 0:h.docs)==null?void 0:v.source}}};var b,S,I;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{ + args: { + children: 'Annuleren', + variant: 'secondary' + } +}`,...(I=(S=t.parameters)==null?void 0:S.docs)==null?void 0:I.source}}};var x,B,_;s.parameters={...s.parameters,docs:{...(x=s.parameters)==null?void 0:x.docs,source:{originalSource:`{ + args: { + children: 'Terug', + variant: 'tertiary' + } +}`,...(_=(B=s.parameters)==null?void 0:B.docs)==null?void 0:_.source}}};var j,W,T;i.parameters={...i.parameters,docs:{...(j=i.parameters)==null?void 0:j.docs,source:{originalSource:`{ + args: { + children: 'Sluiten', + icon: Icons.CloseIcon + } +}`,...(T=(W=i.parameters)==null?void 0:W.docs)==null?void 0:T.source}}};var O,q,w;c.parameters={...c.parameters,docs:{...(O=c.parameters)==null?void 0:O.docs,source:{originalSource:`{ + args: { + children: 'Sluiten', + icon: Icons.CloseIcon, + iconBefore: true + } +}`,...(w=(q=c.parameters)==null?void 0:q.docs)==null?void 0:w.source}}};var C,V,z;l.parameters={...l.parameters,docs:{...(C=l.parameters)==null?void 0:C.docs,source:{originalSource:`{ + args: { + children: 'Sluiten', + icon: Icons.CloseIcon, + iconOnly: true, + variant: 'tertiary' + } +}`,...(z=(V=l.parameters)==null?void 0:V.docs)==null?void 0:z.source}}};var N,P,A;d.parameters={...d.parameters,docs:{...(N=d.parameters)==null?void 0:N.docs,source:{originalSource:`{ + args: { + children: 'Vergunningsaanvraag verzenden' + }, + decorators: [Story =>
+ +
] +}`,...(A=(P=d.parameters)==null?void 0:P.docs)==null?void 0:A.source}}};const H=["Primary","Secondary","Tertiary","WithIcon","WithIconBefore","WithIconOnly","TextWrapping"],Y=Object.freeze(Object.defineProperty({__proto__:null,Primary:o,Secondary:t,Tertiary:s,TextWrapping:d,WithIcon:i,WithIconBefore:c,WithIconOnly:l,__namedExportsOrder:H,default:G},Symbol.toStringTag,{value:"Module"}));export{Y as B,o as P,t as S,s as T,i as W,c as a,l as b,d as c}; diff --git a/demo-1732-error-on-icon-prop/assets/Button.stories-DMuaDOUT.js b/demo-1732-error-on-icon-prop/assets/Button.stories-DMuaDOUT.js deleted file mode 100644 index c3da558970..0000000000 --- a/demo-1732-error-on-icon-prop/assets/Button.stories-DMuaDOUT.js +++ /dev/null @@ -1,38 +0,0 @@ -import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{I as y,c as m}from"./index.esm-DoGgRjwu.js";import{c as $}from"./clsx-B-dksMZM.js";import{r as D}from"./index-B-o1Wr-g.js";import{I as g}from"./Icon-D1obyjGa.js";const u=D.forwardRef(({children:n,className:R,disabled:E,icon:e,iconBefore:p,iconOnly:a,type:k,variant:F="primary",...M},U)=>r.jsxs("button",{...M,className:$("ams-button",`ams-button--${F}`,e&&a&&!p&&"ams-button--icon-only",R),disabled:E,ref:U,type:k||"button",children:[e&&(p||a)&&r.jsx(g,{svg:e,size:"level-5",square:a}),e&&a?r.jsx("span",{className:"ams-visually-hidden",children:n}):n,e&&!p&&!a&&r.jsx(g,{svg:e,size:"level-5"})]}));u.displayName="Button";try{u.displayName="Button",u.__docgenInfo={description:"",displayName:"Button",props:{variant:{defaultValue:{value:"primary"},description:"The level of prominence. Use a primary button only once per page or section.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'}]}},icon:{defaultValue:null,description:"Adds an icon to the button, showing it after the label.",name:"icon",required:!1,type:{name:"Function"}},iconBefore:{defaultValue:null,description:"Shows the icon before the label. Requires a value for `icon`. Cannot be used together with `iconOnly`.",name:"iconBefore",required:!1,type:{name:"boolean"}},iconOnly:{defaultValue:null,description:"Shows the icon without the label. Requires a value for `icon`. Cannot be used together with `iconBefore`.",name:"iconOnly",required:!1,type:{name:"boolean"}}}}}catch{}const G={title:"Components/Buttons/Button",component:u,args:{children:"Versturen",disabled:!1,icon:void 0,iconBefore:!1,iconOnly:!1,variant:"primary"},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."},icon:{control:{type:"select",labels:{undefined:"none"}},options:[void 0,...Object.keys(y)],mapping:y},iconBefore:{control:{type:"boolean"},if:{arg:"icon"}},iconOnly:{control:{type:"boolean"},if:{arg:"icon"}}}},o={},t={args:{children:"Annuleren",variant:"secondary"}},s={args:{children:"Terug",variant:"tertiary"}},i={args:{children:"Sluiten",icon:m}},c={args:{children:"Sluiten",icon:m,iconBefore:!0}},l={args:{children:"Sluiten",icon:m,iconOnly:!0,variant:"tertiary"}},d={args:{children:"Vergunningsaanvraag verzenden"},decorators:[n=>r.jsx("div",{style:{maxWidth:"16rem"},children:r.jsx(n,{})})]};var h,f,v;o.parameters={...o.parameters,docs:{...(h=o.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(v=(f=o.parameters)==null?void 0:f.docs)==null?void 0:v.source}}};var b,S,I;t.parameters={...t.parameters,docs:{...(b=t.parameters)==null?void 0:b.docs,source:{originalSource:`{ - args: { - children: 'Annuleren', - variant: 'secondary' - } -}`,...(I=(S=t.parameters)==null?void 0:S.docs)==null?void 0:I.source}}};var x,B,_;s.parameters={...s.parameters,docs:{...(x=s.parameters)==null?void 0:x.docs,source:{originalSource:`{ - args: { - children: 'Terug', - variant: 'tertiary' - } -}`,...(_=(B=s.parameters)==null?void 0:B.docs)==null?void 0:_.source}}};var j,W,T;i.parameters={...i.parameters,docs:{...(j=i.parameters)==null?void 0:j.docs,source:{originalSource:`{ - args: { - children: 'Sluiten', - icon: Icons.CloseIcon - } -}`,...(T=(W=i.parameters)==null?void 0:W.docs)==null?void 0:T.source}}};var O,q,w;c.parameters={...c.parameters,docs:{...(O=c.parameters)==null?void 0:O.docs,source:{originalSource:`{ - args: { - children: 'Sluiten', - icon: Icons.CloseIcon, - iconBefore: true - } -}`,...(w=(q=c.parameters)==null?void 0:q.docs)==null?void 0:w.source}}};var C,V,z;l.parameters={...l.parameters,docs:{...(C=l.parameters)==null?void 0:C.docs,source:{originalSource:`{ - args: { - children: 'Sluiten', - icon: Icons.CloseIcon, - iconOnly: true, - variant: 'tertiary' - } -}`,...(z=(V=l.parameters)==null?void 0:V.docs)==null?void 0:z.source}}};var N,P,A;d.parameters={...d.parameters,docs:{...(N=d.parameters)==null?void 0:N.docs,source:{originalSource:`{ - args: { - children: 'Vergunningsaanvraag verzenden' - }, - decorators: [Story =>
- -
] -}`,...(A=(P=d.parameters)==null?void 0:P.docs)==null?void 0:A.source}}};const H=["Primary","Secondary","Tertiary","WithIcon","WithIconBefore","WithIconOnly","TextWrapping"],Y=Object.freeze(Object.defineProperty({__proto__:null,Primary:o,Secondary:t,Tertiary:s,TextWrapping:d,WithIcon:i,WithIconBefore:c,WithIconOnly:l,__namedExportsOrder:H,default:G},Symbol.toStringTag,{value:"Module"}));export{Y as B,o as P,t as S,s as T,i as W,c as a,l as b,d as c}; diff --git a/demo-1732-error-on-icon-prop/assets/Card.docs-BPxQINFr.js b/demo-1732-error-on-icon-prop/assets/Card.docs-kLwdT0OT.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/Card.docs-BPxQINFr.js rename to demo-1732-error-on-icon-prop/assets/Card.docs-kLwdT0OT.js index 90ae5a57f4..8568914c68 100644 --- a/demo-1732-error-on-icon-prop/assets/Card.docs-BPxQINFr.js +++ b/demo-1732-error-on-icon-prop/assets/Card.docs-kLwdT0OT.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r,aq as s,ar as d,at as a}from"./index-fGKZZBv1.js";import{C as c,W as h,a as l}from"./Card.stories-B_mV-6l0.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./exampleContent-hIIPvEhU.js";import"./Paragraph-DZy4cHOZ.js";const p=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r,aq as s,ar as d,at as a}from"./index-Cnpsjyel.js";import{C as c,W as h,a as l}from"./Card.stories-C_dOOmfc.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./exampleContent-hIIPvEhU.js";import"./Paragraph-DZy4cHOZ.js";const p=` # Card diff --git a/demo-1732-error-on-icon-prop/assets/Card.stories-B_mV-6l0.js b/demo-1732-error-on-icon-prop/assets/Card.stories-C_dOOmfc.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Card.stories-B_mV-6l0.js rename to demo-1732-error-on-icon-prop/assets/Card.stories-C_dOOmfc.js index 2927bc89c9..d92090c891 100644 --- a/demo-1732-error-on-icon-prop/assets/Card.stories-B_mV-6l0.js +++ b/demo-1732-error-on-icon-prop/assets/Card.stories-C_dOOmfc.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as l,P as c,h as G,I as v}from"./index.esm-jyjgLnxG.js";import{h as z}from"./exampleContent-hIIPvEhU.js";import{c as p}from"./clsx-B-dksMZM.js";import{r as g}from"./index-B-o1Wr-g.js";import{P}from"./Paragraph-DZy4cHOZ.js";const w=g.forwardRef(({children:a,className:n,tagline:s,...o},L)=>e.jsxs("hgroup",{...o,ref:L,className:p("ams-card__heading-group",n),children:[a,e.jsx(P,{size:"small",children:s})]}));w.displayName="Card.HeadingGroup";try{Card.HeadingGroup.displayName="Card.HeadingGroup",Card.HeadingGroup.__docgenInfo={description:"",displayName:"Card.HeadingGroup",props:{tagline:{defaultValue:null,description:"A short phrase of text, e.g. to categorise the card. Displayed above the card heading.",name:"tagline",required:!0,type:{name:"string"}}}}}catch{}const H=g.forwardRef(({children:a,className:n,...s},o)=>e.jsx("a",{...s,ref:o,className:p("ams-card__link",n),children:a}));H.displayName="Card.Link";try{Card.Link.displayName="Card.Link",Card.Link.__docgenInfo={description:"",displayName:"Card.Link",props:{}}}catch{}const N=g.forwardRef(({children:a,className:n,...s},o)=>e.jsx("article",{...s,ref:o,className:p("ams-card",n),children:a}));N.displayName="Card";const r=Object.assign(N,{HeadingGroup:w,Link:H});try{r.displayName="Card",r.__docgenInfo={description:"",displayName:"Card",props:{}}}catch{}const b=new Intl.DateTimeFormat("nl",{day:"numeric",month:"long",year:"numeric"}),A=b.format(Date.now()),m=z(),R={title:"Components/Navigation/Card",component:r,decorators:[a=>e.jsx("div",{style:{maxWidth:"24rem"},children:e.jsx(a,{})})]},i={args:{children:[e.jsx(l,{size:"level-4",children:e.jsx(r.Link,{href:"/",children:m.heading})},1),e.jsx(c,{children:m.description},2)]}},t={args:{children:[e.jsx(r.HeadingGroup,{tagline:"Dossier",children:e.jsx(l,{size:"level-4",children:e.jsx(r.Link,{href:"/",children:"Monitor Attracties MRA"})})},1),e.jsx(c,{children:"Ontwikkeling van het aantal attracties en bezoekers in de metropoolregio Amsterdam."},2)]}},d={args:{children:[e.jsx(G,{ratio:"wide",children:e.jsx(v,{alt:"",src:"https://picsum.photos/480/360"})},1),e.jsx(r.HeadingGroup,{tagline:"Nieuws",children:e.jsx(l,{size:"level-4",children:e.jsx(r.Link,{href:"/",children:"Nederlands eerste houten woonwijk komt in Zuidoost"})})},2),e.jsx(c,{children:"We bouwen een levendige, groene en duurzame woonbuurt tussen de Gooiseweg en het Nelson Mandelapark."},3),e.jsx(c,{size:"small",children:A},4)]}};var h,u,k;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as l,P as c,h as G,I as v}from"./index.esm-DEmhLKYr.js";import{h as z}from"./exampleContent-hIIPvEhU.js";import{c as p}from"./clsx-B-dksMZM.js";import{r as g}from"./index-B-o1Wr-g.js";import{P}from"./Paragraph-DZy4cHOZ.js";const w=g.forwardRef(({children:a,className:n,tagline:s,...o},L)=>e.jsxs("hgroup",{...o,ref:L,className:p("ams-card__heading-group",n),children:[a,e.jsx(P,{size:"small",children:s})]}));w.displayName="Card.HeadingGroup";try{Card.HeadingGroup.displayName="Card.HeadingGroup",Card.HeadingGroup.__docgenInfo={description:"",displayName:"Card.HeadingGroup",props:{tagline:{defaultValue:null,description:"A short phrase of text, e.g. to categorise the card. Displayed above the card heading.",name:"tagline",required:!0,type:{name:"string"}}}}}catch{}const H=g.forwardRef(({children:a,className:n,...s},o)=>e.jsx("a",{...s,ref:o,className:p("ams-card__link",n),children:a}));H.displayName="Card.Link";try{Card.Link.displayName="Card.Link",Card.Link.__docgenInfo={description:"",displayName:"Card.Link",props:{}}}catch{}const N=g.forwardRef(({children:a,className:n,...s},o)=>e.jsx("article",{...s,ref:o,className:p("ams-card",n),children:a}));N.displayName="Card";const r=Object.assign(N,{HeadingGroup:w,Link:H});try{r.displayName="Card",r.__docgenInfo={description:"",displayName:"Card",props:{}}}catch{}const b=new Intl.DateTimeFormat("nl",{day:"numeric",month:"long",year:"numeric"}),A=b.format(Date.now()),m=z(),R={title:"Components/Navigation/Card",component:r,decorators:[a=>e.jsx("div",{style:{maxWidth:"24rem"},children:e.jsx(a,{})})]},i={args:{children:[e.jsx(l,{size:"level-4",children:e.jsx(r.Link,{href:"/",children:m.heading})},1),e.jsx(c,{children:m.description},2)]}},t={args:{children:[e.jsx(r.HeadingGroup,{tagline:"Dossier",children:e.jsx(l,{size:"level-4",children:e.jsx(r.Link,{href:"/",children:"Monitor Attracties MRA"})})},1),e.jsx(c,{children:"Ontwikkeling van het aantal attracties en bezoekers in de metropoolregio Amsterdam."},2)]}},d={args:{children:[e.jsx(G,{ratio:"wide",children:e.jsx(v,{alt:"",src:"https://picsum.photos/480/360"})},1),e.jsx(r.HeadingGroup,{tagline:"Nieuws",children:e.jsx(l,{size:"level-4",children:e.jsx(r.Link,{href:"/",children:"Nederlands eerste houten woonwijk komt in Zuidoost"})})},2),e.jsx(c,{children:"We bouwen een levendige, groene en duurzame woonbuurt tussen de Gooiseweg en het Nelson Mandelapark."},3),e.jsx(c,{size:"small",children:A},4)]}};var h,u,k;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ args: { children: [ {topTask.heading} diff --git a/demo-1732-error-on-icon-prop/assets/CharacterCount.docs-Dg3Ri327.js b/demo-1732-error-on-icon-prop/assets/CharacterCount.docs-DsNscTC_.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/CharacterCount.docs-Dg3Ri327.js rename to demo-1732-error-on-icon-prop/assets/CharacterCount.docs-DsNscTC_.js index b9ecd1b697..fb2cddafff 100644 --- a/demo-1732-error-on-icon-prop/assets/CharacterCount.docs-Dg3Ri327.js +++ b/demo-1732-error-on-icon-prop/assets/CharacterCount.docs-DsNscTC_.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as a}from"./index-BSj771as.js";import{ae as o,aq as s,ar as h,as as i,at as c}from"./index-fGKZZBv1.js";import{C as m,E as l}from"./CharacterCount.stories-BuZ7Uh_6.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const u=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as a}from"./index-BSj771as.js";import{ae as o,aq as s,ar as h,as as i,at as c}from"./index-Cnpsjyel.js";import{C as m,E as l}from"./CharacterCount.stories-BuZ7Uh_6.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const u=` # Character Count diff --git a/demo-1732-error-on-icon-prop/assets/Checkbox.docs-BsLHbG2Q.js b/demo-1732-error-on-icon-prop/assets/Checkbox.docs-Bevurlqf.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/Checkbox.docs-BsLHbG2Q.js rename to demo-1732-error-on-icon-prop/assets/Checkbox.docs-Bevurlqf.js index 18ec34d543..b5701f378d 100644 --- a/demo-1732-error-on-icon-prop/assets/Checkbox.docs-BsLHbG2Q.js +++ b/demo-1732-error-on-icon-prop/assets/Checkbox.docs-Bevurlqf.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as a,aq as r,ar as l,as as c,at as i}from"./index-fGKZZBv1.js";import{C as d,L as h,I as f,a as p}from"./Checkbox.stories-ILO3mGvJ.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const m=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as a,aq as r,ar as l,as as c,at as i}from"./index-Cnpsjyel.js";import{C as d,L as h,I as f,a as p}from"./Checkbox.stories-Pj8mnbeU.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const m=` # Checkbox diff --git a/demo-1732-error-on-icon-prop/assets/Checkbox.stories-ILO3mGvJ.js b/demo-1732-error-on-icon-prop/assets/Checkbox.stories-Pj8mnbeU.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Checkbox.stories-ILO3mGvJ.js rename to demo-1732-error-on-icon-prop/assets/Checkbox.stories-Pj8mnbeU.js index eaeade1497..5b1eed9b80 100644 --- a/demo-1732-error-on-icon-prop/assets/Checkbox.stories-ILO3mGvJ.js +++ b/demo-1732-error-on-icon-prop/assets/Checkbox.stories-Pj8mnbeU.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{F as I,P as E,E as S,C as N}from"./index.esm-jyjgLnxG.js";import{c as F}from"./clsx-B-dksMZM.js";import{r as i}from"./index-B-o1Wr-g.js";const r=i.forwardRef(({children:a,className:c,invalid:m,indeterminate:o,...w},A)=>{const b=i.useId(),s=i.useRef(null);return i.useImperativeHandle(A,()=>s.current),i.useEffect(()=>{s.current&&(s.current.indeterminate=!!o)},[s,o]),e.jsxs("div",{className:F("ams-checkbox",c),children:[e.jsx("input",{...w,"aria-invalid":m||void 0,className:"ams-checkbox__input",id:b,ref:s,type:"checkbox"}),e.jsxs("label",{className:"ams-checkbox__label",htmlFor:b,children:[e.jsx("span",{className:"ams-checkbox__checkmark"}),a]})]})});r.displayName="Checkbox";try{r.displayName="Checkbox",r.__docgenInfo={description:"",displayName:"Checkbox",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},indeterminate:{defaultValue:null,description:"Allows being neither checked nor unchecked.",name:"indeterminate",required:!1,type:{name:"boolean"}}}}}catch{}const{useArgs:z}=__STORYBOOK_MODULE_PREVIEW_API__,P={title:"Components/Forms/Checkbox",component:r,args:{checked:!1,children:"Checkbox label",disabled:!1,indeterminate:!1,invalid:!1},argTypes:{checked:{description:"Whether the control is checked."},children:{description:"The text for the label.",table:{disable:!1}},disabled:{description:"Prevents interaction. Avoid if possible."},onChange:{action:"clicked",table:{disable:!0}}},render:a=>{const[,c]=z(),m=o=>{c({checked:o.target.checked})};return e.jsx(r,{onClick:m,...a})}},l={},n={args:{children:"Ik heb alle gegevens correct en volledig ingevuld. Ik begrijp dat een verhuizing via internet dezelfde juridische status heeft als een verhuizing met een geschreven geldige handtekening."}},t={argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}},indeterminate:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(I,{"aria-labelledby":`fieldset1 description1${a?" error1":""}`,id:"fieldset1",invalid:a,legend:"Waar gaat uw melding over?",children:[e.jsx(E,{className:"ams-mb--sm",id:"description1",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(S,{className:"ams-mb--sm",id:"error1",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(N,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})},d={args:{invalid:!0},argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}},indeterminate:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(I,{"aria-labelledby":`fieldset2 description2${a?" error2":""}`,id:"fieldset2",invalid:a,legend:"Waar gaat uw melding over?",children:[e.jsx(E,{className:"ams-mb--sm",id:"description2",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(S,{className:"ams-mb--sm",id:"error2",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(N,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})};var u,h,g;l.parameters={...l.parameters,docs:{...(u=l.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(g=(h=l.parameters)==null?void 0:h.docs)==null?void 0:g.source}}};var v,p,x;n.parameters={...n.parameters,docs:{...(v=n.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{F as I,P as E,E as S,C as N}from"./index.esm-DEmhLKYr.js";import{c as F}from"./clsx-B-dksMZM.js";import{r as i}from"./index-B-o1Wr-g.js";const r=i.forwardRef(({children:a,className:c,invalid:m,indeterminate:o,...w},A)=>{const b=i.useId(),s=i.useRef(null);return i.useImperativeHandle(A,()=>s.current),i.useEffect(()=>{s.current&&(s.current.indeterminate=!!o)},[s,o]),e.jsxs("div",{className:F("ams-checkbox",c),children:[e.jsx("input",{...w,"aria-invalid":m||void 0,className:"ams-checkbox__input",id:b,ref:s,type:"checkbox"}),e.jsxs("label",{className:"ams-checkbox__label",htmlFor:b,children:[e.jsx("span",{className:"ams-checkbox__checkmark"}),a]})]})});r.displayName="Checkbox";try{r.displayName="Checkbox",r.__docgenInfo={description:"",displayName:"Checkbox",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},indeterminate:{defaultValue:null,description:"Allows being neither checked nor unchecked.",name:"indeterminate",required:!1,type:{name:"boolean"}}}}}catch{}const{useArgs:z}=__STORYBOOK_MODULE_PREVIEW_API__,P={title:"Components/Forms/Checkbox",component:r,args:{checked:!1,children:"Checkbox label",disabled:!1,indeterminate:!1,invalid:!1},argTypes:{checked:{description:"Whether the control is checked."},children:{description:"The text for the label.",table:{disable:!1}},disabled:{description:"Prevents interaction. Avoid if possible."},onChange:{action:"clicked",table:{disable:!0}}},render:a=>{const[,c]=z(),m=o=>{c({checked:o.target.checked})};return e.jsx(r,{onClick:m,...a})}},l={},n={args:{children:"Ik heb alle gegevens correct en volledig ingevuld. Ik begrijp dat een verhuizing via internet dezelfde juridische status heeft als een verhuizing met een geschreven geldige handtekening."}},t={argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}},indeterminate:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(I,{"aria-labelledby":`fieldset1 description1${a?" error1":""}`,id:"fieldset1",invalid:a,legend:"Waar gaat uw melding over?",children:[e.jsx(E,{className:"ams-mb--sm",id:"description1",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(S,{className:"ams-mb--sm",id:"error1",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(N,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})},d={args:{invalid:!0},argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}},indeterminate:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(I,{"aria-labelledby":`fieldset2 description2${a?" error2":""}`,id:"fieldset2",invalid:a,legend:"Waar gaat uw melding over?",children:[e.jsx(E,{className:"ams-mb--sm",id:"description2",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(S,{className:"ams-mb--sm",id:"error2",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(N,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})};var u,h,g;l.parameters={...l.parameters,docs:{...(u=l.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(g=(h=l.parameters)==null?void 0:h.docs)==null?void 0:g.source}}};var v,p,x;n.parameters={...n.parameters,docs:{...(v=n.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { children: 'Ik heb alle gegevens correct en volledig ingevuld. Ik begrijp dat een verhuizing via internet dezelfde juridische status heeft als een verhuizing met een geschreven geldige handtekening.' } diff --git a/demo-1732-error-on-icon-prop/assets/Color-F6OSRLHC-ClAgG3yS.js b/demo-1732-error-on-icon-prop/assets/Color-F6OSRLHC-BQT8_n6X.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Color-F6OSRLHC-ClAgG3yS.js rename to demo-1732-error-on-icon-prop/assets/Color-F6OSRLHC-BQT8_n6X.js index 407817b11d..6ef930e851 100644 --- a/demo-1732-error-on-icon-prop/assets/Color-F6OSRLHC-ClAgG3yS.js +++ b/demo-1732-error-on-icon-prop/assets/Color-F6OSRLHC-BQT8_n6X.js @@ -1 +1 @@ -import{ak as ce,al as M,a2 as J,a0 as he,N as fe,am as de,an as ge,ao as be,ap as q}from"./index-fGKZZBv1.js";import{R as m,r as p}from"./index-B-o1Wr-g.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./jsx-runtime-j_jdvEMj.js";import"./index-DolzVqEf.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={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]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var 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"]}};l.exports=u;for(let 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);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/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];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,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]=f,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]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*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){let 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]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=ce(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.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}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=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"}}),Xe=M(he)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(fe.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(de)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ge(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:be(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},fr=rr;export{rr as ColorControl,fr as default}; +import{ak as ce,al as M,a2 as J,a0 as he,N as fe,am as de,an as ge,ao as be,ap as q}from"./index-Cnpsjyel.js";import{R as m,r as p}from"./index-B-o1Wr-g.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./jsx-runtime-j_jdvEMj.js";import"./index-DolzVqEf.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={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]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var 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"]}};l.exports=u;for(let 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);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/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];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,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]=f,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]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*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){let 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]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=ce(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.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}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=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"}}),Xe=M(he)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(fe.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(de)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ge(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:be(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},fr=rr;export{rr as ColorControl,fr as default}; diff --git a/demo-1732-error-on-icon-prop/assets/Column.docs-CJ52zRaZ.js b/demo-1732-error-on-icon-prop/assets/Column.docs-FkZGE3NP.js similarity index 93% rename from demo-1732-error-on-icon-prop/assets/Column.docs-CJ52zRaZ.js rename to demo-1732-error-on-icon-prop/assets/Column.docs-FkZGE3NP.js index 3dbf0a184a..358642edd6 100644 --- a/demo-1732-error-on-icon-prop/assets/Column.docs-CJ52zRaZ.js +++ b/demo-1732-error-on-icon-prop/assets/Column.docs-FkZGE3NP.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as o,aq as l,ar as a,as as h,at as i}from"./index-fGKZZBv1.js";import{C as c,A as d,H as m,I as p}from"./Column.stories-5wDLVxxb.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./layout-B5YJ6HHW.js";const x=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as o,aq as l,ar as a,as as h,at as i}from"./index-Cnpsjyel.js";import{C as c,A as d,H as m,I as p}from"./Column.stories-CiZT88Ht.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./layout-B5YJ6HHW.js";const x=` # Column diff --git a/demo-1732-error-on-icon-prop/assets/Column.stories-5wDLVxxb.js b/demo-1732-error-on-icon-prop/assets/Column.stories-CiZT88Ht.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Column.stories-5wDLVxxb.js rename to demo-1732-error-on-icon-prop/assets/Column.stories-CiZT88Ht.js index f6b052ed17..1c8651c93d 100644 --- a/demo-1732-error-on-icon-prop/assets/Column.stories-5wDLVxxb.js +++ b/demo-1732-error-on-icon-prop/assets/Column.stories-CiZT88Ht.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as i,d as s,P as d}from"./index.esm-jyjgLnxG.js";import{m as A,c as S}from"./layout-B5YJ6HHW.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as T}from"./index-B-o1Wr-g.js";const o=T.forwardRef(({align:t,alignHorizontal:m,as:H="div",children:_,className:N,gap:c,...w},z)=>e.jsx(H,{...w,ref:z,className:L("ams-column",t&&`ams-column--align-${t}`,m&&`ams-column--align-horizontal-${m}`,c&&`ams-column--gap-${c}`,N),children:_}));o.displayName="Column";try{o.displayName="Column",o.__docgenInfo={description:"",displayName:"Column",props:{align:{defaultValue:{value:"start"},description:"The vertical alignment of the items in the column.",name:"align",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"between"'},{value:'"around"'},{value:'"evenly"'}]}},alignHorizontal:{defaultValue:{value:"stretch"},description:"The horizontal alignment of the items in the column.",name:"alignHorizontal",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},as:{defaultValue:{value:"div"},description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'}]}},gap:{defaultValue:{value:"medium"},description:"The amount of space between items.",name:"gap",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"small"'},{value:'"large"'},{value:'"extra-small"'},{value:'"extra-large"'}]}}}}}catch{}const P=[e.jsx("div",{className:"ams-docs-item"},0),e.jsx("div",{className:"ams-docs-item"},1),e.jsx("div",{className:"ams-docs-item"},2)],V={title:"Components/Layout/Column",component:o,args:{children:P,className:"ams-docs-column"},argTypes:{align:{control:{type:"radio",labels:{undefined:"start"}},options:[void 0,...A]},alignHorizontal:{control:{type:"radio",labels:{undefined:"stretch"}},options:[void 0,...S]},className:{table:{disable:!0}},gap:{control:{type:"radio",labels:{undefined:"medium"}},options:["none","extra-small","small",void 0,"large","extra-large"]}}},a={},n={args:{align:"center"}},r={args:{alignHorizontal:"center"}},l={args:{as:"section",children:[e.jsx(i,{level:3,children:"Zoekresultaten"}),e.jsxs(s,{children:[e.jsx(i,{level:4,children:e.jsx(s.Link,{href:"#",children:"Nieuwe manieren om afval op te halen"})}),e.jsx(d,{children:"Afvalboten, bakfietsen en ondergrondse containers. We experimenteren met nieuwe manieren om afval op te halen in het centrum."})]},1),e.jsxs(s,{children:[e.jsx(i,{level:4,children:e.jsx(s.Link,{href:"#",children:"Verlenging proef ophalen afval per boot"})}),e.jsx(d,{children:"Een proef met het anders ophalen van afval. We halen vuilniszakken hier op met kleine wagentjes, kleine vuilniswagens en een afvalboot."})]},2)],className:void 0}};var u,p,g;a.parameters={...a.parameters,docs:{...(u=a.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(g=(p=a.parameters)==null?void 0:p.docs)==null?void 0:g.source}}};var v,h,f;n.parameters={...n.parameters,docs:{...(v=n.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as i,d as s,P as d}from"./index.esm-DEmhLKYr.js";import{m as A,c as S}from"./layout-B5YJ6HHW.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as T}from"./index-B-o1Wr-g.js";const o=T.forwardRef(({align:t,alignHorizontal:m,as:H="div",children:_,className:N,gap:c,...w},z)=>e.jsx(H,{...w,ref:z,className:L("ams-column",t&&`ams-column--align-${t}`,m&&`ams-column--align-horizontal-${m}`,c&&`ams-column--gap-${c}`,N),children:_}));o.displayName="Column";try{o.displayName="Column",o.__docgenInfo={description:"",displayName:"Column",props:{align:{defaultValue:{value:"start"},description:"The vertical alignment of the items in the column.",name:"align",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"between"'},{value:'"around"'},{value:'"evenly"'}]}},alignHorizontal:{defaultValue:{value:"stretch"},description:"The horizontal alignment of the items in the column.",name:"alignHorizontal",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},as:{defaultValue:{value:"div"},description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'}]}},gap:{defaultValue:{value:"medium"},description:"The amount of space between items.",name:"gap",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"small"'},{value:'"large"'},{value:'"extra-small"'},{value:'"extra-large"'}]}}}}}catch{}const P=[e.jsx("div",{className:"ams-docs-item"},0),e.jsx("div",{className:"ams-docs-item"},1),e.jsx("div",{className:"ams-docs-item"},2)],V={title:"Components/Layout/Column",component:o,args:{children:P,className:"ams-docs-column"},argTypes:{align:{control:{type:"radio",labels:{undefined:"start"}},options:[void 0,...A]},alignHorizontal:{control:{type:"radio",labels:{undefined:"stretch"}},options:[void 0,...S]},className:{table:{disable:!0}},gap:{control:{type:"radio",labels:{undefined:"medium"}},options:["none","extra-small","small",void 0,"large","extra-large"]}}},a={},n={args:{align:"center"}},r={args:{alignHorizontal:"center"}},l={args:{as:"section",children:[e.jsx(i,{level:3,children:"Zoekresultaten"}),e.jsxs(s,{children:[e.jsx(i,{level:4,children:e.jsx(s.Link,{href:"#",children:"Nieuwe manieren om afval op te halen"})}),e.jsx(d,{children:"Afvalboten, bakfietsen en ondergrondse containers. We experimenteren met nieuwe manieren om afval op te halen in het centrum."})]},1),e.jsxs(s,{children:[e.jsx(i,{level:4,children:e.jsx(s.Link,{href:"#",children:"Verlenging proef ophalen afval per boot"})}),e.jsx(d,{children:"Een proef met het anders ophalen van afval. We halen vuilniszakken hier op met kleine wagentjes, kleine vuilniswagens en een afvalboot."})]},2)],className:void 0}};var u,p,g;a.parameters={...a.parameters,docs:{...(u=a.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(g=(p=a.parameters)==null?void 0:p.docs)==null?void 0:g.source}}};var v,h,f;n.parameters={...n.parameters,docs:{...(v=n.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { align: 'center' } diff --git a/demo-1732-error-on-icon-prop/assets/DateInput.docs-CPjuz0xA.js b/demo-1732-error-on-icon-prop/assets/DateInput.docs-vAx-8iEX.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/DateInput.docs-CPjuz0xA.js rename to demo-1732-error-on-icon-prop/assets/DateInput.docs-vAx-8iEX.js index 704fcd5a5e..f6436eb7eb 100644 --- a/demo-1732-error-on-icon-prop/assets/DateInput.docs-CPjuz0xA.js +++ b/demo-1732-error-on-icon-prop/assets/DateInput.docs-vAx-8iEX.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as a,aq as r,ar as d,as as l,at as s}from"./index-fGKZZBv1.js";import{D as c,a as h,I as m,b as p,c as f,d as u}from"./DateInput.stories-DEDg7dUv.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const x=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as a,aq as r,ar as d,as as l,at as s}from"./index-Cnpsjyel.js";import{D as c,a as h,I as m,b as p,c as f,d as u}from"./DateInput.stories-rflzbEnx.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const x=` # Date Input diff --git a/demo-1732-error-on-icon-prop/assets/DateInput.stories-DEDg7dUv.js b/demo-1732-error-on-icon-prop/assets/DateInput.stories-rflzbEnx.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/DateInput.stories-DEDg7dUv.js rename to demo-1732-error-on-icon-prop/assets/DateInput.stories-rflzbEnx.js index 43ede4fa9c..4ddc708f8b 100644 --- a/demo-1732-error-on-icon-prop/assets/DateInput.stories-DEDg7dUv.js +++ b/demo-1732-error-on-icon-prop/assets/DateInput.stories-rflzbEnx.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{e as L,f as S,P,E as O}from"./index.esm-jyjgLnxG.js";import{c as N}from"./clsx-B-dksMZM.js";import{r as V}from"./index-B-o1Wr-g.js";const a=V.forwardRef(({className:e,invalid:M,type:z="date",...A},T)=>r.jsx("input",{...A,"aria-invalid":M||void 0,className:N("ams-date-input",e),ref:T,type:z}));a.displayName="DateInput";try{a.displayName="DateInput",a.__docgenInfo={description:"",displayName:"DateInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},type:{defaultValue:{value:"date"},description:"The kind of data that the user should provide.",name:"type",required:!1,type:{name:"enum",value:[{value:'"date"'},{value:'"datetime-local"'}]}}}}}catch{}const $={title:"Components/Forms/Date Input",component:a,args:{disabled:!1,invalid:!1},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},i={},s={args:{type:"datetime-local"}},t={args:{invalid:!0}},d={args:{disabled:!0}},n={render:e=>r.jsxs(L,{invalid:e.invalid,children:[r.jsx(S,{htmlFor:"input1",children:"Label"}),r.jsx(P,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(O,{id:"error1",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},o={args:{invalid:!0},render:e=>r.jsxs(L,{invalid:e.invalid,children:[r.jsx(S,{htmlFor:"input2",children:"Label"}),r.jsx(P,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(O,{id:"error2",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var l,c,p;i.parameters={...i.parameters,docs:{...(l=i.parameters)==null?void 0:l.docs,source:{originalSource:"{}",...(p=(c=i.parameters)==null?void 0:c.docs)==null?void 0:p.source}}};var m,u,g;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{e as L,f as S,P,E as O}from"./index.esm-DEmhLKYr.js";import{c as N}from"./clsx-B-dksMZM.js";import{r as V}from"./index-B-o1Wr-g.js";const a=V.forwardRef(({className:e,invalid:M,type:z="date",...A},T)=>r.jsx("input",{...A,"aria-invalid":M||void 0,className:N("ams-date-input",e),ref:T,type:z}));a.displayName="DateInput";try{a.displayName="DateInput",a.__docgenInfo={description:"",displayName:"DateInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},type:{defaultValue:{value:"date"},description:"The kind of data that the user should provide.",name:"type",required:!1,type:{name:"enum",value:[{value:'"date"'},{value:'"datetime-local"'}]}}}}}catch{}const $={title:"Components/Forms/Date Input",component:a,args:{disabled:!1,invalid:!1},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},i={},s={args:{type:"datetime-local"}},t={args:{invalid:!0}},d={args:{disabled:!0}},n={render:e=>r.jsxs(L,{invalid:e.invalid,children:[r.jsx(S,{htmlFor:"input1",children:"Label"}),r.jsx(P,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(O,{id:"error1",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},o={args:{invalid:!0},render:e=>r.jsxs(L,{invalid:e.invalid,children:[r.jsx(S,{htmlFor:"input2",children:"Label"}),r.jsx(P,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(O,{id:"error2",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var l,c,p;i.parameters={...i.parameters,docs:{...(l=i.parameters)==null?void 0:l.docs,source:{originalSource:"{}",...(p=(c=i.parameters)==null?void 0:c.docs)==null?void 0:p.source}}};var m,u,g;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ args: { type: 'datetime-local' } diff --git a/demo-1732-error-on-icon-prop/assets/DescriptionList.docs-C0ebttrR.js b/demo-1732-error-on-icon-prop/assets/DescriptionList.docs-Cev6lbVe.js similarity index 89% rename from demo-1732-error-on-icon-prop/assets/DescriptionList.docs-C0ebttrR.js rename to demo-1732-error-on-icon-prop/assets/DescriptionList.docs-Cev6lbVe.js index 915fe7734b..050dcef1cd 100644 --- a/demo-1732-error-on-icon-prop/assets/DescriptionList.docs-C0ebttrR.js +++ b/demo-1732-error-on-icon-prop/assets/DescriptionList.docs-Cev6lbVe.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r,aq as a,ar as c,as as p,at as i}from"./index-fGKZZBv1.js";import{D as l,M as d,R as h,I as m}from"./DescriptionList.stories-CCEZtbUz.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";const u=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r,aq as a,ar as c,as as p,at as i}from"./index-Cnpsjyel.js";import{D as l,M as d,R as h,I as m}from"./DescriptionList.stories-N7Skd9Dt.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";const u=` # Description List diff --git a/demo-1732-error-on-icon-prop/assets/DescriptionList.stories-CCEZtbUz.js b/demo-1732-error-on-icon-prop/assets/DescriptionList.stories-N7Skd9Dt.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/DescriptionList.stories-CCEZtbUz.js rename to demo-1732-error-on-icon-prop/assets/DescriptionList.stories-N7Skd9Dt.js index 575ac491c2..7550ef345d 100644 --- a/demo-1732-error-on-icon-prop/assets/DescriptionList.stories-CCEZtbUz.js +++ b/demo-1732-error-on-icon-prop/assets/DescriptionList.stories-N7Skd9Dt.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as I,U as l,L as N}from"./index.esm-jyjgLnxG.js";import{i as P}from"./decorators-DYZ3zH5Z.js";import{c as p}from"./clsx-B-dksMZM.js";import{r as m}from"./index-B-o1Wr-g.js";const w=m.forwardRef(({children:i,className:t,...o},s)=>e.jsx("dd",{...o,ref:s,className:p("ams-description-list__description",t),children:i}));w.displayName="DescriptionList.Description";try{DescriptionList.Description.displayName="DescriptionList.Description",DescriptionList.Description.__docgenInfo={description:"",displayName:"DescriptionList.Description",props:{}}}catch{}const y=m.forwardRef(({children:i,className:t,...o},s)=>e.jsx("dt",{...o,ref:s,className:p("ams-description-list__term",t),children:i}));y.displayName="DescriptionList.Term";try{DescriptionList.Term.displayName="DescriptionList.Term",DescriptionList.Term.__docgenInfo={description:"",displayName:"DescriptionList.Term",props:{}}}catch{}const C=m.forwardRef(({children:i,className:t,inverseColor:o,termsWidth:s,...T},z)=>e.jsx("dl",{...T,ref:z,className:p("ams-description-list",s&&`ams-description-list--terms-width-${s}`,o&&"ams-description-list--inverse-color",t),children:i}));C.displayName="DescriptionList";const r=Object.assign(C,{Term:y,Description:w});try{r.displayName="DescriptionList",r.__docgenInfo={description:"",displayName:"DescriptionList",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},termsWidth:{defaultValue:null,description:"",name:"termsWidth",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'}]}}}}}catch{}const U={title:"Components/Text/Description List",component:r,decorators:[P],args:{children:[e.jsx(r.Term,{children:"Het hoger onderwijs"},1),e.jsx(r.Description,{children:"Het hbo en wo"},2),e.jsx(r.Term,{children:"Het mbo en hoger onderwijs"},3),e.jsx(r.Description,{children:"Het vervolgonderwijs"},4),e.jsx(r.Term,{children:"Laagopgeleid"},5),e.jsx(r.Description,{children:"Praktisch opgeleid"},6),e.jsx(r.Term,{children:"Hoogopgeleid"},7),e.jsx(r.Description,{children:"Theoretisch opgeleid"},8),e.jsx(r.Term,{children:"Opleidingsniveau"},9),e.jsx(r.Description,{children:"Onderwijsrichting"},10)],inverseColor:!1},argTypes:{termsWidth:{control:{type:"radio",labels:{undefined:"auto",sm:"small",md:"medium",lg:"large"}},options:[void 0,"sm","md","lg"]}}},n={},a={args:{children:[e.jsx(r.Term,{children:"Blinde, slechtziende"},1),e.jsx(r.Description,{children:"Persoon met een visuele beperking"},2),e.jsx(r.Description,{children:"Persoon met een visuele handicap"},3),e.jsx(r.Description,{children:"Persoon die blind is"},4),e.jsx(r.Description,{children:"Persoon die slechtziend is"},5)]}},c={render:i=>e.jsxs(r,{...i,children:[e.jsx(r.Term,{children:"Amsterdam Light Festival"},1),e.jsxs(r.Description,{children:[e.jsxs(I,{className:"ams-mb--sm",inverseColor:i.inverseColor,children:["Een jaarlijks evenement waarbij kunstenaars van over de hele wereld hun"," ",e.jsx("strong",{children:"creatieve lichtinstallaties"})," tonen. De kunstwerken zijn verspreid over de stad en zijn zowel vanaf het water als vanaf de kant te bewonderen."]}),e.jsxs(l,{inverseColor:i.inverseColor,children:[e.jsx(l.Item,{children:"Kleed je warm aan, want de meeste exposities zijn buiten."}),e.jsx(l.Item,{children:"Er zijn begeleide boottochten en wandelroutes beschikbaar."}),e.jsxs(l.Item,{children:["Voor de volledige lijst met exposities kun je"," ",e.jsx(N,{href:"#",inverseColor:i.inverseColor,children:"de festivalbrochure downloaden"}),"."]})]})]},2)]})},d={args:{inverseColor:!0}};var h,D,u;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(u=(D=n.parameters)==null?void 0:D.docs)==null?void 0:u.source}}};var j,v,g;a.parameters={...a.parameters,docs:{...(j=a.parameters)==null?void 0:j.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as I,U as l,L as N}from"./index.esm-DEmhLKYr.js";import{i as P}from"./decorators-DYZ3zH5Z.js";import{c as p}from"./clsx-B-dksMZM.js";import{r as m}from"./index-B-o1Wr-g.js";const w=m.forwardRef(({children:i,className:t,...o},s)=>e.jsx("dd",{...o,ref:s,className:p("ams-description-list__description",t),children:i}));w.displayName="DescriptionList.Description";try{DescriptionList.Description.displayName="DescriptionList.Description",DescriptionList.Description.__docgenInfo={description:"",displayName:"DescriptionList.Description",props:{}}}catch{}const y=m.forwardRef(({children:i,className:t,...o},s)=>e.jsx("dt",{...o,ref:s,className:p("ams-description-list__term",t),children:i}));y.displayName="DescriptionList.Term";try{DescriptionList.Term.displayName="DescriptionList.Term",DescriptionList.Term.__docgenInfo={description:"",displayName:"DescriptionList.Term",props:{}}}catch{}const C=m.forwardRef(({children:i,className:t,inverseColor:o,termsWidth:s,...T},z)=>e.jsx("dl",{...T,ref:z,className:p("ams-description-list",s&&`ams-description-list--terms-width-${s}`,o&&"ams-description-list--inverse-color",t),children:i}));C.displayName="DescriptionList";const r=Object.assign(C,{Term:y,Description:w});try{r.displayName="DescriptionList",r.__docgenInfo={description:"",displayName:"DescriptionList",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},termsWidth:{defaultValue:null,description:"",name:"termsWidth",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'}]}}}}}catch{}const U={title:"Components/Text/Description List",component:r,decorators:[P],args:{children:[e.jsx(r.Term,{children:"Het hoger onderwijs"},1),e.jsx(r.Description,{children:"Het hbo en wo"},2),e.jsx(r.Term,{children:"Het mbo en hoger onderwijs"},3),e.jsx(r.Description,{children:"Het vervolgonderwijs"},4),e.jsx(r.Term,{children:"Laagopgeleid"},5),e.jsx(r.Description,{children:"Praktisch opgeleid"},6),e.jsx(r.Term,{children:"Hoogopgeleid"},7),e.jsx(r.Description,{children:"Theoretisch opgeleid"},8),e.jsx(r.Term,{children:"Opleidingsniveau"},9),e.jsx(r.Description,{children:"Onderwijsrichting"},10)],inverseColor:!1},argTypes:{termsWidth:{control:{type:"radio",labels:{undefined:"auto",sm:"small",md:"medium",lg:"large"}},options:[void 0,"sm","md","lg"]}}},n={},a={args:{children:[e.jsx(r.Term,{children:"Blinde, slechtziende"},1),e.jsx(r.Description,{children:"Persoon met een visuele beperking"},2),e.jsx(r.Description,{children:"Persoon met een visuele handicap"},3),e.jsx(r.Description,{children:"Persoon die blind is"},4),e.jsx(r.Description,{children:"Persoon die slechtziend is"},5)]}},c={render:i=>e.jsxs(r,{...i,children:[e.jsx(r.Term,{children:"Amsterdam Light Festival"},1),e.jsxs(r.Description,{children:[e.jsxs(I,{className:"ams-mb--sm",inverseColor:i.inverseColor,children:["Een jaarlijks evenement waarbij kunstenaars van over de hele wereld hun"," ",e.jsx("strong",{children:"creatieve lichtinstallaties"})," tonen. De kunstwerken zijn verspreid over de stad en zijn zowel vanaf het water als vanaf de kant te bewonderen."]}),e.jsxs(l,{inverseColor:i.inverseColor,children:[e.jsx(l.Item,{children:"Kleed je warm aan, want de meeste exposities zijn buiten."}),e.jsx(l.Item,{children:"Er zijn begeleide boottochten en wandelroutes beschikbaar."}),e.jsxs(l.Item,{children:["Voor de volledige lijst met exposities kun je"," ",e.jsx(N,{href:"#",inverseColor:i.inverseColor,children:"de festivalbrochure downloaden"}),"."]})]})]},2)]})},d={args:{inverseColor:!0}};var h,D,u;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(u=(D=n.parameters)==null?void 0:D.docs)==null?void 0:u.source}}};var j,v,g;a.parameters={...a.parameters,docs:{...(j=a.parameters)==null?void 0:j.docs,source:{originalSource:`{ args: { children: [Blinde, slechtziende, Persoon met een visuele beperking, Persoon met een visuele handicap, Persoon die blind is, Persoon die slechtziend is] } diff --git a/demo-1732-error-on-icon-prop/assets/Dialog.docs-D717M1nc.js b/demo-1732-error-on-icon-prop/assets/Dialog.docs-DGZlReZd.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/Dialog.docs-D717M1nc.js rename to demo-1732-error-on-icon-prop/assets/Dialog.docs-DGZlReZd.js index e98c99f2ee..cccd3126d3 100644 --- a/demo-1732-error-on-icon-prop/assets/Dialog.docs-D717M1nc.js +++ b/demo-1732-error-on-icon-prop/assets/Dialog.docs-DGZlReZd.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as l,aq as r,ar as a,as as c,at as t}from"./index-fGKZZBv1.js";import{D as h,O as d,A as m,W as p}from"./Dialog.stories-CbRS7H0H.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-D2q6GTZc.js";import"./Icon-D1obyjGa.js";const u=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as l,aq as r,ar as a,as as c,at as t}from"./index-Cnpsjyel.js";import{D as h,O as d,A as m,W as p}from"./Dialog.stories-ASXg-V4z.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-D2q6GTZc.js";import"./Icon-D1obyjGa.js";const u=` # Dialog diff --git a/demo-1732-error-on-icon-prop/assets/Dialog.stories-CbRS7H0H.js b/demo-1732-error-on-icon-prop/assets/Dialog.stories-ASXg-V4z.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Dialog.stories-CbRS7H0H.js rename to demo-1732-error-on-icon-prop/assets/Dialog.stories-ASXg-V4z.js index a858a62386..a18c5bf9e4 100644 --- a/demo-1732-error-on-icon-prop/assets/Dialog.stories-CbRS7H0H.js +++ b/demo-1732-error-on-icon-prop/assets/Dialog.stories-ASXg-V4z.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as r,A as g,a as l,C as G,H as m}from"./index.esm-jyjgLnxG.js";import{c as H}from"./clsx-B-dksMZM.js";import{r as O}from"./index-B-o1Wr-g.js";import{H as V}from"./Heading-BMR-3CH3.js";import{I as T}from"./IconButton-D2q6GTZc.js";const A=a=>{var n;return(n=a.currentTarget.closest("dialog"))==null?void 0:n.close()},W=a=>{var n;return(n=document.querySelector(a))==null?void 0:n.showModal()},z=O.forwardRef(({children:a,className:n,closeButtonLabel:_="Sluiten",footer:c,heading:N,...P},B)=>e.jsxs("dialog",{...P,ref:B,className:H("ams-dialog",n),children:[e.jsxs("header",{className:"ams-dialog__header",children:[e.jsx(V,{size:"level-4",children:N}),e.jsx(T,{label:_,onClick:A,size:"level-4",type:"button"})]}),e.jsx("div",{className:"ams-dialog__body",children:a}),c&&e.jsx("footer",{className:"ams-dialog__footer",children:c})]}));z.displayName="Dialog";const o=Object.assign(z,{close:A,open:W});try{o.displayName="Dialog",o.__docgenInfo={description:"",displayName:"Dialog",props:{closeButtonLabel:{defaultValue:{value:"Sluiten"},description:"The label for the button that dismisses the Dialog.",name:"closeButtonLabel",required:!1,type:{name:"string"}},footer:{defaultValue:null,description:"Content for the footer, often one Button or an Action Group containing more of them.",name:"footer",required:!1,type:{name:"ReactNode"}},heading:{defaultValue:null,description:"The text for the Heading.",name:"heading",required:!0,type:{name:"string"}}}}}catch{}const S=a=>e.jsx("form",{id:a,method:"dialog",children:e.jsx(r,{children:"Weet u zeker dat u door wilt gaan met het uitvoeren van deze actie? Gegevens die nog niet opgeslagen zijn gaan dan verloren."})}),C=a=>e.jsxs(g,{children:[e.jsx(l,{form:a,type:"submit",value:"submit",children:"Doorgaan"}),e.jsx(l,{onClick:o.close,variant:"tertiary",children:"Stoppen"})]}),E={title:"Components/Containers/Dialog",component:o,args:{children:S("ams-dialog-form"),footer:C("ams-dialog-form"),heading:"Niet alle gegevens zijn opgeslagen"},argTypes:{footer:{table:{disable:!0}},heading:{description:"The text for the heading."},open:{description:"Whether the dialog box is active and available for interaction."}}},t={args:{children:e.jsx(r,{children:"De gegevens zijn opgeslagen."}),footer:e.jsx(g,{children:e.jsx(l,{onClick:o.close,variant:"primary",children:"Sluiten"})}),heading:"Gelukt",open:!0},decorators:[a=>e.jsx("div",{className:"ams-docs-backdrop",children:e.jsx(a,{})})],parameters:{docs:{story:{height:"28rem"}},layout:"fullscreen"}},s={args:{id:"ams-dialog"},decorators:[a=>e.jsxs("div",{children:[e.jsx(l,{onClick:()=>o.open("#ams-dialog"),children:"Open Dialog"}),e.jsx(a,{})]})]},i={args:{children:S("ams-dialog-asking-to-confirm-form"),footer:C("ams-dialog-asking-to-confirm-form"),open:!0},decorators:[a=>e.jsx("div",{className:"ams-docs-backdrop",children:e.jsx(a,{})})],parameters:{docs:{story:{height:"32rem"}},layout:"fullscreen"}},d={args:{children:e.jsxs(G,{gap:"small",children:[e.jsx(m,{level:2,size:"level-5",children:"Algemeen"}),e.jsx(r,{children:"De gemeente Amsterdam verwerkt bij de uitvoering van haar taken en verplichtingen persoonsgegevens. De manier waarop de gemeente Amsterdam om gaat met persoonsgegevens is vastgelegd in het stedelijk kader verwerken persoonsgegevens."}),e.jsx(r,{children:"Deze verklaring geeft aanvullende informatie over de omgang met persoonsgegevens door de gemeente Amsterdam en over uw mogelijkheden tot het uitoefenen van uw rechten met betrekking tot persoonsgegevens."}),e.jsx(r,{children:"Meer specifieke informatie over privacy en de verwerking van persoonsgegevens door de gemeente Amsterdam kunt u op de hoofdpagina vinden."}),e.jsx(r,{children:"Vanwege nieuwe wetgeving of andere ontwikkelingen, past de gemeente regelmatig haar processen aan. Dit kunnen ook wijzigingen zijn in de wijze van het verwerken van persoonsgegevens. Wij raden u daarom aan om regelmatig deze pagina te bekijken. Deze pagina wordt doorlopend geactualiseerd."}),e.jsx(m,{level:2,size:"level-5",children:"Geldende wet- en regelgeving en reikwijdte"}),e.jsx(r,{children:"Vanaf 25 mei 2018 is de Algemene verordening gegevensbescherming (Avg) van toepassing op alle verwerkingen van persoonsgegevens. Deze Europese wetgeving heeft directe werking in Nederland. Voor die zaken die nationaal geregeld moeten worden, is de Uitvoeringswet Avg in Nederland aanvullend van toepassing. Deze wetteksten kunt u vinden op de website van Autoriteit Persoonsgegevens."})]}),footer:e.jsx(g,{children:e.jsx(l,{onClick:o.close,children:"Sluiten"})}),heading:"Privacyverklaring gemeente Amsterdam",open:!0},decorators:[a=>e.jsx("div",{className:"ams-docs-backdrop",children:e.jsx(a,{})})],parameters:{docs:{story:{height:"100vh"}},layout:"fullscreen"}};var p,v,u;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as r,A as g,a as l,C as G,H as m}from"./index.esm-DEmhLKYr.js";import{c as H}from"./clsx-B-dksMZM.js";import{r as O}from"./index-B-o1Wr-g.js";import{H as V}from"./Heading-BMR-3CH3.js";import{I as T}from"./IconButton-D2q6GTZc.js";const A=a=>{var n;return(n=a.currentTarget.closest("dialog"))==null?void 0:n.close()},W=a=>{var n;return(n=document.querySelector(a))==null?void 0:n.showModal()},z=O.forwardRef(({children:a,className:n,closeButtonLabel:_="Sluiten",footer:c,heading:N,...P},B)=>e.jsxs("dialog",{...P,ref:B,className:H("ams-dialog",n),children:[e.jsxs("header",{className:"ams-dialog__header",children:[e.jsx(V,{size:"level-4",children:N}),e.jsx(T,{label:_,onClick:A,size:"level-4",type:"button"})]}),e.jsx("div",{className:"ams-dialog__body",children:a}),c&&e.jsx("footer",{className:"ams-dialog__footer",children:c})]}));z.displayName="Dialog";const o=Object.assign(z,{close:A,open:W});try{o.displayName="Dialog",o.__docgenInfo={description:"",displayName:"Dialog",props:{closeButtonLabel:{defaultValue:{value:"Sluiten"},description:"The label for the button that dismisses the Dialog.",name:"closeButtonLabel",required:!1,type:{name:"string"}},footer:{defaultValue:null,description:"Content for the footer, often one Button or an Action Group containing more of them.",name:"footer",required:!1,type:{name:"ReactNode"}},heading:{defaultValue:null,description:"The text for the Heading.",name:"heading",required:!0,type:{name:"string"}}}}}catch{}const S=a=>e.jsx("form",{id:a,method:"dialog",children:e.jsx(r,{children:"Weet u zeker dat u door wilt gaan met het uitvoeren van deze actie? Gegevens die nog niet opgeslagen zijn gaan dan verloren."})}),C=a=>e.jsxs(g,{children:[e.jsx(l,{form:a,type:"submit",value:"submit",children:"Doorgaan"}),e.jsx(l,{onClick:o.close,variant:"tertiary",children:"Stoppen"})]}),E={title:"Components/Containers/Dialog",component:o,args:{children:S("ams-dialog-form"),footer:C("ams-dialog-form"),heading:"Niet alle gegevens zijn opgeslagen"},argTypes:{footer:{table:{disable:!0}},heading:{description:"The text for the heading."},open:{description:"Whether the dialog box is active and available for interaction."}}},t={args:{children:e.jsx(r,{children:"De gegevens zijn opgeslagen."}),footer:e.jsx(g,{children:e.jsx(l,{onClick:o.close,variant:"primary",children:"Sluiten"})}),heading:"Gelukt",open:!0},decorators:[a=>e.jsx("div",{className:"ams-docs-backdrop",children:e.jsx(a,{})})],parameters:{docs:{story:{height:"28rem"}},layout:"fullscreen"}},s={args:{id:"ams-dialog"},decorators:[a=>e.jsxs("div",{children:[e.jsx(l,{onClick:()=>o.open("#ams-dialog"),children:"Open Dialog"}),e.jsx(a,{})]})]},i={args:{children:S("ams-dialog-asking-to-confirm-form"),footer:C("ams-dialog-asking-to-confirm-form"),open:!0},decorators:[a=>e.jsx("div",{className:"ams-docs-backdrop",children:e.jsx(a,{})})],parameters:{docs:{story:{height:"32rem"}},layout:"fullscreen"}},d={args:{children:e.jsxs(G,{gap:"small",children:[e.jsx(m,{level:2,size:"level-5",children:"Algemeen"}),e.jsx(r,{children:"De gemeente Amsterdam verwerkt bij de uitvoering van haar taken en verplichtingen persoonsgegevens. De manier waarop de gemeente Amsterdam om gaat met persoonsgegevens is vastgelegd in het stedelijk kader verwerken persoonsgegevens."}),e.jsx(r,{children:"Deze verklaring geeft aanvullende informatie over de omgang met persoonsgegevens door de gemeente Amsterdam en over uw mogelijkheden tot het uitoefenen van uw rechten met betrekking tot persoonsgegevens."}),e.jsx(r,{children:"Meer specifieke informatie over privacy en de verwerking van persoonsgegevens door de gemeente Amsterdam kunt u op de hoofdpagina vinden."}),e.jsx(r,{children:"Vanwege nieuwe wetgeving of andere ontwikkelingen, past de gemeente regelmatig haar processen aan. Dit kunnen ook wijzigingen zijn in de wijze van het verwerken van persoonsgegevens. Wij raden u daarom aan om regelmatig deze pagina te bekijken. Deze pagina wordt doorlopend geactualiseerd."}),e.jsx(m,{level:2,size:"level-5",children:"Geldende wet- en regelgeving en reikwijdte"}),e.jsx(r,{children:"Vanaf 25 mei 2018 is de Algemene verordening gegevensbescherming (Avg) van toepassing op alle verwerkingen van persoonsgegevens. Deze Europese wetgeving heeft directe werking in Nederland. Voor die zaken die nationaal geregeld moeten worden, is de Uitvoeringswet Avg in Nederland aanvullend van toepassing. Deze wetteksten kunt u vinden op de website van Autoriteit Persoonsgegevens."})]}),footer:e.jsx(g,{children:e.jsx(l,{onClick:o.close,children:"Sluiten"})}),heading:"Privacyverklaring gemeente Amsterdam",open:!0},decorators:[a=>e.jsx("div",{className:"ams-docs-backdrop",children:e.jsx(a,{})})],parameters:{docs:{story:{height:"100vh"}},layout:"fullscreen"}};var p,v,u;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { children: De gegevens zijn opgeslagen., footer: diff --git a/demo-1732-error-on-icon-prop/assets/DocsRenderer-CFRXHY34-CUWiS8Jt.js b/demo-1732-error-on-icon-prop/assets/DocsRenderer-CFRXHY34-DZmfOQ1q.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/DocsRenderer-CFRXHY34-CUWiS8Jt.js rename to demo-1732-error-on-icon-prop/assets/DocsRenderer-CFRXHY34-DZmfOQ1q.js index 087fd87788..e02daad84a 100644 --- a/demo-1732-error-on-icon-prop/assets/DocsRenderer-CFRXHY34-CUWiS8Jt.js +++ b/demo-1732-error-on-icon-prop/assets/DocsRenderer-CFRXHY34-DZmfOQ1q.js @@ -1,2 +1,2 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BSj771as.js","./index-B-o1Wr-g.js","./_commonjsHelpers-Cpj98o6Y.js"])))=>i.map(i=>d[i]); -import{_ as p}from"./iframe-e7YraeZa.js";import{R as e,r as c}from"./index-B-o1Wr-g.js";import{ag as l,ah as u,ai as h,aj as E}from"./index-fGKZZBv1.js";import{renderElement as d,unmountElement as x}from"./react-18-Dbhu8A1k.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./jsx-runtime-j_jdvEMj.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";var _={code:l,a:u,...h},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)}},S=class{constructor(){this.render=async(t,r,n)=>{let s={..._,...r==null?void 0:r.components},a=E;return new Promise((i,m)=>{p(async()=>{const{MDXProvider:o}=await import("./index-BSj771as.js");return{MDXProvider:o}},__vite__mapDeps([0,1,2]),import.meta.url).then(({MDXProvider:o})=>d(e.createElement(D,{showException:m,key:Math.random()},e.createElement(o,{components:s},e.createElement(a,{context:t,docsParameter:r}))),n)).then(()=>i())})},this.unmount=t=>{x(t)}}};export{S as DocsRenderer,_ as defaultComponents}; +import{_ as p}from"./iframe-D2ZBSuFq.js";import{R as e,r as c}from"./index-B-o1Wr-g.js";import{ag as l,ah as u,ai as h,aj as E}from"./index-Cnpsjyel.js";import{renderElement as d,unmountElement as x}from"./react-18-Dbhu8A1k.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./jsx-runtime-j_jdvEMj.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";var _={code:l,a:u,...h},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)}},S=class{constructor(){this.render=async(t,r,n)=>{let s={..._,...r==null?void 0:r.components},a=E;return new Promise((i,m)=>{p(async()=>{const{MDXProvider:o}=await import("./index-BSj771as.js");return{MDXProvider:o}},__vite__mapDeps([0,1,2]),import.meta.url).then(({MDXProvider:o})=>d(e.createElement(D,{showException:m,key:Math.random()},e.createElement(o,{components:s},e.createElement(a,{context:t,docsParameter:r}))),n)).then(()=>i())})},this.unmount=t=>{x(t)}}};export{S as DocsRenderer,_ as defaultComponents}; diff --git a/demo-1732-error-on-icon-prop/assets/ErrorMessage.docs-DFcH_6Jl.js b/demo-1732-error-on-icon-prop/assets/ErrorMessage.docs-C264RU9e.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/ErrorMessage.docs-DFcH_6Jl.js rename to demo-1732-error-on-icon-prop/assets/ErrorMessage.docs-C264RU9e.js index 03dc7c36c1..8e7cf6f400 100644 --- a/demo-1732-error-on-icon-prop/assets/ErrorMessage.docs-DFcH_6Jl.js +++ b/demo-1732-error-on-icon-prop/assets/ErrorMessage.docs-C264RU9e.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as t,aq as a,ar as i,as as m,at as d}from"./index-fGKZZBv1.js";import{E as c,C as h}from"./ErrorMessage.stories-B3cj9aqo.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const p=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as t,aq as a,ar as i,as as m,at as d}from"./index-Cnpsjyel.js";import{E as c,C as h}from"./ErrorMessage.stories-B3cj9aqo.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const p=` # Error Message diff --git a/demo-1732-error-on-icon-prop/assets/Field.docs-CSqBqSaQ.js b/demo-1732-error-on-icon-prop/assets/Field.docs-BhpH39r1.js similarity index 85% rename from demo-1732-error-on-icon-prop/assets/Field.docs-CSqBqSaQ.js rename to demo-1732-error-on-icon-prop/assets/Field.docs-BhpH39r1.js index 1fca176698..b324a2bb34 100644 --- a/demo-1732-error-on-icon-prop/assets/Field.docs-CSqBqSaQ.js +++ b/demo-1732-error-on-icon-prop/assets/Field.docs-BhpH39r1.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as o,aq as a,ar as d,as as c,at as i}from"./index-fGKZZBv1.js";import{F as h,W as p,a as l}from"./Field.stories-C2lEV-pv.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const m=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as o,aq as a,ar as d,as as c,at as i}from"./index-Cnpsjyel.js";import{F as h,W as p,a as l}from"./Field.stories-D2ZiSC1f.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const m=` # Field diff --git a/demo-1732-error-on-icon-prop/assets/Field.stories-C2lEV-pv.js b/demo-1732-error-on-icon-prop/assets/Field.stories-D2ZiSC1f.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Field.stories-C2lEV-pv.js rename to demo-1732-error-on-icon-prop/assets/Field.stories-D2ZiSC1f.js index bf8a00cd2f..cab80cc9eb 100644 --- a/demo-1732-error-on-icon-prop/assets/Field.stories-C2lEV-pv.js +++ b/demo-1732-error-on-icon-prop/assets/Field.stories-D2ZiSC1f.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{f as d,T as t,P as f,E as y}from"./index.esm-jyjgLnxG.js";import{c as W}from"./clsx-B-dksMZM.js";import{r as _}from"./index-B-o1Wr-g.js";const a=_.forwardRef(({children:i,className:x,invalid:j,...F},b)=>e.jsx("div",{...F,ref:b,className:W("ams-field",j&&"ams-field--invalid",x),children:i}));a.displayName="Field";try{a.displayName="Field",a.__docgenInfo={description:"",displayName:"Field",props:{invalid:{defaultValue:null,description:"Whether the field has an input with a validation error",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const T={title:"Components/Forms/Field",component:a,args:{invalid:!1}},r={render:i=>e.jsxs(a,{invalid:i.invalid,children:[e.jsx(d,{htmlFor:"input1",children:"Waar gaat het om?"}),e.jsx(t,{id:"input1",invalid:i.invalid})]})},n={render:i=>e.jsxs(a,{invalid:i.invalid,children:[e.jsx(d,{htmlFor:"input2",children:"Waar gaat het om?"}),e.jsx(f,{id:"description1",size:"small",children:"Typ geen persoonsgegevens in deze omschrijving. We vragen dit later in dit formulier aan u."}),e.jsx(t,{id:"input2","aria-describedby":"description1",invalid:i.invalid})]})},s={args:{invalid:!0},render:i=>e.jsxs(a,{invalid:i.invalid,children:[e.jsx(d,{htmlFor:"input3",children:"Waar gaat het om?"}),e.jsx(f,{id:"description2",size:"small",children:"Typ geen persoonsgegevens in deze omschrijving. We vragen dit later in dit formulier aan u."}),e.jsx(y,{id:"error",children:"Geef aan waar het om gaat."}),e.jsx(t,{id:"input3","aria-describedby":"description2 error","aria-required":!0,invalid:i.invalid})]})};var o,l,p;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{f as d,T as t,P as f,E as y}from"./index.esm-DEmhLKYr.js";import{c as W}from"./clsx-B-dksMZM.js";import{r as _}from"./index-B-o1Wr-g.js";const a=_.forwardRef(({children:i,className:x,invalid:j,...F},b)=>e.jsx("div",{...F,ref:b,className:W("ams-field",j&&"ams-field--invalid",x),children:i}));a.displayName="Field";try{a.displayName="Field",a.__docgenInfo={description:"",displayName:"Field",props:{invalid:{defaultValue:null,description:"Whether the field has an input with a validation error",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const T={title:"Components/Forms/Field",component:a,args:{invalid:!1}},r={render:i=>e.jsxs(a,{invalid:i.invalid,children:[e.jsx(d,{htmlFor:"input1",children:"Waar gaat het om?"}),e.jsx(t,{id:"input1",invalid:i.invalid})]})},n={render:i=>e.jsxs(a,{invalid:i.invalid,children:[e.jsx(d,{htmlFor:"input2",children:"Waar gaat het om?"}),e.jsx(f,{id:"description1",size:"small",children:"Typ geen persoonsgegevens in deze omschrijving. We vragen dit later in dit formulier aan u."}),e.jsx(t,{id:"input2","aria-describedby":"description1",invalid:i.invalid})]})},s={args:{invalid:!0},render:i=>e.jsxs(a,{invalid:i.invalid,children:[e.jsx(d,{htmlFor:"input3",children:"Waar gaat het om?"}),e.jsx(f,{id:"description2",size:"small",children:"Typ geen persoonsgegevens in deze omschrijving. We vragen dit later in dit formulier aan u."}),e.jsx(y,{id:"error",children:"Geef aan waar het om gaat."}),e.jsx(t,{id:"input3","aria-describedby":"description2 error","aria-required":!0,invalid:i.invalid})]})};var o,l,p;r.parameters={...r.parameters,docs:{...(o=r.parameters)==null?void 0:o.docs,source:{originalSource:`{ render: args => diff --git a/demo-1732-error-on-icon-prop/assets/FieldSet.docs-DmElKFpQ.js b/demo-1732-error-on-icon-prop/assets/FieldSet.docs-CbHOFFvQ.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/FieldSet.docs-DmElKFpQ.js rename to demo-1732-error-on-icon-prop/assets/FieldSet.docs-CbHOFFvQ.js index 142cf46a8e..0ead23a5d7 100644 --- a/demo-1732-error-on-icon-prop/assets/FieldSet.docs-DmElKFpQ.js +++ b/demo-1732-error-on-icon-prop/assets/FieldSet.docs-CbHOFFvQ.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as a,ar as d,as as l,at as n}from"./index-fGKZZBv1.js";import{F as h,W as c,a as p,b as u,R as x,c as j,C as g,d as f}from"./FieldSet.stories-mOaJO1Nk.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Hint-rQy8SNzx.js";const m=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as a,ar as d,as as l,at as n}from"./index-Cnpsjyel.js";import{F as h,W as c,a as p,b as u,R as x,c as j,C as g,d as f}from"./FieldSet.stories-Dfpe4TsD.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Hint-rQy8SNzx.js";const m=` # Field Set diff --git a/demo-1732-error-on-icon-prop/assets/FieldSet.stories-mOaJO1Nk.js b/demo-1732-error-on-icon-prop/assets/FieldSet.stories-Dfpe4TsD.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/FieldSet.stories-mOaJO1Nk.js rename to demo-1732-error-on-icon-prop/assets/FieldSet.stories-Dfpe4TsD.js index 33b1cdfb76..66c60e8170 100644 --- a/demo-1732-error-on-icon-prop/assets/FieldSet.stories-mOaJO1Nk.js +++ b/demo-1732-error-on-icon-prop/assets/FieldSet.stories-Dfpe4TsD.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{e as l,f as s,E as r,T as t,P as o,C as F,R as d,g as n}from"./index.esm-jyjgLnxG.js";import{c as Q}from"./clsx-B-dksMZM.js";import{r as X}from"./index-B-o1Wr-g.js";import{H as Y}from"./Hint-rQy8SNzx.js";const i=X.forwardRef(({children:a,className:u,hint:m,invalid:c,legend:U,optional:B,...J},K)=>e.jsxs("fieldset",{...J,ref:K,className:Q("ams-field-set",c&&"ams-field-set--invalid",u),children:[e.jsxs("legend",{className:"ams-field-set__legend",children:[U," ",e.jsx(Y,{hint:m,optional:B})]}),a]}));i.displayName="FieldSet";try{i.displayName="FieldSet",i.__docgenInfo={description:"",displayName:"FieldSet",props:{invalid:{defaultValue:null,description:"Whether the field set has an input with a validation error",name:"invalid",required:!1,type:{name:"boolean"}},legend:{defaultValue:null,description:"The text for the caption.",name:"legend",required:!0,type:{name:"string"}},hint:{defaultValue:null,description:"Show a custom hint text.",name:"hint",required:!1,type:{name:"string"}},optional:{defaultValue:null,description:"Appends the text '(niet verplicht)' to the label or legend if no hint is provided. Use when the associated inputs are optional.",name:"optional",required:!1,type:{name:"boolean"}}}}}catch{}const Z={title:"Components/Forms/Field Set",component:i,args:{invalid:!1,legend:"Wat is uw naam?",optional:!1,hint:""},decorators:[a=>e.jsx("form",{children:e.jsx(a,{})})]},v={render:({invalid:a,legend:u,hint:m,optional:c})=>e.jsxs(i,{hint:m,invalid:a,legend:u,optional:c,children:[e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-a1",children:"Voornaam"}),a&&e.jsx(r,{id:"error-a1",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a?"error-a1":void 0,"aria-required":"true",id:"input-a1",invalid:a})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-a2",children:"Achternaam"}),a&&e.jsx(r,{id:"error-a2",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a?"error-a2":void 0,"aria-required":"true",id:"input-a2",invalid:a})]})]})},b={render:a=>e.jsxs(i,{"aria-describedby":"description-b",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{id:"description-b",size:"small",className:"ams-mb--sm",children:"Vul uw naam in zoals in uw paspoort staat."}),e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-b1",children:"Voornaam"}),a.invalid&&e.jsx(r,{id:"error-b1",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-b1":void 0,"aria-required":"true",id:"input-b1",invalid:a.invalid})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-b2",children:"Achternaam"}),a.invalid&&e.jsx(r,{id:"error-b2",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-b2":void 0,"aria-required":"true",id:"input-b2",invalid:a.invalid})]})]})},g={args:{optional:!1,hint:"verplicht"},render:({invalid:a,legend:u,hint:m,optional:c})=>e.jsxs(i,{hint:m,invalid:a,legend:u,optional:c,children:[e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-b3",children:"Voornaam"}),a&&e.jsx(r,{id:"error-b3",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a?"error-b3":void 0,"aria-required":"true",id:"input-b3",invalid:a})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-b4",children:"Achternaam"}),a&&e.jsx(r,{id:"error-b4",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a?"error-b4":void 0,"aria-required":"true",id:"input-b4",invalid:a})]})]})},p={args:{invalid:!0},render:a=>e.jsxs(i,{"aria-describedby":"description-c",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{id:"description-c",size:"small",className:"ams-mb--sm",children:"Vul uw naam in zoals in uw paspoort staat."}),e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-c1",children:"Voornaam"}),a.invalid&&e.jsx(r,{id:"error-c1",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-c1":void 0,"aria-required":"true",id:"input-c1",invalid:a.invalid})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-c2",children:"Achternaam"}),a.invalid&&e.jsx(r,{id:"error-c2",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-c2":void 0,"aria-required":"true",id:"input-c2",invalid:a.invalid})]})]})},h={args:{legend:"Waar gaat uw melding over?"},render:a=>e.jsxs(i,{"aria-describedby":`description-d${a.invalid?" error-d":""}`,"aria-required":"true",invalid:a.invalid,legend:a.legend,role:"radiogroup",children:[e.jsx(o,{className:"ams-mb--sm",id:"description-d",size:"small",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-d",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})},x={args:{legend:"Waar gaat uw melding over?",invalid:!0},render:a=>e.jsxs(i,{"aria-describedby":`description-e${a.invalid?" error-e":""}`,"aria-required":"true",invalid:a.invalid,legend:a.legend,role:"radiogroup",children:[e.jsx(o,{className:"ams-mb--sm",id:"description-e",size:"small",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-e",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})},j={args:{legend:"Waar gaat uw melding over?"},render:a=>e.jsxs(i,{"aria-labelledby":`fieldset-f description-f${a.invalid?" error-f":""}`,id:"fieldset-f",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{className:"ams-mb--sm",id:"description-f",size:"small",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-f",children:"Geef aan waar uw melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})},f={args:{invalid:!0,legend:"Waar gaat uw melding over?"},render:a=>e.jsxs(i,{"aria-labelledby":`fieldset-g description-g${a.invalid?" error-g":""}`,id:"fieldset-g",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{id:"description-g",size:"small",className:"ams-mb--sm",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-g",children:"Geef aan waar uw melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})};var q,w,y;v.parameters={...v.parameters,docs:{...(q=v.parameters)==null?void 0:q.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{e as l,f as s,E as r,T as t,P as o,C as F,R as d,g as n}from"./index.esm-DEmhLKYr.js";import{c as Q}from"./clsx-B-dksMZM.js";import{r as X}from"./index-B-o1Wr-g.js";import{H as Y}from"./Hint-rQy8SNzx.js";const i=X.forwardRef(({children:a,className:u,hint:m,invalid:c,legend:U,optional:B,...J},K)=>e.jsxs("fieldset",{...J,ref:K,className:Q("ams-field-set",c&&"ams-field-set--invalid",u),children:[e.jsxs("legend",{className:"ams-field-set__legend",children:[U," ",e.jsx(Y,{hint:m,optional:B})]}),a]}));i.displayName="FieldSet";try{i.displayName="FieldSet",i.__docgenInfo={description:"",displayName:"FieldSet",props:{invalid:{defaultValue:null,description:"Whether the field set has an input with a validation error",name:"invalid",required:!1,type:{name:"boolean"}},legend:{defaultValue:null,description:"The text for the caption.",name:"legend",required:!0,type:{name:"string"}},hint:{defaultValue:null,description:"Show a custom hint text.",name:"hint",required:!1,type:{name:"string"}},optional:{defaultValue:null,description:"Appends the text '(niet verplicht)' to the label or legend if no hint is provided. Use when the associated inputs are optional.",name:"optional",required:!1,type:{name:"boolean"}}}}}catch{}const Z={title:"Components/Forms/Field Set",component:i,args:{invalid:!1,legend:"Wat is uw naam?",optional:!1,hint:""},decorators:[a=>e.jsx("form",{children:e.jsx(a,{})})]},v={render:({invalid:a,legend:u,hint:m,optional:c})=>e.jsxs(i,{hint:m,invalid:a,legend:u,optional:c,children:[e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-a1",children:"Voornaam"}),a&&e.jsx(r,{id:"error-a1",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a?"error-a1":void 0,"aria-required":"true",id:"input-a1",invalid:a})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-a2",children:"Achternaam"}),a&&e.jsx(r,{id:"error-a2",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a?"error-a2":void 0,"aria-required":"true",id:"input-a2",invalid:a})]})]})},b={render:a=>e.jsxs(i,{"aria-describedby":"description-b",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{id:"description-b",size:"small",className:"ams-mb--sm",children:"Vul uw naam in zoals in uw paspoort staat."}),e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-b1",children:"Voornaam"}),a.invalid&&e.jsx(r,{id:"error-b1",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-b1":void 0,"aria-required":"true",id:"input-b1",invalid:a.invalid})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-b2",children:"Achternaam"}),a.invalid&&e.jsx(r,{id:"error-b2",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-b2":void 0,"aria-required":"true",id:"input-b2",invalid:a.invalid})]})]})},g={args:{optional:!1,hint:"verplicht"},render:({invalid:a,legend:u,hint:m,optional:c})=>e.jsxs(i,{hint:m,invalid:a,legend:u,optional:c,children:[e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-b3",children:"Voornaam"}),a&&e.jsx(r,{id:"error-b3",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a?"error-b3":void 0,"aria-required":"true",id:"input-b3",invalid:a})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-b4",children:"Achternaam"}),a&&e.jsx(r,{id:"error-b4",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a?"error-b4":void 0,"aria-required":"true",id:"input-b4",invalid:a})]})]})},p={args:{invalid:!0},render:a=>e.jsxs(i,{"aria-describedby":"description-c",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{id:"description-c",size:"small",className:"ams-mb--sm",children:"Vul uw naam in zoals in uw paspoort staat."}),e.jsxs(l,{className:"ams-mb--sm",children:[e.jsx(s,{htmlFor:"input-c1",children:"Voornaam"}),a.invalid&&e.jsx(r,{id:"error-c1",children:"Vul uw voornaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-c1":void 0,"aria-required":"true",id:"input-c1",invalid:a.invalid})]}),e.jsxs(l,{children:[e.jsx(s,{htmlFor:"input-c2",children:"Achternaam"}),a.invalid&&e.jsx(r,{id:"error-c2",children:"Vul uw achternaam in."}),e.jsx(t,{"aria-describedby":a.invalid?"error-c2":void 0,"aria-required":"true",id:"input-c2",invalid:a.invalid})]})]})},h={args:{legend:"Waar gaat uw melding over?"},render:a=>e.jsxs(i,{"aria-describedby":`description-d${a.invalid?" error-d":""}`,"aria-required":"true",invalid:a.invalid,legend:a.legend,role:"radiogroup",children:[e.jsx(o,{className:"ams-mb--sm",id:"description-d",size:"small",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-d",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})},x={args:{legend:"Waar gaat uw melding over?",invalid:!0},render:a=>e.jsxs(i,{"aria-describedby":`description-e${a.invalid?" error-e":""}`,"aria-required":"true",invalid:a.invalid,legend:a.legend,role:"radiogroup",children:[e.jsx(o,{className:"ams-mb--sm",id:"description-e",size:"small",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-e",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(d,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})},j={args:{legend:"Waar gaat uw melding over?"},render:a=>e.jsxs(i,{"aria-labelledby":`fieldset-f description-f${a.invalid?" error-f":""}`,id:"fieldset-f",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{className:"ams-mb--sm",id:"description-f",size:"small",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-f",children:"Geef aan waar uw melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})},f={args:{invalid:!0,legend:"Waar gaat uw melding over?"},render:a=>e.jsxs(i,{"aria-labelledby":`fieldset-g description-g${a.invalid?" error-g":""}`,id:"fieldset-g",invalid:a.invalid,legend:a.legend,children:[e.jsx(o,{id:"description-g",size:"small",className:"ams-mb--sm",children:"De laatstgenoemde melding."}),a.invalid&&e.jsx(r,{className:"ams-mb--sm",id:"error-g",children:"Geef aan waar uw melding over gaat."}),e.jsxs(F,{gap:"extra-small",children:[e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"evenement",children:"Evenement"}),e.jsx(n,{"aria-required":"true",invalid:a.invalid,name:"about",value:"anders",children:"Iets anders"})]})]})};var q,w,y;v.parameters={...v.parameters,docs:{...(q=v.parameters)==null?void 0:q.docs,source:{originalSource:`{ render: ({ invalid, legend, diff --git a/demo-1732-error-on-icon-prop/assets/FileInput.docs-_HzvzTSO.js b/demo-1732-error-on-icon-prop/assets/FileInput.docs-DU5XYINg.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/FileInput.docs-_HzvzTSO.js rename to demo-1732-error-on-icon-prop/assets/FileInput.docs-DU5XYINg.js index a6ce66d79f..8b39120917 100644 --- a/demo-1732-error-on-icon-prop/assets/FileInput.docs-_HzvzTSO.js +++ b/demo-1732-error-on-icon-prop/assets/FileInput.docs-DU5XYINg.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as l,aq as r,ar as a,as as d,at as s}from"./index-fGKZZBv1.js";import{F as c,M as p,R as h,D as m,I as f}from"./FileInput.stories-C1jHs54v.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const x=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as l,aq as r,ar as a,as as d,at as s}from"./index-Cnpsjyel.js";import{F as c,M as p,R as h,D as m,I as f}from"./FileInput.stories-DWcjijdQ.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const x=` # File Input diff --git a/demo-1732-error-on-icon-prop/assets/FileInput.stories-C1jHs54v.js b/demo-1732-error-on-icon-prop/assets/FileInput.stories-DWcjijdQ.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/FileInput.stories-C1jHs54v.js rename to demo-1732-error-on-icon-prop/assets/FileInput.stories-DWcjijdQ.js index d08532b481..82dc44f54a 100644 --- a/demo-1732-error-on-icon-prop/assets/FileInput.stories-C1jHs54v.js +++ b/demo-1732-error-on-icon-prop/assets/FileInput.stories-DWcjijdQ.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{e as D,f as L,P as O}from"./index.esm-jyjgLnxG.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as R}from"./index-B-o1Wr-g.js";const i=R.forwardRef(({className:p,...I},S)=>e.jsx("input",{...I,ref:S,className:P("ams-file-input",p),type:"file"}));i.displayName="FileInput";try{i.displayName="FileInput",i.__docgenInfo={description:"",displayName:"FileInput",props:{}}}catch{}const v={title:"Components/Forms/File Input",component:i,args:{accept:void 0,multiple:!1,disabled:!1},argTypes:{accept:{control:{type:"text"}},multiple:{control:{type:"boolean"}},disabled:{control:{type:"boolean"}}}},r={},a={args:{multiple:!0}},s={args:{accept:"application/pdf"}},t={args:{disabled:!0}},o={render:p=>e.jsxs(D,{children:[e.jsx(L,{htmlFor:"input1",children:"Label"}),e.jsx(O,{id:"description1",size:"small",children:"Omschrijving."}),e.jsx(i,{"aria-describedby":"description1",id:"input1",...p})]})};var n,c,l;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(l=(c=r.parameters)==null?void 0:c.docs)==null?void 0:l.source}}};var d,m,u;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{e as D,f as L,P as O}from"./index.esm-DEmhLKYr.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as R}from"./index-B-o1Wr-g.js";const i=R.forwardRef(({className:p,...I},S)=>e.jsx("input",{...I,ref:S,className:P("ams-file-input",p),type:"file"}));i.displayName="FileInput";try{i.displayName="FileInput",i.__docgenInfo={description:"",displayName:"FileInput",props:{}}}catch{}const v={title:"Components/Forms/File Input",component:i,args:{accept:void 0,multiple:!1,disabled:!1},argTypes:{accept:{control:{type:"text"}},multiple:{control:{type:"boolean"}},disabled:{control:{type:"boolean"}}}},r={},a={args:{multiple:!0}},s={args:{accept:"application/pdf"}},t={args:{disabled:!0}},o={render:p=>e.jsxs(D,{children:[e.jsx(L,{htmlFor:"input1",children:"Label"}),e.jsx(O,{id:"description1",size:"small",children:"Omschrijving."}),e.jsx(i,{"aria-describedby":"description1",id:"input1",...p})]})};var n,c,l;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(l=(c=r.parameters)==null?void 0:c.docs)==null?void 0:l.source}}};var d,m,u;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:`{ args: { multiple: true } diff --git a/demo-1732-error-on-icon-prop/assets/Footer.docs-CD045wRD.js b/demo-1732-error-on-icon-prop/assets/Footer.docs-BCEIIl0s.js similarity index 88% rename from demo-1732-error-on-icon-prop/assets/Footer.docs-CD045wRD.js rename to demo-1732-error-on-icon-prop/assets/Footer.docs-BCEIIl0s.js index 96fdba9a10..9ca9150ac7 100644 --- a/demo-1732-error-on-icon-prop/assets/Footer.docs-CD045wRD.js +++ b/demo-1732-error-on-icon-prop/assets/Footer.docs-BCEIIl0s.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as s,aq as r,ar as a,at as c}from"./index-fGKZZBv1.js";import{F as m,O as p}from"./Footer.stories-CB9baubF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./PageMenu.stories-BCcfa8-E.js";import"./Icon-D1obyjGa.js";import"./Spotlight-iwYL-F79.js";const l=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as s,aq as r,ar as a,at as c}from"./index-Cnpsjyel.js";import{F as m,O as p}from"./Footer.stories-C2lX89Aa.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./PageMenu.stories-BCcfa8-E.js";import"./Icon-D1obyjGa.js";import"./Spotlight-iwYL-F79.js";const l=` # Footer diff --git a/demo-1732-error-on-icon-prop/assets/Footer.stories-CB9baubF.js b/demo-1732-error-on-icon-prop/assets/Footer.stories-C2lX89Aa.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Footer.stories-CB9baubF.js rename to demo-1732-error-on-icon-prop/assets/Footer.stories-C2lX89Aa.js index 9ca862d65d..74de0b12ed 100644 --- a/demo-1732-error-on-icon-prop/assets/Footer.stories-CB9baubF.js +++ b/demo-1732-error-on-icon-prop/assets/Footer.stories-C2lX89Aa.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as r,G as i,q as n,P as c,c as j}from"./index.esm-jyjgLnxG.js";import{d as z,h as b,t as F,u as H,v as G,w as P,x as S}from"./index.esm-DoGgRjwu.js";import{D as N}from"./PageMenu.stories-BCcfa8-E.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as v}from"./index-B-o1Wr-g.js";import{S as V}from"./Spotlight-iwYL-F79.js";const w=v.forwardRef(({children:s,className:l,...o},t)=>e.jsx("div",{...o,ref:t,className:L("ams-footer__bottom",l),children:s}));w.displayName="Footer.Bottom";try{Footer.Bottom.displayName="Footer.Bottom",Footer.Bottom.__docgenInfo={description:"",displayName:"Footer.Bottom",props:{}}}catch{}const _=v.forwardRef(({children:s,className:l,...o},t)=>e.jsx(V,{...o,color:"dark-blue",ref:t,className:L("ams-footer__top",l),children:s}));_.displayName="Footer.Top";try{Footer.Top.displayName="Footer.Top",Footer.Top.__docgenInfo={description:"",displayName:"Footer.Top",props:{}}}catch{}const y=v.forwardRef(({children:s,className:l,...o},t)=>e.jsx("footer",{...o,ref:t,className:L("ams-footer",l),children:s}));y.displayName="Footer";const a=Object.assign(y,{Bottom:w,Top:_});try{a.displayName="Footer",a.__docgenInfo={description:"",displayName:"Footer",props:{}}}catch{}const O={title:"Components/Containers/Footer",component:a},B=[{icon:H,name:"Twitter"},{icon:G,name:"Facebook"},{icon:P,name:"Linkedin"},{icon:S,name:"Instagram"}];var h;const d={args:{children:[e.jsxs(a.Top,{children:[e.jsx(r,{className:"ams-visually-hidden",inverseColor:!0,children:"Colofon"}),e.jsxs(i,{gapVertical:"large",paddingVertical:"medium",children:[e.jsxs(i.Cell,{span:4,children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Meer weten"}),e.jsx(n,{children:["Veel gestelde vragen","Over ons","Werken bij","Kalender","Uit in Amsterdam","Bronnen"].map((s,l)=>e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:s},l))})]}),e.jsxs(i.Cell,{span:4,start:{narrow:1,medium:5,wide:5},children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Contact"}),e.jsx(c,{className:"ams-mb--xs",inverseColor:!0,size:"small",children:"Hebt u een vraag en kunt u het antwoord niet vinden op deze website? Neem dan contact met ons op."}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"mailto:redactie@amsterdam.nl",icon:z,inverseColor:!0,size:"small",children:"E-mail"}),e.jsx(n.Link,{href:"tel:+3114020",icon:b,inverseColor:!0,size:"small",children:"14 020"}),e.jsx(n.Link,{href:"#",icon:F,inverseColor:!0,size:"small",children:"Contactgegevens en openingstijden"})]})]}),e.jsxs(i.Cell,{span:4,start:{narrow:1,medium:1,wide:9},children:[e.jsxs("section",{className:"ams-mb--md",children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Nieuwsbrief"}),e.jsx(n,{children:e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Inschrijven"})})]}),e.jsxs("section",{children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Volg ons"}),e.jsx(n,{children:B.map(({name:s,icon:l})=>e.jsx(n.Link,{href:"#",icon:l,inverseColor:!0,size:"small",children:s},s))})]})]})]})]},"footer-top"),e.jsxs(a.Bottom,{children:[e.jsx(r,{className:"ams-visually-hidden",level:2,children:"Over deze website"}),e.jsx(i,{paddingVertical:"small",children:e.jsx(i.Cell,{span:"all",children:e.jsx(j,{children:(h=N.args)==null?void 0:h.children})})})]},"footer-bottom")]}};var k;const m={args:{children:[e.jsxs(a.Top,{children:[e.jsx(r,{className:"ams-visually-hidden",inverseColor:!0,children:"Colofon"}),e.jsxs(i,{gapVertical:"large",paddingVertical:"medium",children:[e.jsxs(i.Cell,{span:3,children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Contact"}),e.jsx(c,{className:"ams-mb--xs",size:"small",inverseColor:!0,children:"Heeft u een vraag en kunt u het antwoord niet vinden op deze site? Neem dan contact met ons op."}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"mailto:redactie.os@amsterdam.nl",icon:z,inverseColor:!0,size:"small",children:"E-mail"}),e.jsx(n.Link,{href:"tel:+31202510333",icon:b,inverseColor:!0,size:"small",children:"020 251 0333"})]})]}),e.jsxs(i.Cell,{span:3,start:{narrow:1,medium:5,wide:5},children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Panels en enquêtes"}),e.jsx(c,{className:"ams-mb--xs",inverseColor:!0,size:"small",children:"Bent u uitgenodigd om mee te doen aan onderzoek of heeft u vragen over het panel of stadspaspanel?"}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Meedoen aan onderzoek"}),e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Panel Amsterdam"}),e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Stadspaspanel Amsterdam"})]})]}),e.jsxs(i.Cell,{span:3,start:{narrow:1,medium:1,wide:9},children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Onderzoek en Statistiek"}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Over Onderzoek en Statistiek"}),e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Veelgestelde vragen"}),e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Nieuwsbrief"}),e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Vacatures"})]})]})]})]},"footer-top"),e.jsxs(a.Bottom,{children:[e.jsx(r,{className:"ams-visually-hidden",level:2,children:"Over deze website"}),e.jsx(i,{paddingVertical:"small",children:e.jsx(i.Cell,{span:"all",children:e.jsx(j,{children:(k=N.args)==null?void 0:k.children})})})]},"footer-bottom")]}};var p,g,u;d.parameters={...d.parameters,docs:{...(p=d.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as r,G as i,q as n,P as c,c as j}from"./index.esm-DEmhLKYr.js";import{d as z,h as b,t as F,u as H,v as G,w as P,x as S}from"./index.esm-DoGgRjwu.js";import{D as N}from"./PageMenu.stories-BCcfa8-E.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as v}from"./index-B-o1Wr-g.js";import{S as V}from"./Spotlight-iwYL-F79.js";const w=v.forwardRef(({children:s,className:l,...o},t)=>e.jsx("div",{...o,ref:t,className:L("ams-footer__bottom",l),children:s}));w.displayName="Footer.Bottom";try{Footer.Bottom.displayName="Footer.Bottom",Footer.Bottom.__docgenInfo={description:"",displayName:"Footer.Bottom",props:{}}}catch{}const _=v.forwardRef(({children:s,className:l,...o},t)=>e.jsx(V,{...o,color:"dark-blue",ref:t,className:L("ams-footer__top",l),children:s}));_.displayName="Footer.Top";try{Footer.Top.displayName="Footer.Top",Footer.Top.__docgenInfo={description:"",displayName:"Footer.Top",props:{}}}catch{}const y=v.forwardRef(({children:s,className:l,...o},t)=>e.jsx("footer",{...o,ref:t,className:L("ams-footer",l),children:s}));y.displayName="Footer";const a=Object.assign(y,{Bottom:w,Top:_});try{a.displayName="Footer",a.__docgenInfo={description:"",displayName:"Footer",props:{}}}catch{}const O={title:"Components/Containers/Footer",component:a},B=[{icon:H,name:"Twitter"},{icon:G,name:"Facebook"},{icon:P,name:"Linkedin"},{icon:S,name:"Instagram"}];var h;const d={args:{children:[e.jsxs(a.Top,{children:[e.jsx(r,{className:"ams-visually-hidden",inverseColor:!0,children:"Colofon"}),e.jsxs(i,{gapVertical:"large",paddingVertical:"medium",children:[e.jsxs(i.Cell,{span:4,children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Meer weten"}),e.jsx(n,{children:["Veel gestelde vragen","Over ons","Werken bij","Kalender","Uit in Amsterdam","Bronnen"].map((s,l)=>e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:s},l))})]}),e.jsxs(i.Cell,{span:4,start:{narrow:1,medium:5,wide:5},children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Contact"}),e.jsx(c,{className:"ams-mb--xs",inverseColor:!0,size:"small",children:"Hebt u een vraag en kunt u het antwoord niet vinden op deze website? Neem dan contact met ons op."}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"mailto:redactie@amsterdam.nl",icon:z,inverseColor:!0,size:"small",children:"E-mail"}),e.jsx(n.Link,{href:"tel:+3114020",icon:b,inverseColor:!0,size:"small",children:"14 020"}),e.jsx(n.Link,{href:"#",icon:F,inverseColor:!0,size:"small",children:"Contactgegevens en openingstijden"})]})]}),e.jsxs(i.Cell,{span:4,start:{narrow:1,medium:1,wide:9},children:[e.jsxs("section",{className:"ams-mb--md",children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Nieuwsbrief"}),e.jsx(n,{children:e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Inschrijven"})})]}),e.jsxs("section",{children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Volg ons"}),e.jsx(n,{children:B.map(({name:s,icon:l})=>e.jsx(n.Link,{href:"#",icon:l,inverseColor:!0,size:"small",children:s},s))})]})]})]})]},"footer-top"),e.jsxs(a.Bottom,{children:[e.jsx(r,{className:"ams-visually-hidden",level:2,children:"Over deze website"}),e.jsx(i,{paddingVertical:"small",children:e.jsx(i.Cell,{span:"all",children:e.jsx(j,{children:(h=N.args)==null?void 0:h.children})})})]},"footer-bottom")]}};var k;const m={args:{children:[e.jsxs(a.Top,{children:[e.jsx(r,{className:"ams-visually-hidden",inverseColor:!0,children:"Colofon"}),e.jsxs(i,{gapVertical:"large",paddingVertical:"medium",children:[e.jsxs(i.Cell,{span:3,children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Contact"}),e.jsx(c,{className:"ams-mb--xs",size:"small",inverseColor:!0,children:"Heeft u een vraag en kunt u het antwoord niet vinden op deze site? Neem dan contact met ons op."}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"mailto:redactie.os@amsterdam.nl",icon:z,inverseColor:!0,size:"small",children:"E-mail"}),e.jsx(n.Link,{href:"tel:+31202510333",icon:b,inverseColor:!0,size:"small",children:"020 251 0333"})]})]}),e.jsxs(i.Cell,{span:3,start:{narrow:1,medium:5,wide:5},children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Panels en enquêtes"}),e.jsx(c,{className:"ams-mb--xs",inverseColor:!0,size:"small",children:"Bent u uitgenodigd om mee te doen aan onderzoek of heeft u vragen over het panel of stadspaspanel?"}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Meedoen aan onderzoek"}),e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Panel Amsterdam"}),e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Stadspaspanel Amsterdam"})]})]}),e.jsxs(i.Cell,{span:3,start:{narrow:1,medium:1,wide:9},children:[e.jsx(r,{className:"ams-mb--xs",level:2,size:"level-4",inverseColor:!0,children:"Onderzoek en Statistiek"}),e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Over Onderzoek en Statistiek"}),e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Veelgestelde vragen"}),e.jsx(n.Link,{href:"#",inverseColor:!0,rel:"external",size:"small",children:"Nieuwsbrief"}),e.jsx(n.Link,{href:"#",inverseColor:!0,size:"small",children:"Vacatures"})]})]})]})]},"footer-top"),e.jsxs(a.Bottom,{children:[e.jsx(r,{className:"ams-visually-hidden",level:2,children:"Over deze website"}),e.jsx(i,{paddingVertical:"small",children:e.jsx(i.Cell,{span:"all",children:e.jsx(j,{children:(k=N.args)==null?void 0:k.children})})})]},"footer-bottom")]}};var p,g,u;d.parameters={...d.parameters,docs:{...(p=d.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { children: [ diff --git a/demo-1732-error-on-icon-prop/assets/FormErrorList.docs-C6Zdp5Fi.js b/demo-1732-error-on-icon-prop/assets/FormErrorList.docs-C61ytvp7.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/FormErrorList.docs-C6Zdp5Fi.js rename to demo-1732-error-on-icon-prop/assets/FormErrorList.docs-C61ytvp7.js index c16dff7a90..37647b6ccd 100644 --- a/demo-1732-error-on-icon-prop/assets/FormErrorList.docs-C6Zdp5Fi.js +++ b/demo-1732-error-on-icon-prop/assets/FormErrorList.docs-C61ytvp7.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,aq as s,ar as a,as as m}from"./index-fGKZZBv1.js";import{F as h}from"./FormErrorList.stories-BGBZZzNP.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Alert-Cj2Qy2vp.js";import"./index.esm-DoGgRjwu.js";import"./Icon-D1obyjGa.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-D2q6GTZc.js";import"./LinkList-KzJ1IdI0.js";const l=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,aq as s,ar as a,as as m}from"./index-Cnpsjyel.js";import{F as h}from"./FormErrorList.stories-BGBZZzNP.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Alert-Cj2Qy2vp.js";import"./index.esm-DoGgRjwu.js";import"./Icon-D1obyjGa.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-D2q6GTZc.js";import"./LinkList-KzJ1IdI0.js";const l=` # Form Error List diff --git a/demo-1732-error-on-icon-prop/assets/FormPage.docs-CHiAO8ZP.js b/demo-1732-error-on-icon-prop/assets/FormPage.docs-Ieyn4F-T.js similarity index 71% rename from demo-1732-error-on-icon-prop/assets/FormPage.docs-CHiAO8ZP.js rename to demo-1732-error-on-icon-prop/assets/FormPage.docs-Ieyn4F-T.js index 00f2e37252..84ff573fee 100644 --- a/demo-1732-error-on-icon-prop/assets/FormPage.docs-CHiAO8ZP.js +++ b/demo-1732-error-on-icon-prop/assets/FormPage.docs-Ieyn4F-T.js @@ -1,4 +1,4 @@ -import{j as o}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as e}from"./index-fGKZZBv1.js";import{F as n}from"./FormPage.stories-DdUsTDvf.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./config-BBOtvoZc.js";import"./PageMenu.stories-BCcfa8-E.js";import"./Icon-D1obyjGa.js";import"./Footer.stories-CB9baubF.js";import"./Spotlight-iwYL-F79.js";/*@license CC0-1.0*/function m(t){const r={h1:"h1",p:"p",...i(),...t.components};return o.jsxs(o.Fragment,{children:[` +import{j as o}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as e}from"./index-Cnpsjyel.js";import{F as n}from"./FormPage.stories-SvNd8_2u.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./config-aPKURfrr.js";import"./PageMenu.stories-BCcfa8-E.js";import"./Icon-D1obyjGa.js";import"./Footer.stories-C2lX89Aa.js";import"./Spotlight-iwYL-F79.js";/*@license CC0-1.0*/function m(t){const r={h1:"h1",p:"p",...i(),...t.components};return o.jsxs(o.Fragment,{children:[` `,` `,o.jsx(e,{of:n}),` `,o.jsx(r.h1,{id:"form-page",children:"Form page"}),` diff --git a/demo-1732-error-on-icon-prop/assets/FormPage.stories-DdUsTDvf.js b/demo-1732-error-on-icon-prop/assets/FormPage.stories-SvNd8_2u.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/FormPage.stories-DdUsTDvf.js rename to demo-1732-error-on-icon-prop/assets/FormPage.stories-SvNd8_2u.js index 5a444ee697..cfc93165d6 100644 --- a/demo-1732-error-on-icon-prop/assets/FormPage.stories-DdUsTDvf.js +++ b/demo-1732-error-on-icon-prop/assets/FormPage.stories-SvNd8_2u.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as d,k as m,H as g,e as a,f as n,P as l,l as v,m as b,F as c,C as f,T as s,R as o,n as y,o as t,p as w,a as F}from"./index.esm-jyjgLnxG.js";import{r as C}from"./index-B-o1Wr-g.js";import{c as D}from"./config-BBOtvoZc.js";const S=()=>{const[u,p]=C.useState(0);return e.jsx(d,{paddingTop:"small",paddingBottom:"medium",children:e.jsxs(d.Cell,{span:{narrow:4,medium:6,wide:8},start:{narrow:1,medium:2,wide:3},children:[e.jsx(m,{children:e.jsx(m.Link,{children:"Home"})}),e.jsx(g,{className:"ams-mb--md",children:"Contact"}),e.jsxs("form",{className:"ams-gap--md",id:"main",onSubmit:i=>i.preventDefault(),children:[e.jsxs(a,{children:[e.jsx(n,{htmlFor:"body",children:"Wat wilt u aan de gemeente vragen?"}),e.jsx(l,{id:"bodyDescription",size:"small",children:"Een duidelijke beschrijving van uw vraag helpt ons bij het behandelen."}),e.jsx(v,{"aria-describedby":"bodyDescription",id:"body",onChange:i=>p(i.target.value.length),rows:4}),e.jsx(b,{length:u,maxLength:1e3})]}),e.jsx(c,{"aria-describedby":"contactDetailsDescription",legend:"Wat zijn uw gegevens?",children:e.jsxs(f,{gap:"small",children:[e.jsx(l,{id:"contactDetailsDescription",children:"Wij hebben uw gegevens nodig om contact met u te kunnen opnemen."}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"initials",children:"Voorletters"}),e.jsx(s,{id:"initials",name:"initials"})]}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"familyName",children:"Achternaam"}),e.jsx(s,{autoComplete:"family-name",id:"familyName",name:"familyName"})]}),e.jsxs(c,{legend:"Woonplaats",children:[e.jsx(o,{name:"city",value:"amsterdam",children:"Amsterdam"}),e.jsx(o,{name:"city",value:"weesp",children:"Weesp"}),e.jsx(o,{name:"city",value:"anders",children:"Anders"})]}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"email",children:"E-mail"}),e.jsx(s,{autoComplete:"email",id:"email",name:"email"})]}),e.jsxs(y,{wrap:!0,children:[e.jsxs(a,{children:[e.jsx(n,{htmlFor:"countryCode",children:"Landnummer"}),e.jsxs(t,{id:"countryCode",name:"countryCode",children:[e.jsx(t.Option,{value:"+31",children:"Nederland +31"}),e.jsx(t.Option,{value:"+32",children:"België +32"}),e.jsx(t.Option,{value:"+33",children:"Frankrijk +33"})]})]}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"phone",children:"Telefoonnummer"}),e.jsx(s,{autoComplete:"tel",id:"phone",name:"phone"})]})]})]})}),e.jsx(w,{severity:"info",children:e.jsx(l,{children:"We bewaren uw contactgegevens voor het afhandelen van uw vraag of klacht en het verbeteren van onze dienstverlening."})}),e.jsx("div",{children:e.jsx(F,{type:"submit",children:"Versturen"})})]})]})})};/** +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as d,k as m,H as g,e as a,f as n,P as l,l as v,m as b,F as c,C as f,T as s,R as o,n as y,o as t,p as w,a as F}from"./index.esm-DEmhLKYr.js";import{r as C}from"./index-B-o1Wr-g.js";import{c as D}from"./config-aPKURfrr.js";const S=()=>{const[u,p]=C.useState(0);return e.jsx(d,{paddingTop:"small",paddingBottom:"medium",children:e.jsxs(d.Cell,{span:{narrow:4,medium:6,wide:8},start:{narrow:1,medium:2,wide:3},children:[e.jsx(m,{children:e.jsx(m.Link,{children:"Home"})}),e.jsx(g,{className:"ams-mb--md",children:"Contact"}),e.jsxs("form",{className:"ams-gap--md",id:"main",onSubmit:i=>i.preventDefault(),children:[e.jsxs(a,{children:[e.jsx(n,{htmlFor:"body",children:"Wat wilt u aan de gemeente vragen?"}),e.jsx(l,{id:"bodyDescription",size:"small",children:"Een duidelijke beschrijving van uw vraag helpt ons bij het behandelen."}),e.jsx(v,{"aria-describedby":"bodyDescription",id:"body",onChange:i=>p(i.target.value.length),rows:4}),e.jsx(b,{length:u,maxLength:1e3})]}),e.jsx(c,{"aria-describedby":"contactDetailsDescription",legend:"Wat zijn uw gegevens?",children:e.jsxs(f,{gap:"small",children:[e.jsx(l,{id:"contactDetailsDescription",children:"Wij hebben uw gegevens nodig om contact met u te kunnen opnemen."}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"initials",children:"Voorletters"}),e.jsx(s,{id:"initials",name:"initials"})]}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"familyName",children:"Achternaam"}),e.jsx(s,{autoComplete:"family-name",id:"familyName",name:"familyName"})]}),e.jsxs(c,{legend:"Woonplaats",children:[e.jsx(o,{name:"city",value:"amsterdam",children:"Amsterdam"}),e.jsx(o,{name:"city",value:"weesp",children:"Weesp"}),e.jsx(o,{name:"city",value:"anders",children:"Anders"})]}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"email",children:"E-mail"}),e.jsx(s,{autoComplete:"email",id:"email",name:"email"})]}),e.jsxs(y,{wrap:!0,children:[e.jsxs(a,{children:[e.jsx(n,{htmlFor:"countryCode",children:"Landnummer"}),e.jsxs(t,{id:"countryCode",name:"countryCode",children:[e.jsx(t.Option,{value:"+31",children:"Nederland +31"}),e.jsx(t.Option,{value:"+32",children:"België +32"}),e.jsx(t.Option,{value:"+33",children:"Frankrijk +33"})]})]}),e.jsxs(a,{children:[e.jsx(n,{htmlFor:"phone",children:"Telefoonnummer"}),e.jsx(s,{autoComplete:"tel",id:"phone",name:"phone"})]})]})]})}),e.jsx(w,{severity:"info",children:e.jsx(l,{children:"We bewaren uw contactgegevens voor het afhandelen van uw vraag of klacht en het verbeteren van onze dienstverlening."})}),e.jsx("div",{children:e.jsx(F,{type:"submit",children:"Versturen"})})]})]})})};/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const k={...D,title:"Pages/Amsterdam.nl/Form Page",component:S},r={};var h,j,x;r.parameters={...r.parameters,docs:{...(h=r.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(x=(j=r.parameters)==null?void 0:j.docs)==null?void 0:x.source}}};const T=["Default"],P=Object.freeze(Object.defineProperty({__proto__:null,Default:r,__namedExportsOrder:T,default:k},Symbol.toStringTag,{value:"Module"}));export{P as F}; diff --git a/demo-1732-error-on-icon-prop/assets/Gap.docs-D_8zJLrb.js b/demo-1732-error-on-icon-prop/assets/Gap.docs-BQmCaEvS.js similarity index 89% rename from demo-1732-error-on-icon-prop/assets/Gap.docs-D_8zJLrb.js rename to demo-1732-error-on-icon-prop/assets/Gap.docs-BQmCaEvS.js index f0800cab4d..da4d647f68 100644 --- a/demo-1732-error-on-icon-prop/assets/Gap.docs-D_8zJLrb.js +++ b/demo-1732-error-on-icon-prop/assets/Gap.docs-BQmCaEvS.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as o,aq as i,ar as r,as as m}from"./index-fGKZZBv1.js";import{G as p}from"./Gap.stories-BjZdlVEO.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const l=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as o,aq as i,ar as r,as as m}from"./index-Cnpsjyel.js";import{G as p}from"./Gap.stories-BlSmDvGE.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const l=` # Gap diff --git a/demo-1732-error-on-icon-prop/assets/Gap.stories-BjZdlVEO.js b/demo-1732-error-on-icon-prop/assets/Gap.stories-BlSmDvGE.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Gap.stories-BjZdlVEO.js rename to demo-1732-error-on-icon-prop/assets/Gap.stories-BlSmDvGE.js index bf41e856cc..504c04930c 100644 --- a/demo-1732-error-on-icon-prop/assets/Gap.stories-BjZdlVEO.js +++ b/demo-1732-error-on-icon-prop/assets/Gap.stories-BlSmDvGE.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as s}from"./index.esm-jyjgLnxG.js";/** +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as s}from"./index.esm-DEmhLKYr.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const t=({children:r,size:l})=>e.jsx("span",{className:`ams-gap--${l}`,children:r});try{t.displayName="Gap",t.__docgenInfo={description:"Renders examples in Storybook. Not for reuse.",displayName:"Gap",props:{size:{defaultValue:null,description:"The amount of space between the element’s children.",name:"size",required:!0,type:{name:"enum",value:[{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'}]}}}}}catch{}const c=({size:r})=>e.jsxs("div",{className:`ams-gap--${r}`,children:[e.jsx(s,{children:"These paragraphs are separated by a gap."}),e.jsx(s,{children:"These paragraphs are separated by a gap."}),e.jsx(s,{children:"These paragraphs are separated by a gap."})]}),d={title:"Utilities/CSS/Gap",component:t,args:{size:"xs"}},a={render:c};var o,p,n;a.parameters={...a.parameters,docs:{...(o=a.parameters)==null?void 0:o.docs,source:{originalSource:`{ diff --git a/demo-1732-error-on-icon-prop/assets/Grid.docs-ReQJyhM3.js b/demo-1732-error-on-icon-prop/assets/Grid.docs-DCWhJX79.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/Grid.docs-ReQJyhM3.js rename to demo-1732-error-on-icon-prop/assets/Grid.docs-DCWhJX79.js index 509bd8e7f4..6cd4a224d3 100644 --- a/demo-1732-error-on-icon-prop/assets/Grid.docs-ReQJyhM3.js +++ b/demo-1732-error-on-icon-prop/assets/Grid.docs-DCWhJX79.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as a,aq as r,ar as l,as as c,at as s}from"./index-fGKZZBv1.js";import{G as d,V as h,a as p,S as m,b as u,c as x,d as g,I as w}from"./Grid.stories-K0qq64oO.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./paddingClasses-C5gheHLv.js";const j=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as a,aq as r,ar as l,as as c,at as s}from"./index-Cnpsjyel.js";import{G as d,V as h,a as p,S as m,b as u,c as x,d as g,I as w}from"./Grid.stories-CZ2tC11S.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./paddingClasses-C5gheHLv.js";const j=` # Grid diff --git a/demo-1732-error-on-icon-prop/assets/Grid.stories-K0qq64oO.js b/demo-1732-error-on-icon-prop/assets/Grid.stories-CZ2tC11S.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Grid.stories-K0qq64oO.js rename to demo-1732-error-on-icon-prop/assets/Grid.stories-CZ2tC11S.js index 0cf380997d..81f1a5588e 100644 --- a/demo-1732-error-on-icon-prop/assets/Grid.stories-K0qq64oO.js +++ b/demo-1732-error-on-icon-prop/assets/Grid.stories-CZ2tC11S.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{S as z}from"./index.esm-jyjgLnxG.js";import{c as H}from"./clsx-B-dksMZM.js";import{r as F}from"./index-B-o1Wr-g.js";import{g as W,p as X}from"./paddingClasses-C5gheHLv.js";const J=F.forwardRef(({as:a="div",children:r,className:u,span:g,start:v,...y},f)=>e.jsx(a,{...y,ref:f,className:H("ams-grid__cell",W(g,v),u),children:r}));J.displayName="Grid.Cell";try{Grid.Cell.displayName="Grid.Cell",Grid.Cell.__docgenInfo={description:"",displayName:"Grid.Cell",props:{as:{defaultValue:null,description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'}]}},span:{defaultValue:null,description:`Lets the cell span the full width of all grid variants. +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{S as z}from"./index.esm-DEmhLKYr.js";import{c as H}from"./clsx-B-dksMZM.js";import{r as F}from"./index-B-o1Wr-g.js";import{g as W,p as X}from"./paddingClasses-C5gheHLv.js";const J=F.forwardRef(({as:a="div",children:r,className:u,span:g,start:v,...y},f)=>e.jsx(a,{...y,ref:f,className:H("ams-grid__cell",W(g,v),u),children:r}));J.displayName="Grid.Cell";try{Grid.Cell.displayName="Grid.Cell",Grid.Cell.__docgenInfo={description:"",displayName:"Grid.Cell",props:{as:{defaultValue:null,description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'}]}},span:{defaultValue:null,description:`Lets the cell span the full width of all grid variants. The amount of grid columns the cell spans.`,name:"span",required:!1,type:{name:'"all" | GridColumnNumber | GridColumnNumbers'}},start:{defaultValue:null,description:"The index of the grid column the cell starts at.",name:"start",required:!1,type:{name:"GridColumnNumber | GridColumnNumbers"}}}}}catch{}const K=F.forwardRef(({children:a,className:r,gapVertical:u,paddingBottom:g,paddingTop:v,paddingVertical:y,...f},U)=>e.jsx("div",{...f,ref:U,className:H("ams-grid",u&&`ams-grid--gap-vertical--${u}`,X("grid",g,v,y),r),children:a}));K.displayName="Grid";const s=Object.assign(K,{Cell:J});try{s.displayName="Grid",s.__docgenInfo={description:"",displayName:"Grid",props:{gapVertical:{defaultValue:null,description:"The amount of space between rows.",name:"gapVertical",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"small"'},{value:'"large"'}]}},paddingBottom:{defaultValue:null,description:"The amount of space below.",name:"paddingBottom",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"medium"'}]}},paddingTop:{defaultValue:null,description:"The amount of space above.",name:"paddingTop",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"medium"'}]}},paddingVertical:{defaultValue:null,description:"The amount of space above and below.",name:"paddingVertical",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"medium"'}]}}}}}catch{}const Y={title:"Components/Layout/Grid",component:s,args:{gapVertical:void 0,paddingVertical:"medium"},argTypes:{className:{table:{disable:!0}},gapVertical:{control:{type:"radio",labels:{none:"none",small:"small",undefined:"medium",large:"large"}},options:["none","small",void 0,"large"]},paddingVertical:{control:{type:"radio",labels:{undefined:"none",small:"small",medium:"medium",large:"large"}},options:[void 0,"small","medium","large"]},paddingTop:{control:{type:"radio",labels:{undefined:"none",small:"small",medium:"medium",large:"large"}},options:[void 0,"small","medium","large"]},paddingBottom:{control:{type:"radio",labels:{undefined:"none",small:"small",medium:"medium",large:"large"}},options:[void 0,"small","medium","large"]}},parameters:{layout:"fullscreen"}};s.Cell;const Q=()=>e.jsx(s,{className:"ams-docs-grid",children:Array.from(Array(12).keys()).map(a=>e.jsx(s.Cell,{className:"ams-docs-grid__cell"},a))}),C={decorators:[a=>e.jsxs(z,{children:[e.jsx(Q,{}),e.jsx(a,{})]})]},p={decorators:[a=>e.jsxs(z,{children:[e.jsx(Q,{}),e.jsx(s,{paddingVertical:"medium",children:e.jsx(a,{})})]})],render:({children:a,...r})=>e.jsx(s.Cell,{...r,children:a})},l={...C},o={...C,args:{children:e.jsx(s.Cell,{className:"ams-docs-item",span:"all"})}},n={...C,args:{children:[e.jsx(s.Cell,{className:"ams-docs-item",span:"all"},1),e.jsx(s.Cell,{className:"ams-docs-item",span:"all"},2)],gapVertical:"small"}},t={...p,args:{children:e.jsx("div",{className:"ams-docs-item"}),span:4}},m={...p,args:{children:e.jsx("div",{className:"ams-docs-item"}),span:{narrow:4,medium:6,wide:8}}},i={...p,args:{children:e.jsx("div",{className:"ams-docs-item"}),span:"all"}},d={...p,args:{children:e.jsx("div",{className:"ams-docs-item"}),span:3,start:{narrow:2,medium:4,wide:6}}},c={...p,args:{as:"section"},render:({as:a})=>e.jsx(s.Cell,{as:a,span:"all",children:e.jsx("div",{className:"ams-docs-item"})})};var S,h,N;l.parameters={...l.parameters,docs:{...(S=l.parameters)==null?void 0:S.docs,source:{originalSource:`{ ...StoryTemplate }`,...(N=(h=l.parameters)==null?void 0:h.docs)==null?void 0:N.source}}};var x,G,j;o.parameters={...o.parameters,docs:{...(x=o.parameters)==null?void 0:x.docs,source:{originalSource:`{ diff --git a/demo-1732-error-on-icon-prop/assets/Header.docs-CrghoJgY.js b/demo-1732-error-on-icon-prop/assets/Header.docs-BTyi1xNy.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/Header.docs-CrghoJgY.js rename to demo-1732-error-on-icon-prop/assets/Header.docs-BTyi1xNy.js index 1afd11761f..5483be9f1d 100644 --- a/demo-1732-error-on-icon-prop/assets/Header.docs-CrghoJgY.js +++ b/demo-1732-error-on-icon-prop/assets/Header.docs-BTyi1xNy.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as r,ar as m,as as h,at as t}from"./index-fGKZZBv1.js";import{H as d,F as p,W as u,a as l,b as c,c as f,d as x,e as g}from"./Header.stories-jC3xkiG6.js";import{S as j}from"./StatusBadge-Ck_iCwDF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Logo-BnxYOw7m.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";import"./Badge-jE39d5Kk.js";const w=` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as r,ar as m,as as h,at as t}from"./index-Cnpsjyel.js";import{H as d,F as p,W as u,a as l,b as c,c as f,d as x,e as g}from"./Header.stories-DSH9k29K.js";import{S as j}from"./StatusBadge-Ck_iCwDF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Logo-BnxYOw7m.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";import"./Badge-jE39d5Kk.js";const w=` # Header diff --git a/demo-1732-error-on-icon-prop/assets/Header.stories-jC3xkiG6.js b/demo-1732-error-on-icon-prop/assets/Header.stories-DSH9k29K.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Header.stories-jC3xkiG6.js rename to demo-1732-error-on-icon-prop/assets/Header.stories-DSH9k29K.js index acc0ddf638..acab42a65b 100644 --- a/demo-1732-error-on-icon-prop/assets/Header.stories-jC3xkiG6.js +++ b/demo-1732-error-on-icon-prop/assets/Header.stories-DSH9k29K.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{c as a}from"./index.esm-jyjgLnxG.js";import{j as c}from"./index.esm-DoGgRjwu.js";import{c as z}from"./clsx-B-dksMZM.js";import{r as O}from"./index-B-o1Wr-g.js";import{L as U}from"./Logo-BnxYOw7m.js";import{H as J}from"./Heading-BMR-3CH3.js";const u=O.forwardRef(({appName:l,className:V,links:p,logoBrand:Z="amsterdam",logoLink:D="/",logoLinkTitle:F="Ga naar de homepage",menu:g,...I},R)=>e.jsx(e.Fragment,{children:e.jsxs("header",{...I,ref:R,className:z("ams-header",V),children:[e.jsxs("a",{href:D,className:"ams-header__logo-link",children:[e.jsx("span",{className:"ams-visually-hidden",children:F}),e.jsx(U,{brand:Z})]}),p&&e.jsx("div",{className:"ams-header__links",children:p}),g&&e.jsx("div",{className:"ams-header__menu",children:g}),l&&e.jsx("div",{className:"ams-header__app-name",children:e.jsx(J,{level:1,size:"level-3",className:"ams-header__app-name-heading",children:l})})]})}));u.displayName="Header";try{u.displayName="Header",u.__docgenInfo={description:"",displayName:"Header",props:{appName:{defaultValue:null,description:"The name of the application.",name:"appName",required:!1,type:{name:"string"}},links:{defaultValue:null,description:"The list of menu links. Use a Page Menu here.",name:"links",required:!1,type:{name:"ReactNode"}},logoBrand:{defaultValue:{value:"amsterdam"},description:"The name of the brand for which to display the logo.",name:"logoBrand",required:!1,type:{name:"enum",value:[{value:'"amsterdam"'},{value:'"ggd-amsterdam"'},{value:'"museum-weesp"'},{value:'"stadsarchief"'},{value:'"stadsbank-van-lening"'},{value:'"vga-verzekeringen"'}]}},logoLink:{defaultValue:{value:"/"},description:"The url for the link on the logo.",name:"logoLink",required:!1,type:{name:"string"}},logoLinkTitle:{defaultValue:{value:"Ga naar de homepage"},description:"The accessible text for the link on the logo.",name:"logoLinkTitle",required:!1,type:{name:"string"}},menu:{defaultValue:null,description:"A button to toggle the visibility of a Mega Menu.",name:"menu",required:!1,type:{name:"ReactNode"}}}}}catch{}const K={title:"Components/Containers/Header",component:u},n={},r={args:{logoBrand:"ggd-amsterdam",logoLink:"https://www.ggd.amsterdam.nl/",logoLinkTitle:"Naar de homepage van de GGD Amsterdam"}},s={args:{appName:"Aan de Amsterdamse grachten"}},t={args:{links:e.jsxs(a,{alignEnd:!0,wrap:!1,children:[e.jsx(a.Link,{href:"#",children:"Contact"}),e.jsx(a.Link,{href:"#",children:"Mijn Amsterdam"}),e.jsx(a.Link,{href:"#",icon:c,children:"Zoeken"})]})}},o={args:{menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}},i={args:{links:e.jsxs(a,{alignEnd:!0,wrap:!1,children:[e.jsx(a.Link,{href:"#",children:"Contact"}),e.jsx(a.Link,{href:"#",children:"Mijn Amsterdam"}),e.jsx(a.Link,{href:"#",icon:c,children:"Zoeken"})]}),menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}},m={args:{appName:"Aan de Amsterdamse grachten",menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}},d={args:{appName:"Aan de Amsterdamse grachten",links:e.jsxs(a,{alignEnd:!0,wrap:!1,children:[e.jsx(a.Link,{href:"#",children:"Contact"}),e.jsx(a.Link,{href:"#",children:"Mijn Amsterdam"}),e.jsx(a.Link,{href:"#",icon:c,children:"Zoeken"})]}),menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}};var h,k,f;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(f=(k=n.parameters)==null?void 0:k.docs)==null?void 0:f.source}}};var M,L,_;r.parameters={...r.parameters,docs:{...(M=r.parameters)==null?void 0:M.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{c as a}from"./index.esm-DEmhLKYr.js";import{j as c}from"./index.esm-DoGgRjwu.js";import{c as z}from"./clsx-B-dksMZM.js";import{r as O}from"./index-B-o1Wr-g.js";import{L as U}from"./Logo-BnxYOw7m.js";import{H as J}from"./Heading-BMR-3CH3.js";const u=O.forwardRef(({appName:l,className:V,links:p,logoBrand:Z="amsterdam",logoLink:D="/",logoLinkTitle:F="Ga naar de homepage",menu:g,...I},R)=>e.jsx(e.Fragment,{children:e.jsxs("header",{...I,ref:R,className:z("ams-header",V),children:[e.jsxs("a",{href:D,className:"ams-header__logo-link",children:[e.jsx("span",{className:"ams-visually-hidden",children:F}),e.jsx(U,{brand:Z})]}),p&&e.jsx("div",{className:"ams-header__links",children:p}),g&&e.jsx("div",{className:"ams-header__menu",children:g}),l&&e.jsx("div",{className:"ams-header__app-name",children:e.jsx(J,{level:1,size:"level-3",className:"ams-header__app-name-heading",children:l})})]})}));u.displayName="Header";try{u.displayName="Header",u.__docgenInfo={description:"",displayName:"Header",props:{appName:{defaultValue:null,description:"The name of the application.",name:"appName",required:!1,type:{name:"string"}},links:{defaultValue:null,description:"The list of menu links. Use a Page Menu here.",name:"links",required:!1,type:{name:"ReactNode"}},logoBrand:{defaultValue:{value:"amsterdam"},description:"The name of the brand for which to display the logo.",name:"logoBrand",required:!1,type:{name:"enum",value:[{value:'"amsterdam"'},{value:'"ggd-amsterdam"'},{value:'"museum-weesp"'},{value:'"stadsarchief"'},{value:'"stadsbank-van-lening"'},{value:'"vga-verzekeringen"'}]}},logoLink:{defaultValue:{value:"/"},description:"The url for the link on the logo.",name:"logoLink",required:!1,type:{name:"string"}},logoLinkTitle:{defaultValue:{value:"Ga naar de homepage"},description:"The accessible text for the link on the logo.",name:"logoLinkTitle",required:!1,type:{name:"string"}},menu:{defaultValue:null,description:"A button to toggle the visibility of a Mega Menu.",name:"menu",required:!1,type:{name:"ReactNode"}}}}}catch{}const K={title:"Components/Containers/Header",component:u},n={},r={args:{logoBrand:"ggd-amsterdam",logoLink:"https://www.ggd.amsterdam.nl/",logoLinkTitle:"Naar de homepage van de GGD Amsterdam"}},s={args:{appName:"Aan de Amsterdamse grachten"}},t={args:{links:e.jsxs(a,{alignEnd:!0,wrap:!1,children:[e.jsx(a.Link,{href:"#",children:"Contact"}),e.jsx(a.Link,{href:"#",children:"Mijn Amsterdam"}),e.jsx(a.Link,{href:"#",icon:c,children:"Zoeken"})]})}},o={args:{menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}},i={args:{links:e.jsxs(a,{alignEnd:!0,wrap:!1,children:[e.jsx(a.Link,{href:"#",children:"Contact"}),e.jsx(a.Link,{href:"#",children:"Mijn Amsterdam"}),e.jsx(a.Link,{href:"#",icon:c,children:"Zoeken"})]}),menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}},m={args:{appName:"Aan de Amsterdamse grachten",menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}},d={args:{appName:"Aan de Amsterdamse grachten",links:e.jsxs(a,{alignEnd:!0,wrap:!1,children:[e.jsx(a.Link,{href:"#",children:"Contact"}),e.jsx(a.Link,{href:"#",children:"Mijn Amsterdam"}),e.jsx(a.Link,{href:"#",icon:c,children:"Zoeken"})]}),menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})}};var h,k,f;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(f=(k=n.parameters)==null?void 0:k.docs)==null?void 0:f.source}}};var M,L,_;r.parameters={...r.parameters,docs:{...(M=r.parameters)==null?void 0:M.docs,source:{originalSource:`{ args: { logoBrand: 'ggd-amsterdam', logoLink: 'https://www.ggd.amsterdam.nl/', diff --git a/demo-1732-error-on-icon-prop/assets/Heading.docs-LWX5q18v.js b/demo-1732-error-on-icon-prop/assets/Heading.docs-kGx4spQ9.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/Heading.docs-LWX5q18v.js rename to demo-1732-error-on-icon-prop/assets/Heading.docs-kGx4spQ9.js index 69aacad9a7..19db8cfd74 100644 --- a/demo-1732-error-on-icon-prop/assets/Heading.docs-LWX5q18v.js +++ b/demo-1732-error-on-icon-prop/assets/Heading.docs-kGx4spQ9.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as i,aq as a,ar as l,as as h,at as s}from"./index-fGKZZBv1.js";import{H as c,L as d,a as p,b as u,c as g,S as m,I as v}from"./Heading.stories-DTZ0IQLd.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";import"./exampleContent-hIIPvEhU.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";const x=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as i,aq as a,ar as l,as as h,at as s}from"./index-Cnpsjyel.js";import{H as c,L as d,a as p,b as u,c as g,S as m,I as v}from"./Heading.stories-8zn7cHZ0.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";import"./exampleContent-hIIPvEhU.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";const x=` # Heading diff --git a/demo-1732-error-on-icon-prop/assets/Heading.stories-DTZ0IQLd.js b/demo-1732-error-on-icon-prop/assets/Heading.stories-8zn7cHZ0.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Heading.stories-DTZ0IQLd.js rename to demo-1732-error-on-icon-prop/assets/Heading.stories-8zn7cHZ0.js index 79332b462d..3c3b42b83c 100644 --- a/demo-1732-error-on-icon-prop/assets/Heading.stories-DTZ0IQLd.js +++ b/demo-1732-error-on-icon-prop/assets/Heading.stories-8zn7cHZ0.js @@ -1,4 +1,4 @@ -import{j as D}from"./jsx-runtime-j_jdvEMj.js";import{r as s}from"./index-B-o1Wr-g.js";import{C as I}from"./index.esm-jyjgLnxG.js";import{i as O}from"./decorators-DYZ3zH5Z.js";import{e as M}from"./exampleContent-hIIPvEhU.js";import{H as e}from"./Heading-BMR-3CH3.js";const P=M(),R={title:"Components/Text/Heading",component:e,args:{children:P,inverseColor:!1},argTypes:{children:{description:"The heading text.",table:{disable:!1}}},decorators:[O]},a={},l={},o={args:{level:2}},t={args:{level:3}},n={args:{level:4}},c={render:r=>D.jsxs(I,{gap:"small",children:[s.createElement(e,{...r,key:"level-1",size:"level-1"}),s.createElement(e,{...r,key:"level-2",size:"level-2"}),s.createElement(e,{...r,key:"level-3",size:"level-3"}),s.createElement(e,{...r,key:"level-4",size:"level-4"}),s.createElement(e,{...r,key:"level-5",size:"level-5"}),s.createElement(e,{...r,key:"level-6",size:"level-6"})]})},i={args:{inverseColor:!0}};var m,p,d;a.parameters={...a.parameters,docs:{...(m=a.parameters)==null?void 0:m.docs,source:{originalSource:"{}",...(d=(p=a.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};var v,g,u;l.parameters={...l.parameters,docs:{...(v=l.parameters)==null?void 0:v.docs,source:{originalSource:"{}",...(u=(g=l.parameters)==null?void 0:g.docs)==null?void 0:u.source}}};var y,z,f;o.parameters={...o.parameters,docs:{...(y=o.parameters)==null?void 0:y.docs,source:{originalSource:`{ +import{j as D}from"./jsx-runtime-j_jdvEMj.js";import{r as s}from"./index-B-o1Wr-g.js";import{C as I}from"./index.esm-DEmhLKYr.js";import{i as O}from"./decorators-DYZ3zH5Z.js";import{e as M}from"./exampleContent-hIIPvEhU.js";import{H as e}from"./Heading-BMR-3CH3.js";const P=M(),R={title:"Components/Text/Heading",component:e,args:{children:P,inverseColor:!1},argTypes:{children:{description:"The heading text.",table:{disable:!1}}},decorators:[O]},a={},l={},o={args:{level:2}},t={args:{level:3}},n={args:{level:4}},c={render:r=>D.jsxs(I,{gap:"small",children:[s.createElement(e,{...r,key:"level-1",size:"level-1"}),s.createElement(e,{...r,key:"level-2",size:"level-2"}),s.createElement(e,{...r,key:"level-3",size:"level-3"}),s.createElement(e,{...r,key:"level-4",size:"level-4"}),s.createElement(e,{...r,key:"level-5",size:"level-5"}),s.createElement(e,{...r,key:"level-6",size:"level-6"})]})},i={args:{inverseColor:!0}};var m,p,d;a.parameters={...a.parameters,docs:{...(m=a.parameters)==null?void 0:m.docs,source:{originalSource:"{}",...(d=(p=a.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};var v,g,u;l.parameters={...l.parameters,docs:{...(v=l.parameters)==null?void 0:v.docs,source:{originalSource:"{}",...(u=(g=l.parameters)==null?void 0:g.docs)==null?void 0:u.source}}};var y,z,f;o.parameters={...o.parameters,docs:{...(y=o.parameters)==null?void 0:y.docs,source:{originalSource:`{ args: { level: 2 } diff --git a/demo-1732-error-on-icon-prop/assets/HomePage.docs-Dm7P_-nE.js b/demo-1732-error-on-icon-prop/assets/HomePage.docs-BxKdicf_.js similarity index 85% rename from demo-1732-error-on-icon-prop/assets/HomePage.docs-Dm7P_-nE.js rename to demo-1732-error-on-icon-prop/assets/HomePage.docs-BxKdicf_.js index 5e737a7ace..621e03d209 100644 --- a/demo-1732-error-on-icon-prop/assets/HomePage.docs-Dm7P_-nE.js +++ b/demo-1732-error-on-icon-prop/assets/HomePage.docs-BxKdicf_.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as t}from"./index-fGKZZBv1.js";import{H as a}from"./HomePage.stories-DyLa0JE6.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Overlap.stories-D7pCAahe.js";import"./config-BBOtvoZc.js";import"./PageMenu.stories-BCcfa8-E.js";import"./Icon-D1obyjGa.js";import"./Footer.stories-CB9baubF.js";import"./Spotlight-iwYL-F79.js";/*@license CC0-1.0*/function r(i){const e={code:"code",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",...o(),...i.components};return n.jsxs(n.Fragment,{children:[` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as t}from"./index-Cnpsjyel.js";import{H as a}from"./HomePage.stories-BL-CI7jr.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Overlap.stories-CV1ABcBL.js";import"./config-aPKURfrr.js";import"./PageMenu.stories-BCcfa8-E.js";import"./Icon-D1obyjGa.js";import"./Footer.stories-C2lX89Aa.js";import"./Spotlight-iwYL-F79.js";/*@license CC0-1.0*/function r(i){const e={code:"code",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",pre:"pre",...o(),...i.components};return n.jsxs(n.Fragment,{children:[` `,` `,n.jsx(t,{of:a}),` `,n.jsx(e.h1,{id:"home-page",children:"Home page"}),` diff --git a/demo-1732-error-on-icon-prop/assets/HomePage.stories-DyLa0JE6.js b/demo-1732-error-on-icon-prop/assets/HomePage.stories-BL-CI7jr.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/HomePage.stories-DyLa0JE6.js rename to demo-1732-error-on-icon-prop/assets/HomePage.stories-BL-CI7jr.js index 95d40b2ba6..169073d072 100644 --- a/demo-1732-error-on-icon-prop/assets/HomePage.stories-DyLa0JE6.js +++ b/demo-1732-error-on-icon-prop/assets/HomePage.stories-BL-CI7jr.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as s,H as i,d as n,h as a,I as d,u as j,P as r,L as t,O as x}from"./index.esm-jyjgLnxG.js";import{D as u}from"./Overlap.stories-D7pCAahe.js";import{c as p}from"./config-BBOtvoZc.js";const g=()=>e.jsxs(s,{paddingVertical:"medium",children:[e.jsx(s.Cell,{span:"all",children:e.jsx(i,{level:2,children:"Nieuws"})}),e.jsx(s.Cell,{span:4,children:e.jsxs(n,{children:[e.jsx(a,{ratio:"x-wide",children:e.jsx(d,{alt:"",src:"https://picsum.photos/640/360?random=1"})}),e.jsx(n.HeadingGroup,{tagline:"Nieuws",children:e.jsx(i,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Nederlands eerste houten woonwijk komt in Zuidoost"})})})]})}),e.jsx(s.Cell,{span:4,children:e.jsxs(n,{children:[e.jsx(a,{ratio:"x-wide",children:e.jsx(d,{alt:"",src:"https://picsum.photos/640/360?random=2"})}),e.jsx(n.HeadingGroup,{tagline:"Nieuws",children:e.jsx(i,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Gratis openbaar vervoer voor kinderen"})})})]})}),e.jsx(s.Cell,{span:4,children:e.jsxs(n,{children:[e.jsx(a,{ratio:"x-wide",children:e.jsx(d,{alt:"",src:"https://picsum.photos/640/360?random=3"})}),e.jsx(n.HeadingGroup,{tagline:"Nieuws",children:e.jsx(i,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Zonnepanelen op uw dak? Zo houdt u uw huis veilig"})})})]})})]}),v=()=>e.jsx(j,{color:"purple",children:e.jsxs(s,{paddingVertical:"medium",children:[e.jsxs(s.Cell,{span:{narrow:4,medium:4,wide:6},children:[e.jsx(i,{className:"ams-mb--xs",inverseColor:!0,size:"level-2",children:"Ontheffing of vergunning"}),e.jsxs(r,{className:"ams-mb--sm",inverseColor:!0,children:["Check welke ontheffing of vergunning u nodig heeft. Bijvoorbeeld een RVV, TVM, objectvergunning,"," ","nachtwerkontheffing, e-RVV, e-TVM of filmmelding. Dat regult u allemaal met 1 formulier."]}),e.jsx(t,{href:"#",inverseColor:!0,variant:"standalone",children:"Eenvoudig regelen"})]}),e.jsxs(s.Cell,{span:{narrow:4,medium:4,wide:6},children:[e.jsx(i,{className:"ams-mb--xs",inverseColor:!0,size:"level-2",children:"Werkzaamheden"}),e.jsx(r,{className:"ams-mb--sm",inverseColor:!0,children:"Lees waar en wanneer we werken aan nieuwbouw, groot onderhoud, herinrichting van straten en wegen, aanpak van parken of ontwikkeling van hele gebieden."}),e.jsx(t,{href:"#",inverseColor:!0,variant:"standalone",children:"Alle bouw- en verkeerswerkzaamheden"})]})]})}),w=()=>e.jsxs(s,{paddingVertical:"medium",children:[e.jsx(s.Cell,{span:"all",children:e.jsx(i,{children:"Belangrijkste onderwerpen"})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Gemeentebelastingen"})}),e.jsx(r,{size:"small",children:"Bekijk welke belastingen en heffingen er zijn, hoe u bezwaar maakt of een betalingsregeling treft."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Parkeren + Reizen (P+R)"})}),e.jsx(r,{size:"small",children:"U kunt met uw auto goedkoop parkeren bij een P+R-locatie aan de rand van de stad."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Paspoort, ID-kaart en rijbewijs"})}),e.jsx(r,{size:"small",children:"Vraag deze bewijzen aan of verleng ze. Geef een vermissing aan."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Onderwijs"})}),e.jsx(r,{size:"small",children:"Meld een kind aan voor basisschool, middelbare school of kinderopvang. Bekijk het kindtegoed op uw Stadspas."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Meldingen openbare ruimte en overlast"})}),e.jsx(r,{size:"small",children:"Ziet u op straat of in een park iets waarvan u wilt dat het gemaakt of opgeruimd wordt, dan kunt u dat bij de gemeente melden."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Verhuizing doorgeven"})}),e.jsx(r,{size:"small",children:"Geef uw nieuwe adres door als u binnen Amsterdam of naar Amsterdam verhuist."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Grof afval"})}),e.jsx(r,{size:"small",children:"Grof afval zijn spullen die niet in een vuilniszak passen."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Kennisgevingen en bekendmakingen"})}),e.jsx(r,{size:"small",children:"Kennisgevingen en bekendmakingen van de gemeente Amsterdam van de laatste 8 weken."})]})})]}),k=()=>{var o;return e.jsxs("main",{id:"main",children:[e.jsx(x,{children:(o=u.args)==null?void 0:o.children}),e.jsx(w,{}),e.jsx(v,{}),e.jsx(g,{})]})};/** +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as s,H as i,d as n,h as a,I as d,u as j,P as r,L as t,O as x}from"./index.esm-DEmhLKYr.js";import{D as u}from"./Overlap.stories-CV1ABcBL.js";import{c as p}from"./config-aPKURfrr.js";const g=()=>e.jsxs(s,{paddingVertical:"medium",children:[e.jsx(s.Cell,{span:"all",children:e.jsx(i,{level:2,children:"Nieuws"})}),e.jsx(s.Cell,{span:4,children:e.jsxs(n,{children:[e.jsx(a,{ratio:"x-wide",children:e.jsx(d,{alt:"",src:"https://picsum.photos/640/360?random=1"})}),e.jsx(n.HeadingGroup,{tagline:"Nieuws",children:e.jsx(i,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Nederlands eerste houten woonwijk komt in Zuidoost"})})})]})}),e.jsx(s.Cell,{span:4,children:e.jsxs(n,{children:[e.jsx(a,{ratio:"x-wide",children:e.jsx(d,{alt:"",src:"https://picsum.photos/640/360?random=2"})}),e.jsx(n.HeadingGroup,{tagline:"Nieuws",children:e.jsx(i,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Gratis openbaar vervoer voor kinderen"})})})]})}),e.jsx(s.Cell,{span:4,children:e.jsxs(n,{children:[e.jsx(a,{ratio:"x-wide",children:e.jsx(d,{alt:"",src:"https://picsum.photos/640/360?random=3"})}),e.jsx(n.HeadingGroup,{tagline:"Nieuws",children:e.jsx(i,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Zonnepanelen op uw dak? Zo houdt u uw huis veilig"})})})]})})]}),v=()=>e.jsx(j,{color:"purple",children:e.jsxs(s,{paddingVertical:"medium",children:[e.jsxs(s.Cell,{span:{narrow:4,medium:4,wide:6},children:[e.jsx(i,{className:"ams-mb--xs",inverseColor:!0,size:"level-2",children:"Ontheffing of vergunning"}),e.jsxs(r,{className:"ams-mb--sm",inverseColor:!0,children:["Check welke ontheffing of vergunning u nodig heeft. Bijvoorbeeld een RVV, TVM, objectvergunning,"," ","nachtwerkontheffing, e-RVV, e-TVM of filmmelding. Dat regult u allemaal met 1 formulier."]}),e.jsx(t,{href:"#",inverseColor:!0,variant:"standalone",children:"Eenvoudig regelen"})]}),e.jsxs(s.Cell,{span:{narrow:4,medium:4,wide:6},children:[e.jsx(i,{className:"ams-mb--xs",inverseColor:!0,size:"level-2",children:"Werkzaamheden"}),e.jsx(r,{className:"ams-mb--sm",inverseColor:!0,children:"Lees waar en wanneer we werken aan nieuwbouw, groot onderhoud, herinrichting van straten en wegen, aanpak van parken of ontwikkeling van hele gebieden."}),e.jsx(t,{href:"#",inverseColor:!0,variant:"standalone",children:"Alle bouw- en verkeerswerkzaamheden"})]})]})}),w=()=>e.jsxs(s,{paddingVertical:"medium",children:[e.jsx(s.Cell,{span:"all",children:e.jsx(i,{children:"Belangrijkste onderwerpen"})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:2,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Gemeentebelastingen"})}),e.jsx(r,{size:"small",children:"Bekijk welke belastingen en heffingen er zijn, hoe u bezwaar maakt of een betalingsregeling treft."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Parkeren + Reizen (P+R)"})}),e.jsx(r,{size:"small",children:"U kunt met uw auto goedkoop parkeren bij een P+R-locatie aan de rand van de stad."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Paspoort, ID-kaart en rijbewijs"})}),e.jsx(r,{size:"small",children:"Vraag deze bewijzen aan of verleng ze. Geef een vermissing aan."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Onderwijs"})}),e.jsx(r,{size:"small",children:"Meld een kind aan voor basisschool, middelbare school of kinderopvang. Bekijk het kindtegoed op uw Stadspas."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Meldingen openbare ruimte en overlast"})}),e.jsx(r,{size:"small",children:"Ziet u op straat of in een park iets waarvan u wilt dat het gemaakt of opgeruimd wordt, dan kunt u dat bij de gemeente melden."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Verhuizing doorgeven"})}),e.jsx(r,{size:"small",children:"Geef uw nieuwe adres door als u binnen Amsterdam of naar Amsterdam verhuist."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Grof afval"})}),e.jsx(r,{size:"small",children:"Grof afval zijn spullen die niet in een vuilniszak passen."})]})}),e.jsx(s.Cell,{span:{narrow:4,medium:4,wide:3},children:e.jsxs(n,{children:[e.jsx(i,{level:3,size:"level-4",children:e.jsx(n.Link,{href:"#",children:"Kennisgevingen en bekendmakingen"})}),e.jsx(r,{size:"small",children:"Kennisgevingen en bekendmakingen van de gemeente Amsterdam van de laatste 8 weken."})]})})]}),k=()=>{var o;return e.jsxs("main",{id:"main",children:[e.jsx(x,{children:(o=u.args)==null?void 0:o.children}),e.jsx(w,{}),e.jsx(v,{}),e.jsx(g,{})]})};/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const f={...p,title:"Pages/Amsterdam.nl/Home Page",component:k},l={};var h,c,m;l.parameters={...l.parameters,docs:{...(h=l.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(m=(c=l.parameters)==null?void 0:c.docs)==null?void 0:m.source}}};const z=["Default"],G=Object.freeze(Object.defineProperty({__proto__:null,Default:l,__namedExportsOrder:z,default:f},Symbol.toStringTag,{value:"Module"}));export{G as H}; diff --git a/demo-1732-error-on-icon-prop/assets/Icon.docs-uCOS7zZl.js b/demo-1732-error-on-icon-prop/assets/Icon.docs-Dc8ZyilN.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/Icon.docs-uCOS7zZl.js rename to demo-1732-error-on-icon-prop/assets/Icon.docs-Dc8ZyilN.js index 91b5e0eb34..4a4cf5f49c 100644 --- a/demo-1732-error-on-icon-prop/assets/Icon.docs-uCOS7zZl.js +++ b/demo-1732-error-on-icon-prop/assets/Icon.docs-Dc8ZyilN.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as a}from"./index-BSj771as.js";import{ae as i,aq as r,ar as c,as as l,at as o}from"./index-fGKZZBv1.js";import{I as h,W as d,S as m,L as p,a as x,b as u,c as f}from"./Icon.stories-C7OdcWm_.js";import{S as j}from"./StatusBadge-Ck_iCwDF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Icon-D1obyjGa.js";import"./Badge-jE39d5Kk.js";const g=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as a}from"./index-BSj771as.js";import{ae as i,aq as r,ar as c,as as l,at as o}from"./index-Cnpsjyel.js";import{I as h,W as d,S as m,L as p,a as x,b as u,c as f}from"./Icon.stories-DAJz4pcj.js";import{S as j}from"./StatusBadge-Ck_iCwDF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Icon-D1obyjGa.js";import"./Badge-jE39d5Kk.js";const g=` # Icon diff --git a/demo-1732-error-on-icon-prop/assets/Icon.stories-C7OdcWm_.js b/demo-1732-error-on-icon-prop/assets/Icon.stories-DAJz4pcj.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Icon.stories-C7OdcWm_.js rename to demo-1732-error-on-icon-prop/assets/Icon.stories-DAJz4pcj.js index 955c821a4a..c1b5d9848a 100644 --- a/demo-1732-error-on-icon-prop/assets/Icon.stories-C7OdcWm_.js +++ b/demo-1732-error-on-icon-prop/assets/Icon.stories-DAJz4pcj.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-j_jdvEMj.js";import{H as D}from"./index.esm-jyjgLnxG.js";import{I as m,d as e}from"./index.esm-DoGgRjwu.js";import{I as W}from"./Icon-D1obyjGa.js";const M={title:"Components/Media/Icon",component:W,argTypes:{svg:{control:{type:"select"},options:Object.keys(m),mapping:m}}},r={args:{svg:e}},a={decorators:[i=>s.jsx("span",{style:{display:"flex",gap:"1rem"},children:s.jsx(i,{})})],render:i=>s.jsxs(s.Fragment,{children:[s.jsx(W,{...i,size:"level-3"}),s.jsx(D,{size:"level-3",children:"Inline text"})]}),args:{svg:e}},o={args:{svg:e,square:!0}},n={args:{svg:e,size:"level-3"}},c={args:{svg:e,size:"level-4"}},t={args:{svg:e,size:"level-5"}},l={args:{svg:e,size:"level-6"}};var p,g,d;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as s}from"./jsx-runtime-j_jdvEMj.js";import{H as D}from"./index.esm-DEmhLKYr.js";import{I as m,d as e}from"./index.esm-DoGgRjwu.js";import{I as W}from"./Icon-D1obyjGa.js";const M={title:"Components/Media/Icon",component:W,argTypes:{svg:{control:{type:"select"},options:Object.keys(m),mapping:m}}},r={args:{svg:e}},a={decorators:[i=>s.jsx("span",{style:{display:"flex",gap:"1rem"},children:s.jsx(i,{})})],render:i=>s.jsxs(s.Fragment,{children:[s.jsx(W,{...i,size:"level-3"}),s.jsx(D,{size:"level-3",children:"Inline text"})]}),args:{svg:e}},o={args:{svg:e,square:!0}},n={args:{svg:e,size:"level-3"}},c={args:{svg:e,size:"level-4"}},t={args:{svg:e,size:"level-5"}},l={args:{svg:e,size:"level-6"}};var p,g,d;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { svg: Icons.EmailIcon } diff --git a/demo-1732-error-on-icon-prop/assets/IconButton.docs-BYD6Tyld.js b/demo-1732-error-on-icon-prop/assets/IconButton.docs-Cq8JeAU9.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/IconButton.docs-BYD6Tyld.js rename to demo-1732-error-on-icon-prop/assets/IconButton.docs-Cq8JeAU9.js index 76ffabd629..71cc1871d7 100644 --- a/demo-1732-error-on-icon-prop/assets/IconButton.docs-BYD6Tyld.js +++ b/demo-1732-error-on-icon-prop/assets/IconButton.docs-Cq8JeAU9.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as l,aq as i,ar as a,as as c,at as r}from"./index-fGKZZBv1.js";import{I as d,L as h,a as u,b as p,c as m,C as x,d as j}from"./IconButton.stories-B91M3ZRI.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";import"./IconButton-D2q6GTZc.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const b=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as l,aq as i,ar as a,as as c,at as r}from"./index-Cnpsjyel.js";import{I as d,L as h,a as u,b as p,c as m,C as x,d as j}from"./IconButton.stories-B91M3ZRI.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";import"./IconButton-D2q6GTZc.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const b=` # Icon Button diff --git a/demo-1732-error-on-icon-prop/assets/Image.docs-BcIDWXam.js b/demo-1732-error-on-icon-prop/assets/Image.docs-onfhJGlt.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/Image.docs-BcIDWXam.js rename to demo-1732-error-on-icon-prop/assets/Image.docs-onfhJGlt.js index 08eeb657e3..dc2b95ecf6 100644 --- a/demo-1732-error-on-icon-prop/assets/Image.docs-BcIDWXam.js +++ b/demo-1732-error-on-icon-prop/assets/Image.docs-onfhJGlt.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as a,aq as r,ar as l,as as c,at as o}from"./index-fGKZZBv1.js";import{I as d,R as h,L as m}from"./Image.stories-C6o__ADK.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Image-9n1GiQZ0.js";import"./clsx-B-dksMZM.js";const p=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as a,aq as r,ar as l,as as c,at as o}from"./index-Cnpsjyel.js";import{I as d,R as h,L as m}from"./Image.stories-C6o__ADK.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Image-9n1GiQZ0.js";import"./clsx-B-dksMZM.js";const p=` # Image diff --git a/demo-1732-error-on-icon-prop/assets/ImageSlider.docs-CfqG4hWY.js b/demo-1732-error-on-icon-prop/assets/ImageSlider.docs-BRHLqmd1.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/ImageSlider.docs-CfqG4hWY.js rename to demo-1732-error-on-icon-prop/assets/ImageSlider.docs-BRHLqmd1.js index cb7d2079ae..f965e453e8 100644 --- a/demo-1732-error-on-icon-prop/assets/ImageSlider.docs-CfqG4hWY.js +++ b/demo-1732-error-on-icon-prop/assets/ImageSlider.docs-BRHLqmd1.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,aq as a,ar as r,as as l,at as m}from"./index-fGKZZBv1.js";import{I as d,R as h}from"./ImageSlider.stories-CWDOrUhm.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./IconButton-D2q6GTZc.js";import"./Icon-D1obyjGa.js";import"./Image-9n1GiQZ0.js";import"./Screen-CvK1H_-v.js";const c=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,aq as a,ar as r,as as l,at as m}from"./index-Cnpsjyel.js";import{I as d,R as h}from"./ImageSlider.stories-CWDOrUhm.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./IconButton-D2q6GTZc.js";import"./Icon-D1obyjGa.js";import"./Image-9n1GiQZ0.js";import"./Screen-CvK1H_-v.js";const c=` # Image Slider diff --git a/demo-1732-error-on-icon-prop/assets/Introduction.docs-BloUnywk.js b/demo-1732-error-on-icon-prop/assets/Introduction.docs-B67xWw2D.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/Introduction.docs-BloUnywk.js rename to demo-1732-error-on-icon-prop/assets/Introduction.docs-B67xWw2D.js index cfa4087cab..2bd8b2a62e 100644 --- a/demo-1732-error-on-icon-prop/assets/Introduction.docs-BloUnywk.js +++ b/demo-1732-error-on-icon-prop/assets/Introduction.docs-B67xWw2D.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as i}from"./index-fGKZZBv1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function o(n){const t={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",...s(),...n.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as i}from"./index-Cnpsjyel.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function o(n){const t={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",...s(),...n.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(i,{title:"Pages/Introduction"}),` `,e.jsx(t.h1,{id:"pages",children:"Pages"}),` diff --git a/demo-1732-error-on-icon-prop/assets/Label.docs-D0WKjC6R.js b/demo-1732-error-on-icon-prop/assets/Label.docs-CEwV_5PE.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/Label.docs-D0WKjC6R.js rename to demo-1732-error-on-icon-prop/assets/Label.docs-CEwV_5PE.js index c0f3750380..deed06b92b 100644 --- a/demo-1732-error-on-icon-prop/assets/Label.docs-D0WKjC6R.js +++ b/demo-1732-error-on-icon-prop/assets/Label.docs-CEwV_5PE.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as a,ar as h,as as l,at as o}from"./index-fGKZZBv1.js";import{L as p,O as m,W as c}from"./Label.stories-Dcrx0ofz.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Hint-rQy8SNzx.js";const d=` +import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as a,ar as h,as as l,at as o}from"./index-Cnpsjyel.js";import{L as p,O as m,W as c}from"./Label.stories-Dcrx0ofz.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Hint-rQy8SNzx.js";const d=` # Label diff --git a/demo-1732-error-on-icon-prop/assets/Link.docs-CNAZHbE7.js b/demo-1732-error-on-icon-prop/assets/Link.docs-jWu7LZ61.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/Link.docs-CNAZHbE7.js rename to demo-1732-error-on-icon-prop/assets/Link.docs-jWu7LZ61.js index 832521ef7e..b83393f37e 100644 --- a/demo-1732-error-on-icon-prop/assets/Link.docs-CNAZHbE7.js +++ b/demo-1732-error-on-icon-prop/assets/Link.docs-jWu7LZ61.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as a,ar as l,as as c,at as t}from"./index-fGKZZBv1.js";import{L as h,S as d,I as p,C as u,a as m}from"./Link.stories-CSJavp70.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";const g=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as a,ar as l,as as c,at as t}from"./index-Cnpsjyel.js";import{L as h,S as d,I as p,C as u,a as m}from"./Link.stories-DSnkgVZy.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";const g=` # Link diff --git a/demo-1732-error-on-icon-prop/assets/Link.stories-CSJavp70.js b/demo-1732-error-on-icon-prop/assets/Link.stories-DSnkgVZy.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Link.stories-CSJavp70.js rename to demo-1732-error-on-icon-prop/assets/Link.stories-DSnkgVZy.js index 7a8b2b2b15..532bbf424d 100644 --- a/demo-1732-error-on-icon-prop/assets/Link.stories-CSJavp70.js +++ b/demo-1732-error-on-icon-prop/assets/Link.stories-DSnkgVZy.js @@ -1,4 +1,4 @@ -import{j as l}from"./jsx-runtime-j_jdvEMj.js";import{P as N}from"./index.esm-jyjgLnxG.js";import{i as P,c as D}from"./decorators-DYZ3zH5Z.js";import{c as T}from"./clsx-B-dksMZM.js";import{r as w}from"./index-B-o1Wr-g.js";const t=w.forwardRef(({children:n,className:S,contrastColor:j,inverseColor:L,variant:i="standalone",...q},I)=>l.jsx("a",{...q,ref:I,className:T("ams-link",j&&"ams-link--contrast-color",L&&"ams-link--inverse-color",i==="inline"&&"ams-link--inline",i==="standalone"&&"ams-link--standalone",S),children:n}));t.displayName="Link";try{t.displayName="Link",t.__docgenInfo={description:"",displayName:"Link",props:{contrastColor:{defaultValue:null,description:"Changes the text colour for readability on a light background.",name:"contrastColor",required:!1,type:{name:"boolean"}},inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"standalone"},description:"Whether the link is inline or stands alone.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"inline"'},{value:'"standalone"'}]}}}}}catch{}const z={title:"Components/Navigation/Link",component:t,args:{children:"Link label",contrastColor:!1,href:"#",inverseColor:!1},argTypes:{children:{description:"The link text.",table:{disable:!1}},href:{description:"The url for the link.",name:"href",type:{name:"string",required:!1}}},decorators:[P,D]},e={},r={},a={args:{children:"typograaf",variant:"inline"},decorators:[n=>l.jsxs(N,{children:["Jouw ",l.jsx(n,{})," biedt mij zulke exquise schreven!"]})]},o={args:{contrastColor:!0}},s={args:{inverseColor:!0}};var c,d,u;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:"{}",...(u=(d=e.parameters)==null?void 0:d.docs)==null?void 0:u.source}}};var m,p,f;r.parameters={...r.parameters,docs:{...(m=r.parameters)==null?void 0:m.docs,source:{originalSource:"{}",...(f=(p=r.parameters)==null?void 0:p.docs)==null?void 0:f.source}}};var g,h,C;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:`{ +import{j as l}from"./jsx-runtime-j_jdvEMj.js";import{P as N}from"./index.esm-DEmhLKYr.js";import{i as P,c as D}from"./decorators-DYZ3zH5Z.js";import{c as T}from"./clsx-B-dksMZM.js";import{r as w}from"./index-B-o1Wr-g.js";const t=w.forwardRef(({children:n,className:S,contrastColor:j,inverseColor:L,variant:i="standalone",...q},I)=>l.jsx("a",{...q,ref:I,className:T("ams-link",j&&"ams-link--contrast-color",L&&"ams-link--inverse-color",i==="inline"&&"ams-link--inline",i==="standalone"&&"ams-link--standalone",S),children:n}));t.displayName="Link";try{t.displayName="Link",t.__docgenInfo={description:"",displayName:"Link",props:{contrastColor:{defaultValue:null,description:"Changes the text colour for readability on a light background.",name:"contrastColor",required:!1,type:{name:"boolean"}},inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},variant:{defaultValue:{value:"standalone"},description:"Whether the link is inline or stands alone.",name:"variant",required:!1,type:{name:"enum",value:[{value:'"inline"'},{value:'"standalone"'}]}}}}}catch{}const z={title:"Components/Navigation/Link",component:t,args:{children:"Link label",contrastColor:!1,href:"#",inverseColor:!1},argTypes:{children:{description:"The link text.",table:{disable:!1}},href:{description:"The url for the link.",name:"href",type:{name:"string",required:!1}}},decorators:[P,D]},e={},r={},a={args:{children:"typograaf",variant:"inline"},decorators:[n=>l.jsxs(N,{children:["Jouw ",l.jsx(n,{})," biedt mij zulke exquise schreven!"]})]},o={args:{contrastColor:!0}},s={args:{inverseColor:!0}};var c,d,u;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:"{}",...(u=(d=e.parameters)==null?void 0:d.docs)==null?void 0:u.source}}};var m,p,f;r.parameters={...r.parameters,docs:{...(m=r.parameters)==null?void 0:m.docs,source:{originalSource:"{}",...(f=(p=r.parameters)==null?void 0:p.docs)==null?void 0:f.source}}};var g,h,C;a.parameters={...a.parameters,docs:{...(g=a.parameters)==null?void 0:g.docs,source:{originalSource:`{ args: { children: 'typograaf', variant: 'inline' diff --git a/demo-1732-error-on-icon-prop/assets/LinkList.docs-CzEY7VOc.js b/demo-1732-error-on-icon-prop/assets/LinkList.docs-BMOgNe8t.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/LinkList.docs-CzEY7VOc.js rename to demo-1732-error-on-icon-prop/assets/LinkList.docs-BMOgNe8t.js index 0e3982e5d9..f876674210 100644 --- a/demo-1732-error-on-icon-prop/assets/LinkList.docs-CzEY7VOc.js +++ b/demo-1732-error-on-icon-prop/assets/LinkList.docs-BMOgNe8t.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as l,aq as a,ar as c,at as s,as as h}from"./index-fGKZZBv1.js";import{L as d,C as m,S as p,a as t,b as u,I as x}from"./LinkList.stories-DSfyODAB.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";import"./exampleContent-hIIPvEhU.js";import"./LinkList-KzJ1IdI0.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const j=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as l,aq as a,ar as c,at as s,as as h}from"./index-Cnpsjyel.js";import{L as d,C as m,S as p,a as t,b as u,I as x}from"./LinkList.stories-DSfyODAB.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";import"./exampleContent-hIIPvEhU.js";import"./LinkList-KzJ1IdI0.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const j=` # Link List diff --git a/demo-1732-error-on-icon-prop/assets/Logo.docs-BP219a8M.js b/demo-1732-error-on-icon-prop/assets/Logo.docs-D7UVjYPa.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/Logo.docs-BP219a8M.js rename to demo-1732-error-on-icon-prop/assets/Logo.docs-D7UVjYPa.js index 3280dbda6c..527a7fd8bd 100644 --- a/demo-1732-error-on-icon-prop/assets/Logo.docs-BP219a8M.js +++ b/demo-1732-error-on-icon-prop/assets/Logo.docs-D7UVjYPa.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as i,aq as r,ar as h,as as l,at as o}from"./index-fGKZZBv1.js";import{L as d,G as m,S as p,a as g,V as c,M as u}from"./Logo.stories-1D2Iq0g9.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Logo-BnxYOw7m.js";import"./clsx-B-dksMZM.js";const f=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as i,aq as r,ar as h,as as l,at as o}from"./index-Cnpsjyel.js";import{L as d,G as m,S as p,a as g,V as c,M as u}from"./Logo.stories-1D2Iq0g9.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Logo-BnxYOw7m.js";import"./clsx-B-dksMZM.js";const f=` # Logo diff --git a/demo-1732-error-on-icon-prop/assets/Margin.docs-BAzoW7OM.js b/demo-1732-error-on-icon-prop/assets/Margin.docs-C5PkDOrX.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/Margin.docs-BAzoW7OM.js rename to demo-1732-error-on-icon-prop/assets/Margin.docs-C5PkDOrX.js index fb33f19bed..bf2371200c 100644 --- a/demo-1732-error-on-icon-prop/assets/Margin.docs-BAzoW7OM.js +++ b/demo-1732-error-on-icon-prop/assets/Margin.docs-C5PkDOrX.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as o,aq as i,ar as m,as as r}from"./index-fGKZZBv1.js";import{M as l}from"./Margin.stories-CMDBOVdi.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const p=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as o,aq as i,ar as m,as as r}from"./index-Cnpsjyel.js";import{M as l}from"./Margin.stories-BupqR0H6.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const p=` # Margin diff --git a/demo-1732-error-on-icon-prop/assets/Margin.stories-CMDBOVdi.js b/demo-1732-error-on-icon-prop/assets/Margin.stories-BupqR0H6.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Margin.stories-CMDBOVdi.js rename to demo-1732-error-on-icon-prop/assets/Margin.stories-BupqR0H6.js index e52de9fc94..b8cdae914f 100644 --- a/demo-1732-error-on-icon-prop/assets/Margin.stories-CMDBOVdi.js +++ b/demo-1732-error-on-icon-prop/assets/Margin.stories-BupqR0H6.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as l,P as m}from"./index.esm-jyjgLnxG.js";/** +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as l,P as m}from"./index.esm-DEmhLKYr.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const s=({children:r,size:i})=>e.jsx("span",{className:`ams-mb--${i}`,children:r});try{s.displayName="Margin",s.__docgenInfo={description:"Renders examples in Storybook. Not for reuse.",displayName:"Margin",props:{size:{defaultValue:null,description:"The amount of space below the element.",name:"size",required:!0,type:{name:"enum",value:[{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'}]}}}}}catch{}const c=({size:r})=>e.jsxs(e.Fragment,{children:[e.jsx(l,{className:`ams-mb--${r}`,level:2,children:"This heading has a bottom margin"}),e.jsx(m,{children:"It introduces white space between the heading and this paragraph below."})]}),d={title:"Utilities/CSS/Margin",component:s,args:{size:"xs"}},a={render:c};var t,o,n;a.parameters={...a.parameters,docs:{...(t=a.parameters)==null?void 0:t.docs,source:{originalSource:`{ diff --git a/demo-1732-error-on-icon-prop/assets/Mark.docs-DI3eNwMu.js b/demo-1732-error-on-icon-prop/assets/Mark.docs-B45yMRkb.js similarity index 79% rename from demo-1732-error-on-icon-prop/assets/Mark.docs-DI3eNwMu.js rename to demo-1732-error-on-icon-prop/assets/Mark.docs-B45yMRkb.js index b3e06a370e..f0bf1514af 100644 --- a/demo-1732-error-on-icon-prop/assets/Mark.docs-DI3eNwMu.js +++ b/demo-1732-error-on-icon-prop/assets/Mark.docs-B45yMRkb.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as o,aq as a,ar as s,as as m}from"./index-fGKZZBv1.js";import{M as p}from"./Mark.stories-3cGMXrpb.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const x=` +import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as o,aq as a,ar as s,as as m}from"./index-Cnpsjyel.js";import{M as p}from"./Mark.stories-bUpGAyNR.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const x=` # Mark diff --git a/demo-1732-error-on-icon-prop/assets/Mark.stories-3cGMXrpb.js b/demo-1732-error-on-icon-prop/assets/Mark.stories-bUpGAyNR.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/Mark.stories-3cGMXrpb.js rename to demo-1732-error-on-icon-prop/assets/Mark.stories-bUpGAyNR.js index 05a3f9855b..0889437474 100644 --- a/demo-1732-error-on-icon-prop/assets/Mark.stories-3cGMXrpb.js +++ b/demo-1732-error-on-icon-prop/assets/Mark.stories-bUpGAyNR.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{P as l}from"./index.esm-jyjgLnxG.js";import{c}from"./clsx-B-dksMZM.js";import{r as p}from"./index-B-o1Wr-g.js";const r=p.forwardRef(({children:a,className:i,...m},d)=>n.jsx("mark",{...m,ref:d,className:c("ams-mark",i),children:a}));r.displayName="Mark";try{r.displayName="Mark",r.__docgenInfo={description:"",displayName:"Mark",props:{}}}catch{}const g={title:"Components/Text/Mark",component:r,argTypes:{children:{description:"The text to mark.",table:{disable:!1}}}},e={args:{children:"Wat vinden Amsterdammers belangrijk?"},render:({children:a})=>n.jsxs(l,{children:["Daarom organiseren we in 2024 het burgerberaad schone stad, waarin 150 Amsterdammers in gesprek gaan over hoe we de stad beter schoonhouden. ",n.jsx(r,{children:a})," Welke oplossingen zien zij? Hier zijn we benieuwd naar. Want elke Amsterdammer heeft afval en moet het kwijt. Wij kunnen als gemeente veel van deze afvalexperts leren."]})};var t,s,o;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{P as l}from"./index.esm-DEmhLKYr.js";import{c}from"./clsx-B-dksMZM.js";import{r as p}from"./index-B-o1Wr-g.js";const r=p.forwardRef(({children:a,className:i,...m},d)=>n.jsx("mark",{...m,ref:d,className:c("ams-mark",i),children:a}));r.displayName="Mark";try{r.displayName="Mark",r.__docgenInfo={description:"",displayName:"Mark",props:{}}}catch{}const g={title:"Components/Text/Mark",component:r,argTypes:{children:{description:"The text to mark.",table:{disable:!1}}}},e={args:{children:"Wat vinden Amsterdammers belangrijk?"},render:({children:a})=>n.jsxs(l,{children:["Daarom organiseren we in 2024 het burgerberaad schone stad, waarin 150 Amsterdammers in gesprek gaan over hoe we de stad beter schoonhouden. ",n.jsx(r,{children:a})," Welke oplossingen zien zij? Hier zijn we benieuwd naar. Want elke Amsterdammer heeft afval en moet het kwijt. Wij kunnen als gemeente veel van deze afvalexperts leren."]})};var t,s,o;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{ args: { children: 'Wat vinden Amsterdammers belangrijk?' }, diff --git a/demo-1732-error-on-icon-prop/assets/MegaMenu.docs-CnVraQEN.js b/demo-1732-error-on-icon-prop/assets/MegaMenu.docs-CpwBnnKF.js similarity index 79% rename from demo-1732-error-on-icon-prop/assets/MegaMenu.docs-CnVraQEN.js rename to demo-1732-error-on-icon-prop/assets/MegaMenu.docs-CpwBnnKF.js index ef4bf3b978..170de96211 100644 --- a/demo-1732-error-on-icon-prop/assets/MegaMenu.docs-CnVraQEN.js +++ b/demo-1732-error-on-icon-prop/assets/MegaMenu.docs-CpwBnnKF.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as s,aq as i,ar as a,at as m}from"./index-fGKZZBv1.js";import{M as p,a as c}from"./MegaMenu.stories-D_LnuVs8.js";import{S as x}from"./StatusBadge-Ck_iCwDF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Badge-jE39d5Kk.js";const M=` +import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as s,aq as i,ar as a,at as m}from"./index-Cnpsjyel.js";import{M as p,a as c}from"./MegaMenu.stories-BSIMF87Q.js";import{S as x}from"./StatusBadge-Ck_iCwDF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Badge-jE39d5Kk.js";const M=` # Mega Menu `;/*@license CC0-1.0*/function o(n){const e={h2:"h2",h3:"h3",...r(),...n.components};return t.jsxs(t.Fragment,{children:[` diff --git a/demo-1732-error-on-icon-prop/assets/MegaMenu.stories-D_LnuVs8.js b/demo-1732-error-on-icon-prop/assets/MegaMenu.stories-BSIMF87Q.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/MegaMenu.stories-D_LnuVs8.js rename to demo-1732-error-on-icon-prop/assets/MegaMenu.stories-BSIMF87Q.js index 44191c344f..123218ef4c 100644 --- a/demo-1732-error-on-icon-prop/assets/MegaMenu.stories-D_LnuVs8.js +++ b/demo-1732-error-on-icon-prop/assets/MegaMenu.stories-BSIMF87Q.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{S as v,G as t,H as k,q as n}from"./index.esm-jyjgLnxG.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as m}from"./index-B-o1Wr-g.js";const x=m.forwardRef(({children:i,className:a,...l},d)=>e.jsx("div",{...l,ref:d,className:u("ams-mega-menu__list-category",a),children:i}));x.displayName="MegaMenu.ListCategory";try{MegaMenu.ListCategory.displayName="MegaMenu.ListCategory",MegaMenu.ListCategory.__docgenInfo={description:"",displayName:"MegaMenu.ListCategory",props:{}}}catch{}const p=m.forwardRef(({children:i,className:a,...l},d)=>e.jsx("div",{...l,ref:d,className:u("ams-mega-menu",a),children:i}));p.displayName="MegaMenu";const r=Object.assign(p,{ListCategory:x});try{r.displayName="MegaMenu",r.__docgenInfo={description:"",displayName:"MegaMenu",props:{}}}catch{}const M={title:"Components/Navigation/Mega Menu",component:r,parameters:{layout:"fullscreen"},decorators:[i=>e.jsx(v,{children:e.jsx(i,{})})]},s={args:{children:e.jsx(t,{paddingVertical:"medium",children:e.jsxs(t.Cell,{span:"all",children:[e.jsx(k,{level:1,size:"level-2",children:"Alle onderwerpen"}),e.jsx(r.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",children:"Afval"}),e.jsx(n.Link,{href:"#",children:"Bestuur en organisatie"}),e.jsx(n.Link,{href:"#",children:"Bouw- en verkeersprojecten"}),e.jsx(n.Link,{href:"#",children:"Burgerzaken"}),e.jsx(n.Link,{href:"#",children:"Diversiteit"}),e.jsx(n.Link,{href:"#",children:"Gemeentebelastingen"}),e.jsx(n.Link,{href:"#",children:"Gezondheidsdienst (GGD)"}),e.jsx(n.Link,{href:"#",children:"Kunst en cultuur"}),e.jsx(n.Link,{href:"#",children:"Ondernemen"}),e.jsx(n.Link,{href:"#",children:"Onderwijs en jeugd"}),e.jsx(n.Link,{href:"#",children:"Parkeren"}),e.jsx(n.Link,{href:"#",children:"Sport"}),e.jsx(n.Link,{href:"#",children:"Stadsdelen"}),e.jsx(n.Link,{href:"#",children:"Subsidies"}),e.jsx(n.Link,{href:"#",children:"Vacatures"}),e.jsx(n.Link,{href:"#",children:"Verkeer en vervoer"}),e.jsx(n.Link,{href:"#",children:"Vrije tijd"}),e.jsx(n.Link,{href:"#",children:"Werk aan de weg"}),e.jsx(n.Link,{href:"#",children:"Werk en inkomen"}),e.jsx(n.Link,{href:"#",children:"Wonen en leefomgeving"})]})})]})},"nav")}},L={args:{children:e.jsxs(t,{paddingVertical:"medium",children:[e.jsxs(t.Cell,{span:{narrow:4,medium:8,wide:8},children:[e.jsx(k,{level:3,size:"level-3",children:"Thema’s"}),e.jsx(r.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",size:"large",children:"Afval"}),e.jsx(n.Link,{href:"#",size:"large",children:"Bestuur en organisatie"}),e.jsx(n.Link,{href:"#",size:"large",children:"Bouw- en verkeersprojecten"}),e.jsx(n.Link,{href:"#",size:"large",children:"Burgerzaken"}),e.jsx(n.Link,{href:"#",size:"large",children:"Diversiteit"}),e.jsx(n.Link,{href:"#",size:"large",children:"Gemeentebelastingen"}),e.jsx(n.Link,{href:"#",size:"large",children:"Gezondheidsdienst (GGD)"}),e.jsx(n.Link,{href:"#",size:"large",children:"Kunst en cultuur"}),e.jsx(n.Link,{href:"#",size:"large",children:"Ondernemen"}),e.jsx(n.Link,{href:"#",size:"large",children:"Onderwijs en jeugd"}),e.jsx(n.Link,{href:"#",size:"large",children:"Parkeren"}),e.jsx(n.Link,{href:"#",size:"large",children:"Sport"}),e.jsx(n.Link,{href:"#",size:"large",children:"Stadsdelen"}),e.jsx(n.Link,{href:"#",size:"large",children:"Subsidies"})]})})]}),e.jsxs(t.Cell,{span:{narrow:4,medium:8,wide:4},children:[e.jsx(k,{level:3,size:"level-3",children:"Categorieën"}),e.jsx(r.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",children:"Vacatures"}),e.jsx(n.Link,{href:"#",children:"Verkeer en vervoer"}),e.jsx(n.Link,{href:"#",children:"Vrije tijd"}),e.jsx(n.Link,{href:"#",children:"Werk aan de weg"}),e.jsx(n.Link,{href:"#",children:"Werk en inkomen"}),e.jsx(n.Link,{href:"#",children:"Wonen en leefomgeving"})]})}),e.jsx(k,{level:3,size:"level-3",children:"Snel naar"}),e.jsx(r.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",children:"Vacatures"}),e.jsx(n.Link,{href:"#",children:"Verkeer en vervoer"}),e.jsx(n.Link,{href:"#",children:"Vrije tijd"}),e.jsx(n.Link,{href:"#",children:"Werk aan de weg"})]})})]})]},"nav")}};var h,o,g;s.parameters={...s.parameters,docs:{...(h=s.parameters)==null?void 0:h.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{S as v,G as t,H as k,q as n}from"./index.esm-DEmhLKYr.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as m}from"./index-B-o1Wr-g.js";const x=m.forwardRef(({children:i,className:a,...l},d)=>e.jsx("div",{...l,ref:d,className:u("ams-mega-menu__list-category",a),children:i}));x.displayName="MegaMenu.ListCategory";try{MegaMenu.ListCategory.displayName="MegaMenu.ListCategory",MegaMenu.ListCategory.__docgenInfo={description:"",displayName:"MegaMenu.ListCategory",props:{}}}catch{}const p=m.forwardRef(({children:i,className:a,...l},d)=>e.jsx("div",{...l,ref:d,className:u("ams-mega-menu",a),children:i}));p.displayName="MegaMenu";const r=Object.assign(p,{ListCategory:x});try{r.displayName="MegaMenu",r.__docgenInfo={description:"",displayName:"MegaMenu",props:{}}}catch{}const M={title:"Components/Navigation/Mega Menu",component:r,parameters:{layout:"fullscreen"},decorators:[i=>e.jsx(v,{children:e.jsx(i,{})})]},s={args:{children:e.jsx(t,{paddingVertical:"medium",children:e.jsxs(t.Cell,{span:"all",children:[e.jsx(k,{level:1,size:"level-2",children:"Alle onderwerpen"}),e.jsx(r.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",children:"Afval"}),e.jsx(n.Link,{href:"#",children:"Bestuur en organisatie"}),e.jsx(n.Link,{href:"#",children:"Bouw- en verkeersprojecten"}),e.jsx(n.Link,{href:"#",children:"Burgerzaken"}),e.jsx(n.Link,{href:"#",children:"Diversiteit"}),e.jsx(n.Link,{href:"#",children:"Gemeentebelastingen"}),e.jsx(n.Link,{href:"#",children:"Gezondheidsdienst (GGD)"}),e.jsx(n.Link,{href:"#",children:"Kunst en cultuur"}),e.jsx(n.Link,{href:"#",children:"Ondernemen"}),e.jsx(n.Link,{href:"#",children:"Onderwijs en jeugd"}),e.jsx(n.Link,{href:"#",children:"Parkeren"}),e.jsx(n.Link,{href:"#",children:"Sport"}),e.jsx(n.Link,{href:"#",children:"Stadsdelen"}),e.jsx(n.Link,{href:"#",children:"Subsidies"}),e.jsx(n.Link,{href:"#",children:"Vacatures"}),e.jsx(n.Link,{href:"#",children:"Verkeer en vervoer"}),e.jsx(n.Link,{href:"#",children:"Vrije tijd"}),e.jsx(n.Link,{href:"#",children:"Werk aan de weg"}),e.jsx(n.Link,{href:"#",children:"Werk en inkomen"}),e.jsx(n.Link,{href:"#",children:"Wonen en leefomgeving"})]})})]})},"nav")}},L={args:{children:e.jsxs(t,{paddingVertical:"medium",children:[e.jsxs(t.Cell,{span:{narrow:4,medium:8,wide:8},children:[e.jsx(k,{level:3,size:"level-3",children:"Thema’s"}),e.jsx(r.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",size:"large",children:"Afval"}),e.jsx(n.Link,{href:"#",size:"large",children:"Bestuur en organisatie"}),e.jsx(n.Link,{href:"#",size:"large",children:"Bouw- en verkeersprojecten"}),e.jsx(n.Link,{href:"#",size:"large",children:"Burgerzaken"}),e.jsx(n.Link,{href:"#",size:"large",children:"Diversiteit"}),e.jsx(n.Link,{href:"#",size:"large",children:"Gemeentebelastingen"}),e.jsx(n.Link,{href:"#",size:"large",children:"Gezondheidsdienst (GGD)"}),e.jsx(n.Link,{href:"#",size:"large",children:"Kunst en cultuur"}),e.jsx(n.Link,{href:"#",size:"large",children:"Ondernemen"}),e.jsx(n.Link,{href:"#",size:"large",children:"Onderwijs en jeugd"}),e.jsx(n.Link,{href:"#",size:"large",children:"Parkeren"}),e.jsx(n.Link,{href:"#",size:"large",children:"Sport"}),e.jsx(n.Link,{href:"#",size:"large",children:"Stadsdelen"}),e.jsx(n.Link,{href:"#",size:"large",children:"Subsidies"})]})})]}),e.jsxs(t.Cell,{span:{narrow:4,medium:8,wide:4},children:[e.jsx(k,{level:3,size:"level-3",children:"Categorieën"}),e.jsx(r.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",children:"Vacatures"}),e.jsx(n.Link,{href:"#",children:"Verkeer en vervoer"}),e.jsx(n.Link,{href:"#",children:"Vrije tijd"}),e.jsx(n.Link,{href:"#",children:"Werk aan de weg"}),e.jsx(n.Link,{href:"#",children:"Werk en inkomen"}),e.jsx(n.Link,{href:"#",children:"Wonen en leefomgeving"})]})}),e.jsx(k,{level:3,size:"level-3",children:"Snel naar"}),e.jsx(r.ListCategory,{children:e.jsxs(n,{children:[e.jsx(n.Link,{href:"#",children:"Vacatures"}),e.jsx(n.Link,{href:"#",children:"Verkeer en vervoer"}),e.jsx(n.Link,{href:"#",children:"Vrije tijd"}),e.jsx(n.Link,{href:"#",children:"Werk aan de weg"})]})})]})]},"nav")}};var h,o,g;s.parameters={...s.parameters,docs:{...(h=s.parameters)==null?void 0:h.docs,source:{originalSource:`{ args: { children: diff --git a/demo-1732-error-on-icon-prop/assets/OrderedList.docs-CbGwbKSd.js b/demo-1732-error-on-icon-prop/assets/OrderedList.docs-BS1Ql01G.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/OrderedList.docs-CbGwbKSd.js rename to demo-1732-error-on-icon-prop/assets/OrderedList.docs-BS1Ql01G.js index afa83b10d6..a448cc6258 100644 --- a/demo-1732-error-on-icon-prop/assets/OrderedList.docs-CbGwbKSd.js +++ b/demo-1732-error-on-icon-prop/assets/OrderedList.docs-BS1Ql01G.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as o,aq as a,ar as h,as as l,at as r}from"./index-fGKZZBv1.js";import{O as d,T as c,S as m,D as p,W as x,I as u,a as j}from"./OrderedList.stories-DaET4DyX.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";import"./exampleContent-hIIPvEhU.js";const f=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as o,aq as a,ar as h,as as l,at as r}from"./index-Cnpsjyel.js";import{O as d,T as c,S as m,D as p,W as x,I as u,a as j}from"./OrderedList.stories-CC1jhB1h.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";import"./exampleContent-hIIPvEhU.js";const f=` # Ordered List diff --git a/demo-1732-error-on-icon-prop/assets/OrderedList.stories-DaET4DyX.js b/demo-1732-error-on-icon-prop/assets/OrderedList.stories-CC1jhB1h.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/OrderedList.stories-DaET4DyX.js rename to demo-1732-error-on-icon-prop/assets/OrderedList.stories-CC1jhB1h.js index e0a3cd970a..f9624d60f3 100644 --- a/demo-1732-error-on-icon-prop/assets/OrderedList.stories-DaET4DyX.js +++ b/demo-1732-error-on-icon-prop/assets/OrderedList.stories-CC1jhB1h.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as h,P as t}from"./index.esm-jyjgLnxG.js";import{i as q}from"./decorators-DYZ3zH5Z.js";import{d as M}from"./exampleContent-hIIPvEhU.js";import{c as E}from"./clsx-B-dksMZM.js";import{r as H}from"./index-B-o1Wr-g.js";const A=H.forwardRef(({children:s,className:a,...u},p)=>e.jsx("li",{ref:p,className:E("ams-ordered-list__item",a),...u,children:s}));A.displayName="OrderedList.Item";try{OrderedList.Item.displayName="OrderedList.Item",OrderedList.Item.__docgenInfo={description:"",displayName:"OrderedList.Item",props:{}}}catch{}const G=H.forwardRef(({children:s,className:a,inverseColor:u,markers:p=!0,size:g,...R},Z)=>e.jsx("ol",{ref:Z,className:E("ams-ordered-list",u&&"ams-ordered-list--inverse-color",!p&&"ams-ordered-list--no-markers",g&&`ams-ordered-list--${g}`,a),...R,children:s}));G.displayName="OrderedList";const r=Object.assign(G,{Item:A});try{r.displayName="OrderedList",r.__docgenInfo={description:"",displayName:"OrderedList",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},markers:{defaultValue:{value:"true"},description:"Whether the list items show a marker.",name:"markers",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"The size of the text.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'}]}}}}}catch{}const V=M().map((s,a)=>e.jsx(r.Item,{children:s},a)),$={title:"Components/Text/Ordered List",component:r,args:{children:V,inverseColor:!1,markers:void 0,reversed:void 0,start:void 0},argTypes:{reversed:{control:"boolean",description:"Numbers the items from the highest value down."},start:{control:"number",description:"The value for the first list item’s marker."},size:{control:{type:"radio",labels:{small:"small",undefined:"medium"}},options:["small",void 0]}},decorators:[q]},d={},n={render:s=>e.jsxs(r,{...s,children:[e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]}),e.jsxs(r.Item,{children:["Stadsdeel Nieuw-West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"De Aker, Sloten en Nieuw Sloten"}),e.jsx(r.Item,{children:"Geuzenveld, Slotermeer en Sloterdijken"}),e.jsx(r.Item,{children:"Osdorp"}),e.jsx(r.Item,{children:"Slotervaart"})]})]})]})},i={args:{children:[e.jsx(r.Item,{children:"Zes"},6),e.jsx(r.Item,{children:"Zeven"},7),e.jsx(r.Item,{children:"Acht"},8)],start:6}},o={args:{children:[e.jsx(r.Item,{children:"Drie"},3),e.jsx(r.Item,{children:"Twee"},2),e.jsx(r.Item,{children:"Eén"},1)],reversed:!0,start:3}},l={args:{children:[e.jsxs(r.Item,{children:[e.jsx(h,{size:"level-4",children:"Weg met steen, hallo extra groen en koelte"}),e.jsx(t,{children:"Sinds 2021 kwamen er maar liefst 60 nieuwe groene plekken bij in de stad. Groen is fijn en het verkoelt de stad in de zomer. Een paar voorbeelden."}),e.jsx(t,{size:"small",children:"16 augustus 2023"})]},1),e.jsxs(r.Item,{children:[e.jsx(h,{size:"level-4",children:"Amsterdam bindt de strijd aan met lawaaierige voertuigen"}),e.jsx(t,{children:"Deze zomer testen we of digitale borden langs de weg kunnen helpen om geluidsoverlast van voertuigen zoals motoren en auto’s tegen te gaan."}),e.jsx(t,{size:"small",children:"10 augustus 2023"})]},2),e.jsxs(r.Item,{children:[e.jsx(h,{size:"level-4",children:"Een prachtroute door de wonderlijke Baarsjes"}),e.jsx(t,{children:"In de Baarsjes zijn kunst en cultuur met elkaar vervlochten. We zetten een prachtige wandelroute voor u uit en laten zien hoe het was en hoe het nu is."}),e.jsx(t,{size:"small",children:"8 augustus 2023"})]},3)],markers:!1}},m={args:{inverseColor:!0},render:s=>e.jsx(r,{...s,children:e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]})})},c={args:{size:"small"}};var I,O,L;d.parameters={...d.parameters,docs:{...(I=d.parameters)==null?void 0:I.docs,source:{originalSource:"{}",...(L=(O=d.parameters)==null?void 0:O.docs)==null?void 0:L.source}}};var j,v,x;n.parameters={...n.parameters,docs:{...(j=n.parameters)==null?void 0:j.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{H as h,P as t}from"./index.esm-DEmhLKYr.js";import{i as q}from"./decorators-DYZ3zH5Z.js";import{d as M}from"./exampleContent-hIIPvEhU.js";import{c as E}from"./clsx-B-dksMZM.js";import{r as H}from"./index-B-o1Wr-g.js";const A=H.forwardRef(({children:s,className:a,...u},p)=>e.jsx("li",{ref:p,className:E("ams-ordered-list__item",a),...u,children:s}));A.displayName="OrderedList.Item";try{OrderedList.Item.displayName="OrderedList.Item",OrderedList.Item.__docgenInfo={description:"",displayName:"OrderedList.Item",props:{}}}catch{}const G=H.forwardRef(({children:s,className:a,inverseColor:u,markers:p=!0,size:g,...R},Z)=>e.jsx("ol",{ref:Z,className:E("ams-ordered-list",u&&"ams-ordered-list--inverse-color",!p&&"ams-ordered-list--no-markers",g&&`ams-ordered-list--${g}`,a),...R,children:s}));G.displayName="OrderedList";const r=Object.assign(G,{Item:A});try{r.displayName="OrderedList",r.__docgenInfo={description:"",displayName:"OrderedList",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},markers:{defaultValue:{value:"true"},description:"Whether the list items show a marker.",name:"markers",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"The size of the text.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'}]}}}}}catch{}const V=M().map((s,a)=>e.jsx(r.Item,{children:s},a)),$={title:"Components/Text/Ordered List",component:r,args:{children:V,inverseColor:!1,markers:void 0,reversed:void 0,start:void 0},argTypes:{reversed:{control:"boolean",description:"Numbers the items from the highest value down."},start:{control:"number",description:"The value for the first list item’s marker."},size:{control:{type:"radio",labels:{small:"small",undefined:"medium"}},options:["small",void 0]}},decorators:[q]},d={},n={render:s=>e.jsxs(r,{...s,children:[e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]}),e.jsxs(r.Item,{children:["Stadsdeel Nieuw-West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"De Aker, Sloten en Nieuw Sloten"}),e.jsx(r.Item,{children:"Geuzenveld, Slotermeer en Sloterdijken"}),e.jsx(r.Item,{children:"Osdorp"}),e.jsx(r.Item,{children:"Slotervaart"})]})]})]})},i={args:{children:[e.jsx(r.Item,{children:"Zes"},6),e.jsx(r.Item,{children:"Zeven"},7),e.jsx(r.Item,{children:"Acht"},8)],start:6}},o={args:{children:[e.jsx(r.Item,{children:"Drie"},3),e.jsx(r.Item,{children:"Twee"},2),e.jsx(r.Item,{children:"Eén"},1)],reversed:!0,start:3}},l={args:{children:[e.jsxs(r.Item,{children:[e.jsx(h,{size:"level-4",children:"Weg met steen, hallo extra groen en koelte"}),e.jsx(t,{children:"Sinds 2021 kwamen er maar liefst 60 nieuwe groene plekken bij in de stad. Groen is fijn en het verkoelt de stad in de zomer. Een paar voorbeelden."}),e.jsx(t,{size:"small",children:"16 augustus 2023"})]},1),e.jsxs(r.Item,{children:[e.jsx(h,{size:"level-4",children:"Amsterdam bindt de strijd aan met lawaaierige voertuigen"}),e.jsx(t,{children:"Deze zomer testen we of digitale borden langs de weg kunnen helpen om geluidsoverlast van voertuigen zoals motoren en auto’s tegen te gaan."}),e.jsx(t,{size:"small",children:"10 augustus 2023"})]},2),e.jsxs(r.Item,{children:[e.jsx(h,{size:"level-4",children:"Een prachtroute door de wonderlijke Baarsjes"}),e.jsx(t,{children:"In de Baarsjes zijn kunst en cultuur met elkaar vervlochten. We zetten een prachtige wandelroute voor u uit en laten zien hoe het was en hoe het nu is."}),e.jsx(t,{size:"small",children:"8 augustus 2023"})]},3)],markers:!1}},m={args:{inverseColor:!0},render:s=>e.jsx(r,{...s,children:e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]})})},c={args:{size:"small"}};var I,O,L;d.parameters={...d.parameters,docs:{...(I=d.parameters)==null?void 0:I.docs,source:{originalSource:"{}",...(L=(O=d.parameters)==null?void 0:O.docs)==null?void 0:L.source}}};var j,v,x;n.parameters={...n.parameters,docs:{...(j=n.parameters)==null?void 0:j.docs,source:{originalSource:`{ render: args => Stadsdeel West diff --git a/demo-1732-error-on-icon-prop/assets/Overlap.docs-CxBeYdyj.js b/demo-1732-error-on-icon-prop/assets/Overlap.docs-BYzdFF5P.js similarity index 85% rename from demo-1732-error-on-icon-prop/assets/Overlap.docs-CxBeYdyj.js rename to demo-1732-error-on-icon-prop/assets/Overlap.docs-BYzdFF5P.js index 79553b65f9..b8d00e1063 100644 --- a/demo-1732-error-on-icon-prop/assets/Overlap.docs-CxBeYdyj.js +++ b/demo-1732-error-on-icon-prop/assets/Overlap.docs-BYzdFF5P.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as t,aq as s,ar as a}from"./index-fGKZZBv1.js";import{O as l}from"./Overlap.stories-D7pCAahe.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const m=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as t,aq as s,ar as a}from"./index-Cnpsjyel.js";import{O as l}from"./Overlap.stories-CV1ABcBL.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const m=` # Overlap diff --git a/demo-1732-error-on-icon-prop/assets/Overlap.stories-D7pCAahe.js b/demo-1732-error-on-icon-prop/assets/Overlap.stories-CV1ABcBL.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Overlap.stories-D7pCAahe.js rename to demo-1732-error-on-icon-prop/assets/Overlap.stories-CV1ABcBL.js index 584384ff9f..d5d5c3c884 100644 --- a/demo-1732-error-on-icon-prop/assets/Overlap.stories-D7pCAahe.js +++ b/demo-1732-error-on-icon-prop/assets/Overlap.stories-CV1ABcBL.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{h as m,I as u,G as o,i as a}from"./index.esm-jyjgLnxG.js";import{c as h}from"./clsx-B-dksMZM.js";import{r as x}from"./index-B-o1Wr-g.js";const s=x.forwardRef(({children:r,className:c,...n},d)=>e.jsx("div",{...n,ref:d,className:h("ams-overlap",c),children:r}));s.displayName="Overlap";try{s.displayName="Overlap",s.__docgenInfo={description:"",displayName:"Overlap",props:{}}}catch{}const w={title:"Components/Layout/Overlap",component:s},t={args:{children:[e.jsx(m,{ratio:"2x-wide",children:e.jsx(u,{alt:"",cover:!0,sizes:"(max-width: 36rem) 640px, (max-width: 68rem) 1280px, 1600px",src:"https://picsum.photos/1600/500",srcSet:"https://picsum.photos/640/200 640w, https://picsum.photos/1280/400 1280w, https://picsum.photos/1600/500 1600w"})},1),e.jsx(o,{style:{alignSelf:"center"},children:e.jsx(o.Cell,{span:{narrow:4,medium:6,wide:8},start:{narrow:1,medium:2,wide:3},children:e.jsxs(a,{onSubmit:r=>r.preventDefault(),children:[e.jsx(a.Input,{label:"Zoeken",placeholder:"Wat kunnen we voor u vinden?"}),e.jsx(a.Button,{})]})})},2)]}};var p,i,l;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{h as m,I as u,G as o,i as a}from"./index.esm-DEmhLKYr.js";import{c as h}from"./clsx-B-dksMZM.js";import{r as x}from"./index-B-o1Wr-g.js";const s=x.forwardRef(({children:r,className:c,...n},d)=>e.jsx("div",{...n,ref:d,className:h("ams-overlap",c),children:r}));s.displayName="Overlap";try{s.displayName="Overlap",s.__docgenInfo={description:"",displayName:"Overlap",props:{}}}catch{}const w={title:"Components/Layout/Overlap",component:s},t={args:{children:[e.jsx(m,{ratio:"2x-wide",children:e.jsx(u,{alt:"",cover:!0,sizes:"(max-width: 36rem) 640px, (max-width: 68rem) 1280px, 1600px",src:"https://picsum.photos/1600/500",srcSet:"https://picsum.photos/640/200 640w, https://picsum.photos/1280/400 1280w, https://picsum.photos/1600/500 1600w"})},1),e.jsx(o,{style:{alignSelf:"center"},children:e.jsx(o.Cell,{span:{narrow:4,medium:6,wide:8},start:{narrow:1,medium:2,wide:3},children:e.jsxs(a,{onSubmit:r=>r.preventDefault(),children:[e.jsx(a.Input,{label:"Zoeken",placeholder:"Wat kunnen we voor u vinden?"}),e.jsx(a.Button,{})]})})},2)]}};var p,i,l;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { children: [ diff --git a/demo-1732-error-on-icon-prop/assets/PageHeading.docs-JukuYm-p.js b/demo-1732-error-on-icon-prop/assets/PageHeading.docs-rSrAQOkz.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/PageHeading.docs-JukuYm-p.js rename to demo-1732-error-on-icon-prop/assets/PageHeading.docs-rSrAQOkz.js index 8579b47952..2634fec59d 100644 --- a/demo-1732-error-on-icon-prop/assets/PageHeading.docs-JukuYm-p.js +++ b/demo-1732-error-on-icon-prop/assets/PageHeading.docs-rSrAQOkz.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as i,aq as a,ar as r,as as h,at as p}from"./index-fGKZZBv1.js";import{P as m,I as c}from"./PageHeading.stories-DFJLHWJS.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./decorators-DYZ3zH5Z.js";import"./clsx-B-dksMZM.js";const d=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as i,aq as a,ar as r,as as h,at as p}from"./index-Cnpsjyel.js";import{P as m,I as c}from"./PageHeading.stories-DFJLHWJS.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./decorators-DYZ3zH5Z.js";import"./clsx-B-dksMZM.js";const d=` # Page Heading diff --git a/demo-1732-error-on-icon-prop/assets/PageMenu.docs-bhYAJi1G.js b/demo-1732-error-on-icon-prop/assets/PageMenu.docs-BFTUvpFt.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/PageMenu.docs-bhYAJi1G.js rename to demo-1732-error-on-icon-prop/assets/PageMenu.docs-BFTUvpFt.js index 7aca036774..6a716b5faf 100644 --- a/demo-1732-error-on-icon-prop/assets/PageMenu.docs-bhYAJi1G.js +++ b/demo-1732-error-on-icon-prop/assets/PageMenu.docs-BFTUvpFt.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as a,ar as d,as as h,at as o}from"./index-fGKZZBv1.js";import{P as m,A as l,W as c}from"./PageMenu.stories-BCcfa8-E.js";import{S as u}from"./StatusBadge-Ck_iCwDF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DoGgRjwu.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";import"./Badge-jE39d5Kk.js";const p=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as a,ar as d,as as h,at as o}from"./index-Cnpsjyel.js";import{P as m,A as l,W as c}from"./PageMenu.stories-BCcfa8-E.js";import{S as u}from"./StatusBadge-Ck_iCwDF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DoGgRjwu.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";import"./Badge-jE39d5Kk.js";const p=` # Page Menu diff --git a/demo-1732-error-on-icon-prop/assets/Pagination.docs-ysDJUY0e.js b/demo-1732-error-on-icon-prop/assets/Pagination.docs-BiG7S42Y.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/Pagination.docs-ysDJUY0e.js rename to demo-1732-error-on-icon-prop/assets/Pagination.docs-BiG7S42Y.js index c45b73e835..17febd6b75 100644 --- a/demo-1732-error-on-icon-prop/assets/Pagination.docs-ysDJUY0e.js +++ b/demo-1732-error-on-icon-prop/assets/Pagination.docs-BiG7S42Y.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as o,aq as s,ar as r,as as l}from"./index-fGKZZBv1.js";import{P as p}from"./Pagination.stories-CoYu-8yI.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DoGgRjwu.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const g=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as o,aq as s,ar as r,as as l}from"./index-Cnpsjyel.js";import{P as p}from"./Pagination.stories-CoYu-8yI.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DoGgRjwu.js";import"./clsx-B-dksMZM.js";import"./Icon-D1obyjGa.js";const g=` # Pagination diff --git a/demo-1732-error-on-icon-prop/assets/Paragraph.docs-q5NggBIl.js b/demo-1732-error-on-icon-prop/assets/Paragraph.docs-B2PuRdru.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/Paragraph.docs-q5NggBIl.js rename to demo-1732-error-on-icon-prop/assets/Paragraph.docs-B2PuRdru.js index 7356ba9e0c..53830d7884 100644 --- a/demo-1732-error-on-icon-prop/assets/Paragraph.docs-q5NggBIl.js +++ b/demo-1732-error-on-icon-prop/assets/Paragraph.docs-B2PuRdru.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as i,ar as h,as as p,at as a}from"./index-fGKZZBv1.js";import{P as l,L as c,S as d,I as g}from"./Paragraph.stories-ClnGZglM.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./decorators-DYZ3zH5Z.js";import"./exampleContent-hIIPvEhU.js";import"./Paragraph-DZy4cHOZ.js";import"./clsx-B-dksMZM.js";const m=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as i,ar as h,as as p,at as a}from"./index-Cnpsjyel.js";import{P as l,L as c,S as d,I as g}from"./Paragraph.stories-ClnGZglM.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./decorators-DYZ3zH5Z.js";import"./exampleContent-hIIPvEhU.js";import"./Paragraph-DZy4cHOZ.js";import"./clsx-B-dksMZM.js";const m=` # Paragraph diff --git a/demo-1732-error-on-icon-prop/assets/PasswordInput.docs-CpagPfvR.js b/demo-1732-error-on-icon-prop/assets/PasswordInput.docs-tfwBsEli.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/PasswordInput.docs-CpagPfvR.js rename to demo-1732-error-on-icon-prop/assets/PasswordInput.docs-tfwBsEli.js index d97a8fbb03..bd8b214b9e 100644 --- a/demo-1732-error-on-icon-prop/assets/PasswordInput.docs-CpagPfvR.js +++ b/demo-1732-error-on-icon-prop/assets/PasswordInput.docs-tfwBsEli.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,aq as a,ar as d,as as h,at as t}from"./index-fGKZZBv1.js";import{P as p,I as c,a as l}from"./PasswordInput.stories-Bxcsv8lG.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const m=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,aq as a,ar as d,as as h,at as t}from"./index-Cnpsjyel.js";import{P as p,I as c,a as l}from"./PasswordInput.stories-C7RUwA76.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const m=` # Password Input diff --git a/demo-1732-error-on-icon-prop/assets/PasswordInput.stories-Bxcsv8lG.js b/demo-1732-error-on-icon-prop/assets/PasswordInput.stories-C7RUwA76.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/PasswordInput.stories-Bxcsv8lG.js rename to demo-1732-error-on-icon-prop/assets/PasswordInput.stories-C7RUwA76.js index 21c5510014..a1b9cebe1f 100644 --- a/demo-1732-error-on-icon-prop/assets/PasswordInput.stories-Bxcsv8lG.js +++ b/demo-1732-error-on-icon-prop/assets/PasswordInput.stories-C7RUwA76.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{e as v,f as h,P as b,E as f}from"./index.esm-jyjgLnxG.js";import{c as y}from"./clsx-B-dksMZM.js";import{r as I}from"./index-B-o1Wr-g.js";const i=I.forwardRef(({className:r,dir:j,invalid:F,...x},P)=>e.jsx("input",{...x,"aria-invalid":F||void 0,autoCorrect:"off",className:y("ams-password-input",r),dir:j??"auto",ref:P,spellCheck:"false",type:"password"}));i.displayName="PasswordInput";try{i.displayName="PasswordInput",i.__docgenInfo={description:"",displayName:"PasswordInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const _={title:"Components/Forms/Password Input",component:i,args:{disabled:!1,invalid:!1},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},a={},s={render:r=>e.jsxs(v,{invalid:r.invalid,children:[e.jsx(h,{htmlFor:"input1",children:"Label"}),e.jsx(b,{id:"description1",size:"small",children:"Omschrijving."}),r.invalid&&e.jsx(f,{id:"error1",children:"Foutmelding."}),e.jsx(i,{"aria-describedby":`description1${r.invalid?" error1":""}`,id:"input1",...r})]})},d={args:{invalid:!0},render:r=>e.jsxs(v,{invalid:r.invalid,children:[e.jsx(h,{htmlFor:"input2",children:"Label"}),e.jsx(b,{id:"description2",size:"small",children:"Omschrijving."}),r.invalid&&e.jsx(f,{id:"error2",children:"Foutmelding."}),e.jsx(i,{"aria-describedby":`description2${r.invalid?" error2":""}`,id:"input2",...r})]})};var o,n,t;a.parameters={...a.parameters,docs:{...(o=a.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(t=(n=a.parameters)==null?void 0:n.docs)==null?void 0:t.source}}};var l,p,c;s.parameters={...s.parameters,docs:{...(l=s.parameters)==null?void 0:l.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{e as v,f as h,P as b,E as f}from"./index.esm-DEmhLKYr.js";import{c as y}from"./clsx-B-dksMZM.js";import{r as I}from"./index-B-o1Wr-g.js";const i=I.forwardRef(({className:r,dir:j,invalid:F,...x},P)=>e.jsx("input",{...x,"aria-invalid":F||void 0,autoCorrect:"off",className:y("ams-password-input",r),dir:j??"auto",ref:P,spellCheck:"false",type:"password"}));i.displayName="PasswordInput";try{i.displayName="PasswordInput",i.__docgenInfo={description:"",displayName:"PasswordInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const _={title:"Components/Forms/Password Input",component:i,args:{disabled:!1,invalid:!1},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},a={},s={render:r=>e.jsxs(v,{invalid:r.invalid,children:[e.jsx(h,{htmlFor:"input1",children:"Label"}),e.jsx(b,{id:"description1",size:"small",children:"Omschrijving."}),r.invalid&&e.jsx(f,{id:"error1",children:"Foutmelding."}),e.jsx(i,{"aria-describedby":`description1${r.invalid?" error1":""}`,id:"input1",...r})]})},d={args:{invalid:!0},render:r=>e.jsxs(v,{invalid:r.invalid,children:[e.jsx(h,{htmlFor:"input2",children:"Label"}),e.jsx(b,{id:"description2",size:"small",children:"Omschrijving."}),r.invalid&&e.jsx(f,{id:"error2",children:"Foutmelding."}),e.jsx(i,{"aria-describedby":`description2${r.invalid?" error2":""}`,id:"input2",...r})]})};var o,n,t;a.parameters={...a.parameters,docs:{...(o=a.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(t=(n=a.parameters)==null?void 0:n.docs)==null?void 0:t.source}}};var l,p,c;s.parameters={...s.parameters,docs:{...(l=s.parameters)==null?void 0:l.docs,source:{originalSource:`{ render: args => diff --git a/demo-1732-error-on-icon-prop/assets/Radio.docs-CV-N2UkB.js b/demo-1732-error-on-icon-prop/assets/Radio.docs-BbhSzyrT.js similarity index 93% rename from demo-1732-error-on-icon-prop/assets/Radio.docs-CV-N2UkB.js rename to demo-1732-error-on-icon-prop/assets/Radio.docs-BbhSzyrT.js index f2589cd8f4..9b34fee051 100644 --- a/demo-1732-error-on-icon-prop/assets/Radio.docs-CV-N2UkB.js +++ b/demo-1732-error-on-icon-prop/assets/Radio.docs-BbhSzyrT.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as a,aq as r,ar as d,as as c,at as i}from"./index-fGKZZBv1.js";import{R as l,I as h,a as m,W as p}from"./Radio.stories-CrYAC0gY.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const u=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as a,aq as r,ar as d,as as c,at as i}from"./index-Cnpsjyel.js";import{R as l,I as h,a as m,W as p}from"./Radio.stories-B1eLtVrD.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const u=` # Radio diff --git a/demo-1732-error-on-icon-prop/assets/Radio.stories-CrYAC0gY.js b/demo-1732-error-on-icon-prop/assets/Radio.stories-B1eLtVrD.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Radio.stories-CrYAC0gY.js rename to demo-1732-error-on-icon-prop/assets/Radio.stories-B1eLtVrD.js index c2fe8b89ec..99079a219d 100644 --- a/demo-1732-error-on-icon-prop/assets/Radio.stories-CrYAC0gY.js +++ b/demo-1732-error-on-icon-prop/assets/Radio.stories-B1eLtVrD.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{F as I,P as N,E as w,C as S}from"./index.esm-jyjgLnxG.js";import{l as A}from"./index.esm-DoGgRjwu.js";import{c as W}from"./clsx-B-dksMZM.js";import{r as u}from"./index-B-o1Wr-g.js";const r=u.forwardRef(({children:a,className:l,icon:n,invalid:t,...E},k)=>{const m=u.useId();return e.jsxs("div",{className:W("ams-radio",l),children:[e.jsx("input",{...E,"aria-invalid":t||void 0,className:"ams-radio__input",id:m,ref:k,type:"radio"}),e.jsxs("label",{className:"ams-radio__label",htmlFor:m,children:[e.jsx("span",{className:"ams-radio__icon-container",children:n??e.jsx(A,{})}),a]})]})});r.displayName="Radio";try{r.displayName="Radio",r.__docgenInfo={description:"",displayName:"Radio",props:{icon:{defaultValue:null,description:"An icon to display instead of the default icon.",name:"icon",required:!1,type:{name:"ReactNode"}},invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const c=a=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32","aria-hidden":"true",focusable:"false",...a,children:[e.jsx("path",{className:"ams-radio__circle",d:"M 13.92 20.26 z m -0.1088 4.6456 l -2.336 -2.324 c -4.0904 -3.7048 -5.592 -5.1368 -7.1088 -6.9104 C 2.16 13.0928 1 10.7624 1 8 C 1 4.032 4.232 0.8 8.4 0.8 c 2.012 0 3.9624 0.808 5.4 4 C 15.2368 1.6088 17.1872 0.8 19.2 0.8 C 23.368 0.8 26.6 4.032 26.6 8.2 c 0 2.5624 -1.16 4.8928 -3.3672 7.472 c -1.516 1.7712 -3.0144 3.2 -7.104 6.904 z"}),e.jsx("path",{className:"ams-radio__checked-indicator",d:"M 13.92 20.26 z m -0.1088 4.6456 l -2.336 -2.324 c -4.0904 -3.7048 -5.592 -5.1368 -7.1088 -6.9104 C 2.16 13.0928 1 10.7624 1 8 C 1 4.032 4.232 0.8 8.4 0.8 c 2.012 0 3.9624 0.808 5.4 4 C 15.2368 1.6088 17.1872 0.8 19.2 0.8 C 23.368 0.8 26.6 4.032 26.6 8.2 c 0 2.5624 -1.16 4.8928 -3.3672 7.472 c -1.516 1.7712 -3.0144 3.2 -7.104 6.904 z"})]});try{c.displayName="CustomIcon",c.__docgenInfo={description:"",displayName:"CustomIcon",props:{}}}catch{}const{useArgs:F}=__STORYBOOK_MODULE_PREVIEW_API__,P={title:"Components/Forms/Radio",component:r,args:{checked:!1,children:"Radio label",disabled:!1,invalid:!1},argTypes:{checked:{description:"Whether the control is checked."},children:{description:"The text for the label.",table:{disable:!1}},disabled:{description:"Prevents interaction. Avoid if possible."},icon:{table:{disable:!0}},invalid:{description:"Whether the value fails a validation rule."},onChange:{action:"clicked",table:{disable:!0}}},render:a=>{const[,l]=F(),n=t=>{l({checked:t.target.checked})};return e.jsx(r,{onClick:n,...a})}},s={},i={argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(I,{"aria-describedby":`description1${a?" error1":""}`,invalid:a,legend:"Waar gaat uw melding over?",role:"radiogroup",children:[e.jsx(N,{className:"ams-mb--sm",id:"description1",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(w,{className:"ams-mb--sm",id:"error1",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(S,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})},d={args:{invalid:!0},argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(I,{"aria-describedby":`description2${a?" error2":""}`,invalid:a,legend:"Waar gaat uw melding over?",role:"radiogroup",children:[e.jsx(N,{className:"ams-mb--sm",id:"description2",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(w,{className:"ams-mb--sm",id:"error2",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(S,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})},o={args:{icon:e.jsx(c,{})}};var b,p,g;s.parameters={...s.parameters,docs:{...(b=s.parameters)==null?void 0:b.docs,source:{originalSource:"{}",...(g=(p=s.parameters)==null?void 0:p.docs)==null?void 0:g.source}}};var h,v,f;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{F as I,P as N,E as w,C as S}from"./index.esm-DEmhLKYr.js";import{l as A}from"./index.esm-DoGgRjwu.js";import{c as W}from"./clsx-B-dksMZM.js";import{r as u}from"./index-B-o1Wr-g.js";const r=u.forwardRef(({children:a,className:l,icon:n,invalid:t,...E},k)=>{const m=u.useId();return e.jsxs("div",{className:W("ams-radio",l),children:[e.jsx("input",{...E,"aria-invalid":t||void 0,className:"ams-radio__input",id:m,ref:k,type:"radio"}),e.jsxs("label",{className:"ams-radio__label",htmlFor:m,children:[e.jsx("span",{className:"ams-radio__icon-container",children:n??e.jsx(A,{})}),a]})]})});r.displayName="Radio";try{r.displayName="Radio",r.__docgenInfo={description:"",displayName:"Radio",props:{icon:{defaultValue:null,description:"An icon to display instead of the default icon.",name:"icon",required:!1,type:{name:"ReactNode"}},invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const c=a=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32","aria-hidden":"true",focusable:"false",...a,children:[e.jsx("path",{className:"ams-radio__circle",d:"M 13.92 20.26 z m -0.1088 4.6456 l -2.336 -2.324 c -4.0904 -3.7048 -5.592 -5.1368 -7.1088 -6.9104 C 2.16 13.0928 1 10.7624 1 8 C 1 4.032 4.232 0.8 8.4 0.8 c 2.012 0 3.9624 0.808 5.4 4 C 15.2368 1.6088 17.1872 0.8 19.2 0.8 C 23.368 0.8 26.6 4.032 26.6 8.2 c 0 2.5624 -1.16 4.8928 -3.3672 7.472 c -1.516 1.7712 -3.0144 3.2 -7.104 6.904 z"}),e.jsx("path",{className:"ams-radio__checked-indicator",d:"M 13.92 20.26 z m -0.1088 4.6456 l -2.336 -2.324 c -4.0904 -3.7048 -5.592 -5.1368 -7.1088 -6.9104 C 2.16 13.0928 1 10.7624 1 8 C 1 4.032 4.232 0.8 8.4 0.8 c 2.012 0 3.9624 0.808 5.4 4 C 15.2368 1.6088 17.1872 0.8 19.2 0.8 C 23.368 0.8 26.6 4.032 26.6 8.2 c 0 2.5624 -1.16 4.8928 -3.3672 7.472 c -1.516 1.7712 -3.0144 3.2 -7.104 6.904 z"})]});try{c.displayName="CustomIcon",c.__docgenInfo={description:"",displayName:"CustomIcon",props:{}}}catch{}const{useArgs:F}=__STORYBOOK_MODULE_PREVIEW_API__,P={title:"Components/Forms/Radio",component:r,args:{checked:!1,children:"Radio label",disabled:!1,invalid:!1},argTypes:{checked:{description:"Whether the control is checked."},children:{description:"The text for the label.",table:{disable:!1}},disabled:{description:"Prevents interaction. Avoid if possible."},icon:{table:{disable:!0}},invalid:{description:"Whether the value fails a validation rule."},onChange:{action:"clicked",table:{disable:!0}}},render:a=>{const[,l]=F(),n=t=>{l({checked:t.target.checked})};return e.jsx(r,{onClick:n,...a})}},s={},i={argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(I,{"aria-describedby":`description1${a?" error1":""}`,invalid:a,legend:"Waar gaat uw melding over?",role:"radiogroup",children:[e.jsx(N,{className:"ams-mb--sm",id:"description1",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(w,{className:"ams-mb--sm",id:"error1",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(S,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})},d={args:{invalid:!0},argTypes:{checked:{table:{disable:!0}},children:{table:{disable:!0}},disabled:{table:{disable:!0}}},render:({invalid:a})=>e.jsxs(I,{"aria-describedby":`description2${a?" error2":""}`,invalid:a,legend:"Waar gaat uw melding over?",role:"radiogroup",children:[e.jsx(N,{className:"ams-mb--sm",id:"description2",size:"small",children:"De laatstgenoemde melding."}),a&&e.jsx(w,{className:"ams-mb--sm",id:"error2",children:"Geef aan waar uw laatstgenoemde melding over gaat."}),e.jsxs(S,{gap:"extra-small",children:[e.jsx(r,{invalid:a,name:"about",value:"horeca",children:"Horecabedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"ander_bedrijf",children:"Ander soort bedrijf"}),e.jsx(r,{invalid:a,name:"about",value:"evenement",children:"Evenement"}),e.jsx(r,{invalid:a,name:"about",value:"anders",children:"Iets anders"})]})]})},o={args:{icon:e.jsx(c,{})}};var b,p,g;s.parameters={...s.parameters,docs:{...(b=s.parameters)==null?void 0:b.docs,source:{originalSource:"{}",...(g=(p=s.parameters)==null?void 0:p.docs)==null?void 0:g.source}}};var h,v,f;i.parameters={...i.parameters,docs:{...(h=i.parameters)==null?void 0:h.docs,source:{originalSource:`{ argTypes: { checked: { table: { diff --git a/demo-1732-error-on-icon-prop/assets/Row.docs-Cs4u7zwS.js b/demo-1732-error-on-icon-prop/assets/Row.docs-iIZZ6UuU.js similarity index 93% rename from demo-1732-error-on-icon-prop/assets/Row.docs-Cs4u7zwS.js rename to demo-1732-error-on-icon-prop/assets/Row.docs-iIZZ6UuU.js index 25054d38cd..bd21a9feb8 100644 --- a/demo-1732-error-on-icon-prop/assets/Row.docs-Cs4u7zwS.js +++ b/demo-1732-error-on-icon-prop/assets/Row.docs-iIZZ6UuU.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as l}from"./index-BSj771as.js";import{ae as o,aq as r,ar as a,as as h,at as t}from"./index-fGKZZBv1.js";import{R as d,A as c,E as p,a as g,b as x,V as m,W as j}from"./Row.stories-ojCqU-H2.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./layout-B5YJ6HHW.js";const f=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as l}from"./index-BSj771as.js";import{ae as o,aq as r,ar as a,as as h,at as t}from"./index-Cnpsjyel.js";import{R as d,A as c,E as p,a as g,b as x,V as m,W as j}from"./Row.stories-4bDVg473.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./layout-B5YJ6HHW.js";const f=` # Row diff --git a/demo-1732-error-on-icon-prop/assets/Row.stories-ojCqU-H2.js b/demo-1732-error-on-icon-prop/assets/Row.stories-4bDVg473.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Row.stories-ojCqU-H2.js rename to demo-1732-error-on-icon-prop/assets/Row.stories-4bDVg473.js index 7535f46b6d..d4a5d4bc39 100644 --- a/demo-1732-error-on-icon-prop/assets/Row.stories-ojCqU-H2.js +++ b/demo-1732-error-on-icon-prop/assets/Row.stories-4bDVg473.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{j as $,H as z,L as D}from"./index.esm-jyjgLnxG.js";import{m as I,a as M}from"./layout-B5YJ6HHW.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as F}from"./index-B-o1Wr-g.js";const c=F.forwardRef(({align:a,alignVertical:m,as:L="div",children:q,className:C,gap:d,wrap:H,...B},W)=>e.jsx(L,{...B,ref:W,className:P("ams-row",a&&`ams-row--align-${a}`,m&&`ams-row--align-vertical-${m}`,d&&`ams-row--gap-${d}`,H&&"ams-row--wrap",C),children:q}));c.displayName="Row";try{c.displayName="Row",c.__docgenInfo={description:"",displayName:"Row",props:{align:{defaultValue:{value:"start"},description:"The horizontal alignment of the items in the row.",name:"align",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"between"'},{value:'"around"'},{value:'"evenly"'}]}},alignVertical:{defaultValue:{value:"stretch"},description:"The vertical alignment of the items in the row.",name:"alignVertical",required:!1,type:{name:"enum",value:[{value:'"baseline"'},{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},as:{defaultValue:{value:"div"},description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'}]}},gap:{defaultValue:{value:"medium"},description:"The amount of space between items.",name:"gap",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"small"'},{value:'"large"'},{value:'"extra-small"'},{value:'"extra-large"'}]}},wrap:{defaultValue:{value:"false"},description:"Whether items of the row can wrap onto multiple lines.",name:"wrap",required:!1,type:{name:"boolean"}}}}}catch{}const G=[e.jsx("div",{className:"ams-docs-item"},0),e.jsx("div",{className:"ams-docs-item"},1),e.jsx("div",{className:"ams-docs-item"},2)],J={title:"Components/Layout/Row",component:c,args:{children:G,className:"ams-docs-row"},argTypes:{align:{control:{type:"radio",labels:{undefined:"start"}},options:[void 0,...I]},alignVertical:{control:{type:"radio",labels:{undefined:"stretch"}},options:[void 0,...M]},className:{table:{disable:!0}},gap:{control:{type:"radio",labels:{undefined:"medium"}},options:["none","extra-small","small",void 0,"large","extra-large"]}}},r={},s={args:{align:"evenly"}},n={args:{align:"end",alignVertical:"center",children:e.jsx($,{label:"AB"})}},l={args:{align:"end",dir:"rtl"},argTypes:{dir:{table:{disable:!0}}}},t={args:{align:"between",alignVertical:"baseline",children:[e.jsx(z,{level:3,children:"An example heading"}),e.jsx(D,{href:"#",children:"An example link"})],className:void 0,wrap:!0}},i={args:{alignVertical:"center"}},o={args:{children:Array.from(Array(4).keys()).map(a=>e.jsx("span",{className:"ams-docs-item",style:{flexBasis:"16rem"}},a)),wrap:!0}};var p,u,g;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(g=(u=r.parameters)==null?void 0:u.docs)==null?void 0:g.source}}};var v,f,h;s.parameters={...s.parameters,docs:{...(v=s.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{j as $,H as z,L as D}from"./index.esm-DEmhLKYr.js";import{m as I,a as M}from"./layout-B5YJ6HHW.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as F}from"./index-B-o1Wr-g.js";const c=F.forwardRef(({align:a,alignVertical:m,as:L="div",children:q,className:C,gap:d,wrap:H,...B},W)=>e.jsx(L,{...B,ref:W,className:P("ams-row",a&&`ams-row--align-${a}`,m&&`ams-row--align-vertical-${m}`,d&&`ams-row--gap-${d}`,H&&"ams-row--wrap",C),children:q}));c.displayName="Row";try{c.displayName="Row",c.__docgenInfo={description:"",displayName:"Row",props:{align:{defaultValue:{value:"start"},description:"The horizontal alignment of the items in the row.",name:"align",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"end"'},{value:'"between"'},{value:'"around"'},{value:'"evenly"'}]}},alignVertical:{defaultValue:{value:"stretch"},description:"The vertical alignment of the items in the row.",name:"alignVertical",required:!1,type:{name:"enum",value:[{value:'"baseline"'},{value:'"center"'},{value:'"end"'},{value:'"start"'}]}},as:{defaultValue:{value:"div"},description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'}]}},gap:{defaultValue:{value:"medium"},description:"The amount of space between items.",name:"gap",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"small"'},{value:'"large"'},{value:'"extra-small"'},{value:'"extra-large"'}]}},wrap:{defaultValue:{value:"false"},description:"Whether items of the row can wrap onto multiple lines.",name:"wrap",required:!1,type:{name:"boolean"}}}}}catch{}const G=[e.jsx("div",{className:"ams-docs-item"},0),e.jsx("div",{className:"ams-docs-item"},1),e.jsx("div",{className:"ams-docs-item"},2)],J={title:"Components/Layout/Row",component:c,args:{children:G,className:"ams-docs-row"},argTypes:{align:{control:{type:"radio",labels:{undefined:"start"}},options:[void 0,...I]},alignVertical:{control:{type:"radio",labels:{undefined:"stretch"}},options:[void 0,...M]},className:{table:{disable:!0}},gap:{control:{type:"radio",labels:{undefined:"medium"}},options:["none","extra-small","small",void 0,"large","extra-large"]}}},r={},s={args:{align:"evenly"}},n={args:{align:"end",alignVertical:"center",children:e.jsx($,{label:"AB"})}},l={args:{align:"end",dir:"rtl"},argTypes:{dir:{table:{disable:!0}}}},t={args:{align:"between",alignVertical:"baseline",children:[e.jsx(z,{level:3,children:"An example heading"}),e.jsx(D,{href:"#",children:"An example link"})],className:void 0,wrap:!0}},i={args:{alignVertical:"center"}},o={args:{children:Array.from(Array(4).keys()).map(a=>e.jsx("span",{className:"ams-docs-item",style:{flexBasis:"16rem"}},a)),wrap:!0}};var p,u,g;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(g=(u=r.parameters)==null?void 0:u.docs)==null?void 0:g.source}}};var v,f,h;s.parameters={...s.parameters,docs:{...(v=s.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { align: 'evenly' } diff --git a/demo-1732-error-on-icon-prop/assets/Screen.docs-Ck7uyIjf.js b/demo-1732-error-on-icon-prop/assets/Screen.docs-CLfjYFb0.js similarity index 89% rename from demo-1732-error-on-icon-prop/assets/Screen.docs-Ck7uyIjf.js rename to demo-1732-error-on-icon-prop/assets/Screen.docs-CLfjYFb0.js index 05dc62e0d3..39b3764211 100644 --- a/demo-1732-error-on-icon-prop/assets/Screen.docs-Ck7uyIjf.js +++ b/demo-1732-error-on-icon-prop/assets/Screen.docs-CLfjYFb0.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as i,aq as r,ar as a,as as m,at as c}from"./index-fGKZZBv1.js";import{S as d,E as p}from"./Screen.stories-CAM2F1Py.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Screen-CvK1H_-v.js";import"./clsx-B-dksMZM.js";const h=` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as i,aq as r,ar as a,as as m,at as c}from"./index-Cnpsjyel.js";import{S as d,E as p}from"./Screen.stories-CAM2F1Py.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Screen-CvK1H_-v.js";import"./clsx-B-dksMZM.js";const h=` # Screen diff --git a/demo-1732-error-on-icon-prop/assets/SearchField.docs-BG_MBK3b.js b/demo-1732-error-on-icon-prop/assets/SearchField.docs-DiEyH9Dl.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/SearchField.docs-BG_MBK3b.js rename to demo-1732-error-on-icon-prop/assets/SearchField.docs-DiEyH9Dl.js index a22100dc38..3372ec8a68 100644 --- a/demo-1732-error-on-icon-prop/assets/SearchField.docs-BG_MBK3b.js +++ b/demo-1732-error-on-icon-prop/assets/SearchField.docs-DiEyH9Dl.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as i,aq as s,ar as c,as as h,at as o}from"./index-fGKZZBv1.js";import{S as l,W as u,C as d}from"./SearchField.stories-D19KI_ea.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Icon-D1obyjGa.js";const p=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as i,aq as s,ar as c,as as h,at as o}from"./index-Cnpsjyel.js";import{S as l,W as u,C as d}from"./SearchField.stories-D19KI_ea.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Icon-D1obyjGa.js";const p=` # Search Field diff --git a/demo-1732-error-on-icon-prop/assets/Select.docs-N4OVIZRd.js b/demo-1732-error-on-icon-prop/assets/Select.docs-DQJHkVRK.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/Select.docs-N4OVIZRd.js rename to demo-1732-error-on-icon-prop/assets/Select.docs-DQJHkVRK.js index 47cb08b1c8..c5227e1910 100644 --- a/demo-1732-error-on-icon-prop/assets/Select.docs-N4OVIZRd.js +++ b/demo-1732-error-on-icon-prop/assets/Select.docs-DQJHkVRK.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as r,aq as d,ar as a,as as l,at as i}from"./index-fGKZZBv1.js";import{S as c,G as h,I as m,D as p,a as x,b as j}from"./Select.stories-KTVt-N4X.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const f=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as r,aq as d,ar as a,as as l,at as i}from"./index-Cnpsjyel.js";import{S as c,G as h,I as m,D as p,a as x,b as j}from"./Select.stories-CFZHvQ8a.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const f=` # Select diff --git a/demo-1732-error-on-icon-prop/assets/Select.stories-KTVt-N4X.js b/demo-1732-error-on-icon-prop/assets/Select.stories-CFZHvQ8a.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Select.stories-KTVt-N4X.js rename to demo-1732-error-on-icon-prop/assets/Select.stories-CFZHvQ8a.js index 390eed9c66..42e71667a6 100644 --- a/demo-1732-error-on-icon-prop/assets/Select.stories-KTVt-N4X.js +++ b/demo-1732-error-on-icon-prop/assets/Select.stories-CFZHvQ8a.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{e as P,f as W,P as B,E}from"./index.esm-jyjgLnxG.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as O}from"./index-B-o1Wr-g.js";const I=O.forwardRef(({children:t,className:i,...n},o)=>e.jsx("option",{...n,ref:o,className:u("ams-select__option",i),children:t}));I.displayName="Select.Option";try{Select.Option.displayName="Select.Option",Select.Option.__docgenInfo={description:"",displayName:"Select.Option",props:{}}}catch{}const A=O.forwardRef(({children:t,className:i,...n},o)=>e.jsx("optgroup",{...n,ref:o,className:u("ams-select__group",i),children:t}));A.displayName="Select.Group";try{Select.Group.displayName="Select.Group",Select.Group.__docgenInfo={description:"",displayName:"Select.Group",props:{}}}catch{}const H=O.forwardRef(({children:t,className:i,invalid:n,...o},K)=>e.jsx("select",{...o,"aria-invalid":n||void 0,className:u("ams-select",i),ref:K,children:t}));H.displayName="Select";const r=Object.assign(H,{Option:I,Group:A});try{r.displayName="Select",r.__docgenInfo={description:"",displayName:"Select",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const S=[e.jsx(r.Option,{value:"1",children:"Centrum"},"1"),e.jsx(r.Option,{value:"2",children:"Noord"},"2"),e.jsx(r.Option,{value:"3",children:"West"},"3"),e.jsx(r.Option,{value:"4",disabled:!0,children:"Westpoort"},"4"),e.jsx(r.Option,{value:"5",children:"Nieuw-West"},"6"),e.jsx(r.Option,{value:"6",children:"Zuid"},"7"),e.jsx(r.Option,{value:"7",children:"Zuidoost"},"8")],D={title:"Components/Forms/Select",component:r,args:{invalid:!1,disabled:!1,children:S},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},l={},a={args:{children:[e.jsxs(r.Group,{label:"Burgwallen-Oude Zijde",children:[e.jsx(r.Option,{children:"BG-terrein e.o."}),e.jsx(r.Option,{children:"Burgwallen oost"}),e.jsx(r.Option,{children:"Kop Zeedijk"}),e.jsx(r.Option,{children:"Nes e.o."}),e.jsx(r.Option,{children:"Oude Kerk e.o."})]},"1"),e.jsxs(r.Group,{label:"Burgwallen-Nieuwe Zijde",children:[e.jsx(r.Option,{children:"Begijnhofbuurt"}),e.jsx(r.Option,{children:"Hemelrijk"}),e.jsx(r.Option,{children:"Kalverdriehoek"}),e.jsx(r.Option,{children:"Nieuwe Kerk e.o."}),e.jsx(r.Option,{children:"Nieuwendijk Noord"}),e.jsx(r.Option,{children:"Spuistraat Noord"}),e.jsx(r.Option,{children:"Spuistraat Zuid"}),e.jsx(r.Option,{children:"Stationsplein e.o."})]},"2"),e.jsxs(r.Group,{label:"Grachtengordel-West",children:[e.jsx(r.Option,{children:"Felix Meritisbuurt"}),e.jsx(r.Option,{children:"Langestraat e.o."}),e.jsx(r.Option,{children:"Leidsegracht Noord"}),e.jsx(r.Option,{children:"Leliegracht e.o."})]},"3"),e.jsxs(r.Group,{label:"Haarlemmerbuurt",children:[e.jsx(r.Option,{children:"Haarlemmerbuurt Oost"}),e.jsx(r.Option,{children:"Haarlemmerbuurt West"}),e.jsx(r.Option,{children:"Planciusbuurt Noord"}),e.jsx(r.Option,{children:"Planciusbuurt Zuid"}),e.jsx(r.Option,{children:"Westelijke eilanden"}),e.jsx(r.Option,{children:"Westerdokseiland"})]},"4"),e.jsxs(r.Group,{label:"Jordaan",children:[e.jsx(r.Option,{children:"Anjeliersbuurt Noord"}),e.jsx(r.Option,{children:"Anjeliersbuurt Zuid"}),e.jsx(r.Option,{children:"Bloemgrachtbuurt"}),e.jsx(r.Option,{children:"Driehoekbuurt"}),e.jsx(r.Option,{children:"Elandsgrachtbuurt"}),e.jsx(r.Option,{children:"Groenmarktkadebuurt"}),e.jsx(r.Option,{children:"Marnixbuurt Midden"}),e.jsx(r.Option,{children:"Marnixbuurt Noord"}),e.jsx(r.Option,{children:"Marnixbuurt Zuid"}),e.jsx(r.Option,{children:"Passeerdersgrachtbuurt"}),e.jsx(r.Option,{children:"Zaagpoortbuurt"})]},"5")]}},s={args:{invalid:!0}},c={args:{disabled:!0}},d={render:t=>e.jsxs(P,{invalid:t.invalid,children:[e.jsx(W,{htmlFor:"input1",children:"Label"}),e.jsx(B,{id:"description1",size:"small",children:"Omschrijving."}),t.invalid&&e.jsx(E,{id:"error1",children:"Foutmelding."}),e.jsx(r,{"aria-describedby":`description1${t.invalid?" error1":""}`,id:"input1",...t,children:S})]})},p={args:{invalid:!0},render:t=>e.jsxs(P,{invalid:t.invalid,children:[e.jsx(W,{htmlFor:"input2",children:"Label"}),e.jsx(B,{id:"description2",size:"small",children:"Omschrijving."}),t.invalid&&e.jsx(E,{id:"error2",children:"Foutmelding."}),e.jsx(r,{"aria-describedby":`description2${t.invalid?" error2":""}`,id:"input2",...t,children:S})]})};var h,m,j;l.parameters={...l.parameters,docs:{...(h=l.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(j=(m=l.parameters)==null?void 0:m.docs)==null?void 0:j.source}}};var b,g,x;a.parameters={...a.parameters,docs:{...(b=a.parameters)==null?void 0:b.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{e as P,f as W,P as B,E}from"./index.esm-DEmhLKYr.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as O}from"./index-B-o1Wr-g.js";const I=O.forwardRef(({children:t,className:i,...n},o)=>e.jsx("option",{...n,ref:o,className:u("ams-select__option",i),children:t}));I.displayName="Select.Option";try{Select.Option.displayName="Select.Option",Select.Option.__docgenInfo={description:"",displayName:"Select.Option",props:{}}}catch{}const A=O.forwardRef(({children:t,className:i,...n},o)=>e.jsx("optgroup",{...n,ref:o,className:u("ams-select__group",i),children:t}));A.displayName="Select.Group";try{Select.Group.displayName="Select.Group",Select.Group.__docgenInfo={description:"",displayName:"Select.Group",props:{}}}catch{}const H=O.forwardRef(({children:t,className:i,invalid:n,...o},K)=>e.jsx("select",{...o,"aria-invalid":n||void 0,className:u("ams-select",i),ref:K,children:t}));H.displayName="Select";const r=Object.assign(H,{Option:I,Group:A});try{r.displayName="Select",r.__docgenInfo={description:"",displayName:"Select",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const S=[e.jsx(r.Option,{value:"1",children:"Centrum"},"1"),e.jsx(r.Option,{value:"2",children:"Noord"},"2"),e.jsx(r.Option,{value:"3",children:"West"},"3"),e.jsx(r.Option,{value:"4",disabled:!0,children:"Westpoort"},"4"),e.jsx(r.Option,{value:"5",children:"Nieuw-West"},"6"),e.jsx(r.Option,{value:"6",children:"Zuid"},"7"),e.jsx(r.Option,{value:"7",children:"Zuidoost"},"8")],D={title:"Components/Forms/Select",component:r,args:{invalid:!1,disabled:!1,children:S},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},l={},a={args:{children:[e.jsxs(r.Group,{label:"Burgwallen-Oude Zijde",children:[e.jsx(r.Option,{children:"BG-terrein e.o."}),e.jsx(r.Option,{children:"Burgwallen oost"}),e.jsx(r.Option,{children:"Kop Zeedijk"}),e.jsx(r.Option,{children:"Nes e.o."}),e.jsx(r.Option,{children:"Oude Kerk e.o."})]},"1"),e.jsxs(r.Group,{label:"Burgwallen-Nieuwe Zijde",children:[e.jsx(r.Option,{children:"Begijnhofbuurt"}),e.jsx(r.Option,{children:"Hemelrijk"}),e.jsx(r.Option,{children:"Kalverdriehoek"}),e.jsx(r.Option,{children:"Nieuwe Kerk e.o."}),e.jsx(r.Option,{children:"Nieuwendijk Noord"}),e.jsx(r.Option,{children:"Spuistraat Noord"}),e.jsx(r.Option,{children:"Spuistraat Zuid"}),e.jsx(r.Option,{children:"Stationsplein e.o."})]},"2"),e.jsxs(r.Group,{label:"Grachtengordel-West",children:[e.jsx(r.Option,{children:"Felix Meritisbuurt"}),e.jsx(r.Option,{children:"Langestraat e.o."}),e.jsx(r.Option,{children:"Leidsegracht Noord"}),e.jsx(r.Option,{children:"Leliegracht e.o."})]},"3"),e.jsxs(r.Group,{label:"Haarlemmerbuurt",children:[e.jsx(r.Option,{children:"Haarlemmerbuurt Oost"}),e.jsx(r.Option,{children:"Haarlemmerbuurt West"}),e.jsx(r.Option,{children:"Planciusbuurt Noord"}),e.jsx(r.Option,{children:"Planciusbuurt Zuid"}),e.jsx(r.Option,{children:"Westelijke eilanden"}),e.jsx(r.Option,{children:"Westerdokseiland"})]},"4"),e.jsxs(r.Group,{label:"Jordaan",children:[e.jsx(r.Option,{children:"Anjeliersbuurt Noord"}),e.jsx(r.Option,{children:"Anjeliersbuurt Zuid"}),e.jsx(r.Option,{children:"Bloemgrachtbuurt"}),e.jsx(r.Option,{children:"Driehoekbuurt"}),e.jsx(r.Option,{children:"Elandsgrachtbuurt"}),e.jsx(r.Option,{children:"Groenmarktkadebuurt"}),e.jsx(r.Option,{children:"Marnixbuurt Midden"}),e.jsx(r.Option,{children:"Marnixbuurt Noord"}),e.jsx(r.Option,{children:"Marnixbuurt Zuid"}),e.jsx(r.Option,{children:"Passeerdersgrachtbuurt"}),e.jsx(r.Option,{children:"Zaagpoortbuurt"})]},"5")]}},s={args:{invalid:!0}},c={args:{disabled:!0}},d={render:t=>e.jsxs(P,{invalid:t.invalid,children:[e.jsx(W,{htmlFor:"input1",children:"Label"}),e.jsx(B,{id:"description1",size:"small",children:"Omschrijving."}),t.invalid&&e.jsx(E,{id:"error1",children:"Foutmelding."}),e.jsx(r,{"aria-describedby":`description1${t.invalid?" error1":""}`,id:"input1",...t,children:S})]})},p={args:{invalid:!0},render:t=>e.jsxs(P,{invalid:t.invalid,children:[e.jsx(W,{htmlFor:"input2",children:"Label"}),e.jsx(B,{id:"description2",size:"small",children:"Omschrijving."}),t.invalid&&e.jsx(E,{id:"error2",children:"Foutmelding."}),e.jsx(r,{"aria-describedby":`description2${t.invalid?" error2":""}`,id:"input2",...t,children:S})]})};var h,m,j;l.parameters={...l.parameters,docs:{...(h=l.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(j=(m=l.parameters)==null?void 0:m.docs)==null?void 0:j.source}}};var b,g,x;a.parameters={...a.parameters,docs:{...(b=a.parameters)==null?void 0:b.docs,source:{originalSource:`{ args: { children: [ BG-terrein e.o. diff --git a/demo-1732-error-on-icon-prop/assets/SkipLink.docs-CZse-pqn.js b/demo-1732-error-on-icon-prop/assets/SkipLink.docs-D7ChMy2U.js similarity index 89% rename from demo-1732-error-on-icon-prop/assets/SkipLink.docs-CZse-pqn.js rename to demo-1732-error-on-icon-prop/assets/SkipLink.docs-D7ChMy2U.js index 82b5e23c0a..1a0271b4cd 100644 --- a/demo-1732-error-on-icon-prop/assets/SkipLink.docs-CZse-pqn.js +++ b/demo-1732-error-on-icon-prop/assets/SkipLink.docs-D7ChMy2U.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as a}from"./index-BSj771as.js";import{ae as s,aq as r,ar as p,as as l,at as t}from"./index-fGKZZBv1.js";import{S as h,O as c,M as m}from"./SkipLink.stories-APFfIDLa.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const k=` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as a}from"./index-BSj771as.js";import{ae as s,aq as r,ar as p,as as l,at as t}from"./index-Cnpsjyel.js";import{S as h,O as c,M as m}from"./SkipLink.stories-Bu61bRPF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const k=` # Skip Link diff --git a/demo-1732-error-on-icon-prop/assets/SkipLink.stories-APFfIDLa.js b/demo-1732-error-on-icon-prop/assets/SkipLink.stories-Bu61bRPF.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/SkipLink.stories-APFfIDLa.js rename to demo-1732-error-on-icon-prop/assets/SkipLink.stories-Bu61bRPF.js index d64d569912..ac924a1776 100644 --- a/demo-1732-error-on-icon-prop/assets/SkipLink.stories-APFfIDLa.js +++ b/demo-1732-error-on-icon-prop/assets/SkipLink.stories-Bu61bRPF.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{S as x,G as o,P as u}from"./index.esm-jyjgLnxG.js";import{c as j}from"./clsx-B-dksMZM.js";import{r as v}from"./index-B-o1Wr-g.js";const r=v.forwardRef(({children:i,className:S,...f},y)=>e.jsx("a",{...f,ref:y,className:j("ams-skip-link","ams-visually-hidden",S),children:i}));r.displayName="SkipLink";try{r.displayName="SkipLink",r.__docgenInfo={description:"",displayName:"SkipLink",props:{}}}catch{}const L={title:"Components/Navigation/Skip Link",component:r,args:{children:"Direct naar inhoud",href:"#"},argTypes:{children:{description:"The text to attach the link to.",table:{disable:!1}},href:{description:"The url for the link. References an anchor on the current page."},style:{table:{disable:!0}}},decorators:[i=>e.jsx(x,{children:e.jsx(o,{children:e.jsx(o.Cell,{span:"all",children:e.jsx(i,{})})})})]},t={args:{style:{clip:"initial",clipPath:"initial",height:"initial",overflow:"initial",position:"initial",whiteSpace:"initial",width:"initial"}}},a={decorators:[i=>e.jsxs(e.Fragment,{children:[e.jsx(u,{size:"small",style:{marginBottom:"2rem"},children:"Klik op deze tekst en druk vervolgens op tab om de Skip Link te tonen."}),e.jsx(i,{})]})]},n={render:()=>e.jsxs(e.Fragment,{children:[e.jsx(u,{size:"small",style:{marginBottom:"2rem"},children:"Klik op deze tekst en druk vervolgens twee keer op tab om de Skip Links te tonen."}),e.jsx(r,{href:"#",children:"Direct naar inhoud"}),e.jsx(r,{href:"#",children:"Direct naar contactgegevens"})]})};var s,l,c;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{S as x,G as o,P as u}from"./index.esm-DEmhLKYr.js";import{c as j}from"./clsx-B-dksMZM.js";import{r as v}from"./index-B-o1Wr-g.js";const r=v.forwardRef(({children:i,className:S,...f},y)=>e.jsx("a",{...f,ref:y,className:j("ams-skip-link","ams-visually-hidden",S),children:i}));r.displayName="SkipLink";try{r.displayName="SkipLink",r.__docgenInfo={description:"",displayName:"SkipLink",props:{}}}catch{}const L={title:"Components/Navigation/Skip Link",component:r,args:{children:"Direct naar inhoud",href:"#"},argTypes:{children:{description:"The text to attach the link to.",table:{disable:!1}},href:{description:"The url for the link. References an anchor on the current page."},style:{table:{disable:!0}}},decorators:[i=>e.jsx(x,{children:e.jsx(o,{children:e.jsx(o.Cell,{span:"all",children:e.jsx(i,{})})})})]},t={args:{style:{clip:"initial",clipPath:"initial",height:"initial",overflow:"initial",position:"initial",whiteSpace:"initial",width:"initial"}}},a={decorators:[i=>e.jsxs(e.Fragment,{children:[e.jsx(u,{size:"small",style:{marginBottom:"2rem"},children:"Klik op deze tekst en druk vervolgens op tab om de Skip Link te tonen."}),e.jsx(i,{})]})]},n={render:()=>e.jsxs(e.Fragment,{children:[e.jsx(u,{size:"small",style:{marginBottom:"2rem"},children:"Klik op deze tekst en druk vervolgens twee keer op tab om de Skip Links te tonen."}),e.jsx(r,{href:"#",children:"Direct naar inhoud"}),e.jsx(r,{href:"#",children:"Direct naar contactgegevens"})]})};var s,l,c;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`{ args: { // This resets the default behaviour of only showing the link // on focus, in order to always show the link in Storybook diff --git a/demo-1732-error-on-icon-prop/assets/Spotlight.docs-B2eyHfDX.js b/demo-1732-error-on-icon-prop/assets/Spotlight.docs-CbT1KXre.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/Spotlight.docs-B2eyHfDX.js rename to demo-1732-error-on-icon-prop/assets/Spotlight.docs-CbT1KXre.js index 29008c0292..49fbbde997 100644 --- a/demo-1732-error-on-icon-prop/assets/Spotlight.docs-B2eyHfDX.js +++ b/demo-1732-error-on-icon-prop/assets/Spotlight.docs-CbT1KXre.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as a,aq as i,ar as c,as as l,at as t}from"./index-fGKZZBv1.js";import{S as d,B as m,D as h,a as p,G as x,M as u,O as j,P as f,Y as g,I as w}from"./Spotlight.stories-AUa6q2Kg.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./exampleContent-hIIPvEhU.js";import"./Spotlight-iwYL-F79.js";const k=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as a,aq as i,ar as c,as as l,at as t}from"./index-Cnpsjyel.js";import{S as d,B as m,D as h,a as p,G as x,M as u,O as j,P as f,Y as g,I as w}from"./Spotlight.stories-B-Mevme7.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./exampleContent-hIIPvEhU.js";import"./Spotlight-iwYL-F79.js";const k=` # Spotlight diff --git a/demo-1732-error-on-icon-prop/assets/Spotlight.stories-AUa6q2Kg.js b/demo-1732-error-on-icon-prop/assets/Spotlight.stories-B-Mevme7.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Spotlight.stories-AUa6q2Kg.js rename to demo-1732-error-on-icon-prop/assets/Spotlight.stories-B-Mevme7.js index 54aa258e53..b9dcac5ae6 100644 --- a/demo-1732-error-on-icon-prop/assets/Spotlight.stories-AUa6q2Kg.js +++ b/demo-1732-error-on-icon-prop/assets/Spotlight.stories-B-Mevme7.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{S as J,G as i,B as K}from"./index.esm-jyjgLnxG.js";import{c as L}from"./exampleContent-hIIPvEhU.js";import{S as g}from"./Spotlight-iwYL-F79.js";const N=L(),U={title:"Components/Containers/Spotlight",component:g,decorators:[u=>r.jsx(J,{children:r.jsx(u,{})})],render:({as:u,color:d})=>r.jsx(g,{as:u,color:d,children:r.jsx(i,{paddingVertical:"medium",children:r.jsx(i.Cell,{span:"all",children:r.jsx(K,{inverseColor:!d||!["green","yellow"].includes(d),children:N})})})})},e={},a={args:{color:"blue"}},s={args:{color:"dark-blue"}},o={args:{color:"dark-green"}},c={args:{color:"green"}},n={args:{color:"magenta"}},t={args:{color:"orange"}},l={args:{color:"purple"}},p={args:{color:"yellow"}},m={args:{as:"section"}};var S,x,j;e.parameters={...e.parameters,docs:{...(S=e.parameters)==null?void 0:S.docs,source:{originalSource:"{}",...(j=(x=e.parameters)==null?void 0:x.docs)==null?void 0:j.source}}};var f,k,h;a.parameters={...a.parameters,docs:{...(f=a.parameters)==null?void 0:f.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{S as J,G as i,B as K}from"./index.esm-DEmhLKYr.js";import{c as L}from"./exampleContent-hIIPvEhU.js";import{S as g}from"./Spotlight-iwYL-F79.js";const N=L(),U={title:"Components/Containers/Spotlight",component:g,decorators:[u=>r.jsx(J,{children:r.jsx(u,{})})],render:({as:u,color:d})=>r.jsx(g,{as:u,color:d,children:r.jsx(i,{paddingVertical:"medium",children:r.jsx(i.Cell,{span:"all",children:r.jsx(K,{inverseColor:!d||!["green","yellow"].includes(d),children:N})})})})},e={},a={args:{color:"blue"}},s={args:{color:"dark-blue"}},o={args:{color:"dark-green"}},c={args:{color:"green"}},n={args:{color:"magenta"}},t={args:{color:"orange"}},l={args:{color:"purple"}},p={args:{color:"yellow"}},m={args:{as:"section"}};var S,x,j;e.parameters={...e.parameters,docs:{...(S=e.parameters)==null?void 0:S.docs,source:{originalSource:"{}",...(j=(x=e.parameters)==null?void 0:x.docs)==null?void 0:j.source}}};var f,k,h;a.parameters={...a.parameters,docs:{...(f=a.parameters)==null?void 0:f.docs,source:{originalSource:`{ args: { color: 'blue' } diff --git a/demo-1732-error-on-icon-prop/assets/Switch.docs-CCdDVgAs.js b/demo-1732-error-on-icon-prop/assets/Switch.docs-B_QMvBvn.js similarity index 84% rename from demo-1732-error-on-icon-prop/assets/Switch.docs-CCdDVgAs.js rename to demo-1732-error-on-icon-prop/assets/Switch.docs-B_QMvBvn.js index 6c9a59bbaf..e592ed54b0 100644 --- a/demo-1732-error-on-icon-prop/assets/Switch.docs-CCdDVgAs.js +++ b/demo-1732-error-on-icon-prop/assets/Switch.docs-B_QMvBvn.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as o,aq as a,ar as r,as as c,at as l}from"./index-fGKZZBv1.js";import{S as h,W as m}from"./Switch.stories-D4n77XeM.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const p=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as o,aq as a,ar as r,as as c,at as l}from"./index-Cnpsjyel.js";import{S as h,W as m}from"./Switch.stories-CQQNnxz2.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const p=` # Switch diff --git a/demo-1732-error-on-icon-prop/assets/Switch.stories-D4n77XeM.js b/demo-1732-error-on-icon-prop/assets/Switch.stories-CQQNnxz2.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Switch.stories-D4n77XeM.js rename to demo-1732-error-on-icon-prop/assets/Switch.stories-CQQNnxz2.js index b267b8cf62..ceeae0571f 100644 --- a/demo-1732-error-on-icon-prop/assets/Switch.stories-D4n77XeM.js +++ b/demo-1732-error-on-icon-prop/assets/Switch.stories-CQQNnxz2.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{f as b}from"./index.esm-jyjgLnxG.js";import{c as w}from"./clsx-B-dksMZM.js";import{r as n}from"./index-B-o1Wr-g.js";const s=n.forwardRef(({className:t,id:r,...c},a)=>{const l=r||n.useId();return e.jsxs("div",{className:w("ams-switch",t),children:[e.jsx("input",{...c,className:"ams-switch__input",id:l,ref:a,type:"checkbox",role:"switch"}),e.jsx("label",{className:"ams-switch__label",htmlFor:l})]})});s.displayName="Switch";try{s.displayName="Switch",s.__docgenInfo={description:"",displayName:"Switch",props:{}}}catch{}const{useArgs:u}=__STORYBOOK_MODULE_PREVIEW_API__,f={title:"Components/Forms/Switch",component:s,args:{checked:!1,disabled:!1},argTypes:{checked:{description:"Whether the control is initially checked."},disabled:{description:"Prevents interaction. Avoid if possible."},onChange:{action:"clicked",table:{disable:!0}}},render:t=>{const[,r]=u(),c=a=>{r({checked:a.target.checked})};return e.jsx(s,{onClick:c,...t})}},i={},o={decorators:[t=>e.jsx("div",{style:{display:"flex",alignItems:"center",gap:"5rem"},children:e.jsx(t,{})})],render:t=>{const[,r]=u(),c=a=>{r({checked:a.target.checked})};return e.jsxs(e.Fragment,{children:[e.jsx(b,{htmlFor:"switch-with-label",children:"Label"}),e.jsx(s,{onClick:c,...t,id:"switch-with-label"})]})}};var d,h,m;i.parameters={...i.parameters,docs:{...(d=i.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(m=(h=i.parameters)==null?void 0:h.docs)==null?void 0:m.source}}};var p,g,_;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{f as b}from"./index.esm-DEmhLKYr.js";import{c as w}from"./clsx-B-dksMZM.js";import{r as n}from"./index-B-o1Wr-g.js";const s=n.forwardRef(({className:t,id:r,...c},a)=>{const l=r||n.useId();return e.jsxs("div",{className:w("ams-switch",t),children:[e.jsx("input",{...c,className:"ams-switch__input",id:l,ref:a,type:"checkbox",role:"switch"}),e.jsx("label",{className:"ams-switch__label",htmlFor:l})]})});s.displayName="Switch";try{s.displayName="Switch",s.__docgenInfo={description:"",displayName:"Switch",props:{}}}catch{}const{useArgs:u}=__STORYBOOK_MODULE_PREVIEW_API__,f={title:"Components/Forms/Switch",component:s,args:{checked:!1,disabled:!1},argTypes:{checked:{description:"Whether the control is initially checked."},disabled:{description:"Prevents interaction. Avoid if possible."},onChange:{action:"clicked",table:{disable:!0}}},render:t=>{const[,r]=u(),c=a=>{r({checked:a.target.checked})};return e.jsx(s,{onClick:c,...t})}},i={},o={decorators:[t=>e.jsx("div",{style:{display:"flex",alignItems:"center",gap:"5rem"},children:e.jsx(t,{})})],render:t=>{const[,r]=u(),c=a=>{r({checked:a.target.checked})};return e.jsxs(e.Fragment,{children:[e.jsx(b,{htmlFor:"switch-with-label",children:"Label"}),e.jsx(s,{onClick:c,...t,id:"switch-with-label"})]})}};var d,h,m;i.parameters={...i.parameters,docs:{...(d=i.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(m=(h=i.parameters)==null?void 0:h.docs)==null?void 0:m.source}}};var p,g,_;o.parameters={...o.parameters,docs:{...(p=o.parameters)==null?void 0:p.docs,source:{originalSource:`{ decorators: [Story =>
+import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as a,aq as r,ar as i,at as d}from"./index-Cnpsjyel.js";import{T as m,W as l}from"./Table.stories-BhkPPk6Y.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const c=` # Table diff --git a/demo-1732-error-on-icon-prop/assets/TableOfContents.docs-DWEGdj8s.js b/demo-1732-error-on-icon-prop/assets/TableOfContents.docs-CFEKQbKH.js similarity index 89% rename from demo-1732-error-on-icon-prop/assets/TableOfContents.docs-DWEGdj8s.js rename to demo-1732-error-on-icon-prop/assets/TableOfContents.docs-CFEKQbKH.js index 5af6bd244a..b74029679e 100644 --- a/demo-1732-error-on-icon-prop/assets/TableOfContents.docs-DWEGdj8s.js +++ b/demo-1732-error-on-icon-prop/assets/TableOfContents.docs-CFEKQbKH.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as i,ar as a,as as m,at as l}from"./index-fGKZZBv1.js";import{T as p,M as c}from"./TableOfContents.stories-CDYIQLGg.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";const x=` +import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as r,aq as i,ar as a,as as m,at as l}from"./index-Cnpsjyel.js";import{T as p,M as c}from"./TableOfContents.stories-CDYIQLGg.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Heading-BMR-3CH3.js";import"./getHeadingTag-Dv1eMqvl.js";const x=` # Table of Contents diff --git a/demo-1732-error-on-icon-prop/assets/Tabs.docs-CSrwkQSo.js b/demo-1732-error-on-icon-prop/assets/Tabs.docs-C3aCGWQ9.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/Tabs.docs-CSrwkQSo.js rename to demo-1732-error-on-icon-prop/assets/Tabs.docs-C3aCGWQ9.js index 5dd9dfaf97..b7c348a772 100644 --- a/demo-1732-error-on-icon-prop/assets/Tabs.docs-CSrwkQSo.js +++ b/demo-1732-error-on-icon-prop/assets/Tabs.docs-C3aCGWQ9.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as i,ar as r,at as h}from"./index-fGKZZBv1.js";import{T as c,W as l}from"./Tabs.stories-F6OKHLJp.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./exampleContent-hIIPvEhU.js";import"./useKeyboardFocus-CRUFsA_C.js";const p=` +import{j as t}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as s,aq as i,ar as r,at as h}from"./index-Cnpsjyel.js";import{T as c,W as l}from"./Tabs.stories-CvAtSKKj.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./exampleContent-hIIPvEhU.js";import"./useKeyboardFocus-CRUFsA_C.js";const p=` # Tabs diff --git a/demo-1732-error-on-icon-prop/assets/Tabs.stories-F6OKHLJp.js b/demo-1732-error-on-icon-prop/assets/Tabs.stories-CvAtSKKj.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Tabs.stories-F6OKHLJp.js rename to demo-1732-error-on-icon-prop/assets/Tabs.stories-CvAtSKKj.js index e31345da09..211abf9c7c 100644 --- a/demo-1732-error-on-icon-prop/assets/Tabs.stories-F6OKHLJp.js +++ b/demo-1732-error-on-icon-prop/assets/Tabs.stories-CvAtSKKj.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{H as B,P as S}from"./index.esm-jyjgLnxG.js";import{b as _}from"./exampleContent-hIIPvEhU.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as s}from"./index-B-o1Wr-g.js";import{u as D}from"./useKeyboardFocus-CRUFsA_C.js";/** +import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{H as B,P as S}from"./index.esm-DEmhLKYr.js";import{b as _}from"./exampleContent-hIIPvEhU.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as s}from"./index-B-o1Wr-g.js";import{u as D}from"./useKeyboardFocus-CRUFsA_C.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const O={activeTab:0,tabsId:"",updateTab:()=>{}},x=s.createContext(O),L=s.forwardRef(({children:e,className:a,tab:t=0,...o},c)=>{const{activeTab:i,tabsId:n,updateTab:m}=s.useContext(x);return r.jsx("button",{...o,"aria-controls":`${n}-panel-${t}`,"aria-selected":i===t,className:u("ams-tabs__button",a),id:`${n}-tab-${t}`,onClick:()=>{s.startTransition(()=>{m(t)})},ref:c,role:"tab",tabIndex:i===t?0:-1,children:e})});L.displayName="Tabs.Button";try{Tabs.Button.displayName="Tabs.Button",Tabs.Button.__docgenInfo={description:"",displayName:"Tabs.Button",props:{tab:{defaultValue:{value:"0"},description:"An identifier.",name:"tab",required:!1,type:{name:"number"}}}}}catch{}const w=s.forwardRef(({children:e,className:a,...t},o)=>r.jsx("div",{...t,role:"tablist",ref:o,className:u("ams-tabs__list",a),children:e}));w.displayName="Tabs.List";try{Tabs.List.displayName="Tabs.List",Tabs.List.__docgenInfo={description:"",displayName:"Tabs.List",props:{}}}catch{}const C=s.forwardRef(({tab:e,children:a,className:t,...o},c)=>{const{activeTab:i,tabsId:n}=s.useContext(x);return e!==i?null:r.jsx("div",{...o,role:"tabpanel","aria-labelledby":`${n}-tab-${e}`,id:`${n}-panel-${e}`,tabIndex:0,ref:c,className:u("ams-tabs__panel",t),children:a})});C.displayName="Tabs.Panel";try{Tabs.Panel.displayName="Tabs.Panel",Tabs.Panel.__docgenInfo={description:"",displayName:"Tabs.Panel",props:{tab:{defaultValue:null,description:"The identifier of the corresponding Tab.",name:"tab",required:!0,type:{name:"number"}}}}}catch{}const $=s.forwardRef(({activeTab:e,children:a,className:t,...o},c)=>{const i=s.useId(),n=s.useRef(null),[m,p]=s.useState(0),f=s.useMemo(()=>Array.isArray(a)?a[0].props.children.map(T=>T):[],[a]);s.useEffect(()=>{typeof e=="number"&&Number.isInteger(e)&&(e<0?p(0):e>f.length-1?p(f.length-1):p(e))},[e,f]);const A=T=>{p(T)};s.useImperativeHandle(c,()=>n.current);const{keyDown:R}=D(n,{rotating:!0,horizontally:!0});return r.jsx(x.Provider,{value:{activeTab:m,updateTab:A,tabsId:i},children:r.jsx("div",{...o,role:"tabs",ref:n,onKeyDown:R,className:u("ams-tabs",t),children:a})})});$.displayName="Tabs";const l=Object.assign($,{Button:L,List:w,Panel:C});try{l.displayName="Tabs",l.__docgenInfo={description:"",displayName:"Tabs",props:{activeTab:{defaultValue:null,description:"The number of the active tab. Corresponds to its `tab` value.",name:"activeTab",required:!1,type:{name:"number"}}}}}catch{}const y=1e3,E=({children:e})=>{console.log(`[ARTIFICIALLY SLOW] Adding a ${y}ms delay…`);let a=performance.now();for(;performance.now()-ar.jsx(l.Button,{tab:e,children:a},a))},"tabsList"),g.map(({id:e,body:a,label:t})=>r.jsxs(l.Panel,{tab:e,children:[r.jsx(B,{level:3,children:t}),r.jsx(S,{children:a})]},t))],W={title:"Components/Containers/Tabs",component:l,args:{children:V},argTypes:{activeTab:{control:{type:"number",min:0,max:g.length-1}}}},d={},b={args:{activeTab:3}};var h,I,v;d.parameters={...d.parameters,docs:{...(h=d.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(v=(I=d.parameters)==null?void 0:I.docs)==null?void 0:v.source}}};var j,N,P;b.parameters={...b.parameters,docs:{...(j=b.parameters)==null?void 0:j.docs,source:{originalSource:`{ diff --git a/demo-1732-error-on-icon-prop/assets/TextArea.docs-BBLUHu2o.js b/demo-1732-error-on-icon-prop/assets/TextArea.docs-BQa28DZ_.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/TextArea.docs-BBLUHu2o.js rename to demo-1732-error-on-icon-prop/assets/TextArea.docs-BQa28DZ_.js index f99938e4dc..99c319cd0b 100644 --- a/demo-1732-error-on-icon-prop/assets/TextArea.docs-BBLUHu2o.js +++ b/demo-1732-error-on-icon-prop/assets/TextArea.docs-BQa28DZ_.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as r,aq as a,ar as d,as as l,at as i}from"./index-fGKZZBv1.js";import{T as h,V as c,H as m,N as x,I as p,D as f,a as j,b as u}from"./TextArea.stories-ClW0Ydtr.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./exampleContent-hIIPvEhU.js";const b=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as r,aq as a,ar as d,as as l,at as i}from"./index-Cnpsjyel.js";import{T as h,V as c,H as m,N as x,I as p,D as f,a as j,b as u}from"./TextArea.stories-B1oEHz84.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./exampleContent-hIIPvEhU.js";const b=` # TextArea diff --git a/demo-1732-error-on-icon-prop/assets/TextArea.stories-ClW0Ydtr.js b/demo-1732-error-on-icon-prop/assets/TextArea.stories-B1oEHz84.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/TextArea.stories-ClW0Ydtr.js rename to demo-1732-error-on-icon-prop/assets/TextArea.stories-B1oEHz84.js index d33115bb39..00e629d41d 100644 --- a/demo-1732-error-on-icon-prop/assets/TextArea.stories-ClW0Ydtr.js +++ b/demo-1732-error-on-icon-prop/assets/TextArea.stories-B1oEHz84.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{e as w,f as D,P as $,E as H}from"./index.esm-jyjgLnxG.js";import{b as k}from"./exampleContent-hIIPvEhU.js";import{c as B}from"./clsx-B-dksMZM.js";import{r as G}from"./index-B-o1Wr-g.js";const a=G.forwardRef(({className:e,dir:W,invalid:q,resize:p,...m},C)=>r.jsx("textarea",{...m,"aria-invalid":q||void 0,className:B("ams-text-area",p&&`ams-text-area--resize-${p}`,m.cols&&"ams-text-area--cols",e),dir:W??"auto",ref:C}));a.displayName="TextArea";try{a.displayName="TextArea",a.__docgenInfo={description:"",displayName:"TextArea",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},resize:{defaultValue:null,description:"Allows the user to resize the text box. The default is resizing in both directions.",name:"resize",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"horizontal"'},{value:'"vertical"'}]}}}}}catch{}const J=k(),K={title:"Components/Forms/Text Area",component:a,args:{defaultValue:J,disabled:!1,invalid:!1},argTypes:{cols:{control:{type:"number"},description:"The width, expressed in the average number of characters."},defaultValue:{table:{disable:!0}},disabled:{description:"Prevents interaction. Avoid if possible."},resize:{control:{type:"radio",labels:{undefined:"default",none:"none",horizontal:"horizontal",vertical:"vertical"}},options:[void 0,"none","horizontal","vertical"]},rows:{control:{type:"number"},description:"The number of lines to show"}}},i={},s={args:{resize:"vertical"}},o={args:{resize:"horizontal"}},t={args:{resize:"none"}},n={args:{invalid:!0}},l={args:{disabled:!0}},d={render:e=>r.jsxs(w,{invalid:e.invalid,children:[r.jsx(D,{htmlFor:"input1",children:"Label"}),r.jsx($,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(H,{id:"error1",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},c={args:{invalid:!0},render:e=>r.jsxs(w,{invalid:e.invalid,children:[r.jsx(D,{htmlFor:"input2",children:"Label"}),r.jsx($,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(H,{id:"error2",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var u,g,v;i.parameters={...i.parameters,docs:{...(u=i.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(v=(g=i.parameters)==null?void 0:g.docs)==null?void 0:v.source}}};var h,b,x;s.parameters={...s.parameters,docs:{...(h=s.parameters)==null?void 0:h.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{e as w,f as D,P as $,E as H}from"./index.esm-DEmhLKYr.js";import{b as k}from"./exampleContent-hIIPvEhU.js";import{c as B}from"./clsx-B-dksMZM.js";import{r as G}from"./index-B-o1Wr-g.js";const a=G.forwardRef(({className:e,dir:W,invalid:q,resize:p,...m},C)=>r.jsx("textarea",{...m,"aria-invalid":q||void 0,className:B("ams-text-area",p&&`ams-text-area--resize-${p}`,m.cols&&"ams-text-area--cols",e),dir:W??"auto",ref:C}));a.displayName="TextArea";try{a.displayName="TextArea",a.__docgenInfo={description:"",displayName:"TextArea",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},resize:{defaultValue:null,description:"Allows the user to resize the text box. The default is resizing in both directions.",name:"resize",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"horizontal"'},{value:'"vertical"'}]}}}}}catch{}const J=k(),K={title:"Components/Forms/Text Area",component:a,args:{defaultValue:J,disabled:!1,invalid:!1},argTypes:{cols:{control:{type:"number"},description:"The width, expressed in the average number of characters."},defaultValue:{table:{disable:!0}},disabled:{description:"Prevents interaction. Avoid if possible."},resize:{control:{type:"radio",labels:{undefined:"default",none:"none",horizontal:"horizontal",vertical:"vertical"}},options:[void 0,"none","horizontal","vertical"]},rows:{control:{type:"number"},description:"The number of lines to show"}}},i={},s={args:{resize:"vertical"}},o={args:{resize:"horizontal"}},t={args:{resize:"none"}},n={args:{invalid:!0}},l={args:{disabled:!0}},d={render:e=>r.jsxs(w,{invalid:e.invalid,children:[r.jsx(D,{htmlFor:"input1",children:"Label"}),r.jsx($,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(H,{id:"error1",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},c={args:{invalid:!0},render:e=>r.jsxs(w,{invalid:e.invalid,children:[r.jsx(D,{htmlFor:"input2",children:"Label"}),r.jsx($,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(H,{id:"error2",children:"Foutmelding."}),r.jsx(a,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var u,g,v;i.parameters={...i.parameters,docs:{...(u=i.parameters)==null?void 0:u.docs,source:{originalSource:"{}",...(v=(g=i.parameters)==null?void 0:g.docs)==null?void 0:v.source}}};var h,b,x;s.parameters={...s.parameters,docs:{...(h=s.parameters)==null?void 0:h.docs,source:{originalSource:`{ args: { resize: 'vertical' } diff --git a/demo-1732-error-on-icon-prop/assets/TextInput.docs-bIj4vGbN.js b/demo-1732-error-on-icon-prop/assets/TextInput.docs-uMYk4FR5.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/TextInput.docs-bIj4vGbN.js rename to demo-1732-error-on-icon-prop/assets/TextInput.docs-uMYk4FR5.js index fb75f1cb4b..dbdf5b6174 100644 --- a/demo-1732-error-on-icon-prop/assets/TextInput.docs-bIj4vGbN.js +++ b/demo-1732-error-on-icon-prop/assets/TextInput.docs-uMYk4FR5.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r,aq as l,ar as a,as as d,at as s}from"./index-fGKZZBv1.js";import{T as h,E as c,W as p,P as m,a as u,I as f,D as x,b as j,c as b}from"./TextInput.stories-6Mh6Kbek.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const g=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r,aq as l,ar as a,as as d,at as s}from"./index-Cnpsjyel.js";import{T as h,E as c,W as p,P as m,a as u,I as f,D as x,b as j,c as b}from"./TextInput.stories-B_UuZJiy.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const g=` # Text Input diff --git a/demo-1732-error-on-icon-prop/assets/TextInput.stories-6Mh6Kbek.js b/demo-1732-error-on-icon-prop/assets/TextInput.stories-B_UuZJiy.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/TextInput.stories-6Mh6Kbek.js rename to demo-1732-error-on-icon-prop/assets/TextInput.stories-B_UuZJiy.js index cae8efb68c..e00be8a191 100644 --- a/demo-1732-error-on-icon-prop/assets/TextInput.stories-6Mh6Kbek.js +++ b/demo-1732-error-on-icon-prop/assets/TextInput.stories-B_UuZJiy.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-j_jdvEMj.js";import{e as q,f as R,P as k,E as w}from"./index.esm-jyjgLnxG.js";import{c as K}from"./clsx-B-dksMZM.js";import{r as Q}from"./index-B-o1Wr-g.js";const r=Q.forwardRef(({className:e,dir:C,invalid:B,type:G="text",...H},J)=>a.jsx("input",{...H,"aria-invalid":B||void 0,className:K("ams-text-input",e),dir:C??"auto",ref:J,type:G}));r.displayName="TextInput";try{r.displayName="TextInput",r.__docgenInfo={description:"",displayName:"TextInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},type:{defaultValue:{value:"text"},description:"The kind of data that the user should provide.",name:"type",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'}]}}}}}catch{}const U={title:"Components/Forms/Text Input",component:r,args:{disabled:!1,invalid:!1},argTypes:{defaultValue:{table:{disable:!0}},disabled:{description:"Prevents interaction. Avoid if possible."},invalid:{description:"Whether the value fails a validation rule."}}},s={},i={args:{defaultValue:"designsystem@amsterdam.nl",type:"email"}},t={args:{defaultValue:"https://designsystem.amsterdam/",type:"url"}},d={args:{defaultValue:"14020",type:"tel"}},l={args:{placeholder:"Placeholder text"}},n={args:{defaultValue:"Invalid value",invalid:!0}},o={args:{defaultValue:"Disabled input",disabled:!0}},c={render:e=>a.jsxs(q,{invalid:e.invalid,children:[a.jsx(R,{htmlFor:"input1",children:"Label"}),a.jsx(k,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&a.jsx(w,{id:"error1",children:"Foutmelding."}),a.jsx(r,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},u={args:{invalid:!0},render:e=>a.jsxs(q,{invalid:e.invalid,children:[a.jsx(R,{htmlFor:"input2",children:"Label"}),a.jsx(k,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&a.jsx(w,{id:"error2",children:"Foutmelding."}),a.jsx(r,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var p,m,g;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(g=(m=s.parameters)==null?void 0:m.docs)==null?void 0:g.source}}};var v,h,b;i.parameters={...i.parameters,docs:{...(v=i.parameters)==null?void 0:v.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-j_jdvEMj.js";import{e as q,f as R,P as k,E as w}from"./index.esm-DEmhLKYr.js";import{c as K}from"./clsx-B-dksMZM.js";import{r as Q}from"./index-B-o1Wr-g.js";const r=Q.forwardRef(({className:e,dir:C,invalid:B,type:G="text",...H},J)=>a.jsx("input",{...H,"aria-invalid":B||void 0,className:K("ams-text-input",e),dir:C??"auto",ref:J,type:G}));r.displayName="TextInput";try{r.displayName="TextInput",r.__docgenInfo={description:"",displayName:"TextInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}},type:{defaultValue:{value:"text"},description:"The kind of data that the user should provide.",name:"type",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'}]}}}}}catch{}const U={title:"Components/Forms/Text Input",component:r,args:{disabled:!1,invalid:!1},argTypes:{defaultValue:{table:{disable:!0}},disabled:{description:"Prevents interaction. Avoid if possible."},invalid:{description:"Whether the value fails a validation rule."}}},s={},i={args:{defaultValue:"designsystem@amsterdam.nl",type:"email"}},t={args:{defaultValue:"https://designsystem.amsterdam/",type:"url"}},d={args:{defaultValue:"14020",type:"tel"}},l={args:{placeholder:"Placeholder text"}},n={args:{defaultValue:"Invalid value",invalid:!0}},o={args:{defaultValue:"Disabled input",disabled:!0}},c={render:e=>a.jsxs(q,{invalid:e.invalid,children:[a.jsx(R,{htmlFor:"input1",children:"Label"}),a.jsx(k,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&a.jsx(w,{id:"error1",children:"Foutmelding."}),a.jsx(r,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},u={args:{invalid:!0},render:e=>a.jsxs(q,{invalid:e.invalid,children:[a.jsx(R,{htmlFor:"input2",children:"Label"}),a.jsx(k,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&a.jsx(w,{id:"error2",children:"Foutmelding."}),a.jsx(r,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var p,m,g;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:"{}",...(g=(m=s.parameters)==null?void 0:m.docs)==null?void 0:g.source}}};var v,h,b;i.parameters={...i.parameters,docs:{...(v=i.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { defaultValue: 'designsystem@amsterdam.nl', type: 'email' diff --git a/demo-1732-error-on-icon-prop/assets/TimeInput.docs-Dpvnn9o7.js b/demo-1732-error-on-icon-prop/assets/TimeInput.docs-BEzT1ofO.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/TimeInput.docs-Dpvnn9o7.js rename to demo-1732-error-on-icon-prop/assets/TimeInput.docs-BEzT1ofO.js index d71f5e7853..1319346faa 100644 --- a/demo-1732-error-on-icon-prop/assets/TimeInput.docs-Dpvnn9o7.js +++ b/demo-1732-error-on-icon-prop/assets/TimeInput.docs-BEzT1ofO.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as r,aq as a,ar as d,as as c,at as o}from"./index-fGKZZBv1.js";import{T as h,I as l,D as m,a as p,b as f}from"./TimeInput.stories-CRugeu55.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const x=` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as r,aq as a,ar as d,as as c,at as o}from"./index-Cnpsjyel.js";import{T as h,I as l,D as m,a as p,b as f}from"./TimeInput.stories-CiSTvywS.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const x=` # Time Input diff --git a/demo-1732-error-on-icon-prop/assets/TimeInput.stories-CRugeu55.js b/demo-1732-error-on-icon-prop/assets/TimeInput.stories-CiSTvywS.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/TimeInput.stories-CRugeu55.js rename to demo-1732-error-on-icon-prop/assets/TimeInput.stories-CiSTvywS.js index 0eddfb492f..0d6d980a8f 100644 --- a/demo-1732-error-on-icon-prop/assets/TimeInput.stories-CRugeu55.js +++ b/demo-1732-error-on-icon-prop/assets/TimeInput.stories-CiSTvywS.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{e as y,f as _,P as T,E}from"./index.esm-jyjgLnxG.js";import{c as O}from"./clsx-B-dksMZM.js";import{r as M}from"./index-B-o1Wr-g.js";const i=M.forwardRef(({className:e,invalid:L,...P},S)=>r.jsx("input",{...P,"aria-invalid":L||void 0,className:O("ams-time-input",e),ref:S,type:"time"}));i.displayName="TimeInput";try{i.displayName="TimeInput",i.__docgenInfo={description:"",displayName:"TimeInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const z={title:"Components/Forms/Time Input",component:i,args:{disabled:!1,invalid:!1},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},a={},s={args:{invalid:!0}},d={args:{disabled:!0}},n={render:e=>r.jsxs(y,{invalid:e.invalid,children:[r.jsx(_,{htmlFor:"input1",children:"Label"}),r.jsx(T,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(E,{id:"error1",children:"Foutmelding."}),r.jsx(i,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},t={args:{invalid:!0},render:e=>r.jsxs(y,{invalid:e.invalid,children:[r.jsx(_,{htmlFor:"input2",children:"Label"}),r.jsx(T,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(E,{id:"error2",children:"Foutmelding."}),r.jsx(i,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var o,l,c;a.parameters={...a.parameters,docs:{...(o=a.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(c=(l=a.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};var p,m,u;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-j_jdvEMj.js";import{e as y,f as _,P as T,E}from"./index.esm-DEmhLKYr.js";import{c as O}from"./clsx-B-dksMZM.js";import{r as M}from"./index-B-o1Wr-g.js";const i=M.forwardRef(({className:e,invalid:L,...P},S)=>r.jsx("input",{...P,"aria-invalid":L||void 0,className:O("ams-time-input",e),ref:S,type:"time"}));i.displayName="TimeInput";try{i.displayName="TimeInput",i.__docgenInfo={description:"",displayName:"TimeInput",props:{invalid:{defaultValue:null,description:"Whether the value fails a validation rule.",name:"invalid",required:!1,type:{name:"boolean"}}}}}catch{}const z={title:"Components/Forms/Time Input",component:i,args:{disabled:!1,invalid:!1},argTypes:{disabled:{description:"Prevents interaction. Avoid if possible."}}},a={},s={args:{invalid:!0}},d={args:{disabled:!0}},n={render:e=>r.jsxs(y,{invalid:e.invalid,children:[r.jsx(_,{htmlFor:"input1",children:"Label"}),r.jsx(T,{id:"description1",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(E,{id:"error1",children:"Foutmelding."}),r.jsx(i,{"aria-describedby":`description1${e.invalid?" error1":""}`,id:"input1",...e})]})},t={args:{invalid:!0},render:e=>r.jsxs(y,{invalid:e.invalid,children:[r.jsx(_,{htmlFor:"input2",children:"Label"}),r.jsx(T,{id:"description2",size:"small",children:"Omschrijving."}),e.invalid&&r.jsx(E,{id:"error2",children:"Foutmelding."}),r.jsx(i,{"aria-describedby":`description2${e.invalid?" error2":""}`,id:"input2",...e})]})};var o,l,c;a.parameters={...a.parameters,docs:{...(o=a.parameters)==null?void 0:o.docs,source:{originalSource:"{}",...(c=(l=a.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};var p,m,u;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { invalid: true } diff --git a/demo-1732-error-on-icon-prop/assets/TopTaskLink.docs-DQ9EWuwG.js b/demo-1732-error-on-icon-prop/assets/TopTaskLink.docs-DDrNPnwZ.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/TopTaskLink.docs-DQ9EWuwG.js rename to demo-1732-error-on-icon-prop/assets/TopTaskLink.docs-DDrNPnwZ.js index cc5d785052..15ff69fc3f 100644 --- a/demo-1732-error-on-icon-prop/assets/TopTaskLink.docs-DQ9EWuwG.js +++ b/demo-1732-error-on-icon-prop/assets/TopTaskLink.docs-DDrNPnwZ.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as s,aq as r,ar as a,as as p,at as l}from"./index-fGKZZBv1.js";import{T as c,M as d}from"./TopTaskLink.stories-Bt2Nipkt.js";import{S as h}from"./StatusBadge-Ck_iCwDF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Badge-jE39d5Kk.js";const m=` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as i}from"./index-BSj771as.js";import{ae as s,aq as r,ar as a,as as p,at as l}from"./index-Cnpsjyel.js";import{T as c,M as d}from"./TopTaskLink.stories-NRgtpriG.js";import{S as h}from"./StatusBadge-Ck_iCwDF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./Badge-jE39d5Kk.js";const m=` # Top Task Link diff --git a/demo-1732-error-on-icon-prop/assets/TopTaskLink.stories-Bt2Nipkt.js b/demo-1732-error-on-icon-prop/assets/TopTaskLink.stories-NRgtpriG.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/TopTaskLink.stories-Bt2Nipkt.js rename to demo-1732-error-on-icon-prop/assets/TopTaskLink.stories-NRgtpriG.js index e0a682002e..c21f285be6 100644 --- a/demo-1732-error-on-icon-prop/assets/TopTaskLink.stories-Bt2Nipkt.js +++ b/demo-1732-error-on-icon-prop/assets/TopTaskLink.stories-NRgtpriG.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as r}from"./index.esm-jyjgLnxG.js";import{c as g}from"./clsx-B-dksMZM.js";import{r as h}from"./index-B-o1Wr-g.js";const a=h.forwardRef(({className:i,label:m,description:k,...u},f)=>e.jsxs("a",{...u,ref:f,className:g("ams-top-task-link",i),children:[e.jsx("span",{className:"ams-top-task-link__label",children:m}),e.jsx("span",{className:"ams-visually-hidden",children:","}),e.jsx("span",{className:"ams-top-task-link__description",children:k})]}));a.displayName="TopTaskLink";try{a.displayName="TopTaskLink",a.__docgenInfo={description:"",displayName:"TopTaskLink",props:{label:{defaultValue:null,description:"The title.",name:"label",required:!0,type:{name:"string"}},description:{defaultValue:null,description:"The text content.",name:"description",required:!0,type:{name:"string"}}}}}catch{}const b={title:"Components/Navigation/Top Task Link",component:a},n={args:{description:"Geef uw nieuwe adres door als u binnen Amsterdam of naar Amsterdam verhuist.",href:"#",label:"Verhuizing doorgeven"},argTypes:{href:{description:"The url for the link."}}},s={args:{description:"Omschrijving",label:"Titel"},render:()=>e.jsxs(r,{children:[e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"Bekijk welke belastingen en heffingen er zijn, hoe u bezwaar maakt of een betalingsregeling treft.",href:"#",label:"Gemeentebelastingen"})}),e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"U kunt met uw auto goedkoop parkeren bij een P+R-locatie aan de rand van de stad.",href:"#",label:"Parkeren + Reizen (P+R)"})}),e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"Vraag deze bewijzen aan of verleng ze. Geef een vermissing aan.",href:"#",label:"Paspoort, ID-kaart en rijbewijs"})}),e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"Meld een kind aan voor basisschool, middelbare school of kinderopvang. Bekijk het kindtegoed op uw Stadspas.",href:"#",label:"Onderwijs"})})]}),parameters:{docs:{source:{type:"dynamic"}}}};var o,t,l;n.parameters={...n.parameters,docs:{...(o=n.parameters)==null?void 0:o.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as r}from"./index.esm-DEmhLKYr.js";import{c as g}from"./clsx-B-dksMZM.js";import{r as h}from"./index-B-o1Wr-g.js";const a=h.forwardRef(({className:i,label:m,description:k,...u},f)=>e.jsxs("a",{...u,ref:f,className:g("ams-top-task-link",i),children:[e.jsx("span",{className:"ams-top-task-link__label",children:m}),e.jsx("span",{className:"ams-visually-hidden",children:","}),e.jsx("span",{className:"ams-top-task-link__description",children:k})]}));a.displayName="TopTaskLink";try{a.displayName="TopTaskLink",a.__docgenInfo={description:"",displayName:"TopTaskLink",props:{label:{defaultValue:null,description:"The title.",name:"label",required:!0,type:{name:"string"}},description:{defaultValue:null,description:"The text content.",name:"description",required:!0,type:{name:"string"}}}}}catch{}const b={title:"Components/Navigation/Top Task Link",component:a},n={args:{description:"Geef uw nieuwe adres door als u binnen Amsterdam of naar Amsterdam verhuist.",href:"#",label:"Verhuizing doorgeven"},argTypes:{href:{description:"The url for the link."}}},s={args:{description:"Omschrijving",label:"Titel"},render:()=>e.jsxs(r,{children:[e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"Bekijk welke belastingen en heffingen er zijn, hoe u bezwaar maakt of een betalingsregeling treft.",href:"#",label:"Gemeentebelastingen"})}),e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"U kunt met uw auto goedkoop parkeren bij een P+R-locatie aan de rand van de stad.",href:"#",label:"Parkeren + Reizen (P+R)"})}),e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"Vraag deze bewijzen aan of verleng ze. Geef een vermissing aan.",href:"#",label:"Paspoort, ID-kaart en rijbewijs"})}),e.jsx(r.Cell,{span:3,children:e.jsx(a,{description:"Meld een kind aan voor basisschool, middelbare school of kinderopvang. Bekijk het kindtegoed op uw Stadspas.",href:"#",label:"Onderwijs"})})]}),parameters:{docs:{source:{type:"dynamic"}}}};var o,t,l;n.parameters={...n.parameters,docs:{...(o=n.parameters)==null?void 0:o.docs,source:{originalSource:`{ args: { description: 'Geef uw nieuwe adres door als u binnen Amsterdam of naar Amsterdam verhuist.', href: '#', diff --git a/demo-1732-error-on-icon-prop/assets/UnorderedList.docs-CA0SCvfD.js b/demo-1732-error-on-icon-prop/assets/UnorderedList.docs-BL4o5j9Y.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/UnorderedList.docs-CA0SCvfD.js rename to demo-1732-error-on-icon-prop/assets/UnorderedList.docs-BL4o5j9Y.js index 0f8f07ee4c..8dea0dd6d0 100644 --- a/demo-1732-error-on-icon-prop/assets/UnorderedList.docs-CA0SCvfD.js +++ b/demo-1732-error-on-icon-prop/assets/UnorderedList.docs-BL4o5j9Y.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r,aq as a,ar as h,as as l,at as t}from"./index-fGKZZBv1.js";import{U as d,T as c,W as m,I as p,S as x}from"./UnorderedList.stories-CVhI80zY.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";import"./exampleContent-hIIPvEhU.js";const f=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r,aq as a,ar as h,as as l,at as t}from"./index-Cnpsjyel.js";import{U as d,T as c,W as m,I as p,S as x}from"./UnorderedList.stories-DhNns6p3.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";import"./decorators-DYZ3zH5Z.js";import"./exampleContent-hIIPvEhU.js";const f=` # Unordered List diff --git a/demo-1732-error-on-icon-prop/assets/UnorderedList.stories-CVhI80zY.js b/demo-1732-error-on-icon-prop/assets/UnorderedList.stories-DhNns6p3.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/UnorderedList.stories-CVhI80zY.js rename to demo-1732-error-on-icon-prop/assets/UnorderedList.stories-DhNns6p3.js index 3579ec7948..313c608488 100644 --- a/demo-1732-error-on-icon-prop/assets/UnorderedList.stories-CVhI80zY.js +++ b/demo-1732-error-on-icon-prop/assets/UnorderedList.stories-DhNns6p3.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{r as n,P as a}from"./index.esm-jyjgLnxG.js";import{m as T,n as B,o as O,p as R,S as A,g as G,q as E,r as M}from"./index.esm-DoGgRjwu.js";import{i as V}from"./decorators-DYZ3zH5Z.js";import{f as q}from"./exampleContent-hIIPvEhU.js";import{c as _}from"./clsx-B-dksMZM.js";import{r as W}from"./index-B-o1Wr-g.js";const b=W.forwardRef(({children:s,className:d,...c},I)=>e.jsx("li",{ref:I,className:_("ams-unordered-list__item",d),...c,children:s}));b.displayName="UnorderedList.Item";try{UnorderedList.Item.displayName="UnorderedList.Item",UnorderedList.Item.__docgenInfo={description:"",displayName:"UnorderedList.Item",props:{}}}catch{}const D=W.forwardRef(({children:s,className:d,inverseColor:c,markers:I=!0,size:p,...C},w)=>e.jsx("ul",{ref:w,className:_("ams-unordered-list",c&&"ams-unordered-list--inverse-color",!I&&"ams-unordered-list--no-markers",p&&`ams-unordered-list--${p}`,d),...C,children:s}));D.displayName="UnorderedList";const r=Object.assign(D,{Item:b});try{r.displayName="UnorderedList",r.__docgenInfo={description:"",displayName:"UnorderedList",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},markers:{defaultValue:{value:"true"},description:"Whether the list items show a marker.",name:"markers",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"The size of the text.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'}]}}}}}catch{}const H=q().map((s,d)=>e.jsx(r.Item,{children:s},d)),K={title:"Components/Text/Unordered List",component:r,args:{children:H,inverseColor:!1,markers:void 0},argTypes:{size:{control:{type:"radio",labels:{small:"small",undefined:"medium"}},options:["small",void 0]}},decorators:[V]},t={},o={render:s=>e.jsxs(r,{...s,children:[e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]}),e.jsxs(r.Item,{children:["Stadsdeel Nieuw-West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"De Aker, Sloten en Nieuw Sloten"}),e.jsx(r.Item,{children:"Geuzenveld, Slotermeer en Sloterdijken"}),e.jsx(r.Item,{children:"Osdorp"}),e.jsx(r.Item,{children:"Slotervaart"})]})]})]})},i={args:{children:[e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:T,size:"level-6"}),e.jsx(a,{children:"Stadsloket: locaties en openingstijden"})]})},1),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:B,size:"level-6"}),e.jsx(a,{children:"Parkeren + Reizen (P+R)"})]})},2),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:O,size:"level-6"}),e.jsx(a,{children:"Paspoort, ID-kaart en Rijbewijs"})]})},3),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:R,size:"level-6"}),e.jsx(a,{children:"Gemeentebelastingen"})]})},4),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:A,size:"level-6"}),e.jsx(a,{children:"Melding openbare ruimte en overlast"})]})},5),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:G,size:"level-6"}),e.jsx(a,{children:"Verhuizing doorgeven"})]})},6),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:E,size:"level-6"}),e.jsx(a,{children:"Grof afval"})]})},7),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:M,size:"level-6"}),e.jsx(a,{children:"Kennisgevingen en bekendmakingen"})]})},8)],markers:!1}},l={args:{inverseColor:!0},render:s=>e.jsx(r,{...s,children:e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]})})},m={args:{size:"small"}};var v,g,h;t.parameters={...t.parameters,docs:{...(v=t.parameters)==null?void 0:v.docs,source:{originalSource:"{}",...(h=(g=t.parameters)==null?void 0:g.docs)==null?void 0:h.source}}};var u,L,j;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{r as n,P as a}from"./index.esm-DEmhLKYr.js";import{m as T,n as B,o as O,p as R,S as A,g as G,q as E,r as M}from"./index.esm-DoGgRjwu.js";import{i as V}from"./decorators-DYZ3zH5Z.js";import{f as q}from"./exampleContent-hIIPvEhU.js";import{c as _}from"./clsx-B-dksMZM.js";import{r as W}from"./index-B-o1Wr-g.js";const b=W.forwardRef(({children:s,className:d,...c},I)=>e.jsx("li",{ref:I,className:_("ams-unordered-list__item",d),...c,children:s}));b.displayName="UnorderedList.Item";try{UnorderedList.Item.displayName="UnorderedList.Item",UnorderedList.Item.__docgenInfo={description:"",displayName:"UnorderedList.Item",props:{}}}catch{}const D=W.forwardRef(({children:s,className:d,inverseColor:c,markers:I=!0,size:p,...C},w)=>e.jsx("ul",{ref:w,className:_("ams-unordered-list",c&&"ams-unordered-list--inverse-color",!I&&"ams-unordered-list--no-markers",p&&`ams-unordered-list--${p}`,d),...C,children:s}));D.displayName="UnorderedList";const r=Object.assign(D,{Item:b});try{r.displayName="UnorderedList",r.__docgenInfo={description:"",displayName:"UnorderedList",props:{inverseColor:{defaultValue:null,description:"Changes the text colour for readability on a dark background.",name:"inverseColor",required:!1,type:{name:"boolean"}},markers:{defaultValue:{value:"true"},description:"Whether the list items show a marker.",name:"markers",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"The size of the text.",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'}]}}}}}catch{}const H=q().map((s,d)=>e.jsx(r.Item,{children:s},d)),K={title:"Components/Text/Unordered List",component:r,args:{children:H,inverseColor:!1,markers:void 0},argTypes:{size:{control:{type:"radio",labels:{small:"small",undefined:"medium"}},options:["small",void 0]}},decorators:[V]},t={},o={render:s=>e.jsxs(r,{...s,children:[e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]}),e.jsxs(r.Item,{children:["Stadsdeel Nieuw-West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"De Aker, Sloten en Nieuw Sloten"}),e.jsx(r.Item,{children:"Geuzenveld, Slotermeer en Sloterdijken"}),e.jsx(r.Item,{children:"Osdorp"}),e.jsx(r.Item,{children:"Slotervaart"})]})]})]})},i={args:{children:[e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:T,size:"level-6"}),e.jsx(a,{children:"Stadsloket: locaties en openingstijden"})]})},1),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:B,size:"level-6"}),e.jsx(a,{children:"Parkeren + Reizen (P+R)"})]})},2),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:O,size:"level-6"}),e.jsx(a,{children:"Paspoort, ID-kaart en Rijbewijs"})]})},3),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:R,size:"level-6"}),e.jsx(a,{children:"Gemeentebelastingen"})]})},4),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:A,size:"level-6"}),e.jsx(a,{children:"Melding openbare ruimte en overlast"})]})},5),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:G,size:"level-6"}),e.jsx(a,{children:"Verhuizing doorgeven"})]})},6),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:E,size:"level-6"}),e.jsx(a,{children:"Grof afval"})]})},7),e.jsx(r.Item,{children:e.jsxs("div",{className:"ams-docs-card",children:[e.jsx(n,{svg:M,size:"level-6"}),e.jsx(a,{children:"Kennisgevingen en bekendmakingen"})]})},8)],markers:!1}},l={args:{inverseColor:!0},render:s=>e.jsx(r,{...s,children:e.jsxs(r.Item,{children:["Stadsdeel West",e.jsxs(r,{...s,children:[e.jsx(r.Item,{children:"Bos en Lommer"}),e.jsx(r.Item,{children:"Oud West / De Baarsjes"}),e.jsx(r.Item,{children:"Westerpark"})]})]})})},m={args:{size:"small"}};var v,g,h;t.parameters={...t.parameters,docs:{...(v=t.parameters)==null?void 0:v.docs,source:{originalSource:"{}",...(h=(g=t.parameters)==null?void 0:g.docs)==null?void 0:h.source}}};var u,L,j;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ render: args => Stadsdeel West diff --git a/demo-1732-error-on-icon-prop/assets/VisuallyHidden.docs-0p6dIiLt.js b/demo-1732-error-on-icon-prop/assets/VisuallyHidden.docs-VIIfW0ua.js similarity index 79% rename from demo-1732-error-on-icon-prop/assets/VisuallyHidden.docs-0p6dIiLt.js rename to demo-1732-error-on-icon-prop/assets/VisuallyHidden.docs-VIIfW0ua.js index 5d7ccf86b8..9e2f001f12 100644 --- a/demo-1732-error-on-icon-prop/assets/VisuallyHidden.docs-0p6dIiLt.js +++ b/demo-1732-error-on-icon-prop/assets/VisuallyHidden.docs-VIIfW0ua.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as r,aq as a,ar as i,as as m}from"./index-fGKZZBv1.js";import{V as l}from"./VisuallyHidden.stories-CtIQOMzr.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const u=` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as r,aq as a,ar as i,as as m}from"./index-Cnpsjyel.js";import{V as l}from"./VisuallyHidden.stories-d9VRTLgH.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";const u=` # Visually Hidden diff --git a/demo-1732-error-on-icon-prop/assets/VisuallyHidden.stories-CtIQOMzr.js b/demo-1732-error-on-icon-prop/assets/VisuallyHidden.stories-d9VRTLgH.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/VisuallyHidden.stories-CtIQOMzr.js rename to demo-1732-error-on-icon-prop/assets/VisuallyHidden.stories-d9VRTLgH.js index 5a2110db39..72e4ea06e9 100644 --- a/demo-1732-error-on-icon-prop/assets/VisuallyHidden.stories-CtIQOMzr.js +++ b/demo-1732-error-on-icon-prop/assets/VisuallyHidden.stories-d9VRTLgH.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as i}from"./index.esm-jyjgLnxG.js";/** +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{P as i}from"./index.esm-DEmhLKYr.js";/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */const r=({children:s})=>e.jsx("span",{className:"ams-visually-hidden",children:s});try{r.displayName="VisuallyHidden",r.__docgenInfo={description:"Renders examples in Storybook. Not for reuse.",displayName:"VisuallyHidden",props:{}}}catch{}const l=({children:s})=>e.jsxs(e.Fragment,{children:[e.jsx(i,{children:"This paragraph is available for everyone. Below this is a second paragraph, but it is aimed at non-visual user agents only. It is not perceivable on a screen."}),e.jsx(i,{className:"ams-visually-hidden",children:s})]}),d={title:"Utilities/CSS/Visually Hidden",component:r,args:{children:"Here is the paragraph that is visually hidden. A screen reader will pick it up and read it to its user."},argTypes:{children:{description:"The content to hide visually.",table:{disable:!1}}}},a={render:l};var t,o,n;a.parameters={...a.parameters,docs:{...(t=a.parameters)==null?void 0:t.docs,source:{originalSource:`{ diff --git a/demo-1732-error-on-icon-prop/assets/border.docs-B9Kv2wcC.js b/demo-1732-error-on-icon-prop/assets/border.docs-CgI_Rfeu.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/border.docs-B9Kv2wcC.js rename to demo-1732-error-on-icon-prop/assets/border.docs-CgI_Rfeu.js index 0a5f202da8..fd99cbce07 100644 --- a/demo-1732-error-on-icon-prop/assets/border.docs-B9Kv2wcC.js +++ b/demo-1732-error-on-icon-prop/assets/border.docs-CgI_Rfeu.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as n}from"./index-fGKZZBv1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function d(r){const t={code:"code",h1:"h1",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...s(),...r.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as n}from"./index-Cnpsjyel.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function d(r){const t={code:"code",h1:"h1",h2:"h2",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...s(),...r.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(n,{title:"Brand/Design Tokens/Border"}),` `,e.jsx(t.h1,{id:"border",children:"Border"}),` diff --git a/demo-1732-error-on-icon-prop/assets/breakpoints.docs-BMU429QR.js b/demo-1732-error-on-icon-prop/assets/breakpoints.docs-iAQJCoHK.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/breakpoints.docs-BMU429QR.js rename to demo-1732-error-on-icon-prop/assets/breakpoints.docs-iAQJCoHK.js index 4cd73ca93a..16191ee8ae 100644 --- a/demo-1732-error-on-icon-prop/assets/breakpoints.docs-BMU429QR.js +++ b/demo-1732-error-on-icon-prop/assets/breakpoints.docs-iAQJCoHK.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r}from"./index-fGKZZBv1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function t(s){const n={a:"a",code:"code",h1:"h1",p:"p",pre:"pre",...o(),...s.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as r}from"./index-Cnpsjyel.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function t(s){const n={a:"a",code:"code",h1:"h1",p:"p",pre:"pre",...o(),...s.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(r,{title:"Docs/Developer Guide/Breakpoints"}),` `,e.jsx(n.h1,{id:"breakpoints",children:"Breakpoints"}),` diff --git a/demo-1732-error-on-icon-prop/assets/colour.docs-yLU405NI.js b/demo-1732-error-on-icon-prop/assets/colour.docs-BWf9OSTt.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/colour.docs-yLU405NI.js rename to demo-1732-error-on-icon-prop/assets/colour.docs-BWf9OSTt.js index 1063b9ee63..86206d26fd 100644 --- a/demo-1732-error-on-icon-prop/assets/colour.docs-yLU405NI.js +++ b/demo-1732-error-on-icon-prop/assets/colour.docs-BWf9OSTt.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as n}from"./index-BSj771as.js";import{ae as g}from"./index-fGKZZBv1.js";import{r as h}from"./index-B-o1Wr-g.js";import{S as p}from"./StatusBadge-Ck_iCwDF.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Badge-jE39d5Kk.js";import"./clsx-B-dksMZM.js";const v={border:{width:{sm:"0.0625rem",md:"0.125rem",lg:"0.1875rem",xl:"0.25rem"}},color:{"primary-black":"#000000","primary-white":"#FFFFFF","primary-blue":"#004699","primary-red":"#EC0000","dark-blue":"#102E62",orange:"#FF9100",yellow:"#FFE600",green:"#BED200","dark-green":"#00A03C",blue:"#009DE6",purple:"#A00078",magenta:"#E50082","neutral-grey1":"#E8E8E8","neutral-grey2":"#BEBEBE","neutral-grey3":"#767676"},proportion:{"x-tall":"9 / 16",tall:"3 / 4",square:"1 / 1",wide:"4 / 3","x-wide":"16 / 9","2x-wide":"16 / 5"},space:{xs:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",sm:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",md:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",lg:"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)",xl:"clamp(2.25rem, 2.0625rem + 0.9375vw, 3rem)",grid:{xs:"clamp(0.25rem, calc(0.09375rem + 0.78125vw), 0.875rem)",sm:"clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)",md:"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",lg:"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)",xl:"clamp(2rem, calc(0.75rem + 6.25vw), 7rem)"}},text:{"font-family":"'Amsterdam Sans', Arial, sans-serif","font-weight":{normal:400,bold:800},level:{0:{"font-size":"clamp(2.4316rem, calc(1.8951rem + 2.6826vw), 4.5776rem)","line-height":"1.15"},1:{"font-size":"clamp(2.0842rem, calc(1.6897rem + 1.9724vw), 3.6621rem)","line-height":"1.2"},2:{"font-size":"clamp(1.7865rem, calc(1.5007rem + 1.429vw), 2.9297rem)","line-height":"1.25"},3:{"font-size":"clamp(1.5313rem, calc(1.3281rem + 1.0156vw), 2.3438rem)","line-height":"1.3"},4:{"font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","line-height":"1.5"},5:{"font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","line-height":"1.6"},6:{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"}}},action:{activate:{cursor:"pointer"},busy:{cursor:"wait"},disabled:{cursor:"not-allowed"},inert:{cursor:"default"},navigate:{cursor:"pointer"},submit:{cursor:"pointer"}},focus:{"outline-offset":"0.125rem"},hyphenation:{"hyphenate-limit-chars":"12 8 4",hyphens:"auto","overflow-wrap":"break-word"},"link-appearance":{color:"#004699","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{color:"#102E62"},regular:{"text-decoration-line":"underline",hover:{"text-decoration-thickness":"0.1875rem","text-underline-offset":"0.2778em"}},subtle:{"text-decoration-line":"none",hover:{"text-decoration-line":"underline"}},contrast:{color:"#000000",hover:{color:"#000000"},visited:{color:"#000000"}},inverse:{color:"#FFFFFF",hover:{color:"#FFFFFF"},visited:{color:"#FFFFFF"}}},accordion:{gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",button:{color:"#004699","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":800,gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","line-height":"1.6","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"0",focus:{"outline-offset":"0.125rem"},hover:{color:"#102E62"}},panel:{"padding-block":"0","padding-inline":"0"}},"action-group":{gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)"},alert:{"border-width":"0.25rem","border-style":"solid",gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-block":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","padding-inline":"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)",error:{"border-color":"#EC0000"},info:{"border-color":"#004699"},success:{"border-color":"#00A03C"},warning:{"border-color":"#FF9100"},close:{fill:"#000000",hover:{fill:"#004699"}},content:{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)"}},"aspect-ratio":{"x-tall":"9 / 16",tall:"3 / 4",square:"1 / 1",wide:"4 / 3","x-wide":"16 / 9","2x-wide":"16 / 5"},avatar:{"aspect-ratio":"1 / 1","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,"line-height":"1.6","padding-block":"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)","padding-inline":"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",black:{"background-color":"#000000",color:"#FFFFFF"},blue:{"background-color":"#004699",color:"#FFFFFF"},"dark-green":{"background-color":"#00A03C",color:"#FFFFFF"},"forced-colors":{"border-width":"0.125rem"},green:{"background-color":"#BED200",color:"#000000"},"grey-1":{"background-color":"#E8E8E8",color:"#000000"},"grey-2":{"background-color":"#BEBEBE",color:"#000000"},"grey-3":{"background-color":"#767676",color:"#FFFFFF"},"light-blue":{"background-color":"#009DE6",color:"#000000"},magenta:{"background-color":"#E50082",color:"#FFFFFF"},orange:{"background-color":"#FF9100",color:"#000000"},purple:{"background-color":"#A00078",color:"#FFFFFF"},red:{"background-color":"#EC0000",color:"#FFFFFF"},white:{"background-color":"#FFFFFF",color:"#000000"},yellow:{"background-color":"#FFE600",color:"#000000"}},badge:{"font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":800,"line-height":"1.6","padding-inline":"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",black:{"background-color":"#000000",color:"#FFFFFF"},blue:{"background-color":"#004699",color:"#FFFFFF"},"dark-green":{"background-color":"#00A03C",color:"#FFFFFF"},green:{"background-color":"#BED200",color:"#000000"},"grey-1":{"background-color":"#E8E8E8",color:"#000000"},"grey-2":{"background-color":"#BEBEBE",color:"#000000"},"grey-3":{"background-color":"#767676",color:"#FFFFFF"},"light-blue":{"background-color":"#009DE6",color:"#000000"},magenta:{"background-color":"#E50082",color:"#FFFFFF"},orange:{"background-color":"#FF9100",color:"#000000"},purple:{"background-color":"#A00078",color:"#FFFFFF"},red:{"background-color":"#EC0000",color:"#FFFFFF"},white:{"background-color":"#FFFFFF",color:"#000000"},yellow:{"background-color":"#FFE600",color:"#000000"}},blockquote:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.5313rem, calc(1.3281rem + 1.0156vw), 2.3438rem)","font-weight":800,"line-height":"1.3","inverse-color":"#FFFFFF"},breadcrumb:{"font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,"line-height":"1.6",separator:{"background-image":`url("data:image/svg+xml;utf8,")`,"block-size":"1ex","inline-size":"1ex","margin-inline":"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)"},link:{color:"#004699","outline-offset":"0.125rem","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{color:"#102E62","text-decoration-line":"underline"}}},breakout:{"row-gap":{sm:"clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)",md:"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",lg:"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)"}},button:{cursor:"pointer","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","line-height":"1.6",gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",disabled:{cursor:"not-allowed"},"forced-color-mode":{border:"0.125rem solid"},primary:{"background-color":"#004699","box-shadow":"inset 0 0 0 0.125rem #004699",color:"#FFFFFF",disabled:{"background-color":"#BEBEBE","box-shadow":"inset 0 0 0 0.125rem #BEBEBE"},hover:{"background-color":"#102E62","box-shadow":"inset 0 0 0 0.125rem #102E62"}},secondary:{"background-color":"#FFFFFF",color:"#004699","box-shadow":"inset 0 0 0 0.125rem #004699",hover:{"box-shadow":"inset 0 0 0 0.1875rem #102E62",color:"#102E62"},disabled:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.125rem #BEBEBE",color:"#BEBEBE"},focus:{"box-shadow":"inset 0 0 0 0.125rem #004699"}},tertiary:{"background-color":"transparent",color:"#004699",hover:{"box-shadow":"inset 0 0 0 0.125rem #102E62",color:"#102E62"},disabled:{"background-color":"transparent",color:"#BEBEBE"}},"icon-only":{"padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)"}},card:{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","heading-group":{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)"},link:{color:"#004699","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{color:"#102E62","text-decoration-line":"underline"}},"outline-offset":"0.125rem"},"character-count":{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,"line-height":"1.6",error:{color:"#EC0000"}},checkbox:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","line-height":"1.6","outline-offset":"0.125rem",checkmark:{"border-color":"#004699","border-width":"0.125rem",checked:{"background-color":"#004699","background-image":`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M12.216 27.016 0 14.168l2.91-2.77 9.346 9.837L29.129 4 32 6.8z'/%3E%3C/svg%3E")`,hover:{"background-color":"#102E62"}},disabled:{"border-color":"#767676","border-width":"0.125rem",checked:{"background-color":"#767676",hover:{"background-color":"#767676"}},indeterminate:{"background-color":"#767676",hover:{"background-color":"#767676"}}},hover:{"border-color":"#102E62","border-width":"0.1875rem"},invalid:{"border-color":"#EC0000",checked:{"background-color":"#EC0000",hover:{"background-color":"#EC0000"}},hover:{"border-color":"#EC0000"},indeterminate:{"background-color":"#EC0000",hover:{"background-color":"#EC0000"}}},indeterminate:{"background-color":"#004699","background-image":`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='white'%3E%3Cpath fill-rule='evenodd' d='M0 13.714h32v4H0z'/%3E%3C/svg%3E")`,hover:{"background-color":"#102E62"}}},disabled:{color:"#767676"},hover:{color:"#102E62","text-decoration-thickness":"0.125rem"}},column:{gap:{no:"0",xs:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",sm:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",md:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",lg:"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)",xl:"clamp(2.25rem, 2.0625rem + 0.9375vw, 3rem)"}},"date-input":{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","calender-picker-indicator":{"background-image":`url("data:image/svg+xml;utf8,")`},disabled:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #BEBEBE",color:"#BEBEBE","calender-picker-indicator":{"background-image":`url("data:image/svg+xml;utf8,")`}},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000","calender-picker-indicator":{"background-image":`url("data:image/svg+xml;utf8,")`}},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}}},"description-list":{color:"#000000","column-gap":"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","inverse-color":"#FFFFFF","line-height":"1.6","row-gap":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",term:{"font-weight":800},description:{"font-weight":400,"padding-inline-start":"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)"}},dialog:{"background-color":"#FFFFFF",border:"0",gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","inline-size":"calc(100% - 2 * clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem))","max-block-size":"calc(100dvh - 2 * clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem))","max-inline-size":"48rem","padding-block":"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)","padding-inline":"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)",header:{gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)"}},"error-message":{color:"#EC0000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,"line-height":"1.6"},"field-set":{invalid:{"border-inline-start":"0.1875rem solid #EC0000","padding-inline-start":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)"},legend:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","font-weight":800,"line-height":"1.5","margin-block-end":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)"}},field:{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",invalid:{"border-inline-start":"0.1875rem solid #EC0000","padding-inline-start":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)"}},"file-input":{"background-color":"#FFFFFF",border:"0.0625rem dashed #767676",color:"#000000",cursor:"pointer","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",disabled:{color:"#BEBEBE",cursor:"not-allowed"},"file-selector-button":{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.125rem #004699",color:"#004699",cursor:"pointer","margin-inline-end":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",hover:{"box-shadow":"inset 0 0 0 0.1875rem #102E62",color:"#102E62"},disabled:{"box-shadow":"inset 0 0 0 0.125rem #BEBEBE",color:"#BEBEBE",cursor:"not-allowed"},"forced-color-mode":{border:"0.125rem solid"}}},"form-error-list":{"outline-offset":"0.125rem"},gap:{xs:"clamp(0.25rem, calc(0.09375rem + 0.78125vw), 0.875rem)",sm:"clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)",md:"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",lg:"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)",xl:"clamp(2rem, calc(0.75rem + 6.25vw), 7rem)"},grid:{"column-count":"4","column-gap":"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)","padding-block":{sm:"clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)",md:"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",lg:"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)"},"padding-inline":"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)","row-gap":{sm:"clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)",md:"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",lg:"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)"},medium:{"column-count":"8"},wide:{"column-count":"12"}},header:{"column-gap":"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)","padding-block":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","logo-link":{"outline-offset":"0.125rem"}},heading:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-weight":800,"inverse-color":"#FFFFFF",level:{1:{"font-size":"clamp(2.0842rem, calc(1.6897rem + 1.9724vw), 3.6621rem)","line-height":"1.2"},2:{"font-size":"clamp(1.7865rem, calc(1.5007rem + 1.429vw), 2.9297rem)","line-height":"1.25"},3:{"font-size":"clamp(1.5313rem, calc(1.3281rem + 1.0156vw), 2.3438rem)","line-height":"1.3"},4:{"font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","line-height":"1.5"},5:{"font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","line-height":"1.6"},6:{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"}}},hint:{color:"#767676"},"icon-button":{color:"#004699","outline-offset":"0.125rem",hover:{"background-color":"rgba(0, 70, 153, 0.125)",color:"#102E62"},disabled:{color:"#BEBEBE"},"contrast-color":{color:"#000000",hover:{"background-color":"rgba(0, 0, 0, 0.125)",color:"#000000"},disabled:{color:"#BEBEBE"}},"inverse-color":{"background-color":"#004699",color:"#FFFFFF",hover:{"background-color":"#102E62",color:"#FFFFFF"},disabled:{color:"#FFFFFF","background-color":"#BEBEBE"}}},icon:{"size-3":{"font-size":"clamp(1.5313rem, calc(1.3281rem + 1.0156vw), 2.3438rem)","line-height":"1.3"},"size-4":{"font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","line-height":"1.5"},"size-5":{"font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","line-height":"1.6"},"size-6":{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"}},"image-slider":{gap:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",scroller:{gap:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)","outline-offset":"0.125rem"},thumbnails:{gap:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",thumbnail:{"background-color":"transparent",cursor:"pointer",opacity:"40%","outline-offset":"0.125rem","in-view":{opacity:"100%"},hover:{opacity:"100%"}}}},label:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","font-weight":800,"line-height":"1.5"},"link-list":{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",link:{color:"#004699","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","line-height":"1.6","outline-offset":"0.125rem","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",small:{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"},large:{"font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","line-height":"1.5"},hover:{color:"#102E62","text-decoration-line":"underline"},"contrast-color":{color:"#000000",hover:{color:"#000000"}},"inverse-color":{color:"#FFFFFF",hover:{color:"#FFFFFF"}}}},link:{color:"#004699","font-family":"'Amsterdam Sans', Arial, sans-serif","font-weight":400,"outline-offset":"0.125rem",hover:{color:"#102E62"},inline:{"text-decoration-line":"underline","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em","font-family":"inherit","font-size":"inherit","line-height":"inherit",hover:{"text-decoration-thickness":"0.1875rem","text-underline-offset":"0.2778em"},visited:{color:"#A00078"}},standalone:{"font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","line-height":"1.6","text-decoration-line":"underline","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{"text-decoration-thickness":"0.1875rem","text-underline-offset":"0.2778em"}},"contrast-color":{color:"#000000",hover:{color:"#000000"},visited:{color:"#000000"}},"inverse-color":{color:"#FFFFFF",hover:{color:"#FFFFFF"},visited:{color:"#FFFFFF"}}},logo:{"block-size":"2.5rem",emblem:{color:"#EC0000"},title:{color:"#EC0000"},subsite:{color:"#000000"}},margin:{xs:"clamp(0.25rem, calc(0.09375rem + 0.78125vw), 0.875rem)",sm:"clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)",md:"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",lg:"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)",xl:"clamp(2rem, calc(0.75rem + 6.25vw), 7rem)"},mark:{"background-color":"#FFE600"},"mega-menu":{"list-category":{"column-gap":"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)","column-width":"20rem","padding-block-start":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","padding-block-end":"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)"}},"ordered-list":{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","inverse-color":"#FFFFFF","line-height":"1.6","list-style-type":"decimal",small:{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"},item:{"margin-inline-start":"2.25rem","padding-inline-start":"0.25rem"},"ordered-list":{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","list-style-type":"lower-alpha","padding-block-end":"0","padding-block-start":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",item:{"margin-inline-start":"1.5rem","padding-inline-start":"0.25rem"}}},"page-heading":{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(2.4316rem, calc(1.8951rem + 2.6826vw), 4.5776rem)","font-weight":800,"inverse-color":"#FFFFFF","line-height":"clamp(2.4316rem, calc(1.8951rem + 2.6826vw), 4.5776rem)"},"page-menu":{"column-gap":"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)","row-gap":"clamp(0.25rem, calc(0.09375rem + 0.78125vw), 0.875rem)",item:{color:"#004699","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","line-height":"1.6","outline-offset":"0.125rem","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{color:"#102E62","text-decoration-line":"underline"}}},pagination:{color:"#004699","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6",button:{gap:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)","outline-offset":"0.125rem","padding-inline":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",current:{"font-weight":800},hover:{color:"#102E62","text-decoration-line":"underline"}}},paragraph:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","inverse-color":"#FFFFFF",small:{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"},large:{"font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","line-height":"1.5"}},"password-input":{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",disabled:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #BEBEBE",color:"#BEBEBE"},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000"},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}},placeholder:{color:"#767676"}},radio:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","line-height":"1.6","outline-offset":"0.125rem","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em","checked-indicator":{fill:"#004699",disabled:{fill:"#767676"},"disabled-invalid":{fill:"#767676",hover:{fill:"#767676"}},hover:{fill:"#102E62"},invalid:{fill:"#EC0000",hover:{fill:"#EC0000"}}},circle:{stroke:"#004699",disabled:{stroke:"#767676"},"disabled-invalid":{stroke:"#767676",hover:{stroke:"#767676"}},hover:{stroke:"#102E62"},invalid:{stroke:"#EC0000",hover:{stroke:"#EC0000"}}},disabled:{color:"#767676"},hover:{color:"#102E62","text-decoration-line":"underline"},"icon-container":{"block-size":"calc(clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem) * 1.6)","inline-size":"1.5rem"}},row:{gap:{no:"0",xs:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",sm:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",md:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",lg:"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)",xl:"clamp(2.25rem, 2.0625rem + 0.9375vw, 3rem)"}},screen:{"background-color":"#FFFFFF",wide:{"max-inline-size":"100rem"},"x-wide":{"max-inline-size":"132rem"}},"search-field":{button:{"background-color":"#004699",color:"#FFFFFF","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",hover:{"background-color":"#102E62"}},input:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","cancel-button":{"background-image":`url("data:image/svg+xml;utf8,")`,"block-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)",color:"#004699","inline-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)"},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000"},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}},placeholder:{color:"#767676"}}},select:{"background-color":"#FFFFFF","background-image":`url("data:image/svg+xml;utf8,")`,"background-position":"right clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem) center","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem) calc(2 * clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem) + 1em)",disabled:{"background-image":`url("data:image/svg+xml;utf8,")`,"box-shadow":"inset 0 0 0 0.0625rem #BEBEBE",color:"#BEBEBE"},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000"},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}},option:{disabled:{color:"#BEBEBE"}}},"skip-link":{"background-color":"#004699",color:"#FFFFFF","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",hover:{"background-color":"#102E62"}},spotlight:{blue:{"background-color":"#009DE6"},"dark-blue":{"background-color":"#004699"},"dark-green":{"background-color":"#00A03C"},green:{"background-color":"#BED200"},magenta:{"background-color":"#E50082"},orange:{"background-color":"#FF9100"},purple:{"background-color":"#A00078"},yellow:{"background-color":"#FFE600"}},switch:{"background-color":"#767676","font-family":"'Amsterdam Sans', Arial, sans-serif","outline-offset":"0.125rem","inline-size":"3.5rem",thumb:{"background-color":"#FFFFFF","inline-size":"1.75rem","block-size":"1.75rem",hover:{"box-shadow":"0 0 0 0.125rem #102E62",color:"#102E62"}},checked:{"background-color":"#004699"},disabled:{"background-color":"#BEBEBE"}},"table-of-contents":{"font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","line-height":"1.6",link:{color:"#004699","outline-offset":"0.125rem","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{color:"#102E62","text-decoration-line":"underline"}},list:{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",list:{"padding-block-start":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline-start":"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)"}},heading:{"font-weight":800,"font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","line-height":"1.5"}},table:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6",caption:{"font-weight":800},cell:{"border-block-end":"0.0625rem solid #E8E8E8","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)"},"header-cell":{"font-weight":800}},tabs:{gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",list:{"background-color":"#FFFFFF","border-block-end":"0.125rem solid #004699"},button:{color:"#004699",cursor:"pointer","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"-0.25rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",hover:{color:"#102E62","box-shadow":"inset 0 -0.125rem 0 0 #102E62"},selected:{"background-color":"#004699",color:"#FFFFFF"},disabled:{color:"#BEBEBE",cursor:"not-allowed"}}},"text-area":{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","min-block-size":"calc(1.6 * 1em + 2 * clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem))","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",disabled:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #BEBEBE",color:"#BEBEBE",cursor:"not-allowed"},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000"},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}},placeholder:{color:"#767676"}},"text-input":{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",disabled:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #BEBEBE",color:"#BEBEBE"},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000"},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}},placeholder:{color:"#767676"}},"time-input":{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","calender-picker-indicator":{"background-image":`url("data:image/svg+xml;utf8,")`},disabled:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #BEBEBE",color:"#BEBEBE","calender-picker-indicator":{"background-image":`url("data:image/svg+xml;utf8,")`}},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000","calender-picker-indicator":{"background-image":`url("data:image/svg+xml;utf8,")`}},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}}},"top-task-link":{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",description:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,"line-height":"1.6"},label:{color:"#004699","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","font-weight":800,"line-height":"1.5","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{color:"#102E62","text-decoration-line":"underline"}},"outline-offset":"0.125rem"},"unordered-list":{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","inverse-color":"#FFFFFF","line-height":"1.6","list-style-type":"'\\2022'",item:{"margin-inline-start":"1.625rem","padding-inline-start":"0.875rem"},"unordered-list":{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","list-style-type":"'\\2013'","padding-block-end":"0","padding-block-start":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",item:{"margin-inline-start":"0.875rem","padding-inline-start":"0.875rem"}},small:{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"}}},l={ams:v},c=h.forwardRef(({children:o,...m},d)=>e.jsx("div",{...m,ref:d,className:"ams-storybook-color-palette",children:o}));c.displayName="ColorPalette";const t=({children:o})=>e.jsx("div",{className:"ams-storybook-color-palette__section",children:o});t.displayName="ColorPalette.Section";const s=({name:o,color:m})=>e.jsxs("div",{className:"ams-storybook-color-palette__tile",children:[e.jsx("div",{className:"ams-storybook-color-palette__example",style:{backgroundColor:m}}),e.jsxs("dl",{className:"sb-unstyled ams-storybook-color-palette__description",children:[e.jsx("dt",{className:"ams-storybook-color-palette__name",children:o}),e.jsx("dd",{className:"ams-storybook-color-palette__color",children:m})]})]});s.displayName="ColorPalette.Tile";const r=Object.assign(c,{Section:t,Tile:s});try{r.displayName="ColorPalette",r.__docgenInfo={description:"",displayName:"ColorPalette",props:{}}}catch{}/*@license CC0-1.0*/function i(o){const m={h1:"h1",p:"p",...n(),...o.components};return r||a("ColorPalette",!1),r.Section||a("ColorPalette.Section",!0),r.Tile||a("ColorPalette.Tile",!0),e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as n}from"./index-BSj771as.js";import{ae as g}from"./index-Cnpsjyel.js";import{r as h}from"./index-B-o1Wr-g.js";import{S as p}from"./StatusBadge-Ck_iCwDF.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./Badge-jE39d5Kk.js";import"./clsx-B-dksMZM.js";const v={border:{width:{sm:"0.0625rem",md:"0.125rem",lg:"0.1875rem",xl:"0.25rem"}},color:{"primary-black":"#000000","primary-white":"#FFFFFF","primary-blue":"#004699","primary-red":"#EC0000","dark-blue":"#102E62",orange:"#FF9100",yellow:"#FFE600",green:"#BED200","dark-green":"#00A03C",blue:"#009DE6",purple:"#A00078",magenta:"#E50082","neutral-grey1":"#E8E8E8","neutral-grey2":"#BEBEBE","neutral-grey3":"#767676"},proportion:{"x-tall":"9 / 16",tall:"3 / 4",square:"1 / 1",wide:"4 / 3","x-wide":"16 / 9","2x-wide":"16 / 5"},space:{xs:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",sm:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",md:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",lg:"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)",xl:"clamp(2.25rem, 2.0625rem + 0.9375vw, 3rem)",grid:{xs:"clamp(0.25rem, calc(0.09375rem + 0.78125vw), 0.875rem)",sm:"clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)",md:"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",lg:"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)",xl:"clamp(2rem, calc(0.75rem + 6.25vw), 7rem)"}},text:{"font-family":"'Amsterdam Sans', Arial, sans-serif","font-weight":{normal:400,bold:800},level:{0:{"font-size":"clamp(2.4316rem, calc(1.8951rem + 2.6826vw), 4.5776rem)","line-height":"1.15"},1:{"font-size":"clamp(2.0842rem, calc(1.6897rem + 1.9724vw), 3.6621rem)","line-height":"1.2"},2:{"font-size":"clamp(1.7865rem, calc(1.5007rem + 1.429vw), 2.9297rem)","line-height":"1.25"},3:{"font-size":"clamp(1.5313rem, calc(1.3281rem + 1.0156vw), 2.3438rem)","line-height":"1.3"},4:{"font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","line-height":"1.5"},5:{"font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","line-height":"1.6"},6:{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"}}},action:{activate:{cursor:"pointer"},busy:{cursor:"wait"},disabled:{cursor:"not-allowed"},inert:{cursor:"default"},navigate:{cursor:"pointer"},submit:{cursor:"pointer"}},focus:{"outline-offset":"0.125rem"},hyphenation:{"hyphenate-limit-chars":"12 8 4",hyphens:"auto","overflow-wrap":"break-word"},"link-appearance":{color:"#004699","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{color:"#102E62"},regular:{"text-decoration-line":"underline",hover:{"text-decoration-thickness":"0.1875rem","text-underline-offset":"0.2778em"}},subtle:{"text-decoration-line":"none",hover:{"text-decoration-line":"underline"}},contrast:{color:"#000000",hover:{color:"#000000"},visited:{color:"#000000"}},inverse:{color:"#FFFFFF",hover:{color:"#FFFFFF"},visited:{color:"#FFFFFF"}}},accordion:{gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",button:{color:"#004699","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":800,gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","line-height":"1.6","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"0",focus:{"outline-offset":"0.125rem"},hover:{color:"#102E62"}},panel:{"padding-block":"0","padding-inline":"0"}},"action-group":{gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)"},alert:{"border-width":"0.25rem","border-style":"solid",gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-block":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","padding-inline":"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)",error:{"border-color":"#EC0000"},info:{"border-color":"#004699"},success:{"border-color":"#00A03C"},warning:{"border-color":"#FF9100"},close:{fill:"#000000",hover:{fill:"#004699"}},content:{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)"}},"aspect-ratio":{"x-tall":"9 / 16",tall:"3 / 4",square:"1 / 1",wide:"4 / 3","x-wide":"16 / 9","2x-wide":"16 / 5"},avatar:{"aspect-ratio":"1 / 1","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,"line-height":"1.6","padding-block":"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)","padding-inline":"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",black:{"background-color":"#000000",color:"#FFFFFF"},blue:{"background-color":"#004699",color:"#FFFFFF"},"dark-green":{"background-color":"#00A03C",color:"#FFFFFF"},"forced-colors":{"border-width":"0.125rem"},green:{"background-color":"#BED200",color:"#000000"},"grey-1":{"background-color":"#E8E8E8",color:"#000000"},"grey-2":{"background-color":"#BEBEBE",color:"#000000"},"grey-3":{"background-color":"#767676",color:"#FFFFFF"},"light-blue":{"background-color":"#009DE6",color:"#000000"},magenta:{"background-color":"#E50082",color:"#FFFFFF"},orange:{"background-color":"#FF9100",color:"#000000"},purple:{"background-color":"#A00078",color:"#FFFFFF"},red:{"background-color":"#EC0000",color:"#FFFFFF"},white:{"background-color":"#FFFFFF",color:"#000000"},yellow:{"background-color":"#FFE600",color:"#000000"}},badge:{"font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":800,"line-height":"1.6","padding-inline":"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",black:{"background-color":"#000000",color:"#FFFFFF"},blue:{"background-color":"#004699",color:"#FFFFFF"},"dark-green":{"background-color":"#00A03C",color:"#FFFFFF"},green:{"background-color":"#BED200",color:"#000000"},"grey-1":{"background-color":"#E8E8E8",color:"#000000"},"grey-2":{"background-color":"#BEBEBE",color:"#000000"},"grey-3":{"background-color":"#767676",color:"#FFFFFF"},"light-blue":{"background-color":"#009DE6",color:"#000000"},magenta:{"background-color":"#E50082",color:"#FFFFFF"},orange:{"background-color":"#FF9100",color:"#000000"},purple:{"background-color":"#A00078",color:"#FFFFFF"},red:{"background-color":"#EC0000",color:"#FFFFFF"},white:{"background-color":"#FFFFFF",color:"#000000"},yellow:{"background-color":"#FFE600",color:"#000000"}},blockquote:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.5313rem, calc(1.3281rem + 1.0156vw), 2.3438rem)","font-weight":800,"line-height":"1.3","inverse-color":"#FFFFFF"},breadcrumb:{"font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,"line-height":"1.6",separator:{"background-image":`url("data:image/svg+xml;utf8,")`,"block-size":"1ex","inline-size":"1ex","margin-inline":"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)"},link:{color:"#004699","outline-offset":"0.125rem","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{color:"#102E62","text-decoration-line":"underline"}}},breakout:{"row-gap":{sm:"clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)",md:"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",lg:"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)"}},button:{cursor:"pointer","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","line-height":"1.6",gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",disabled:{cursor:"not-allowed"},"forced-color-mode":{border:"0.125rem solid"},primary:{"background-color":"#004699","box-shadow":"inset 0 0 0 0.125rem #004699",color:"#FFFFFF",disabled:{"background-color":"#BEBEBE","box-shadow":"inset 0 0 0 0.125rem #BEBEBE"},hover:{"background-color":"#102E62","box-shadow":"inset 0 0 0 0.125rem #102E62"}},secondary:{"background-color":"#FFFFFF",color:"#004699","box-shadow":"inset 0 0 0 0.125rem #004699",hover:{"box-shadow":"inset 0 0 0 0.1875rem #102E62",color:"#102E62"},disabled:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.125rem #BEBEBE",color:"#BEBEBE"},focus:{"box-shadow":"inset 0 0 0 0.125rem #004699"}},tertiary:{"background-color":"transparent",color:"#004699",hover:{"box-shadow":"inset 0 0 0 0.125rem #102E62",color:"#102E62"},disabled:{"background-color":"transparent",color:"#BEBEBE"}},"icon-only":{"padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)"}},card:{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","heading-group":{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)"},link:{color:"#004699","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{color:"#102E62","text-decoration-line":"underline"}},"outline-offset":"0.125rem"},"character-count":{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,"line-height":"1.6",error:{color:"#EC0000"}},checkbox:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","line-height":"1.6","outline-offset":"0.125rem",checkmark:{"border-color":"#004699","border-width":"0.125rem",checked:{"background-color":"#004699","background-image":`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M12.216 27.016 0 14.168l2.91-2.77 9.346 9.837L29.129 4 32 6.8z'/%3E%3C/svg%3E")`,hover:{"background-color":"#102E62"}},disabled:{"border-color":"#767676","border-width":"0.125rem",checked:{"background-color":"#767676",hover:{"background-color":"#767676"}},indeterminate:{"background-color":"#767676",hover:{"background-color":"#767676"}}},hover:{"border-color":"#102E62","border-width":"0.1875rem"},invalid:{"border-color":"#EC0000",checked:{"background-color":"#EC0000",hover:{"background-color":"#EC0000"}},hover:{"border-color":"#EC0000"},indeterminate:{"background-color":"#EC0000",hover:{"background-color":"#EC0000"}}},indeterminate:{"background-color":"#004699","background-image":`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='white'%3E%3Cpath fill-rule='evenodd' d='M0 13.714h32v4H0z'/%3E%3C/svg%3E")`,hover:{"background-color":"#102E62"}}},disabled:{color:"#767676"},hover:{color:"#102E62","text-decoration-thickness":"0.125rem"}},column:{gap:{no:"0",xs:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",sm:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",md:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",lg:"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)",xl:"clamp(2.25rem, 2.0625rem + 0.9375vw, 3rem)"}},"date-input":{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","calender-picker-indicator":{"background-image":`url("data:image/svg+xml;utf8,")`},disabled:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #BEBEBE",color:"#BEBEBE","calender-picker-indicator":{"background-image":`url("data:image/svg+xml;utf8,")`}},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000","calender-picker-indicator":{"background-image":`url("data:image/svg+xml;utf8,")`}},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}}},"description-list":{color:"#000000","column-gap":"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","inverse-color":"#FFFFFF","line-height":"1.6","row-gap":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",term:{"font-weight":800},description:{"font-weight":400,"padding-inline-start":"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)"}},dialog:{"background-color":"#FFFFFF",border:"0",gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","inline-size":"calc(100% - 2 * clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem))","max-block-size":"calc(100dvh - 2 * clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem))","max-inline-size":"48rem","padding-block":"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)","padding-inline":"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)",header:{gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)"}},"error-message":{color:"#EC0000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,"line-height":"1.6"},"field-set":{invalid:{"border-inline-start":"0.1875rem solid #EC0000","padding-inline-start":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)"},legend:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","font-weight":800,"line-height":"1.5","margin-block-end":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)"}},field:{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",invalid:{"border-inline-start":"0.1875rem solid #EC0000","padding-inline-start":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)"}},"file-input":{"background-color":"#FFFFFF",border:"0.0625rem dashed #767676",color:"#000000",cursor:"pointer","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",disabled:{color:"#BEBEBE",cursor:"not-allowed"},"file-selector-button":{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.125rem #004699",color:"#004699",cursor:"pointer","margin-inline-end":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",hover:{"box-shadow":"inset 0 0 0 0.1875rem #102E62",color:"#102E62"},disabled:{"box-shadow":"inset 0 0 0 0.125rem #BEBEBE",color:"#BEBEBE",cursor:"not-allowed"},"forced-color-mode":{border:"0.125rem solid"}}},"form-error-list":{"outline-offset":"0.125rem"},gap:{xs:"clamp(0.25rem, calc(0.09375rem + 0.78125vw), 0.875rem)",sm:"clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)",md:"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",lg:"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)",xl:"clamp(2rem, calc(0.75rem + 6.25vw), 7rem)"},grid:{"column-count":"4","column-gap":"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)","padding-block":{sm:"clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)",md:"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",lg:"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)"},"padding-inline":"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)","row-gap":{sm:"clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)",md:"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",lg:"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)"},medium:{"column-count":"8"},wide:{"column-count":"12"}},header:{"column-gap":"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)","padding-block":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","logo-link":{"outline-offset":"0.125rem"}},heading:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-weight":800,"inverse-color":"#FFFFFF",level:{1:{"font-size":"clamp(2.0842rem, calc(1.6897rem + 1.9724vw), 3.6621rem)","line-height":"1.2"},2:{"font-size":"clamp(1.7865rem, calc(1.5007rem + 1.429vw), 2.9297rem)","line-height":"1.25"},3:{"font-size":"clamp(1.5313rem, calc(1.3281rem + 1.0156vw), 2.3438rem)","line-height":"1.3"},4:{"font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","line-height":"1.5"},5:{"font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","line-height":"1.6"},6:{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"}}},hint:{color:"#767676"},"icon-button":{color:"#004699","outline-offset":"0.125rem",hover:{"background-color":"rgba(0, 70, 153, 0.125)",color:"#102E62"},disabled:{color:"#BEBEBE"},"contrast-color":{color:"#000000",hover:{"background-color":"rgba(0, 0, 0, 0.125)",color:"#000000"},disabled:{color:"#BEBEBE"}},"inverse-color":{"background-color":"#004699",color:"#FFFFFF",hover:{"background-color":"#102E62",color:"#FFFFFF"},disabled:{color:"#FFFFFF","background-color":"#BEBEBE"}}},icon:{"size-3":{"font-size":"clamp(1.5313rem, calc(1.3281rem + 1.0156vw), 2.3438rem)","line-height":"1.3"},"size-4":{"font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","line-height":"1.5"},"size-5":{"font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","line-height":"1.6"},"size-6":{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"}},"image-slider":{gap:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",scroller:{gap:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)","outline-offset":"0.125rem"},thumbnails:{gap:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",thumbnail:{"background-color":"transparent",cursor:"pointer",opacity:"40%","outline-offset":"0.125rem","in-view":{opacity:"100%"},hover:{opacity:"100%"}}}},label:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","font-weight":800,"line-height":"1.5"},"link-list":{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",link:{color:"#004699","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","line-height":"1.6","outline-offset":"0.125rem","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",small:{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"},large:{"font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","line-height":"1.5"},hover:{color:"#102E62","text-decoration-line":"underline"},"contrast-color":{color:"#000000",hover:{color:"#000000"}},"inverse-color":{color:"#FFFFFF",hover:{color:"#FFFFFF"}}}},link:{color:"#004699","font-family":"'Amsterdam Sans', Arial, sans-serif","font-weight":400,"outline-offset":"0.125rem",hover:{color:"#102E62"},inline:{"text-decoration-line":"underline","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em","font-family":"inherit","font-size":"inherit","line-height":"inherit",hover:{"text-decoration-thickness":"0.1875rem","text-underline-offset":"0.2778em"},visited:{color:"#A00078"}},standalone:{"font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","line-height":"1.6","text-decoration-line":"underline","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{"text-decoration-thickness":"0.1875rem","text-underline-offset":"0.2778em"}},"contrast-color":{color:"#000000",hover:{color:"#000000"},visited:{color:"#000000"}},"inverse-color":{color:"#FFFFFF",hover:{color:"#FFFFFF"},visited:{color:"#FFFFFF"}}},logo:{"block-size":"2.5rem",emblem:{color:"#EC0000"},title:{color:"#EC0000"},subsite:{color:"#000000"}},margin:{xs:"clamp(0.25rem, calc(0.09375rem + 0.78125vw), 0.875rem)",sm:"clamp(0.5rem, calc(0.1875rem + 1.5625vw), 1.75rem)",md:"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)",lg:"clamp(1.5rem, calc(0.5625rem + 4.6875vw), 5.25rem)",xl:"clamp(2rem, calc(0.75rem + 6.25vw), 7rem)"},mark:{"background-color":"#FFE600"},"mega-menu":{"list-category":{"column-gap":"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)","column-width":"20rem","padding-block-start":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","padding-block-end":"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)"}},"ordered-list":{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","inverse-color":"#FFFFFF","line-height":"1.6","list-style-type":"decimal",small:{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"},item:{"margin-inline-start":"2.25rem","padding-inline-start":"0.25rem"},"ordered-list":{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","list-style-type":"lower-alpha","padding-block-end":"0","padding-block-start":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",item:{"margin-inline-start":"1.5rem","padding-inline-start":"0.25rem"}}},"page-heading":{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(2.4316rem, calc(1.8951rem + 2.6826vw), 4.5776rem)","font-weight":800,"inverse-color":"#FFFFFF","line-height":"clamp(2.4316rem, calc(1.8951rem + 2.6826vw), 4.5776rem)"},"page-menu":{"column-gap":"clamp(1rem, calc(0.375rem + 3.125vw), 3.5rem)","row-gap":"clamp(0.25rem, calc(0.09375rem + 0.78125vw), 0.875rem)",item:{color:"#004699","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","line-height":"1.6","outline-offset":"0.125rem","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{color:"#102E62","text-decoration-line":"underline"}}},pagination:{color:"#004699","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6",button:{gap:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)","outline-offset":"0.125rem","padding-inline":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",current:{"font-weight":800},hover:{color:"#102E62","text-decoration-line":"underline"}}},paragraph:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","inverse-color":"#FFFFFF",small:{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"},large:{"font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","line-height":"1.5"}},"password-input":{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",disabled:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #BEBEBE",color:"#BEBEBE"},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000"},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}},placeholder:{color:"#767676"}},radio:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","line-height":"1.6","outline-offset":"0.125rem","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em","checked-indicator":{fill:"#004699",disabled:{fill:"#767676"},"disabled-invalid":{fill:"#767676",hover:{fill:"#767676"}},hover:{fill:"#102E62"},invalid:{fill:"#EC0000",hover:{fill:"#EC0000"}}},circle:{stroke:"#004699",disabled:{stroke:"#767676"},"disabled-invalid":{stroke:"#767676",hover:{stroke:"#767676"}},hover:{stroke:"#102E62"},invalid:{stroke:"#EC0000",hover:{stroke:"#EC0000"}}},disabled:{color:"#767676"},hover:{color:"#102E62","text-decoration-line":"underline"},"icon-container":{"block-size":"calc(clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem) * 1.6)","inline-size":"1.5rem"}},row:{gap:{no:"0",xs:"clamp(0.2813rem, 0.2578rem + 0.1172vw, 0.375rem)",sm:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",md:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",lg:"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)",xl:"clamp(2.25rem, 2.0625rem + 0.9375vw, 3rem)"}},screen:{"background-color":"#FFFFFF",wide:{"max-inline-size":"100rem"},"x-wide":{"max-inline-size":"132rem"}},"search-field":{button:{"background-color":"#004699",color:"#FFFFFF","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",hover:{"background-color":"#102E62"}},input:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","cancel-button":{"background-image":`url("data:image/svg+xml;utf8,")`,"block-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)",color:"#004699","inline-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)"},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000"},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}},placeholder:{color:"#767676"}}},select:{"background-color":"#FFFFFF","background-image":`url("data:image/svg+xml;utf8,")`,"background-position":"right clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem) center","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem) calc(2 * clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem) + 1em)",disabled:{"background-image":`url("data:image/svg+xml;utf8,")`,"box-shadow":"inset 0 0 0 0.0625rem #BEBEBE",color:"#BEBEBE"},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000"},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}},option:{disabled:{color:"#BEBEBE"}}},"skip-link":{"background-color":"#004699",color:"#FFFFFF","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",hover:{"background-color":"#102E62"}},spotlight:{blue:{"background-color":"#009DE6"},"dark-blue":{"background-color":"#004699"},"dark-green":{"background-color":"#00A03C"},green:{"background-color":"#BED200"},magenta:{"background-color":"#E50082"},orange:{"background-color":"#FF9100"},purple:{"background-color":"#A00078"},yellow:{"background-color":"#FFE600"}},switch:{"background-color":"#767676","font-family":"'Amsterdam Sans', Arial, sans-serif","outline-offset":"0.125rem","inline-size":"3.5rem",thumb:{"background-color":"#FFFFFF","inline-size":"1.75rem","block-size":"1.75rem",hover:{"box-shadow":"0 0 0 0.125rem #102E62",color:"#102E62"}},checked:{"background-color":"#004699"},disabled:{"background-color":"#BEBEBE"}},"table-of-contents":{"font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","line-height":"1.6",link:{color:"#004699","outline-offset":"0.125rem","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{color:"#102E62","text-decoration-line":"underline"}},list:{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",list:{"padding-block-start":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline-start":"clamp(1.6875rem, 1.5469rem + 0.7031vw, 2.25rem)"}},heading:{"font-weight":800,"font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","line-height":"1.5"}},table:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6",caption:{"font-weight":800},cell:{"border-block-end":"0.0625rem solid #E8E8E8","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)"},"header-cell":{"font-weight":800}},tabs:{gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",list:{"background-color":"#FFFFFF","border-block-end":"0.125rem solid #004699"},button:{color:"#004699",cursor:"pointer","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"-0.25rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",hover:{color:"#102E62","box-shadow":"inset 0 -0.125rem 0 0 #102E62"},selected:{"background-color":"#004699",color:"#FFFFFF"},disabled:{color:"#BEBEBE",cursor:"not-allowed"}}},"text-area":{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","min-block-size":"calc(1.6 * 1em + 2 * clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem))","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",disabled:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #BEBEBE",color:"#BEBEBE",cursor:"not-allowed"},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000"},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}},placeholder:{color:"#767676"}},"text-input":{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)",disabled:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #BEBEBE",color:"#BEBEBE"},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000"},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}},placeholder:{color:"#767676"}},"time-input":{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #000000",color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,"line-height":"1.6","outline-offset":"0.125rem","padding-block":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","padding-inline":"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","calender-picker-indicator":{"background-image":`url("data:image/svg+xml;utf8,")`},disabled:{"background-color":"#FFFFFF","box-shadow":"inset 0 0 0 0.0625rem #BEBEBE",color:"#BEBEBE","calender-picker-indicator":{"background-image":`url("data:image/svg+xml;utf8,")`}},hover:{"box-shadow":"inset 0 0 0 0.125rem #000000","calender-picker-indicator":{"background-image":`url("data:image/svg+xml;utf8,")`}},invalid:{"box-shadow":"inset 0 0 0 0.0625rem #EC0000",hover:{"box-shadow":"inset 0 0 0 0.125rem #EC0000"}}},"top-task-link":{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",description:{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","font-weight":400,"line-height":"1.6"},label:{color:"#004699","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.3125rem, calc(1.1719rem + 0.7031vw), 1.875rem)","font-weight":800,"line-height":"1.5","text-decoration-line":"none","text-decoration-thickness":"0.125rem","text-underline-offset":"0.3333em",hover:{color:"#102E62","text-decoration-line":"underline"}},"outline-offset":"0.125rem"},"unordered-list":{color:"#000000","font-family":"'Amsterdam Sans', Arial, sans-serif","font-size":"clamp(1.125rem, calc(1.0313rem + 0.4688vw), 1.5rem)","font-weight":400,gap:"clamp(1.125rem, 1.0313rem + 0.4688vw, 1.5rem)","inverse-color":"#FFFFFF","line-height":"1.6","list-style-type":"'\\2022'",item:{"margin-inline-start":"1.625rem","padding-inline-start":"0.875rem"},"unordered-list":{gap:"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)","list-style-type":"'\\2013'","padding-block-end":"0","padding-block-start":"clamp(0.5625rem, 0.5156rem + 0.2344vw, 0.75rem)",item:{"margin-inline-start":"0.875rem","padding-inline-start":"0.875rem"}},small:{"font-size":"clamp(0.9643rem, calc(0.9054rem + 0.2946vw), 1.2rem)","line-height":"1.6"}}},l={ams:v},c=h.forwardRef(({children:o,...m},d)=>e.jsx("div",{...m,ref:d,className:"ams-storybook-color-palette",children:o}));c.displayName="ColorPalette";const t=({children:o})=>e.jsx("div",{className:"ams-storybook-color-palette__section",children:o});t.displayName="ColorPalette.Section";const s=({name:o,color:m})=>e.jsxs("div",{className:"ams-storybook-color-palette__tile",children:[e.jsx("div",{className:"ams-storybook-color-palette__example",style:{backgroundColor:m}}),e.jsxs("dl",{className:"sb-unstyled ams-storybook-color-palette__description",children:[e.jsx("dt",{className:"ams-storybook-color-palette__name",children:o}),e.jsx("dd",{className:"ams-storybook-color-palette__color",children:m})]})]});s.displayName="ColorPalette.Tile";const r=Object.assign(c,{Section:t,Tile:s});try{r.displayName="ColorPalette",r.__docgenInfo={description:"",displayName:"ColorPalette",props:{}}}catch{}/*@license CC0-1.0*/function i(o){const m={h1:"h1",p:"p",...n(),...o.components};return r||a("ColorPalette",!1),r.Section||a("ColorPalette.Section",!0),r.Tile||a("ColorPalette.Tile",!0),e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(g,{title:"Brand/Design Tokens/Colour"}),` `,e.jsx(p,{reason:"The set of available colours and their names will change."}),` diff --git a/demo-1732-error-on-icon-prop/assets/config-BBOtvoZc.js b/demo-1732-error-on-icon-prop/assets/config-aPKURfrr.js similarity index 86% rename from demo-1732-error-on-icon-prop/assets/config-BBOtvoZc.js rename to demo-1732-error-on-icon-prop/assets/config-aPKURfrr.js index 4a4681853d..00cf6afe52 100644 --- a/demo-1732-error-on-icon-prop/assets/config-BBOtvoZc.js +++ b/demo-1732-error-on-icon-prop/assets/config-aPKURfrr.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as n,b as t,c as i,s as o,S as c,t as d}from"./index.esm-jyjgLnxG.js";import{A as l}from"./PageMenu.stories-BCcfa8-E.js";import{D as m}from"./Footer.stories-CB9baubF.js";const p=()=>{var r;return e.jsx(n,{children:e.jsx(n.Cell,{span:"all",children:e.jsx(t,{links:e.jsx(i,{alignEnd:!0,children:(r=l.args)==null?void 0:r.children}),menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})})})})},s=({children:r})=>{var a;return e.jsxs(e.Fragment,{children:[e.jsx(o,{href:"#main",children:"Direct naar inhoud"}),e.jsxs(c,{maxWidth:"wide",children:[e.jsx(p,{}),r,e.jsx(d,{children:(a=m.args)==null?void 0:a.children})]})]})};try{s.displayName="Layout",s.__docgenInfo={description:"",displayName:"Layout",props:{}}}catch{}const _={decorators:[r=>e.jsx(s,{children:e.jsx(r,{})})],parameters:{layout:"fullscreen",themes:{themeOverride:"Spacious"}}};export{_ as c}; +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{G as n,b as t,c as i,s as o,S as c,t as d}from"./index.esm-DEmhLKYr.js";import{A as l}from"./PageMenu.stories-BCcfa8-E.js";import{D as m}from"./Footer.stories-C2lX89Aa.js";const p=()=>{var r;return e.jsx(n,{children:e.jsx(n.Cell,{span:"all",children:e.jsx(t,{links:e.jsx(i,{alignEnd:!0,children:(r=l.args)==null?void 0:r.children}),menu:e.jsx("button",{className:"ams-header__menu-button",children:"Menu"})})})})},s=({children:r})=>{var a;return e.jsxs(e.Fragment,{children:[e.jsx(o,{href:"#main",children:"Direct naar inhoud"}),e.jsxs(c,{maxWidth:"wide",children:[e.jsx(p,{}),r,e.jsx(d,{children:(a=m.args)==null?void 0:a.children})]})]})};try{s.displayName="Layout",s.__docgenInfo={description:"",displayName:"Layout",props:{}}}catch{}const _={decorators:[r=>e.jsx(s,{children:e.jsx(r,{})})],parameters:{layout:"fullscreen",themes:{themeOverride:"Spacious"}}};export{_ as c}; diff --git a/demo-1732-error-on-icon-prop/assets/copyright.docs-DLoH-t_e.js b/demo-1732-error-on-icon-prop/assets/copyright.docs-B5rIQQRC.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/copyright.docs-DLoH-t_e.js rename to demo-1732-error-on-icon-prop/assets/copyright.docs-B5rIQQRC.js index 8de9b7f53e..ce29087976 100644 --- a/demo-1732-error-on-icon-prop/assets/copyright.docs-DLoH-t_e.js +++ b/demo-1732-error-on-icon-prop/assets/copyright.docs-B5rIQQRC.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as s,aq as a}from"./index-fGKZZBv1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";const i=` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as s,aq as a}from"./index-Cnpsjyel.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";const i=` # Copyright diff --git a/demo-1732-error-on-icon-prop/assets/entry-preview-Cvv9CN9D.js b/demo-1732-error-on-icon-prop/assets/entry-preview-Cdzc4m9t.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/entry-preview-Cvv9CN9D.js rename to demo-1732-error-on-icon-prop/assets/entry-preview-Cdzc4m9t.js index 30672f872b..ea1acb7ca2 100644 --- a/demo-1732-error-on-icon-prop/assets/entry-preview-Cvv9CN9D.js +++ b/demo-1732-error-on-icon-prop/assets/entry-preview-Cdzc4m9t.js @@ -1,5 +1,5 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./react-18-Dbhu8A1k.js","./index-B-o1Wr-g.js","./_commonjsHelpers-Cpj98o6Y.js","./index-DolzVqEf.js"])))=>i.map(i=>d[i]); -import{_ as tr}from"./iframe-e7YraeZa.js";import{_ as sr,a as nr,b as L}from"./chunk-XP5HYGXS-BGCqD1aY.js";import{r as Y,R as re}from"./index-B-o1Wr-g.js";import{r as ar}from"./index-DolzVqEf.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";var b={};/** +import{_ as tr}from"./iframe-D2ZBSuFq.js";import{_ as sr,a as nr,b as L}from"./chunk-XP5HYGXS-BGCqD1aY.js";import{r as Y,R as re}from"./index-B-o1Wr-g.js";import{r as ar}from"./index-DolzVqEf.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-Cpj98o6Y.js";var b={};/** * @license React * react-dom-test-utils.production.min.js * diff --git a/demo-1732-error-on-icon-prop/assets/favicon.docs-yJZ4WR-W.js b/demo-1732-error-on-icon-prop/assets/favicon.docs-DemUi0p7.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/favicon.docs-yJZ4WR-W.js rename to demo-1732-error-on-icon-prop/assets/favicon.docs-DemUi0p7.js index 5a79f1e0e9..e21ee41b25 100644 --- a/demo-1732-error-on-icon-prop/assets/favicon.docs-yJZ4WR-W.js +++ b/demo-1732-error-on-icon-prop/assets/favicon.docs-DemUi0p7.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as t}from"./index-fGKZZBv1.js";import{F as a,S as r,A as l}from"./AppIcons-Dtqr_rt6.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";/*@license CC0-1.0*/function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...o(),...s.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as t}from"./index-Cnpsjyel.js";import{F as a,S as r,A as l}from"./AppIcons-DitZmZ8_.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";/*@license CC0-1.0*/function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...o(),...s.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(t,{title:"Brand/Assets/Favicon"}),` `,e.jsx(n.h1,{id:"favicon",children:"Favicon"}),` diff --git a/demo-1732-error-on-icon-prop/assets/font.docs-CNEVnn9Y.js b/demo-1732-error-on-icon-prop/assets/font.docs-CqbjMcoV.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/font.docs-CNEVnn9Y.js rename to demo-1732-error-on-icon-prop/assets/font.docs-CqbjMcoV.js index 3662df021e..9954ba5f0f 100644 --- a/demo-1732-error-on-icon-prop/assets/font.docs-CNEVnn9Y.js +++ b/demo-1732-error-on-icon-prop/assets/font.docs-CqbjMcoV.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,af as r}from"./index-fGKZZBv1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function t(s){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...o(),...s.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as o}from"./index-BSj771as.js";import{ae as i,af as r}from"./index-Cnpsjyel.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function t(s){const n={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...o(),...s.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(i,{title:"Brand/Assets/Font"}),` `,e.jsx(n.h1,{id:"font",children:"Font"}),` diff --git a/demo-1732-error-on-icon-prop/assets/getting-started.docs-BKC2BkFY.js b/demo-1732-error-on-icon-prop/assets/getting-started.docs-DVFO7S2I.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/getting-started.docs-BKC2BkFY.js rename to demo-1732-error-on-icon-prop/assets/getting-started.docs-DVFO7S2I.js index 620f2d8c3b..7a49fa8ec2 100644 --- a/demo-1732-error-on-icon-prop/assets/getting-started.docs-BKC2BkFY.js +++ b/demo-1732-error-on-icon-prop/assets/getting-started.docs-DVFO7S2I.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as a}from"./index-fGKZZBv1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function n(s){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as a}from"./index-Cnpsjyel.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function n(s){const t={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...r(),...s.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(a,{title:"Docs/Developer Guide/Getting Started"}),` `,e.jsx(t.h1,{id:"getting-started",children:"Getting Started"}),` diff --git a/demo-1732-error-on-icon-prop/assets/grid.docs-CEB85bZW.js b/demo-1732-error-on-icon-prop/assets/grid.docs-DbrxocRE.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/grid.docs-CEB85bZW.js rename to demo-1732-error-on-icon-prop/assets/grid.docs-DbrxocRE.js index a0a299f1ad..113cd72ea9 100644 --- a/demo-1732-error-on-icon-prop/assets/grid.docs-CEB85bZW.js +++ b/demo-1732-error-on-icon-prop/assets/grid.docs-DbrxocRE.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as l}from"./index-fGKZZBv1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function n(i){const t={a:"a",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...s(),...i.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as l}from"./index-Cnpsjyel.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function n(i){const t={a:"a",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...s(),...i.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(l,{title:"Brand/Design Tokens/Grid"}),` `,e.jsx(t.h1,{id:"grid",children:"Grid"}),` diff --git a/demo-1732-error-on-icon-prop/assets/icons.docs-DVCGpC_G.js b/demo-1732-error-on-icon-prop/assets/icons.docs-ClD6Js2W.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/icons.docs-DVCGpC_G.js rename to demo-1732-error-on-icon-prop/assets/icons.docs-ClD6Js2W.js index 725389364b..a42776898f 100644 --- a/demo-1732-error-on-icon-prop/assets/icons.docs-DVCGpC_G.js +++ b/demo-1732-error-on-icon-prop/assets/icons.docs-ClD6Js2W.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{au as i,av as c,ae as a}from"./index-fGKZZBv1.js";import{I as s}from"./index.esm-DoGgRjwu.js";import{I as m}from"./Icon-D1obyjGa.js";import{S as l}from"./StatusBadge-Ck_iCwDF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Badge-jE39d5Kk.js";const p=()=>{const t=Object.keys(s);return n.jsx(i,{children:t.map(o=>n.jsx(c,{name:o.substring(0,o.length-4),children:n.jsx(m,{svg:s[o]})},o))})};/*@license CC0-1.0*/function e(t){const o={a:"a",h1:"h1",h2:"h2",li:"li",p:"p",ul:"ul",...r(),...t.components};return n.jsxs(n.Fragment,{children:[` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{au as i,av as c,ae as a}from"./index-Cnpsjyel.js";import{I as s}from"./index.esm-DoGgRjwu.js";import{I as m}from"./Icon-D1obyjGa.js";import{S as l}from"./StatusBadge-Ck_iCwDF.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Badge-jE39d5Kk.js";const p=()=>{const t=Object.keys(s);return n.jsx(i,{children:t.map(o=>n.jsx(c,{name:o.substring(0,o.length-4),children:n.jsx(m,{svg:s[o]})},o))})};/*@license CC0-1.0*/function e(t){const o={a:"a",h1:"h1",h2:"h2",li:"li",p:"p",ul:"ul",...r(),...t.components};return n.jsxs(n.Fragment,{children:[` `,` `,n.jsx(a,{title:"Brand/Assets/Icons"}),` `,n.jsx(l,{reason:"The set of available icons will change."}),` diff --git a/demo-1732-error-on-icon-prop/assets/iframe-e7YraeZa.js b/demo-1732-error-on-icon-prop/assets/iframe-D2ZBSuFq.js similarity index 58% rename from demo-1732-error-on-icon-prop/assets/iframe-e7YraeZa.js rename to demo-1732-error-on-icon-prop/assets/iframe-D2ZBSuFq.js index 9ec202a212..f6340e1c13 100644 --- a/demo-1732-error-on-icon-prop/assets/iframe-e7YraeZa.js +++ b/demo-1732-error-on-icon-prop/assets/iframe-D2ZBSuFq.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Accordion.docs-Bl0HEu-d.js","./jsx-runtime-j_jdvEMj.js","./index-B-o1Wr-g.js","./_commonjsHelpers-Cpj98o6Y.js","./index-BSj771as.js","./index-fGKZZBv1.js","./index-DolzVqEf.js","./index-D-8MO0q_.js","./index-CJyPbrN5.js","./index-DrFu-skq.js","./Accordion.stories-BcDWirK7.js","./index.esm-jyjgLnxG.js","./clsx-B-dksMZM.js","./index.esm-DoGgRjwu.js","./exampleContent-hIIPvEhU.js","./getHeadingTag-Dv1eMqvl.js","./Icon-D1obyjGa.js","./useKeyboardFocus-CRUFsA_C.js","./ActionGroup.docs-Bb2Oca6E.js","./ActionGroup.stories-DTegxGdB.js","./Alert.docs-B9kZ7sHv.js","./Alert.stories-CB_ZUHia.js","./Alert-Cj2Qy2vp.js","./Heading-BMR-3CH3.js","./IconButton-D2q6GTZc.js","./AspectRatio.docs-CKMb3EOy.js","./AspectRatio.stories-Bg96E_B9.js","./Avatar.docs-BOKzXzq5.js","./Avatar.stories-DqfN3h4o.js","./Image-9n1GiQZ0.js","./Badge.docs-DPqlLB-p.js","./Badge.stories-7hJOo2XW.js","./Badge-jE39d5Kk.js","./Blockquote.docs-B-QRCSmb.js","./Blockquote.stories-dmSqBBoc.js","./decorators-DYZ3zH5Z.js","./Breadcrumb.docs-BXVnpA7l.js","./Breadcrumb.stories-EowaNKYC.js","./Breakout.docs-CArcjKCM.js","./Breakout.stories-DnrOdCQt.js","./paddingClasses-C5gheHLv.js","./Button.docs-BYeAPfZF.js","./Button.stories-DMuaDOUT.js","./Card.docs-BPxQINFr.js","./Card.stories-B_mV-6l0.js","./Paragraph-DZy4cHOZ.js","./CharacterCount.docs-Dg3Ri327.js","./CharacterCount.stories-BuZ7Uh_6.js","./Checkbox.docs-BsLHbG2Q.js","./Checkbox.stories-ILO3mGvJ.js","./Column.docs-CJ52zRaZ.js","./Column.stories-5wDLVxxb.js","./layout-B5YJ6HHW.js","./DateInput.docs-CPjuz0xA.js","./DateInput.stories-DEDg7dUv.js","./DescriptionList.docs-C0ebttrR.js","./DescriptionList.stories-CCEZtbUz.js","./Dialog.docs-D717M1nc.js","./Dialog.stories-CbRS7H0H.js","./ErrorMessage.docs-DFcH_6Jl.js","./ErrorMessage.stories-B3cj9aqo.js","./Field.docs-CSqBqSaQ.js","./Field.stories-C2lEV-pv.js","./FieldSet.docs-DmElKFpQ.js","./FieldSet.stories-mOaJO1Nk.js","./Hint-rQy8SNzx.js","./FileInput.docs-_HzvzTSO.js","./FileInput.stories-C1jHs54v.js","./Footer.docs-CD045wRD.js","./Footer.stories-CB9baubF.js","./PageMenu.stories-BCcfa8-E.js","./Spotlight-iwYL-F79.js","./FormErrorList.docs-C6Zdp5Fi.js","./FormErrorList.stories-BGBZZzNP.js","./LinkList-KzJ1IdI0.js","./Grid.docs-ReQJyhM3.js","./Grid.stories-K0qq64oO.js","./Header.docs-CrghoJgY.js","./Header.stories-jC3xkiG6.js","./Logo-BnxYOw7m.js","./StatusBadge-Ck_iCwDF.js","./StatusBadge-BPsnsflc.css","./Heading.docs-LWX5q18v.js","./Heading.stories-DTZ0IQLd.js","./Icon.docs-uCOS7zZl.js","./Icon.stories-C7OdcWm_.js","./IconButton.docs-BYD6Tyld.js","./IconButton.stories-B91M3ZRI.js","./Image.docs-BcIDWXam.js","./Image.stories-C6o__ADK.js","./ImageSlider.docs-CfqG4hWY.js","./ImageSlider.stories-CWDOrUhm.js","./Screen-CvK1H_-v.js","./Label.docs-D0WKjC6R.js","./Label.stories-Dcrx0ofz.js","./Link.docs-CNAZHbE7.js","./Link.stories-CSJavp70.js","./LinkList.docs-CzEY7VOc.js","./LinkList.stories-DSfyODAB.js","./Logo.docs-BP219a8M.js","./Logo.stories-1D2Iq0g9.js","./Mark.docs-DI3eNwMu.js","./Mark.stories-3cGMXrpb.js","./MegaMenu.docs-CnVraQEN.js","./MegaMenu.stories-D_LnuVs8.js","./OrderedList.docs-CbGwbKSd.js","./OrderedList.stories-DaET4DyX.js","./Overlap.docs-CxBeYdyj.js","./Overlap.stories-D7pCAahe.js","./PageHeading.docs-JukuYm-p.js","./PageHeading.stories-DFJLHWJS.js","./PageMenu.docs-bhYAJi1G.js","./Pagination.docs-ysDJUY0e.js","./Pagination.stories-CoYu-8yI.js","./Paragraph.docs-q5NggBIl.js","./Paragraph.stories-ClnGZglM.js","./PasswordInput.docs-CpagPfvR.js","./PasswordInput.stories-Bxcsv8lG.js","./Radio.docs-CV-N2UkB.js","./Radio.stories-CrYAC0gY.js","./Row.docs-Cs4u7zwS.js","./Row.stories-ojCqU-H2.js","./Screen.docs-Ck7uyIjf.js","./Screen.stories-CAM2F1Py.js","./SearchField.docs-BG_MBK3b.js","./SearchField.stories-D19KI_ea.js","./Select.docs-N4OVIZRd.js","./Select.stories-KTVt-N4X.js","./SkipLink.docs-CZse-pqn.js","./SkipLink.stories-APFfIDLa.js","./Spotlight.docs-B2eyHfDX.js","./Spotlight.stories-AUa6q2Kg.js","./Switch.docs-CCdDVgAs.js","./Switch.stories-D4n77XeM.js","./Table.docs-CjB5p7hy.js","./Table.stories-BhkPPk6Y.js","./TableOfContents.docs-DWEGdj8s.js","./TableOfContents.stories-CDYIQLGg.js","./Tabs.docs-CSrwkQSo.js","./Tabs.stories-F6OKHLJp.js","./TextArea.docs-BBLUHu2o.js","./TextArea.stories-ClW0Ydtr.js","./TextInput.docs-bIj4vGbN.js","./TextInput.stories-6Mh6Kbek.js","./TimeInput.docs-Dpvnn9o7.js","./TimeInput.stories-CRugeu55.js","./TopTaskLink.docs-DQ9EWuwG.js","./TopTaskLink.stories-Bt2Nipkt.js","./UnorderedList.docs-CA0SCvfD.js","./UnorderedList.stories-CVhI80zY.js","./breakpoints.docs-BMU429QR.js","./getting-started.docs-BKC2BkFY.js","./interactivity.docs-BpqPEj8w.js","./language.docs-BtlaEYwY.js","./routing-libraries.docs-B_YvTwmV.js","./usability.docs-cDefgnVp.js","./web-app.docs-qUQYKEIC.js","./AppIcons-Dtqr_rt6.js","./introduction.docs-B8x97DR7.js","./copyright.docs-DLoH-t_e.js","./license.docs-CN0gweL2.js","./favicon.docs-yJZ4WR-W.js","./font.docs-CNEVnn9Y.js","./icons.docs-DVCGpC_G.js","./border.docs-B9Kv2wcC.js","./colour.docs-yLU405NI.js","./colour-BjcP5lEj.css","./grid.docs-CEB85bZW.js","./space.docs-CQ7Xg4IH.js","./text.docs-nOv4q5Tu.js","./Introduction.docs-BloUnywk.js","./ArticlePage.docs-D_ZO0x2o.js","./ArticlePage.stories-BfsH0ODX.js","./config-BBOtvoZc.js","./FormPage.docs-CHiAO8ZP.js","./FormPage.stories-DdUsTDvf.js","./HomePage.docs-Dm7P_-nE.js","./HomePage.stories-DyLa0JE6.js","./Gap.docs-D_8zJLrb.js","./Gap.stories-BjZdlVEO.js","./Margin.docs-BAzoW7OM.js","./Margin.stories-CMDBOVdi.js","./VisuallyHidden.docs-0p6dIiLt.js","./VisuallyHidden.stories-CtIQOMzr.js","./entry-preview-Cvv9CN9D.js","./chunk-XP5HYGXS-BGCqD1aY.js","./entry-preview-docs-BexTP7_g.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-BWzBA1C2.js","./preview-q6KVDenL.js","./preview-D7AJbNWb.css"])))=>i.map(i=>d[i]); -import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const _ of e.addedNodes)_.tagName==="LINK"&&_.rel==="modulepreload"&&a(_)}).observe(document,{childList:!0,subtree:!0});function c(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function a(o){if(o.ep)return;o.ep=!0;const e=c(o);fetch(o.href,e)}})();const T="modulepreload",I=function(r,i){return new URL(r,i).href},L={},t=function(i,c,a){let o=Promise.resolve();if(c&&c.length>0){const _=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(c.map(m=>{if(m=I(m,a),m in L)return;L[m]=!0;const p=m.endsWith(".css"),O=p?'[rel="stylesheet"]':"";if(!!a)for(let d=_.length-1;d>=0;d--){const u=_[d];if(u.href===m&&(!p||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${O}`))return;const n=document.createElement("link");if(n.rel=p?"stylesheet":T,p||(n.as="script"),n.crossOrigin="",n.href=m,l&&n.setAttribute("nonce",l),document.head.appendChild(n),p)return new Promise((d,u)=>{n.addEventListener("load",d),n.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${m}`)))})}))}function e(_){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=_,window.dispatchEvent(s),!s.defaultPrevented)throw _}return o.then(_=>{for(const s of _||[])s.status==="rejected"&&e(s.reason);return i().catch(e)})},{createBrowserChannel:P}=__STORYBOOK_MODULE_CHANNELS__,{addons:R}=__STORYBOOK_MODULE_PREVIEW_API__,E=P({page:"preview"});R.setChannel(E);window.__STORYBOOK_ADDONS_CHANNEL__=E;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=E);const A={"./src/components/Accordion/Accordion.docs.mdx":async()=>t(()=>import("./Accordion.docs-Bl0HEu-d.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),"./src/components/Accordion/Accordion.stories.tsx":async()=>t(()=>import("./Accordion.stories-BcDWirK7.js").then(r=>r.A),__vite__mapDeps([10,1,2,3,11,12,13,14,15,16,17]),import.meta.url),"./src/components/ActionGroup/ActionGroup.docs.mdx":async()=>t(()=>import("./ActionGroup.docs-Bb2Oca6E.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,8,9,19,11,12,13]),import.meta.url),"./src/components/ActionGroup/ActionGroup.stories.tsx":async()=>t(()=>import("./ActionGroup.stories-DTegxGdB.js").then(r=>r.A),__vite__mapDeps([19,1,2,3,11,12,13]),import.meta.url),"./src/components/Alert/Alert.docs.mdx":async()=>t(()=>import("./Alert.docs-B9kZ7sHv.js"),__vite__mapDeps([20,1,2,3,4,5,6,7,8,9,21,11,12,13,22,16,23,15,24]),import.meta.url),"./src/components/Alert/Alert.stories.tsx":async()=>t(()=>import("./Alert.stories-CB_ZUHia.js").then(r=>r.A),__vite__mapDeps([21,1,2,3,11,12,13,22,16,23,15,24]),import.meta.url),"./src/components/AspectRatio/AspectRatio.docs.mdx":async()=>t(()=>import("./AspectRatio.docs-CKMb3EOy.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,26,11,12,13]),import.meta.url),"./src/components/AspectRatio/AspectRatio.stories.tsx":async()=>t(()=>import("./AspectRatio.stories-Bg96E_B9.js").then(r=>r.A),__vite__mapDeps([26,1,2,3,11,12,13]),import.meta.url),"./src/components/Avatar/Avatar.docs.mdx":async()=>t(()=>import("./Avatar.docs-BOKzXzq5.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,28,11,12,13,29,16]),import.meta.url),"./src/components/Avatar/Avatar.stories.tsx":async()=>t(()=>import("./Avatar.stories-DqfN3h4o.js").then(r=>r.A),__vite__mapDeps([28,1,2,3,11,12,13,29,16]),import.meta.url),"./src/components/Badge/Badge.docs.mdx":async()=>t(()=>import("./Badge.docs-DPqlLB-p.js"),__vite__mapDeps([30,1,2,3,4,5,6,7,8,9,31,32,12]),import.meta.url),"./src/components/Badge/Badge.stories.tsx":async()=>t(()=>import("./Badge.stories-7hJOo2XW.js").then(r=>r.B),__vite__mapDeps([31,32,1,2,3,12]),import.meta.url),"./src/components/Blockquote/Blockquote.docs.mdx":async()=>t(()=>import("./Blockquote.docs-B-QRCSmb.js"),__vite__mapDeps([33,1,2,3,4,5,6,7,8,9,34,35,14,12]),import.meta.url),"./src/components/Blockquote/Blockquote.stories.tsx":async()=>t(()=>import("./Blockquote.stories-dmSqBBoc.js").then(r=>r.B),__vite__mapDeps([34,35,1,2,3,14,12]),import.meta.url),"./src/components/Breadcrumb/Breadcrumb.docs.mdx":async()=>t(()=>import("./Breadcrumb.docs-BXVnpA7l.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,37,12]),import.meta.url),"./src/components/Breadcrumb/Breadcrumb.stories.tsx":async()=>t(()=>import("./Breadcrumb.stories-EowaNKYC.js").then(r=>r.B),__vite__mapDeps([37,1,2,3,12]),import.meta.url),"./src/components/Breakout/Breakout.docs.mdx":async()=>t(()=>import("./Breakout.docs-CArcjKCM.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,39,11,12,13,40]),import.meta.url),"./src/components/Breakout/Breakout.stories.tsx":async()=>t(()=>import("./Breakout.stories-DnrOdCQt.js").then(r=>r.B),__vite__mapDeps([39,1,2,3,11,12,13,40]),import.meta.url),"./src/components/Button/Button.docs.mdx":async()=>t(()=>import("./Button.docs-BYeAPfZF.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,42,13,12,16]),import.meta.url),"./src/components/Button/Button.stories.tsx":async()=>t(()=>import("./Button.stories-DMuaDOUT.js").then(r=>r.B),__vite__mapDeps([42,1,2,3,13,12,16]),import.meta.url),"./src/components/Card/Card.docs.mdx":async()=>t(()=>import("./Card.docs-BPxQINFr.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,44,11,12,13,14,45]),import.meta.url),"./src/components/Card/Card.stories.tsx":async()=>t(()=>import("./Card.stories-B_mV-6l0.js").then(r=>r.C),__vite__mapDeps([44,1,2,3,11,12,13,14,45]),import.meta.url),"./src/components/CharacterCount/CharacterCount.docs.mdx":async()=>t(()=>import("./CharacterCount.docs-Dg3Ri327.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,47,12]),import.meta.url),"./src/components/CharacterCount/CharacterCount.stories.tsx":async()=>t(()=>import("./CharacterCount.stories-BuZ7Uh_6.js").then(r=>r.C),__vite__mapDeps([47,1,2,3,12]),import.meta.url),"./src/components/Checkbox/Checkbox.docs.mdx":async()=>t(()=>import("./Checkbox.docs-BsLHbG2Q.js"),__vite__mapDeps([48,1,2,3,4,5,6,7,8,9,49,11,12,13]),import.meta.url),"./src/components/Checkbox/Checkbox.stories.tsx":async()=>t(()=>import("./Checkbox.stories-ILO3mGvJ.js").then(r=>r.C),__vite__mapDeps([49,1,2,3,11,12,13]),import.meta.url),"./src/components/Column/Column.docs.mdx":async()=>t(()=>import("./Column.docs-CJ52zRaZ.js"),__vite__mapDeps([50,1,2,3,4,5,6,7,8,9,51,11,12,13,52]),import.meta.url),"./src/components/Column/Column.stories.tsx":async()=>t(()=>import("./Column.stories-5wDLVxxb.js").then(r=>r.C),__vite__mapDeps([51,1,2,3,11,12,13,52]),import.meta.url),"./src/components/DateInput/DateInput.docs.mdx":async()=>t(()=>import("./DateInput.docs-CPjuz0xA.js"),__vite__mapDeps([53,1,2,3,4,5,6,7,8,9,54,11,12,13]),import.meta.url),"./src/components/DateInput/DateInput.stories.tsx":async()=>t(()=>import("./DateInput.stories-DEDg7dUv.js").then(r=>r.D),__vite__mapDeps([54,1,2,3,11,12,13]),import.meta.url),"./src/components/DescriptionList/DescriptionList.docs.mdx":async()=>t(()=>import("./DescriptionList.docs-C0ebttrR.js"),__vite__mapDeps([55,1,2,3,4,5,6,7,8,9,56,11,12,13,35]),import.meta.url),"./src/components/DescriptionList/DescriptionList.stories.tsx":async()=>t(()=>import("./DescriptionList.stories-CCEZtbUz.js").then(r=>r.D),__vite__mapDeps([56,1,2,3,11,12,13,35]),import.meta.url),"./src/components/Dialog/Dialog.docs.mdx":async()=>t(()=>import("./Dialog.docs-D717M1nc.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,58,11,12,13,23,15,24,16]),import.meta.url),"./src/components/Dialog/Dialog.stories.tsx":async()=>t(()=>import("./Dialog.stories-CbRS7H0H.js").then(r=>r.D),__vite__mapDeps([58,1,2,3,11,12,13,23,15,24,16]),import.meta.url),"./src/components/ErrorMessage/ErrorMessage.docs.mdx":async()=>t(()=>import("./ErrorMessage.docs-DFcH_6Jl.js"),__vite__mapDeps([59,1,2,3,4,5,6,7,8,9,60,12]),import.meta.url),"./src/components/ErrorMessage/ErrorMessage.stories.tsx":async()=>t(()=>import("./ErrorMessage.stories-B3cj9aqo.js").then(r=>r.E),__vite__mapDeps([60,1,2,3,12]),import.meta.url),"./src/components/Field/Field.docs.mdx":async()=>t(()=>import("./Field.docs-CSqBqSaQ.js"),__vite__mapDeps([61,1,2,3,4,5,6,7,8,9,62,11,12,13]),import.meta.url),"./src/components/Field/Field.stories.tsx":async()=>t(()=>import("./Field.stories-C2lEV-pv.js").then(r=>r.F),__vite__mapDeps([62,1,2,3,11,12,13]),import.meta.url),"./src/components/FieldSet/FieldSet.docs.mdx":async()=>t(()=>import("./FieldSet.docs-DmElKFpQ.js"),__vite__mapDeps([63,1,2,3,4,5,6,7,8,9,64,11,12,13,65]),import.meta.url),"./src/components/FieldSet/FieldSet.stories.tsx":async()=>t(()=>import("./FieldSet.stories-mOaJO1Nk.js").then(r=>r.F),__vite__mapDeps([64,1,2,3,11,12,13,65]),import.meta.url),"./src/components/FileInput/FileInput.docs.mdx":async()=>t(()=>import("./FileInput.docs-_HzvzTSO.js"),__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,67,11,12,13]),import.meta.url),"./src/components/FileInput/FileInput.stories.tsx":async()=>t(()=>import("./FileInput.stories-C1jHs54v.js").then(r=>r.F),__vite__mapDeps([67,1,2,3,11,12,13]),import.meta.url),"./src/components/Footer/Footer.docs.mdx":async()=>t(()=>import("./Footer.docs-CD045wRD.js"),__vite__mapDeps([68,1,2,3,4,5,6,7,8,9,69,11,12,13,70,16,71]),import.meta.url),"./src/components/Footer/Footer.stories.tsx":async()=>t(()=>import("./Footer.stories-CB9baubF.js").then(r=>r.F),__vite__mapDeps([69,1,2,3,11,12,13,70,16,71]),import.meta.url),"./src/components/FormErrorList/FormErrorList.docs.mdx":async()=>t(()=>import("./FormErrorList.docs-C6Zdp5Fi.js"),__vite__mapDeps([72,1,2,3,4,5,6,7,8,9,73,12,22,13,16,23,15,24,74]),import.meta.url),"./src/components/FormErrorList/FormErrorList.stories.tsx":async()=>t(()=>import("./FormErrorList.stories-BGBZZzNP.js").then(r=>r.F),__vite__mapDeps([73,1,2,3,12,22,13,16,23,15,24,74]),import.meta.url),"./src/components/Grid/Grid.docs.mdx":async()=>t(()=>import("./Grid.docs-ReQJyhM3.js"),__vite__mapDeps([75,1,2,3,4,5,6,7,8,9,76,11,12,13,40]),import.meta.url),"./src/components/Grid/Grid.stories.tsx":async()=>t(()=>import("./Grid.stories-K0qq64oO.js").then(r=>r.G),__vite__mapDeps([76,1,2,3,11,12,13,40]),import.meta.url),"./src/components/Header/Header.docs.mdx":async()=>t(()=>import("./Header.docs-CrghoJgY.js"),__vite__mapDeps([77,1,2,3,4,5,6,7,8,9,78,11,12,13,79,23,15,80,32,81]),import.meta.url),"./src/components/Header/Header.stories.tsx":async()=>t(()=>import("./Header.stories-jC3xkiG6.js").then(r=>r.H),__vite__mapDeps([78,1,2,3,11,12,13,79,23,15]),import.meta.url),"./src/components/Heading/Heading.docs.mdx":async()=>t(()=>import("./Heading.docs-LWX5q18v.js"),__vite__mapDeps([82,1,2,3,4,5,6,7,8,9,83,11,12,13,35,14,23,15]),import.meta.url),"./src/components/Heading/Heading.stories.tsx":async()=>t(()=>import("./Heading.stories-DTZ0IQLd.js").then(r=>r.H),__vite__mapDeps([83,1,2,3,11,12,13,35,14,23,15]),import.meta.url),"./src/components/Icon/Icon.docs.mdx":async()=>t(()=>import("./Icon.docs-uCOS7zZl.js"),__vite__mapDeps([84,1,2,3,4,5,6,7,8,9,85,11,12,13,16,80,32,81]),import.meta.url),"./src/components/Icon/Icon.stories.tsx":async()=>t(()=>import("./Icon.stories-C7OdcWm_.js").then(r=>r.I),__vite__mapDeps([85,1,2,3,11,12,13,16]),import.meta.url),"./src/components/IconButton/IconButton.docs.mdx":async()=>t(()=>import("./IconButton.docs-BYD6Tyld.js"),__vite__mapDeps([86,1,2,3,4,5,6,7,8,9,87,13,35,24,12,16]),import.meta.url),"./src/components/IconButton/IconButton.stories.tsx":async()=>t(()=>import("./IconButton.stories-B91M3ZRI.js").then(r=>r.I),__vite__mapDeps([87,13,1,2,3,35,24,12,16]),import.meta.url),"./src/components/Image/Image.docs.mdx":async()=>t(()=>import("./Image.docs-BcIDWXam.js"),__vite__mapDeps([88,1,2,3,4,5,6,7,8,9,89,29,12]),import.meta.url),"./src/components/Image/Image.stories.tsx":async()=>t(()=>import("./Image.stories-C6o__ADK.js").then(r=>r.I),__vite__mapDeps([89,29,1,2,3,12]),import.meta.url),"./src/components/ImageSlider/ImageSlider.docs.mdx":async()=>t(()=>import("./ImageSlider.docs-CfqG4hWY.js"),__vite__mapDeps([90,1,2,3,4,5,6,7,8,9,91,12,13,24,16,29,92]),import.meta.url),"./src/components/ImageSlider/ImageSlider.stories.tsx":async()=>t(()=>import("./ImageSlider.stories-CWDOrUhm.js").then(r=>r.I),__vite__mapDeps([91,1,2,3,12,13,24,16,29,92]),import.meta.url),"./src/components/Label/Label.docs.mdx":async()=>t(()=>import("./Label.docs-D0WKjC6R.js"),__vite__mapDeps([93,1,2,3,4,5,6,7,8,9,94,12,65]),import.meta.url),"./src/components/Label/Label.stories.tsx":async()=>t(()=>import("./Label.stories-Dcrx0ofz.js").then(r=>r.L),__vite__mapDeps([94,1,2,3,12,65]),import.meta.url),"./src/components/Link/Link.docs.mdx":async()=>t(()=>import("./Link.docs-CNAZHbE7.js"),__vite__mapDeps([95,1,2,3,4,5,6,7,8,9,96,11,12,13,35]),import.meta.url),"./src/components/Link/Link.stories.tsx":async()=>t(()=>import("./Link.stories-CSJavp70.js").then(r=>r.L),__vite__mapDeps([96,1,2,3,11,12,13,35]),import.meta.url),"./src/components/LinkList/LinkList.docs.mdx":async()=>t(()=>import("./LinkList.docs-CzEY7VOc.js"),__vite__mapDeps([97,1,2,3,4,5,6,7,8,9,98,13,35,14,74,12,16]),import.meta.url),"./src/components/LinkList/LinkList.stories.tsx":async()=>t(()=>import("./LinkList.stories-DSfyODAB.js").then(r=>r.L),__vite__mapDeps([98,1,2,3,13,35,14,74,12,16]),import.meta.url),"./src/components/Logo/Logo.docs.mdx":async()=>t(()=>import("./Logo.docs-BP219a8M.js"),__vite__mapDeps([99,1,2,3,4,5,6,7,8,9,100,79,12]),import.meta.url),"./src/components/Logo/Logo.stories.tsx":async()=>t(()=>import("./Logo.stories-1D2Iq0g9.js").then(r=>r.L),__vite__mapDeps([100,79,1,2,3,12]),import.meta.url),"./src/components/Mark/Mark.docs.mdx":async()=>t(()=>import("./Mark.docs-DI3eNwMu.js"),__vite__mapDeps([101,1,2,3,4,5,6,7,8,9,102,11,12,13]),import.meta.url),"./src/components/Mark/Mark.stories.tsx":async()=>t(()=>import("./Mark.stories-3cGMXrpb.js").then(r=>r.M),__vite__mapDeps([102,1,2,3,11,12,13]),import.meta.url),"./src/components/MegaMenu/MegaMenu.docs.mdx":async()=>t(()=>import("./MegaMenu.docs-CnVraQEN.js"),__vite__mapDeps([103,1,2,3,4,5,6,7,8,9,104,11,12,13,80,32,81]),import.meta.url),"./src/components/MegaMenu/MegaMenu.stories.tsx":async()=>t(()=>import("./MegaMenu.stories-D_LnuVs8.js").then(r=>r.M),__vite__mapDeps([104,1,2,3,11,12,13]),import.meta.url),"./src/components/OrderedList/OrderedList.docs.mdx":async()=>t(()=>import("./OrderedList.docs-CbGwbKSd.js"),__vite__mapDeps([105,1,2,3,4,5,6,7,8,9,106,11,12,13,35,14]),import.meta.url),"./src/components/OrderedList/OrderedList.stories.tsx":async()=>t(()=>import("./OrderedList.stories-DaET4DyX.js").then(r=>r.O),__vite__mapDeps([106,1,2,3,11,12,13,35,14]),import.meta.url),"./src/components/Overlap/Overlap.docs.mdx":async()=>t(()=>import("./Overlap.docs-CxBeYdyj.js"),__vite__mapDeps([107,1,2,3,4,5,6,7,8,9,108,11,12,13]),import.meta.url),"./src/components/Overlap/Overlap.stories.tsx":async()=>t(()=>import("./Overlap.stories-D7pCAahe.js").then(r=>r.O),__vite__mapDeps([108,1,2,3,11,12,13]),import.meta.url),"./src/components/PageHeading/PageHeading.docs.mdx":async()=>t(()=>import("./PageHeading.docs-JukuYm-p.js"),__vite__mapDeps([109,1,2,3,4,5,6,7,8,9,110,35,12]),import.meta.url),"./src/components/PageHeading/PageHeading.stories.tsx":async()=>t(()=>import("./PageHeading.stories-DFJLHWJS.js").then(r=>r.P),__vite__mapDeps([110,35,1,2,3,12]),import.meta.url),"./src/components/PageMenu/PageMenu.docs.mdx":async()=>t(()=>import("./PageMenu.docs-bhYAJi1G.js"),__vite__mapDeps([111,1,2,3,4,5,6,7,8,9,70,13,12,16,80,32,81]),import.meta.url),"./src/components/PageMenu/PageMenu.stories.tsx":async()=>t(()=>import("./PageMenu.stories-BCcfa8-E.js").then(r=>r.P),__vite__mapDeps([70,1,2,3,13,12,16]),import.meta.url),"./src/components/Pagination/Pagination.docs.mdx":async()=>t(()=>import("./Pagination.docs-ysDJUY0e.js"),__vite__mapDeps([112,1,2,3,4,5,6,7,8,9,113,13,12,16]),import.meta.url),"./src/components/Pagination/Pagination.stories.tsx":async()=>t(()=>import("./Pagination.stories-CoYu-8yI.js").then(r=>r.P),__vite__mapDeps([113,1,2,3,13,12,16]),import.meta.url),"./src/components/Paragraph/Paragraph.docs.mdx":async()=>t(()=>import("./Paragraph.docs-q5NggBIl.js"),__vite__mapDeps([114,1,2,3,4,5,6,7,8,9,115,35,14,45,12]),import.meta.url),"./src/components/Paragraph/Paragraph.stories.tsx":async()=>t(()=>import("./Paragraph.stories-ClnGZglM.js").then(r=>r.P),__vite__mapDeps([115,35,1,2,3,14,45,12]),import.meta.url),"./src/components/PasswordInput/PasswordInput.docs.mdx":async()=>t(()=>import("./PasswordInput.docs-CpagPfvR.js"),__vite__mapDeps([116,1,2,3,4,5,6,7,8,9,117,11,12,13]),import.meta.url),"./src/components/PasswordInput/PasswordInput.stories.tsx":async()=>t(()=>import("./PasswordInput.stories-Bxcsv8lG.js").then(r=>r.P),__vite__mapDeps([117,1,2,3,11,12,13]),import.meta.url),"./src/components/Radio/Radio.docs.mdx":async()=>t(()=>import("./Radio.docs-CV-N2UkB.js"),__vite__mapDeps([118,1,2,3,4,5,6,7,8,9,119,11,12,13]),import.meta.url),"./src/components/Radio/Radio.stories.tsx":async()=>t(()=>import("./Radio.stories-CrYAC0gY.js").then(r=>r.R),__vite__mapDeps([119,1,2,3,11,12,13]),import.meta.url),"./src/components/Row/Row.docs.mdx":async()=>t(()=>import("./Row.docs-Cs4u7zwS.js"),__vite__mapDeps([120,1,2,3,4,5,6,7,8,9,121,11,12,13,52]),import.meta.url),"./src/components/Row/Row.stories.tsx":async()=>t(()=>import("./Row.stories-ojCqU-H2.js").then(r=>r.R),__vite__mapDeps([121,1,2,3,11,12,13,52]),import.meta.url),"./src/components/Screen/Screen.docs.mdx":async()=>t(()=>import("./Screen.docs-Ck7uyIjf.js"),__vite__mapDeps([122,1,2,3,4,5,6,7,8,9,123,92,12]),import.meta.url),"./src/components/Screen/Screen.stories.tsx":async()=>t(()=>import("./Screen.stories-CAM2F1Py.js").then(r=>r.S),__vite__mapDeps([123,1,2,3,92,12]),import.meta.url),"./src/components/SearchField/SearchField.docs.mdx":async()=>t(()=>import("./SearchField.docs-BG_MBK3b.js"),__vite__mapDeps([124,1,2,3,4,5,6,7,8,9,125,12,13,16]),import.meta.url),"./src/components/SearchField/SearchField.stories.tsx":async()=>t(()=>import("./SearchField.stories-D19KI_ea.js").then(r=>r.S),__vite__mapDeps([125,1,2,3,12,13,16]),import.meta.url),"./src/components/Select/Select.docs.mdx":async()=>t(()=>import("./Select.docs-N4OVIZRd.js"),__vite__mapDeps([126,1,2,3,4,5,6,7,8,9,127,11,12,13]),import.meta.url),"./src/components/Select/Select.stories.tsx":async()=>t(()=>import("./Select.stories-KTVt-N4X.js").then(r=>r.S),__vite__mapDeps([127,1,2,3,11,12,13]),import.meta.url),"./src/components/SkipLink/SkipLink.docs.mdx":async()=>t(()=>import("./SkipLink.docs-CZse-pqn.js"),__vite__mapDeps([128,1,2,3,4,5,6,7,8,9,129,11,12,13]),import.meta.url),"./src/components/SkipLink/SkipLink.stories.tsx":async()=>t(()=>import("./SkipLink.stories-APFfIDLa.js").then(r=>r.S),__vite__mapDeps([129,1,2,3,11,12,13]),import.meta.url),"./src/components/Spotlight/Spotlight.docs.mdx":async()=>t(()=>import("./Spotlight.docs-B2eyHfDX.js"),__vite__mapDeps([130,1,2,3,4,5,6,7,8,9,131,11,12,13,14,71]),import.meta.url),"./src/components/Spotlight/Spotlight.stories.tsx":async()=>t(()=>import("./Spotlight.stories-AUa6q2Kg.js").then(r=>r.S),__vite__mapDeps([131,1,2,3,11,12,13,14,71]),import.meta.url),"./src/components/Switch/Switch.docs.mdx":async()=>t(()=>import("./Switch.docs-CCdDVgAs.js"),__vite__mapDeps([132,1,2,3,4,5,6,7,8,9,133,11,12,13]),import.meta.url),"./src/components/Switch/Switch.stories.tsx":async()=>t(()=>import("./Switch.stories-D4n77XeM.js").then(r=>r.S),__vite__mapDeps([133,1,2,3,11,12,13]),import.meta.url),"./src/components/Table/Table.docs.mdx":async()=>t(()=>import("./Table.docs-CjB5p7hy.js"),__vite__mapDeps([134,1,2,3,4,5,6,7,8,9,135,12]),import.meta.url),"./src/components/Table/Table.stories.tsx":async()=>t(()=>import("./Table.stories-BhkPPk6Y.js").then(r=>r.T),__vite__mapDeps([135,1,2,3,12]),import.meta.url),"./src/components/TableOfContents/TableOfContents.docs.mdx":async()=>t(()=>import("./TableOfContents.docs-DWEGdj8s.js"),__vite__mapDeps([136,1,2,3,4,5,6,7,8,9,137,12,23,15]),import.meta.url),"./src/components/TableOfContents/TableOfContents.stories.tsx":async()=>t(()=>import("./TableOfContents.stories-CDYIQLGg.js").then(r=>r.T),__vite__mapDeps([137,1,2,3,12,23,15]),import.meta.url),"./src/components/Tabs/Tabs.docs.mdx":async()=>t(()=>import("./Tabs.docs-CSrwkQSo.js"),__vite__mapDeps([138,1,2,3,4,5,6,7,8,9,139,11,12,13,14,17]),import.meta.url),"./src/components/Tabs/Tabs.stories.tsx":async()=>t(()=>import("./Tabs.stories-F6OKHLJp.js").then(r=>r.T),__vite__mapDeps([139,1,2,3,11,12,13,14,17]),import.meta.url),"./src/components/TextArea/TextArea.docs.mdx":async()=>t(()=>import("./TextArea.docs-BBLUHu2o.js"),__vite__mapDeps([140,1,2,3,4,5,6,7,8,9,141,11,12,13,14]),import.meta.url),"./src/components/TextArea/TextArea.stories.tsx":async()=>t(()=>import("./TextArea.stories-ClW0Ydtr.js").then(r=>r.T),__vite__mapDeps([141,1,2,3,11,12,13,14]),import.meta.url),"./src/components/TextInput/TextInput.docs.mdx":async()=>t(()=>import("./TextInput.docs-bIj4vGbN.js"),__vite__mapDeps([142,1,2,3,4,5,6,7,8,9,143,11,12,13]),import.meta.url),"./src/components/TextInput/TextInput.stories.tsx":async()=>t(()=>import("./TextInput.stories-6Mh6Kbek.js").then(r=>r.T),__vite__mapDeps([143,1,2,3,11,12,13]),import.meta.url),"./src/components/TimeInput/TimeInput.docs.mdx":async()=>t(()=>import("./TimeInput.docs-Dpvnn9o7.js"),__vite__mapDeps([144,1,2,3,4,5,6,7,8,9,145,11,12,13]),import.meta.url),"./src/components/TimeInput/TimeInput.stories.tsx":async()=>t(()=>import("./TimeInput.stories-CRugeu55.js").then(r=>r.T),__vite__mapDeps([145,1,2,3,11,12,13]),import.meta.url),"./src/components/TopTaskLink/TopTaskLink.docs.mdx":async()=>t(()=>import("./TopTaskLink.docs-DQ9EWuwG.js"),__vite__mapDeps([146,1,2,3,4,5,6,7,8,9,147,11,12,13,80,32,81]),import.meta.url),"./src/components/TopTaskLink/TopTaskLink.stories.tsx":async()=>t(()=>import("./TopTaskLink.stories-Bt2Nipkt.js").then(r=>r.T),__vite__mapDeps([147,1,2,3,11,12,13]),import.meta.url),"./src/components/UnorderedList/UnorderedList.docs.mdx":async()=>t(()=>import("./UnorderedList.docs-CA0SCvfD.js"),__vite__mapDeps([148,1,2,3,4,5,6,7,8,9,149,11,12,13,35,14]),import.meta.url),"./src/components/UnorderedList/UnorderedList.stories.tsx":async()=>t(()=>import("./UnorderedList.stories-CVhI80zY.js").then(r=>r.U),__vite__mapDeps([149,1,2,3,11,12,13,35,14]),import.meta.url),"./src/docs/developer-guide/breakpoints.docs.mdx":async()=>t(()=>import("./breakpoints.docs-BMU429QR.js"),__vite__mapDeps([150,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/getting-started.docs.mdx":async()=>t(()=>import("./getting-started.docs-BKC2BkFY.js"),__vite__mapDeps([151,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/interactivity.docs.mdx":async()=>t(()=>import("./interactivity.docs-BpqPEj8w.js"),__vite__mapDeps([152,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/language.docs.mdx":async()=>t(()=>import("./language.docs-BtlaEYwY.js"),__vite__mapDeps([153,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/routing-libraries.docs.mdx":async()=>t(()=>import("./routing-libraries.docs-B_YvTwmV.js"),__vite__mapDeps([154,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/usability.docs.mdx":async()=>t(()=>import("./usability.docs-cDefgnVp.js"),__vite__mapDeps([155,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/web-app.docs.mdx":async()=>t(()=>import("./web-app.docs-qUQYKEIC.js"),__vite__mapDeps([156,1,2,3,4,5,6,7,8,9,157,11,12,13]),import.meta.url),"./src/docs/introduction.docs.mdx":async()=>t(()=>import("./introduction.docs-B8x97DR7.js"),__vite__mapDeps([158,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/terms-of-use/copyright.docs.mdx":async()=>t(()=>import("./copyright.docs-DLoH-t_e.js"),__vite__mapDeps([159,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/terms-of-use/license.docs.mdx":async()=>t(()=>import("./license.docs-CN0gweL2.js"),__vite__mapDeps([160,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/assets/favicon.docs.mdx":async()=>t(()=>import("./favicon.docs-yJZ4WR-W.js"),__vite__mapDeps([161,1,2,3,4,5,6,7,8,9,157,11,12,13]),import.meta.url),"./src/foundation/assets/font.docs.mdx":async()=>t(()=>import("./font.docs-CNEVnn9Y.js"),__vite__mapDeps([162,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/assets/icons.docs.mdx":async()=>t(()=>import("./icons.docs-DVCGpC_G.js"),__vite__mapDeps([163,1,2,3,4,5,6,7,8,9,13,16,12,80,32,81]),import.meta.url),"./src/foundation/design-tokens/border.docs.mdx":async()=>t(()=>import("./border.docs-B9Kv2wcC.js"),__vite__mapDeps([164,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/colour.docs.mdx":async()=>t(()=>import("./colour.docs-yLU405NI.js"),__vite__mapDeps([165,1,2,3,4,5,6,7,8,9,80,32,12,81,166]),import.meta.url),"./src/foundation/design-tokens/grid.docs.mdx":async()=>t(()=>import("./grid.docs-CEB85bZW.js"),__vite__mapDeps([167,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/space.docs.mdx":async()=>t(()=>import("./space.docs-CQ7Xg4IH.js"),__vite__mapDeps([168,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/text.docs.mdx":async()=>t(()=>import("./text.docs-nOv4q5Tu.js"),__vite__mapDeps([169,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/pages/Introduction.docs.mdx":async()=>t(()=>import("./Introduction.docs-BloUnywk.js"),__vite__mapDeps([170,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/pages/amsterdam/ArticlePage/ArticlePage.docs.mdx":async()=>t(()=>import("./ArticlePage.docs-D_ZO0x2o.js"),__vite__mapDeps([171,1,2,3,4,5,6,7,8,9,172,11,12,13,89,29,173,70,16,69,71]),import.meta.url),"./src/pages/amsterdam/ArticlePage/ArticlePage.stories.tsx":async()=>t(()=>import("./ArticlePage.stories-BfsH0ODX.js").then(r=>r.A),__vite__mapDeps([172,1,2,3,11,12,13,89,29,173,70,16,69,71]),import.meta.url),"./src/pages/amsterdam/FormPage/FormPage.docs.mdx":async()=>t(()=>import("./FormPage.docs-CHiAO8ZP.js"),__vite__mapDeps([174,1,2,3,4,5,6,7,8,9,175,11,12,13,173,70,16,69,71]),import.meta.url),"./src/pages/amsterdam/FormPage/FormPage.stories.tsx":async()=>t(()=>import("./FormPage.stories-DdUsTDvf.js").then(r=>r.F),__vite__mapDeps([175,1,2,3,11,12,13,173,70,16,69,71]),import.meta.url),"./src/pages/amsterdam/HomePage/HomePage.docs.mdx":async()=>t(()=>import("./HomePage.docs-Dm7P_-nE.js"),__vite__mapDeps([176,1,2,3,4,5,6,7,8,9,177,11,12,13,108,173,70,16,69,71]),import.meta.url),"./src/pages/amsterdam/HomePage/HomePage.stories.tsx":async()=>t(()=>import("./HomePage.stories-DyLa0JE6.js").then(r=>r.H),__vite__mapDeps([177,1,2,3,11,12,13,108,173,70,16,69,71]),import.meta.url),"./src/utils/Gap/Gap.docs.mdx":async()=>t(()=>import("./Gap.docs-D_8zJLrb.js"),__vite__mapDeps([178,1,2,3,4,5,6,7,8,9,179,11,12,13]),import.meta.url),"./src/utils/Gap/Gap.stories.tsx":async()=>t(()=>import("./Gap.stories-BjZdlVEO.js").then(r=>r.G),__vite__mapDeps([179,1,2,3,11,12,13]),import.meta.url),"./src/utils/Margin/Margin.docs.mdx":async()=>t(()=>import("./Margin.docs-BAzoW7OM.js"),__vite__mapDeps([180,1,2,3,4,5,6,7,8,9,181,11,12,13]),import.meta.url),"./src/utils/Margin/Margin.stories.tsx":async()=>t(()=>import("./Margin.stories-CMDBOVdi.js").then(r=>r.M),__vite__mapDeps([181,1,2,3,11,12,13]),import.meta.url),"./src/utils/VisuallyHidden/VisuallyHidden.docs.mdx":async()=>t(()=>import("./VisuallyHidden.docs-0p6dIiLt.js"),__vite__mapDeps([182,1,2,3,4,5,6,7,8,9,183,11,12,13]),import.meta.url),"./src/utils/VisuallyHidden/VisuallyHidden.stories.tsx":async()=>t(()=>import("./VisuallyHidden.stories-CtIQOMzr.js").then(r=>r.V),__vite__mapDeps([183,1,2,3,11,12,13]),import.meta.url)};async function D(r){return A[r]()}const{composeConfigs:v,PreviewWeb:y,ClientApi:h}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(r=[])=>{const i=await Promise.all([r[0]??t(()=>import("./entry-preview-Cvv9CN9D.js"),__vite__mapDeps([184,185,2,3,6]),import.meta.url),r[1]??t(()=>import("./entry-preview-docs-BexTP7_g.js"),__vite__mapDeps([186,185,8,3,2]),import.meta.url),r[2]??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([187,7]),import.meta.url),r[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),r[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([188,9]),import.meta.url),r[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),r[6]??t(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),r[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([189,9]),import.meta.url),r[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),r[9]??t(()=>import("./preview-BJ6EHSBF.js"),[],import.meta.url),r[10]??t(()=>import("./preview-enwPDHqU.js"),[],import.meta.url),r[11]??t(()=>import("./preview-CVgpLj3b.js"),[],import.meta.url),r[12]??t(()=>import("./preview-CUmeVzbI.js"),[],import.meta.url),r[13]??t(()=>import("./preview-C7tAAfkq.js"),[],import.meta.url),r[14]??t(()=>import("./preview-q6KVDenL.js"),__vite__mapDeps([190,1,2,3,191]),import.meta.url)]);return v(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new y(D,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Accordion.docs-B812VCDt.js","./jsx-runtime-j_jdvEMj.js","./index-B-o1Wr-g.js","./_commonjsHelpers-Cpj98o6Y.js","./index-BSj771as.js","./index-Cnpsjyel.js","./index-DolzVqEf.js","./index-D-8MO0q_.js","./index-CJyPbrN5.js","./index-DrFu-skq.js","./Accordion.stories-Ci2N4QHF.js","./index.esm-DEmhLKYr.js","./clsx-B-dksMZM.js","./index.esm-DoGgRjwu.js","./exampleContent-hIIPvEhU.js","./getHeadingTag-Dv1eMqvl.js","./Icon-D1obyjGa.js","./useKeyboardFocus-CRUFsA_C.js","./ActionGroup.docs-o0dSu3jS.js","./ActionGroup.stories-DdTjDTRD.js","./Alert.docs-CWgInLgR.js","./Alert.stories-G7yZpdFl.js","./Alert-Cj2Qy2vp.js","./Heading-BMR-3CH3.js","./IconButton-D2q6GTZc.js","./AspectRatio.docs-BnOQF7F9.js","./AspectRatio.stories-BU-nZ_2T.js","./Avatar.docs-DCeQqMcM.js","./Avatar.stories-71Xw7J09.js","./Image-9n1GiQZ0.js","./Badge.docs-CKz5_mdz.js","./Badge.stories-7hJOo2XW.js","./Badge-jE39d5Kk.js","./Blockquote.docs-DLwejvb_.js","./Blockquote.stories-dmSqBBoc.js","./decorators-DYZ3zH5Z.js","./Breadcrumb.docs-Donyc5OU.js","./Breadcrumb.stories-EowaNKYC.js","./Breakout.docs-6qOPiO7D.js","./Breakout.stories-DxEhhcfc.js","./paddingClasses-C5gheHLv.js","./Button.docs-Dv0v6OT5.js","./Button.stories-D3TuiAti.js","./Card.docs-kLwdT0OT.js","./Card.stories-C_dOOmfc.js","./Paragraph-DZy4cHOZ.js","./CharacterCount.docs-DsNscTC_.js","./CharacterCount.stories-BuZ7Uh_6.js","./Checkbox.docs-Bevurlqf.js","./Checkbox.stories-Pj8mnbeU.js","./Column.docs-FkZGE3NP.js","./Column.stories-CiZT88Ht.js","./layout-B5YJ6HHW.js","./DateInput.docs-vAx-8iEX.js","./DateInput.stories-rflzbEnx.js","./DescriptionList.docs-Cev6lbVe.js","./DescriptionList.stories-N7Skd9Dt.js","./Dialog.docs-DGZlReZd.js","./Dialog.stories-ASXg-V4z.js","./ErrorMessage.docs-C264RU9e.js","./ErrorMessage.stories-B3cj9aqo.js","./Field.docs-BhpH39r1.js","./Field.stories-D2ZiSC1f.js","./FieldSet.docs-CbHOFFvQ.js","./FieldSet.stories-Dfpe4TsD.js","./Hint-rQy8SNzx.js","./FileInput.docs-DU5XYINg.js","./FileInput.stories-DWcjijdQ.js","./Footer.docs-BCEIIl0s.js","./Footer.stories-C2lX89Aa.js","./PageMenu.stories-BCcfa8-E.js","./Spotlight-iwYL-F79.js","./FormErrorList.docs-C61ytvp7.js","./FormErrorList.stories-BGBZZzNP.js","./LinkList-KzJ1IdI0.js","./Grid.docs-DCWhJX79.js","./Grid.stories-CZ2tC11S.js","./Header.docs-BTyi1xNy.js","./Header.stories-DSH9k29K.js","./Logo-BnxYOw7m.js","./StatusBadge-Ck_iCwDF.js","./StatusBadge-BPsnsflc.css","./Heading.docs-kGx4spQ9.js","./Heading.stories-8zn7cHZ0.js","./Icon.docs-Dc8ZyilN.js","./Icon.stories-DAJz4pcj.js","./IconButton.docs-Cq8JeAU9.js","./IconButton.stories-B91M3ZRI.js","./Image.docs-onfhJGlt.js","./Image.stories-C6o__ADK.js","./ImageSlider.docs-BRHLqmd1.js","./ImageSlider.stories-CWDOrUhm.js","./Screen-CvK1H_-v.js","./Label.docs-CEwV_5PE.js","./Label.stories-Dcrx0ofz.js","./Link.docs-jWu7LZ61.js","./Link.stories-DSnkgVZy.js","./LinkList.docs-BMOgNe8t.js","./LinkList.stories-DSfyODAB.js","./Logo.docs-D7UVjYPa.js","./Logo.stories-1D2Iq0g9.js","./Mark.docs-B45yMRkb.js","./Mark.stories-bUpGAyNR.js","./MegaMenu.docs-CpwBnnKF.js","./MegaMenu.stories-BSIMF87Q.js","./OrderedList.docs-BS1Ql01G.js","./OrderedList.stories-CC1jhB1h.js","./Overlap.docs-BYzdFF5P.js","./Overlap.stories-CV1ABcBL.js","./PageHeading.docs-rSrAQOkz.js","./PageHeading.stories-DFJLHWJS.js","./PageMenu.docs-BFTUvpFt.js","./Pagination.docs-BiG7S42Y.js","./Pagination.stories-CoYu-8yI.js","./Paragraph.docs-B2PuRdru.js","./Paragraph.stories-ClnGZglM.js","./PasswordInput.docs-tfwBsEli.js","./PasswordInput.stories-C7RUwA76.js","./Radio.docs-BbhSzyrT.js","./Radio.stories-B1eLtVrD.js","./Row.docs-iIZZ6UuU.js","./Row.stories-4bDVg473.js","./Screen.docs-CLfjYFb0.js","./Screen.stories-CAM2F1Py.js","./SearchField.docs-DiEyH9Dl.js","./SearchField.stories-D19KI_ea.js","./Select.docs-DQJHkVRK.js","./Select.stories-CFZHvQ8a.js","./SkipLink.docs-D7ChMy2U.js","./SkipLink.stories-Bu61bRPF.js","./Spotlight.docs-CbT1KXre.js","./Spotlight.stories-B-Mevme7.js","./Switch.docs-B_QMvBvn.js","./Switch.stories-CQQNnxz2.js","./Table.docs-CredqGHU.js","./Table.stories-BhkPPk6Y.js","./TableOfContents.docs-CFEKQbKH.js","./TableOfContents.stories-CDYIQLGg.js","./Tabs.docs-C3aCGWQ9.js","./Tabs.stories-CvAtSKKj.js","./TextArea.docs-BQa28DZ_.js","./TextArea.stories-B1oEHz84.js","./TextInput.docs-uMYk4FR5.js","./TextInput.stories-B_UuZJiy.js","./TimeInput.docs-BEzT1ofO.js","./TimeInput.stories-CiSTvywS.js","./TopTaskLink.docs-DDrNPnwZ.js","./TopTaskLink.stories-NRgtpriG.js","./UnorderedList.docs-BL4o5j9Y.js","./UnorderedList.stories-DhNns6p3.js","./breakpoints.docs-iAQJCoHK.js","./getting-started.docs-DVFO7S2I.js","./interactivity.docs-DV6-BODK.js","./language.docs-BoUYzigF.js","./routing-libraries.docs-CFwxiaDK.js","./usability.docs-qVHHBl4G.js","./web-app.docs-C0njb6JL.js","./AppIcons-DitZmZ8_.js","./introduction.docs-CMuzhlIy.js","./copyright.docs-B5rIQQRC.js","./license.docs-Bn9RvMfU.js","./favicon.docs-DemUi0p7.js","./font.docs-CqbjMcoV.js","./icons.docs-ClD6Js2W.js","./border.docs-CgI_Rfeu.js","./colour.docs-BWf9OSTt.js","./colour-BjcP5lEj.css","./grid.docs-DbrxocRE.js","./space.docs-CR1IeB1o.js","./text.docs-CYMf4gn5.js","./Introduction.docs-B67xWw2D.js","./ArticlePage.docs-CkVZciku.js","./ArticlePage.stories-ZGx9nU2q.js","./config-aPKURfrr.js","./FormPage.docs-Ieyn4F-T.js","./FormPage.stories-SvNd8_2u.js","./HomePage.docs-BxKdicf_.js","./HomePage.stories-BL-CI7jr.js","./Gap.docs-BQmCaEvS.js","./Gap.stories-BlSmDvGE.js","./Margin.docs-C5PkDOrX.js","./Margin.stories-BupqR0H6.js","./VisuallyHidden.docs-VIIfW0ua.js","./VisuallyHidden.stories-d9VRTLgH.js","./entry-preview-Cdzc4m9t.js","./chunk-XP5HYGXS-BGCqD1aY.js","./entry-preview-docs-BexTP7_g.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-BWzBA1C2.js","./preview-q6KVDenL.js","./preview-D7AJbNWb.css"])))=>i.map(i=>d[i]); +import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const _ of e.addedNodes)_.tagName==="LINK"&&_.rel==="modulepreload"&&a(_)}).observe(document,{childList:!0,subtree:!0});function c(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function a(o){if(o.ep)return;o.ep=!0;const e=c(o);fetch(o.href,e)}})();const T="modulepreload",I=function(r,i){return new URL(r,i).href},L={},t=function(i,c,a){let o=Promise.resolve();if(c&&c.length>0){const _=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(c.map(m=>{if(m=I(m,a),m in L)return;L[m]=!0;const p=m.endsWith(".css"),O=p?'[rel="stylesheet"]':"";if(!!a)for(let d=_.length-1;d>=0;d--){const u=_[d];if(u.href===m&&(!p||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${O}`))return;const n=document.createElement("link");if(n.rel=p?"stylesheet":T,p||(n.as="script"),n.crossOrigin="",n.href=m,l&&n.setAttribute("nonce",l),document.head.appendChild(n),p)return new Promise((d,u)=>{n.addEventListener("load",d),n.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${m}`)))})}))}function e(_){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=_,window.dispatchEvent(s),!s.defaultPrevented)throw _}return o.then(_=>{for(const s of _||[])s.status==="rejected"&&e(s.reason);return i().catch(e)})},{createBrowserChannel:P}=__STORYBOOK_MODULE_CHANNELS__,{addons:R}=__STORYBOOK_MODULE_PREVIEW_API__,E=P({page:"preview"});R.setChannel(E);window.__STORYBOOK_ADDONS_CHANNEL__=E;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=E);const A={"./src/components/Accordion/Accordion.docs.mdx":async()=>t(()=>import("./Accordion.docs-B812VCDt.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),"./src/components/Accordion/Accordion.stories.tsx":async()=>t(()=>import("./Accordion.stories-Ci2N4QHF.js").then(r=>r.A),__vite__mapDeps([10,1,2,3,11,12,13,14,15,16,17]),import.meta.url),"./src/components/ActionGroup/ActionGroup.docs.mdx":async()=>t(()=>import("./ActionGroup.docs-o0dSu3jS.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,8,9,19,11,12,13]),import.meta.url),"./src/components/ActionGroup/ActionGroup.stories.tsx":async()=>t(()=>import("./ActionGroup.stories-DdTjDTRD.js").then(r=>r.A),__vite__mapDeps([19,1,2,3,11,12,13]),import.meta.url),"./src/components/Alert/Alert.docs.mdx":async()=>t(()=>import("./Alert.docs-CWgInLgR.js"),__vite__mapDeps([20,1,2,3,4,5,6,7,8,9,21,11,12,13,22,16,23,15,24]),import.meta.url),"./src/components/Alert/Alert.stories.tsx":async()=>t(()=>import("./Alert.stories-G7yZpdFl.js").then(r=>r.A),__vite__mapDeps([21,1,2,3,11,12,13,22,16,23,15,24]),import.meta.url),"./src/components/AspectRatio/AspectRatio.docs.mdx":async()=>t(()=>import("./AspectRatio.docs-BnOQF7F9.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,26,11,12,13]),import.meta.url),"./src/components/AspectRatio/AspectRatio.stories.tsx":async()=>t(()=>import("./AspectRatio.stories-BU-nZ_2T.js").then(r=>r.A),__vite__mapDeps([26,1,2,3,11,12,13]),import.meta.url),"./src/components/Avatar/Avatar.docs.mdx":async()=>t(()=>import("./Avatar.docs-DCeQqMcM.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,28,11,12,13,29,16]),import.meta.url),"./src/components/Avatar/Avatar.stories.tsx":async()=>t(()=>import("./Avatar.stories-71Xw7J09.js").then(r=>r.A),__vite__mapDeps([28,1,2,3,11,12,13,29,16]),import.meta.url),"./src/components/Badge/Badge.docs.mdx":async()=>t(()=>import("./Badge.docs-CKz5_mdz.js"),__vite__mapDeps([30,1,2,3,4,5,6,7,8,9,31,32,12]),import.meta.url),"./src/components/Badge/Badge.stories.tsx":async()=>t(()=>import("./Badge.stories-7hJOo2XW.js").then(r=>r.B),__vite__mapDeps([31,32,1,2,3,12]),import.meta.url),"./src/components/Blockquote/Blockquote.docs.mdx":async()=>t(()=>import("./Blockquote.docs-DLwejvb_.js"),__vite__mapDeps([33,1,2,3,4,5,6,7,8,9,34,35,14,12]),import.meta.url),"./src/components/Blockquote/Blockquote.stories.tsx":async()=>t(()=>import("./Blockquote.stories-dmSqBBoc.js").then(r=>r.B),__vite__mapDeps([34,35,1,2,3,14,12]),import.meta.url),"./src/components/Breadcrumb/Breadcrumb.docs.mdx":async()=>t(()=>import("./Breadcrumb.docs-Donyc5OU.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,37,12]),import.meta.url),"./src/components/Breadcrumb/Breadcrumb.stories.tsx":async()=>t(()=>import("./Breadcrumb.stories-EowaNKYC.js").then(r=>r.B),__vite__mapDeps([37,1,2,3,12]),import.meta.url),"./src/components/Breakout/Breakout.docs.mdx":async()=>t(()=>import("./Breakout.docs-6qOPiO7D.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,39,11,12,13,40]),import.meta.url),"./src/components/Breakout/Breakout.stories.tsx":async()=>t(()=>import("./Breakout.stories-DxEhhcfc.js").then(r=>r.B),__vite__mapDeps([39,1,2,3,11,12,13,40]),import.meta.url),"./src/components/Button/Button.docs.mdx":async()=>t(()=>import("./Button.docs-Dv0v6OT5.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,42,13,12,16]),import.meta.url),"./src/components/Button/Button.stories.tsx":async()=>t(()=>import("./Button.stories-D3TuiAti.js").then(r=>r.B),__vite__mapDeps([42,1,2,3,13,12,16]),import.meta.url),"./src/components/Card/Card.docs.mdx":async()=>t(()=>import("./Card.docs-kLwdT0OT.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,44,11,12,13,14,45]),import.meta.url),"./src/components/Card/Card.stories.tsx":async()=>t(()=>import("./Card.stories-C_dOOmfc.js").then(r=>r.C),__vite__mapDeps([44,1,2,3,11,12,13,14,45]),import.meta.url),"./src/components/CharacterCount/CharacterCount.docs.mdx":async()=>t(()=>import("./CharacterCount.docs-DsNscTC_.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,47,12]),import.meta.url),"./src/components/CharacterCount/CharacterCount.stories.tsx":async()=>t(()=>import("./CharacterCount.stories-BuZ7Uh_6.js").then(r=>r.C),__vite__mapDeps([47,1,2,3,12]),import.meta.url),"./src/components/Checkbox/Checkbox.docs.mdx":async()=>t(()=>import("./Checkbox.docs-Bevurlqf.js"),__vite__mapDeps([48,1,2,3,4,5,6,7,8,9,49,11,12,13]),import.meta.url),"./src/components/Checkbox/Checkbox.stories.tsx":async()=>t(()=>import("./Checkbox.stories-Pj8mnbeU.js").then(r=>r.C),__vite__mapDeps([49,1,2,3,11,12,13]),import.meta.url),"./src/components/Column/Column.docs.mdx":async()=>t(()=>import("./Column.docs-FkZGE3NP.js"),__vite__mapDeps([50,1,2,3,4,5,6,7,8,9,51,11,12,13,52]),import.meta.url),"./src/components/Column/Column.stories.tsx":async()=>t(()=>import("./Column.stories-CiZT88Ht.js").then(r=>r.C),__vite__mapDeps([51,1,2,3,11,12,13,52]),import.meta.url),"./src/components/DateInput/DateInput.docs.mdx":async()=>t(()=>import("./DateInput.docs-vAx-8iEX.js"),__vite__mapDeps([53,1,2,3,4,5,6,7,8,9,54,11,12,13]),import.meta.url),"./src/components/DateInput/DateInput.stories.tsx":async()=>t(()=>import("./DateInput.stories-rflzbEnx.js").then(r=>r.D),__vite__mapDeps([54,1,2,3,11,12,13]),import.meta.url),"./src/components/DescriptionList/DescriptionList.docs.mdx":async()=>t(()=>import("./DescriptionList.docs-Cev6lbVe.js"),__vite__mapDeps([55,1,2,3,4,5,6,7,8,9,56,11,12,13,35]),import.meta.url),"./src/components/DescriptionList/DescriptionList.stories.tsx":async()=>t(()=>import("./DescriptionList.stories-N7Skd9Dt.js").then(r=>r.D),__vite__mapDeps([56,1,2,3,11,12,13,35]),import.meta.url),"./src/components/Dialog/Dialog.docs.mdx":async()=>t(()=>import("./Dialog.docs-DGZlReZd.js"),__vite__mapDeps([57,1,2,3,4,5,6,7,8,9,58,11,12,13,23,15,24,16]),import.meta.url),"./src/components/Dialog/Dialog.stories.tsx":async()=>t(()=>import("./Dialog.stories-ASXg-V4z.js").then(r=>r.D),__vite__mapDeps([58,1,2,3,11,12,13,23,15,24,16]),import.meta.url),"./src/components/ErrorMessage/ErrorMessage.docs.mdx":async()=>t(()=>import("./ErrorMessage.docs-C264RU9e.js"),__vite__mapDeps([59,1,2,3,4,5,6,7,8,9,60,12]),import.meta.url),"./src/components/ErrorMessage/ErrorMessage.stories.tsx":async()=>t(()=>import("./ErrorMessage.stories-B3cj9aqo.js").then(r=>r.E),__vite__mapDeps([60,1,2,3,12]),import.meta.url),"./src/components/Field/Field.docs.mdx":async()=>t(()=>import("./Field.docs-BhpH39r1.js"),__vite__mapDeps([61,1,2,3,4,5,6,7,8,9,62,11,12,13]),import.meta.url),"./src/components/Field/Field.stories.tsx":async()=>t(()=>import("./Field.stories-D2ZiSC1f.js").then(r=>r.F),__vite__mapDeps([62,1,2,3,11,12,13]),import.meta.url),"./src/components/FieldSet/FieldSet.docs.mdx":async()=>t(()=>import("./FieldSet.docs-CbHOFFvQ.js"),__vite__mapDeps([63,1,2,3,4,5,6,7,8,9,64,11,12,13,65]),import.meta.url),"./src/components/FieldSet/FieldSet.stories.tsx":async()=>t(()=>import("./FieldSet.stories-Dfpe4TsD.js").then(r=>r.F),__vite__mapDeps([64,1,2,3,11,12,13,65]),import.meta.url),"./src/components/FileInput/FileInput.docs.mdx":async()=>t(()=>import("./FileInput.docs-DU5XYINg.js"),__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,67,11,12,13]),import.meta.url),"./src/components/FileInput/FileInput.stories.tsx":async()=>t(()=>import("./FileInput.stories-DWcjijdQ.js").then(r=>r.F),__vite__mapDeps([67,1,2,3,11,12,13]),import.meta.url),"./src/components/Footer/Footer.docs.mdx":async()=>t(()=>import("./Footer.docs-BCEIIl0s.js"),__vite__mapDeps([68,1,2,3,4,5,6,7,8,9,69,11,12,13,70,16,71]),import.meta.url),"./src/components/Footer/Footer.stories.tsx":async()=>t(()=>import("./Footer.stories-C2lX89Aa.js").then(r=>r.F),__vite__mapDeps([69,1,2,3,11,12,13,70,16,71]),import.meta.url),"./src/components/FormErrorList/FormErrorList.docs.mdx":async()=>t(()=>import("./FormErrorList.docs-C61ytvp7.js"),__vite__mapDeps([72,1,2,3,4,5,6,7,8,9,73,12,22,13,16,23,15,24,74]),import.meta.url),"./src/components/FormErrorList/FormErrorList.stories.tsx":async()=>t(()=>import("./FormErrorList.stories-BGBZZzNP.js").then(r=>r.F),__vite__mapDeps([73,1,2,3,12,22,13,16,23,15,24,74]),import.meta.url),"./src/components/Grid/Grid.docs.mdx":async()=>t(()=>import("./Grid.docs-DCWhJX79.js"),__vite__mapDeps([75,1,2,3,4,5,6,7,8,9,76,11,12,13,40]),import.meta.url),"./src/components/Grid/Grid.stories.tsx":async()=>t(()=>import("./Grid.stories-CZ2tC11S.js").then(r=>r.G),__vite__mapDeps([76,1,2,3,11,12,13,40]),import.meta.url),"./src/components/Header/Header.docs.mdx":async()=>t(()=>import("./Header.docs-BTyi1xNy.js"),__vite__mapDeps([77,1,2,3,4,5,6,7,8,9,78,11,12,13,79,23,15,80,32,81]),import.meta.url),"./src/components/Header/Header.stories.tsx":async()=>t(()=>import("./Header.stories-DSH9k29K.js").then(r=>r.H),__vite__mapDeps([78,1,2,3,11,12,13,79,23,15]),import.meta.url),"./src/components/Heading/Heading.docs.mdx":async()=>t(()=>import("./Heading.docs-kGx4spQ9.js"),__vite__mapDeps([82,1,2,3,4,5,6,7,8,9,83,11,12,13,35,14,23,15]),import.meta.url),"./src/components/Heading/Heading.stories.tsx":async()=>t(()=>import("./Heading.stories-8zn7cHZ0.js").then(r=>r.H),__vite__mapDeps([83,1,2,3,11,12,13,35,14,23,15]),import.meta.url),"./src/components/Icon/Icon.docs.mdx":async()=>t(()=>import("./Icon.docs-Dc8ZyilN.js"),__vite__mapDeps([84,1,2,3,4,5,6,7,8,9,85,11,12,13,16,80,32,81]),import.meta.url),"./src/components/Icon/Icon.stories.tsx":async()=>t(()=>import("./Icon.stories-DAJz4pcj.js").then(r=>r.I),__vite__mapDeps([85,1,2,3,11,12,13,16]),import.meta.url),"./src/components/IconButton/IconButton.docs.mdx":async()=>t(()=>import("./IconButton.docs-Cq8JeAU9.js"),__vite__mapDeps([86,1,2,3,4,5,6,7,8,9,87,13,35,24,12,16]),import.meta.url),"./src/components/IconButton/IconButton.stories.tsx":async()=>t(()=>import("./IconButton.stories-B91M3ZRI.js").then(r=>r.I),__vite__mapDeps([87,13,1,2,3,35,24,12,16]),import.meta.url),"./src/components/Image/Image.docs.mdx":async()=>t(()=>import("./Image.docs-onfhJGlt.js"),__vite__mapDeps([88,1,2,3,4,5,6,7,8,9,89,29,12]),import.meta.url),"./src/components/Image/Image.stories.tsx":async()=>t(()=>import("./Image.stories-C6o__ADK.js").then(r=>r.I),__vite__mapDeps([89,29,1,2,3,12]),import.meta.url),"./src/components/ImageSlider/ImageSlider.docs.mdx":async()=>t(()=>import("./ImageSlider.docs-BRHLqmd1.js"),__vite__mapDeps([90,1,2,3,4,5,6,7,8,9,91,12,13,24,16,29,92]),import.meta.url),"./src/components/ImageSlider/ImageSlider.stories.tsx":async()=>t(()=>import("./ImageSlider.stories-CWDOrUhm.js").then(r=>r.I),__vite__mapDeps([91,1,2,3,12,13,24,16,29,92]),import.meta.url),"./src/components/Label/Label.docs.mdx":async()=>t(()=>import("./Label.docs-CEwV_5PE.js"),__vite__mapDeps([93,1,2,3,4,5,6,7,8,9,94,12,65]),import.meta.url),"./src/components/Label/Label.stories.tsx":async()=>t(()=>import("./Label.stories-Dcrx0ofz.js").then(r=>r.L),__vite__mapDeps([94,1,2,3,12,65]),import.meta.url),"./src/components/Link/Link.docs.mdx":async()=>t(()=>import("./Link.docs-jWu7LZ61.js"),__vite__mapDeps([95,1,2,3,4,5,6,7,8,9,96,11,12,13,35]),import.meta.url),"./src/components/Link/Link.stories.tsx":async()=>t(()=>import("./Link.stories-DSnkgVZy.js").then(r=>r.L),__vite__mapDeps([96,1,2,3,11,12,13,35]),import.meta.url),"./src/components/LinkList/LinkList.docs.mdx":async()=>t(()=>import("./LinkList.docs-BMOgNe8t.js"),__vite__mapDeps([97,1,2,3,4,5,6,7,8,9,98,13,35,14,74,12,16]),import.meta.url),"./src/components/LinkList/LinkList.stories.tsx":async()=>t(()=>import("./LinkList.stories-DSfyODAB.js").then(r=>r.L),__vite__mapDeps([98,1,2,3,13,35,14,74,12,16]),import.meta.url),"./src/components/Logo/Logo.docs.mdx":async()=>t(()=>import("./Logo.docs-D7UVjYPa.js"),__vite__mapDeps([99,1,2,3,4,5,6,7,8,9,100,79,12]),import.meta.url),"./src/components/Logo/Logo.stories.tsx":async()=>t(()=>import("./Logo.stories-1D2Iq0g9.js").then(r=>r.L),__vite__mapDeps([100,79,1,2,3,12]),import.meta.url),"./src/components/Mark/Mark.docs.mdx":async()=>t(()=>import("./Mark.docs-B45yMRkb.js"),__vite__mapDeps([101,1,2,3,4,5,6,7,8,9,102,11,12,13]),import.meta.url),"./src/components/Mark/Mark.stories.tsx":async()=>t(()=>import("./Mark.stories-bUpGAyNR.js").then(r=>r.M),__vite__mapDeps([102,1,2,3,11,12,13]),import.meta.url),"./src/components/MegaMenu/MegaMenu.docs.mdx":async()=>t(()=>import("./MegaMenu.docs-CpwBnnKF.js"),__vite__mapDeps([103,1,2,3,4,5,6,7,8,9,104,11,12,13,80,32,81]),import.meta.url),"./src/components/MegaMenu/MegaMenu.stories.tsx":async()=>t(()=>import("./MegaMenu.stories-BSIMF87Q.js").then(r=>r.M),__vite__mapDeps([104,1,2,3,11,12,13]),import.meta.url),"./src/components/OrderedList/OrderedList.docs.mdx":async()=>t(()=>import("./OrderedList.docs-BS1Ql01G.js"),__vite__mapDeps([105,1,2,3,4,5,6,7,8,9,106,11,12,13,35,14]),import.meta.url),"./src/components/OrderedList/OrderedList.stories.tsx":async()=>t(()=>import("./OrderedList.stories-CC1jhB1h.js").then(r=>r.O),__vite__mapDeps([106,1,2,3,11,12,13,35,14]),import.meta.url),"./src/components/Overlap/Overlap.docs.mdx":async()=>t(()=>import("./Overlap.docs-BYzdFF5P.js"),__vite__mapDeps([107,1,2,3,4,5,6,7,8,9,108,11,12,13]),import.meta.url),"./src/components/Overlap/Overlap.stories.tsx":async()=>t(()=>import("./Overlap.stories-CV1ABcBL.js").then(r=>r.O),__vite__mapDeps([108,1,2,3,11,12,13]),import.meta.url),"./src/components/PageHeading/PageHeading.docs.mdx":async()=>t(()=>import("./PageHeading.docs-rSrAQOkz.js"),__vite__mapDeps([109,1,2,3,4,5,6,7,8,9,110,35,12]),import.meta.url),"./src/components/PageHeading/PageHeading.stories.tsx":async()=>t(()=>import("./PageHeading.stories-DFJLHWJS.js").then(r=>r.P),__vite__mapDeps([110,35,1,2,3,12]),import.meta.url),"./src/components/PageMenu/PageMenu.docs.mdx":async()=>t(()=>import("./PageMenu.docs-BFTUvpFt.js"),__vite__mapDeps([111,1,2,3,4,5,6,7,8,9,70,13,12,16,80,32,81]),import.meta.url),"./src/components/PageMenu/PageMenu.stories.tsx":async()=>t(()=>import("./PageMenu.stories-BCcfa8-E.js").then(r=>r.P),__vite__mapDeps([70,1,2,3,13,12,16]),import.meta.url),"./src/components/Pagination/Pagination.docs.mdx":async()=>t(()=>import("./Pagination.docs-BiG7S42Y.js"),__vite__mapDeps([112,1,2,3,4,5,6,7,8,9,113,13,12,16]),import.meta.url),"./src/components/Pagination/Pagination.stories.tsx":async()=>t(()=>import("./Pagination.stories-CoYu-8yI.js").then(r=>r.P),__vite__mapDeps([113,1,2,3,13,12,16]),import.meta.url),"./src/components/Paragraph/Paragraph.docs.mdx":async()=>t(()=>import("./Paragraph.docs-B2PuRdru.js"),__vite__mapDeps([114,1,2,3,4,5,6,7,8,9,115,35,14,45,12]),import.meta.url),"./src/components/Paragraph/Paragraph.stories.tsx":async()=>t(()=>import("./Paragraph.stories-ClnGZglM.js").then(r=>r.P),__vite__mapDeps([115,35,1,2,3,14,45,12]),import.meta.url),"./src/components/PasswordInput/PasswordInput.docs.mdx":async()=>t(()=>import("./PasswordInput.docs-tfwBsEli.js"),__vite__mapDeps([116,1,2,3,4,5,6,7,8,9,117,11,12,13]),import.meta.url),"./src/components/PasswordInput/PasswordInput.stories.tsx":async()=>t(()=>import("./PasswordInput.stories-C7RUwA76.js").then(r=>r.P),__vite__mapDeps([117,1,2,3,11,12,13]),import.meta.url),"./src/components/Radio/Radio.docs.mdx":async()=>t(()=>import("./Radio.docs-BbhSzyrT.js"),__vite__mapDeps([118,1,2,3,4,5,6,7,8,9,119,11,12,13]),import.meta.url),"./src/components/Radio/Radio.stories.tsx":async()=>t(()=>import("./Radio.stories-B1eLtVrD.js").then(r=>r.R),__vite__mapDeps([119,1,2,3,11,12,13]),import.meta.url),"./src/components/Row/Row.docs.mdx":async()=>t(()=>import("./Row.docs-iIZZ6UuU.js"),__vite__mapDeps([120,1,2,3,4,5,6,7,8,9,121,11,12,13,52]),import.meta.url),"./src/components/Row/Row.stories.tsx":async()=>t(()=>import("./Row.stories-4bDVg473.js").then(r=>r.R),__vite__mapDeps([121,1,2,3,11,12,13,52]),import.meta.url),"./src/components/Screen/Screen.docs.mdx":async()=>t(()=>import("./Screen.docs-CLfjYFb0.js"),__vite__mapDeps([122,1,2,3,4,5,6,7,8,9,123,92,12]),import.meta.url),"./src/components/Screen/Screen.stories.tsx":async()=>t(()=>import("./Screen.stories-CAM2F1Py.js").then(r=>r.S),__vite__mapDeps([123,1,2,3,92,12]),import.meta.url),"./src/components/SearchField/SearchField.docs.mdx":async()=>t(()=>import("./SearchField.docs-DiEyH9Dl.js"),__vite__mapDeps([124,1,2,3,4,5,6,7,8,9,125,12,13,16]),import.meta.url),"./src/components/SearchField/SearchField.stories.tsx":async()=>t(()=>import("./SearchField.stories-D19KI_ea.js").then(r=>r.S),__vite__mapDeps([125,1,2,3,12,13,16]),import.meta.url),"./src/components/Select/Select.docs.mdx":async()=>t(()=>import("./Select.docs-DQJHkVRK.js"),__vite__mapDeps([126,1,2,3,4,5,6,7,8,9,127,11,12,13]),import.meta.url),"./src/components/Select/Select.stories.tsx":async()=>t(()=>import("./Select.stories-CFZHvQ8a.js").then(r=>r.S),__vite__mapDeps([127,1,2,3,11,12,13]),import.meta.url),"./src/components/SkipLink/SkipLink.docs.mdx":async()=>t(()=>import("./SkipLink.docs-D7ChMy2U.js"),__vite__mapDeps([128,1,2,3,4,5,6,7,8,9,129,11,12,13]),import.meta.url),"./src/components/SkipLink/SkipLink.stories.tsx":async()=>t(()=>import("./SkipLink.stories-Bu61bRPF.js").then(r=>r.S),__vite__mapDeps([129,1,2,3,11,12,13]),import.meta.url),"./src/components/Spotlight/Spotlight.docs.mdx":async()=>t(()=>import("./Spotlight.docs-CbT1KXre.js"),__vite__mapDeps([130,1,2,3,4,5,6,7,8,9,131,11,12,13,14,71]),import.meta.url),"./src/components/Spotlight/Spotlight.stories.tsx":async()=>t(()=>import("./Spotlight.stories-B-Mevme7.js").then(r=>r.S),__vite__mapDeps([131,1,2,3,11,12,13,14,71]),import.meta.url),"./src/components/Switch/Switch.docs.mdx":async()=>t(()=>import("./Switch.docs-B_QMvBvn.js"),__vite__mapDeps([132,1,2,3,4,5,6,7,8,9,133,11,12,13]),import.meta.url),"./src/components/Switch/Switch.stories.tsx":async()=>t(()=>import("./Switch.stories-CQQNnxz2.js").then(r=>r.S),__vite__mapDeps([133,1,2,3,11,12,13]),import.meta.url),"./src/components/Table/Table.docs.mdx":async()=>t(()=>import("./Table.docs-CredqGHU.js"),__vite__mapDeps([134,1,2,3,4,5,6,7,8,9,135,12]),import.meta.url),"./src/components/Table/Table.stories.tsx":async()=>t(()=>import("./Table.stories-BhkPPk6Y.js").then(r=>r.T),__vite__mapDeps([135,1,2,3,12]),import.meta.url),"./src/components/TableOfContents/TableOfContents.docs.mdx":async()=>t(()=>import("./TableOfContents.docs-CFEKQbKH.js"),__vite__mapDeps([136,1,2,3,4,5,6,7,8,9,137,12,23,15]),import.meta.url),"./src/components/TableOfContents/TableOfContents.stories.tsx":async()=>t(()=>import("./TableOfContents.stories-CDYIQLGg.js").then(r=>r.T),__vite__mapDeps([137,1,2,3,12,23,15]),import.meta.url),"./src/components/Tabs/Tabs.docs.mdx":async()=>t(()=>import("./Tabs.docs-C3aCGWQ9.js"),__vite__mapDeps([138,1,2,3,4,5,6,7,8,9,139,11,12,13,14,17]),import.meta.url),"./src/components/Tabs/Tabs.stories.tsx":async()=>t(()=>import("./Tabs.stories-CvAtSKKj.js").then(r=>r.T),__vite__mapDeps([139,1,2,3,11,12,13,14,17]),import.meta.url),"./src/components/TextArea/TextArea.docs.mdx":async()=>t(()=>import("./TextArea.docs-BQa28DZ_.js"),__vite__mapDeps([140,1,2,3,4,5,6,7,8,9,141,11,12,13,14]),import.meta.url),"./src/components/TextArea/TextArea.stories.tsx":async()=>t(()=>import("./TextArea.stories-B1oEHz84.js").then(r=>r.T),__vite__mapDeps([141,1,2,3,11,12,13,14]),import.meta.url),"./src/components/TextInput/TextInput.docs.mdx":async()=>t(()=>import("./TextInput.docs-uMYk4FR5.js"),__vite__mapDeps([142,1,2,3,4,5,6,7,8,9,143,11,12,13]),import.meta.url),"./src/components/TextInput/TextInput.stories.tsx":async()=>t(()=>import("./TextInput.stories-B_UuZJiy.js").then(r=>r.T),__vite__mapDeps([143,1,2,3,11,12,13]),import.meta.url),"./src/components/TimeInput/TimeInput.docs.mdx":async()=>t(()=>import("./TimeInput.docs-BEzT1ofO.js"),__vite__mapDeps([144,1,2,3,4,5,6,7,8,9,145,11,12,13]),import.meta.url),"./src/components/TimeInput/TimeInput.stories.tsx":async()=>t(()=>import("./TimeInput.stories-CiSTvywS.js").then(r=>r.T),__vite__mapDeps([145,1,2,3,11,12,13]),import.meta.url),"./src/components/TopTaskLink/TopTaskLink.docs.mdx":async()=>t(()=>import("./TopTaskLink.docs-DDrNPnwZ.js"),__vite__mapDeps([146,1,2,3,4,5,6,7,8,9,147,11,12,13,80,32,81]),import.meta.url),"./src/components/TopTaskLink/TopTaskLink.stories.tsx":async()=>t(()=>import("./TopTaskLink.stories-NRgtpriG.js").then(r=>r.T),__vite__mapDeps([147,1,2,3,11,12,13]),import.meta.url),"./src/components/UnorderedList/UnorderedList.docs.mdx":async()=>t(()=>import("./UnorderedList.docs-BL4o5j9Y.js"),__vite__mapDeps([148,1,2,3,4,5,6,7,8,9,149,11,12,13,35,14]),import.meta.url),"./src/components/UnorderedList/UnorderedList.stories.tsx":async()=>t(()=>import("./UnorderedList.stories-DhNns6p3.js").then(r=>r.U),__vite__mapDeps([149,1,2,3,11,12,13,35,14]),import.meta.url),"./src/docs/developer-guide/breakpoints.docs.mdx":async()=>t(()=>import("./breakpoints.docs-iAQJCoHK.js"),__vite__mapDeps([150,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/getting-started.docs.mdx":async()=>t(()=>import("./getting-started.docs-DVFO7S2I.js"),__vite__mapDeps([151,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/interactivity.docs.mdx":async()=>t(()=>import("./interactivity.docs-DV6-BODK.js"),__vite__mapDeps([152,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/language.docs.mdx":async()=>t(()=>import("./language.docs-BoUYzigF.js"),__vite__mapDeps([153,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/routing-libraries.docs.mdx":async()=>t(()=>import("./routing-libraries.docs-CFwxiaDK.js"),__vite__mapDeps([154,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/usability.docs.mdx":async()=>t(()=>import("./usability.docs-qVHHBl4G.js"),__vite__mapDeps([155,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/developer-guide/web-app.docs.mdx":async()=>t(()=>import("./web-app.docs-C0njb6JL.js"),__vite__mapDeps([156,1,2,3,4,5,6,7,8,9,157,11,12,13]),import.meta.url),"./src/docs/introduction.docs.mdx":async()=>t(()=>import("./introduction.docs-CMuzhlIy.js"),__vite__mapDeps([158,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/terms-of-use/copyright.docs.mdx":async()=>t(()=>import("./copyright.docs-B5rIQQRC.js"),__vite__mapDeps([159,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/docs/terms-of-use/license.docs.mdx":async()=>t(()=>import("./license.docs-Bn9RvMfU.js"),__vite__mapDeps([160,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/assets/favicon.docs.mdx":async()=>t(()=>import("./favicon.docs-DemUi0p7.js"),__vite__mapDeps([161,1,2,3,4,5,6,7,8,9,157,11,12,13]),import.meta.url),"./src/foundation/assets/font.docs.mdx":async()=>t(()=>import("./font.docs-CqbjMcoV.js"),__vite__mapDeps([162,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/assets/icons.docs.mdx":async()=>t(()=>import("./icons.docs-ClD6Js2W.js"),__vite__mapDeps([163,1,2,3,4,5,6,7,8,9,13,16,12,80,32,81]),import.meta.url),"./src/foundation/design-tokens/border.docs.mdx":async()=>t(()=>import("./border.docs-CgI_Rfeu.js"),__vite__mapDeps([164,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/colour.docs.mdx":async()=>t(()=>import("./colour.docs-BWf9OSTt.js"),__vite__mapDeps([165,1,2,3,4,5,6,7,8,9,80,32,12,81,166]),import.meta.url),"./src/foundation/design-tokens/grid.docs.mdx":async()=>t(()=>import("./grid.docs-DbrxocRE.js"),__vite__mapDeps([167,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/space.docs.mdx":async()=>t(()=>import("./space.docs-CR1IeB1o.js"),__vite__mapDeps([168,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/foundation/design-tokens/text.docs.mdx":async()=>t(()=>import("./text.docs-CYMf4gn5.js"),__vite__mapDeps([169,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/pages/Introduction.docs.mdx":async()=>t(()=>import("./Introduction.docs-B67xWw2D.js"),__vite__mapDeps([170,1,2,3,4,5,6,7,8,9]),import.meta.url),"./src/pages/amsterdam/ArticlePage/ArticlePage.docs.mdx":async()=>t(()=>import("./ArticlePage.docs-CkVZciku.js"),__vite__mapDeps([171,1,2,3,4,5,6,7,8,9,172,11,12,13,89,29,173,70,16,69,71]),import.meta.url),"./src/pages/amsterdam/ArticlePage/ArticlePage.stories.tsx":async()=>t(()=>import("./ArticlePage.stories-ZGx9nU2q.js").then(r=>r.A),__vite__mapDeps([172,1,2,3,11,12,13,89,29,173,70,16,69,71]),import.meta.url),"./src/pages/amsterdam/FormPage/FormPage.docs.mdx":async()=>t(()=>import("./FormPage.docs-Ieyn4F-T.js"),__vite__mapDeps([174,1,2,3,4,5,6,7,8,9,175,11,12,13,173,70,16,69,71]),import.meta.url),"./src/pages/amsterdam/FormPage/FormPage.stories.tsx":async()=>t(()=>import("./FormPage.stories-SvNd8_2u.js").then(r=>r.F),__vite__mapDeps([175,1,2,3,11,12,13,173,70,16,69,71]),import.meta.url),"./src/pages/amsterdam/HomePage/HomePage.docs.mdx":async()=>t(()=>import("./HomePage.docs-BxKdicf_.js"),__vite__mapDeps([176,1,2,3,4,5,6,7,8,9,177,11,12,13,108,173,70,16,69,71]),import.meta.url),"./src/pages/amsterdam/HomePage/HomePage.stories.tsx":async()=>t(()=>import("./HomePage.stories-BL-CI7jr.js").then(r=>r.H),__vite__mapDeps([177,1,2,3,11,12,13,108,173,70,16,69,71]),import.meta.url),"./src/utils/Gap/Gap.docs.mdx":async()=>t(()=>import("./Gap.docs-BQmCaEvS.js"),__vite__mapDeps([178,1,2,3,4,5,6,7,8,9,179,11,12,13]),import.meta.url),"./src/utils/Gap/Gap.stories.tsx":async()=>t(()=>import("./Gap.stories-BlSmDvGE.js").then(r=>r.G),__vite__mapDeps([179,1,2,3,11,12,13]),import.meta.url),"./src/utils/Margin/Margin.docs.mdx":async()=>t(()=>import("./Margin.docs-C5PkDOrX.js"),__vite__mapDeps([180,1,2,3,4,5,6,7,8,9,181,11,12,13]),import.meta.url),"./src/utils/Margin/Margin.stories.tsx":async()=>t(()=>import("./Margin.stories-BupqR0H6.js").then(r=>r.M),__vite__mapDeps([181,1,2,3,11,12,13]),import.meta.url),"./src/utils/VisuallyHidden/VisuallyHidden.docs.mdx":async()=>t(()=>import("./VisuallyHidden.docs-VIIfW0ua.js"),__vite__mapDeps([182,1,2,3,4,5,6,7,8,9,183,11,12,13]),import.meta.url),"./src/utils/VisuallyHidden/VisuallyHidden.stories.tsx":async()=>t(()=>import("./VisuallyHidden.stories-d9VRTLgH.js").then(r=>r.V),__vite__mapDeps([183,1,2,3,11,12,13]),import.meta.url)};async function D(r){return A[r]()}const{composeConfigs:v,PreviewWeb:y,ClientApi:h}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(r=[])=>{const i=await Promise.all([r[0]??t(()=>import("./entry-preview-Cdzc4m9t.js"),__vite__mapDeps([184,185,2,3,6]),import.meta.url),r[1]??t(()=>import("./entry-preview-docs-BexTP7_g.js"),__vite__mapDeps([186,185,8,3,2]),import.meta.url),r[2]??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([187,7]),import.meta.url),r[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),r[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([188,9]),import.meta.url),r[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),r[6]??t(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),r[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([189,9]),import.meta.url),r[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),r[9]??t(()=>import("./preview-BJ6EHSBF.js"),[],import.meta.url),r[10]??t(()=>import("./preview-BmmYZs0t.js"),[],import.meta.url),r[11]??t(()=>import("./preview-CVgpLj3b.js"),[],import.meta.url),r[12]??t(()=>import("./preview-DSxrJxLh.js"),[],import.meta.url),r[13]??t(()=>import("./preview-C7tAAfkq.js"),[],import.meta.url),r[14]??t(()=>import("./preview-q6KVDenL.js"),__vite__mapDeps([190,1,2,3,191]),import.meta.url)]);return v(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new y(D,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/demo-1732-error-on-icon-prop/assets/index-fGKZZBv1.js b/demo-1732-error-on-icon-prop/assets/index-Cnpsjyel.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/index-fGKZZBv1.js rename to demo-1732-error-on-icon-prop/assets/index-Cnpsjyel.js index e748bcfb3d..c5cea9f736 100644 --- a/demo-1732-error-on-icon-prop/assets/index-fGKZZBv1.js +++ b/demo-1732-error-on-icon-prop/assets/index-Cnpsjyel.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-GnA_7lsg.js","./iframe-e7YraeZa.js","./index-B-o1Wr-g.js","./_commonjsHelpers-Cpj98o6Y.js","./jsx-runtime-j_jdvEMj.js","./index-DolzVqEf.js","./index-D-8MO0q_.js","./index-CJyPbrN5.js","./index-DrFu-skq.js","./Color-F6OSRLHC-ClAgG3yS.js"])))=>i.map(i=>d[i]); -var Nx=Object.defineProperty;var Hx=(e,t,r)=>t in e?Nx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rn=(e,t,r)=>Hx(e,typeof t!="symbol"?t+"":t,r);import{_ as G4}from"./iframe-e7YraeZa.js";import{r as l,R as y}from"./index-B-o1Wr-g.js";import{j as J}from"./jsx-runtime-j_jdvEMj.js";import{r as fs,F as Y4}from"./index-DolzVqEf.js";import{O as K4,P as jx}from"./index-D-8MO0q_.js";import{y as hh,g as Eu}from"./index-CJyPbrN5.js";import{d as Vx}from"./index-DrFu-skq.js";var Ux=Object.create,Z4=Object.defineProperty,qx=Object.getOwnPropertyDescriptor,J4=Object.getOwnPropertyNames,Wx=Object.getPrototypeOf,Gx=Object.prototype.hasOwnProperty,xi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),mn=(e,t)=>function(){return t||(0,e[J4(e)[0]])((t={exports:{}}).exports,t),t.exports},Yx=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of J4(t))!Gx.call(e,a)&&a!==r&&Z4(e,a,{get:()=>t[a],enumerable:!(n=qx(t,a))||n.enumerable});return e},Y1=(e,t,r)=>(r=e!=null?Ux(Wx(e)):{},Yx(t||!e||!e.__esModule?Z4(r,"default",{value:e,enumerable:!0}):r,e));function Kx(e,t,{signal:r,edges:n}={}){let a,o=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{s&&c(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),a=void 0,o=null},v=()=>{h(),c()},g=function(...w){if(r!=null&&r.aborted)return;a=this,o=w;let x=p==null;m(),i&&x&&c()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function yV(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:i}=r,s=Array(2);a&&(s[0]="leading"),o&&(s[1]="trailing");let c,d=null,p=Kx(function(...f){c=e.apply(this,f),d=null},t,{signal:n,edges:s}),m=function(...f){if(i!=null){if(d===null)d=Date.now();else if(Date.now()-d>=i)return c=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),c}return p.apply(this,f),c},h=()=>(p.flush(),c);return m.cancel=p.cancel,m.flush=h,m}function Zx(e){return Array.from(new Set(e))}function Jx(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,hs=e=>`set-${e.replace(/\s+/g,"-")}`,oD=Object.create,K1=Object.defineProperty,iD=Object.getOwnPropertyDescriptor,lD=Object.getOwnPropertyNames,sD=Object.getPrototypeOf,uD=Object.prototype.hasOwnProperty,R=(e,t)=>K1(e,"name",{value:t,configurable:!0}),Di=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),ms=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),cD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of lD(t))!uD.call(e,a)&&a!==r&&K1(e,a,{get:()=>t[a],enumerable:!(n=iD(t,a))||n.enumerable});return e},Z1=(e,t,r)=>(r=e!=null?oD(sD(e)):{},cD(t||!e||!e.__esModule?K1(r,"default",{value:e,enumerable:!0}):r,e)),dD=ms(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function b($){return typeof $=="string"||typeof $=="function"||$===a||$===p||$===i||$===o||$===h||$===f||typeof $=="object"&&$!==null&&($.$$typeof===g||$.$$typeof===v||$.$$typeof===s||$.$$typeof===c||$.$$typeof===m||$.$$typeof===x||$.$$typeof===D||$.$$typeof===E||$.$$typeof===w)}R(b,"isValidElementType");function C($){if(typeof $=="object"&&$!==null){var rt=$.$$typeof;switch(rt){case r:var Dt=$.type;switch(Dt){case d:case p:case a:case i:case o:case h:return Dt;default:var Mr=Dt&&Dt.$$typeof;switch(Mr){case c:case m:case g:case v:case s:return Mr;default:return rt}}case n:return rt}}}R(C,"typeOf");var S=d,k=p,A=c,_=s,I=r,B=m,z=a,L=g,M=v,O=n,P=i,j=o,U=h,V=!1;function G($){return V||(V=!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.")),Q($)||C($)===d}R(G,"isAsyncMode");function Q($){return C($)===p}R(Q,"isConcurrentMode");function ne($){return C($)===c}R(ne,"isContextConsumer");function Z($){return C($)===s}R(Z,"isContextProvider");function ie($){return typeof $=="object"&&$!==null&&$.$$typeof===r}R(ie,"isElement");function N($){return C($)===m}R(N,"isForwardRef");function K($){return C($)===a}R(K,"isFragment");function re($){return C($)===g}R(re,"isLazy");function fe($){return C($)===v}R(fe,"isMemo");function Ce($){return C($)===n}R(Ce,"isPortal");function xt($){return C($)===i}R(xt,"isProfiler");function He($){return C($)===o}R(He,"isStrictMode");function tt($){return C($)===h}R(tt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=I,e.ForwardRef=B,e.Fragment=z,e.Lazy=L,e.Memo=M,e.Portal=O,e.Profiler=P,e.StrictMode=j,e.Suspense=U,e.isAsyncMode=G,e.isConcurrentMode=Q,e.isContextConsumer=ne,e.isContextProvider=Z,e.isElement=ie,e.isForwardRef=N,e.isFragment=K,e.isLazy=re,e.isMemo=fe,e.isPortal=Ce,e.isProfiler=xt,e.isStrictMode=He,e.isSuspense=tt,e.isValidElementType=b,e.typeOf=C})()}),pD=ms((e,t)=>{t.exports=dD()}),X4=ms((e,t)=>{var r=pD(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function c(w){return r.isMemo(w)?i:s[w.$$typeof]||n}R(c,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(w,x,D){if(typeof x!="string"){if(v){var E=f(x);E&&E!==v&&g(w,E,D)}var b=p(x);m&&(b=b.concat(m(x)));for(var C=c(w),S=c(x),k=0;k{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return R(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof Di=="function"&&Di;if(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}R(i,"s");for(var s=typeof Di=="function"&&Di,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}R(s,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}R(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.map(i=>d[i]); +var Nx=Object.defineProperty;var Hx=(e,t,r)=>t in e?Nx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rn=(e,t,r)=>Hx(e,typeof t!="symbol"?t+"":t,r);import{_ as G4}from"./iframe-D2ZBSuFq.js";import{r as l,R as y}from"./index-B-o1Wr-g.js";import{j as J}from"./jsx-runtime-j_jdvEMj.js";import{r as fs,F as Y4}from"./index-DolzVqEf.js";import{O as K4,P as jx}from"./index-D-8MO0q_.js";import{y as hh,g as Eu}from"./index-CJyPbrN5.js";import{d as Vx}from"./index-DrFu-skq.js";var Ux=Object.create,Z4=Object.defineProperty,qx=Object.getOwnPropertyDescriptor,J4=Object.getOwnPropertyNames,Wx=Object.getPrototypeOf,Gx=Object.prototype.hasOwnProperty,xi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),mn=(e,t)=>function(){return t||(0,e[J4(e)[0]])((t={exports:{}}).exports,t),t.exports},Yx=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of J4(t))!Gx.call(e,a)&&a!==r&&Z4(e,a,{get:()=>t[a],enumerable:!(n=qx(t,a))||n.enumerable});return e},Y1=(e,t,r)=>(r=e!=null?Ux(Wx(e)):{},Yx(t||!e||!e.__esModule?Z4(r,"default",{value:e,enumerable:!0}):r,e));function Kx(e,t,{signal:r,edges:n}={}){let a,o=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{s&&c(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),a=void 0,o=null},v=()=>{h(),c()},g=function(...w){if(r!=null&&r.aborted)return;a=this,o=w;let x=p==null;m(),i&&x&&c()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function yV(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:i}=r,s=Array(2);a&&(s[0]="leading"),o&&(s[1]="trailing");let c,d=null,p=Kx(function(...f){c=e.apply(this,f),d=null},t,{signal:n,edges:s}),m=function(...f){if(i!=null){if(d===null)d=Date.now();else if(Date.now()-d>=i)return c=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),c}return p.apply(this,f),c},h=()=>(p.flush(),c);return m.cancel=p.cancel,m.flush=h,m}function Zx(e){return Array.from(new Set(e))}function Jx(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,hs=e=>`set-${e.replace(/\s+/g,"-")}`,oD=Object.create,K1=Object.defineProperty,iD=Object.getOwnPropertyDescriptor,lD=Object.getOwnPropertyNames,sD=Object.getPrototypeOf,uD=Object.prototype.hasOwnProperty,R=(e,t)=>K1(e,"name",{value:t,configurable:!0}),Di=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),ms=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),cD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of lD(t))!uD.call(e,a)&&a!==r&&K1(e,a,{get:()=>t[a],enumerable:!(n=iD(t,a))||n.enumerable});return e},Z1=(e,t,r)=>(r=e!=null?oD(sD(e)):{},cD(t||!e||!e.__esModule?K1(r,"default",{value:e,enumerable:!0}):r,e)),dD=ms(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function b($){return typeof $=="string"||typeof $=="function"||$===a||$===p||$===i||$===o||$===h||$===f||typeof $=="object"&&$!==null&&($.$$typeof===g||$.$$typeof===v||$.$$typeof===s||$.$$typeof===c||$.$$typeof===m||$.$$typeof===x||$.$$typeof===D||$.$$typeof===E||$.$$typeof===w)}R(b,"isValidElementType");function C($){if(typeof $=="object"&&$!==null){var rt=$.$$typeof;switch(rt){case r:var Dt=$.type;switch(Dt){case d:case p:case a:case i:case o:case h:return Dt;default:var Mr=Dt&&Dt.$$typeof;switch(Mr){case c:case m:case g:case v:case s:return Mr;default:return rt}}case n:return rt}}}R(C,"typeOf");var S=d,k=p,A=c,_=s,I=r,B=m,z=a,L=g,M=v,O=n,P=i,j=o,U=h,V=!1;function G($){return V||(V=!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.")),Q($)||C($)===d}R(G,"isAsyncMode");function Q($){return C($)===p}R(Q,"isConcurrentMode");function ne($){return C($)===c}R(ne,"isContextConsumer");function Z($){return C($)===s}R(Z,"isContextProvider");function ie($){return typeof $=="object"&&$!==null&&$.$$typeof===r}R(ie,"isElement");function N($){return C($)===m}R(N,"isForwardRef");function K($){return C($)===a}R(K,"isFragment");function re($){return C($)===g}R(re,"isLazy");function fe($){return C($)===v}R(fe,"isMemo");function Ce($){return C($)===n}R(Ce,"isPortal");function xt($){return C($)===i}R(xt,"isProfiler");function He($){return C($)===o}R(He,"isStrictMode");function tt($){return C($)===h}R(tt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=I,e.ForwardRef=B,e.Fragment=z,e.Lazy=L,e.Memo=M,e.Portal=O,e.Profiler=P,e.StrictMode=j,e.Suspense=U,e.isAsyncMode=G,e.isConcurrentMode=Q,e.isContextConsumer=ne,e.isContextProvider=Z,e.isElement=ie,e.isForwardRef=N,e.isFragment=K,e.isLazy=re,e.isMemo=fe,e.isPortal=Ce,e.isProfiler=xt,e.isStrictMode=He,e.isSuspense=tt,e.isValidElementType=b,e.typeOf=C})()}),pD=ms((e,t)=>{t.exports=dD()}),X4=ms((e,t)=>{var r=pD(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function c(w){return r.isMemo(w)?i:s[w.$$typeof]||n}R(c,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(w,x,D){if(typeof x!="string"){if(v){var E=f(x);E&&E!==v&&g(w,E,D)}var b=p(x);m&&(b=b.concat(m(x)));for(var C=c(w),S=c(x),k=0;k{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return R(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof Di=="function"&&Di;if(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}R(i,"s");for(var s=typeof Di=="function"&&Di,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}R(s,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}R(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?we(ka,--$e):0,la--,de===10&&(la=1,ys--),de}R(l3,"prev");function Oe(){return de=$e2||sa(de)>3?"":" "}R(s3,"whitespace");function u3(e,t){for(;--t&&Oe()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return Aa(e,bo()+(t<6&&dt()==32&&Oe()==32))}R(u3,"escaping");function Cl(e){for(;Oe();)switch(de){case e:return $e;case 34:case 39:e!==34&&e!==39&&Cl(de);break;case 40:e===41&&Cl(e);break;case 92:Oe();break}return $e}R(Cl,"delimiter");function c3(e,t){for(;Oe()&&e+de!==57&&!(e+de===84&&dt()===47););return"/*"+Aa(t,$e-1)+"*"+gs(e===47?e:Oe())}R(c3,"commenter");function d3(e){for(;!sa(dt());)Oe();return Aa(e,$e)}R(d3,"identifier");function p3(e){return ap(Eo("",null,null,null,[""],e=np(e),0,[0],e))}R(p3,"compile");function Eo(e,t,r,n,a,o,i,s,c){for(var d=0,p=0,m=i,h=0,f=0,v=0,g=1,w=1,x=1,D=0,E="",b=a,C=o,S=n,k=E;w;)switch(v=D,D=Oe()){case 40:if(v!=108&&we(k,m-1)==58){Dl(k+=ee(wo(D),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:k+=wo(D);break;case 9:case 10:case 13:case 32:k+=s3(v);break;case 92:k+=u3(bo()-1,7);continue;case 47:switch(dt()){case 42:case 47:oo(f3(c3(Oe(),bo()),t,r),c);break;default:k+="/"}break;case 123*g:s[d++]=lt(k)*x;case 125*g:case 59:case 0:switch(D){case 0:case 125:w=0;case 59+p:x==-1&&(k=ee(k,/\f/g,"")),f>0&<(k)-m&&oo(f>32?Q0(k+";",n,r,m-1):Q0(ee(k," ","")+";",n,r,m-2),c);break;case 59:k+=";";default:if(oo(S=X0(k,t,r,d,p,a,s,E,b=[],C=[],m),o),D===123)if(p===0)Eo(k,t,S,S,b,o,m,s,C);else switch(h===99&&we(k,3)===110?100:h){case 100:case 108:case 109:case 115:Eo(e,S,S,n&&oo(X0(e,S,S,0,0,a,s,E,a,b=[],m),C),a,C,m,s,n?b:C);break;default:Eo(k,S,S,S,[""],C,0,s,C)}}d=p=f=0,g=x=1,E=k="",m=i;break;case 58:m=1+lt(k),f=v;default:if(g<1){if(D==123)--g;else if(D==125&&g++==0&&l3()==125)continue}switch(k+=gs(D),D*g){case 38:x=p>0?1:(k+="\f",-1);break;case 44:s[d++]=(lt(k)-1)*x,x=1;break;case 64:dt()===45&&(k+=wo(Oe())),h=dt(),p=m=lt(E=k+=d3(bo())),D++;break;case 45:v===45&<(k)==2&&(g=0)}}return o}R(Eo,"parse");function X0(e,t,r,n,a,o,i,s,c,d,p){for(var m=a-1,h=a===0?o:[""],f=vs(h),v=0,g=0,w=0;v0?h[x]+" "+D:ee(D,/&\f/g,h[x])))&&(c[w++]=E);return Ko(e,t,r,a===0?ep:s,c,d,p)}R(X0,"ruleset");function f3(e,t,r){return Ko(e,t,r,Q1,gs(i3()),ia(e,2,-2),0)}R(f3,"comment");function Q0(e,t,r,n){return Ko(e,t,r,tp,ia(e,0,n),ia(e,n+1,-1),n)}R(Q0,"declaration");function an(e,t){for(var r="",n=vs(e),a=0;a-1},"isIgnoringComment"),AD=R(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var o=!!t.parent,i=o?t.parent.children:n,s=i.length-1;s>=0;s--){var c=i[s];if(c.line=0;r--)if(!g3(t[r]))return!0;return!1},"isPrependedWithRegularRules"),yh=R(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),_D=R(function(e,t,r){g3(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."),yh(e)):FD(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),yh(e)))},"incorrectImportAlarm");function op(e,t){switch(r3(e,t)){case 5103:return te+"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 te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return te+e+xl+e+_e+e+e;case 6828:case 4268:return te+e+_e+e+e;case 6165:return te+e+_e+"flex-"+e+e;case 5187:return te+e+ee(e,/(\w+).+(:[^]+)/,te+"box-$1$2"+_e+"flex-$1$2")+e;case 5443:return te+e+_e+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return te+e+_e+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return te+e+_e+ee(e,"shrink","negative")+e;case 5292:return te+e+_e+ee(e,"basis","preferred-size")+e;case 6060:return te+"box-"+ee(e,"-grow","")+te+e+_e+ee(e,"grow","positive")+e;case 4554:return te+ee(e,/([^-])(transform)/g,"$1"+te+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,te+"$1"),/(image-set)/,te+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,te+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,te+"box-pack:$3"+_e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+te+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,te+"$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(lt(e)-1-t>6)switch(we(e,t+1)){case 109:if(we(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+te+"$2-$3$1"+xl+(we(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Dl(e,"stretch")?op(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(we(e,t+1)!==115)break;case 6444:switch(we(e,lt(e)-3-(~Dl(e,"!important")&&10))){case 107:return ee(e,":",":"+te)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+te+(we(e,14)===45?"inline-":"")+"box$3$1"+te+"$2$3$1"+_e+"$2box$3")+e}break;case 5936:switch(we(e,t+11)){case 114:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return te+e+_e+e+e}return e}R(op,"prefix");var RD=R(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case tp:e.return=op(e.value,e.length);break;case t3:return an([$n(e,{value:ee(e.value,"@","@"+te)})],n);case ep:if(e.length)return a3(e.props,function(a){switch(n3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return an([$n(e,{props:[ee(a,/:(read-\w+)/,":"+xl+"$1")]})],n);case"::placeholder":return an([$n(e,{props:[ee(a,/:(plac\w+)/,":"+te+"input-$1")]}),$n(e,{props:[ee(a,/:(plac\w+)/,":"+xl+"$1")]}),$n(e,{props:[ee(a,/:(plac\w+)/,_e+"input-$1")]})],n)}return""})}},"prefixer"),ID=[RD],BD=R(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(v){var g=v.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||ID;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),w=1;w=4;++n,a-=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(a){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)}R(v3,"murmur2");var OD={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},bh=`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';". @@ -677,7 +677,7 @@ To pass a single animation please supply them in simple values, e.g. animation(' `,77:`remToPx expects a value in "rem" but you provided it in "%s". `,78:`base must be set in "px" or "%" but you set it in "%s". -`};function VL(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}var w4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function qL(e){if(typeof e!="string")return e;var t=e.toLowerCase();return w4[t]?"#"+w4[t]:e}var WL=/^#[a-fA-F0-9]{6}$/,GL=/^#[a-fA-F0-9]{8}$/,YL=/^#[a-fA-F0-9]{3}$/,KL=/^#[a-fA-F0-9]{4}$/,j0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ZL=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,JL=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,XL=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function du(e){if(typeof e!="string")throw new Mt(3);var t=qL(e);if(t.match(WL))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(GL)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(YL))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(KL)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=j0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=ZL.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=JL.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Go(s,c,d)+")",m=j0.exec(p);if(!m)throw new Mt(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=XL.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+Go(f,v,g)+")",x=j0.exec(w);if(!x)throw new Mt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Mt(5)}function QL(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?ps(e,t,r):"rgba("+Go(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ps(e.hue,e.saturation,e.lightness):"rgba("+Go(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Mt(2)}function P1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return M1("#"+Yr(e)+Yr(t)+Yr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return M1("#"+Yr(e.red)+Yr(e.green)+Yr(e.blue));throw new Mt(6)}function nr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=du(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?P1(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?P1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Mt(7)}var aO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},oO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},iO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},lO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function O9(e){if(typeof e!="object")throw new Mt(8);if(oO(e))return nr(e);if(aO(e))return P1(e);if(lO(e))return nO(e);if(iO(e))return rO(e);throw new Mt(8)}function M9(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):M9(e,t,n)}}function pu(e){return M9(e,e.length,[])}function fu(e,t,r){return Math.max(e,Math.min(t,r))}function sO(e,t){if(t==="transparent")return t;var r=L9(t);return O9(Ca({},r,{lightness:fu(0,1,r.lightness-parseFloat(e))}))}var uO=pu(sO),It=uO;function cO(e,t){if(t==="transparent")return t;var r=L9(t);return O9(Ca({},r,{lightness:fu(0,1,r.lightness+parseFloat(e))}))}var dO=pu(cO),Kr=dO;function pO(e,t){if(t==="transparent")return t;var r=du(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ca({},r,{alpha:fu(0,1,(n*100+parseFloat(e)*100)/100)});return nr(a)}var fO=pu(pO),Zi=fO;function hO(e,t){if(t==="transparent")return t;var r=du(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ca({},r,{alpha:fu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return nr(a)}var mO=pu(hO),oe=mO,gO=F.div(se,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:oe(.3,e.color.defaultText),fontSize:e.typography.size.s2})),P9=e=>y.createElement(gO,{...e,className:"docblock-emptyblock sb-unstyled"}),vO=F(jf)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),yO=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),Ji=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${nd}`]:{margin:0}})),bO=()=>y.createElement(yO,null,y.createElement(Ji,null),y.createElement(Ji,{style:{width:"80%"}}),y.createElement(Ji,{style:{width:"30%"}}),y.createElement(Ji,{style:{width:"80%"}})),$9=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=D3();if(e)return y.createElement(bO,null);if(t)return y.createElement(P9,null,t);let c=y.createElement(vO,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?td.dark:td.light;return y.createElement(C3,{theme:rd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Qf=600,wO=F.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Qf}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),EO=F.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Qf}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),xO=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?oe(.1,e.color.defaultText):oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[he("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[he("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[he("div")]:t,[he("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[he("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[he("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[he("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[he("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[he("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[he("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[he("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[he("img")]:{maxWidth:"100%"},[he("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[he("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[he("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[he("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[he("span")]:{...t,"&.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"}},"&.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"}},"&.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"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[he("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[he("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),DO=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Qf}px)`]:{}})),CO=({children:e,toc:t})=>y.createElement(DO,{className:"sbdocs sbdocs-wrapper"},y.createElement(xO,{className:"sbdocs sbdocs-content"},e),t),hu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:SO}=globalThis,kO=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=SO.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},N9=l.createContext({scale:1}),{PREVIEW_URL:AO}=globalThis,FO=AO||"iframe.html",$1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,_O=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:c,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let m=t.current,h=p(i,m,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[c,p,i]),a?y.createElement("pre",null,y.createElement(HT,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${$1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(H9,null),y.createElement("div",{ref:t,id:`${$1(e)}-inner`,"data-name":i.name}))},RO=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(N9.Consumer,null,({scale:r})=>y.createElement(kO,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:cL(FO,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),IO=F.strong(({theme:e})=>({color:e.color.orange})),BO=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(IO,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:$1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(_O,{...e}):y.createElement(RO,{...e}))},H9=()=>y.createElement(uL,null),TO=F(Jf)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),zO=F.div({display:"flex",alignItems:"center",gap:4}),LO=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),OO=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(TO,{...o},y.createElement(zO,{key:"left"},e?[1,2,3].map(i=>y.createElement(LO,{key:i})):y.createElement(y.Fragment,null,y.createElement(sn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(hL,null)),y.createElement(sn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(mL,null)),y.createElement(sn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(gL,null))))),MO=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),E4=F($9)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content)}})),PO=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...hu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),$O=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(E4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(E4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function NO(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var HO=F(OO)({position:"absolute",top:0,left:0,right:0,height:40}),jO=F.div({overflow:"hidden",position:"relative"}),j9=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:c,layout:d="padded",...p})=>{let[m,h]=l.useState(i),{source:f,actionItem:v}=$O(a,m,h),[g,w]=l.useState(1),x=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[v]:[],[E,b]=l.useState(s?[...s]:[]),C=[...D,...E],{window:S}=globalThis,k=l.useCallback(async _=>{let{createCopyToClipboardFunction:I}=await G4(()=>import("./index-GnA_7lsg.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url);I()},[]),A=_=>{let I=S.getSelection();I&&I.type==="Range"||(_.preventDefault(),E.filter(B=>B.title==="Copied").length===0&&k(f.props.code).then(()=>{b([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>b(E.filter(B=>B.title!=="Copied")),1500)}))};return y.createElement(PO,{withSource:a,withToolbar:o,...p,className:x.join(" ")},o&&y.createElement(HO,{isLoading:e,border:!0,zoom:_=>w(g*_),resetZoom:()=>w(1),storyId:NO(n),baseUrl:"./iframe.html"}),y.createElement(N9.Provider,{value:{scale:g}},y.createElement(jO,{className:"docs-story",onCopyCapture:a&&A},y.createElement(MO,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(TT.Element,{scale:g},Array.isArray(n)?n.map((_,I)=>y.createElement("div",{key:I},_)):y.createElement("div",null,n))),y.createElement(Dp,{actionItems:C}))),a&&m&&f)};F(j9)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Jr(){return Jr=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),S4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},UO=["style","script"],qO=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,WO=/mailto:/i,GO=/\n{2,}$/,V9=/^(\s*>[\s\S]*?)(?=\n{2,})/,YO=/^ *> ?/gm,KO=/^ {2,}\n/,ZO=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,U9=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,q9=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,JO=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,XO=/^(?:\n *)*\n/,QO=/\r\n?/g,eM=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,tM=/^\[\^([^\]]+)]/,rM=/\f/g,nM=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,aM=/^\s*?\[(x|\s)\]/,W9=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,G9=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Y9=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,N1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,oM=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,K9=/^)/,iM=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,H1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,lM=/^\{.*\}$/,sM=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,uM=/^<([^ >]+@[^ >]+)>/,cM=/^<([^ >]+:\/[^ >]+)>/,dM=/-([a-z])?/gi,Z9=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,pM=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,fM=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,hM=/^\[([^\]]*)\] ?\[([^\]]*)\]/,mM=/(\[|\])/g,gM=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,vM=/\t/g,yM=/^ *\| */,bM=/(^ *\||\| *$)/g,wM=/ *$/,EM=/^ *:-+: *$/,xM=/^ *:-+ *$/,DM=/^ *-+: *$/,mu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",CM=new RegExp(`^([*_])\\1${mu}\\1\\1(?!\\1)`),SM=new RegExp(`^([*_])${mu}\\1(?!\\1|\\w)`),kM=new RegExp(`^==${mu}==`),AM=new RegExp(`^~~${mu}~~`),FM=/^\\([^0-9A-Za-z\s])/,_M=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,RM=/^\n+/,IM=/^([ \t]*)/,BM=/\\([^\\])/g,k4=/ *\n+$/,TM=/(?:^|\n)( *)$/,eh="(?:\\d+\\.)",th="(?:[*+-])";function J9(e){return"( *)("+(e===1?eh:th)+") +"}var X9=J9(1),Q9=J9(2);function ex(e){return new RegExp("^"+(e===1?X9:Q9))}var zM=ex(1),LM=ex(2);function tx(e){return new RegExp("^"+(e===1?X9:Q9)+"[^\\n]*(?:\\n(?!\\1"+(e===1?eh:th)+" )[^\\n]*)*(\\n|$)","gm")}var rx=tx(1),nx=tx(2);function ax(e){let t=e===1?eh:th;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var ox=ax(1),ix=ax(2);function A4(e,t){let r=t===1,n=r?ox:ix,a=r?rx:nx,o=r?zM:LM;return{match(i,s,c){let d=TM.exec(c);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,c){let d=r?+i[2]:void 0,p=i[0].replace(GO,` +`};function VL(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}var w4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function qL(e){if(typeof e!="string")return e;var t=e.toLowerCase();return w4[t]?"#"+w4[t]:e}var WL=/^#[a-fA-F0-9]{6}$/,GL=/^#[a-fA-F0-9]{8}$/,YL=/^#[a-fA-F0-9]{3}$/,KL=/^#[a-fA-F0-9]{4}$/,j0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ZL=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,JL=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,XL=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function du(e){if(typeof e!="string")throw new Mt(3);var t=qL(e);if(t.match(WL))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(GL)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(YL))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(KL)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=j0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=ZL.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=JL.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Go(s,c,d)+")",m=j0.exec(p);if(!m)throw new Mt(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=XL.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+Go(f,v,g)+")",x=j0.exec(w);if(!x)throw new Mt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Mt(5)}function QL(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?ps(e,t,r):"rgba("+Go(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ps(e.hue,e.saturation,e.lightness):"rgba("+Go(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Mt(2)}function P1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return M1("#"+Yr(e)+Yr(t)+Yr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return M1("#"+Yr(e.red)+Yr(e.green)+Yr(e.blue));throw new Mt(6)}function nr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=du(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?P1(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?P1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Mt(7)}var aO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},oO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},iO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},lO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function O9(e){if(typeof e!="object")throw new Mt(8);if(oO(e))return nr(e);if(aO(e))return P1(e);if(lO(e))return nO(e);if(iO(e))return rO(e);throw new Mt(8)}function M9(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):M9(e,t,n)}}function pu(e){return M9(e,e.length,[])}function fu(e,t,r){return Math.max(e,Math.min(t,r))}function sO(e,t){if(t==="transparent")return t;var r=L9(t);return O9(Ca({},r,{lightness:fu(0,1,r.lightness-parseFloat(e))}))}var uO=pu(sO),It=uO;function cO(e,t){if(t==="transparent")return t;var r=L9(t);return O9(Ca({},r,{lightness:fu(0,1,r.lightness+parseFloat(e))}))}var dO=pu(cO),Kr=dO;function pO(e,t){if(t==="transparent")return t;var r=du(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ca({},r,{alpha:fu(0,1,(n*100+parseFloat(e)*100)/100)});return nr(a)}var fO=pu(pO),Zi=fO;function hO(e,t){if(t==="transparent")return t;var r=du(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ca({},r,{alpha:fu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return nr(a)}var mO=pu(hO),oe=mO,gO=F.div(se,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:oe(.3,e.color.defaultText),fontSize:e.typography.size.s2})),P9=e=>y.createElement(gO,{...e,className:"docblock-emptyblock sb-unstyled"}),vO=F(jf)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),yO=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),Ji=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${nd}`]:{margin:0}})),bO=()=>y.createElement(yO,null,y.createElement(Ji,null),y.createElement(Ji,{style:{width:"80%"}}),y.createElement(Ji,{style:{width:"30%"}}),y.createElement(Ji,{style:{width:"80%"}})),$9=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=D3();if(e)return y.createElement(bO,null);if(t)return y.createElement(P9,null,t);let c=y.createElement(vO,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?td.dark:td.light;return y.createElement(C3,{theme:rd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Qf=600,wO=F.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Qf}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),EO=F.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Qf}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),xO=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?oe(.1,e.color.defaultText):oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[he("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[he("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[he("div")]:t,[he("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[he("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[he("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[he("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[he("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[he("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[he("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[he("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[he("img")]:{maxWidth:"100%"},[he("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[he("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[he("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[he("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[he("span")]:{...t,"&.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"}},"&.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"}},"&.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"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[he("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[he("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),DO=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Qf}px)`]:{}})),CO=({children:e,toc:t})=>y.createElement(DO,{className:"sbdocs sbdocs-wrapper"},y.createElement(xO,{className:"sbdocs sbdocs-content"},e),t),hu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:SO}=globalThis,kO=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=SO.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},N9=l.createContext({scale:1}),{PREVIEW_URL:AO}=globalThis,FO=AO||"iframe.html",$1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,_O=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:c,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let m=t.current,h=p(i,m,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[c,p,i]),a?y.createElement("pre",null,y.createElement(HT,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${$1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(H9,null),y.createElement("div",{ref:t,id:`${$1(e)}-inner`,"data-name":i.name}))},RO=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(N9.Consumer,null,({scale:r})=>y.createElement(kO,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:cL(FO,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),IO=F.strong(({theme:e})=>({color:e.color.orange})),BO=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(IO,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:$1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(_O,{...e}):y.createElement(RO,{...e}))},H9=()=>y.createElement(uL,null),TO=F(Jf)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),zO=F.div({display:"flex",alignItems:"center",gap:4}),LO=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),OO=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(TO,{...o},y.createElement(zO,{key:"left"},e?[1,2,3].map(i=>y.createElement(LO,{key:i})):y.createElement(y.Fragment,null,y.createElement(sn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(hL,null)),y.createElement(sn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(mL,null)),y.createElement(sn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(gL,null))))),MO=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),E4=F($9)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content)}})),PO=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...hu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),$O=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(E4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(E4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function NO(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var HO=F(OO)({position:"absolute",top:0,left:0,right:0,height:40}),jO=F.div({overflow:"hidden",position:"relative"}),j9=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:c,layout:d="padded",...p})=>{let[m,h]=l.useState(i),{source:f,actionItem:v}=$O(a,m,h),[g,w]=l.useState(1),x=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[v]:[],[E,b]=l.useState(s?[...s]:[]),C=[...D,...E],{window:S}=globalThis,k=l.useCallback(async _=>{let{createCopyToClipboardFunction:I}=await G4(()=>import("./index-DaOcsh2D.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url);I()},[]),A=_=>{let I=S.getSelection();I&&I.type==="Range"||(_.preventDefault(),E.filter(B=>B.title==="Copied").length===0&&k(f.props.code).then(()=>{b([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>b(E.filter(B=>B.title!=="Copied")),1500)}))};return y.createElement(PO,{withSource:a,withToolbar:o,...p,className:x.join(" ")},o&&y.createElement(HO,{isLoading:e,border:!0,zoom:_=>w(g*_),resetZoom:()=>w(1),storyId:NO(n),baseUrl:"./iframe.html"}),y.createElement(N9.Provider,{value:{scale:g}},y.createElement(jO,{className:"docs-story",onCopyCapture:a&&A},y.createElement(MO,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(TT.Element,{scale:g},Array.isArray(n)?n.map((_,I)=>y.createElement("div",{key:I},_)):y.createElement("div",null,n))),y.createElement(Dp,{actionItems:C}))),a&&m&&f)};F(j9)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Jr(){return Jr=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),S4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},UO=["style","script"],qO=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,WO=/mailto:/i,GO=/\n{2,}$/,V9=/^(\s*>[\s\S]*?)(?=\n{2,})/,YO=/^ *> ?/gm,KO=/^ {2,}\n/,ZO=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,U9=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,q9=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,JO=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,XO=/^(?:\n *)*\n/,QO=/\r\n?/g,eM=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,tM=/^\[\^([^\]]+)]/,rM=/\f/g,nM=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,aM=/^\s*?\[(x|\s)\]/,W9=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,G9=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Y9=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,N1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,oM=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,K9=/^)/,iM=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,H1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,lM=/^\{.*\}$/,sM=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,uM=/^<([^ >]+@[^ >]+)>/,cM=/^<([^ >]+:\/[^ >]+)>/,dM=/-([a-z])?/gi,Z9=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,pM=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,fM=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,hM=/^\[([^\]]*)\] ?\[([^\]]*)\]/,mM=/(\[|\])/g,gM=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,vM=/\t/g,yM=/^ *\| */,bM=/(^ *\||\| *$)/g,wM=/ *$/,EM=/^ *:-+: *$/,xM=/^ *:-+ *$/,DM=/^ *-+: *$/,mu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",CM=new RegExp(`^([*_])\\1${mu}\\1\\1(?!\\1)`),SM=new RegExp(`^([*_])${mu}\\1(?!\\1|\\w)`),kM=new RegExp(`^==${mu}==`),AM=new RegExp(`^~~${mu}~~`),FM=/^\\([^0-9A-Za-z\s])/,_M=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,RM=/^\n+/,IM=/^([ \t]*)/,BM=/\\([^\\])/g,k4=/ *\n+$/,TM=/(?:^|\n)( *)$/,eh="(?:\\d+\\.)",th="(?:[*+-])";function J9(e){return"( *)("+(e===1?eh:th)+") +"}var X9=J9(1),Q9=J9(2);function ex(e){return new RegExp("^"+(e===1?X9:Q9))}var zM=ex(1),LM=ex(2);function tx(e){return new RegExp("^"+(e===1?X9:Q9)+"[^\\n]*(?:\\n(?!\\1"+(e===1?eh:th)+" )[^\\n]*)*(\\n|$)","gm")}var rx=tx(1),nx=tx(2);function ax(e){let t=e===1?eh:th;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var ox=ax(1),ix=ax(2);function A4(e,t){let r=t===1,n=r?ox:ix,a=r?rx:nx,o=r?zM:LM;return{match(i,s,c){let d=TM.exec(c);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,c){let d=r?+i[2]:void 0,p=i[0].replace(GO,` `).match(a),m=!1;return{items:p.map(function(h,f){let v=o.exec(h)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),w=h.replace(g,"").replace(o,""),x=f===p.length-1,D=w.indexOf(` `)!==-1||x&&m;m=D;let E=c.inline,b=c.list,C;c.list=!0,D?(c.inline=!1,C=w.replace(k4,` @@ -708,7 +708,7 @@ To pass a single animation please supply them in simple values, e.g. animation(' ${It(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${Kr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Kr(.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 ${nr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),wx=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),UP=F(wx)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),qP=F.div({display:"flex",alignItems:"center",width:"100%"});function WP(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 GP=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:c})=>{var f;let d=v=>{r(nP(v.target.value))},p=t!==void 0,m=l.useMemo(()=>WP(o),[o]),h=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return y.createElement(qP,{"aria-readonly":h},y.createElement(wx,null,n),y.createElement(VP,{id:vt(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(UP,{numberOFDecimalsPlaces:m,max:a},p?t.toFixed(m):"--"," / ",a))},YP=F.label({display:"flex"}),KP=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),ZP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},c=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),m=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",disabled:c,id:hs(e),onClick:m},"Set string");let h=typeof t=="string";return y.createElement(YP,null,y.createElement(yi.Textarea,{id:vt(e),maxLength:o,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:a}),o&&y.createElement(KP,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},JP=F(yi.Input)({padding:10});function XP(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var QP=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=l.useRef(null),i=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),XP(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(JP,{ref:o,id:vt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},e$=l.lazy(()=>G4(()=>import("./Color-F6OSRLHC-ClAgG3yS.js"),__vite__mapDeps([9,2,3,1,4,5,6,7,8]),import.meta.url)),t$=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(e$,{...e})),r$={array:M4,object:M4,boolean:KM,color:t$,date:tP,number:oP,check:Pn,"inline-check":Pn,radio:Pn,"inline-radio":Pn,select:Pn,"multi-select":Pn,range:GP,text:ZP,file:QP},P4=()=>y.createElement(y.Fragment,null,"-"),n$=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[c,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(w=>(d({value:w}),r({[a]:w}),w),[r,a]),m=l.useCallback(()=>s(!1),[]),h=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let w=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&w?y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(P4,null)}let f={name:a,argType:e,value:c.value,onChange:p,onBlur:m,onFocus:h},v=r$[o.type]||P4;return y.createElement(v,{...f,...o,controlType:o.type})},a$=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Lr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),o$=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(a$,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},i$=Y1(T9()),U1=8,$4=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),l$=F.span(Lr,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),s$=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),u$=F.div(Lr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),c$=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),d$=F(SL)({marginLeft:4}),p$=F(B9)({marginLeft:4}),f$=()=>y.createElement("span",null,"-"),Ex=({text:e,simple:t})=>y.createElement(l$,{simple:t},e),h$=(0,i$.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),m$=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return Zx(t)},N4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,U1)),r.map(n=>y.createElement(Ex,{key:n,text:n===""?'""':n}))},g$=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return y.createElement(Ex,{text:c});let d=m$(c),p=d.length;return p>U1?y.createElement($4,{isExpanded:i},N4(d,i),y.createElement(s$,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-U1} more...`)):y.createElement($4,null,N4(d))}return y.createElement(fz,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(c$,{width:h$(n)},y.createElement(jf,{language:"jsx",format:!1},n))},y.createElement(u$,{className:"sbdocs-expandable"},y.createElement("span",null,c),a?y.createElement(d$,null):y.createElement(p$,null)))},K0=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(f$,null):y.createElement(g$,{value:e,initialExpandedArgs:t}),v$=F.span({fontWeight:"bold"}),y$=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),b$=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Lr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),w$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),E$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),x$=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),D$=e=>e&&{summary:typeof e=="string"?e:e.name},Xi=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:c,description:d}=n,p=n.table||{},m=p.type||D$(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(x$,{expandable:i},y.createElement(v$,null,c),f?y.createElement(y$,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(b$,null,y.createElement(sx,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(E$,{hasDescription:v},y.createElement(K0,{value:m,initialExpandedArgs:s})),y.createElement(o$,{tags:p.jsDocTags})):y.createElement(w$,{hasDescription:v},y.createElement(K0,{value:m,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(K0,{value:h,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(n$,{...e,isHovered:t})):null)},C$=F.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"})),S$=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),k$=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),A$=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(C$,{inAddonPanel:e},y.createElement(S9,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.Fragment,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."),footer:y.createElement(S$,null,e&&y.createElement(y.Fragment,null,y.createElement(oa,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(bL,null)," Watch 5m video"),y.createElement(k$,null),y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(z1,null)," Read docs")),!e&&y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(z1,null)," Learn how to set that up"))}))},F$=F(DL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),_$=F(CL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),R$=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),I$=F.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"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),B$=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),T$=F.td(()=>({position:"relative"})),z$=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Kr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),H4=F.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"})),Z0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?B$:I$,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(z$,{title:p},y.createElement(s,{colSpan:1},y.createElement(H4,{onClick:m=>i(!o),tabIndex:0},p),y.createElement(R$,null,o?y.createElement(F$,null):y.createElement(_$,null),t)),y.createElement(T$,{colSpan:a-1},y.createElement(H4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},Qi=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ae=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),me=F.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})),Fe=[2,4,2,2],L$=()=>y.createElement(y.Fragment,null,y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"})))),O$=F.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"?oe(.25,e.color.defaultText):oe(.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}}}}})),M$=F(sn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),P$=F.span({display:"flex",justifyContent:"space-between"}),$$={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},N$=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:c}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...i});else{let p=d.subsections[c]||[];p.push({key:o,...i}),d.subsections[c]=p}r.sections[s]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...i}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...i})});let n=$$[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},H$=(e,t,r)=>{try{return jx(e,t,r)}catch(n){return FL.warn(n.message),!1}},q1=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:D}=e;return y.createElement(P9,null,D," ",y.createElement(oa,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(z1,null)," Read the docs"))}if(s)return y.createElement(L$,null);let{rows:c,args:d,globals:p}="rows"in e&&e,m=N$(Jx(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&H$(D,d||{},p||{})}),i),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return y.createElement(A$,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let w=Object.keys(m.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(Hf,null,y.createElement(O$,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(P$,null,"Control"," ",!s&&r&&y.createElement(M$,{onClick:()=>r(),title:"Reset controls"},y.createElement(kL,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(D=>y.createElement(Xi,{key:D.key,row:D,arg:d&&d[D.key],...x})),Object.entries(m.ungroupedSubsections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"subsection",colSpan:g},E.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],expandable:w,...x})))),Object.entries(m.sections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"section",colSpan:g},E.ungrouped.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],...x})),Object.entries(E.subsections).map(([b,C])=>y.createElement(Z0,{key:b,label:b,level:"subsection",colSpan:g},C.map(S=>y.createElement(Xi,{key:S.key,row:S,arg:d&&d[S.key],expandable:w,...x})))))))))},j$=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(q1,{...r[0][1],...t}):y.createElement(Kz,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return y.createElement(c,{key:s,id:s,title:o},({active:p})=>p?y.createElement(q1,{key:`prop_table_${o}`,...i,...d}):null)}))},V$=F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)})),U$=F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),q$=F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),W$=F.div(se,({theme:e})=>({...hu(e),margin:"25px 0 40px",padding:"30px 20px"})),VV=({fontFamily:e,fontSizes:t,fontWeight:r,sampleText:n,...a})=>y.createElement(W$,{...a,className:"docblock-typeset sb-unstyled"},t.map(o=>y.createElement(q$,{key:o},y.createElement(V$,null,o),y.createElement(U$,{style:{fontFamily:e,fontSize:o,fontWeight:r,lineHeight:1.2}},n||"Was he a beast if music could move him so?"))));F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));F.div(({theme:e})=>({color:e.base==="light"?oe(.2,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});F.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"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));F.div({display:"flex",flexDirection:"row"});F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));F.div(({theme:e})=>({...hu(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"}));F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});F.div({flex:1,display:"flex",flexDirection:"row"});F.div({display:"flex",alignItems:"flex-start"});F.div({flex:"0 0 30%"});F.div({flex:1});F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var G$=F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),Y$=F.div(({theme:e})=>({...hu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),K$=F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Z$=F.div({display:"flex",flexFlow:"row wrap"}),UV=({name:e,children:t})=>y.createElement(K$,null,y.createElement(Y$,null,t),y.createElement(G$,null,e)),qV=({children:e,...t})=>y.createElement(Hf,null,y.createElement(Z$,{...t,className:"docblock-icongallery sb-unstyled"},e)),J$=e=>`anchor--${e}`,xx=({storyId:e,children:t})=>y.createElement("div",{id:J$(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Et=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),kn=(e,t)=>l.useContext(Et).resolveOf(e,t),X$=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),Q$=e=>{if(e)return typeof e=="string"?e.includes("-")?X$(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function eN(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var tN=Object.create,Dx=Object.defineProperty,rN=Object.getOwnPropertyDescriptor,Cx=Object.getOwnPropertyNames,nN=Object.getPrototypeOf,aN=Object.prototype.hasOwnProperty,et=(e,t)=>function(){return t||(0,e[Cx(e)[0]])((t={exports:{}}).exports,t),t.exports},oN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Cx(t))!aN.call(e,a)&&a!==r&&Dx(e,a,{get:()=>t[a],enumerable:!(n=rN(t,a))||n.enumerable});return e},ah=(e,t,r)=>(r=e!=null?tN(nN(e)):{},oN(!e||!e.__esModule?Dx(r,"default",{value:e,enumerable:!0}):r,e)),iN=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],lN=["detail"];function sN(e){let t=iN.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&lN.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var uN=Y1(T9(),1),Sx=et({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==o||s.enumerable!==!0)return!1}return!0}}}),kx=et({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Sx();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),cN=et({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var c=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=s.apply(this,c.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,c.concat(n.call(arguments)))},m=Math.max(0,s.length-c.length),h=[],f=0;f"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function z(L){var M;if(L==="%AsyncFunction%")M=i("async function () {}");else if(L==="%GeneratorFunction%")M=i("function* () {}");else if(L==="%AsyncGeneratorFunction%")M=i("async function* () {}");else if(L==="%AsyncGenerator%"){var O=z("%AsyncGeneratorFunction%");O&&(M=O.prototype)}else if(L==="%AsyncIteratorPrototype%"){var P=z("%AsyncGenerator%");P&&(M=m(P.prototype))}return v[L]=M,M},w={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=oh(),D=dN(),E=x.call(Function.call,Array.prototype.concat),b=x.call(Function.apply,Array.prototype.splice),C=x.call(Function.call,String.prototype.replace),S=x.call(Function.call,String.prototype.slice),k=x.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,I=function(z){var L=S(z,0,1),M=S(z,-1);if(L==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&L!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var O=[];return C(z,A,function(P,j,U,V){O[O.length]=U?C(V,_,"$1"):j||P}),O},B=function(z,L){var M=z,O;if(D(w,M)&&(O=w[M],M="%"+O[0]+"%"),D(v,M)){var P=v[M];if(P===h&&(P=g(M)),typeof P>"u"&&!L)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:O,name:M,value:P}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,L){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof L!="boolean")throw new o('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=I(z),O=M.length>0?M[0]:"",P=B("%"+O+"%",L),j=P.name,U=P.value,V=!1,G=P.alias;G&&(O=G[0],b(M,E([0,1],G)));for(var Q=1,ne=!0;Q=M.length){var K=s(U,Z);ne=!!K,ne&&"get"in K&&!("originalValue"in K.get)?U=K.get:U=U[Z]}else ne=D(U,Z),U=U[Z];ne&&!V&&(v[j]=U)}}return U}}}),pN=et({"node_modules/call-bind/index.js"(e,t){var r=oh(),n=Ax(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(m){var h=i(r,o,arguments);if(s&&c){var f=s(h,"length");f.configurable&&c(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return i(r,a,arguments)};c?c(t.exports,"apply",{value:p}):t.exports.apply=p}}),fN=et({"node_modules/call-bind/callBound.js"(e,t){var r=Ax(),n=pN(),a=n(r("String.prototype.indexOf"));t.exports=function(o,i){var s=r(o,!!i);return typeof s=="function"&&a(o,".prototype.")>-1?n(s):s}}}),hN=et({"node_modules/has-tostringtag/shams.js"(e,t){var r=Sx();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),mN=et({"node_modules/is-regex/index.js"(e,t){var r=fN(),n=hN()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},c=function(){throw i},s={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&a(f,"value");if(!v)return!1;try{o(h,s)}catch(g){return g===i}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),gN=et({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),vN=et({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=kx()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),yN=ah(mN()),bN=ah(gN()),wN=ah(vN());function EN(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var xN=typeof global=="object"&&global&&global.Object===Object&&global,DN=xN,CN=typeof self=="object"&&self&&self.Object===Object&&self,SN=DN||CN||Function("return this")(),ih=SN,kN=ih.Symbol,Sa=kN,Fx=Object.prototype,AN=Fx.hasOwnProperty,FN=Fx.toString,ao=Sa?Sa.toStringTag:void 0;function _N(e){var t=AN.call(e,ao),r=e[ao];try{e[ao]=void 0;var n=!0}catch{}var a=FN.call(e);return n&&(t?e[ao]=r:delete e[ao]),a}var RN=_N,IN=Object.prototype,BN=IN.toString;function TN(e){return BN.call(e)}var zN=TN,LN="[object Null]",ON="[object Undefined]",j4=Sa?Sa.toStringTag:void 0;function MN(e){return e==null?e===void 0?ON:LN:j4&&j4 in Object(e)?RN(e):zN(e)}var PN=MN,V4=Sa?Sa.prototype:void 0;V4&&V4.toString;function $N(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var _x=$N,NN="[object AsyncFunction]",HN="[object Function]",jN="[object GeneratorFunction]",VN="[object Proxy]";function UN(e){if(!_x(e))return!1;var t=PN(e);return t==HN||t==jN||t==NN||t==VN}var qN=UN,WN=ih["__core-js_shared__"],J0=WN,U4=function(){var e=/[^.]+$/.exec(J0&&J0.keys&&J0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function GN(e){return!!U4&&U4 in e}var YN=GN,KN=Function.prototype,ZN=KN.toString;function JN(e){if(e!=null){try{return ZN.call(e)}catch{}try{return e+""}catch{}}return""}var XN=JN,QN=/[\\^$.*+?()[\]{}|]/g,eH=/^\[object .+?Constructor\]$/,tH=Function.prototype,rH=Object.prototype,nH=tH.toString,aH=rH.hasOwnProperty,oH=RegExp("^"+nH.call(aH).replace(QN,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function iH(e){if(!_x(e)||YN(e))return!1;var t=qN(e)?oH:eH;return t.test(XN(e))}var lH=iH;function sH(e,t){return e==null?void 0:e[t]}var uH=sH;function cH(e,t){var r=uH(e,t);return lH(r)?r:void 0}var Rx=cH;function dH(e,t){return e===t||e!==e&&t!==t}var pH=dH,fH=Rx(Object,"create"),Yo=fH;function hH(){this.__data__=Yo?Yo(null):{},this.size=0}var mH=hH;function gH(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var vH=gH,yH="__lodash_hash_undefined__",bH=Object.prototype,wH=bH.hasOwnProperty;function EH(e){var t=this.__data__;if(Yo){var r=t[e];return r===yH?void 0:r}return wH.call(t,e)?t[e]:void 0}var xH=EH,DH=Object.prototype,CH=DH.hasOwnProperty;function SH(e){var t=this.__data__;return Yo?t[e]!==void 0:CH.call(t,e)}var kH=SH,AH="__lodash_hash_undefined__";function FH(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Yo&&t===void 0?AH:t,this}var _H=FH;function La(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var NH=$H;function HH(e,t){var r=this.__data__,n=vu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var jH=HH;function Oa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;i({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),qP=F.div({display:"flex",alignItems:"center",width:"100%"});function WP(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 GP=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:c})=>{var f;let d=v=>{r(nP(v.target.value))},p=t!==void 0,m=l.useMemo(()=>WP(o),[o]),h=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return y.createElement(qP,{"aria-readonly":h},y.createElement(wx,null,n),y.createElement(VP,{id:vt(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(UP,{numberOFDecimalsPlaces:m,max:a},p?t.toFixed(m):"--"," / ",a))},YP=F.label({display:"flex"}),KP=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),ZP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},c=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),m=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",disabled:c,id:hs(e),onClick:m},"Set string");let h=typeof t=="string";return y.createElement(YP,null,y.createElement(yi.Textarea,{id:vt(e),maxLength:o,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:a}),o&&y.createElement(KP,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},JP=F(yi.Input)({padding:10});function XP(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var QP=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=l.useRef(null),i=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),XP(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(JP,{ref:o,id:vt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},e$=l.lazy(()=>G4(()=>import("./Color-F6OSRLHC-BQT8_n6X.js"),__vite__mapDeps([9,2,3,1,4,5,6,7,8]),import.meta.url)),t$=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(e$,{...e})),r$={array:M4,object:M4,boolean:KM,color:t$,date:tP,number:oP,check:Pn,"inline-check":Pn,radio:Pn,"inline-radio":Pn,select:Pn,"multi-select":Pn,range:GP,text:ZP,file:QP},P4=()=>y.createElement(y.Fragment,null,"-"),n$=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[c,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(w=>(d({value:w}),r({[a]:w}),w),[r,a]),m=l.useCallback(()=>s(!1),[]),h=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let w=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&w?y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(P4,null)}let f={name:a,argType:e,value:c.value,onChange:p,onBlur:m,onFocus:h},v=r$[o.type]||P4;return y.createElement(v,{...f,...o,controlType:o.type})},a$=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Lr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),o$=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(a$,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},i$=Y1(T9()),U1=8,$4=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),l$=F.span(Lr,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),s$=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),u$=F.div(Lr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),c$=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),d$=F(SL)({marginLeft:4}),p$=F(B9)({marginLeft:4}),f$=()=>y.createElement("span",null,"-"),Ex=({text:e,simple:t})=>y.createElement(l$,{simple:t},e),h$=(0,i$.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),m$=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return Zx(t)},N4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,U1)),r.map(n=>y.createElement(Ex,{key:n,text:n===""?'""':n}))},g$=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return y.createElement(Ex,{text:c});let d=m$(c),p=d.length;return p>U1?y.createElement($4,{isExpanded:i},N4(d,i),y.createElement(s$,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-U1} more...`)):y.createElement($4,null,N4(d))}return y.createElement(fz,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(c$,{width:h$(n)},y.createElement(jf,{language:"jsx",format:!1},n))},y.createElement(u$,{className:"sbdocs-expandable"},y.createElement("span",null,c),a?y.createElement(d$,null):y.createElement(p$,null)))},K0=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(f$,null):y.createElement(g$,{value:e,initialExpandedArgs:t}),v$=F.span({fontWeight:"bold"}),y$=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),b$=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Lr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),w$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),E$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),x$=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),D$=e=>e&&{summary:typeof e=="string"?e:e.name},Xi=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:c,description:d}=n,p=n.table||{},m=p.type||D$(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(x$,{expandable:i},y.createElement(v$,null,c),f?y.createElement(y$,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(b$,null,y.createElement(sx,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(E$,{hasDescription:v},y.createElement(K0,{value:m,initialExpandedArgs:s})),y.createElement(o$,{tags:p.jsDocTags})):y.createElement(w$,{hasDescription:v},y.createElement(K0,{value:m,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(K0,{value:h,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(n$,{...e,isHovered:t})):null)},C$=F.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"})),S$=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),k$=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),A$=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(C$,{inAddonPanel:e},y.createElement(S9,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.Fragment,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."),footer:y.createElement(S$,null,e&&y.createElement(y.Fragment,null,y.createElement(oa,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(bL,null)," Watch 5m video"),y.createElement(k$,null),y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(z1,null)," Read docs")),!e&&y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(z1,null)," Learn how to set that up"))}))},F$=F(DL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),_$=F(CL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),R$=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),I$=F.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"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),B$=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),T$=F.td(()=>({position:"relative"})),z$=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Kr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),H4=F.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"})),Z0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?B$:I$,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(z$,{title:p},y.createElement(s,{colSpan:1},y.createElement(H4,{onClick:m=>i(!o),tabIndex:0},p),y.createElement(R$,null,o?y.createElement(F$,null):y.createElement(_$,null),t)),y.createElement(T$,{colSpan:a-1},y.createElement(H4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},Qi=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ae=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),me=F.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})),Fe=[2,4,2,2],L$=()=>y.createElement(y.Fragment,null,y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"})))),O$=F.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"?oe(.25,e.color.defaultText):oe(.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}}}}})),M$=F(sn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),P$=F.span({display:"flex",justifyContent:"space-between"}),$$={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},N$=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:c}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...i});else{let p=d.subsections[c]||[];p.push({key:o,...i}),d.subsections[c]=p}r.sections[s]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...i}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...i})});let n=$$[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},H$=(e,t,r)=>{try{return jx(e,t,r)}catch(n){return FL.warn(n.message),!1}},q1=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:D}=e;return y.createElement(P9,null,D," ",y.createElement(oa,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(z1,null)," Read the docs"))}if(s)return y.createElement(L$,null);let{rows:c,args:d,globals:p}="rows"in e&&e,m=N$(Jx(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&H$(D,d||{},p||{})}),i),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return y.createElement(A$,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let w=Object.keys(m.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(Hf,null,y.createElement(O$,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(P$,null,"Control"," ",!s&&r&&y.createElement(M$,{onClick:()=>r(),title:"Reset controls"},y.createElement(kL,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(D=>y.createElement(Xi,{key:D.key,row:D,arg:d&&d[D.key],...x})),Object.entries(m.ungroupedSubsections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"subsection",colSpan:g},E.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],expandable:w,...x})))),Object.entries(m.sections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"section",colSpan:g},E.ungrouped.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],...x})),Object.entries(E.subsections).map(([b,C])=>y.createElement(Z0,{key:b,label:b,level:"subsection",colSpan:g},C.map(S=>y.createElement(Xi,{key:S.key,row:S,arg:d&&d[S.key],expandable:w,...x})))))))))},j$=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(q1,{...r[0][1],...t}):y.createElement(Kz,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return y.createElement(c,{key:s,id:s,title:o},({active:p})=>p?y.createElement(q1,{key:`prop_table_${o}`,...i,...d}):null)}))},V$=F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)})),U$=F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),q$=F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),W$=F.div(se,({theme:e})=>({...hu(e),margin:"25px 0 40px",padding:"30px 20px"})),VV=({fontFamily:e,fontSizes:t,fontWeight:r,sampleText:n,...a})=>y.createElement(W$,{...a,className:"docblock-typeset sb-unstyled"},t.map(o=>y.createElement(q$,{key:o},y.createElement(V$,null,o),y.createElement(U$,{style:{fontFamily:e,fontSize:o,fontWeight:r,lineHeight:1.2}},n||"Was he a beast if music could move him so?"))));F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));F.div(({theme:e})=>({color:e.base==="light"?oe(.2,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});F.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"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));F.div({display:"flex",flexDirection:"row"});F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));F.div(({theme:e})=>({...hu(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"}));F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});F.div({flex:1,display:"flex",flexDirection:"row"});F.div({display:"flex",alignItems:"flex-start"});F.div({flex:"0 0 30%"});F.div({flex:1});F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var G$=F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),Y$=F.div(({theme:e})=>({...hu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),K$=F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Z$=F.div({display:"flex",flexFlow:"row wrap"}),UV=({name:e,children:t})=>y.createElement(K$,null,y.createElement(Y$,null,t),y.createElement(G$,null,e)),qV=({children:e,...t})=>y.createElement(Hf,null,y.createElement(Z$,{...t,className:"docblock-icongallery sb-unstyled"},e)),J$=e=>`anchor--${e}`,xx=({storyId:e,children:t})=>y.createElement("div",{id:J$(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Et=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),kn=(e,t)=>l.useContext(Et).resolveOf(e,t),X$=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),Q$=e=>{if(e)return typeof e=="string"?e.includes("-")?X$(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function eN(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var tN=Object.create,Dx=Object.defineProperty,rN=Object.getOwnPropertyDescriptor,Cx=Object.getOwnPropertyNames,nN=Object.getPrototypeOf,aN=Object.prototype.hasOwnProperty,et=(e,t)=>function(){return t||(0,e[Cx(e)[0]])((t={exports:{}}).exports,t),t.exports},oN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Cx(t))!aN.call(e,a)&&a!==r&&Dx(e,a,{get:()=>t[a],enumerable:!(n=rN(t,a))||n.enumerable});return e},ah=(e,t,r)=>(r=e!=null?tN(nN(e)):{},oN(!e||!e.__esModule?Dx(r,"default",{value:e,enumerable:!0}):r,e)),iN=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],lN=["detail"];function sN(e){let t=iN.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&lN.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var uN=Y1(T9(),1),Sx=et({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==o||s.enumerable!==!0)return!1}return!0}}}),kx=et({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Sx();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),cN=et({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var c=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=s.apply(this,c.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,c.concat(n.call(arguments)))},m=Math.max(0,s.length-c.length),h=[],f=0;f"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function z(L){var M;if(L==="%AsyncFunction%")M=i("async function () {}");else if(L==="%GeneratorFunction%")M=i("function* () {}");else if(L==="%AsyncGeneratorFunction%")M=i("async function* () {}");else if(L==="%AsyncGenerator%"){var O=z("%AsyncGeneratorFunction%");O&&(M=O.prototype)}else if(L==="%AsyncIteratorPrototype%"){var P=z("%AsyncGenerator%");P&&(M=m(P.prototype))}return v[L]=M,M},w={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=oh(),D=dN(),E=x.call(Function.call,Array.prototype.concat),b=x.call(Function.apply,Array.prototype.splice),C=x.call(Function.call,String.prototype.replace),S=x.call(Function.call,String.prototype.slice),k=x.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,I=function(z){var L=S(z,0,1),M=S(z,-1);if(L==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&L!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var O=[];return C(z,A,function(P,j,U,V){O[O.length]=U?C(V,_,"$1"):j||P}),O},B=function(z,L){var M=z,O;if(D(w,M)&&(O=w[M],M="%"+O[0]+"%"),D(v,M)){var P=v[M];if(P===h&&(P=g(M)),typeof P>"u"&&!L)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:O,name:M,value:P}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,L){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof L!="boolean")throw new o('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=I(z),O=M.length>0?M[0]:"",P=B("%"+O+"%",L),j=P.name,U=P.value,V=!1,G=P.alias;G&&(O=G[0],b(M,E([0,1],G)));for(var Q=1,ne=!0;Q=M.length){var K=s(U,Z);ne=!!K,ne&&"get"in K&&!("originalValue"in K.get)?U=K.get:U=U[Z]}else ne=D(U,Z),U=U[Z];ne&&!V&&(v[j]=U)}}return U}}}),pN=et({"node_modules/call-bind/index.js"(e,t){var r=oh(),n=Ax(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(m){var h=i(r,o,arguments);if(s&&c){var f=s(h,"length");f.configurable&&c(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return i(r,a,arguments)};c?c(t.exports,"apply",{value:p}):t.exports.apply=p}}),fN=et({"node_modules/call-bind/callBound.js"(e,t){var r=Ax(),n=pN(),a=n(r("String.prototype.indexOf"));t.exports=function(o,i){var s=r(o,!!i);return typeof s=="function"&&a(o,".prototype.")>-1?n(s):s}}}),hN=et({"node_modules/has-tostringtag/shams.js"(e,t){var r=Sx();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),mN=et({"node_modules/is-regex/index.js"(e,t){var r=fN(),n=hN()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},c=function(){throw i},s={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&a(f,"value");if(!v)return!1;try{o(h,s)}catch(g){return g===i}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),gN=et({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),vN=et({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=kx()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),yN=ah(mN()),bN=ah(gN()),wN=ah(vN());function EN(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var xN=typeof global=="object"&&global&&global.Object===Object&&global,DN=xN,CN=typeof self=="object"&&self&&self.Object===Object&&self,SN=DN||CN||Function("return this")(),ih=SN,kN=ih.Symbol,Sa=kN,Fx=Object.prototype,AN=Fx.hasOwnProperty,FN=Fx.toString,ao=Sa?Sa.toStringTag:void 0;function _N(e){var t=AN.call(e,ao),r=e[ao];try{e[ao]=void 0;var n=!0}catch{}var a=FN.call(e);return n&&(t?e[ao]=r:delete e[ao]),a}var RN=_N,IN=Object.prototype,BN=IN.toString;function TN(e){return BN.call(e)}var zN=TN,LN="[object Null]",ON="[object Undefined]",j4=Sa?Sa.toStringTag:void 0;function MN(e){return e==null?e===void 0?ON:LN:j4&&j4 in Object(e)?RN(e):zN(e)}var PN=MN,V4=Sa?Sa.prototype:void 0;V4&&V4.toString;function $N(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var _x=$N,NN="[object AsyncFunction]",HN="[object Function]",jN="[object GeneratorFunction]",VN="[object Proxy]";function UN(e){if(!_x(e))return!1;var t=PN(e);return t==HN||t==jN||t==NN||t==VN}var qN=UN,WN=ih["__core-js_shared__"],J0=WN,U4=function(){var e=/[^.]+$/.exec(J0&&J0.keys&&J0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function GN(e){return!!U4&&U4 in e}var YN=GN,KN=Function.prototype,ZN=KN.toString;function JN(e){if(e!=null){try{return ZN.call(e)}catch{}try{return e+""}catch{}}return""}var XN=JN,QN=/[\\^$.*+?()[\]{}|]/g,eH=/^\[object .+?Constructor\]$/,tH=Function.prototype,rH=Object.prototype,nH=tH.toString,aH=rH.hasOwnProperty,oH=RegExp("^"+nH.call(aH).replace(QN,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function iH(e){if(!_x(e)||YN(e))return!1;var t=qN(e)?oH:eH;return t.test(XN(e))}var lH=iH;function sH(e,t){return e==null?void 0:e[t]}var uH=sH;function cH(e,t){var r=uH(e,t);return lH(r)?r:void 0}var Rx=cH;function dH(e,t){return e===t||e!==e&&t!==t}var pH=dH,fH=Rx(Object,"create"),Yo=fH;function hH(){this.__data__=Yo?Yo(null):{},this.size=0}var mH=hH;function gH(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var vH=gH,yH="__lodash_hash_undefined__",bH=Object.prototype,wH=bH.hasOwnProperty;function EH(e){var t=this.__data__;if(Yo){var r=t[e];return r===yH?void 0:r}return wH.call(t,e)?t[e]:void 0}var xH=EH,DH=Object.prototype,CH=DH.hasOwnProperty;function SH(e){var t=this.__data__;return Yo?t[e]!==void 0:CH.call(t,e)}var kH=SH,AH="__lodash_hash_undefined__";function FH(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Yo&&t===void 0?AH:t,this}var _H=FH;function La(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var NH=$H;function HH(e,t){var r=this.__data__,n=vu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var jH=HH;function Oa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;ifj(e).replace(/\n\s*/g,"").trim()),mj=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let a=r;return a=a.replace(e,"function"),a+n},gj=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Bx(e){if(!pj(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=sN(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var vj=function(e){let t,r,n,a;return function(o,i){try{if(o==="")return a=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let s=r.get(this)||this;for(;n.length&&s!==n[0];)n.shift(),a.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===-1/0?"_-Infinity_":i===1/0?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return gj.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,yN.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,bN.default)(i)){if(!e.allowFunction)return;let{name:d}=i,p=i.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${hj(mj(o,p))}`}if((0,wN.default)(i)){if(!e.allowSymbol)return;let d=Symbol.keyFor(i);return d!==void 0?`_gsymbol_${d}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(a)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&!e.allowClass)return;let c=t.get(i);if(!c){let d=Array.isArray(i)?i:Bx(i);if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":i.constructor.name})}catch{}return a.push(o),n.unshift(d),t.set(i,JSON.stringify(a)),i!==d&&r.set(i,d),d}return`_duplicate_${c}`}catch{return}}},yj={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},bj=(e,t={})=>{let r={...yj,...t};return JSON.stringify(Bx(e),vj(r),t.space)};function Tx(e){return bj(e,{allowFunction:!1})}var zx=l.createContext({sources:{}}),Lx="--unknown--",wj=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:c,args:d=void 0,source:p,format:m}=typeof o=="string"?{id:o,source:i,format:s}:o,h=d?Tx(d):Lx;n(f=>({...f,[c]:{...f[c],[h]:{code:p,format:m}}}))};return t.on(hh,a),()=>t.off(hh,a)},[]),y.createElement(zx.Provider,{value:{sources:r}},e)},Ej=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[Tx(t)])||(a==null?void 0:a[Lx])||{code:""}},xj=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var c,d;let{__isArgsStory:a}=t.parameters,o=((c=t.parameters.docs)==null?void 0:c.source)||{},i=r||o.type||Eu.AUTO;if(o.code!==void 0)return o.code;let s=i===Eu.DYNAMIC||i===Eu.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},Dj=(e,t,r)=>{var f,v,g,w;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:i}=e,s=e.format??o.format,c=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:s,language:c,dark:d};let p=t.getStoryContext(n),m=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,h=Ej(n.id,m,r);return s=h.format??((w=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:w.format)??!1,{code:xj({snippet:h.code,storyContext:{...p,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:c,dark:d}};function Cj(e,t){let r=Sj([e],t);return r&&r[0]}function Sj(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var kj=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},Aj=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let s=e.height??o.height,c=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},Fj=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(Et),r=kj(e,t),n=Cj(r,t);if(!n)return y.createElement(H9,null);let a=Aj(e,n,t);return a?y.createElement(BO,{...a}):null},_j=e=>{var h,f,v,g,w,x,D,E,b,C;let t=l.useContext(Et),r=l.useContext(zx),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=kn(n||"story",["story"]),i=Dj({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((f=(h=o.parameters.docs)==null?void 0:h.canvas)==null?void 0:f.layout)??"padded",c=e.withToolbar??((g=(v=o.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((x=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.additionalActions),p=e.sourceState??((E=(D=o.parameters.docs)==null?void 0:D.canvas)==null?void 0:E.sourceState)??"hidden",m=e.className??((C=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:C.className);return y.createElement(j9,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:c,additionalActions:d,className:m,layout:s},y.createElement(Fj,{of:n||o.moduleExport,meta:e.meta,...e.story}))},Rj=(e,t)=>{let r=Ij(e,t);if(!r)throw new Error("No result when story was defined");return r},Ij=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let c=d=>{d.storyId===n&&o(d.args)};return t.channel.on(y4,c),()=>t.channel.off(y4,c)},[n,t.channel]);let i=l.useCallback(c=>t.channel.emit(_L,{storyId:n,updatedArgs:c}),[n,t.channel]),s=l.useCallback(c=>t.channel.emit(RL,{storyId:n,argNames:c}),[n,t.channel]);return e&&[a,i,s]},Bj=(e,t)=>{let r=t.getStoryContext(e),[n,a]=l.useState(r.globals);return l.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(b4,o),()=>t.channel.off(b4,o)},[t.channel]),[n]};function Tj(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var zj=e=>{var b;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(Et),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,c=((b=a.docs)==null?void 0:b.controls)||{},d=e.include??c.include,p=e.exclude??c.exclude,m=e.sort??c.sort,[h,f,v]=Rj(n,r),[g]=Bj(n,r),w=v4(o,d,p);if(!(s&&Object.keys(s).length>0))return Object.keys(w).length>0||Object.keys(h).length>0?y.createElement(q1,{rows:w,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v}):null;let x=Q$(i),D=Object.fromEntries(Object.entries(s).map(([C,S])=>[C,{rows:v4(Tj(S,a),d,p),sort:m}])),E={[x]:{rows:w,sort:m},...D};return y.createElement(j$,{tabs:E,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v})},{document:Ox}=globalThis,Lj=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(j8,null,t);let n=e&&e.split("-");return y.createElement($9,{language:n&&n[1]||"text",format:!1,code:t,...r})};function sh(e,t){e.channel.emit(IL,t)}var W1=pL.a,Oj=({hash:e,children:t})=>{let r=l.useContext(Et);return y.createElement(W1,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);Ox.getElementById(a)&&sh(r,e)}},t)},Mj=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(Et);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement(W1,{...e}):t.startsWith("#")?y.createElement(Oj,{hash:t},n):y.createElement(W1,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),sh(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},Mx=["h1","h2","h3","h4","h5","h6"],Pj=Mx.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),$j=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Nj=({as:e,id:t,children:r,...n})=>{let a=l.useContext(Et),o=Pj[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement($j,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{Ox.getElementById(t)&&sh(a,i)}},y.createElement(xL,null)),r)},uh=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(Nj,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...le(s,t)})},Hj=Mx.reduce((e,t)=>({...e,[t]:r=>y.createElement(uh,{as:t,...r})}),{}),jj=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(Vx`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' diff --git a/demo-1732-error-on-icon-prop/assets/index-GnA_7lsg.js b/demo-1732-error-on-icon-prop/assets/index-DaOcsh2D.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/index-GnA_7lsg.js rename to demo-1732-error-on-icon-prop/assets/index-DaOcsh2D.js index 6b1ab350be..0a2583cf07 100644 --- a/demo-1732-error-on-icon-prop/assets/index-GnA_7lsg.js +++ b/demo-1732-error-on-icon-prop/assets/index-DaOcsh2D.js @@ -1 +1 @@ -import{m as c,a as T,G as b,K as d,P as S,g as B,L,b as C,v as H,w as u,c as g,E as y,$ as I,y as h,d as k,N as P,e as W,D as A,x as F,C as x,f as D,S as R,R as f,I as v,h as E,i as M,A as N,F as q,j as w,k as O,l as U,W as Z,n as j,T as z,t as G,o as J,p as K,q as Q,r as V,s as X,u as Y,z as _,B as $,H as aa,J as sa,M as oa,V as ta,O as ea,Q as ra,U as pa,X as ia,Y as na,Z as ma,_ as la,a0 as ca,a1 as Ta,a2 as ba,a3 as da,a4 as Sa,a5 as Ba,a6 as La,a7 as Ca,a8 as Ha,a9 as ua,aa as ga,ab as ya,ac as Ia,ad as ha}from"./index-fGKZZBv1.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./jsx-runtime-j_jdvEMj.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";export{c as A,T as ActionBar,b as AddonPanel,d as Badge,S as Bar,B as Blockquote,L as Button,C as ClipboardCode,H as Code,u as DL,g as Div,y as DocumentWrapper,I as EmptyTabContent,h as ErrorFormatter,k as FlexBar,P as Form,W as H1,A as H2,F as H3,x as H4,D as H5,R as H6,f as HR,v as IconButton,E as IconButtonSkeleton,M as Icons,N as Img,q as LI,w as Link,O as ListItem,U as Loader,Z as Modal,j as OL,z as P,G as Placeholder,J as Pre,K as ResetWrapper,Q as ScrollArea,V as Separator,X as Spaced,Y as Span,_ as StorybookIcon,$ as StorybookLogo,aa as Symbols,sa as SyntaxHighlighter,oa as TT,ta as TabBar,ea as TabButton,ra as TabWrapper,pa as Table,ia as Tabs,na as TabsState,ma as TooltipLinkList,la as TooltipMessage,ca as TooltipNote,Ta as UL,ba as WithTooltip,da as WithTooltipPure,Sa as Zoom,Ba as codeCommon,La as components,Ca as createCopyToClipboardFunction,Ha as getStoryHref,ua as icons,ga as interleaveSeparators,ya as nameSpaceClassNames,Ia as resetComponents,ha as withReset}; +import{m as c,a as T,G as b,K as d,P as S,g as B,L,b as C,v as H,w as u,c as g,E as y,$ as I,y as h,d as k,N as P,e as W,D as A,x as F,C as x,f as D,S as R,R as f,I as v,h as E,i as M,A as N,F as q,j as w,k as O,l as U,W as Z,n as j,T as z,t as G,o as J,p as K,q as Q,r as V,s as X,u as Y,z as _,B as $,H as aa,J as sa,M as oa,V as ta,O as ea,Q as ra,U as pa,X as ia,Y as na,Z as ma,_ as la,a0 as ca,a1 as Ta,a2 as ba,a3 as da,a4 as Sa,a5 as Ba,a6 as La,a7 as Ca,a8 as Ha,a9 as ua,aa as ga,ab as ya,ac as Ia,ad as ha}from"./index-Cnpsjyel.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./jsx-runtime-j_jdvEMj.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";export{c as A,T as ActionBar,b as AddonPanel,d as Badge,S as Bar,B as Blockquote,L as Button,C as ClipboardCode,H as Code,u as DL,g as Div,y as DocumentWrapper,I as EmptyTabContent,h as ErrorFormatter,k as FlexBar,P as Form,W as H1,A as H2,F as H3,x as H4,D as H5,R as H6,f as HR,v as IconButton,E as IconButtonSkeleton,M as Icons,N as Img,q as LI,w as Link,O as ListItem,U as Loader,Z as Modal,j as OL,z as P,G as Placeholder,J as Pre,K as ResetWrapper,Q as ScrollArea,V as Separator,X as Spaced,Y as Span,_ as StorybookIcon,$ as StorybookLogo,aa as Symbols,sa as SyntaxHighlighter,oa as TT,ta as TabBar,ea as TabButton,ra as TabWrapper,pa as Table,ia as Tabs,na as TabsState,ma as TooltipLinkList,la as TooltipMessage,ca as TooltipNote,Ta as UL,ba as WithTooltip,da as WithTooltipPure,Sa as Zoom,Ba as codeCommon,La as components,Ca as createCopyToClipboardFunction,Ha as getStoryHref,ua as icons,ga as interleaveSeparators,ya as nameSpaceClassNames,Ia as resetComponents,ha as withReset}; diff --git a/demo-1732-error-on-icon-prop/assets/index.esm-jyjgLnxG.js b/demo-1732-error-on-icon-prop/assets/index.esm-DEmhLKYr.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/index.esm-jyjgLnxG.js rename to demo-1732-error-on-icon-prop/assets/index.esm-DEmhLKYr.js index 43bcc910e2..ae8502dca5 100644 --- a/demo-1732-error-on-icon-prop/assets/index.esm-jyjgLnxG.js +++ b/demo-1732-error-on-icon-prop/assets/index.esm-DEmhLKYr.js @@ -1,18 +1,18 @@ import{j as c}from"./jsx-runtime-j_jdvEMj.js";import{c as p}from"./clsx-B-dksMZM.js";import{r as o}from"./index-B-o1Wr-g.js";import{l as Fa,k as O1,e as re,i as Ga,j as qa,s as Wa,c as Ua,S as xe,a as Ja,b as Qa}from"./index.esm-DoGgRjwu.js";function F(e){"@babel/helpers - typeof";return F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},F(e)}function Xa(e,n){if(F(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var t=r.call(e,n||"default");if(F(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function Ya(e){var n=Xa(e,"string");return F(n)=="symbol"?n:n+""}function u(e,n,r){return(n=Ya(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function ec(e,n){if(e==null)return{};var r={};for(var t in e)if({}.hasOwnProperty.call(e,t)){if(n.includes(t))continue;r[t]=e[t]}return r}function b(e,n){if(e==null)return{};var r,t,a=ec(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(t=0;te.length)&&(n=e.length);for(var r=0,t=Array(n);r1&&arguments[1]!==void 0?arguments[1]:{plural:"invoerfouten",singular:"invoerfout"},t=o.useState(),a=V(t,2),s=a[0],i=a[1];return o.useEffect(function(){i(document.title)},[]),s&&(n.length===1?document.title="(".concat(n.length," ").concat(r.singular,") ").concat(s):n.length>1?document.title="(".concat(n.length," ").concat(r.plural,") ").concat(s):document.title=s),null},_c=["errors","errorCountLabel"];function ur(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,t)}return r}function pr(e){for(var n=1;na&&"ams-character-count--error",r),role:"status",children:"".concat(t," van ").concat(a," tekens")}))});I1.displayName="CharacterCount";var qc=["children","className"];function Ir(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,t)}return r}function Rr(e){for(var n=1;n1&&arguments[1]!==void 0?arguments[1]:{plural:"invoerfouten",singular:"invoerfout"},t=o.useState(),a=V(t,2),s=a[0],l=a[1];return o.useEffect(function(){l(document.title)},[]),s&&(n.length===1?document.title="(".concat(n.length," ").concat(r.singular,") ").concat(s):n.length>1?document.title="(".concat(n.length," ").concat(r.plural,") ").concat(s):document.title=s),null},_c=["errors","errorCountLabel"];function ur(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,t)}return r}function pr(e){for(var n=1;na&&"ams-character-count--error",r),role:"status",children:"".concat(t," van ").concat(a," tekens")}))});I1.displayName="CharacterCount";var qc=["children","className"];function Ir(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,t)}return r}function Rr(e){for(var n=1;n ":"",j=Array.from(O.querySelectorAll("".concat(S).concat(ts.join(", ".concat(S))))),k=function(Z){return Z&&j.includes(Z)?j.indexOf(Z):0},x;switch(g.key){case m:{k(w)!==j.length-1?(x=j[k(w)+1],w&&!j.includes(w)&&(x=j[0])):a&&(x=j[0]);break}case f:{k(w)!==0?x=j[k(w)-1]:a&&(x=j[j.length-1]);break}case E.Home:{x=j[0];break}case E.End:{x=j[j.length-1];break}}(g.key===E.ArrowDown||g.key===E.ArrowUp||g.key===E.ArrowLeft||g.key===E.ArrowRight||g.key===E.Home||g.key===E.End)&&x instanceof HTMLElement&&(x.focus(),g.preventDefault())}};return{keyDown:h}},ns=["activeTab","children","className"];function et(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,t)}return r}function rt(e){for(var n=1;nP.length-1?h(P.length-1):h(r))},[r,P]);var g=function(j){h(j)};o.useImperativeHandle(n,function(){return l.current});var O=G1(l,{rotating:!0,horizontally:!0}),w=O.keyDown;return c.jsx(ue.Provider,{value:{activeTab:f,updateTab:g,tabsId:i},children:c.jsx("div",rt(rt({},s),{},{role:"tabs",ref:l,onKeyDown:w,className:p("ams-tabs",a),children:t}))})});pe.displayName="Tabs";Object.assign(pe,{Button:z1,List:B1,Panel:F1});var as=["className","dir","invalid","resize"];function tt(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,t)}return r}function nt(e){for(var n=1;nt&&m===t-2&&e ":"",j=Array.from(O.querySelectorAll("".concat(S).concat(ts.join(", ".concat(S))))),k=function(Z){return Z&&j.includes(Z)?j.indexOf(Z):0},x;switch(g.key){case m:{k(w)!==j.length-1?(x=j[k(w)+1],w&&!j.includes(w)&&(x=j[0])):a&&(x=j[0]);break}case f:{k(w)!==0?x=j[k(w)-1]:a&&(x=j[j.length-1]);break}case E.Home:{x=j[0];break}case E.End:{x=j[j.length-1];break}}(g.key===E.ArrowDown||g.key===E.ArrowUp||g.key===E.ArrowLeft||g.key===E.ArrowRight||g.key===E.Home||g.key===E.End)&&x instanceof HTMLElement&&(x.focus(),g.preventDefault())}};return{keyDown:h}},ns=["activeTab","children","className"];function et(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,t)}return r}function rt(e){for(var n=1;nP.length-1?h(P.length-1):h(r))},[r,P]);var g=function(j){h(j)};o.useImperativeHandle(n,function(){return i.current});var O=G1(i,{rotating:!0,horizontally:!0}),w=O.keyDown;return c.jsx(ue.Provider,{value:{activeTab:f,updateTab:g,tabsId:l},children:c.jsx("div",rt(rt({},s),{},{role:"tabs",ref:i,onKeyDown:w,className:p("ams-tabs",a),children:t}))})});pe.displayName="Tabs";Object.assign(pe,{Button:z1,List:B1,Panel:F1});var as=["className","dir","invalid","resize"];function tt(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,t)}return r}function nt(e){for(var n=1;nt&&m===t-2&&ei.map(i=>d[i]); -import{_ as S}from"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";const{addons:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:U}=__STORYBOOK_MODULE_GLOBAL__;var o="storybook/a11y",y=`${o}/result`,L=`${o}/request`,d=`${o}/running`,A=`${o}/error`,T=`${o}/manual`,r={RESULT:y,REQUEST:L,RUNNING:d,ERROR:A,MANUAL:T},{document:g}=U,a=f.getChannel(),l=!1,_,R={config:{},options:{}},v=async(n,e)=>{e!=null&&e.manual||await i(n,e??R)},i=async(n,e=R)=>{_=n;try{if(!l){l=!0,a.emit(r.RUNNING);let{default:t}=await S(()=>import("./axe-lnWdN9pe.js").then(N=>N.a),__vite__mapDeps([0,1]),import.meta.url),{element:m="#storybook-root",config:s,options:O={}}=e,E=g.querySelector(m);if(!E)return;t.reset(),s&&t.configure(s);let c=await t.run(E,O),u=JSON.parse(JSON.stringify(c));_===n?a.emit(r.RESULT,u):(l=!1,i(_))}}catch(t){a.emit(r.ERROR,t)}finally{l=!1}};a.on(r.REQUEST,v);a.on(r.MANUAL,i); +import{_ as S}from"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";const{addons:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:U}=__STORYBOOK_MODULE_GLOBAL__;var o="storybook/a11y",y=`${o}/result`,L=`${o}/request`,d=`${o}/running`,A=`${o}/error`,T=`${o}/manual`,r={RESULT:y,REQUEST:L,RUNNING:d,ERROR:A,MANUAL:T},{document:g}=U,a=f.getChannel(),l=!1,_,R={config:{},options:{}},v=async(n,e)=>{e!=null&&e.manual||await i(n,e??R)},i=async(n,e=R)=>{_=n;try{if(!l){l=!0,a.emit(r.RUNNING);let{default:t}=await S(()=>import("./axe-lnWdN9pe.js").then(N=>N.a),__vite__mapDeps([0,1]),import.meta.url),{element:m="#storybook-root",config:s,options:O={}}=e,E=g.querySelector(m);if(!E)return;t.reset(),s&&t.configure(s);let c=await t.run(E,O),u=JSON.parse(JSON.stringify(c));_===n?a.emit(r.RESULT,u):(l=!1,i(_))}}catch(t){a.emit(r.ERROR,t)}finally{l=!1}};a.on(r.REQUEST,v);a.on(r.MANUAL,i); diff --git a/demo-1732-error-on-icon-prop/assets/preview-CUmeVzbI.js b/demo-1732-error-on-icon-prop/assets/preview-DSxrJxLh.js similarity index 70% rename from demo-1732-error-on-icon-prop/assets/preview-CUmeVzbI.js rename to demo-1732-error-on-icon-prop/assets/preview-DSxrJxLh.js index 38cebfd92e..b245008cba 100644 --- a/demo-1732-error-on-icon-prop/assets/preview-CUmeVzbI.js +++ b/demo-1732-error-on-icon-prop/assets/preview-DSxrJxLh.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DocsRenderer-CFRXHY34-CUWiS8Jt.js","./iframe-e7YraeZa.js","./index-B-o1Wr-g.js","./_commonjsHelpers-Cpj98o6Y.js","./index-fGKZZBv1.js","./jsx-runtime-j_jdvEMj.js","./index-DolzVqEf.js","./index-D-8MO0q_.js","./index-CJyPbrN5.js","./index-DrFu-skq.js","./react-18-Dbhu8A1k.js"])))=>i.map(i=>d[i]); -import{_ as a}from"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";var i=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-CUWiS8Jt.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>i[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DocsRenderer-CFRXHY34-DZmfOQ1q.js","./iframe-D2ZBSuFq.js","./index-B-o1Wr-g.js","./_commonjsHelpers-Cpj98o6Y.js","./index-Cnpsjyel.js","./jsx-runtime-j_jdvEMj.js","./index-DolzVqEf.js","./index-D-8MO0q_.js","./index-CJyPbrN5.js","./index-DrFu-skq.js","./react-18-Dbhu8A1k.js"])))=>i.map(i=>d[i]); +import{_ as a}from"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";var i=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-DZmfOQ1q.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>i[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/demo-1732-error-on-icon-prop/assets/routing-libraries.docs-B_YvTwmV.js b/demo-1732-error-on-icon-prop/assets/routing-libraries.docs-CFwxiaDK.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/routing-libraries.docs-B_YvTwmV.js rename to demo-1732-error-on-icon-prop/assets/routing-libraries.docs-CFwxiaDK.js index fc0cfad5ee..3c40f0aeaa 100644 --- a/demo-1732-error-on-icon-prop/assets/routing-libraries.docs-B_YvTwmV.js +++ b/demo-1732-error-on-icon-prop/assets/routing-libraries.docs-CFwxiaDK.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as i}from"./index-fGKZZBv1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function o(t){const e={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...r(),...t.components};return n.jsxs(n.Fragment,{children:[` +import{j as n}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as r}from"./index-BSj771as.js";import{ae as i}from"./index-Cnpsjyel.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function o(t){const e={a:"a",code:"code",h1:"h1",h2:"h2",p:"p",pre:"pre",...r(),...t.components};return n.jsxs(n.Fragment,{children:[` `,` `,n.jsx(i,{title:"Docs/Developer Guide/Routing libraries"}),` `,n.jsx(e.h1,{id:"routing-libraries",children:"Routing libraries"}),` diff --git a/demo-1732-error-on-icon-prop/assets/space.docs-CQ7Xg4IH.js b/demo-1732-error-on-icon-prop/assets/space.docs-CR1IeB1o.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/space.docs-CQ7Xg4IH.js rename to demo-1732-error-on-icon-prop/assets/space.docs-CR1IeB1o.js index e355b1a631..aea240674e 100644 --- a/demo-1732-error-on-icon-prop/assets/space.docs-CQ7Xg4IH.js +++ b/demo-1732-error-on-icon-prop/assets/space.docs-CR1IeB1o.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as l}from"./index-BSj771as.js";import{ae as i}from"./index-fGKZZBv1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function n(s){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...l(),...s.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as l}from"./index-BSj771as.js";import{ae as i}from"./index-Cnpsjyel.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function n(s){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...l(),...s.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(i,{title:"Brand/Design Tokens/Space"}),` `,e.jsx(t.h1,{id:"space",children:"Space"}),` diff --git a/demo-1732-error-on-icon-prop/assets/text.docs-nOv4q5Tu.js b/demo-1732-error-on-icon-prop/assets/text.docs-CYMf4gn5.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/text.docs-nOv4q5Tu.js rename to demo-1732-error-on-icon-prop/assets/text.docs-CYMf4gn5.js index a680495721..66b340d44f 100644 --- a/demo-1732-error-on-icon-prop/assets/text.docs-nOv4q5Tu.js +++ b/demo-1732-error-on-icon-prop/assets/text.docs-CYMf4gn5.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as l}from"./index-BSj771as.js";import{ae as r,af as i}from"./index-fGKZZBv1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function s(n){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...l(),...n.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as l}from"./index-BSj771as.js";import{ae as r,af as i}from"./index-Cnpsjyel.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function s(n){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...l(),...n.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(r,{title:"Brand/Design Tokens/Text"}),` `,e.jsx(t.h1,{id:"text",children:"Text"}),` diff --git a/demo-1732-error-on-icon-prop/assets/usability.docs-cDefgnVp.js b/demo-1732-error-on-icon-prop/assets/usability.docs-qVHHBl4G.js similarity index 93% rename from demo-1732-error-on-icon-prop/assets/usability.docs-cDefgnVp.js rename to demo-1732-error-on-icon-prop/assets/usability.docs-qVHHBl4G.js index 96fab0893a..60f8014415 100644 --- a/demo-1732-error-on-icon-prop/assets/usability.docs-cDefgnVp.js +++ b/demo-1732-error-on-icon-prop/assets/usability.docs-qVHHBl4G.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as i}from"./index-fGKZZBv1.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function o(n){const t={code:"code",h1:"h1",h2:"h2",p:"p",...s(),...n.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as s}from"./index-BSj771as.js";import{ae as i}from"./index-Cnpsjyel.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";/*@license CC0-1.0*/function o(n){const t={code:"code",h1:"h1",h2:"h2",p:"p",...s(),...n.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(i,{title:"Docs/Developer Guide/Usability"}),` `,e.jsx(t.h1,{id:"usability",children:"Usability"}),` diff --git a/demo-1732-error-on-icon-prop/assets/web-app.docs-qUQYKEIC.js b/demo-1732-error-on-icon-prop/assets/web-app.docs-C0njb6JL.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/web-app.docs-qUQYKEIC.js rename to demo-1732-error-on-icon-prop/assets/web-app.docs-C0njb6JL.js index 6ec52f21b5..299f382b56 100644 --- a/demo-1732-error-on-icon-prop/assets/web-app.docs-qUQYKEIC.js +++ b/demo-1732-error-on-icon-prop/assets/web-app.docs-C0njb6JL.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as a}from"./index-fGKZZBv1.js";import{W as o}from"./AppIcons-Dtqr_rt6.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-e7YraeZa.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-jyjgLnxG.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";/*@license CC0-1.0*/function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[` +import{j as e}from"./jsx-runtime-j_jdvEMj.js";import{useMDXComponents as t}from"./index-BSj771as.js";import{ae as a}from"./index-Cnpsjyel.js";import{W as o}from"./AppIcons-DitZmZ8_.js";import"./index-B-o1Wr-g.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-D2ZBSuFq.js";import"../sb-preview/runtime.js";import"./index-DolzVqEf.js";import"./index-D-8MO0q_.js";import"./index-CJyPbrN5.js";import"./index-DrFu-skq.js";import"./index.esm-DEmhLKYr.js";import"./clsx-B-dksMZM.js";import"./index.esm-DoGgRjwu.js";/*@license CC0-1.0*/function i(s){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...t(),...s.components};return e.jsxs(e.Fragment,{children:[` `,` `,e.jsx(a,{title:"Docs/Developer Guide/Web App"}),` `,e.jsx(n.h1,{id:"web-app",children:"Web App"}),` diff --git a/demo-1732-error-on-icon-prop/iframe.html b/demo-1732-error-on-icon-prop/iframe.html index 7bd25af650..0045920856 100644 --- a/demo-1732-error-on-icon-prop/iframe.html +++ b/demo-1732-error-on-icon-prop/iframe.html @@ -512,7 +512,7 @@ window.global = window; - + diff --git a/demo-1732-error-on-icon-prop/project.json b/demo-1732-error-on-icon-prop/project.json index 0fb1b955ec..0241d4236c 100644 --- a/demo-1732-error-on-icon-prop/project.json +++ b/demo-1732-error-on-icon-prop/project.json @@ -1 +1 @@ -{"generatedAt":1730732062971,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{},"monorepo":"Workspaces","packageManager":{"type":"pnpm","version":"9.12.2"},"typescriptOptions":{"reactDocgen":"react-docgen-typescript"},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"storybookVersion":"8.4.1","storybookVersionSpecifier":"8.4.1","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"8.4.1"},"@storybook/blocks":{"version":"8.4.1"},"@storybook/components":{"version":"8.4.1"},"@storybook/core-events":{"version":"8.4.1"},"@storybook/manager-api":{"version":"8.4.1"},"@storybook/mdx2-csf":{"version":"1.1.0"},"@storybook/preview-api":{"version":"8.4.1"},"@storybook/react":{"version":"8.4.1"},"@storybook/react-vite":{"version":"8.4.1"},"@storybook/theming":{"version":"8.4.1"},"storybook":{"version":"8.4.1"}},"addons":{"@storybook/addon-links":{"version":"8.4.1"},"@storybook/addon-essentials":{"version":"8.4.1"},"@storybook/addon-interactions":{"version":"8.4.1"},"@storybook/addon-a11y":{"version":"8.4.1"},"@storybook/addon-themes":{"version":"8.4.1"},"@storybook/addon-docs":{"version":"8.4.1"},"@whitespace/storybook-addon-html":{"version":"6.1.1"}}} \ No newline at end of file +{"generatedAt":1730732285013,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"testPackages":{},"monorepo":"Workspaces","packageManager":{"type":"pnpm","version":"9.12.2"},"typescriptOptions":{"reactDocgen":"react-docgen-typescript"},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"storybookVersion":"8.4.1","storybookVersionSpecifier":"8.4.1","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"8.4.1"},"@storybook/blocks":{"version":"8.4.1"},"@storybook/components":{"version":"8.4.1"},"@storybook/core-events":{"version":"8.4.1"},"@storybook/manager-api":{"version":"8.4.1"},"@storybook/mdx2-csf":{"version":"1.1.0"},"@storybook/preview-api":{"version":"8.4.1"},"@storybook/react":{"version":"8.4.1"},"@storybook/react-vite":{"version":"8.4.1"},"@storybook/theming":{"version":"8.4.1"},"storybook":{"version":"8.4.1"}},"addons":{"@storybook/addon-links":{"version":"8.4.1"},"@storybook/addon-essentials":{"version":"8.4.1"},"@storybook/addon-interactions":{"version":"8.4.1"},"@storybook/addon-a11y":{"version":"8.4.1"},"@storybook/addon-themes":{"version":"8.4.1"},"@storybook/addon-docs":{"version":"8.4.1"},"@whitespace/storybook-addon-html":{"version":"6.1.1"}}} \ No newline at end of file