From 4729b0098936d2a7e8899e4094b9c7c807a450e1 Mon Sep 17 00:00:00 2001 From: VincentSmedinga Date: Mon, 4 Nov 2024 14:52:35 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Amsterda?= =?UTF-8?q?m/design-system@711b1be6ecc7951253898160328b25a03a7cfbbf=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...b1be6ecc7951253898160328b25a03a7cfbbf.txt} | 0 ...B104na97.js => Accordion.docs-BjHjZlIw.js} | 2 +- ...FT9dY.js => Accordion.stories-BgwcYwZ1.js} | 2 +- ...iGbt4z.js => ActionGroup.docs-BlV2t3tb.js} | 2 +- ...viu.js => ActionGroup.stories-D07uoho6.js} | 2 +- ...ocs-BrSggXhC.js => Alert.docs-BElckWCD.js} | 2 +- ...-cUkLoWg9.js => Alert.stories-C7WMmUmu.js} | 2 +- ...Icons-BukLgj-b.js => AppIcons-Dkuz_h0T.js} | 2 +- ...yPADMl.js => ArticlePage.docs-Bk3WPcyi.js} | 2 +- ...Xlj.js => ArticlePage.stories-qicl4aC7.js} | 2 +- ...jeDcLp.js => AspectRatio.docs-b629npqm.js} | 2 +- ...d1C.js => AspectRatio.stories-DOkJwAA4.js} | 2 +- ...cs-FbyTojmX.js => Avatar.docs-BjgSrL7s.js} | 2 +- ...DYjcetTq.js => Avatar.stories-BwVeOOOj.js} | 2 +- ...ocs-CNej9rW-.js => Badge.docs-zNiOd06Y.js} | 2 +- ...i7KejB3.js => Blockquote.docs-x49Q4KtP.js} | 2 +- ...V1SqTI3.js => Breadcrumb.docs-D2qvFwq5.js} | 2 +- ...-BHw_zTv5.js => Breakout.docs-Dc9uu8Lr.js} | 2 +- ...n7bObM.js => Breakout.stories-CVVN28qX.js} | 2 +- ...cs-OWErX9MR.js => Button.docs-B_sSWEze.js} | 2 +- .../assets/Button.stories-C1_-rX8V.js | 38 ------------------- .../assets/Button.stories-CWaiVgHl.js | 38 +++++++++++++++++++ ...docs-BWa7jSWq.js => Card.docs-Dr76CtDk.js} | 2 +- ...s-DrmnRFdC.js => Card.stories-B5JMsV2L.js} | 2 +- ...3Ix.js => CharacterCount.docs-C0jrfDWp.js} | 2 +- ...-bxnPbtI1.js => Checkbox.docs-BNhum6tM.js} | 2 +- ...2Ua-F0.js => Checkbox.stories-r7qFZA4W.js} | 2 +- ...BRXJD2yn.js => Color-ERTF36HU-DlRx-JC4.js} | 2 +- ...cs--sqaIunC.js => Column.docs-BmuhGkoU.js} | 2 +- ...yaawmOKX.js => Column.stories-B34YzMzb.js} | 2 +- ...BiIOXbIB.js => DateInput.docs-DKryj8ni.js} | 2 +- ...iPb1k.js => DateInput.stories-CUnTl4mJ.js} | 2 +- ...tt.js => DescriptionList.docs-CxKViVrd.js} | 2 +- ...js => DescriptionList.stories-DW6odJtM.js} | 2 +- ...cs-tihLosAM.js => Dialog.docs-xMX8CFx5.js} | 2 +- ...B0HLnsy0.js => Dialog.stories-CofY7krx.js} | 2 +- ...Y.js => DocsRenderer-CFRXHY34-BAJ9MkqQ.js} | 2 +- ...TcUg6.js => ErrorMessage.docs-CUOb9-Gx.js} | 2 +- ...ocs-Cf9bnh-b.js => Field.docs-DNxTS8Q-.js} | 2 +- ...-CngytoUs.js => Field.stories-D5PzwsAQ.js} | 2 +- ...-CvH0qtUx.js => FieldSet.docs-DesXYL_9.js} | 2 +- ...cehYqX.js => FieldSet.stories-Cgjslopn.js} | 2 +- ...U5xDOYW5.js => FileInput.docs-DC8XAIes.js} | 2 +- ...WCxpl.js => FileInput.stories-CI4RhoxY.js} | 2 +- ...cs-D9coiwC9.js => Footer.docs-Bi5Zv8A9.js} | 2 +- ...QT73Bk8g.js => Footer.stories-BaJ-LM4v.js} | 2 +- ...xEVj.js => FormErrorList.docs-CK_MoYl2.js} | 2 +- ...z.js => FormErrorList.stories-DOywcyMJ.js} | 4 +- ...-BHzAcVnw.js => FormPage.docs-DblYL3zo.js} | 2 +- ...aPiYtR.js => FormPage.stories-DYZJkRLZ.js} | 2 +- ....docs-CnrhF5__.js => Gap.docs-BbRSFAKO.js} | 2 +- ...es-DCwUsy_8.js => Gap.stories-DbaWBJ6L.js} | 2 +- ...docs-9KHiNtEa.js => Grid.docs-sg7GphPJ.js} | 2 +- ...s-uDGi-Wrr.js => Grid.stories-QslNkPVq.js} | 2 +- ...cs-yZew9t5k.js => Header.docs-iLlWCIZL.js} | 2 +- ...CihSLOoe.js => Header.stories-DjHTsaDH.js} | 2 +- ...s-BUIFGWcX.js => Heading.docs-b76gGqZ9.js} | 2 +- ...T5b5414.js => Heading.stories-Bsvl1iHZ.js} | 2 +- ...-BI9N5v-n.js => HomePage.docs-Dy99_uGe.js} | 2 +- ...ENW2CH.js => HomePage.stories-D4MOtlr5.js} | 2 +- ...docs-SFLAJh2l.js => Icon.docs-CEUXekGe.js} | 2 +- ...s-lSRiqm7M.js => Icon.stories-Bocx3K-q.js} | 2 +- ...gtvuRYJ.js => IconButton.docs-B7bDxAhG.js} | 2 +- ...ocs-D0euHhac.js => Image.docs-jAwUvKaB.js} | 2 +- ...0B8Fgz.js => ImageSlider.docs-4rmctQ2u.js} | 2 +- ...EAoZN.js => Introduction.docs-0nI511fz.js} | 2 +- ...ocs-B6WgEmA9.js => Label.docs-Bo1EovcU.js} | 2 +- ...docs-By45n2JG.js => Link.docs-U8Nq2VIs.js} | 2 +- ...s-BjnH9PXx.js => Link.stories-BwJizPoH.js} | 2 +- ...-unWE43Q5.js => LinkList.docs-b-It3fkV.js} | 2 +- ...docs-CwTUXios.js => Logo.docs-q62BOwlz.js} | 2 +- ...cs-Dg1QWN6c.js => Margin.docs-By3yZVwM.js} | 2 +- ...COKow8dy.js => Margin.stories-l1HTDqSj.js} | 2 +- ...docs-B6zbgBZF.js => Mark.docs-CD8Oug7I.js} | 2 +- ...s-C3Vh2HJi.js => Mark.stories-B03-MA4h.js} | 2 +- ...-229TA4fZ.js => MegaMenu.docs-CTor5SNC.js} | 2 +- ...Zs1XWG.js => MegaMenu.stories-BBZKv5tw.js} | 2 +- ...4A4Iar.js => OrderedList.docs-CMUT74WQ.js} | 2 +- ...V37.js => OrderedList.stories-BRqK5EJu.js} | 2 +- ...s-BGWDmR7Z.js => Overlap.docs-DbPxdxzh.js} | 2 +- ...9ARTKZD.js => Overlap.stories-nXtF7fqH.js} | 2 +- ...2nB4Tc.js => PageHeading.docs-B7lI4afC.js} | 2 +- ...-hQnfLq4c.js => PageMenu.docs-JiC1KsSu.js} | 2 +- ...kk48cxr.js => Pagination.docs-CGt9MMv4.js} | 2 +- ...noGG3zoD.js => Paragraph.docs-CRzRzMkV.js} | 2 +- ...Wni8.js => PasswordInput.docs-fINJc7x2.js} | 2 +- ...D.js => PasswordInput.stories-BCUrEnY4.js} | 2 +- ...ocs-BW7_s2vu.js => Radio.docs-JQKpQuaa.js} | 2 +- ...-Hra-_Kdo.js => Radio.stories--YSpWy9w.js} | 2 +- ....docs-CQsoHRHK.js => Row.docs-Cjh3o428.js} | 2 +- ...es-GUfInl3H.js => Row.stories-nbOQZ4Kw.js} | 2 +- ...cs-Cta2c6_v.js => Screen.docs-CTgcpt9m.js} | 2 +- ...kGId4X.js => SearchField.docs-C8uE5JrQ.js} | 2 +- ...cs-YmG5w08e.js => Select.docs-Cv3jdNJU.js} | 2 +- ...BMsd2eQW.js => Select.stories-D_V_qCOW.js} | 2 +- ...-CpjQMBRe.js => SkipLink.docs-1khqX6VQ.js} | 2 +- ...DVm58n.js => SkipLink.stories-C1LM1mWF.js} | 2 +- ...ight-i1uKJTzV.js => Spotlight-IssvtslZ.js} | 2 +- ...C9GFYGUM.js => Spotlight.docs-Bl6SXKsc.js} | 2 +- ...Kt_B0.js => Spotlight.stories-BVZoIORb.js} | 2 +- ...cs-DPNvTNkU.js => Switch.docs-6HQ7wQMG.js} | 2 +- ...DnffM-h7.js => Switch.stories-DxdfmiLO.js} | 2 +- ...ocs-BQWVFjXO.js => Table.docs-Bt_MOQ46.js} | 2 +- ...ae.js => TableOfContents.docs-DJW_HUkZ.js} | 2 +- ...docs-6nGHp8Po.js => Tabs.docs-DrlgVPat.js} | 2 +- ...s-ULt1rxZf.js => Tabs.stories-Bm7ZiycI.js} | 2 +- ...-XkEfTcoo.js => TextArea.docs-DYsS5I6T.js} | 2 +- ...n0X52F.js => TextArea.stories-BxsPWbDX.js} | 2 +- ...CT0ktw3i.js => TextInput.docs-HAw66gNd.js} | 2 +- ...WJnNM.js => TextInput.stories-zliFcPlz.js} | 2 +- ...DncAXjHu.js => TimeInput.docs-CiEDzstu.js} | 2 +- ...8vOd3.js => TimeInput.stories-DFSNh9pE.js} | 2 +- ...klwapx.js => TopTaskLink.docs-BcU2Nl0K.js} | 2 +- ...hQq.js => TopTaskLink.stories-CideQWaE.js} | 2 +- ...BNDB.js => UnorderedList.docs-BDiM6yI1.js} | 2 +- ..._.js => UnorderedList.stories-DIV1RlLi.js} | 2 +- ...H_y.js => VisuallyHidden.docs-CJxGyNLE.js} | 2 +- ....js => VisuallyHidden.stories-DTQpbB1y.js} | 2 +- ...cs-DbPworI9.js => border.docs-BYCJ8XLa.js} | 2 +- ...jTi82Q.js => breakpoints.docs-Bm_f0ZDC.js} | 2 +- ...cs-R4RJMelv.js => colour.docs-D7A7vOOI.js} | 2 +- ...{config-Ph9_AafQ.js => config-DFibQQL4.js} | 2 +- ...x1AlLmab.js => copyright.docs-MubVgTxp.js} | 2 +- ...-C514jeYx.js => entry-preview-DUfLW8LW.js} | 2 +- ...s-BGWAzRmK.js => favicon.docs-DdgF9GzL.js} | 2 +- ...docs-BGKfCF_w.js => font.docs-BjJPQH2I.js} | 2 +- ...Z0.js => getting-started.docs-DnrtWavK.js} | 2 +- ...docs-DIMhlaql.js => grid.docs-RT0bb6vl.js} | 2 +- ...ocs-QX04DwA9.js => icons.docs-ZuxTHFTr.js} | 2 +- ...{iframe-DcwaDa5u.js => iframe-Chn7UdQi.js} | 4 +- .../{index-Bc_7gYwI.js => index-DNXVmPlZ.js} | 8 ++-- .../{index-CqsCPf7m.js => index-jv-4ewYB.js} | 2 +- ....esm-CF7nKaqV.js => index.esm-edP8GOgy.js} | 2 +- ...AGic.js => interactivity.docs-Tw8SDHdS.js} | 2 +- ...10of9.js => introduction.docs-DOQFknuG.js} | 2 +- ...-YMvjnQHr.js => language.docs-B43HDP9j.js} | 2 +- ...s-CMsZZnkj.js => license.docs--S2zuD8K.js} | 2 +- ...review-BxP2vRzZ.js => preview-26ZMvfdX.js} | 4 +- ...review-Di_54Tgr.js => preview-DdQaPxE7.js} | 2 +- ....js => routing-libraries.docs-CZ624pF9.js} | 2 +- ...ocs-Fx118cLi.js => space.docs-CL-LRX94.js} | 2 +- ...docs-CQKpddKK.js => text.docs-_mAqCO8s.js} | 2 +- ...BqWY_STg.js => usability.docs-rt8n3D4O.js} | 2 +- ...s-cpsQUKc8.js => web-app.docs-3HvFVq7Z.js} | 2 +- demo-1732-error-on-icon-prop/iframe.html | 2 +- demo-1732-error-on-icon-prop/project.json | 2 +- 146 files changed, 187 insertions(+), 187 deletions(-) rename demo-1732-error-on-icon-prop/{f79b546ff3e4c53ccc383b0a62e7807739a41c6a.txt => 711b1be6ecc7951253898160328b25a03a7cfbbf.txt} (100%) rename demo-1732-error-on-icon-prop/assets/{Accordion.docs-B104na97.js => Accordion.docs-BjHjZlIw.js} (96%) rename demo-1732-error-on-icon-prop/assets/{Accordion.stories-DcQFT9dY.js => Accordion.stories-BgwcYwZ1.js} (98%) rename demo-1732-error-on-icon-prop/assets/{ActionGroup.docs-BTiGbt4z.js => ActionGroup.docs-BlV2t3tb.js} (86%) rename demo-1732-error-on-icon-prop/assets/{ActionGroup.stories-CihD3viu.js => ActionGroup.stories-D07uoho6.js} (96%) rename demo-1732-error-on-icon-prop/assets/{Alert.docs-BrSggXhC.js => Alert.docs-BElckWCD.js} (92%) rename demo-1732-error-on-icon-prop/assets/{Alert.stories-cUkLoWg9.js => Alert.stories-C7WMmUmu.js} (98%) rename demo-1732-error-on-icon-prop/assets/{AppIcons-BukLgj-b.js => AppIcons-Dkuz_h0T.js} (96%) rename demo-1732-error-on-icon-prop/assets/{ArticlePage.docs-K_yPADMl.js => ArticlePage.docs-Bk3WPcyi.js} (72%) rename demo-1732-error-on-icon-prop/assets/{ArticlePage.stories-CauWnXlj.js => ArticlePage.stories-qicl4aC7.js} (98%) rename demo-1732-error-on-icon-prop/assets/{AspectRatio.docs-DzjeDcLp.js => AspectRatio.docs-b629npqm.js} (88%) rename demo-1732-error-on-icon-prop/assets/{AspectRatio.stories-CInlVd1C.js => AspectRatio.stories-DOkJwAA4.js} (98%) rename demo-1732-error-on-icon-prop/assets/{Avatar.docs-FbyTojmX.js => Avatar.docs-BjgSrL7s.js} (86%) rename demo-1732-error-on-icon-prop/assets/{Avatar.stories-DYjcetTq.js => Avatar.stories-BwVeOOOj.js} (98%) rename demo-1732-error-on-icon-prop/assets/{Badge.docs-CNej9rW-.js => Badge.docs-zNiOd06Y.js} (88%) rename demo-1732-error-on-icon-prop/assets/{Blockquote.docs-Bi7KejB3.js => Blockquote.docs-x49Q4KtP.js} (89%) rename demo-1732-error-on-icon-prop/assets/{Breadcrumb.docs-2V1SqTI3.js => Breadcrumb.docs-D2qvFwq5.js} (92%) rename demo-1732-error-on-icon-prop/assets/{Breakout.docs-BHw_zTv5.js => Breakout.docs-Dc9uu8Lr.js} (87%) rename demo-1732-error-on-icon-prop/assets/{Breakout.stories-0cn7bObM.js => Breakout.stories-CVVN28qX.js} (99%) rename demo-1732-error-on-icon-prop/assets/{Button.docs-OWErX9MR.js => Button.docs-B_sSWEze.js} (95%) delete mode 100644 demo-1732-error-on-icon-prop/assets/Button.stories-C1_-rX8V.js create mode 100644 demo-1732-error-on-icon-prop/assets/Button.stories-CWaiVgHl.js rename demo-1732-error-on-icon-prop/assets/{Card.docs-BWa7jSWq.js => Card.docs-Dr76CtDk.js} (91%) rename demo-1732-error-on-icon-prop/assets/{Card.stories-DrmnRFdC.js => Card.stories-B5JMsV2L.js} (98%) rename demo-1732-error-on-icon-prop/assets/{CharacterCount.docs-DP2WI3Ix.js => CharacterCount.docs-C0jrfDWp.js} (94%) rename demo-1732-error-on-icon-prop/assets/{Checkbox.docs-bxnPbtI1.js => Checkbox.docs-BNhum6tM.js} (92%) rename demo-1732-error-on-icon-prop/assets/{Checkbox.stories-3m2Ua-F0.js => Checkbox.stories-r7qFZA4W.js} (99%) rename demo-1732-error-on-icon-prop/assets/{Color-ERTF36HU-BRXJD2yn.js => Color-ERTF36HU-DlRx-JC4.js} (99%) rename demo-1732-error-on-icon-prop/assets/{Column.docs--sqaIunC.js => Column.docs-BmuhGkoU.js} (93%) rename demo-1732-error-on-icon-prop/assets/{Column.stories-yaawmOKX.js => Column.stories-B34YzMzb.js} (98%) rename demo-1732-error-on-icon-prop/assets/{DateInput.docs-BiIOXbIB.js => DateInput.docs-DKryj8ni.js} (94%) rename demo-1732-error-on-icon-prop/assets/{DateInput.stories-C65iPb1k.js => DateInput.stories-CUnTl4mJ.js} (98%) rename demo-1732-error-on-icon-prop/assets/{DescriptionList.docs-Ddhpattt.js => DescriptionList.docs-CxKViVrd.js} (89%) rename demo-1732-error-on-icon-prop/assets/{DescriptionList.stories-Rl_pHQO4.js => DescriptionList.stories-DW6odJtM.js} (98%) rename demo-1732-error-on-icon-prop/assets/{Dialog.docs-tihLosAM.js => Dialog.docs-xMX8CFx5.js} (94%) rename demo-1732-error-on-icon-prop/assets/{Dialog.stories-B0HLnsy0.js => Dialog.stories-CofY7krx.js} (99%) rename demo-1732-error-on-icon-prop/assets/{DocsRenderer-CFRXHY34-CmKY5jzY.js => DocsRenderer-CFRXHY34-BAJ9MkqQ.js} (91%) rename demo-1732-error-on-icon-prop/assets/{ErrorMessage.docs-e4RTcUg6.js => ErrorMessage.docs-CUOb9-Gx.js} (90%) rename demo-1732-error-on-icon-prop/assets/{Field.docs-Cf9bnh-b.js => Field.docs-DNxTS8Q-.js} (85%) rename demo-1732-error-on-icon-prop/assets/{Field.stories-CngytoUs.js => Field.stories-D5PzwsAQ.js} (98%) rename demo-1732-error-on-icon-prop/assets/{FieldSet.docs-CvH0qtUx.js => FieldSet.docs-DesXYL_9.js} (96%) rename demo-1732-error-on-icon-prop/assets/{FieldSet.stories-s4cehYqX.js => FieldSet.stories-Cgjslopn.js} (99%) rename demo-1732-error-on-icon-prop/assets/{FileInput.docs-U5xDOYW5.js => FileInput.docs-DC8XAIes.js} (90%) rename demo-1732-error-on-icon-prop/assets/{FileInput.stories-DMEWCxpl.js => FileInput.stories-CI4RhoxY.js} (97%) rename demo-1732-error-on-icon-prop/assets/{Footer.docs-D9coiwC9.js => Footer.docs-Bi5Zv8A9.js} (84%) rename demo-1732-error-on-icon-prop/assets/{Footer.stories-QT73Bk8g.js => Footer.stories-BaJ-LM4v.js} (98%) rename demo-1732-error-on-icon-prop/assets/{FormErrorList.docs-RprXxEVj.js => FormErrorList.docs-CK_MoYl2.js} (94%) rename demo-1732-error-on-icon-prop/assets/{FormErrorList.stories-CxylcEEz.js => FormErrorList.stories-DOywcyMJ.js} (63%) rename demo-1732-error-on-icon-prop/assets/{FormPage.docs-BHzAcVnw.js => FormPage.docs-DblYL3zo.js} (71%) rename demo-1732-error-on-icon-prop/assets/{FormPage.stories-_baPiYtR.js => FormPage.stories-DYZJkRLZ.js} (95%) rename demo-1732-error-on-icon-prop/assets/{Gap.docs-CnrhF5__.js => Gap.docs-BbRSFAKO.js} (89%) rename demo-1732-error-on-icon-prop/assets/{Gap.stories-DCwUsy_8.js => Gap.stories-DbaWBJ6L.js} (97%) rename demo-1732-error-on-icon-prop/assets/{Grid.docs-9KHiNtEa.js => Grid.docs-sg7GphPJ.js} (95%) rename demo-1732-error-on-icon-prop/assets/{Grid.stories-uDGi-Wrr.js => Grid.stories-QslNkPVq.js} (99%) rename demo-1732-error-on-icon-prop/assets/{Header.docs-yZew9t5k.js => Header.docs-iLlWCIZL.js} (92%) rename demo-1732-error-on-icon-prop/assets/{Header.stories-CihSLOoe.js => Header.stories-DjHTsaDH.js} (99%) rename demo-1732-error-on-icon-prop/assets/{Heading.docs-BUIFGWcX.js => Heading.docs-b76gGqZ9.js} (91%) rename demo-1732-error-on-icon-prop/assets/{Heading.stories-CT5b5414.js => Heading.stories-Bsvl1iHZ.js} (97%) rename demo-1732-error-on-icon-prop/assets/{HomePage.docs-BI9N5v-n.js => HomePage.docs-Dy99_uGe.js} (83%) rename demo-1732-error-on-icon-prop/assets/{HomePage.stories-yWENW2CH.js => HomePage.stories-D4MOtlr5.js} (97%) rename demo-1732-error-on-icon-prop/assets/{Icon.docs-SFLAJh2l.js => Icon.docs-CEUXekGe.js} (90%) rename demo-1732-error-on-icon-prop/assets/{Icon.stories-lSRiqm7M.js => Icon.stories-Bocx3K-q.js} (97%) rename demo-1732-error-on-icon-prop/assets/{IconButton.docs-CgtvuRYJ.js => IconButton.docs-B7bDxAhG.js} (96%) rename demo-1732-error-on-icon-prop/assets/{Image.docs-D0euHhac.js => Image.docs-jAwUvKaB.js} (94%) rename demo-1732-error-on-icon-prop/assets/{ImageSlider.docs-dd0B8Fgz.js => ImageSlider.docs-4rmctQ2u.js} (92%) rename demo-1732-error-on-icon-prop/assets/{Introduction.docs-B0IEAoZN.js => Introduction.docs-0nI511fz.js} (95%) rename demo-1732-error-on-icon-prop/assets/{Label.docs-B6WgEmA9.js => Label.docs-Bo1EovcU.js} (90%) rename demo-1732-error-on-icon-prop/assets/{Link.docs-By45n2JG.js => Link.docs-U8Nq2VIs.js} (94%) rename demo-1732-error-on-icon-prop/assets/{Link.stories-BjnH9PXx.js => Link.stories-BwJizPoH.js} (97%) rename demo-1732-error-on-icon-prop/assets/{LinkList.docs-unWE43Q5.js => LinkList.docs-b-It3fkV.js} (96%) rename demo-1732-error-on-icon-prop/assets/{Logo.docs-CwTUXios.js => Logo.docs-q62BOwlz.js} (95%) rename demo-1732-error-on-icon-prop/assets/{Margin.docs-Dg1QWN6c.js => Margin.docs-By3yZVwM.js} (90%) rename demo-1732-error-on-icon-prop/assets/{Margin.stories-COKow8dy.js => Margin.stories-l1HTDqSj.js} (97%) rename demo-1732-error-on-icon-prop/assets/{Mark.docs-B6zbgBZF.js => Mark.docs-CD8Oug7I.js} (79%) rename demo-1732-error-on-icon-prop/assets/{Mark.stories-C3Vh2HJi.js => Mark.stories-B03-MA4h.js} (96%) rename demo-1732-error-on-icon-prop/assets/{MegaMenu.docs-229TA4fZ.js => MegaMenu.docs-CTor5SNC.js} (79%) rename demo-1732-error-on-icon-prop/assets/{MegaMenu.stories-BNZs1XWG.js => MegaMenu.stories-BBZKv5tw.js} (99%) rename demo-1732-error-on-icon-prop/assets/{OrderedList.docs-CI4A4Iar.js => OrderedList.docs-CMUT74WQ.js} (92%) rename demo-1732-error-on-icon-prop/assets/{OrderedList.stories-COtxsV37.js => OrderedList.stories-BRqK5EJu.js} (99%) rename demo-1732-error-on-icon-prop/assets/{Overlap.docs-BGWDmR7Z.js => Overlap.docs-DbPxdxzh.js} (85%) rename demo-1732-error-on-icon-prop/assets/{Overlap.stories-C9ARTKZD.js => Overlap.stories-nXtF7fqH.js} (97%) rename demo-1732-error-on-icon-prop/assets/{PageHeading.docs-Do2nB4Tc.js => PageHeading.docs-B7lI4afC.js} (90%) rename demo-1732-error-on-icon-prop/assets/{PageMenu.docs-hQnfLq4c.js => PageMenu.docs-JiC1KsSu.js} (95%) rename demo-1732-error-on-icon-prop/assets/{Pagination.docs-Ckk48cxr.js => Pagination.docs-CGt9MMv4.js} (94%) rename demo-1732-error-on-icon-prop/assets/{Paragraph.docs-noGG3zoD.js => Paragraph.docs-CRzRzMkV.js} (96%) rename demo-1732-error-on-icon-prop/assets/{PasswordInput.docs-DtpIWni8.js => PasswordInput.docs-fINJc7x2.js} (92%) rename demo-1732-error-on-icon-prop/assets/{PasswordInput.stories-D4QGtx2D.js => PasswordInput.stories-BCUrEnY4.js} (97%) rename demo-1732-error-on-icon-prop/assets/{Radio.docs-BW7_s2vu.js => Radio.docs-JQKpQuaa.js} (93%) rename demo-1732-error-on-icon-prop/assets/{Radio.stories-Hra-_Kdo.js => Radio.stories--YSpWy9w.js} (99%) rename demo-1732-error-on-icon-prop/assets/{Row.docs-CQsoHRHK.js => Row.docs-Cjh3o428.js} (93%) rename demo-1732-error-on-icon-prop/assets/{Row.stories-GUfInl3H.js => Row.stories-nbOQZ4Kw.js} (98%) rename demo-1732-error-on-icon-prop/assets/{Screen.docs-Cta2c6_v.js => Screen.docs-CTgcpt9m.js} (89%) rename demo-1732-error-on-icon-prop/assets/{SearchField.docs-BQkGId4X.js => SearchField.docs-C8uE5JrQ.js} (96%) rename demo-1732-error-on-icon-prop/assets/{Select.docs-YmG5w08e.js => Select.docs-Cv3jdNJU.js} (91%) rename demo-1732-error-on-icon-prop/assets/{Select.stories-BMsd2eQW.js => Select.stories-D_V_qCOW.js} (99%) rename demo-1732-error-on-icon-prop/assets/{SkipLink.docs-CpjQMBRe.js => SkipLink.docs-1khqX6VQ.js} (89%) rename demo-1732-error-on-icon-prop/assets/{SkipLink.stories-HNDVm58n.js => SkipLink.stories-C1LM1mWF.js} (98%) rename demo-1732-error-on-icon-prop/assets/{Spotlight-i1uKJTzV.js => Spotlight-IssvtslZ.js} (93%) rename demo-1732-error-on-icon-prop/assets/{Spotlight.docs-C9GFYGUM.js => Spotlight.docs-Bl6SXKsc.js} (88%) rename demo-1732-error-on-icon-prop/assets/{Spotlight.stories-8SNKt_B0.js => Spotlight.stories-BVZoIORb.js} (96%) rename demo-1732-error-on-icon-prop/assets/{Switch.docs-DPNvTNkU.js => Switch.docs-6HQ7wQMG.js} (84%) rename demo-1732-error-on-icon-prop/assets/{Switch.stories-DnffM-h7.js => Switch.stories-DxdfmiLO.js} (97%) rename demo-1732-error-on-icon-prop/assets/{Table.docs-BQWVFjXO.js => Table.docs-Bt_MOQ46.js} (92%) rename demo-1732-error-on-icon-prop/assets/{TableOfContents.docs-ts_tT3ae.js => TableOfContents.docs-DJW_HUkZ.js} (89%) rename demo-1732-error-on-icon-prop/assets/{Tabs.docs-6nGHp8Po.js => Tabs.docs-DrlgVPat.js} (90%) rename demo-1732-error-on-icon-prop/assets/{Tabs.stories-ULt1rxZf.js => Tabs.stories-Bm7ZiycI.js} (98%) rename demo-1732-error-on-icon-prop/assets/{TextArea.docs-XkEfTcoo.js => TextArea.docs-DYsS5I6T.js} (92%) rename demo-1732-error-on-icon-prop/assets/{TextArea.stories-BHn0X52F.js => TextArea.stories-BxsPWbDX.js} (98%) rename demo-1732-error-on-icon-prop/assets/{TextInput.docs-CT0ktw3i.js => TextInput.docs-HAw66gNd.js} (97%) rename demo-1732-error-on-icon-prop/assets/{TextInput.stories-pTuWJnNM.js => TextInput.stories-zliFcPlz.js} (98%) rename demo-1732-error-on-icon-prop/assets/{TimeInput.docs-DncAXjHu.js => TimeInput.docs-CiEDzstu.js} (90%) rename demo-1732-error-on-icon-prop/assets/{TimeInput.stories-BCj8vOd3.js => TimeInput.stories-DFSNh9pE.js} (98%) rename demo-1732-error-on-icon-prop/assets/{TopTaskLink.docs-CMklwapx.js => TopTaskLink.docs-BcU2Nl0K.js} (90%) rename demo-1732-error-on-icon-prop/assets/{TopTaskLink.stories-C48nKhQq.js => TopTaskLink.stories-CideQWaE.js} (98%) rename demo-1732-error-on-icon-prop/assets/{UnorderedList.docs-lXzbBNDB.js => UnorderedList.docs-BDiM6yI1.js} (91%) rename demo-1732-error-on-icon-prop/assets/{UnorderedList.stories-GXQ38Iw_.js => UnorderedList.stories-DIV1RlLi.js} (99%) rename demo-1732-error-on-icon-prop/assets/{VisuallyHidden.docs-2gndWH_y.js => VisuallyHidden.docs-CJxGyNLE.js} (79%) rename demo-1732-error-on-icon-prop/assets/{VisuallyHidden.stories-i_ey4h_-.js => VisuallyHidden.stories-DTQpbB1y.js} (97%) rename demo-1732-error-on-icon-prop/assets/{border.docs-DbPworI9.js => border.docs-BYCJ8XLa.js} (95%) rename demo-1732-error-on-icon-prop/assets/{breakpoints.docs-DsjTi82Q.js => breakpoints.docs-Bm_f0ZDC.js} (92%) rename demo-1732-error-on-icon-prop/assets/{colour.docs-R4RJMelv.js => colour.docs-D7A7vOOI.js} (99%) rename demo-1732-error-on-icon-prop/assets/{config-Ph9_AafQ.js => config-DFibQQL4.js} (86%) rename demo-1732-error-on-icon-prop/assets/{copyright.docs-x1AlLmab.js => copyright.docs-MubVgTxp.js} (91%) rename demo-1732-error-on-icon-prop/assets/{entry-preview-C514jeYx.js => entry-preview-DUfLW8LW.js} (99%) rename demo-1732-error-on-icon-prop/assets/{favicon.docs-BGWAzRmK.js => favicon.docs-DdgF9GzL.js} (95%) rename demo-1732-error-on-icon-prop/assets/{font.docs-BGKfCF_w.js => font.docs-BjJPQH2I.js} (95%) rename demo-1732-error-on-icon-prop/assets/{getting-started.docs-CTjo5JZ0.js => getting-started.docs-DnrtWavK.js} (94%) rename demo-1732-error-on-icon-prop/assets/{grid.docs-DIMhlaql.js => grid.docs-RT0bb6vl.js} (99%) rename demo-1732-error-on-icon-prop/assets/{icons.docs-QX04DwA9.js => icons.docs-ZuxTHFTr.js} (91%) rename demo-1732-error-on-icon-prop/assets/{iframe-DcwaDa5u.js => iframe-Chn7UdQi.js} (58%) rename demo-1732-error-on-icon-prop/assets/{index-Bc_7gYwI.js => index-DNXVmPlZ.js} (99%) rename demo-1732-error-on-icon-prop/assets/{index-CqsCPf7m.js => index-jv-4ewYB.js} (96%) rename demo-1732-error-on-icon-prop/assets/{index.esm-CF7nKaqV.js => index.esm-edP8GOgy.js} (98%) rename demo-1732-error-on-icon-prop/assets/{interactivity.docs-qCRNAGic.js => interactivity.docs-Tw8SDHdS.js} (98%) rename demo-1732-error-on-icon-prop/assets/{introduction.docs-DL510of9.js => introduction.docs-DOQFknuG.js} (98%) rename demo-1732-error-on-icon-prop/assets/{language.docs-YMvjnQHr.js => language.docs-B43HDP9j.js} (96%) rename demo-1732-error-on-icon-prop/assets/{license.docs-CMsZZnkj.js => license.docs--S2zuD8K.js} (99%) rename demo-1732-error-on-icon-prop/assets/{preview-BxP2vRzZ.js => preview-26ZMvfdX.js} (72%) rename demo-1732-error-on-icon-prop/assets/{preview-Di_54Tgr.js => preview-DdQaPxE7.js} (93%) rename demo-1732-error-on-icon-prop/assets/{routing-libraries.docs-B6WzlVcJ.js => routing-libraries.docs-CZ624pF9.js} (95%) rename demo-1732-error-on-icon-prop/assets/{space.docs-Fx118cLi.js => space.docs-CL-LRX94.js} (99%) rename demo-1732-error-on-icon-prop/assets/{text.docs-CQKpddKK.js => text.docs-_mAqCO8s.js} (99%) rename demo-1732-error-on-icon-prop/assets/{usability.docs-BqWY_STg.js => usability.docs-rt8n3D4O.js} (93%) rename demo-1732-error-on-icon-prop/assets/{web-app.docs-cpsQUKc8.js => web-app.docs-3HvFVq7Z.js} (96%) diff --git a/demo-1732-error-on-icon-prop/f79b546ff3e4c53ccc383b0a62e7807739a41c6a.txt b/demo-1732-error-on-icon-prop/711b1be6ecc7951253898160328b25a03a7cfbbf.txt similarity index 100% rename from demo-1732-error-on-icon-prop/f79b546ff3e4c53ccc383b0a62e7807739a41c6a.txt rename to demo-1732-error-on-icon-prop/711b1be6ecc7951253898160328b25a03a7cfbbf.txt diff --git a/demo-1732-error-on-icon-prop/assets/Accordion.docs-B104na97.js b/demo-1732-error-on-icon-prop/assets/Accordion.docs-BjHjZlIw.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/Accordion.docs-B104na97.js rename to demo-1732-error-on-icon-prop/assets/Accordion.docs-BjHjZlIw.js index d894aa8ef4..446de6a01b 100644 --- a/demo-1732-error-on-icon-prop/assets/Accordion.docs-B104na97.js +++ b/demo-1732-error-on-icon-prop/assets/Accordion.docs-BjHjZlIw.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as a}from"./index-BI1Biiay.js";import{ae as i,ak as r,al as c,am as d,an as o}from"./index-Bc_7gYwI.js";import{A as h,E as l,R as m}from"./Accordion.stories-DcQFT9dY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./exampleContent-hIIPvEhU.js";import"./getHeadingTag-Dv1eMqvl.js";import"./Icon-msbkstIT.js";import"./useKeyboardFocus-CRUFsA_C.js";const p=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as a}from"./index-BI1Biiay.js";import{ae as i,ak as r,al as c,am as d,an as o}from"./index-DNXVmPlZ.js";import{A as h,E as l,R as m}from"./Accordion.stories-BgwcYwZ1.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./exampleContent-hIIPvEhU.js";import"./getHeadingTag-Dv1eMqvl.js";import"./Icon-msbkstIT.js";import"./useKeyboardFocus-CRUFsA_C.js";const p=` # Accordion diff --git a/demo-1732-error-on-icon-prop/assets/Accordion.stories-DcQFT9dY.js b/demo-1732-error-on-icon-prop/assets/Accordion.stories-BgwcYwZ1.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Accordion.stories-DcQFT9dY.js rename to demo-1732-error-on-icon-prop/assets/Accordion.stories-BgwcYwZ1.js index f5b6ede0cb..e2182ba618 100644 --- a/demo-1732-error-on-icon-prop/assets/Accordion.stories-DcQFT9dY.js +++ b/demo-1732-error-on-icon-prop/assets/Accordion.stories-BgwcYwZ1.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{P as n}from"./index.esm-CF7nKaqV.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-Cs7sjTYM.js";import{s as K}from"./index.esm-DQgjFsBh.js";import{g as M}from"./getHeadingTag-Dv1eMqvl.js";import{I as F}from"./Icon-msbkstIT.js";import{u as W}from"./useKeyboardFocus-CRUFsA_C.js";/** +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{P as n}from"./index.esm-edP8GOgy.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-Cs7sjTYM.js";import{s as K}from"./index.esm-DQgjFsBh.js";import{g as M}from"./getHeadingTag-Dv1eMqvl.js";import{I as F}from"./Icon-msbkstIT.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-BTiGbt4z.js b/demo-1732-error-on-icon-prop/assets/ActionGroup.docs-BlV2t3tb.js similarity index 86% rename from demo-1732-error-on-icon-prop/assets/ActionGroup.docs-BTiGbt4z.js rename to demo-1732-error-on-icon-prop/assets/ActionGroup.docs-BlV2t3tb.js index c1aaa8c5cf..04e3982d4d 100644 --- a/demo-1732-error-on-icon-prop/assets/ActionGroup.docs-BTiGbt4z.js +++ b/demo-1732-error-on-icon-prop/assets/ActionGroup.docs-BlV2t3tb.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as a,ak as s,al as h,an as e}from"./index-Bc_7gYwI.js";import{A as c,S as l,W as d}from"./ActionGroup.stories-CihD3viu.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const p=` +import{j as t}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as a,ak as s,al as h,an as e}from"./index-DNXVmPlZ.js";import{A as c,S as l,W as d}from"./ActionGroup.stories-D07uoho6.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const p=` # Action Group diff --git a/demo-1732-error-on-icon-prop/assets/ActionGroup.stories-CihD3viu.js b/demo-1732-error-on-icon-prop/assets/ActionGroup.stories-D07uoho6.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/ActionGroup.stories-CihD3viu.js rename to demo-1732-error-on-icon-prop/assets/ActionGroup.stories-D07uoho6.js index d660021445..065fe66472 100644 --- a/demo-1732-error-on-icon-prop/assets/ActionGroup.stories-CihD3viu.js +++ b/demo-1732-error-on-icon-prop/assets/ActionGroup.stories-D07uoho6.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{a as t,L as _}from"./index.esm-CF7nKaqV.js";import{c as x}from"./clsx-B-dksMZM.js";import{r as S}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{a as t,L as _}from"./index.esm-edP8GOgy.js";import{c as x}from"./clsx-B-dksMZM.js";import{r as S}from"./index-Cs7sjTYM.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-BrSggXhC.js b/demo-1732-error-on-icon-prop/assets/Alert.docs-BElckWCD.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/Alert.docs-BrSggXhC.js rename to demo-1732-error-on-icon-prop/assets/Alert.docs-BElckWCD.js index dd2dcdb7d4..d9bf9978c5 100644 --- a/demo-1732-error-on-icon-prop/assets/Alert.docs-BrSggXhC.js +++ b/demo-1732-error-on-icon-prop/assets/Alert.docs-BElckWCD.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as o,ak as a,al as c,am as h,an as i}from"./index-Bc_7gYwI.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-cUkLoWg9.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Alert-Dk0YLnro.js";import"./Icon-msbkstIT.js";import"./Heading-DUu-96hO.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-BWS7j-EY.js";const j=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as o,ak as a,al as c,am as h,an as i}from"./index-DNXVmPlZ.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-C7WMmUmu.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Alert-Dk0YLnro.js";import"./Icon-msbkstIT.js";import"./Heading-DUu-96hO.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-BWS7j-EY.js";const j=` # Alert diff --git a/demo-1732-error-on-icon-prop/assets/Alert.stories-cUkLoWg9.js b/demo-1732-error-on-icon-prop/assets/Alert.stories-C7WMmUmu.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Alert.stories-cUkLoWg9.js rename to demo-1732-error-on-icon-prop/assets/Alert.stories-C7WMmUmu.js index 66c37161f9..656baa5827 100644 --- a/demo-1732-error-on-icon-prop/assets/Alert.stories-cUkLoWg9.js +++ b/demo-1732-error-on-icon-prop/assets/Alert.stories-C7WMmUmu.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{P as n,U as g,L as A}from"./index.esm-CF7nKaqV.js";import{A as E}from"./Alert-Dk0YLnro.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-BlAj40OV.js";import{P as n,U as g,L as A}from"./index.esm-edP8GOgy.js";import{A as E}from"./Alert-Dk0YLnro.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-BukLgj-b.js b/demo-1732-error-on-icon-prop/assets/AppIcons-Dkuz_h0T.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/AppIcons-BukLgj-b.js rename to demo-1732-error-on-icon-prop/assets/AppIcons-Dkuz_h0T.js index c8243c2d66..6723d6b107 100644 --- a/demo-1732-error-on-icon-prop/assets/AppIcons-BukLgj-b.js +++ b/demo-1732-error-on-icon-prop/assets/AppIcons-Dkuz_h0T.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime-BlAj40OV.js";import{I as i}from"./index.esm-CF7nKaqV.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-BlAj40OV.js";import{I as i}from"./index.esm-edP8GOgy.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-K_yPADMl.js b/demo-1732-error-on-icon-prop/assets/ArticlePage.docs-Bk3WPcyi.js similarity index 72% rename from demo-1732-error-on-icon-prop/assets/ArticlePage.docs-K_yPADMl.js rename to demo-1732-error-on-icon-prop/assets/ArticlePage.docs-Bk3WPcyi.js index 6b12f23923..3a82a96f5f 100644 --- a/demo-1732-error-on-icon-prop/assets/ArticlePage.docs-K_yPADMl.js +++ b/demo-1732-error-on-icon-prop/assets/ArticlePage.docs-Bk3WPcyi.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as m}from"./index-BI1Biiay.js";import{ae as e}from"./index-Bc_7gYwI.js";import{A as n}from"./ArticlePage.stories-CauWnXlj.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Image.stories-DCIdV88O.js";import"./Image-CVzrCme5.js";import"./config-Ph9_AafQ.js";import"./PageMenu.stories-DFa96G62.js";import"./Icon-msbkstIT.js";import"./Footer.stories-QT73Bk8g.js";import"./Spotlight-i1uKJTzV.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-BlAj40OV.js";import{useMDXComponents as m}from"./index-BI1Biiay.js";import{ae as e}from"./index-DNXVmPlZ.js";import{A as n}from"./ArticlePage.stories-qicl4aC7.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Image.stories-DCIdV88O.js";import"./Image-CVzrCme5.js";import"./config-DFibQQL4.js";import"./PageMenu.stories-DFa96G62.js";import"./Icon-msbkstIT.js";import"./Footer.stories-BaJ-LM4v.js";import"./Spotlight-IssvtslZ.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-CauWnXlj.js b/demo-1732-error-on-icon-prop/assets/ArticlePage.stories-qicl4aC7.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/ArticlePage.stories-CauWnXlj.js rename to demo-1732-error-on-icon-prop/assets/ArticlePage.stories-qicl4aC7.js index dbdc08ddb4..45fdd89d91 100644 --- a/demo-1732-error-on-icon-prop/assets/ArticlePage.stories-CauWnXlj.js +++ b/demo-1732-error-on-icon-prop/assets/ArticlePage.stories-qicl4aC7.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.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-CF7nKaqV.js";import{L}from"./Image.stories-DCIdV88O.js";import{c as A}from"./config-Ph9_AafQ.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-BlAj40OV.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-edP8GOgy.js";import{L}from"./Image.stories-DCIdV88O.js";import{c as A}from"./config-DFibQQL4.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-DzjeDcLp.js b/demo-1732-error-on-icon-prop/assets/AspectRatio.docs-b629npqm.js similarity index 88% rename from demo-1732-error-on-icon-prop/assets/AspectRatio.docs-DzjeDcLp.js rename to demo-1732-error-on-icon-prop/assets/AspectRatio.docs-b629npqm.js index ce65464f1e..d128de313f 100644 --- a/demo-1732-error-on-icon-prop/assets/AspectRatio.docs-DzjeDcLp.js +++ b/demo-1732-error-on-icon-prop/assets/AspectRatio.docs-b629npqm.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as o,ak as r,al as l,am as d,an as a}from"./index-Bc_7gYwI.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-CInlVd1C.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const u=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as o,ak as r,al as l,am as d,an as a}from"./index-DNXVmPlZ.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-DOkJwAA4.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const u=` # Aspect Ratio diff --git a/demo-1732-error-on-icon-prop/assets/AspectRatio.stories-CInlVd1C.js b/demo-1732-error-on-icon-prop/assets/AspectRatio.stories-DOkJwAA4.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/AspectRatio.stories-CInlVd1C.js rename to demo-1732-error-on-icon-prop/assets/AspectRatio.stories-DOkJwAA4.js index c0db1c8e50..db72b25f36 100644 --- a/demo-1732-error-on-icon-prop/assets/AspectRatio.stories-CInlVd1C.js +++ b/demo-1732-error-on-icon-prop/assets/AspectRatio.stories-DOkJwAA4.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-BlAj40OV.js";import{I as z}from"./index.esm-CF7nKaqV.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as M}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{I as z}from"./index.esm-edP8GOgy.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as M}from"./index-Cs7sjTYM.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-FbyTojmX.js b/demo-1732-error-on-icon-prop/assets/Avatar.docs-BjgSrL7s.js similarity index 86% rename from demo-1732-error-on-icon-prop/assets/Avatar.docs-FbyTojmX.js rename to demo-1732-error-on-icon-prop/assets/Avatar.docs-BjgSrL7s.js index 3303ed47b2..6cac9bcade 100644 --- a/demo-1732-error-on-icon-prop/assets/Avatar.docs-FbyTojmX.js +++ b/demo-1732-error-on-icon-prop/assets/Avatar.docs-BjgSrL7s.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as i,ak as s,al as c,am as p,an as r}from"./index-Bc_7gYwI.js";import{A as l,W as m,F as d,I as h}from"./Avatar.stories-DYjcetTq.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Image-CVzrCme5.js";import"./Icon-msbkstIT.js";const x=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as i,ak as s,al as c,am as p,an as r}from"./index-DNXVmPlZ.js";import{A as l,W as m,F as d,I as h}from"./Avatar.stories-BwVeOOOj.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Image-CVzrCme5.js";import"./Icon-msbkstIT.js";const x=` # Avatar diff --git a/demo-1732-error-on-icon-prop/assets/Avatar.stories-DYjcetTq.js b/demo-1732-error-on-icon-prop/assets/Avatar.stories-BwVeOOOj.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Avatar.stories-DYjcetTq.js rename to demo-1732-error-on-icon-prop/assets/Avatar.stories-BwVeOOOj.js index 61da0dc52d..10f8bda88c 100644 --- a/demo-1732-error-on-icon-prop/assets/Avatar.stories-DYjcetTq.js +++ b/demo-1732-error-on-icon-prop/assets/Avatar.stories-BwVeOOOj.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{b as P,c}from"./index.esm-CF7nKaqV.js";import{i as L,j as M}from"./index.esm-DQgjFsBh.js";import{c as w}from"./clsx-B-dksMZM.js";import{r as C}from"./index-Cs7sjTYM.js";import{I as D}from"./Image-CVzrCme5.js";import{I as E}from"./Icon-msbkstIT.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-BlAj40OV.js";import{b as P,c}from"./index.esm-edP8GOgy.js";import{i as L,j as M}from"./index.esm-DQgjFsBh.js";import{c as w}from"./clsx-B-dksMZM.js";import{r as C}from"./index-Cs7sjTYM.js";import{I as D}from"./Image-CVzrCme5.js";import{I as E}from"./Icon-msbkstIT.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-CNej9rW-.js b/demo-1732-error-on-icon-prop/assets/Badge.docs-zNiOd06Y.js similarity index 88% rename from demo-1732-error-on-icon-prop/assets/Badge.docs-CNej9rW-.js rename to demo-1732-error-on-icon-prop/assets/Badge.docs-zNiOd06Y.js index 997d7bc9b5..485be19835 100644 --- a/demo-1732-error-on-icon-prop/assets/Badge.docs-CNej9rW-.js +++ b/demo-1732-error-on-icon-prop/assets/Badge.docs-zNiOd06Y.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as e}from"./index-BI1Biiay.js";import{ae as i,ak as s,al as a,am as m}from"./index-Bc_7gYwI.js";import{B as c}from"./Badge.stories-BbRu3hXO.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./Badge-DiZ9fuyS.js";import"./clsx-B-dksMZM.js";const p=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as e}from"./index-BI1Biiay.js";import{ae as i,ak as s,al as a,am as m}from"./index-DNXVmPlZ.js";import{B as c}from"./Badge.stories-BbRu3hXO.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./Badge-DiZ9fuyS.js";import"./clsx-B-dksMZM.js";const p=` # Badge diff --git a/demo-1732-error-on-icon-prop/assets/Blockquote.docs-Bi7KejB3.js b/demo-1732-error-on-icon-prop/assets/Blockquote.docs-x49Q4KtP.js similarity index 89% rename from demo-1732-error-on-icon-prop/assets/Blockquote.docs-Bi7KejB3.js rename to demo-1732-error-on-icon-prop/assets/Blockquote.docs-x49Q4KtP.js index 75a75489bd..fc07fc2fc9 100644 --- a/demo-1732-error-on-icon-prop/assets/Blockquote.docs-Bi7KejB3.js +++ b/demo-1732-error-on-icon-prop/assets/Blockquote.docs-x49Q4KtP.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as s,ak as a,al as i,am as m,an as c}from"./index-Bc_7gYwI.js";import{B as h,I as l}from"./Blockquote.stories-0ySVjV59.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./decorators-CweBkPI6.js";import"./exampleContent-hIIPvEhU.js";import"./clsx-B-dksMZM.js";const u=` +import{j as t}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as s,ak as a,al as i,am as m,an as c}from"./index-DNXVmPlZ.js";import{B as h,I as l}from"./Blockquote.stories-0ySVjV59.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./decorators-CweBkPI6.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-2V1SqTI3.js b/demo-1732-error-on-icon-prop/assets/Breadcrumb.docs-D2qvFwq5.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/Breadcrumb.docs-2V1SqTI3.js rename to demo-1732-error-on-icon-prop/assets/Breadcrumb.docs-D2qvFwq5.js index 222ea80839..a549f57c57 100644 --- a/demo-1732-error-on-icon-prop/assets/Breadcrumb.docs-2V1SqTI3.js +++ b/demo-1732-error-on-icon-prop/assets/Breadcrumb.docs-D2qvFwq5.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as s,ak as a,al as o}from"./index-Bc_7gYwI.js";import{B as c}from"./Breadcrumb.stories-Cujp0Yrk.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const u=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as s,ak as a,al as o}from"./index-DNXVmPlZ.js";import{B as c}from"./Breadcrumb.stories-Cujp0Yrk.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BHw_zTv5.js b/demo-1732-error-on-icon-prop/assets/Breakout.docs-Dc9uu8Lr.js similarity index 87% rename from demo-1732-error-on-icon-prop/assets/Breakout.docs-BHw_zTv5.js rename to demo-1732-error-on-icon-prop/assets/Breakout.docs-Dc9uu8Lr.js index 7ed3cdf312..ee0537b69a 100644 --- a/demo-1732-error-on-icon-prop/assets/Breakout.docs-BHw_zTv5.js +++ b/demo-1732-error-on-icon-prop/assets/Breakout.docs-Dc9uu8Lr.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as r,ak as i,al as a,am as l,an as h}from"./index-Bc_7gYwI.js";import{B as c,V as d}from"./Breakout.stories-0cn7bObM.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./paddingClasses-C5gheHLv.js";const p=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as r,ak as i,al as a,am as l,an as h}from"./index-DNXVmPlZ.js";import{B as c,V as d}from"./Breakout.stories-CVVN28qX.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./paddingClasses-C5gheHLv.js";const p=` # Breakout diff --git a/demo-1732-error-on-icon-prop/assets/Breakout.stories-0cn7bObM.js b/demo-1732-error-on-icon-prop/assets/Breakout.stories-CVVN28qX.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Breakout.stories-0cn7bObM.js rename to demo-1732-error-on-icon-prop/assets/Breakout.stories-CVVN28qX.js index bc8c1e03ff..ee32e03a71 100644 --- a/demo-1732-error-on-icon-prop/assets/Breakout.stories-0cn7bObM.js +++ b/demo-1732-error-on-icon-prop/assets/Breakout.stories-CVVN28qX.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{S as V,u as k,P as p,h as C,I as b}from"./index.esm-CF7nKaqV.js";import{c as _}from"./clsx-B-dksMZM.js";import{r as B}from"./index-Cs7sjTYM.js";import{a as u,p as T}from"./paddingClasses-C5gheHLv.js";/** +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{S as V,u as k,P as p,h as C,I as b}from"./index.esm-edP8GOgy.js";import{c as _}from"./clsx-B-dksMZM.js";import{r as B}from"./index-Cs7sjTYM.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-OWErX9MR.js b/demo-1732-error-on-icon-prop/assets/Button.docs-B_sSWEze.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/Button.docs-OWErX9MR.js rename to demo-1732-error-on-icon-prop/assets/Button.docs-B_sSWEze.js index 609cc1a1ec..0649fd563a 100644 --- a/demo-1732-error-on-icon-prop/assets/Button.docs-OWErX9MR.js +++ b/demo-1732-error-on-icon-prop/assets/Button.docs-B_sSWEze.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as s,ak as a,al as c,am as h,an as t}from"./index-Bc_7gYwI.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-C1_-rX8V.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-DQgjFsBh.js";import"./clsx-B-dksMZM.js";import"./Icon-msbkstIT.js";const x=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as s,ak as a,al as c,am as h,an as t}from"./index-DNXVmPlZ.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-CWaiVgHl.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-DQgjFsBh.js";import"./clsx-B-dksMZM.js";import"./Icon-msbkstIT.js";const x=` # Button diff --git a/demo-1732-error-on-icon-prop/assets/Button.stories-C1_-rX8V.js b/demo-1732-error-on-icon-prop/assets/Button.stories-C1_-rX8V.js deleted file mode 100644 index bcf54b5645..0000000000 --- a/demo-1732-error-on-icon-prop/assets/Button.stories-C1_-rX8V.js +++ /dev/null @@ -1,38 +0,0 @@ -import{j as r}from"./jsx-runtime-BlAj40OV.js";import{I as y,c as m}from"./index.esm-DQgjFsBh.js";import{c as $}from"./clsx-B-dksMZM.js";import{r as D}from"./index-Cs7sjTYM.js";import{I as g}from"./Icon-msbkstIT.js";const u=D.forwardRef(({children:n,className:R,disabled:E,icon:e,iconBefore:p,iconOnly:d,type:k,variant:F="primary",...M},U)=>r.jsxs("button",{...M,className:$("ams-button",`ams-button--${F}`,e&&d&&!p&&"ams-button--icon-only",R),disabled:E,ref:U,type:k||"button",children:[e&&(p||d)&&r.jsx(g,{svg:e,size:"level-5",square:d}),e&&d?r.jsx("span",{className:"ams-visually-hidden",children:n}):n,e&&!p&&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"}}}},a={},o={args:{children:"Annuleren",variant:"secondary"}},t={args:{children:"Terug",variant:"tertiary"}},s={args:{children:"Sluiten",icon:m}},i={args:{children:"Sluiten",icon:m,iconBefore:!0}},c={args:{children:"Sluiten",icon:m,iconOnly:!0,variant:"tertiary"}},l={args:{children:"Vergunningsaanvraag verzenden"},decorators:[n=>r.jsx("div",{style:{maxWidth:"16rem"},children:r.jsx(n,{})})]};var h,f,v;a.parameters={...a.parameters,docs:{...(h=a.parameters)==null?void 0:h.docs,source:{originalSource:"{}",...(v=(f=a.parameters)==null?void 0:f.docs)==null?void 0:v.source}}};var b,S,I;o.parameters={...o.parameters,docs:{...(b=o.parameters)==null?void 0:b.docs,source:{originalSource:`{ - args: { - children: 'Annuleren', - variant: 'secondary' - } -}`,...(I=(S=o.parameters)==null?void 0:S.docs)==null?void 0:I.source}}};var x,B,_;t.parameters={...t.parameters,docs:{...(x=t.parameters)==null?void 0:x.docs,source:{originalSource:`{ - args: { - children: 'Terug', - variant: 'tertiary' - } -}`,...(_=(B=t.parameters)==null?void 0:B.docs)==null?void 0:_.source}}};var j,W,O;s.parameters={...s.parameters,docs:{...(j=s.parameters)==null?void 0:j.docs,source:{originalSource:`{ - args: { - children: 'Sluiten', - icon: Icons.CloseIcon - } -}`,...(O=(W=s.parameters)==null?void 0:W.docs)==null?void 0:O.source}}};var T,q,w;i.parameters={...i.parameters,docs:{...(T=i.parameters)==null?void 0:T.docs,source:{originalSource:`{ - args: { - children: 'Sluiten', - icon: Icons.CloseIcon, - iconBefore: true - } -}`,...(w=(q=i.parameters)==null?void 0:q.docs)==null?void 0:w.source}}};var C,V,z;c.parameters={...c.parameters,docs:{...(C=c.parameters)==null?void 0:C.docs,source:{originalSource:`{ - args: { - children: 'Sluiten', - icon: Icons.CloseIcon, - iconOnly: true, - variant: 'tertiary' - } -}`,...(z=(V=c.parameters)==null?void 0:V.docs)==null?void 0:z.source}}};var N,P,A;l.parameters={...l.parameters,docs:{...(N=l.parameters)==null?void 0:N.docs,source:{originalSource:`{ - args: { - children: 'Vergunningsaanvraag verzenden' - }, - decorators: [Story =>
- -
] -}`,...(A=(P=l.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:a,Secondary:o,Tertiary:t,TextWrapping:l,WithIcon:s,WithIconBefore:i,WithIconOnly:c,__namedExportsOrder:H,default:G},Symbol.toStringTag,{value:"Module"}));export{Y as B,a as P,o as S,t as T,s as W,i as a,c as b,l as c}; diff --git a/demo-1732-error-on-icon-prop/assets/Button.stories-CWaiVgHl.js b/demo-1732-error-on-icon-prop/assets/Button.stories-CWaiVgHl.js new file mode 100644 index 0000000000..3353f4d806 --- /dev/null +++ b/demo-1732-error-on-icon-prop/assets/Button.stories-CWaiVgHl.js @@ -0,0 +1,38 @@ +import{j as r}from"./jsx-runtime-BlAj40OV.js";import{I as y,c as m}from"./index.esm-DQgjFsBh.js";import{c as $}from"./clsx-B-dksMZM.js";import{r as D}from"./index-Cs7sjTYM.js";import{I as g}from"./Icon-msbkstIT.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-BWa7jSWq.js b/demo-1732-error-on-icon-prop/assets/Card.docs-Dr76CtDk.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/Card.docs-BWa7jSWq.js rename to demo-1732-error-on-icon-prop/assets/Card.docs-Dr76CtDk.js index b5f336d789..81d5bc407c 100644 --- a/demo-1732-error-on-icon-prop/assets/Card.docs-BWa7jSWq.js +++ b/demo-1732-error-on-icon-prop/assets/Card.docs-Dr76CtDk.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as r,ak as s,al as d,an as a}from"./index-Bc_7gYwI.js";import{C as c,W as h,a as l}from"./Card.stories-DrmnRFdC.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./exampleContent-hIIPvEhU.js";import"./Paragraph-BWS5kDPY.js";const p=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as r,ak as s,al as d,an as a}from"./index-DNXVmPlZ.js";import{C as c,W as h,a as l}from"./Card.stories-B5JMsV2L.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./exampleContent-hIIPvEhU.js";import"./Paragraph-BWS5kDPY.js";const p=` # Card diff --git a/demo-1732-error-on-icon-prop/assets/Card.stories-DrmnRFdC.js b/demo-1732-error-on-icon-prop/assets/Card.stories-B5JMsV2L.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Card.stories-DrmnRFdC.js rename to demo-1732-error-on-icon-prop/assets/Card.stories-B5JMsV2L.js index c1d5d48648..bc45b2ff33 100644 --- a/demo-1732-error-on-icon-prop/assets/Card.stories-DrmnRFdC.js +++ b/demo-1732-error-on-icon-prop/assets/Card.stories-B5JMsV2L.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{H as l,P as c,h as G,I as v}from"./index.esm-CF7nKaqV.js";import{h as z}from"./exampleContent-hIIPvEhU.js";import{c as p}from"./clsx-B-dksMZM.js";import{r as g}from"./index-Cs7sjTYM.js";import{P}from"./Paragraph-BWS5kDPY.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-BlAj40OV.js";import{H as l,P as c,h as G,I as v}from"./index.esm-edP8GOgy.js";import{h as z}from"./exampleContent-hIIPvEhU.js";import{c as p}from"./clsx-B-dksMZM.js";import{r as g}from"./index-Cs7sjTYM.js";import{P}from"./Paragraph-BWS5kDPY.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-DP2WI3Ix.js b/demo-1732-error-on-icon-prop/assets/CharacterCount.docs-C0jrfDWp.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/CharacterCount.docs-DP2WI3Ix.js rename to demo-1732-error-on-icon-prop/assets/CharacterCount.docs-C0jrfDWp.js index 5388ea0467..b75942f6da 100644 --- a/demo-1732-error-on-icon-prop/assets/CharacterCount.docs-DP2WI3Ix.js +++ b/demo-1732-error-on-icon-prop/assets/CharacterCount.docs-C0jrfDWp.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as a}from"./index-BI1Biiay.js";import{ae as o,ak as s,al as h,am as i,an as c}from"./index-Bc_7gYwI.js";import{C as m,E as l}from"./CharacterCount.stories-NoG2wwGU.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const u=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as a}from"./index-BI1Biiay.js";import{ae as o,ak as s,al as h,am as i,an as c}from"./index-DNXVmPlZ.js";import{C as m,E as l}from"./CharacterCount.stories-NoG2wwGU.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-bxnPbtI1.js b/demo-1732-error-on-icon-prop/assets/Checkbox.docs-BNhum6tM.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/Checkbox.docs-bxnPbtI1.js rename to demo-1732-error-on-icon-prop/assets/Checkbox.docs-BNhum6tM.js index 47a2be8d38..d14621b0ab 100644 --- a/demo-1732-error-on-icon-prop/assets/Checkbox.docs-bxnPbtI1.js +++ b/demo-1732-error-on-icon-prop/assets/Checkbox.docs-BNhum6tM.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as a,ak as r,al as l,am as c,an as i}from"./index-Bc_7gYwI.js";import{C as d,L as h,I as f,a as m}from"./Checkbox.stories-3m2Ua-F0.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const p=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as a,ak as r,al as l,am as c,an as i}from"./index-DNXVmPlZ.js";import{C as d,L as h,I as f,a as m}from"./Checkbox.stories-r7qFZA4W.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const p=` # Checkbox diff --git a/demo-1732-error-on-icon-prop/assets/Checkbox.stories-3m2Ua-F0.js b/demo-1732-error-on-icon-prop/assets/Checkbox.stories-r7qFZA4W.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Checkbox.stories-3m2Ua-F0.js rename to demo-1732-error-on-icon-prop/assets/Checkbox.stories-r7qFZA4W.js index 1fc0eb68c9..866ef5ab2e 100644 --- a/demo-1732-error-on-icon-prop/assets/Checkbox.stories-3m2Ua-F0.js +++ b/demo-1732-error-on-icon-prop/assets/Checkbox.stories-r7qFZA4W.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{F as I,P as E,E as S,C as N}from"./index.esm-CF7nKaqV.js";import{c as F}from"./clsx-B-dksMZM.js";import{r as i}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{F as I,P as E,E as S,C as N}from"./index.esm-edP8GOgy.js";import{c as F}from"./clsx-B-dksMZM.js";import{r as i}from"./index-Cs7sjTYM.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-ERTF36HU-BRXJD2yn.js b/demo-1732-error-on-icon-prop/assets/Color-ERTF36HU-DlRx-JC4.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Color-ERTF36HU-BRXJD2yn.js rename to demo-1732-error-on-icon-prop/assets/Color-ERTF36HU-DlRx-JC4.js index 9fc942aa16..b0d7f5d96d 100644 --- a/demo-1732-error-on-icon-prop/assets/Color-ERTF36HU-BRXJD2yn.js +++ b/demo-1732-error-on-icon-prop/assets/Color-ERTF36HU-DlRx-JC4.js @@ -1 +1 @@ -import{aq as Me,ar as ie,as as Ce,at as $,a2 as ue,a0 as $e,H as Oe,au as Ie,av as Ne}from"./index-Bc_7gYwI.js";import{R as h,r as m}from"./index-Cs7sjTYM.js";import{g as fe}from"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./jsx-runtime-BlAj40OV.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";var Se={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Se,he={};for(const e of Object.keys(F))he[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var de=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,c;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const i=(o+a)/2;return a===o?c=0:i<=.5?c=s/(a+o):c=s/(2-a-o),[l,c*100,i*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,c=e[2]/255,i=Math.max(s,l,c),d=i-Math.min(s,l,c),f=function(g){return(i-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/i,t=f(s),n=f(l),r=f(c),s===i?o=r-n:l===i?o=1/3+t-r:c===i&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,i*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Re(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=he[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Re(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,c=[0,0,0];for(let i=0;i<3;i++)a=t+1/3*-(i-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,c[i]=s*255;return c};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,c,s];case 1:return[l,r,s];case 2:return[s,r,c];case 3:return[s,l,r];case 4:return[c,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const c=n+a*(l-n);let i,d,f;switch(s){default:case 6:case 0:i=l,d=c,f=n;break;case 1:i=c,d=l,f=n;break;case 2:i=n,d=l,f=c;break;case 3:i=n,d=c,f=l;break;case 4:i=c,d=n,f=l;break;case 5:i=l,d=n,f=c;break}return[i*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,c=o**3,i=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=i>.008856?i:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,c;return s<1?l=a/(1-s):l=0,s<=0?c=0:o===t?c=(n-r)/s%6:o===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let c=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return c=(1-n)*r,[(n*o[0]+c)*255,(n*o[1]+c)*255,(n*o[2]+c)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const X=de;function je(){const e={},t=Object.keys(X);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function Be(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{N[e]={},Object.defineProperty(N[e],"channels",{value:K[e].channels}),Object.defineProperty(N[e],"labels",{value:K[e].labels});const t=Pe(e);Object.keys(t).forEach(r=>{const o=t[r];N[e][r]=Be(o),N[e][r].raw=qe(o)})});var Xe=N;const _=fe(Xe);var De=Me,We=function(){return De.Date.now()},Ke=We,Ve=/\s/;function Ae(e){for(var t=e.length;t--&&Ve.test(e.charAt(t)););return t}var Ge=Ae,Ue=Ge,Ye=/^\s+/;function Je(e){return e&&e.slice(0,Ue(e)+1).replace(Ye,"")}var Qe=Je,Ze=Qe,te=ie,et=Ce,ne=NaN,tt=/^[-+]0x[0-9a-f]+$/i,nt=/^0b[01]+$/i,rt=/^0o[0-7]+$/i,ot=parseInt;function at(e){if(typeof e=="number")return e;if(et(e))return ne;if(te(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=te(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ze(e);var n=nt.test(e);return n||rt.test(e)?ot(e.slice(2),n?2:8):tt.test(e)?ne:+e}var st=at,lt=ie,W=Ke,re=st,ct="Expected a function",it=Math.max,ut=Math.min;function ft(e,t,n){var r,o,a,s,l,c,i=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError(ct);t=re(t)||0,lt(n)&&(d=!!n.leading,f="maxWait"in n,a=f?it(re(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,H=o;return r=o=void 0,i=v,s=e.apply(H,C),s}function j(v){return i=v,l=setTimeout(b,t),d?x(v):s}function M(v){var C=v-c,H=v-i,ee=t-C;return f?ut(ee,a-H):ee}function p(v){var C=v-c,H=v-i;return c===void 0||C>=t||C<0||f&&H>=a}function b(){var v=W();if(p(v))return w(v);l=setTimeout(b,M(v))}function w(v){return l=void 0,g&&r?x(v):(r=o=void 0,s)}function E(){l!==void 0&&clearTimeout(l),i=0,r=c=o=l=void 0}function k(){return l===void 0?s:w(W())}function O(){var v=W(),C=p(v);if(r=arguments,o=this,c=v,C){if(l===void 0)return j(c);if(f)return clearTimeout(l),l=setTimeout(b,t),x(c)}return l===void 0&&(l=setTimeout(b,t)),s}return O.cancel=E,O.flush=k,O}var ht=ft;const dt=fe(ht);function I(){return(I=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function V(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(oe(o.current,p,l.current)):M(!1)},j=function(){return M(!1)};function M(p){var b=c.current,w=A(o.current),E=p?w.addEventListener:w.removeEventListener;E(b?"touchmove":"mousemove",x),E(b?"touchend":"mouseup",j)}return[function(p){var b=p.nativeEvent,w=o.current;if(w&&(ae(b),!function(k,O){return O&&!z(k)}(b,c.current)&&w)){if(z(b)){c.current=!0;var E=b.changedTouches||[];E.length&&(l.current=E[0].identifier)}w.focus(),a(oe(w,b,l.current)),M(!0)}},function(p){var b=p.which||p.keyCode;b<37||b>40||(p.preventDefault(),s({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},M]},[s,a]),d=i[0],f=i[1],g=i[2];return m.useEffect(function(){return g},[g]),h.createElement("div",I({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),T=function(e){return e.filter(Boolean).join(" ")},Z=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=T(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},gt={grad:.9,turn:360,rad:360/(2*Math.PI)},mt=function(e){return be(G(e))},G=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},bt=function(e,t){return t===void 0&&(t="deg"),Number(e)*(gt[t]||1)},vt=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?pt({h:bt(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},pt=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},yt=function(e){return wt(me(e))},ge=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},U=function(e){var t=ge(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B=function(e){var t=ge(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},me=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),c=r*(1-(1-t+a)*n),i=a%6;return{r:y(255*[r,l,s,s,c,r][i]),g:y(255*[c,r,r,l,s,s][i]),b:y(255*[s,s,c,r,r,l][i]),a:y(o,2)}},xt=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?be({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},P=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},wt=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?P(y(255*o)):"";return"#"+P(t)+P(n)+P(r)+a},be=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},ve=h.memo(function(e){var t=e.hue,n=e.onChange,r=T(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Q,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Z,{className:"react-colorful__hue-pointer",left:t/360,color:U({h:t,s:100,v:100,a:1})})))}),pe=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:U({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Q,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(Z,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:U(t)})))}),ye=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},xe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},kt=function(e,t){return e.toLowerCase()===t.toLowerCase()||ye(G(e),G(t))};function we(e,t,n){var r=V(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,l.current.color)){var i=e.toHsva(t);l.current={hsva:i,color:t},s(i)}},[t,e]),m.useEffect(function(){var i;ye(a,l.current.hsva)||e.equal(i=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:i},r(i))},[a,e,r]);var c=m.useCallback(function(i){s(function(d){return Object.assign({},d,i)})},[]);return[a,c]}var _t=typeof window<"u"?m.useLayoutEffect:m.useEffect,Et=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},se=new Map,ke=function(e){_t(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!se.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,se.set(t,n);var r=Et();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},Mt=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);ke(l);var c=we(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(pe,{hsva:i,onChange:d}),h.createElement(ve,{hue:i.h,onChange:d,className:"react-colorful__last-control"}))},Ct={defaultColor:"000",toHsva:mt,fromHsva:function(e){return yt({h:e.h,s:e.s,v:e.v,a:1})},equal:kt},$t=function(e){return h.createElement(Mt,I({},e,{colorModel:Ct}))},Ot=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=T(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Q,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:R(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Z,{className:"react-colorful__alpha-pointer",left:n.a,color:B(n)})))},_e=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);ke(l);var c=we(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(pe,{hsva:i,onChange:d}),h.createElement(ve,{hue:i.h,onChange:d}),h.createElement(Ot,{hsva:i,onChange:d,className:"react-colorful__last-control"}))},It={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:vt,fromHsva:B,equal:xe},Nt=function(e){return h.createElement(_e,I({},e,{colorModel:It}))},St={defaultColor:"rgba(0, 0, 0, 1)",toHsva:xt,fromHsva:function(e){var t=me(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:xe},Rt=function(e){return h.createElement(_e,I({},e,{colorModel:St}))},jt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Ht=$(ue)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),zt=$.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"}}),Ft=$($e)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Tt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Pt=$.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Lt=`url('data:image/svg+xml;charset=utf-8,')`,le=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Lt}, linear-gradient(#fff, #fff)`;return h.createElement(Pt,{...n,style:{...t,backgroundImage:r}})},qt=$(Oe.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Bt=$(Ie)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),L=Object.values(Ee),Xt=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Dt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Wt=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Kt=/^\s*#?([0-9a-f]{3})\s*$/i,Vt={hex:$t,rgb:Rt,hsl:Nt},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(Xt);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Dt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.rgb.hsl([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([s,l,c]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${i})`,hex:`#${_.rgb.hex([s,l,c]).toLowerCase()}`}}if(Wt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.hsl.rgb([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([s,l,c]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${i})`,hsl:e,hex:`#${_.hsl.hex([s,l,c]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},At=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Kt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Gt=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>S(n)),[s,l]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let c=m.useMemo(()=>At(n,o,s).toLowerCase(),[n,o,s]),i=m.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=L.indexOf(s)+1;f>=L.length&&(f=0),l(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:c,updateValue:i,color:o,colorSpace:s,cycleColorSpace:d}},D=e=>e.replace(/\s*/,"").toLowerCase(),Ut=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(l=>typeof l=="string"?S(l):l.title?{...S(l.color),keyword:l.title}:S(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=m.useCallback(l=>{l!=null&&l.valid&&(a.some(c=>D(c[n])===D(l[n]))||o(c=>c.concat(l)))},[n,a]);return{presets:a,addPreset:s}},Yt=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1,argType:l})=>{var E;let c=m.useCallback(dt(n,200),[n]),{value:i,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Gt(t,c),{presets:M,addPreset:p}=Ut(a,g,x),b=Vt[x],w=!!((E=l==null?void 0:l.table)!=null&&E.readonly);return h.createElement(jt,{"aria-readonly":w},h.createElement(Ht,{startOpen:s,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(zt,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Tt,null,M.map((k,O)=>h.createElement(ue,{key:`${k.value}-${O}`,hasChrome:!1,tooltip:h.createElement(Ft,{note:k.keyword||k.value})},h.createElement(le,{value:k[x],active:g&&D(k[x])===D(g[x]),onClick:()=>f(k.value)})))))},h.createElement(le,{value:d,style:{margin:4}})),h.createElement(qt,{id:Ne(e),value:i,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),i?h.createElement(Bt,{onClick:j}):null)},ln=Yt;export{Yt as ColorControl,ln as default}; +import{aq as Me,ar as ie,as as Ce,at as $,a2 as ue,a0 as $e,H as Oe,au as Ie,av as Ne}from"./index-DNXVmPlZ.js";import{R as h,r as m}from"./index-Cs7sjTYM.js";import{g as fe}from"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./jsx-runtime-BlAj40OV.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";var Se={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Se,he={};for(const e of Object.keys(F))he[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var de=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,c;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const i=(o+a)/2;return a===o?c=0:i<=.5?c=s/(a+o):c=s/(2-a-o),[l,c*100,i*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,c=e[2]/255,i=Math.max(s,l,c),d=i-Math.min(s,l,c),f=function(g){return(i-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/i,t=f(s),n=f(l),r=f(c),s===i?o=r-n:l===i?o=1/3+t-r:c===i&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,i*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Re(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=he[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Re(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,c=[0,0,0];for(let i=0;i<3;i++)a=t+1/3*-(i-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,c[i]=s*255;return c};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,c,s];case 1:return[l,r,s];case 2:return[s,r,c];case 3:return[s,l,r];case 4:return[c,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const c=n+a*(l-n);let i,d,f;switch(s){default:case 6:case 0:i=l,d=c,f=n;break;case 1:i=c,d=l,f=n;break;case 2:i=n,d=l,f=c;break;case 3:i=n,d=c,f=l;break;case 4:i=c,d=n,f=l;break;case 5:i=l,d=n,f=c;break}return[i*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,c=o**3,i=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=i>.008856?i:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,c;return s<1?l=a/(1-s):l=0,s<=0?c=0:o===t?c=(n-r)/s%6:o===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let c=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return c=(1-n)*r,[(n*o[0]+c)*255,(n*o[1]+c)*255,(n*o[2]+c)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const X=de;function je(){const e={},t=Object.keys(X);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function Be(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{N[e]={},Object.defineProperty(N[e],"channels",{value:K[e].channels}),Object.defineProperty(N[e],"labels",{value:K[e].labels});const t=Pe(e);Object.keys(t).forEach(r=>{const o=t[r];N[e][r]=Be(o),N[e][r].raw=qe(o)})});var Xe=N;const _=fe(Xe);var De=Me,We=function(){return De.Date.now()},Ke=We,Ve=/\s/;function Ae(e){for(var t=e.length;t--&&Ve.test(e.charAt(t)););return t}var Ge=Ae,Ue=Ge,Ye=/^\s+/;function Je(e){return e&&e.slice(0,Ue(e)+1).replace(Ye,"")}var Qe=Je,Ze=Qe,te=ie,et=Ce,ne=NaN,tt=/^[-+]0x[0-9a-f]+$/i,nt=/^0b[01]+$/i,rt=/^0o[0-7]+$/i,ot=parseInt;function at(e){if(typeof e=="number")return e;if(et(e))return ne;if(te(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=te(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ze(e);var n=nt.test(e);return n||rt.test(e)?ot(e.slice(2),n?2:8):tt.test(e)?ne:+e}var st=at,lt=ie,W=Ke,re=st,ct="Expected a function",it=Math.max,ut=Math.min;function ft(e,t,n){var r,o,a,s,l,c,i=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError(ct);t=re(t)||0,lt(n)&&(d=!!n.leading,f="maxWait"in n,a=f?it(re(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,H=o;return r=o=void 0,i=v,s=e.apply(H,C),s}function j(v){return i=v,l=setTimeout(b,t),d?x(v):s}function M(v){var C=v-c,H=v-i,ee=t-C;return f?ut(ee,a-H):ee}function p(v){var C=v-c,H=v-i;return c===void 0||C>=t||C<0||f&&H>=a}function b(){var v=W();if(p(v))return w(v);l=setTimeout(b,M(v))}function w(v){return l=void 0,g&&r?x(v):(r=o=void 0,s)}function E(){l!==void 0&&clearTimeout(l),i=0,r=c=o=l=void 0}function k(){return l===void 0?s:w(W())}function O(){var v=W(),C=p(v);if(r=arguments,o=this,c=v,C){if(l===void 0)return j(c);if(f)return clearTimeout(l),l=setTimeout(b,t),x(c)}return l===void 0&&(l=setTimeout(b,t)),s}return O.cancel=E,O.flush=k,O}var ht=ft;const dt=fe(ht);function I(){return(I=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function V(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(oe(o.current,p,l.current)):M(!1)},j=function(){return M(!1)};function M(p){var b=c.current,w=A(o.current),E=p?w.addEventListener:w.removeEventListener;E(b?"touchmove":"mousemove",x),E(b?"touchend":"mouseup",j)}return[function(p){var b=p.nativeEvent,w=o.current;if(w&&(ae(b),!function(k,O){return O&&!z(k)}(b,c.current)&&w)){if(z(b)){c.current=!0;var E=b.changedTouches||[];E.length&&(l.current=E[0].identifier)}w.focus(),a(oe(w,b,l.current)),M(!0)}},function(p){var b=p.which||p.keyCode;b<37||b>40||(p.preventDefault(),s({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},M]},[s,a]),d=i[0],f=i[1],g=i[2];return m.useEffect(function(){return g},[g]),h.createElement("div",I({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),T=function(e){return e.filter(Boolean).join(" ")},Z=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=T(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},gt={grad:.9,turn:360,rad:360/(2*Math.PI)},mt=function(e){return be(G(e))},G=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},bt=function(e,t){return t===void 0&&(t="deg"),Number(e)*(gt[t]||1)},vt=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?pt({h:bt(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},pt=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},yt=function(e){return wt(me(e))},ge=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},U=function(e){var t=ge(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B=function(e){var t=ge(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},me=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),c=r*(1-(1-t+a)*n),i=a%6;return{r:y(255*[r,l,s,s,c,r][i]),g:y(255*[c,r,r,l,s,s][i]),b:y(255*[s,s,c,r,r,l][i]),a:y(o,2)}},xt=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?be({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},P=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},wt=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?P(y(255*o)):"";return"#"+P(t)+P(n)+P(r)+a},be=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},ve=h.memo(function(e){var t=e.hue,n=e.onChange,r=T(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Q,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Z,{className:"react-colorful__hue-pointer",left:t/360,color:U({h:t,s:100,v:100,a:1})})))}),pe=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:U({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Q,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(Z,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:U(t)})))}),ye=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},xe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},kt=function(e,t){return e.toLowerCase()===t.toLowerCase()||ye(G(e),G(t))};function we(e,t,n){var r=V(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,l.current.color)){var i=e.toHsva(t);l.current={hsva:i,color:t},s(i)}},[t,e]),m.useEffect(function(){var i;ye(a,l.current.hsva)||e.equal(i=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:i},r(i))},[a,e,r]);var c=m.useCallback(function(i){s(function(d){return Object.assign({},d,i)})},[]);return[a,c]}var _t=typeof window<"u"?m.useLayoutEffect:m.useEffect,Et=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},se=new Map,ke=function(e){_t(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!se.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,se.set(t,n);var r=Et();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},Mt=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);ke(l);var c=we(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(pe,{hsva:i,onChange:d}),h.createElement(ve,{hue:i.h,onChange:d,className:"react-colorful__last-control"}))},Ct={defaultColor:"000",toHsva:mt,fromHsva:function(e){return yt({h:e.h,s:e.s,v:e.v,a:1})},equal:kt},$t=function(e){return h.createElement(Mt,I({},e,{colorModel:Ct}))},Ot=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=T(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Q,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:R(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Z,{className:"react-colorful__alpha-pointer",left:n.a,color:B(n)})))},_e=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);ke(l);var c=we(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(pe,{hsva:i,onChange:d}),h.createElement(ve,{hue:i.h,onChange:d}),h.createElement(Ot,{hsva:i,onChange:d,className:"react-colorful__last-control"}))},It={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:vt,fromHsva:B,equal:xe},Nt=function(e){return h.createElement(_e,I({},e,{colorModel:It}))},St={defaultColor:"rgba(0, 0, 0, 1)",toHsva:xt,fromHsva:function(e){var t=me(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:xe},Rt=function(e){return h.createElement(_e,I({},e,{colorModel:St}))},jt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Ht=$(ue)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),zt=$.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"}}),Ft=$($e)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Tt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Pt=$.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Lt=`url('data:image/svg+xml;charset=utf-8,')`,le=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Lt}, linear-gradient(#fff, #fff)`;return h.createElement(Pt,{...n,style:{...t,backgroundImage:r}})},qt=$(Oe.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Bt=$(Ie)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),L=Object.values(Ee),Xt=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Dt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Wt=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Kt=/^\s*#?([0-9a-f]{3})\s*$/i,Vt={hex:$t,rgb:Rt,hsl:Nt},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(Xt);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Dt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.rgb.hsl([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([s,l,c]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${i})`,hex:`#${_.rgb.hex([s,l,c]).toLowerCase()}`}}if(Wt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.hsl.rgb([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([s,l,c]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${i})`,hsl:e,hex:`#${_.hsl.hex([s,l,c]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},At=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Kt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Gt=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>S(n)),[s,l]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let c=m.useMemo(()=>At(n,o,s).toLowerCase(),[n,o,s]),i=m.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=L.indexOf(s)+1;f>=L.length&&(f=0),l(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:c,updateValue:i,color:o,colorSpace:s,cycleColorSpace:d}},D=e=>e.replace(/\s*/,"").toLowerCase(),Ut=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(l=>typeof l=="string"?S(l):l.title?{...S(l.color),keyword:l.title}:S(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=m.useCallback(l=>{l!=null&&l.valid&&(a.some(c=>D(c[n])===D(l[n]))||o(c=>c.concat(l)))},[n,a]);return{presets:a,addPreset:s}},Yt=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1,argType:l})=>{var E;let c=m.useCallback(dt(n,200),[n]),{value:i,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Gt(t,c),{presets:M,addPreset:p}=Ut(a,g,x),b=Vt[x],w=!!((E=l==null?void 0:l.table)!=null&&E.readonly);return h.createElement(jt,{"aria-readonly":w},h.createElement(Ht,{startOpen:s,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(zt,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Tt,null,M.map((k,O)=>h.createElement(ue,{key:`${k.value}-${O}`,hasChrome:!1,tooltip:h.createElement(Ft,{note:k.keyword||k.value})},h.createElement(le,{value:k[x],active:g&&D(k[x])===D(g[x]),onClick:()=>f(k.value)})))))},h.createElement(le,{value:d,style:{margin:4}})),h.createElement(qt,{id:Ne(e),value:i,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),i?h.createElement(Bt,{onClick:j}):null)},ln=Yt;export{Yt as ColorControl,ln as default}; diff --git a/demo-1732-error-on-icon-prop/assets/Column.docs--sqaIunC.js b/demo-1732-error-on-icon-prop/assets/Column.docs-BmuhGkoU.js similarity index 93% rename from demo-1732-error-on-icon-prop/assets/Column.docs--sqaIunC.js rename to demo-1732-error-on-icon-prop/assets/Column.docs-BmuhGkoU.js index 1d8bb96e02..46b21472dd 100644 --- a/demo-1732-error-on-icon-prop/assets/Column.docs--sqaIunC.js +++ b/demo-1732-error-on-icon-prop/assets/Column.docs-BmuhGkoU.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as o,ak as l,al as a,am as h,an as i}from"./index-Bc_7gYwI.js";import{C as c,A as d,H as m,I as p}from"./Column.stories-yaawmOKX.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./layout-B5YJ6HHW.js";const x=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as o,ak as l,al as a,am as h,an as i}from"./index-DNXVmPlZ.js";import{C as c,A as d,H as m,I as p}from"./Column.stories-B34YzMzb.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./layout-B5YJ6HHW.js";const x=` # Column diff --git a/demo-1732-error-on-icon-prop/assets/Column.stories-yaawmOKX.js b/demo-1732-error-on-icon-prop/assets/Column.stories-B34YzMzb.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Column.stories-yaawmOKX.js rename to demo-1732-error-on-icon-prop/assets/Column.stories-B34YzMzb.js index 99b5816b6d..17525bee87 100644 --- a/demo-1732-error-on-icon-prop/assets/Column.stories-yaawmOKX.js +++ b/demo-1732-error-on-icon-prop/assets/Column.stories-B34YzMzb.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{H as i,d as s,P as d}from"./index.esm-CF7nKaqV.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-Cs7sjTYM.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-BlAj40OV.js";import{H as i,d as s,P as d}from"./index.esm-edP8GOgy.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-Cs7sjTYM.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-BiIOXbIB.js b/demo-1732-error-on-icon-prop/assets/DateInput.docs-DKryj8ni.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/DateInput.docs-BiIOXbIB.js rename to demo-1732-error-on-icon-prop/assets/DateInput.docs-DKryj8ni.js index 2ac748b990..76e028bae5 100644 --- a/demo-1732-error-on-icon-prop/assets/DateInput.docs-BiIOXbIB.js +++ b/demo-1732-error-on-icon-prop/assets/DateInput.docs-DKryj8ni.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as a,ak as r,al as d,am as l,an as s}from"./index-Bc_7gYwI.js";import{D as c,a as h,I as m,b as p,c as f,d as u}from"./DateInput.stories-C65iPb1k.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const x=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as a,ak as r,al as d,am as l,an as s}from"./index-DNXVmPlZ.js";import{D as c,a as h,I as m,b as p,c as f,d as u}from"./DateInput.stories-CUnTl4mJ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const x=` # Date Input diff --git a/demo-1732-error-on-icon-prop/assets/DateInput.stories-C65iPb1k.js b/demo-1732-error-on-icon-prop/assets/DateInput.stories-CUnTl4mJ.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/DateInput.stories-C65iPb1k.js rename to demo-1732-error-on-icon-prop/assets/DateInput.stories-CUnTl4mJ.js index 0a7c005142..ef7a49a59c 100644 --- a/demo-1732-error-on-icon-prop/assets/DateInput.stories-C65iPb1k.js +++ b/demo-1732-error-on-icon-prop/assets/DateInput.stories-CUnTl4mJ.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-BlAj40OV.js";import{e as L,f as S,P,E as O}from"./index.esm-CF7nKaqV.js";import{c as N}from"./clsx-B-dksMZM.js";import{r as V}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{e as L,f as S,P,E as O}from"./index.esm-edP8GOgy.js";import{c as N}from"./clsx-B-dksMZM.js";import{r as V}from"./index-Cs7sjTYM.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-Ddhpattt.js b/demo-1732-error-on-icon-prop/assets/DescriptionList.docs-CxKViVrd.js similarity index 89% rename from demo-1732-error-on-icon-prop/assets/DescriptionList.docs-Ddhpattt.js rename to demo-1732-error-on-icon-prop/assets/DescriptionList.docs-CxKViVrd.js index a1797fbea5..fcc7b7b2d7 100644 --- a/demo-1732-error-on-icon-prop/assets/DescriptionList.docs-Ddhpattt.js +++ b/demo-1732-error-on-icon-prop/assets/DescriptionList.docs-CxKViVrd.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as c,am as l,an as i}from"./index-Bc_7gYwI.js";import{D as p,M as d,R as h,I as m}from"./DescriptionList.stories-Rl_pHQO4.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";const u=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as c,am as l,an as i}from"./index-DNXVmPlZ.js";import{D as p,M as d,R as h,I as m}from"./DescriptionList.stories-DW6odJtM.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";const u=` # Description List diff --git a/demo-1732-error-on-icon-prop/assets/DescriptionList.stories-Rl_pHQO4.js b/demo-1732-error-on-icon-prop/assets/DescriptionList.stories-DW6odJtM.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/DescriptionList.stories-Rl_pHQO4.js rename to demo-1732-error-on-icon-prop/assets/DescriptionList.stories-DW6odJtM.js index 3933deaefc..3686015f41 100644 --- a/demo-1732-error-on-icon-prop/assets/DescriptionList.stories-Rl_pHQO4.js +++ b/demo-1732-error-on-icon-prop/assets/DescriptionList.stories-DW6odJtM.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{P as I,U as l,L as N}from"./index.esm-CF7nKaqV.js";import{i as P}from"./decorators-CweBkPI6.js";import{c as p}from"./clsx-B-dksMZM.js";import{r as m}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{P as I,U as l,L as N}from"./index.esm-edP8GOgy.js";import{i as P}from"./decorators-CweBkPI6.js";import{c as p}from"./clsx-B-dksMZM.js";import{r as m}from"./index-Cs7sjTYM.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-tihLosAM.js b/demo-1732-error-on-icon-prop/assets/Dialog.docs-xMX8CFx5.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/Dialog.docs-tihLosAM.js rename to demo-1732-error-on-icon-prop/assets/Dialog.docs-xMX8CFx5.js index 6726fd04b7..40b6fca6c9 100644 --- a/demo-1732-error-on-icon-prop/assets/Dialog.docs-tihLosAM.js +++ b/demo-1732-error-on-icon-prop/assets/Dialog.docs-xMX8CFx5.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as l,ak as r,al as a,am as c,an as t}from"./index-Bc_7gYwI.js";import{D as h,O as d,A as m,W as p}from"./Dialog.stories-B0HLnsy0.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Heading-DUu-96hO.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-BWS7j-EY.js";import"./Icon-msbkstIT.js";const u=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as l,ak as r,al as a,am as c,an as t}from"./index-DNXVmPlZ.js";import{D as h,O as d,A as m,W as p}from"./Dialog.stories-CofY7krx.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Heading-DUu-96hO.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-BWS7j-EY.js";import"./Icon-msbkstIT.js";const u=` # Dialog diff --git a/demo-1732-error-on-icon-prop/assets/Dialog.stories-B0HLnsy0.js b/demo-1732-error-on-icon-prop/assets/Dialog.stories-CofY7krx.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Dialog.stories-B0HLnsy0.js rename to demo-1732-error-on-icon-prop/assets/Dialog.stories-CofY7krx.js index 0d4c95d252..605381f7e8 100644 --- a/demo-1732-error-on-icon-prop/assets/Dialog.stories-B0HLnsy0.js +++ b/demo-1732-error-on-icon-prop/assets/Dialog.stories-CofY7krx.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{P as r,A as g,a as l,C as G,H as m}from"./index.esm-CF7nKaqV.js";import{c as H}from"./clsx-B-dksMZM.js";import{r as O}from"./index-Cs7sjTYM.js";import{H as V}from"./Heading-DUu-96hO.js";import{I as T}from"./IconButton-BWS7j-EY.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-BlAj40OV.js";import{P as r,A as g,a as l,C as G,H as m}from"./index.esm-edP8GOgy.js";import{c as H}from"./clsx-B-dksMZM.js";import{r as O}from"./index-Cs7sjTYM.js";import{H as V}from"./Heading-DUu-96hO.js";import{I as T}from"./IconButton-BWS7j-EY.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-CmKY5jzY.js b/demo-1732-error-on-icon-prop/assets/DocsRenderer-CFRXHY34-BAJ9MkqQ.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/DocsRenderer-CFRXHY34-CmKY5jzY.js rename to demo-1732-error-on-icon-prop/assets/DocsRenderer-CFRXHY34-BAJ9MkqQ.js index 9331ac6ca4..ea7dc69336 100644 --- a/demo-1732-error-on-icon-prop/assets/DocsRenderer-CFRXHY34-CmKY5jzY.js +++ b/demo-1732-error-on-icon-prop/assets/DocsRenderer-CFRXHY34-BAJ9MkqQ.js @@ -1,2 +1,2 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BI1Biiay.js","./index-Cs7sjTYM.js","./_commonjsHelpers-BosuxZz1.js"])))=>i.map(i=>d[i]); -import{_ as p}from"./iframe-DcwaDa5u.js";import{R as e,r as c}from"./index-Cs7sjTYM.js";import{ag as l,ah as u,ai as h,aj as E}from"./index-Bc_7gYwI.js";import{renderElement as d,unmountElement as x}from"./react-18-B3HRjLEH.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-BosuxZz1.js";import"./jsx-runtime-BlAj40OV.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BI1Biiay.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-Chn7UdQi.js";import{R as e,r as c}from"./index-Cs7sjTYM.js";import{ag as l,ah as u,ai as h,aj as E}from"./index-DNXVmPlZ.js";import{renderElement as d,unmountElement as x}from"./react-18-B3HRjLEH.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-BosuxZz1.js";import"./jsx-runtime-BlAj40OV.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BI1Biiay.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-e4RTcUg6.js b/demo-1732-error-on-icon-prop/assets/ErrorMessage.docs-CUOb9-Gx.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/ErrorMessage.docs-e4RTcUg6.js rename to demo-1732-error-on-icon-prop/assets/ErrorMessage.docs-CUOb9-Gx.js index aa397aab83..0db18b33a0 100644 --- a/demo-1732-error-on-icon-prop/assets/ErrorMessage.docs-e4RTcUg6.js +++ b/demo-1732-error-on-icon-prop/assets/ErrorMessage.docs-CUOb9-Gx.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as t,ak as a,al as i,am as m,an as d}from"./index-Bc_7gYwI.js";import{E as c,C as h}from"./ErrorMessage.stories-BpxWMdDO.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";const p=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as t,ak as a,al as i,am as m,an as d}from"./index-DNXVmPlZ.js";import{E as c,C as h}from"./ErrorMessage.stories-BpxWMdDO.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-Cf9bnh-b.js b/demo-1732-error-on-icon-prop/assets/Field.docs-DNxTS8Q-.js similarity index 85% rename from demo-1732-error-on-icon-prop/assets/Field.docs-Cf9bnh-b.js rename to demo-1732-error-on-icon-prop/assets/Field.docs-DNxTS8Q-.js index 773d02b212..ded5fc7145 100644 --- a/demo-1732-error-on-icon-prop/assets/Field.docs-Cf9bnh-b.js +++ b/demo-1732-error-on-icon-prop/assets/Field.docs-DNxTS8Q-.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as s,ak as a,al as d,am as c,an as i}from"./index-Bc_7gYwI.js";import{F as h,W as p,a as l}from"./Field.stories-CngytoUs.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const m=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as s,ak as a,al as d,am as c,an as i}from"./index-DNXVmPlZ.js";import{F as h,W as p,a as l}from"./Field.stories-D5PzwsAQ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const m=` # Field diff --git a/demo-1732-error-on-icon-prop/assets/Field.stories-CngytoUs.js b/demo-1732-error-on-icon-prop/assets/Field.stories-D5PzwsAQ.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Field.stories-CngytoUs.js rename to demo-1732-error-on-icon-prop/assets/Field.stories-D5PzwsAQ.js index a5566d8293..1ac270a9c8 100644 --- a/demo-1732-error-on-icon-prop/assets/Field.stories-CngytoUs.js +++ b/demo-1732-error-on-icon-prop/assets/Field.stories-D5PzwsAQ.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{f as d,T as t,P as f,E as y}from"./index.esm-CF7nKaqV.js";import{c as W}from"./clsx-B-dksMZM.js";import{r as _}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{f as d,T as t,P as f,E as y}from"./index.esm-edP8GOgy.js";import{c as W}from"./clsx-B-dksMZM.js";import{r as _}from"./index-Cs7sjTYM.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-CvH0qtUx.js b/demo-1732-error-on-icon-prop/assets/FieldSet.docs-DesXYL_9.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/FieldSet.docs-CvH0qtUx.js rename to demo-1732-error-on-icon-prop/assets/FieldSet.docs-DesXYL_9.js index 331fa67631..a329b01159 100644 --- a/demo-1732-error-on-icon-prop/assets/FieldSet.docs-CvH0qtUx.js +++ b/demo-1732-error-on-icon-prop/assets/FieldSet.docs-DesXYL_9.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as s,ak as a,al as d,am as l,an as n}from"./index-Bc_7gYwI.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 m}from"./FieldSet.stories-s4cehYqX.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Hint-D4Fy8YuO.js";const f=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as s,ak as a,al as d,am as l,an as n}from"./index-DNXVmPlZ.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 m}from"./FieldSet.stories-Cgjslopn.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Hint-D4Fy8YuO.js";const f=` # Field Set diff --git a/demo-1732-error-on-icon-prop/assets/FieldSet.stories-s4cehYqX.js b/demo-1732-error-on-icon-prop/assets/FieldSet.stories-Cgjslopn.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/FieldSet.stories-s4cehYqX.js rename to demo-1732-error-on-icon-prop/assets/FieldSet.stories-Cgjslopn.js index 914ec415a7..18bed01f6b 100644 --- a/demo-1732-error-on-icon-prop/assets/FieldSet.stories-s4cehYqX.js +++ b/demo-1732-error-on-icon-prop/assets/FieldSet.stories-Cgjslopn.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.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-CF7nKaqV.js";import{c as Q}from"./clsx-B-dksMZM.js";import{r as X}from"./index-Cs7sjTYM.js";import{H as Y}from"./Hint-D4Fy8YuO.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-BlAj40OV.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-edP8GOgy.js";import{c as Q}from"./clsx-B-dksMZM.js";import{r as X}from"./index-Cs7sjTYM.js";import{H as Y}from"./Hint-D4Fy8YuO.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-U5xDOYW5.js b/demo-1732-error-on-icon-prop/assets/FileInput.docs-DC8XAIes.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/FileInput.docs-U5xDOYW5.js rename to demo-1732-error-on-icon-prop/assets/FileInput.docs-DC8XAIes.js index 1f00b6c44d..a260d2b945 100644 --- a/demo-1732-error-on-icon-prop/assets/FileInput.docs-U5xDOYW5.js +++ b/demo-1732-error-on-icon-prop/assets/FileInput.docs-DC8XAIes.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as l,ak as r,al as a,am as d,an as s}from"./index-Bc_7gYwI.js";import{F as c,M as p,R as h,D as m,I as f}from"./FileInput.stories-DMEWCxpl.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const x=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as l,ak as r,al as a,am as d,an as s}from"./index-DNXVmPlZ.js";import{F as c,M as p,R as h,D as m,I as f}from"./FileInput.stories-CI4RhoxY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const x=` # File Input diff --git a/demo-1732-error-on-icon-prop/assets/FileInput.stories-DMEWCxpl.js b/demo-1732-error-on-icon-prop/assets/FileInput.stories-CI4RhoxY.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/FileInput.stories-DMEWCxpl.js rename to demo-1732-error-on-icon-prop/assets/FileInput.stories-CI4RhoxY.js index 60ff05b9cd..9db8617be5 100644 --- a/demo-1732-error-on-icon-prop/assets/FileInput.stories-DMEWCxpl.js +++ b/demo-1732-error-on-icon-prop/assets/FileInput.stories-CI4RhoxY.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{e as D,f as L,P as O}from"./index.esm-CF7nKaqV.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as R}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{e as D,f as L,P as O}from"./index.esm-edP8GOgy.js";import{c as P}from"./clsx-B-dksMZM.js";import{r as R}from"./index-Cs7sjTYM.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-D9coiwC9.js b/demo-1732-error-on-icon-prop/assets/Footer.docs-Bi5Zv8A9.js similarity index 84% rename from demo-1732-error-on-icon-prop/assets/Footer.docs-D9coiwC9.js rename to demo-1732-error-on-icon-prop/assets/Footer.docs-Bi5Zv8A9.js index b1f194562d..c0e145371a 100644 --- a/demo-1732-error-on-icon-prop/assets/Footer.docs-D9coiwC9.js +++ b/demo-1732-error-on-icon-prop/assets/Footer.docs-Bi5Zv8A9.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as s,ak as r,al as a,an as c}from"./index-Bc_7gYwI.js";import{F as m,O as p}from"./Footer.stories-QT73Bk8g.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./PageMenu.stories-DFa96G62.js";import"./Icon-msbkstIT.js";import"./Spotlight-i1uKJTzV.js";const l=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as s,ak as r,al as a,an as c}from"./index-DNXVmPlZ.js";import{F as m,O as p}from"./Footer.stories-BaJ-LM4v.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./PageMenu.stories-DFa96G62.js";import"./Icon-msbkstIT.js";import"./Spotlight-IssvtslZ.js";const l=` # Footer diff --git a/demo-1732-error-on-icon-prop/assets/Footer.stories-QT73Bk8g.js b/demo-1732-error-on-icon-prop/assets/Footer.stories-BaJ-LM4v.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Footer.stories-QT73Bk8g.js rename to demo-1732-error-on-icon-prop/assets/Footer.stories-BaJ-LM4v.js index 3121cfcc16..5d487132d5 100644 --- a/demo-1732-error-on-icon-prop/assets/Footer.stories-QT73Bk8g.js +++ b/demo-1732-error-on-icon-prop/assets/Footer.stories-BaJ-LM4v.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{H as r,G as i,q as n,P as c,c as j}from"./index.esm-CF7nKaqV.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-DQgjFsBh.js";import{D as N}from"./PageMenu.stories-DFa96G62.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as v}from"./index-Cs7sjTYM.js";import{S as V}from"./Spotlight-i1uKJTzV.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-BlAj40OV.js";import{H as r,G as i,q as n,P as c,c as j}from"./index.esm-edP8GOgy.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-DQgjFsBh.js";import{D as N}from"./PageMenu.stories-DFa96G62.js";import{c as L}from"./clsx-B-dksMZM.js";import{r as v}from"./index-Cs7sjTYM.js";import{S as V}from"./Spotlight-IssvtslZ.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-RprXxEVj.js b/demo-1732-error-on-icon-prop/assets/FormErrorList.docs-CK_MoYl2.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/FormErrorList.docs-RprXxEVj.js rename to demo-1732-error-on-icon-prop/assets/FormErrorList.docs-CK_MoYl2.js index 8ac6ac7f48..b76dbe501c 100644 --- a/demo-1732-error-on-icon-prop/assets/FormErrorList.docs-RprXxEVj.js +++ b/demo-1732-error-on-icon-prop/assets/FormErrorList.docs-CK_MoYl2.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as i,ak as s,al as a,am as m}from"./index-Bc_7gYwI.js";import{F as h}from"./FormErrorList.stories-CxylcEEz.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Alert-Dk0YLnro.js";import"./index.esm-DQgjFsBh.js";import"./Icon-msbkstIT.js";import"./Heading-DUu-96hO.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-BWS7j-EY.js";import"./LinkList-MjnznahE.js";const l=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as i,ak as s,al as a,am as m}from"./index-DNXVmPlZ.js";import{F as h}from"./FormErrorList.stories-DOywcyMJ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Alert-Dk0YLnro.js";import"./index.esm-DQgjFsBh.js";import"./Icon-msbkstIT.js";import"./Heading-DUu-96hO.js";import"./getHeadingTag-Dv1eMqvl.js";import"./IconButton-BWS7j-EY.js";import"./LinkList-MjnznahE.js";const l=` # Form Error List diff --git a/demo-1732-error-on-icon-prop/assets/FormErrorList.stories-CxylcEEz.js b/demo-1732-error-on-icon-prop/assets/FormErrorList.stories-DOywcyMJ.js similarity index 63% rename from demo-1732-error-on-icon-prop/assets/FormErrorList.stories-CxylcEEz.js rename to demo-1732-error-on-icon-prop/assets/FormErrorList.stories-DOywcyMJ.js index 4d94f934ed..d14f498e06 100644 --- a/demo-1732-error-on-icon-prop/assets/FormErrorList.stories-CxylcEEz.js +++ b/demo-1732-error-on-icon-prop/assets/FormErrorList.stories-DOywcyMJ.js @@ -1,5 +1,5 @@ -import{j as i}from"./jsx-runtime-BlAj40OV.js";import{r as t}from"./index-Cs7sjTYM.js";import{c as F}from"./clsx-B-dksMZM.js";import{A as L}from"./Alert-Dk0YLnro.js";import{L as h}from"./LinkList-MjnznahE.js";const l=t.forwardRef(({className:e,errors:o,focusOnRender:r=!0,hasFocusedOnce:n,heading:d="Verbeter de fouten voor u verder gaat",headingLevel:c=2,setHasFocusedOnce:y,...E},_)=>{const a=t.useRef(null);return t.useImperativeHandle(_,()=>a.current),t.useEffect(()=>{a.current&&r&&!n&&(a.current.focus(),y(!0))},[a]),i.jsx(L,{...E,className:F("ams-form-error-list",e),heading:d,headingLevel:c,ref:a,severity:"error",tabIndex:-1,children:i.jsx(h,{children:o.map(({id:m,label:f})=>i.jsx(h.Link,{href:m,children:f},`${m}-${f}`))})})});l.displayName="FormErrorListWithErrors";try{l.displayName="FormErrorListWithErrors",l.__docgenInfo={description:"",displayName:"FormErrorListWithErrors",props:{heading:{defaultValue:{value:"Verbeter de fouten voor u verder gaat"},description:"The text for the Heading.",name:"heading",required:!1,type:{name:"string"}},headingLevel:{defaultValue:{value:"2"},description:`The hierarchical level of the Heading within the document. -Note: this intentionally does not change the font size.`,name:"headingLevel",required:!1,type:{name:"enum",value:[{value:"1"},{value:"2"},{value:"3"},{value:"4"}]}},errors:{defaultValue:null,description:"The list of error messages to display.",name:"errors",required:!0,type:{name:"FormError[]"}},focusOnRender:{defaultValue:{value:"true"},description:"Whether the component receives focus on first render",name:"focusOnRender",required:!1,type:{name:"boolean"}},hasFocusedOnce:{defaultValue:null,description:"Whether the component has set focus once.",name:"hasFocusedOnce",required:!0,type:{name:"boolean"}},setHasFocusedOnce:{defaultValue:null,description:"Callback to let parent component know whether focus has been set once.",name:"setHasFocusedOnce",required:!0,type:{name:"Dispatch>"}}}}}catch{}const b=(e,o={plural:"invoerfouten",singular:"invoerfout"})=>{const[r,n]=t.useState();return t.useEffect(()=>{n(document.title)},[]),r&&(e.length===1?document.title=`(${e.length} ${o.singular}) ${r}`:e.length>1?document.title=`(${e.length} ${o.plural}) ${r}`:document.title=r),null},u=t.forwardRef(({errors:e,errorCountLabel:o,...r},n)=>{b(e,o);const[d,c]=t.useState(!1);if(e.length!==0)return i.jsx(l,{...r,errors:e,hasFocusedOnce:d,ref:n,setHasFocusedOnce:c})});u.displayName="FormErrorList";try{u.displayName="FormErrorList",u.__docgenInfo={description:"",displayName:"FormErrorList",props:{errorCountLabel:{defaultValue:{value:"{ plural: 'invoerfouten', singular: 'invoerfout' }"},description:`The text following the error count. +import{j as i}from"./jsx-runtime-BlAj40OV.js";import{r as t}from"./index-Cs7sjTYM.js";import{c as F}from"./clsx-B-dksMZM.js";import{A as L}from"./Alert-Dk0YLnro.js";import{L as h}from"./LinkList-MjnznahE.js";const l=t.forwardRef(({className:e,errors:o,focusOnRender:r=!0,hasFocusedOnce:n,heading:d="Verbeter de fouten voor u verder gaat",headingLevel:c=2,setHasFocusedOnce:y,...E},_)=>{const a=t.useRef(null);return t.useImperativeHandle(_,()=>a.current),t.useEffect(()=>{a.current&&r&&!n&&(a.current.focus(),y(!0))},[a]),i.jsx(L,{...E,className:F("ams-form-error-list",e),heading:d,headingLevel:c,ref:a,severity:"error",tabIndex:-1,children:i.jsx(h,{children:o.map(({id:m,label:f})=>i.jsx(h.Link,{href:m,children:f},`${m}-${f}`))})})});l.displayName="FormErrorListWithErrors";try{l.displayName="FormErrorListWithErrors",l.__docgenInfo={description:"",displayName:"FormErrorListWithErrors",props:{heading:{defaultValue:{value:"Verbeter de fouten voor u verder gaat"},description:"The text for the Heading.",name:"heading",required:!1,type:{name:"string"}},errors:{defaultValue:null,description:"The list of error messages to display.",name:"errors",required:!0,type:{name:"FormError[]"}},focusOnRender:{defaultValue:{value:"true"},description:"Whether the component receives focus on first render",name:"focusOnRender",required:!1,type:{name:"boolean"}},headingLevel:{defaultValue:{value:"2"},description:`The hierarchical level of the Heading within the document. +Note: this intentionally does not change the font size.`,name:"headingLevel",required:!1,type:{name:"enum",value:[{value:"1"},{value:"2"},{value:"3"},{value:"4"}]}},hasFocusedOnce:{defaultValue:null,description:"Whether the component has set focus once.",name:"hasFocusedOnce",required:!0,type:{name:"boolean"}},setHasFocusedOnce:{defaultValue:null,description:"Callback to let parent component know whether focus has been set once.",name:"setHasFocusedOnce",required:!0,type:{name:"Dispatch>"}}}}}catch{}const b=(e,o={plural:"invoerfouten",singular:"invoerfout"})=>{const[r,n]=t.useState();return t.useEffect(()=>{n(document.title)},[]),r&&(e.length===1?document.title=`(${e.length} ${o.singular}) ${r}`:e.length>1?document.title=`(${e.length} ${o.plural}) ${r}`:document.title=r),null},u=t.forwardRef(({errors:e,errorCountLabel:o,...r},n)=>{b(e,o);const[d,c]=t.useState(!1);if(e.length!==0)return i.jsx(l,{...r,errors:e,hasFocusedOnce:d,ref:n,setHasFocusedOnce:c})});u.displayName="FormErrorList";try{u.displayName="FormErrorList",u.__docgenInfo={description:"",displayName:"FormErrorList",props:{errorCountLabel:{defaultValue:{value:"{ plural: 'invoerfouten', singular: 'invoerfout' }"},description:`The text following the error count. This is used to show the error count in the document title.`,name:"errorCountLabel",required:!1,type:{name:"{ plural: string; singular: string; }"}},errors:{defaultValue:null,description:"The list of error messages to display.",name:"errors",required:!0,type:{name:"FormError[]"}},focusOnRender:{defaultValue:{value:"true"},description:"Whether the component receives focus on first render",name:"focusOnRender",required:!1,type:{name:"boolean"}},heading:{defaultValue:{value:"Verbeter de fouten voor u verder gaat"},description:"The text for the Heading.",name:"heading",required:!1,type:{name:"string"}},headingLevel:{defaultValue:{value:"2"},description:`The hierarchical level of the Heading within the document. Note: this intentionally does not change the font size.`,name:"headingLevel",required:!1,type:{name:"enum",value:[{value:"1"},{value:"2"},{value:"3"},{value:"4"}]}}}}}catch{}/** * @license EUPL-1.2+ diff --git a/demo-1732-error-on-icon-prop/assets/FormPage.docs-BHzAcVnw.js b/demo-1732-error-on-icon-prop/assets/FormPage.docs-DblYL3zo.js similarity index 71% rename from demo-1732-error-on-icon-prop/assets/FormPage.docs-BHzAcVnw.js rename to demo-1732-error-on-icon-prop/assets/FormPage.docs-DblYL3zo.js index 0373fc8642..47c7e714e1 100644 --- a/demo-1732-error-on-icon-prop/assets/FormPage.docs-BHzAcVnw.js +++ b/demo-1732-error-on-icon-prop/assets/FormPage.docs-DblYL3zo.js @@ -1,4 +1,4 @@ -import{j as o}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as e}from"./index-Bc_7gYwI.js";import{F as n}from"./FormPage.stories-_baPiYtR.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./config-Ph9_AafQ.js";import"./PageMenu.stories-DFa96G62.js";import"./Icon-msbkstIT.js";import"./Footer.stories-QT73Bk8g.js";import"./Spotlight-i1uKJTzV.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-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as e}from"./index-DNXVmPlZ.js";import{F as n}from"./FormPage.stories-DYZJkRLZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./config-DFibQQL4.js";import"./PageMenu.stories-DFa96G62.js";import"./Icon-msbkstIT.js";import"./Footer.stories-BaJ-LM4v.js";import"./Spotlight-IssvtslZ.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-_baPiYtR.js b/demo-1732-error-on-icon-prop/assets/FormPage.stories-DYZJkRLZ.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/FormPage.stories-_baPiYtR.js rename to demo-1732-error-on-icon-prop/assets/FormPage.stories-DYZJkRLZ.js index a74e8075d0..53b01d10ef 100644 --- a/demo-1732-error-on-icon-prop/assets/FormPage.stories-_baPiYtR.js +++ b/demo-1732-error-on-icon-prop/assets/FormPage.stories-DYZJkRLZ.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.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-CF7nKaqV.js";import{r as C}from"./index-Cs7sjTYM.js";import{c as D}from"./config-Ph9_AafQ.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-BlAj40OV.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-edP8GOgy.js";import{r as C}from"./index-Cs7sjTYM.js";import{c as D}from"./config-DFibQQL4.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-CnrhF5__.js b/demo-1732-error-on-icon-prop/assets/Gap.docs-BbRSFAKO.js similarity index 89% rename from demo-1732-error-on-icon-prop/assets/Gap.docs-CnrhF5__.js rename to demo-1732-error-on-icon-prop/assets/Gap.docs-BbRSFAKO.js index 272e43cac8..b8a63a25d0 100644 --- a/demo-1732-error-on-icon-prop/assets/Gap.docs-CnrhF5__.js +++ b/demo-1732-error-on-icon-prop/assets/Gap.docs-BbRSFAKO.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as o,ak as i,al as r,am as m}from"./index-Bc_7gYwI.js";import{G as p}from"./Gap.stories-DCwUsy_8.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const l=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as o,ak as i,al as r,am as m}from"./index-DNXVmPlZ.js";import{G as p}from"./Gap.stories-DbaWBJ6L.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const l=` # Gap diff --git a/demo-1732-error-on-icon-prop/assets/Gap.stories-DCwUsy_8.js b/demo-1732-error-on-icon-prop/assets/Gap.stories-DbaWBJ6L.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Gap.stories-DCwUsy_8.js rename to demo-1732-error-on-icon-prop/assets/Gap.stories-DbaWBJ6L.js index cbe34d8bb5..cbbe02d0d7 100644 --- a/demo-1732-error-on-icon-prop/assets/Gap.stories-DCwUsy_8.js +++ b/demo-1732-error-on-icon-prop/assets/Gap.stories-DbaWBJ6L.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{P as s}from"./index.esm-CF7nKaqV.js";/** +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{P as s}from"./index.esm-edP8GOgy.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-9KHiNtEa.js b/demo-1732-error-on-icon-prop/assets/Grid.docs-sg7GphPJ.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/Grid.docs-9KHiNtEa.js rename to demo-1732-error-on-icon-prop/assets/Grid.docs-sg7GphPJ.js index 9e56795599..52f4e769ed 100644 --- a/demo-1732-error-on-icon-prop/assets/Grid.docs-9KHiNtEa.js +++ b/demo-1732-error-on-icon-prop/assets/Grid.docs-sg7GphPJ.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as a,ak as r,al as l,am as c,an as s}from"./index-Bc_7gYwI.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-uDGi-Wrr.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./paddingClasses-C5gheHLv.js";const j=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as a,ak as r,al as l,am as c,an as s}from"./index-DNXVmPlZ.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-QslNkPVq.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./paddingClasses-C5gheHLv.js";const j=` # Grid diff --git a/demo-1732-error-on-icon-prop/assets/Grid.stories-uDGi-Wrr.js b/demo-1732-error-on-icon-prop/assets/Grid.stories-QslNkPVq.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Grid.stories-uDGi-Wrr.js rename to demo-1732-error-on-icon-prop/assets/Grid.stories-QslNkPVq.js index e22732185d..f97b8718d9 100644 --- a/demo-1732-error-on-icon-prop/assets/Grid.stories-uDGi-Wrr.js +++ b/demo-1732-error-on-icon-prop/assets/Grid.stories-QslNkPVq.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{S as z}from"./index.esm-CF7nKaqV.js";import{c as H}from"./clsx-B-dksMZM.js";import{r as F}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{S as z}from"./index.esm-edP8GOgy.js";import{c as H}from"./clsx-B-dksMZM.js";import{r as F}from"./index-Cs7sjTYM.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-yZew9t5k.js b/demo-1732-error-on-icon-prop/assets/Header.docs-iLlWCIZL.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/Header.docs-yZew9t5k.js rename to demo-1732-error-on-icon-prop/assets/Header.docs-iLlWCIZL.js index 736be8a333..393a8f97f9 100644 --- a/demo-1732-error-on-icon-prop/assets/Header.docs-yZew9t5k.js +++ b/demo-1732-error-on-icon-prop/assets/Header.docs-iLlWCIZL.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as s,ak as r,al as m,am as h,an as t}from"./index-Bc_7gYwI.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-CihSLOoe.js";import{S as j}from"./StatusBadge-DJO7oFtY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Logo-Co1O1cSe.js";import"./Heading-DUu-96hO.js";import"./getHeadingTag-Dv1eMqvl.js";import"./Badge-DiZ9fuyS.js";const w=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as s,ak as r,al as m,am as h,an as t}from"./index-DNXVmPlZ.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-DjHTsaDH.js";import{S as j}from"./StatusBadge-DJO7oFtY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Logo-Co1O1cSe.js";import"./Heading-DUu-96hO.js";import"./getHeadingTag-Dv1eMqvl.js";import"./Badge-DiZ9fuyS.js";const w=` # Header diff --git a/demo-1732-error-on-icon-prop/assets/Header.stories-CihSLOoe.js b/demo-1732-error-on-icon-prop/assets/Header.stories-DjHTsaDH.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Header.stories-CihSLOoe.js rename to demo-1732-error-on-icon-prop/assets/Header.stories-DjHTsaDH.js index 0c1bd9ecb9..aaecc7ed7b 100644 --- a/demo-1732-error-on-icon-prop/assets/Header.stories-CihSLOoe.js +++ b/demo-1732-error-on-icon-prop/assets/Header.stories-DjHTsaDH.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{c as a}from"./index.esm-CF7nKaqV.js";import{j as c}from"./index.esm-DQgjFsBh.js";import{c as z}from"./clsx-B-dksMZM.js";import{r as O}from"./index-Cs7sjTYM.js";import{L as U}from"./Logo-Co1O1cSe.js";import{H as J}from"./Heading-DUu-96hO.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-BlAj40OV.js";import{c as a}from"./index.esm-edP8GOgy.js";import{j as c}from"./index.esm-DQgjFsBh.js";import{c as z}from"./clsx-B-dksMZM.js";import{r as O}from"./index-Cs7sjTYM.js";import{L as U}from"./Logo-Co1O1cSe.js";import{H as J}from"./Heading-DUu-96hO.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-BUIFGWcX.js b/demo-1732-error-on-icon-prop/assets/Heading.docs-b76gGqZ9.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/Heading.docs-BUIFGWcX.js rename to demo-1732-error-on-icon-prop/assets/Heading.docs-b76gGqZ9.js index 29949ea6f7..d42b656e48 100644 --- a/demo-1732-error-on-icon-prop/assets/Heading.docs-BUIFGWcX.js +++ b/demo-1732-error-on-icon-prop/assets/Heading.docs-b76gGqZ9.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as i,ak as a,al as l,am as h,an as s}from"./index-Bc_7gYwI.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-CT5b5414.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";import"./exampleContent-hIIPvEhU.js";import"./Heading-DUu-96hO.js";import"./getHeadingTag-Dv1eMqvl.js";const x=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as i,ak as a,al as l,am as h,an as s}from"./index-DNXVmPlZ.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-Bsvl1iHZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";import"./exampleContent-hIIPvEhU.js";import"./Heading-DUu-96hO.js";import"./getHeadingTag-Dv1eMqvl.js";const x=` # Heading diff --git a/demo-1732-error-on-icon-prop/assets/Heading.stories-CT5b5414.js b/demo-1732-error-on-icon-prop/assets/Heading.stories-Bsvl1iHZ.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Heading.stories-CT5b5414.js rename to demo-1732-error-on-icon-prop/assets/Heading.stories-Bsvl1iHZ.js index 0e48397336..7e84e83e54 100644 --- a/demo-1732-error-on-icon-prop/assets/Heading.stories-CT5b5414.js +++ b/demo-1732-error-on-icon-prop/assets/Heading.stories-Bsvl1iHZ.js @@ -1,4 +1,4 @@ -import{j as D}from"./jsx-runtime-BlAj40OV.js";import{r as s}from"./index-Cs7sjTYM.js";import{C as I}from"./index.esm-CF7nKaqV.js";import{i as O}from"./decorators-CweBkPI6.js";import{e as M}from"./exampleContent-hIIPvEhU.js";import{H as e}from"./Heading-DUu-96hO.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-BlAj40OV.js";import{r as s}from"./index-Cs7sjTYM.js";import{C as I}from"./index.esm-edP8GOgy.js";import{i as O}from"./decorators-CweBkPI6.js";import{e as M}from"./exampleContent-hIIPvEhU.js";import{H as e}from"./Heading-DUu-96hO.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-BI9N5v-n.js b/demo-1732-error-on-icon-prop/assets/HomePage.docs-Dy99_uGe.js similarity index 83% rename from demo-1732-error-on-icon-prop/assets/HomePage.docs-BI9N5v-n.js rename to demo-1732-error-on-icon-prop/assets/HomePage.docs-Dy99_uGe.js index 1986655d80..8c0c199168 100644 --- a/demo-1732-error-on-icon-prop/assets/HomePage.docs-BI9N5v-n.js +++ b/demo-1732-error-on-icon-prop/assets/HomePage.docs-Dy99_uGe.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as t}from"./index-Bc_7gYwI.js";import{H as a}from"./HomePage.stories-yWENW2CH.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Overlap.stories-C9ARTKZD.js";import"./config-Ph9_AafQ.js";import"./PageMenu.stories-DFa96G62.js";import"./Icon-msbkstIT.js";import"./Footer.stories-QT73Bk8g.js";import"./Spotlight-i1uKJTzV.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-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as t}from"./index-DNXVmPlZ.js";import{H as a}from"./HomePage.stories-D4MOtlr5.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Overlap.stories-nXtF7fqH.js";import"./config-DFibQQL4.js";import"./PageMenu.stories-DFa96G62.js";import"./Icon-msbkstIT.js";import"./Footer.stories-BaJ-LM4v.js";import"./Spotlight-IssvtslZ.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-yWENW2CH.js b/demo-1732-error-on-icon-prop/assets/HomePage.stories-D4MOtlr5.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/HomePage.stories-yWENW2CH.js rename to demo-1732-error-on-icon-prop/assets/HomePage.stories-D4MOtlr5.js index 878c835b5e..36a6f5a075 100644 --- a/demo-1732-error-on-icon-prop/assets/HomePage.stories-yWENW2CH.js +++ b/demo-1732-error-on-icon-prop/assets/HomePage.stories-D4MOtlr5.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.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-CF7nKaqV.js";import{D as u}from"./Overlap.stories-C9ARTKZD.js";import{c as p}from"./config-Ph9_AafQ.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-BlAj40OV.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-edP8GOgy.js";import{D as u}from"./Overlap.stories-nXtF7fqH.js";import{c as p}from"./config-DFibQQL4.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-SFLAJh2l.js b/demo-1732-error-on-icon-prop/assets/Icon.docs-CEUXekGe.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/Icon.docs-SFLAJh2l.js rename to demo-1732-error-on-icon-prop/assets/Icon.docs-CEUXekGe.js index bafd8c59a5..49b0ca69ac 100644 --- a/demo-1732-error-on-icon-prop/assets/Icon.docs-SFLAJh2l.js +++ b/demo-1732-error-on-icon-prop/assets/Icon.docs-CEUXekGe.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as a}from"./index-BI1Biiay.js";import{ae as i,ak as r,al as c,am as l,an as o}from"./index-Bc_7gYwI.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-lSRiqm7M.js";import{S as j}from"./StatusBadge-DJO7oFtY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Icon-msbkstIT.js";import"./Badge-DiZ9fuyS.js";const g=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as a}from"./index-BI1Biiay.js";import{ae as i,ak as r,al as c,am as l,an as o}from"./index-DNXVmPlZ.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-Bocx3K-q.js";import{S as j}from"./StatusBadge-DJO7oFtY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Icon-msbkstIT.js";import"./Badge-DiZ9fuyS.js";const g=` # Icon diff --git a/demo-1732-error-on-icon-prop/assets/Icon.stories-lSRiqm7M.js b/demo-1732-error-on-icon-prop/assets/Icon.stories-Bocx3K-q.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Icon.stories-lSRiqm7M.js rename to demo-1732-error-on-icon-prop/assets/Icon.stories-Bocx3K-q.js index 9cd7a4c757..2631697b57 100644 --- a/demo-1732-error-on-icon-prop/assets/Icon.stories-lSRiqm7M.js +++ b/demo-1732-error-on-icon-prop/assets/Icon.stories-Bocx3K-q.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-BlAj40OV.js";import{H as D}from"./index.esm-CF7nKaqV.js";import{I as m,d as e}from"./index.esm-DQgjFsBh.js";import{I as W}from"./Icon-msbkstIT.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-BlAj40OV.js";import{H as D}from"./index.esm-edP8GOgy.js";import{I as m,d as e}from"./index.esm-DQgjFsBh.js";import{I as W}from"./Icon-msbkstIT.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-CgtvuRYJ.js b/demo-1732-error-on-icon-prop/assets/IconButton.docs-B7bDxAhG.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/IconButton.docs-CgtvuRYJ.js rename to demo-1732-error-on-icon-prop/assets/IconButton.docs-B7bDxAhG.js index c107494d98..49748194d5 100644 --- a/demo-1732-error-on-icon-prop/assets/IconButton.docs-CgtvuRYJ.js +++ b/demo-1732-error-on-icon-prop/assets/IconButton.docs-B7bDxAhG.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as l,ak as i,al as a,am as c,an as r}from"./index-Bc_7gYwI.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-BfnX6Gtt.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";import"./IconButton-BWS7j-EY.js";import"./clsx-B-dksMZM.js";import"./Icon-msbkstIT.js";const b=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as l,ak as i,al as a,am as c,an as r}from"./index-DNXVmPlZ.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-BfnX6Gtt.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";import"./IconButton-BWS7j-EY.js";import"./clsx-B-dksMZM.js";import"./Icon-msbkstIT.js";const b=` # Icon Button diff --git a/demo-1732-error-on-icon-prop/assets/Image.docs-D0euHhac.js b/demo-1732-error-on-icon-prop/assets/Image.docs-jAwUvKaB.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/Image.docs-D0euHhac.js rename to demo-1732-error-on-icon-prop/assets/Image.docs-jAwUvKaB.js index fae1e0e56c..f5db5aa2a1 100644 --- a/demo-1732-error-on-icon-prop/assets/Image.docs-D0euHhac.js +++ b/demo-1732-error-on-icon-prop/assets/Image.docs-jAwUvKaB.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as a,ak as r,al as l,am as c,an as o}from"./index-Bc_7gYwI.js";import{I as d,R as m,L as h}from"./Image.stories-DCIdV88O.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./Image-CVzrCme5.js";import"./clsx-B-dksMZM.js";const p=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as a,ak as r,al as l,am as c,an as o}from"./index-DNXVmPlZ.js";import{I as d,R as m,L as h}from"./Image.stories-DCIdV88O.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./Image-CVzrCme5.js";import"./clsx-B-dksMZM.js";const p=` # Image diff --git a/demo-1732-error-on-icon-prop/assets/ImageSlider.docs-dd0B8Fgz.js b/demo-1732-error-on-icon-prop/assets/ImageSlider.docs-4rmctQ2u.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/ImageSlider.docs-dd0B8Fgz.js rename to demo-1732-error-on-icon-prop/assets/ImageSlider.docs-4rmctQ2u.js index d3fc6882cb..1c359f23d1 100644 --- a/demo-1732-error-on-icon-prop/assets/ImageSlider.docs-dd0B8Fgz.js +++ b/demo-1732-error-on-icon-prop/assets/ImageSlider.docs-4rmctQ2u.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as i,ak as a,al as r,am as l,an as m}from"./index-Bc_7gYwI.js";import{I as d,R as h}from"./ImageSlider.stories-DlpLtE8B.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./IconButton-BWS7j-EY.js";import"./Icon-msbkstIT.js";import"./Image-CVzrCme5.js";import"./Screen-Bi3gjHLv.js";const c=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as i,ak as a,al as r,am as l,an as m}from"./index-DNXVmPlZ.js";import{I as d,R as h}from"./ImageSlider.stories-DlpLtE8B.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./IconButton-BWS7j-EY.js";import"./Icon-msbkstIT.js";import"./Image-CVzrCme5.js";import"./Screen-Bi3gjHLv.js";const c=` # Image Slider diff --git a/demo-1732-error-on-icon-prop/assets/Introduction.docs-B0IEAoZN.js b/demo-1732-error-on-icon-prop/assets/Introduction.docs-0nI511fz.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/Introduction.docs-B0IEAoZN.js rename to demo-1732-error-on-icon-prop/assets/Introduction.docs-0nI511fz.js index 0e8225d3ad..b2b33ea2f3 100644 --- a/demo-1732-error-on-icon-prop/assets/Introduction.docs-B0IEAoZN.js +++ b/demo-1732-error-on-icon-prop/assets/Introduction.docs-0nI511fz.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as i}from"./index-Bc_7gYwI.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as i}from"./index-DNXVmPlZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-B6WgEmA9.js b/demo-1732-error-on-icon-prop/assets/Label.docs-Bo1EovcU.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/Label.docs-B6WgEmA9.js rename to demo-1732-error-on-icon-prop/assets/Label.docs-Bo1EovcU.js index 56f9e3b1d5..9af8a5b74d 100644 --- a/demo-1732-error-on-icon-prop/assets/Label.docs-B6WgEmA9.js +++ b/demo-1732-error-on-icon-prop/assets/Label.docs-Bo1EovcU.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as h,am as l,an as o}from"./index-Bc_7gYwI.js";import{L as p,O as m,W as c}from"./Label.stories-CfUWZz4C.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Hint-D4Fy8YuO.js";const d=` +import{j as t}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as h,am as l,an as o}from"./index-DNXVmPlZ.js";import{L as p,O as m,W as c}from"./Label.stories-CfUWZz4C.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Hint-D4Fy8YuO.js";const d=` # Label diff --git a/demo-1732-error-on-icon-prop/assets/Link.docs-By45n2JG.js b/demo-1732-error-on-icon-prop/assets/Link.docs-U8Nq2VIs.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/Link.docs-By45n2JG.js rename to demo-1732-error-on-icon-prop/assets/Link.docs-U8Nq2VIs.js index 97d0c705ac..a4d394bfad 100644 --- a/demo-1732-error-on-icon-prop/assets/Link.docs-By45n2JG.js +++ b/demo-1732-error-on-icon-prop/assets/Link.docs-U8Nq2VIs.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as l,am as c,an as t}from"./index-Bc_7gYwI.js";import{L as h,S as d,I as p,C as u,a as m}from"./Link.stories-BjnH9PXx.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";const g=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as l,am as c,an as t}from"./index-DNXVmPlZ.js";import{L as h,S as d,I as p,C as u,a as m}from"./Link.stories-BwJizPoH.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";const g=` # Link diff --git a/demo-1732-error-on-icon-prop/assets/Link.stories-BjnH9PXx.js b/demo-1732-error-on-icon-prop/assets/Link.stories-BwJizPoH.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Link.stories-BjnH9PXx.js rename to demo-1732-error-on-icon-prop/assets/Link.stories-BwJizPoH.js index 0bc555e8db..e497a385e9 100644 --- a/demo-1732-error-on-icon-prop/assets/Link.stories-BjnH9PXx.js +++ b/demo-1732-error-on-icon-prop/assets/Link.stories-BwJizPoH.js @@ -1,4 +1,4 @@ -import{j as l}from"./jsx-runtime-BlAj40OV.js";import{P as N}from"./index.esm-CF7nKaqV.js";import{i as P,c as D}from"./decorators-CweBkPI6.js";import{c as T}from"./clsx-B-dksMZM.js";import{r as w}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{P as N}from"./index.esm-edP8GOgy.js";import{i as P,c as D}from"./decorators-CweBkPI6.js";import{c as T}from"./clsx-B-dksMZM.js";import{r as w}from"./index-Cs7sjTYM.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-unWE43Q5.js b/demo-1732-error-on-icon-prop/assets/LinkList.docs-b-It3fkV.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/LinkList.docs-unWE43Q5.js rename to demo-1732-error-on-icon-prop/assets/LinkList.docs-b-It3fkV.js index 7353132c3c..5a917b22df 100644 --- a/demo-1732-error-on-icon-prop/assets/LinkList.docs-unWE43Q5.js +++ b/demo-1732-error-on-icon-prop/assets/LinkList.docs-b-It3fkV.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as l,ak as a,al as c,an as s,am as h}from"./index-Bc_7gYwI.js";import{L as d,C as m,S as p,a as t,b as u,I as x}from"./LinkList.stories-LQhWm9tq.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";import"./exampleContent-hIIPvEhU.js";import"./LinkList-MjnznahE.js";import"./clsx-B-dksMZM.js";import"./Icon-msbkstIT.js";const j=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as l,ak as a,al as c,an as s,am as h}from"./index-DNXVmPlZ.js";import{L as d,C as m,S as p,a as t,b as u,I as x}from"./LinkList.stories-LQhWm9tq.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";import"./exampleContent-hIIPvEhU.js";import"./LinkList-MjnznahE.js";import"./clsx-B-dksMZM.js";import"./Icon-msbkstIT.js";const j=` # Link List diff --git a/demo-1732-error-on-icon-prop/assets/Logo.docs-CwTUXios.js b/demo-1732-error-on-icon-prop/assets/Logo.docs-q62BOwlz.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/Logo.docs-CwTUXios.js rename to demo-1732-error-on-icon-prop/assets/Logo.docs-q62BOwlz.js index ee9e4ea9d5..f53360bb6f 100644 --- a/demo-1732-error-on-icon-prop/assets/Logo.docs-CwTUXios.js +++ b/demo-1732-error-on-icon-prop/assets/Logo.docs-q62BOwlz.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as i,ak as r,al as h,am as l,an as o}from"./index-Bc_7gYwI.js";import{L as d,G as m,S as p,a as g,V as c,M as u}from"./Logo.stories-CkXTY1PX.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./Logo-Co1O1cSe.js";import"./clsx-B-dksMZM.js";const f=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as i,ak as r,al as h,am as l,an as o}from"./index-DNXVmPlZ.js";import{L as d,G as m,S as p,a as g,V as c,M as u}from"./Logo.stories-CkXTY1PX.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./Logo-Co1O1cSe.js";import"./clsx-B-dksMZM.js";const f=` # Logo diff --git a/demo-1732-error-on-icon-prop/assets/Margin.docs-Dg1QWN6c.js b/demo-1732-error-on-icon-prop/assets/Margin.docs-By3yZVwM.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/Margin.docs-Dg1QWN6c.js rename to demo-1732-error-on-icon-prop/assets/Margin.docs-By3yZVwM.js index 5622b3a7bc..020ad9beeb 100644 --- a/demo-1732-error-on-icon-prop/assets/Margin.docs-Dg1QWN6c.js +++ b/demo-1732-error-on-icon-prop/assets/Margin.docs-By3yZVwM.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as o,ak as i,al as m,am as r}from"./index-Bc_7gYwI.js";import{M as l}from"./Margin.stories-COKow8dy.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const p=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as o,ak as i,al as m,am as r}from"./index-DNXVmPlZ.js";import{M as l}from"./Margin.stories-l1HTDqSj.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const p=` # Margin diff --git a/demo-1732-error-on-icon-prop/assets/Margin.stories-COKow8dy.js b/demo-1732-error-on-icon-prop/assets/Margin.stories-l1HTDqSj.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Margin.stories-COKow8dy.js rename to demo-1732-error-on-icon-prop/assets/Margin.stories-l1HTDqSj.js index 7dc7ff5f84..8829e8832b 100644 --- a/demo-1732-error-on-icon-prop/assets/Margin.stories-COKow8dy.js +++ b/demo-1732-error-on-icon-prop/assets/Margin.stories-l1HTDqSj.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{H as l,P as m}from"./index.esm-CF7nKaqV.js";/** +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{H as l,P as m}from"./index.esm-edP8GOgy.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-B6zbgBZF.js b/demo-1732-error-on-icon-prop/assets/Mark.docs-CD8Oug7I.js similarity index 79% rename from demo-1732-error-on-icon-prop/assets/Mark.docs-B6zbgBZF.js rename to demo-1732-error-on-icon-prop/assets/Mark.docs-CD8Oug7I.js index 85628b0e21..325d531ae5 100644 --- a/demo-1732-error-on-icon-prop/assets/Mark.docs-B6zbgBZF.js +++ b/demo-1732-error-on-icon-prop/assets/Mark.docs-CD8Oug7I.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as o,ak as a,al as s,am as m}from"./index-Bc_7gYwI.js";import{M as p}from"./Mark.stories-C3Vh2HJi.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const x=` +import{j as t}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as o,ak as a,al as s,am as m}from"./index-DNXVmPlZ.js";import{M as p}from"./Mark.stories-B03-MA4h.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const x=` # Mark diff --git a/demo-1732-error-on-icon-prop/assets/Mark.stories-C3Vh2HJi.js b/demo-1732-error-on-icon-prop/assets/Mark.stories-B03-MA4h.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/Mark.stories-C3Vh2HJi.js rename to demo-1732-error-on-icon-prop/assets/Mark.stories-B03-MA4h.js index 5880f9f9ef..035bdf39d3 100644 --- a/demo-1732-error-on-icon-prop/assets/Mark.stories-C3Vh2HJi.js +++ b/demo-1732-error-on-icon-prop/assets/Mark.stories-B03-MA4h.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{P as l}from"./index.esm-CF7nKaqV.js";import{c}from"./clsx-B-dksMZM.js";import{r as p}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{P as l}from"./index.esm-edP8GOgy.js";import{c}from"./clsx-B-dksMZM.js";import{r as p}from"./index-Cs7sjTYM.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-229TA4fZ.js b/demo-1732-error-on-icon-prop/assets/MegaMenu.docs-CTor5SNC.js similarity index 79% rename from demo-1732-error-on-icon-prop/assets/MegaMenu.docs-229TA4fZ.js rename to demo-1732-error-on-icon-prop/assets/MegaMenu.docs-CTor5SNC.js index bf598ba5c5..52e3699b8a 100644 --- a/demo-1732-error-on-icon-prop/assets/MegaMenu.docs-229TA4fZ.js +++ b/demo-1732-error-on-icon-prop/assets/MegaMenu.docs-CTor5SNC.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as s,ak as i,al as a,an as m}from"./index-Bc_7gYwI.js";import{M as p,a as c}from"./MegaMenu.stories-BNZs1XWG.js";import{S as x}from"./StatusBadge-DJO7oFtY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Badge-DiZ9fuyS.js";const M=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as s,ak as i,al as a,an as m}from"./index-DNXVmPlZ.js";import{M as p,a as c}from"./MegaMenu.stories-BBZKv5tw.js";import{S as x}from"./StatusBadge-DJO7oFtY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Badge-DiZ9fuyS.js";const M=` # Mega Menu `;/*@license CC0-1.0*/function o(t){const e={h2:"h2",h3:"h3",...r(),...t.components};return n.jsxs(n.Fragment,{children:[` diff --git a/demo-1732-error-on-icon-prop/assets/MegaMenu.stories-BNZs1XWG.js b/demo-1732-error-on-icon-prop/assets/MegaMenu.stories-BBZKv5tw.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/MegaMenu.stories-BNZs1XWG.js rename to demo-1732-error-on-icon-prop/assets/MegaMenu.stories-BBZKv5tw.js index e519d93b39..7ab1ddf0c1 100644 --- a/demo-1732-error-on-icon-prop/assets/MegaMenu.stories-BNZs1XWG.js +++ b/demo-1732-error-on-icon-prop/assets/MegaMenu.stories-BBZKv5tw.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{S as v,G as t,H as k,q as n}from"./index.esm-CF7nKaqV.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as m}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{S as v,G as t,H as k,q as n}from"./index.esm-edP8GOgy.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as m}from"./index-Cs7sjTYM.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-CI4A4Iar.js b/demo-1732-error-on-icon-prop/assets/OrderedList.docs-CMUT74WQ.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/OrderedList.docs-CI4A4Iar.js rename to demo-1732-error-on-icon-prop/assets/OrderedList.docs-CMUT74WQ.js index 822b44d62a..824d5c831c 100644 --- a/demo-1732-error-on-icon-prop/assets/OrderedList.docs-CI4A4Iar.js +++ b/demo-1732-error-on-icon-prop/assets/OrderedList.docs-CMUT74WQ.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as o,ak as a,al as h,am as l,an as r}from"./index-Bc_7gYwI.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-COtxsV37.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";import"./exampleContent-hIIPvEhU.js";const f=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as o,ak as a,al as h,am as l,an as r}from"./index-DNXVmPlZ.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-BRqK5EJu.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";import"./exampleContent-hIIPvEhU.js";const f=` # Ordered List diff --git a/demo-1732-error-on-icon-prop/assets/OrderedList.stories-COtxsV37.js b/demo-1732-error-on-icon-prop/assets/OrderedList.stories-BRqK5EJu.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/OrderedList.stories-COtxsV37.js rename to demo-1732-error-on-icon-prop/assets/OrderedList.stories-BRqK5EJu.js index 383f3c1a99..991557b29d 100644 --- a/demo-1732-error-on-icon-prop/assets/OrderedList.stories-COtxsV37.js +++ b/demo-1732-error-on-icon-prop/assets/OrderedList.stories-BRqK5EJu.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{H as h,P as t}from"./index.esm-CF7nKaqV.js";import{i as q}from"./decorators-CweBkPI6.js";import{d as M}from"./exampleContent-hIIPvEhU.js";import{c as E}from"./clsx-B-dksMZM.js";import{r as H}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{H as h,P as t}from"./index.esm-edP8GOgy.js";import{i as q}from"./decorators-CweBkPI6.js";import{d as M}from"./exampleContent-hIIPvEhU.js";import{c as E}from"./clsx-B-dksMZM.js";import{r as H}from"./index-Cs7sjTYM.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-BGWDmR7Z.js b/demo-1732-error-on-icon-prop/assets/Overlap.docs-DbPxdxzh.js similarity index 85% rename from demo-1732-error-on-icon-prop/assets/Overlap.docs-BGWDmR7Z.js rename to demo-1732-error-on-icon-prop/assets/Overlap.docs-DbPxdxzh.js index 015e591a66..fa47f5859d 100644 --- a/demo-1732-error-on-icon-prop/assets/Overlap.docs-BGWDmR7Z.js +++ b/demo-1732-error-on-icon-prop/assets/Overlap.docs-DbPxdxzh.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as t,ak as s,al as a}from"./index-Bc_7gYwI.js";import{O as l}from"./Overlap.stories-C9ARTKZD.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const m=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as t,ak as s,al as a}from"./index-DNXVmPlZ.js";import{O as l}from"./Overlap.stories-nXtF7fqH.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const m=` # Overlap diff --git a/demo-1732-error-on-icon-prop/assets/Overlap.stories-C9ARTKZD.js b/demo-1732-error-on-icon-prop/assets/Overlap.stories-nXtF7fqH.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Overlap.stories-C9ARTKZD.js rename to demo-1732-error-on-icon-prop/assets/Overlap.stories-nXtF7fqH.js index 9cd0f8e6ad..62cfa23b55 100644 --- a/demo-1732-error-on-icon-prop/assets/Overlap.stories-C9ARTKZD.js +++ b/demo-1732-error-on-icon-prop/assets/Overlap.stories-nXtF7fqH.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{h as m,I as u,G as o,i as a}from"./index.esm-CF7nKaqV.js";import{c as h}from"./clsx-B-dksMZM.js";import{r as x}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{h as m,I as u,G as o,i as a}from"./index.esm-edP8GOgy.js";import{c as h}from"./clsx-B-dksMZM.js";import{r as x}from"./index-Cs7sjTYM.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-Do2nB4Tc.js b/demo-1732-error-on-icon-prop/assets/PageHeading.docs-B7lI4afC.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/PageHeading.docs-Do2nB4Tc.js rename to demo-1732-error-on-icon-prop/assets/PageHeading.docs-B7lI4afC.js index b9e267a5e4..db6e4407eb 100644 --- a/demo-1732-error-on-icon-prop/assets/PageHeading.docs-Do2nB4Tc.js +++ b/demo-1732-error-on-icon-prop/assets/PageHeading.docs-B7lI4afC.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as s,ak as a,al as r,am as h,an as p}from"./index-Bc_7gYwI.js";import{P as m,I as c}from"./PageHeading.stories-CGDfgDck.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./decorators-CweBkPI6.js";import"./clsx-B-dksMZM.js";const d=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as s,ak as a,al as r,am as h,an as p}from"./index-DNXVmPlZ.js";import{P as m,I as c}from"./PageHeading.stories-CGDfgDck.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./decorators-CweBkPI6.js";import"./clsx-B-dksMZM.js";const d=` # Page Heading diff --git a/demo-1732-error-on-icon-prop/assets/PageMenu.docs-hQnfLq4c.js b/demo-1732-error-on-icon-prop/assets/PageMenu.docs-JiC1KsSu.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/PageMenu.docs-hQnfLq4c.js rename to demo-1732-error-on-icon-prop/assets/PageMenu.docs-JiC1KsSu.js index 41fc7fdbad..b7dfc6bd30 100644 --- a/demo-1732-error-on-icon-prop/assets/PageMenu.docs-hQnfLq4c.js +++ b/demo-1732-error-on-icon-prop/assets/PageMenu.docs-JiC1KsSu.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as d,am as h,an as o}from"./index-Bc_7gYwI.js";import{P as m,A as l,W as c}from"./PageMenu.stories-DFa96G62.js";import{S as u}from"./StatusBadge-DJO7oFtY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-DQgjFsBh.js";import"./clsx-B-dksMZM.js";import"./Icon-msbkstIT.js";import"./Badge-DiZ9fuyS.js";const p=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as d,am as h,an as o}from"./index-DNXVmPlZ.js";import{P as m,A as l,W as c}from"./PageMenu.stories-DFa96G62.js";import{S as u}from"./StatusBadge-DJO7oFtY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-DQgjFsBh.js";import"./clsx-B-dksMZM.js";import"./Icon-msbkstIT.js";import"./Badge-DiZ9fuyS.js";const p=` # Page Menu diff --git a/demo-1732-error-on-icon-prop/assets/Pagination.docs-Ckk48cxr.js b/demo-1732-error-on-icon-prop/assets/Pagination.docs-CGt9MMv4.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/Pagination.docs-Ckk48cxr.js rename to demo-1732-error-on-icon-prop/assets/Pagination.docs-CGt9MMv4.js index 34f6d50c7a..ffbd8d5521 100644 --- a/demo-1732-error-on-icon-prop/assets/Pagination.docs-Ckk48cxr.js +++ b/demo-1732-error-on-icon-prop/assets/Pagination.docs-CGt9MMv4.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as o,ak as s,al as r,am as l}from"./index-Bc_7gYwI.js";import{P as p}from"./Pagination.stories-CVHuDEtK.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-DQgjFsBh.js";import"./clsx-B-dksMZM.js";import"./Icon-msbkstIT.js";const g=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as o,ak as s,al as r,am as l}from"./index-DNXVmPlZ.js";import{P as p}from"./Pagination.stories-CVHuDEtK.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-DQgjFsBh.js";import"./clsx-B-dksMZM.js";import"./Icon-msbkstIT.js";const g=` # Pagination diff --git a/demo-1732-error-on-icon-prop/assets/Paragraph.docs-noGG3zoD.js b/demo-1732-error-on-icon-prop/assets/Paragraph.docs-CRzRzMkV.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/Paragraph.docs-noGG3zoD.js rename to demo-1732-error-on-icon-prop/assets/Paragraph.docs-CRzRzMkV.js index 8ea38bf94a..7d532e39f6 100644 --- a/demo-1732-error-on-icon-prop/assets/Paragraph.docs-noGG3zoD.js +++ b/demo-1732-error-on-icon-prop/assets/Paragraph.docs-CRzRzMkV.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as s,ak as i,al as h,am as p,an as a}from"./index-Bc_7gYwI.js";import{P as l,L as c,S as d,I as g}from"./Paragraph.stories-BSxvtQam.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./decorators-CweBkPI6.js";import"./exampleContent-hIIPvEhU.js";import"./Paragraph-BWS5kDPY.js";import"./clsx-B-dksMZM.js";const m=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as s,ak as i,al as h,am as p,an as a}from"./index-DNXVmPlZ.js";import{P as l,L as c,S as d,I as g}from"./Paragraph.stories-BSxvtQam.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./decorators-CweBkPI6.js";import"./exampleContent-hIIPvEhU.js";import"./Paragraph-BWS5kDPY.js";import"./clsx-B-dksMZM.js";const m=` # Paragraph diff --git a/demo-1732-error-on-icon-prop/assets/PasswordInput.docs-DtpIWni8.js b/demo-1732-error-on-icon-prop/assets/PasswordInput.docs-fINJc7x2.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/PasswordInput.docs-DtpIWni8.js rename to demo-1732-error-on-icon-prop/assets/PasswordInput.docs-fINJc7x2.js index 3f73fb4534..ad8149b1c4 100644 --- a/demo-1732-error-on-icon-prop/assets/PasswordInput.docs-DtpIWni8.js +++ b/demo-1732-error-on-icon-prop/assets/PasswordInput.docs-fINJc7x2.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as i,ak as a,al as d,am as h,an as t}from"./index-Bc_7gYwI.js";import{P as l,I as p,a as c}from"./PasswordInput.stories-D4QGtx2D.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const m=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as i,ak as a,al as d,am as h,an as t}from"./index-DNXVmPlZ.js";import{P as l,I as p,a as c}from"./PasswordInput.stories-BCUrEnY4.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const m=` # Password Input diff --git a/demo-1732-error-on-icon-prop/assets/PasswordInput.stories-D4QGtx2D.js b/demo-1732-error-on-icon-prop/assets/PasswordInput.stories-BCUrEnY4.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/PasswordInput.stories-D4QGtx2D.js rename to demo-1732-error-on-icon-prop/assets/PasswordInput.stories-BCUrEnY4.js index e87ade351b..ebeb0f81c1 100644 --- a/demo-1732-error-on-icon-prop/assets/PasswordInput.stories-D4QGtx2D.js +++ b/demo-1732-error-on-icon-prop/assets/PasswordInput.stories-BCUrEnY4.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{e as v,f as h,P as b,E as f}from"./index.esm-CF7nKaqV.js";import{c as y}from"./clsx-B-dksMZM.js";import{r as I}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{e as v,f as h,P as b,E as f}from"./index.esm-edP8GOgy.js";import{c as y}from"./clsx-B-dksMZM.js";import{r as I}from"./index-Cs7sjTYM.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-BW7_s2vu.js b/demo-1732-error-on-icon-prop/assets/Radio.docs-JQKpQuaa.js similarity index 93% rename from demo-1732-error-on-icon-prop/assets/Radio.docs-BW7_s2vu.js rename to demo-1732-error-on-icon-prop/assets/Radio.docs-JQKpQuaa.js index a75f0d5292..6237fce83b 100644 --- a/demo-1732-error-on-icon-prop/assets/Radio.docs-BW7_s2vu.js +++ b/demo-1732-error-on-icon-prop/assets/Radio.docs-JQKpQuaa.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as a,ak as r,al as d,am as c,an as i}from"./index-Bc_7gYwI.js";import{R as l,I as h,a as m,W as p}from"./Radio.stories-Hra-_Kdo.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const u=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as a,ak as r,al as d,am as c,an as i}from"./index-DNXVmPlZ.js";import{R as l,I as h,a as m,W as p}from"./Radio.stories--YSpWy9w.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const u=` # Radio diff --git a/demo-1732-error-on-icon-prop/assets/Radio.stories-Hra-_Kdo.js b/demo-1732-error-on-icon-prop/assets/Radio.stories--YSpWy9w.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Radio.stories-Hra-_Kdo.js rename to demo-1732-error-on-icon-prop/assets/Radio.stories--YSpWy9w.js index 3f48501b8f..fe970d0be7 100644 --- a/demo-1732-error-on-icon-prop/assets/Radio.stories-Hra-_Kdo.js +++ b/demo-1732-error-on-icon-prop/assets/Radio.stories--YSpWy9w.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{F as I,P as N,E as w,C as S}from"./index.esm-CF7nKaqV.js";import{l as A}from"./index.esm-DQgjFsBh.js";import{c as W}from"./clsx-B-dksMZM.js";import{r as u}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{F as I,P as N,E as w,C as S}from"./index.esm-edP8GOgy.js";import{l as A}from"./index.esm-DQgjFsBh.js";import{c as W}from"./clsx-B-dksMZM.js";import{r as u}from"./index-Cs7sjTYM.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-CQsoHRHK.js b/demo-1732-error-on-icon-prop/assets/Row.docs-Cjh3o428.js similarity index 93% rename from demo-1732-error-on-icon-prop/assets/Row.docs-CQsoHRHK.js rename to demo-1732-error-on-icon-prop/assets/Row.docs-Cjh3o428.js index 1bfbf69af7..7d7a645776 100644 --- a/demo-1732-error-on-icon-prop/assets/Row.docs-CQsoHRHK.js +++ b/demo-1732-error-on-icon-prop/assets/Row.docs-Cjh3o428.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as l}from"./index-BI1Biiay.js";import{ae as o,ak as r,al as a,am as h,an as t}from"./index-Bc_7gYwI.js";import{R as d,A as c,E as p,a as g,b as m,V as x,W as j}from"./Row.stories-GUfInl3H.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./layout-B5YJ6HHW.js";const f=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as l}from"./index-BI1Biiay.js";import{ae as o,ak as r,al as a,am as h,an as t}from"./index-DNXVmPlZ.js";import{R as d,A as c,E as p,a as g,b as m,V as x,W as j}from"./Row.stories-nbOQZ4Kw.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./layout-B5YJ6HHW.js";const f=` # Row diff --git a/demo-1732-error-on-icon-prop/assets/Row.stories-GUfInl3H.js b/demo-1732-error-on-icon-prop/assets/Row.stories-nbOQZ4Kw.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Row.stories-GUfInl3H.js rename to demo-1732-error-on-icon-prop/assets/Row.stories-nbOQZ4Kw.js index af5f751b55..b57fab6cf2 100644 --- a/demo-1732-error-on-icon-prop/assets/Row.stories-GUfInl3H.js +++ b/demo-1732-error-on-icon-prop/assets/Row.stories-nbOQZ4Kw.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{j as $,H as z,L as D}from"./index.esm-CF7nKaqV.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-Cs7sjTYM.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-BlAj40OV.js";import{j as $,H as z,L as D}from"./index.esm-edP8GOgy.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-Cs7sjTYM.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-Cta2c6_v.js b/demo-1732-error-on-icon-prop/assets/Screen.docs-CTgcpt9m.js similarity index 89% rename from demo-1732-error-on-icon-prop/assets/Screen.docs-Cta2c6_v.js rename to demo-1732-error-on-icon-prop/assets/Screen.docs-CTgcpt9m.js index 3744bb33f7..5289cf024c 100644 --- a/demo-1732-error-on-icon-prop/assets/Screen.docs-Cta2c6_v.js +++ b/demo-1732-error-on-icon-prop/assets/Screen.docs-CTgcpt9m.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as s,ak as r,al as a,am as m,an as c}from"./index-Bc_7gYwI.js";import{S as d,E as p}from"./Screen.stories-Cmhj7t71.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./Screen-Bi3gjHLv.js";import"./clsx-B-dksMZM.js";const h=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as s,ak as r,al as a,am as m,an as c}from"./index-DNXVmPlZ.js";import{S as d,E as p}from"./Screen.stories-Cmhj7t71.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./Screen-Bi3gjHLv.js";import"./clsx-B-dksMZM.js";const h=` # Screen diff --git a/demo-1732-error-on-icon-prop/assets/SearchField.docs-BQkGId4X.js b/demo-1732-error-on-icon-prop/assets/SearchField.docs-C8uE5JrQ.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/SearchField.docs-BQkGId4X.js rename to demo-1732-error-on-icon-prop/assets/SearchField.docs-C8uE5JrQ.js index cc5a1ebd60..bd2d2bd1f0 100644 --- a/demo-1732-error-on-icon-prop/assets/SearchField.docs-BQkGId4X.js +++ b/demo-1732-error-on-icon-prop/assets/SearchField.docs-C8uE5JrQ.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as i,ak as s,al as c,am as h,an as o}from"./index-Bc_7gYwI.js";import{S as l,W as u,C as d}from"./SearchField.stories-BRhudTvi.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Icon-msbkstIT.js";const p=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as i,ak as s,al as c,am as h,an as o}from"./index-DNXVmPlZ.js";import{S as l,W as u,C as d}from"./SearchField.stories-BRhudTvi.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Icon-msbkstIT.js";const p=` # Search Field diff --git a/demo-1732-error-on-icon-prop/assets/Select.docs-YmG5w08e.js b/demo-1732-error-on-icon-prop/assets/Select.docs-Cv3jdNJU.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/Select.docs-YmG5w08e.js rename to demo-1732-error-on-icon-prop/assets/Select.docs-Cv3jdNJU.js index 2032422ada..9254922e52 100644 --- a/demo-1732-error-on-icon-prop/assets/Select.docs-YmG5w08e.js +++ b/demo-1732-error-on-icon-prop/assets/Select.docs-Cv3jdNJU.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as r,ak as d,al as l,am as a,an as i}from"./index-Bc_7gYwI.js";import{S as c,G as h,I as m,D as p,a as x,b as j}from"./Select.stories-BMsd2eQW.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const f=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as r,ak as d,al as l,am as a,an as i}from"./index-DNXVmPlZ.js";import{S as c,G as h,I as m,D as p,a as x,b as j}from"./Select.stories-D_V_qCOW.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const f=` # Select diff --git a/demo-1732-error-on-icon-prop/assets/Select.stories-BMsd2eQW.js b/demo-1732-error-on-icon-prop/assets/Select.stories-D_V_qCOW.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/Select.stories-BMsd2eQW.js rename to demo-1732-error-on-icon-prop/assets/Select.stories-D_V_qCOW.js index 43990da744..8e37bd8ea5 100644 --- a/demo-1732-error-on-icon-prop/assets/Select.stories-BMsd2eQW.js +++ b/demo-1732-error-on-icon-prop/assets/Select.stories-D_V_qCOW.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{e as P,f as W,P as B,E}from"./index.esm-CF7nKaqV.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as O}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{e as P,f as W,P as B,E}from"./index.esm-edP8GOgy.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as O}from"./index-Cs7sjTYM.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-CpjQMBRe.js b/demo-1732-error-on-icon-prop/assets/SkipLink.docs-1khqX6VQ.js similarity index 89% rename from demo-1732-error-on-icon-prop/assets/SkipLink.docs-CpjQMBRe.js rename to demo-1732-error-on-icon-prop/assets/SkipLink.docs-1khqX6VQ.js index 2410626bfc..ccad597abe 100644 --- a/demo-1732-error-on-icon-prop/assets/SkipLink.docs-CpjQMBRe.js +++ b/demo-1732-error-on-icon-prop/assets/SkipLink.docs-1khqX6VQ.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as a}from"./index-BI1Biiay.js";import{ae as s,ak as r,al as p,am as l,an as t}from"./index-Bc_7gYwI.js";import{S as h,O as c,M as m}from"./SkipLink.stories-HNDVm58n.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const k=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as a}from"./index-BI1Biiay.js";import{ae as s,ak as r,al as p,am as l,an as t}from"./index-DNXVmPlZ.js";import{S as h,O as c,M as m}from"./SkipLink.stories-C1LM1mWF.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const k=` # Skip Link diff --git a/demo-1732-error-on-icon-prop/assets/SkipLink.stories-HNDVm58n.js b/demo-1732-error-on-icon-prop/assets/SkipLink.stories-C1LM1mWF.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/SkipLink.stories-HNDVm58n.js rename to demo-1732-error-on-icon-prop/assets/SkipLink.stories-C1LM1mWF.js index 6b277e3820..6334a10c38 100644 --- a/demo-1732-error-on-icon-prop/assets/SkipLink.stories-HNDVm58n.js +++ b/demo-1732-error-on-icon-prop/assets/SkipLink.stories-C1LM1mWF.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{S as x,G as o,P as u}from"./index.esm-CF7nKaqV.js";import{c as j}from"./clsx-B-dksMZM.js";import{r as v}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{S as x,G as o,P as u}from"./index.esm-edP8GOgy.js";import{c as j}from"./clsx-B-dksMZM.js";import{r as v}from"./index-Cs7sjTYM.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-i1uKJTzV.js b/demo-1732-error-on-icon-prop/assets/Spotlight-IssvtslZ.js similarity index 93% rename from demo-1732-error-on-icon-prop/assets/Spotlight-i1uKJTzV.js rename to demo-1732-error-on-icon-prop/assets/Spotlight-IssvtslZ.js index 59a7ce4cc8..33d366b682 100644 --- a/demo-1732-error-on-icon-prop/assets/Spotlight-i1uKJTzV.js +++ b/demo-1732-error-on-icon-prop/assets/Spotlight-IssvtslZ.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime-BlAj40OV.js";import{c as i}from"./clsx-B-dksMZM.js";import{r as p}from"./index-Cs7sjTYM.js";const e=p.forwardRef(({children:a,className:l,as:r="div",color:o="dark-blue",...t},u)=>s.jsx(r,{...t,ref:u,className:i("ams-spotlight",`ams-spotlight--${o}`,l),children:a}));e.displayName="Spotlight";try{e.displayName="Spotlight",e.__docgenInfo={description:"",displayName:"Spotlight",props:{as:{defaultValue:null,description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'},{value:'"footer"'},{value:'"aside"'}]}},color:{defaultValue:{value:"dark-blue"},description:"The background colour.",name:"color",required:!1,type:{name:"enum",value:[{value:'"blue"'},{value:'"dark-green"'},{value:'"green"'},{value:'"magenta"'},{value:'"orange"'},{value:'"purple"'},{value:'"yellow"'},{value:'"dark-blue"'}]}}}}}catch{}export{e as S}; +import{j as s}from"./jsx-runtime-BlAj40OV.js";import{c as i}from"./clsx-B-dksMZM.js";import{r as p}from"./index-Cs7sjTYM.js";const e=p.forwardRef(({children:a,className:l,as:r="div",color:o="dark-blue",...t},u)=>s.jsx(r,{...t,ref:u,className:i("ams-spotlight",`ams-spotlight--${o}`,l),children:a}));e.displayName="Spotlight";try{e.displayName="Spotlight",e.__docgenInfo={description:"",displayName:"Spotlight",props:{as:{defaultValue:null,description:"The HTML element to use.",name:"as",required:!1,type:{name:"enum",value:[{value:'"article"'},{value:'"div"'},{value:'"section"'},{value:'"aside"'},{value:'"footer"'}]}},color:{defaultValue:{value:"dark-blue"},description:"The background colour.",name:"color",required:!1,type:{name:"enum",value:[{value:'"blue"'},{value:'"dark-green"'},{value:'"green"'},{value:'"magenta"'},{value:'"orange"'},{value:'"purple"'},{value:'"yellow"'},{value:'"dark-blue"'}]}}}}}catch{}export{e as S}; diff --git a/demo-1732-error-on-icon-prop/assets/Spotlight.docs-C9GFYGUM.js b/demo-1732-error-on-icon-prop/assets/Spotlight.docs-Bl6SXKsc.js similarity index 88% rename from demo-1732-error-on-icon-prop/assets/Spotlight.docs-C9GFYGUM.js rename to demo-1732-error-on-icon-prop/assets/Spotlight.docs-Bl6SXKsc.js index fb1727d52a..3dcc44f010 100644 --- a/demo-1732-error-on-icon-prop/assets/Spotlight.docs-C9GFYGUM.js +++ b/demo-1732-error-on-icon-prop/assets/Spotlight.docs-Bl6SXKsc.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as a,ak as i,al as l,am as c,an as t}from"./index-Bc_7gYwI.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-8SNKt_B0.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./exampleContent-hIIPvEhU.js";import"./Spotlight-i1uKJTzV.js";const k=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as a,ak as i,al as l,am as c,an as t}from"./index-DNXVmPlZ.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-BVZoIORb.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./exampleContent-hIIPvEhU.js";import"./Spotlight-IssvtslZ.js";const k=` # Spotlight diff --git a/demo-1732-error-on-icon-prop/assets/Spotlight.stories-8SNKt_B0.js b/demo-1732-error-on-icon-prop/assets/Spotlight.stories-BVZoIORb.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/Spotlight.stories-8SNKt_B0.js rename to demo-1732-error-on-icon-prop/assets/Spotlight.stories-BVZoIORb.js index 6621c00ce1..842370c556 100644 --- a/demo-1732-error-on-icon-prop/assets/Spotlight.stories-8SNKt_B0.js +++ b/demo-1732-error-on-icon-prop/assets/Spotlight.stories-BVZoIORb.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-BlAj40OV.js";import{S as J,G as i,B as K}from"./index.esm-CF7nKaqV.js";import{c as L}from"./exampleContent-hIIPvEhU.js";import{S as g}from"./Spotlight-i1uKJTzV.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-BlAj40OV.js";import{S as J,G as i,B as K}from"./index.esm-edP8GOgy.js";import{c as L}from"./exampleContent-hIIPvEhU.js";import{S as g}from"./Spotlight-IssvtslZ.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-DPNvTNkU.js b/demo-1732-error-on-icon-prop/assets/Switch.docs-6HQ7wQMG.js similarity index 84% rename from demo-1732-error-on-icon-prop/assets/Switch.docs-DPNvTNkU.js rename to demo-1732-error-on-icon-prop/assets/Switch.docs-6HQ7wQMG.js index 490809f9a6..df37ee0ef2 100644 --- a/demo-1732-error-on-icon-prop/assets/Switch.docs-DPNvTNkU.js +++ b/demo-1732-error-on-icon-prop/assets/Switch.docs-6HQ7wQMG.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as o,ak as a,al as r,am as l,an as c}from"./index-Bc_7gYwI.js";import{S as h,W as m}from"./Switch.stories-DnffM-h7.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const p=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as o,ak as a,al as r,am as l,an as c}from"./index-DNXVmPlZ.js";import{S as h,W as m}from"./Switch.stories-DxdfmiLO.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const p=` # Switch diff --git a/demo-1732-error-on-icon-prop/assets/Switch.stories-DnffM-h7.js b/demo-1732-error-on-icon-prop/assets/Switch.stories-DxdfmiLO.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/Switch.stories-DnffM-h7.js rename to demo-1732-error-on-icon-prop/assets/Switch.stories-DxdfmiLO.js index 913972ab27..82046bb3bf 100644 --- a/demo-1732-error-on-icon-prop/assets/Switch.stories-DnffM-h7.js +++ b/demo-1732-error-on-icon-prop/assets/Switch.stories-DxdfmiLO.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{f as b}from"./index.esm-CF7nKaqV.js";import{c as w}from"./clsx-B-dksMZM.js";import{r as n}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{f as b}from"./index.esm-edP8GOgy.js";import{c as w}from"./clsx-B-dksMZM.js";import{r as n}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as a,ak as r,al as i,an as d}from"./index-DNXVmPlZ.js";import{T as m,W as l}from"./Table.stories-BUauZ9r1.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-ts_tT3ae.js b/demo-1732-error-on-icon-prop/assets/TableOfContents.docs-DJW_HUkZ.js similarity index 89% rename from demo-1732-error-on-icon-prop/assets/TableOfContents.docs-ts_tT3ae.js rename to demo-1732-error-on-icon-prop/assets/TableOfContents.docs-DJW_HUkZ.js index 1160241a8b..c3b9e740f5 100644 --- a/demo-1732-error-on-icon-prop/assets/TableOfContents.docs-ts_tT3ae.js +++ b/demo-1732-error-on-icon-prop/assets/TableOfContents.docs-DJW_HUkZ.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as r,ak as i,al as a,am as m,an as l}from"./index-Bc_7gYwI.js";import{T as p,M as c}from"./TableOfContents.stories-_SI5XtRy.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Heading-DUu-96hO.js";import"./getHeadingTag-Dv1eMqvl.js";const x=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as r,ak as i,al as a,am as m,an as l}from"./index-DNXVmPlZ.js";import{T as p,M as c}from"./TableOfContents.stories-_SI5XtRy.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Heading-DUu-96hO.js";import"./getHeadingTag-Dv1eMqvl.js";const x=` # Table of Contents diff --git a/demo-1732-error-on-icon-prop/assets/Tabs.docs-6nGHp8Po.js b/demo-1732-error-on-icon-prop/assets/Tabs.docs-DrlgVPat.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/Tabs.docs-6nGHp8Po.js rename to demo-1732-error-on-icon-prop/assets/Tabs.docs-DrlgVPat.js index c73443c71f..b0c9f457c7 100644 --- a/demo-1732-error-on-icon-prop/assets/Tabs.docs-6nGHp8Po.js +++ b/demo-1732-error-on-icon-prop/assets/Tabs.docs-DrlgVPat.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as s,ak as i,al as r,an as h}from"./index-Bc_7gYwI.js";import{T as c,W as l}from"./Tabs.stories-ULt1rxZf.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./exampleContent-hIIPvEhU.js";import"./useKeyboardFocus-CRUFsA_C.js";const p=` +import{j as t}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as s,ak as i,al as r,an as h}from"./index-DNXVmPlZ.js";import{T as c,W as l}from"./Tabs.stories-Bm7ZiycI.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.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-ULt1rxZf.js b/demo-1732-error-on-icon-prop/assets/Tabs.stories-Bm7ZiycI.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/Tabs.stories-ULt1rxZf.js rename to demo-1732-error-on-icon-prop/assets/Tabs.stories-Bm7ZiycI.js index 84ecf49e25..fb885c3b38 100644 --- a/demo-1732-error-on-icon-prop/assets/Tabs.stories-ULt1rxZf.js +++ b/demo-1732-error-on-icon-prop/assets/Tabs.stories-Bm7ZiycI.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-BlAj40OV.js";import{H as B,P as S}from"./index.esm-CF7nKaqV.js";import{b as _}from"./exampleContent-hIIPvEhU.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as s}from"./index-Cs7sjTYM.js";import{u as D}from"./useKeyboardFocus-CRUFsA_C.js";/** +import{j as r}from"./jsx-runtime-BlAj40OV.js";import{H as B,P as S}from"./index.esm-edP8GOgy.js";import{b as _}from"./exampleContent-hIIPvEhU.js";import{c as u}from"./clsx-B-dksMZM.js";import{r as s}from"./index-Cs7sjTYM.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-XkEfTcoo.js b/demo-1732-error-on-icon-prop/assets/TextArea.docs-DYsS5I6T.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/TextArea.docs-XkEfTcoo.js rename to demo-1732-error-on-icon-prop/assets/TextArea.docs-DYsS5I6T.js index 689a67016f..4f3f0674b2 100644 --- a/demo-1732-error-on-icon-prop/assets/TextArea.docs-XkEfTcoo.js +++ b/demo-1732-error-on-icon-prop/assets/TextArea.docs-DYsS5I6T.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as d,am as l,an as i}from"./index-Bc_7gYwI.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-BHn0X52F.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./exampleContent-hIIPvEhU.js";const b=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as d,am as l,an as i}from"./index-DNXVmPlZ.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-BxsPWbDX.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./exampleContent-hIIPvEhU.js";const b=` # TextArea diff --git a/demo-1732-error-on-icon-prop/assets/TextArea.stories-BHn0X52F.js b/demo-1732-error-on-icon-prop/assets/TextArea.stories-BxsPWbDX.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/TextArea.stories-BHn0X52F.js rename to demo-1732-error-on-icon-prop/assets/TextArea.stories-BxsPWbDX.js index 166fd8a415..cc1cabc2c7 100644 --- a/demo-1732-error-on-icon-prop/assets/TextArea.stories-BHn0X52F.js +++ b/demo-1732-error-on-icon-prop/assets/TextArea.stories-BxsPWbDX.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-BlAj40OV.js";import{e as w,f as D,P as $,E as H}from"./index.esm-CF7nKaqV.js";import{b as k}from"./exampleContent-hIIPvEhU.js";import{c as B}from"./clsx-B-dksMZM.js";import{r as G}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{e as w,f as D,P as $,E as H}from"./index.esm-edP8GOgy.js";import{b as k}from"./exampleContent-hIIPvEhU.js";import{c as B}from"./clsx-B-dksMZM.js";import{r as G}from"./index-Cs7sjTYM.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-CT0ktw3i.js b/demo-1732-error-on-icon-prop/assets/TextInput.docs-HAw66gNd.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/TextInput.docs-CT0ktw3i.js rename to demo-1732-error-on-icon-prop/assets/TextInput.docs-HAw66gNd.js index 8addbda70d..4b53419099 100644 --- a/demo-1732-error-on-icon-prop/assets/TextInput.docs-CT0ktw3i.js +++ b/demo-1732-error-on-icon-prop/assets/TextInput.docs-HAw66gNd.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as r,ak as l,al as a,am as d,an as s}from"./index-Bc_7gYwI.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-pTuWJnNM.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const g=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as r,ak as l,al as a,am as d,an as s}from"./index-DNXVmPlZ.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-zliFcPlz.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const g=` # Text Input diff --git a/demo-1732-error-on-icon-prop/assets/TextInput.stories-pTuWJnNM.js b/demo-1732-error-on-icon-prop/assets/TextInput.stories-zliFcPlz.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/TextInput.stories-pTuWJnNM.js rename to demo-1732-error-on-icon-prop/assets/TextInput.stories-zliFcPlz.js index d1dace0786..ce002a7abd 100644 --- a/demo-1732-error-on-icon-prop/assets/TextInput.stories-pTuWJnNM.js +++ b/demo-1732-error-on-icon-prop/assets/TextInput.stories-zliFcPlz.js @@ -1,4 +1,4 @@ -import{j as a}from"./jsx-runtime-BlAj40OV.js";import{e as q,f as R,P as k,E as w}from"./index.esm-CF7nKaqV.js";import{c as K}from"./clsx-B-dksMZM.js";import{r as Q}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{e as q,f as R,P as k,E as w}from"./index.esm-edP8GOgy.js";import{c as K}from"./clsx-B-dksMZM.js";import{r as Q}from"./index-Cs7sjTYM.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-DncAXjHu.js b/demo-1732-error-on-icon-prop/assets/TimeInput.docs-CiEDzstu.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/TimeInput.docs-DncAXjHu.js rename to demo-1732-error-on-icon-prop/assets/TimeInput.docs-CiEDzstu.js index 59e106f314..d4114e5b1a 100644 --- a/demo-1732-error-on-icon-prop/assets/TimeInput.docs-DncAXjHu.js +++ b/demo-1732-error-on-icon-prop/assets/TimeInput.docs-CiEDzstu.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as d,am as c,an as o}from"./index-Bc_7gYwI.js";import{T as l,I as h,D as m,a as p,b as f}from"./TimeInput.stories-BCj8vOd3.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const x=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as d,am as c,an as o}from"./index-DNXVmPlZ.js";import{T as l,I as h,D as m,a as p,b as f}from"./TimeInput.stories-DFSNh9pE.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const x=` # Time Input diff --git a/demo-1732-error-on-icon-prop/assets/TimeInput.stories-BCj8vOd3.js b/demo-1732-error-on-icon-prop/assets/TimeInput.stories-DFSNh9pE.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/TimeInput.stories-BCj8vOd3.js rename to demo-1732-error-on-icon-prop/assets/TimeInput.stories-DFSNh9pE.js index 179f643406..5aed88101b 100644 --- a/demo-1732-error-on-icon-prop/assets/TimeInput.stories-BCj8vOd3.js +++ b/demo-1732-error-on-icon-prop/assets/TimeInput.stories-DFSNh9pE.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-BlAj40OV.js";import{e as y,f as _,P as T,E}from"./index.esm-CF7nKaqV.js";import{c as O}from"./clsx-B-dksMZM.js";import{r as M}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{e as y,f as _,P as T,E}from"./index.esm-edP8GOgy.js";import{c as O}from"./clsx-B-dksMZM.js";import{r as M}from"./index-Cs7sjTYM.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-CMklwapx.js b/demo-1732-error-on-icon-prop/assets/TopTaskLink.docs-BcU2Nl0K.js similarity index 90% rename from demo-1732-error-on-icon-prop/assets/TopTaskLink.docs-CMklwapx.js rename to demo-1732-error-on-icon-prop/assets/TopTaskLink.docs-BcU2Nl0K.js index e502e01032..431414e885 100644 --- a/demo-1732-error-on-icon-prop/assets/TopTaskLink.docs-CMklwapx.js +++ b/demo-1732-error-on-icon-prop/assets/TopTaskLink.docs-BcU2Nl0K.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as s,ak as r,al as a,am as p,an as l}from"./index-Bc_7gYwI.js";import{T as c,M as d}from"./TopTaskLink.stories-C48nKhQq.js";import{S as h}from"./StatusBadge-DJO7oFtY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Badge-DiZ9fuyS.js";const m=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as i}from"./index-BI1Biiay.js";import{ae as s,ak as r,al as a,am as p,an as l}from"./index-DNXVmPlZ.js";import{T as c,M as d}from"./TopTaskLink.stories-CideQWaE.js";import{S as h}from"./StatusBadge-DJO7oFtY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./Badge-DiZ9fuyS.js";const m=` # Top Task Link diff --git a/demo-1732-error-on-icon-prop/assets/TopTaskLink.stories-C48nKhQq.js b/demo-1732-error-on-icon-prop/assets/TopTaskLink.stories-CideQWaE.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/TopTaskLink.stories-C48nKhQq.js rename to demo-1732-error-on-icon-prop/assets/TopTaskLink.stories-CideQWaE.js index fbbdee5234..3047d0755f 100644 --- a/demo-1732-error-on-icon-prop/assets/TopTaskLink.stories-C48nKhQq.js +++ b/demo-1732-error-on-icon-prop/assets/TopTaskLink.stories-CideQWaE.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{G as r}from"./index.esm-CF7nKaqV.js";import{c as g}from"./clsx-B-dksMZM.js";import{r as h}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{G as r}from"./index.esm-edP8GOgy.js";import{c as g}from"./clsx-B-dksMZM.js";import{r as h}from"./index-Cs7sjTYM.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-lXzbBNDB.js b/demo-1732-error-on-icon-prop/assets/UnorderedList.docs-BDiM6yI1.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/UnorderedList.docs-lXzbBNDB.js rename to demo-1732-error-on-icon-prop/assets/UnorderedList.docs-BDiM6yI1.js index 4e3ac46ce5..bc065a7ee4 100644 --- a/demo-1732-error-on-icon-prop/assets/UnorderedList.docs-lXzbBNDB.js +++ b/demo-1732-error-on-icon-prop/assets/UnorderedList.docs-BDiM6yI1.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as h,am as l,an as t}from"./index-Bc_7gYwI.js";import{U as d,T as c,W as m,I as p,S as x}from"./UnorderedList.stories-GXQ38Iw_.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";import"./exampleContent-hIIPvEhU.js";const f=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as h,am as l,an as t}from"./index-DNXVmPlZ.js";import{U as d,T as c,W as m,I as p,S as x}from"./UnorderedList.stories-DIV1RlLi.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";import"./decorators-CweBkPI6.js";import"./exampleContent-hIIPvEhU.js";const f=` # Unordered List diff --git a/demo-1732-error-on-icon-prop/assets/UnorderedList.stories-GXQ38Iw_.js b/demo-1732-error-on-icon-prop/assets/UnorderedList.stories-DIV1RlLi.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/UnorderedList.stories-GXQ38Iw_.js rename to demo-1732-error-on-icon-prop/assets/UnorderedList.stories-DIV1RlLi.js index 1ec8d34c0f..55c8ddce21 100644 --- a/demo-1732-error-on-icon-prop/assets/UnorderedList.stories-GXQ38Iw_.js +++ b/demo-1732-error-on-icon-prop/assets/UnorderedList.stories-DIV1RlLi.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{r as n,P as a}from"./index.esm-CF7nKaqV.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-DQgjFsBh.js";import{i as V}from"./decorators-CweBkPI6.js";import{f as q}from"./exampleContent-hIIPvEhU.js";import{c as _}from"./clsx-B-dksMZM.js";import{r as W}from"./index-Cs7sjTYM.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-BlAj40OV.js";import{r as n,P as a}from"./index.esm-edP8GOgy.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-DQgjFsBh.js";import{i as V}from"./decorators-CweBkPI6.js";import{f as q}from"./exampleContent-hIIPvEhU.js";import{c as _}from"./clsx-B-dksMZM.js";import{r as W}from"./index-Cs7sjTYM.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-2gndWH_y.js b/demo-1732-error-on-icon-prop/assets/VisuallyHidden.docs-CJxGyNLE.js similarity index 79% rename from demo-1732-error-on-icon-prop/assets/VisuallyHidden.docs-2gndWH_y.js rename to demo-1732-error-on-icon-prop/assets/VisuallyHidden.docs-CJxGyNLE.js index 9c110944a5..92feca38a6 100644 --- a/demo-1732-error-on-icon-prop/assets/VisuallyHidden.docs-2gndWH_y.js +++ b/demo-1732-error-on-icon-prop/assets/VisuallyHidden.docs-CJxGyNLE.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as i,am as m}from"./index-Bc_7gYwI.js";import{V as l}from"./VisuallyHidden.stories-i_ey4h_-.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const u=` +import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as r,ak as a,al as i,am as m}from"./index-DNXVmPlZ.js";import{V as l}from"./VisuallyHidden.stories-DTQpbB1y.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.js";const u=` # Visually Hidden diff --git a/demo-1732-error-on-icon-prop/assets/VisuallyHidden.stories-i_ey4h_-.js b/demo-1732-error-on-icon-prop/assets/VisuallyHidden.stories-DTQpbB1y.js similarity index 97% rename from demo-1732-error-on-icon-prop/assets/VisuallyHidden.stories-i_ey4h_-.js rename to demo-1732-error-on-icon-prop/assets/VisuallyHidden.stories-DTQpbB1y.js index 86b5835ffd..37138bc543 100644 --- a/demo-1732-error-on-icon-prop/assets/VisuallyHidden.stories-i_ey4h_-.js +++ b/demo-1732-error-on-icon-prop/assets/VisuallyHidden.stories-DTQpbB1y.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{P as i}from"./index.esm-CF7nKaqV.js";/** +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{P as i}from"./index.esm-edP8GOgy.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-DbPworI9.js b/demo-1732-error-on-icon-prop/assets/border.docs-BYCJ8XLa.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/border.docs-DbPworI9.js rename to demo-1732-error-on-icon-prop/assets/border.docs-BYCJ8XLa.js index 3ec485cea6..27c91fcc81 100644 --- a/demo-1732-error-on-icon-prop/assets/border.docs-DbPworI9.js +++ b/demo-1732-error-on-icon-prop/assets/border.docs-BYCJ8XLa.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as n}from"./index-Bc_7gYwI.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as n}from"./index-DNXVmPlZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-DsjTi82Q.js b/demo-1732-error-on-icon-prop/assets/breakpoints.docs-Bm_f0ZDC.js similarity index 92% rename from demo-1732-error-on-icon-prop/assets/breakpoints.docs-DsjTi82Q.js rename to demo-1732-error-on-icon-prop/assets/breakpoints.docs-Bm_f0ZDC.js index 87afcf6ffc..a8f8d244a3 100644 --- a/demo-1732-error-on-icon-prop/assets/breakpoints.docs-DsjTi82Q.js +++ b/demo-1732-error-on-icon-prop/assets/breakpoints.docs-Bm_f0ZDC.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as r}from"./index-Bc_7gYwI.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as r}from"./index-DNXVmPlZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-R4RJMelv.js b/demo-1732-error-on-icon-prop/assets/colour.docs-D7A7vOOI.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/colour.docs-R4RJMelv.js rename to demo-1732-error-on-icon-prop/assets/colour.docs-D7A7vOOI.js index 67f0a22eb5..ad80c7f8de 100644 --- a/demo-1732-error-on-icon-prop/assets/colour.docs-R4RJMelv.js +++ b/demo-1732-error-on-icon-prop/assets/colour.docs-D7A7vOOI.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as n}from"./index-BI1Biiay.js";import{ae as g}from"./index-Bc_7gYwI.js";import{r as h}from"./index-Cs7sjTYM.js";import{S as p}from"./StatusBadge-DJO7oFtY.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./Badge-DiZ9fuyS.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-BlAj40OV.js";import{useMDXComponents as n}from"./index-BI1Biiay.js";import{ae as g}from"./index-DNXVmPlZ.js";import{r as h}from"./index-Cs7sjTYM.js";import{S as p}from"./StatusBadge-DJO7oFtY.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./Badge-DiZ9fuyS.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-Ph9_AafQ.js b/demo-1732-error-on-icon-prop/assets/config-DFibQQL4.js similarity index 86% rename from demo-1732-error-on-icon-prop/assets/config-Ph9_AafQ.js rename to demo-1732-error-on-icon-prop/assets/config-DFibQQL4.js index 01b8c12c0a..57c9ee9d0b 100644 --- a/demo-1732-error-on-icon-prop/assets/config-Ph9_AafQ.js +++ b/demo-1732-error-on-icon-prop/assets/config-DFibQQL4.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{G as n,b as t,c as i,s as o,S as c,t as d}from"./index.esm-CF7nKaqV.js";import{A as l}from"./PageMenu.stories-DFa96G62.js";import{D as m}from"./Footer.stories-QT73Bk8g.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-BlAj40OV.js";import{G as n,b as t,c as i,s as o,S as c,t as d}from"./index.esm-edP8GOgy.js";import{A as l}from"./PageMenu.stories-DFa96G62.js";import{D as m}from"./Footer.stories-BaJ-LM4v.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-x1AlLmab.js b/demo-1732-error-on-icon-prop/assets/copyright.docs-MubVgTxp.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/copyright.docs-x1AlLmab.js rename to demo-1732-error-on-icon-prop/assets/copyright.docs-MubVgTxp.js index 811c8289ea..7854bc3bc3 100644 --- a/demo-1732-error-on-icon-prop/assets/copyright.docs-x1AlLmab.js +++ b/demo-1732-error-on-icon-prop/assets/copyright.docs-MubVgTxp.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as s,ak as a}from"./index-Bc_7gYwI.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";const i=` +import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as s,ak as a}from"./index-DNXVmPlZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";const i=` # Copyright diff --git a/demo-1732-error-on-icon-prop/assets/entry-preview-C514jeYx.js b/demo-1732-error-on-icon-prop/assets/entry-preview-DUfLW8LW.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/entry-preview-C514jeYx.js rename to demo-1732-error-on-icon-prop/assets/entry-preview-DUfLW8LW.js index 2d7fa1bd30..abac4f9395 100644 --- a/demo-1732-error-on-icon-prop/assets/entry-preview-C514jeYx.js +++ b/demo-1732-error-on-icon-prop/assets/entry-preview-DUfLW8LW.js @@ -1,5 +1,5 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./react-18-B3HRjLEH.js","./index-Cs7sjTYM.js","./_commonjsHelpers-BosuxZz1.js","./index-DJFdew98.js"])))=>i.map(i=>d[i]); -import{_ as Ut}from"./iframe-DcwaDa5u.js";import{_ as kt}from"./chunk-H6MOWX77-DTQOW814.js";import{r as k,R as B}from"./index-Cs7sjTYM.js";import{g as Ft}from"./_commonjsHelpers-BosuxZz1.js";import{r as Gt}from"./index-DJFdew98.js";import"../sb-preview/runtime.js";var Ne={exports:{}};const jt="2.0.0",ut=256,Mt=Number.MAX_SAFE_INTEGER||9007199254740991,Xt=16,Vt=ut-6,xt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var ie={MAX_LENGTH:ut,MAX_SAFE_COMPONENT_LENGTH:Xt,MAX_SAFE_BUILD_LENGTH:Vt,MAX_SAFE_INTEGER:Mt,RELEASE_TYPES:xt,SEMVER_SPEC_VERSION:jt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Ee={};const Yt=typeof process=="object"&&Ee&&Ee.NODE_DEBUG&&/\bsemver\b/i.test(Ee.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var oe=Yt;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:o}=ie,a=oe;t=e.exports={};const l=t.re=[],u=t.safeRe=[],i=t.src=[],s=t.t={};let f=0;const p="[a-zA-Z0-9-]",L=[["\\s",1],["\\d",o],[p,n]],d=F=>{for(const[D,G]of L)F=F.split(`${D}*`).join(`${D}{0,${G}}`).split(`${D}+`).join(`${D}{1,${G}}`);return F},R=(F,D,G)=>{const pe=d(D),T=f++;a(F,T,D),s[F]=T,i[T]=D,l[T]=new RegExp(D,G?"g":void 0),u[T]=new RegExp(pe,G?"g":void 0)};R("NUMERICIDENTIFIER","0|[1-9]\\d*"),R("NUMERICIDENTIFIERLOOSE","\\d+"),R("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),R("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),R("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),R("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),R("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),R("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),R("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),R("BUILDIDENTIFIER",`${p}+`),R("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),R("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),R("FULL",`^${i[s.FULLPLAIN]}$`),R("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),R("LOOSE",`^${i[s.LOOSEPLAIN]}$`),R("GTLT","((?:<|>)?=?)"),R("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),R("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),R("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),R("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),R("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),R("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),R("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),R("COERCE",`${i[s.COERCEPLAIN]}(?:$|[^\\d])`),R("COERCEFULL",i[s.COERCEPLAIN]+`(?:${i[s.PRERELEASE]})?(?:${i[s.BUILD]})?(?:$|[^\\d])`),R("COERCERTL",i[s.COERCE],!0),R("COERCERTLFULL",i[s.COERCEFULL],!0),R("LONETILDE","(?:~>?)"),R("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",R("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),R("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),R("LONECARET","(?:\\^)"),R("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",R("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),R("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),R("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),R("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),R("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",R("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),R("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),R("STAR","(<|>)?=?\\s*\\*"),R("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),R("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Ne,Ne.exports);var q=Ne.exports;const Wt=Object.freeze({loose:!0}),Ht=Object.freeze({}),Bt=e=>e?typeof e!="object"?Wt:e:Ht;var Oe=Bt;const Ge=/^[0-9]+$/,ft=(e,t)=>{const r=Ge.test(e),n=Ge.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:eft(t,e);var ht={compareIdentifiers:ft,rcompareIdentifiers:Kt};const J=oe,{MAX_LENGTH:je,MAX_SAFE_INTEGER:Q}=ie,{safeRe:Me,t:Xe}=q,qt=Oe,{compareIdentifiers:M}=ht;let zt=class U{constructor(t,r){if(r=qt(r),t instanceof U){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>je)throw new TypeError(`version is longer than ${je} characters`);J("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=t.trim().match(r.loose?Me[Xe.LOOSE]:Me[Xe.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Q||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Q||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Q||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){const a=+o;if(a>=0&&a=0;)typeof this.prerelease[a]=="number"&&(this.prerelease[a]++,a=-2);if(a===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(r){let a=[r,o];n===!1&&(a=[r]),M(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var y=zt;const Ve=y,Zt=(e,t,r=!1)=>{if(e instanceof Ve)return e;try{return new Ve(e,t)}catch(n){if(!r)return null;throw n}};var X=Zt;const Jt=X,Qt=(e,t)=>{const r=Jt(e,t);return r?r.version:null};var er=Qt;const tr=X,rr=(e,t)=>{const r=tr(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};var nr=rr;const xe=y,sr=(e,t,r,n,o)=>{typeof r=="string"&&(o=n,n=r,r=void 0);try{return new xe(e instanceof xe?e.version:e,r).inc(t,n,o).version}catch{return null}};var ir=sr;const Ye=X,or=(e,t)=>{const r=Ye(e,null,!0),n=Ye(t,null,!0),o=r.compare(n);if(o===0)return null;const a=o>0,l=a?r:n,u=a?n:r,i=!!l.prerelease.length;if(!!u.prerelease.length&&!i)return!u.patch&&!u.minor?"major":l.patch?"patch":l.minor?"minor":"major";const f=i?"pre":"";return r.major!==n.major?f+"major":r.minor!==n.minor?f+"minor":r.patch!==n.patch?f+"patch":"prerelease"};var ar=or;const lr=y,cr=(e,t)=>new lr(e,t).major;var ur=cr;const fr=y,hr=(e,t)=>new fr(e,t).minor;var pr=hr;const Er=y,mr=(e,t)=>new Er(e,t).patch;var dr=mr;const $r=X,Rr=(e,t)=>{const r=$r(e,t);return r&&r.prerelease.length?r.prerelease:null};var vr=Rr;const We=y,Ir=(e,t,r)=>new We(e,r).compare(new We(t,r));var P=Ir;const gr=P,Lr=(e,t,r)=>gr(t,e,r);var wr=Lr;const Nr=P,Tr=(e,t)=>Nr(e,t,!0);var Or=Tr;const He=y,Sr=(e,t,r)=>{const n=new He(e,r),o=new He(t,r);return n.compare(o)||n.compareBuild(o)};var Se=Sr;const yr=Se,Ar=(e,t)=>e.sort((r,n)=>yr(r,n,t));var Cr=Ar;const _r=Se,Dr=(e,t)=>e.sort((r,n)=>_r(n,r,t));var Pr=Dr;const br=P,Ur=(e,t,r)=>br(e,t,r)>0;var ae=Ur;const kr=P,Fr=(e,t,r)=>kr(e,t,r)<0;var ye=Fr;const Gr=P,jr=(e,t,r)=>Gr(e,t,r)===0;var pt=jr;const Mr=P,Xr=(e,t,r)=>Mr(e,t,r)!==0;var Et=Xr;const Vr=P,xr=(e,t,r)=>Vr(e,t,r)>=0;var Ae=xr;const Yr=P,Wr=(e,t,r)=>Yr(e,t,r)<=0;var Ce=Wr;const Hr=pt,Br=Et,Kr=ae,qr=Ae,zr=ye,Zr=Ce,Jr=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return Hr(e,r,n);case"!=":return Br(e,r,n);case">":return Kr(e,r,n);case">=":return qr(e,r,n);case"<":return zr(e,r,n);case"<=":return Zr(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};var mt=Jr;const Qr=y,en=X,{safeRe:ee,t:te}=q,tn=(e,t)=>{if(e instanceof Qr)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?ee[te.COERCEFULL]:ee[te.COERCE]);else{const i=t.includePrerelease?ee[te.COERCERTLFULL]:ee[te.COERCERTL];let s;for(;(s=i.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||s.index+s[0].length!==r.index+r[0].length)&&(r=s),i.lastIndex=s.index+s[1].length+s[2].length;i.lastIndex=-1}if(r===null)return null;const n=r[2],o=r[3]||"0",a=r[4]||"0",l=t.includePrerelease&&r[5]?`-${r[5]}`:"",u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return en(`${n}.${o}.${a}${l}${u}`,t)};var rn=tn;class nn{constructor(){this.max=1e3,this.map=new Map}get(t){const r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){const o=this.map.keys().next().value;this.delete(o)}this.map.set(t,r)}return this}}var sn=nn,me,Be;function b(){if(Be)return me;Be=1;const e=/\s+/g;class t{constructor(c,$){if($=o($),c instanceof t)return c.loose===!!$.loose&&c.includePrerelease===!!$.includePrerelease?c:new t(c.raw,$);if(c instanceof a)return this.raw=c.value,this.set=[[c]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=c.trim().replace(e," "),this.set=this.raw.split("||").map(E=>this.parseRange(E.trim())).filter(E=>E.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const E=this.set[0];if(this.set=this.set.filter(v=>!F(v[0])),this.set.length===0)this.set=[E];else if(this.set.length>1){for(const v of this.set)if(v.length===1&&D(v[0])){this.set=[v];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let c=0;c0&&(this.formatted+="||");const $=this.set[c];for(let E=0;E<$.length;E++)E>0&&(this.formatted+=" "),this.formatted+=$[E].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(c){const E=((this.options.includePrerelease&&d)|(this.options.loose&&R))+":"+c,v=n.get(E);if(v)return v;const m=this.options.loose,I=m?i[s.HYPHENRANGELOOSE]:i[s.HYPHENRANGE];c=c.replace(I,Pt(this.options.includePrerelease)),l("hyphen replace",c),c=c.replace(i[s.COMPARATORTRIM],f),l("comparator trim",c),c=c.replace(i[s.TILDETRIM],p),l("tilde trim",c),c=c.replace(i[s.CARETTRIM],L),l("caret trim",c);let w=c.split(" ").map(O=>pe(O,this.options)).join(" ").split(/\s+/).map(O=>Dt(O,this.options));m&&(w=w.filter(O=>(l("loose invalid filter",O,this.options),!!O.match(i[s.COMPARATORLOOSE])))),l("range list",w);const g=new Map,N=w.map(O=>new a(O,this.options));for(const O of N){if(F(O))return[O];g.set(O.value,O)}g.size>1&&g.has("")&&g.delete("");const C=[...g.values()];return n.set(E,C),C}intersects(c,$){if(!(c instanceof t))throw new TypeError("a Range is required");return this.set.some(E=>G(E,$)&&c.set.some(v=>G(v,$)&&E.every(m=>v.every(I=>m.intersects(I,$)))))}test(c){if(!c)return!1;if(typeof c=="string")try{c=new u(c,this.options)}catch{return!1}for(let $=0;$h.value==="<0.0.0-0",D=h=>h.value==="",G=(h,c)=>{let $=!0;const E=h.slice();let v=E.pop();for(;$&&E.length;)$=E.every(m=>v.intersects(m,c)),v=E.pop();return $},pe=(h,c)=>(l("comp",h,c),h=St(h,c),l("caret",h),h=Tt(h,c),l("tildes",h),h=At(h,c),l("xrange",h),h=_t(h,c),l("stars",h),h),T=h=>!h||h.toLowerCase()==="x"||h==="*",Tt=(h,c)=>h.trim().split(/\s+/).map($=>Ot($,c)).join(" "),Ot=(h,c)=>{const $=c.loose?i[s.TILDELOOSE]:i[s.TILDE];return h.replace($,(E,v,m,I,w)=>{l("tilde",h,E,v,m,I,w);let g;return T(v)?g="":T(m)?g=`>=${v}.0.0 <${+v+1}.0.0-0`:T(I)?g=`>=${v}.${m}.0 <${v}.${+m+1}.0-0`:w?(l("replaceTilde pr",w),g=`>=${v}.${m}.${I}-${w} <${v}.${+m+1}.0-0`):g=`>=${v}.${m}.${I} <${v}.${+m+1}.0-0`,l("tilde return",g),g})},St=(h,c)=>h.trim().split(/\s+/).map($=>yt($,c)).join(" "),yt=(h,c)=>{l("caret",h,c);const $=c.loose?i[s.CARETLOOSE]:i[s.CARET],E=c.includePrerelease?"-0":"";return h.replace($,(v,m,I,w,g)=>{l("caret",h,v,m,I,w,g);let N;return T(m)?N="":T(I)?N=`>=${m}.0.0${E} <${+m+1}.0.0-0`:T(w)?m==="0"?N=`>=${m}.${I}.0${E} <${m}.${+I+1}.0-0`:N=`>=${m}.${I}.0${E} <${+m+1}.0.0-0`:g?(l("replaceCaret pr",g),m==="0"?I==="0"?N=`>=${m}.${I}.${w}-${g} <${m}.${I}.${+w+1}-0`:N=`>=${m}.${I}.${w}-${g} <${m}.${+I+1}.0-0`:N=`>=${m}.${I}.${w}-${g} <${+m+1}.0.0-0`):(l("no pr"),m==="0"?I==="0"?N=`>=${m}.${I}.${w}${E} <${m}.${I}.${+w+1}-0`:N=`>=${m}.${I}.${w}${E} <${m}.${+I+1}.0-0`:N=`>=${m}.${I}.${w} <${+m+1}.0.0-0`),l("caret return",N),N})},At=(h,c)=>(l("replaceXRanges",h,c),h.split(/\s+/).map($=>Ct($,c)).join(" ")),Ct=(h,c)=>{h=h.trim();const $=c.loose?i[s.XRANGELOOSE]:i[s.XRANGE];return h.replace($,(E,v,m,I,w,g)=>{l("xRange",h,E,v,m,I,w,g);const N=T(m),C=N||T(I),O=C||T(w),Y=O;return v==="="&&Y&&(v=""),g=c.includePrerelease?"-0":"",N?v===">"||v==="<"?E="<0.0.0-0":E="*":v&&Y?(C&&(I=0),w=0,v===">"?(v=">=",C?(m=+m+1,I=0,w=0):(I=+I+1,w=0)):v==="<="&&(v="<",C?m=+m+1:I=+I+1),v==="<"&&(g="-0"),E=`${v+m}.${I}.${w}${g}`):C?E=`>=${m}.0.0${g} <${+m+1}.0.0-0`:O&&(E=`>=${m}.${I}.0${g} <${m}.${+I+1}.0-0`),l("xRange return",E),E})},_t=(h,c)=>(l("replaceStars",h,c),h.trim().replace(i[s.STAR],"")),Dt=(h,c)=>(l("replaceGTE0",h,c),h.trim().replace(i[c.includePrerelease?s.GTE0PRE:s.GTE0],"")),Pt=h=>(c,$,E,v,m,I,w,g,N,C,O,Y)=>(T(E)?$="":T(v)?$=`>=${E}.0.0${h?"-0":""}`:T(m)?$=`>=${E}.${v}.0${h?"-0":""}`:I?$=`>=${$}`:$=`>=${$}${h?"-0":""}`,T(N)?g="":T(C)?g=`<${+N+1}.0.0-0`:T(O)?g=`<${N}.${+C+1}.0-0`:Y?g=`<=${N}.${C}.${O}-${Y}`:h?g=`<${N}.${C}.${+O+1}-0`:g=`<=${g}`,`${$} ${g}`.trim()),bt=(h,c,$)=>{for(let E=0;E0){const v=h[E].semver;if(v.major===c.major&&v.minor===c.minor&&v.patch===c.patch)return!0}return!1}return!0};return me}var de,Ke;function le(){if(Ke)return de;Ke=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(f,p){if(p=r(p),f instanceof t){if(f.loose===!!p.loose)return f;f=f.value}f=f.trim().split(/\s+/).join(" "),l("comparator",f,p),this.options=p,this.loose=!!p.loose,this.parse(f),this.semver===e?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(f){const p=this.options.loose?n[o.COMPARATORLOOSE]:n[o.COMPARATOR],L=f.match(p);if(!L)throw new TypeError(`Invalid comparator: ${f}`);this.operator=L[1]!==void 0?L[1]:"",this.operator==="="&&(this.operator=""),L[2]?this.semver=new u(L[2],this.options.loose):this.semver=e}toString(){return this.value}test(f){if(l("Comparator.test",f,this.options.loose),this.semver===e||f===e)return!0;if(typeof f=="string")try{f=new u(f,this.options)}catch{return!1}return a(f,this.operator,this.semver,this.options)}intersects(f,p){if(!(f instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new i(f.value,p).test(this.value):f.operator===""?f.value===""?!0:new i(this.value,p).test(f.semver):(p=r(p),p.includePrerelease&&(this.value==="<0.0.0-0"||f.value==="<0.0.0-0")||!p.includePrerelease&&(this.value.startsWith("<0.0.0")||f.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&f.operator.startsWith(">")||this.operator.startsWith("<")&&f.operator.startsWith("<")||this.semver.version===f.semver.version&&this.operator.includes("=")&&f.operator.includes("=")||a(this.semver,"<",f.semver,p)&&this.operator.startsWith(">")&&f.operator.startsWith("<")||a(this.semver,">",f.semver,p)&&this.operator.startsWith("<")&&f.operator.startsWith(">")))}}de=t;const r=Oe,{safeRe:n,t:o}=q,a=mt,l=oe,u=y,i=b();return de}const on=b(),an=(e,t,r)=>{try{t=new on(t,r)}catch{return!1}return t.test(e)};var ce=an;const ln=b(),cn=(e,t)=>new ln(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));var un=cn;const fn=y,hn=b(),pn=(e,t,r)=>{let n=null,o=null,a=null;try{a=new hn(t,r)}catch{return null}return e.forEach(l=>{a.test(l)&&(!n||o.compare(l)===-1)&&(n=l,o=new fn(n,r))}),n};var En=pn;const mn=y,dn=b(),$n=(e,t,r)=>{let n=null,o=null,a=null;try{a=new dn(t,r)}catch{return null}return e.forEach(l=>{a.test(l)&&(!n||o.compare(l)===1)&&(n=l,o=new mn(n,r))}),n};var Rn=$n;const $e=y,vn=b(),qe=ae,In=(e,t)=>{e=new vn(e,t);let r=new $e("0.0.0");if(e.test(r)||(r=new $e("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n{const u=new $e(l.semver.version);switch(l.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!a||qe(u,a))&&(a=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${l.operator}`)}}),a&&(!r||qe(r,a))&&(r=a)}return r&&e.test(r)?r:null};var gn=In;const Ln=b(),wn=(e,t)=>{try{return new Ln(e,t).range||"*"}catch{return null}};var Nn=wn;const Tn=y,dt=le(),{ANY:On}=dt,Sn=b(),yn=ce,ze=ae,Ze=ye,An=Ce,Cn=Ae,_n=(e,t,r,n)=>{e=new Tn(e,n),t=new Sn(t,n);let o,a,l,u,i;switch(r){case">":o=ze,a=An,l=Ze,u=">",i=">=";break;case"<":o=Ze,a=Cn,l=ze,u="<",i="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(yn(e,t,n))return!1;for(let s=0;s{d.semver===On&&(d=new dt(">=0.0.0")),p=p||d,L=L||d,o(d.semver,p.semver,n)?p=d:l(d.semver,L.semver,n)&&(L=d)}),p.operator===u||p.operator===i||(!L.operator||L.operator===u)&&a(e,L.semver))return!1;if(L.operator===i&&l(e,L.semver))return!1}return!0};var _e=_n;const Dn=_e,Pn=(e,t,r)=>Dn(e,t,">",r);var bn=Pn;const Un=_e,kn=(e,t,r)=>Un(e,t,"<",r);var Fn=kn;const Je=b(),Gn=(e,t,r)=>(e=new Je(e,r),t=new Je(t,r),e.intersects(t,r));var jn=Gn;const Mn=ce,Xn=P;var Vn=(e,t,r)=>{const n=[];let o=null,a=null;const l=e.sort((f,p)=>Xn(f,p,r));for(const f of l)Mn(f,t,r)?(a=f,o||(o=f)):(a&&n.push([o,a]),a=null,o=null);o&&n.push([o,null]);const u=[];for(const[f,p]of n)f===p?u.push(f):!p&&f===l[0]?u.push("*"):p?f===l[0]?u.push(`<=${p}`):u.push(`${f} - ${p}`):u.push(`>=${f}`);const i=u.join(" || "),s=typeof t.raw=="string"?t.raw:String(t);return i.length{if(e===t)return!0;e=new Qe(e,r),t=new Qe(t,r);let n=!1;e:for(const o of e.set){for(const a of t.set){const l=Wn(o,a,r);if(n=n||l!==null,l)continue e}if(n)return!1}return!0},Yn=[new De(">=0.0.0-0")],et=[new De(">=0.0.0")],Wn=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Re){if(t.length===1&&t[0].semver===Re)return!0;r.includePrerelease?e=Yn:e=et}if(t.length===1&&t[0].semver===Re){if(r.includePrerelease)return!0;t=et}const n=new Set;let o,a;for(const d of e)d.operator===">"||d.operator===">="?o=tt(o,d,r):d.operator==="<"||d.operator==="<="?a=rt(a,d,r):n.add(d.semver);if(n.size>1)return null;let l;if(o&&a){if(l=Pe(o.semver,a.semver,r),l>0)return null;if(l===0&&(o.operator!==">="||a.operator!=="<="))return null}for(const d of n){if(o&&!W(d,String(o),r)||a&&!W(d,String(a),r))return null;for(const R of t)if(!W(d,String(R),r))return!1;return!0}let u,i,s,f,p=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:!1,L=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1;p&&p.prerelease.length===1&&a.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(const d of t){if(f=f||d.operator===">"||d.operator===">=",s=s||d.operator==="<"||d.operator==="<=",o){if(L&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===L.major&&d.semver.minor===L.minor&&d.semver.patch===L.patch&&(L=!1),d.operator===">"||d.operator===">="){if(u=tt(o,d,r),u===d&&u!==o)return!1}else if(o.operator===">="&&!W(o.semver,String(d),r))return!1}if(a){if(p&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===p.major&&d.semver.minor===p.minor&&d.semver.patch===p.patch&&(p=!1),d.operator==="<"||d.operator==="<="){if(i=rt(a,d,r),i===d&&i!==a)return!1}else if(a.operator==="<="&&!W(a.semver,String(d),r))return!1}if(!d.operator&&(a||o)&&l!==0)return!1}return!(o&&s&&!a&&l!==0||a&&f&&!o&&l!==0||L||p)},tt=(e,t,r)=>{if(!e)return t;const n=Pe(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},rt=(e,t,r)=>{if(!e)return t;const n=Pe(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};var Hn=xn;const ve=q,nt=ie,Bn=y,st=ht,Kn=X,qn=er,zn=nr,Zn=ir,Jn=ar,Qn=ur,es=pr,ts=dr,rs=vr,ns=P,ss=wr,is=Or,os=Se,as=Cr,ls=Pr,cs=ae,us=ye,fs=pt,hs=Et,ps=Ae,Es=Ce,ms=mt,ds=rn,$s=le(),Rs=b(),vs=ce,Is=un,gs=En,Ls=Rn,ws=gn,Ns=Nn,Ts=_e,Os=bn,Ss=Fn,ys=jn,As=Vn,Cs=Hn;var _s={parse:Kn,valid:qn,clean:zn,inc:Zn,diff:Jn,major:Qn,minor:es,patch:ts,prerelease:rs,compare:ns,rcompare:ss,compareLoose:is,compareBuild:os,sort:as,rsort:ls,gt:cs,lt:us,eq:fs,neq:hs,gte:ps,lte:Es,cmp:ms,coerce:ds,Comparator:$s,Range:Rs,satisfies:vs,toComparators:Is,maxSatisfying:gs,minSatisfying:Ls,minVersion:ws,validRange:Ns,outside:Ts,gtr:Os,ltr:Ss,intersects:ys,simplifyRange:As,subset:Cs,SemVer:Bn,re:ve.re,src:ve.src,tokens:ve.t,SEMVER_SPEC_VERSION:nt.SEMVER_SPEC_VERSION,RELEASE_TYPES:nt.RELEASE_TYPES,compareIdentifiers:st.compareIdentifiers,rcompareIdentifiers:st.rcompareIdentifiers};const it=Ft(_s);var S={};/** +import{_ as Ut}from"./iframe-Chn7UdQi.js";import{_ as kt}from"./chunk-H6MOWX77-DTQOW814.js";import{r as k,R as B}from"./index-Cs7sjTYM.js";import{g as Ft}from"./_commonjsHelpers-BosuxZz1.js";import{r as Gt}from"./index-DJFdew98.js";import"../sb-preview/runtime.js";var Ne={exports:{}};const jt="2.0.0",ut=256,Mt=Number.MAX_SAFE_INTEGER||9007199254740991,Xt=16,Vt=ut-6,xt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var ie={MAX_LENGTH:ut,MAX_SAFE_COMPONENT_LENGTH:Xt,MAX_SAFE_BUILD_LENGTH:Vt,MAX_SAFE_INTEGER:Mt,RELEASE_TYPES:xt,SEMVER_SPEC_VERSION:jt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Ee={};const Yt=typeof process=="object"&&Ee&&Ee.NODE_DEBUG&&/\bsemver\b/i.test(Ee.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var oe=Yt;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:o}=ie,a=oe;t=e.exports={};const l=t.re=[],u=t.safeRe=[],i=t.src=[],s=t.t={};let f=0;const p="[a-zA-Z0-9-]",L=[["\\s",1],["\\d",o],[p,n]],d=F=>{for(const[D,G]of L)F=F.split(`${D}*`).join(`${D}{0,${G}}`).split(`${D}+`).join(`${D}{1,${G}}`);return F},R=(F,D,G)=>{const pe=d(D),T=f++;a(F,T,D),s[F]=T,i[T]=D,l[T]=new RegExp(D,G?"g":void 0),u[T]=new RegExp(pe,G?"g":void 0)};R("NUMERICIDENTIFIER","0|[1-9]\\d*"),R("NUMERICIDENTIFIERLOOSE","\\d+"),R("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),R("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),R("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),R("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),R("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),R("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),R("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),R("BUILDIDENTIFIER",`${p}+`),R("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),R("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),R("FULL",`^${i[s.FULLPLAIN]}$`),R("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),R("LOOSE",`^${i[s.LOOSEPLAIN]}$`),R("GTLT","((?:<|>)?=?)"),R("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),R("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),R("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),R("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),R("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),R("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),R("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),R("COERCE",`${i[s.COERCEPLAIN]}(?:$|[^\\d])`),R("COERCEFULL",i[s.COERCEPLAIN]+`(?:${i[s.PRERELEASE]})?(?:${i[s.BUILD]})?(?:$|[^\\d])`),R("COERCERTL",i[s.COERCE],!0),R("COERCERTLFULL",i[s.COERCEFULL],!0),R("LONETILDE","(?:~>?)"),R("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",R("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),R("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),R("LONECARET","(?:\\^)"),R("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",R("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),R("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),R("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),R("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),R("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",R("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),R("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),R("STAR","(<|>)?=?\\s*\\*"),R("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),R("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Ne,Ne.exports);var q=Ne.exports;const Wt=Object.freeze({loose:!0}),Ht=Object.freeze({}),Bt=e=>e?typeof e!="object"?Wt:e:Ht;var Oe=Bt;const Ge=/^[0-9]+$/,ft=(e,t)=>{const r=Ge.test(e),n=Ge.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:eft(t,e);var ht={compareIdentifiers:ft,rcompareIdentifiers:Kt};const J=oe,{MAX_LENGTH:je,MAX_SAFE_INTEGER:Q}=ie,{safeRe:Me,t:Xe}=q,qt=Oe,{compareIdentifiers:M}=ht;let zt=class U{constructor(t,r){if(r=qt(r),t instanceof U){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>je)throw new TypeError(`version is longer than ${je} characters`);J("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=t.trim().match(r.loose?Me[Xe.LOOSE]:Me[Xe.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Q||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Q||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Q||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){const a=+o;if(a>=0&&a=0;)typeof this.prerelease[a]=="number"&&(this.prerelease[a]++,a=-2);if(a===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(r){let a=[r,o];n===!1&&(a=[r]),M(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var y=zt;const Ve=y,Zt=(e,t,r=!1)=>{if(e instanceof Ve)return e;try{return new Ve(e,t)}catch(n){if(!r)return null;throw n}};var X=Zt;const Jt=X,Qt=(e,t)=>{const r=Jt(e,t);return r?r.version:null};var er=Qt;const tr=X,rr=(e,t)=>{const r=tr(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};var nr=rr;const xe=y,sr=(e,t,r,n,o)=>{typeof r=="string"&&(o=n,n=r,r=void 0);try{return new xe(e instanceof xe?e.version:e,r).inc(t,n,o).version}catch{return null}};var ir=sr;const Ye=X,or=(e,t)=>{const r=Ye(e,null,!0),n=Ye(t,null,!0),o=r.compare(n);if(o===0)return null;const a=o>0,l=a?r:n,u=a?n:r,i=!!l.prerelease.length;if(!!u.prerelease.length&&!i)return!u.patch&&!u.minor?"major":l.patch?"patch":l.minor?"minor":"major";const f=i?"pre":"";return r.major!==n.major?f+"major":r.minor!==n.minor?f+"minor":r.patch!==n.patch?f+"patch":"prerelease"};var ar=or;const lr=y,cr=(e,t)=>new lr(e,t).major;var ur=cr;const fr=y,hr=(e,t)=>new fr(e,t).minor;var pr=hr;const Er=y,mr=(e,t)=>new Er(e,t).patch;var dr=mr;const $r=X,Rr=(e,t)=>{const r=$r(e,t);return r&&r.prerelease.length?r.prerelease:null};var vr=Rr;const We=y,Ir=(e,t,r)=>new We(e,r).compare(new We(t,r));var P=Ir;const gr=P,Lr=(e,t,r)=>gr(t,e,r);var wr=Lr;const Nr=P,Tr=(e,t)=>Nr(e,t,!0);var Or=Tr;const He=y,Sr=(e,t,r)=>{const n=new He(e,r),o=new He(t,r);return n.compare(o)||n.compareBuild(o)};var Se=Sr;const yr=Se,Ar=(e,t)=>e.sort((r,n)=>yr(r,n,t));var Cr=Ar;const _r=Se,Dr=(e,t)=>e.sort((r,n)=>_r(n,r,t));var Pr=Dr;const br=P,Ur=(e,t,r)=>br(e,t,r)>0;var ae=Ur;const kr=P,Fr=(e,t,r)=>kr(e,t,r)<0;var ye=Fr;const Gr=P,jr=(e,t,r)=>Gr(e,t,r)===0;var pt=jr;const Mr=P,Xr=(e,t,r)=>Mr(e,t,r)!==0;var Et=Xr;const Vr=P,xr=(e,t,r)=>Vr(e,t,r)>=0;var Ae=xr;const Yr=P,Wr=(e,t,r)=>Yr(e,t,r)<=0;var Ce=Wr;const Hr=pt,Br=Et,Kr=ae,qr=Ae,zr=ye,Zr=Ce,Jr=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return Hr(e,r,n);case"!=":return Br(e,r,n);case">":return Kr(e,r,n);case">=":return qr(e,r,n);case"<":return zr(e,r,n);case"<=":return Zr(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};var mt=Jr;const Qr=y,en=X,{safeRe:ee,t:te}=q,tn=(e,t)=>{if(e instanceof Qr)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?ee[te.COERCEFULL]:ee[te.COERCE]);else{const i=t.includePrerelease?ee[te.COERCERTLFULL]:ee[te.COERCERTL];let s;for(;(s=i.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||s.index+s[0].length!==r.index+r[0].length)&&(r=s),i.lastIndex=s.index+s[1].length+s[2].length;i.lastIndex=-1}if(r===null)return null;const n=r[2],o=r[3]||"0",a=r[4]||"0",l=t.includePrerelease&&r[5]?`-${r[5]}`:"",u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return en(`${n}.${o}.${a}${l}${u}`,t)};var rn=tn;class nn{constructor(){this.max=1e3,this.map=new Map}get(t){const r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){const o=this.map.keys().next().value;this.delete(o)}this.map.set(t,r)}return this}}var sn=nn,me,Be;function b(){if(Be)return me;Be=1;const e=/\s+/g;class t{constructor(c,$){if($=o($),c instanceof t)return c.loose===!!$.loose&&c.includePrerelease===!!$.includePrerelease?c:new t(c.raw,$);if(c instanceof a)return this.raw=c.value,this.set=[[c]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=c.trim().replace(e," "),this.set=this.raw.split("||").map(E=>this.parseRange(E.trim())).filter(E=>E.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const E=this.set[0];if(this.set=this.set.filter(v=>!F(v[0])),this.set.length===0)this.set=[E];else if(this.set.length>1){for(const v of this.set)if(v.length===1&&D(v[0])){this.set=[v];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let c=0;c0&&(this.formatted+="||");const $=this.set[c];for(let E=0;E<$.length;E++)E>0&&(this.formatted+=" "),this.formatted+=$[E].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(c){const E=((this.options.includePrerelease&&d)|(this.options.loose&&R))+":"+c,v=n.get(E);if(v)return v;const m=this.options.loose,I=m?i[s.HYPHENRANGELOOSE]:i[s.HYPHENRANGE];c=c.replace(I,Pt(this.options.includePrerelease)),l("hyphen replace",c),c=c.replace(i[s.COMPARATORTRIM],f),l("comparator trim",c),c=c.replace(i[s.TILDETRIM],p),l("tilde trim",c),c=c.replace(i[s.CARETTRIM],L),l("caret trim",c);let w=c.split(" ").map(O=>pe(O,this.options)).join(" ").split(/\s+/).map(O=>Dt(O,this.options));m&&(w=w.filter(O=>(l("loose invalid filter",O,this.options),!!O.match(i[s.COMPARATORLOOSE])))),l("range list",w);const g=new Map,N=w.map(O=>new a(O,this.options));for(const O of N){if(F(O))return[O];g.set(O.value,O)}g.size>1&&g.has("")&&g.delete("");const C=[...g.values()];return n.set(E,C),C}intersects(c,$){if(!(c instanceof t))throw new TypeError("a Range is required");return this.set.some(E=>G(E,$)&&c.set.some(v=>G(v,$)&&E.every(m=>v.every(I=>m.intersects(I,$)))))}test(c){if(!c)return!1;if(typeof c=="string")try{c=new u(c,this.options)}catch{return!1}for(let $=0;$h.value==="<0.0.0-0",D=h=>h.value==="",G=(h,c)=>{let $=!0;const E=h.slice();let v=E.pop();for(;$&&E.length;)$=E.every(m=>v.intersects(m,c)),v=E.pop();return $},pe=(h,c)=>(l("comp",h,c),h=St(h,c),l("caret",h),h=Tt(h,c),l("tildes",h),h=At(h,c),l("xrange",h),h=_t(h,c),l("stars",h),h),T=h=>!h||h.toLowerCase()==="x"||h==="*",Tt=(h,c)=>h.trim().split(/\s+/).map($=>Ot($,c)).join(" "),Ot=(h,c)=>{const $=c.loose?i[s.TILDELOOSE]:i[s.TILDE];return h.replace($,(E,v,m,I,w)=>{l("tilde",h,E,v,m,I,w);let g;return T(v)?g="":T(m)?g=`>=${v}.0.0 <${+v+1}.0.0-0`:T(I)?g=`>=${v}.${m}.0 <${v}.${+m+1}.0-0`:w?(l("replaceTilde pr",w),g=`>=${v}.${m}.${I}-${w} <${v}.${+m+1}.0-0`):g=`>=${v}.${m}.${I} <${v}.${+m+1}.0-0`,l("tilde return",g),g})},St=(h,c)=>h.trim().split(/\s+/).map($=>yt($,c)).join(" "),yt=(h,c)=>{l("caret",h,c);const $=c.loose?i[s.CARETLOOSE]:i[s.CARET],E=c.includePrerelease?"-0":"";return h.replace($,(v,m,I,w,g)=>{l("caret",h,v,m,I,w,g);let N;return T(m)?N="":T(I)?N=`>=${m}.0.0${E} <${+m+1}.0.0-0`:T(w)?m==="0"?N=`>=${m}.${I}.0${E} <${m}.${+I+1}.0-0`:N=`>=${m}.${I}.0${E} <${+m+1}.0.0-0`:g?(l("replaceCaret pr",g),m==="0"?I==="0"?N=`>=${m}.${I}.${w}-${g} <${m}.${I}.${+w+1}-0`:N=`>=${m}.${I}.${w}-${g} <${m}.${+I+1}.0-0`:N=`>=${m}.${I}.${w}-${g} <${+m+1}.0.0-0`):(l("no pr"),m==="0"?I==="0"?N=`>=${m}.${I}.${w}${E} <${m}.${I}.${+w+1}-0`:N=`>=${m}.${I}.${w}${E} <${m}.${+I+1}.0-0`:N=`>=${m}.${I}.${w} <${+m+1}.0.0-0`),l("caret return",N),N})},At=(h,c)=>(l("replaceXRanges",h,c),h.split(/\s+/).map($=>Ct($,c)).join(" ")),Ct=(h,c)=>{h=h.trim();const $=c.loose?i[s.XRANGELOOSE]:i[s.XRANGE];return h.replace($,(E,v,m,I,w,g)=>{l("xRange",h,E,v,m,I,w,g);const N=T(m),C=N||T(I),O=C||T(w),Y=O;return v==="="&&Y&&(v=""),g=c.includePrerelease?"-0":"",N?v===">"||v==="<"?E="<0.0.0-0":E="*":v&&Y?(C&&(I=0),w=0,v===">"?(v=">=",C?(m=+m+1,I=0,w=0):(I=+I+1,w=0)):v==="<="&&(v="<",C?m=+m+1:I=+I+1),v==="<"&&(g="-0"),E=`${v+m}.${I}.${w}${g}`):C?E=`>=${m}.0.0${g} <${+m+1}.0.0-0`:O&&(E=`>=${m}.${I}.0${g} <${m}.${+I+1}.0-0`),l("xRange return",E),E})},_t=(h,c)=>(l("replaceStars",h,c),h.trim().replace(i[s.STAR],"")),Dt=(h,c)=>(l("replaceGTE0",h,c),h.trim().replace(i[c.includePrerelease?s.GTE0PRE:s.GTE0],"")),Pt=h=>(c,$,E,v,m,I,w,g,N,C,O,Y)=>(T(E)?$="":T(v)?$=`>=${E}.0.0${h?"-0":""}`:T(m)?$=`>=${E}.${v}.0${h?"-0":""}`:I?$=`>=${$}`:$=`>=${$}${h?"-0":""}`,T(N)?g="":T(C)?g=`<${+N+1}.0.0-0`:T(O)?g=`<${N}.${+C+1}.0-0`:Y?g=`<=${N}.${C}.${O}-${Y}`:h?g=`<${N}.${C}.${+O+1}-0`:g=`<=${g}`,`${$} ${g}`.trim()),bt=(h,c,$)=>{for(let E=0;E0){const v=h[E].semver;if(v.major===c.major&&v.minor===c.minor&&v.patch===c.patch)return!0}return!1}return!0};return me}var de,Ke;function le(){if(Ke)return de;Ke=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(f,p){if(p=r(p),f instanceof t){if(f.loose===!!p.loose)return f;f=f.value}f=f.trim().split(/\s+/).join(" "),l("comparator",f,p),this.options=p,this.loose=!!p.loose,this.parse(f),this.semver===e?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(f){const p=this.options.loose?n[o.COMPARATORLOOSE]:n[o.COMPARATOR],L=f.match(p);if(!L)throw new TypeError(`Invalid comparator: ${f}`);this.operator=L[1]!==void 0?L[1]:"",this.operator==="="&&(this.operator=""),L[2]?this.semver=new u(L[2],this.options.loose):this.semver=e}toString(){return this.value}test(f){if(l("Comparator.test",f,this.options.loose),this.semver===e||f===e)return!0;if(typeof f=="string")try{f=new u(f,this.options)}catch{return!1}return a(f,this.operator,this.semver,this.options)}intersects(f,p){if(!(f instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new i(f.value,p).test(this.value):f.operator===""?f.value===""?!0:new i(this.value,p).test(f.semver):(p=r(p),p.includePrerelease&&(this.value==="<0.0.0-0"||f.value==="<0.0.0-0")||!p.includePrerelease&&(this.value.startsWith("<0.0.0")||f.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&f.operator.startsWith(">")||this.operator.startsWith("<")&&f.operator.startsWith("<")||this.semver.version===f.semver.version&&this.operator.includes("=")&&f.operator.includes("=")||a(this.semver,"<",f.semver,p)&&this.operator.startsWith(">")&&f.operator.startsWith("<")||a(this.semver,">",f.semver,p)&&this.operator.startsWith("<")&&f.operator.startsWith(">")))}}de=t;const r=Oe,{safeRe:n,t:o}=q,a=mt,l=oe,u=y,i=b();return de}const on=b(),an=(e,t,r)=>{try{t=new on(t,r)}catch{return!1}return t.test(e)};var ce=an;const ln=b(),cn=(e,t)=>new ln(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));var un=cn;const fn=y,hn=b(),pn=(e,t,r)=>{let n=null,o=null,a=null;try{a=new hn(t,r)}catch{return null}return e.forEach(l=>{a.test(l)&&(!n||o.compare(l)===-1)&&(n=l,o=new fn(n,r))}),n};var En=pn;const mn=y,dn=b(),$n=(e,t,r)=>{let n=null,o=null,a=null;try{a=new dn(t,r)}catch{return null}return e.forEach(l=>{a.test(l)&&(!n||o.compare(l)===1)&&(n=l,o=new mn(n,r))}),n};var Rn=$n;const $e=y,vn=b(),qe=ae,In=(e,t)=>{e=new vn(e,t);let r=new $e("0.0.0");if(e.test(r)||(r=new $e("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n{const u=new $e(l.semver.version);switch(l.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!a||qe(u,a))&&(a=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${l.operator}`)}}),a&&(!r||qe(r,a))&&(r=a)}return r&&e.test(r)?r:null};var gn=In;const Ln=b(),wn=(e,t)=>{try{return new Ln(e,t).range||"*"}catch{return null}};var Nn=wn;const Tn=y,dt=le(),{ANY:On}=dt,Sn=b(),yn=ce,ze=ae,Ze=ye,An=Ce,Cn=Ae,_n=(e,t,r,n)=>{e=new Tn(e,n),t=new Sn(t,n);let o,a,l,u,i;switch(r){case">":o=ze,a=An,l=Ze,u=">",i=">=";break;case"<":o=Ze,a=Cn,l=ze,u="<",i="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(yn(e,t,n))return!1;for(let s=0;s{d.semver===On&&(d=new dt(">=0.0.0")),p=p||d,L=L||d,o(d.semver,p.semver,n)?p=d:l(d.semver,L.semver,n)&&(L=d)}),p.operator===u||p.operator===i||(!L.operator||L.operator===u)&&a(e,L.semver))return!1;if(L.operator===i&&l(e,L.semver))return!1}return!0};var _e=_n;const Dn=_e,Pn=(e,t,r)=>Dn(e,t,">",r);var bn=Pn;const Un=_e,kn=(e,t,r)=>Un(e,t,"<",r);var Fn=kn;const Je=b(),Gn=(e,t,r)=>(e=new Je(e,r),t=new Je(t,r),e.intersects(t,r));var jn=Gn;const Mn=ce,Xn=P;var Vn=(e,t,r)=>{const n=[];let o=null,a=null;const l=e.sort((f,p)=>Xn(f,p,r));for(const f of l)Mn(f,t,r)?(a=f,o||(o=f)):(a&&n.push([o,a]),a=null,o=null);o&&n.push([o,null]);const u=[];for(const[f,p]of n)f===p?u.push(f):!p&&f===l[0]?u.push("*"):p?f===l[0]?u.push(`<=${p}`):u.push(`${f} - ${p}`):u.push(`>=${f}`);const i=u.join(" || "),s=typeof t.raw=="string"?t.raw:String(t);return i.length{if(e===t)return!0;e=new Qe(e,r),t=new Qe(t,r);let n=!1;e:for(const o of e.set){for(const a of t.set){const l=Wn(o,a,r);if(n=n||l!==null,l)continue e}if(n)return!1}return!0},Yn=[new De(">=0.0.0-0")],et=[new De(">=0.0.0")],Wn=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Re){if(t.length===1&&t[0].semver===Re)return!0;r.includePrerelease?e=Yn:e=et}if(t.length===1&&t[0].semver===Re){if(r.includePrerelease)return!0;t=et}const n=new Set;let o,a;for(const d of e)d.operator===">"||d.operator===">="?o=tt(o,d,r):d.operator==="<"||d.operator==="<="?a=rt(a,d,r):n.add(d.semver);if(n.size>1)return null;let l;if(o&&a){if(l=Pe(o.semver,a.semver,r),l>0)return null;if(l===0&&(o.operator!==">="||a.operator!=="<="))return null}for(const d of n){if(o&&!W(d,String(o),r)||a&&!W(d,String(a),r))return null;for(const R of t)if(!W(d,String(R),r))return!1;return!0}let u,i,s,f,p=a&&!r.includePrerelease&&a.semver.prerelease.length?a.semver:!1,L=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1;p&&p.prerelease.length===1&&a.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(const d of t){if(f=f||d.operator===">"||d.operator===">=",s=s||d.operator==="<"||d.operator==="<=",o){if(L&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===L.major&&d.semver.minor===L.minor&&d.semver.patch===L.patch&&(L=!1),d.operator===">"||d.operator===">="){if(u=tt(o,d,r),u===d&&u!==o)return!1}else if(o.operator===">="&&!W(o.semver,String(d),r))return!1}if(a){if(p&&d.semver.prerelease&&d.semver.prerelease.length&&d.semver.major===p.major&&d.semver.minor===p.minor&&d.semver.patch===p.patch&&(p=!1),d.operator==="<"||d.operator==="<="){if(i=rt(a,d,r),i===d&&i!==a)return!1}else if(a.operator==="<="&&!W(a.semver,String(d),r))return!1}if(!d.operator&&(a||o)&&l!==0)return!1}return!(o&&s&&!a&&l!==0||a&&f&&!o&&l!==0||L||p)},tt=(e,t,r)=>{if(!e)return t;const n=Pe(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},rt=(e,t,r)=>{if(!e)return t;const n=Pe(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};var Hn=xn;const ve=q,nt=ie,Bn=y,st=ht,Kn=X,qn=er,zn=nr,Zn=ir,Jn=ar,Qn=ur,es=pr,ts=dr,rs=vr,ns=P,ss=wr,is=Or,os=Se,as=Cr,ls=Pr,cs=ae,us=ye,fs=pt,hs=Et,ps=Ae,Es=Ce,ms=mt,ds=rn,$s=le(),Rs=b(),vs=ce,Is=un,gs=En,Ls=Rn,ws=gn,Ns=Nn,Ts=_e,Os=bn,Ss=Fn,ys=jn,As=Vn,Cs=Hn;var _s={parse:Kn,valid:qn,clean:zn,inc:Zn,diff:Jn,major:Qn,minor:es,patch:ts,prerelease:rs,compare:ns,rcompare:ss,compareLoose:is,compareBuild:os,sort:as,rsort:ls,gt:cs,lt:us,eq:fs,neq:hs,gte:ps,lte:Es,cmp:ms,coerce:ds,Comparator:$s,Range:Rs,satisfies:vs,toComparators:Is,maxSatisfying:gs,minSatisfying:Ls,minVersion:ws,validRange:Ns,outside:Ts,gtr:Os,ltr:Ss,intersects:ys,simplifyRange:As,subset:Cs,SemVer:Bn,re:ve.re,src:ve.src,tokens:ve.t,SEMVER_SPEC_VERSION:nt.SEMVER_SPEC_VERSION,RELEASE_TYPES:nt.RELEASE_TYPES,compareIdentifiers:st.compareIdentifiers,rcompareIdentifiers:st.rcompareIdentifiers};const it=Ft(_s);var S={};/** * @license React * react-dom-test-utils.production.min.js * diff --git a/demo-1732-error-on-icon-prop/assets/favicon.docs-BGWAzRmK.js b/demo-1732-error-on-icon-prop/assets/favicon.docs-DdgF9GzL.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/favicon.docs-BGWAzRmK.js rename to demo-1732-error-on-icon-prop/assets/favicon.docs-DdgF9GzL.js index 47e1a24e6d..88285cb4ce 100644 --- a/demo-1732-error-on-icon-prop/assets/favicon.docs-BGWAzRmK.js +++ b/demo-1732-error-on-icon-prop/assets/favicon.docs-DdgF9GzL.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as t}from"./index-Bc_7gYwI.js";import{F as a,S as r,A as l}from"./AppIcons-BukLgj-b.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.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-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as t}from"./index-DNXVmPlZ.js";import{F as a,S as r,A as l}from"./AppIcons-Dkuz_h0T.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.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-BGKfCF_w.js b/demo-1732-error-on-icon-prop/assets/font.docs-BjJPQH2I.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/font.docs-BGKfCF_w.js rename to demo-1732-error-on-icon-prop/assets/font.docs-BjJPQH2I.js index bc6ce7e113..8a0946abbf 100644 --- a/demo-1732-error-on-icon-prop/assets/font.docs-BGKfCF_w.js +++ b/demo-1732-error-on-icon-prop/assets/font.docs-BjJPQH2I.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as i,af as r}from"./index-Bc_7gYwI.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BlAj40OV.js";import{useMDXComponents as o}from"./index-BI1Biiay.js";import{ae as i,af as r}from"./index-DNXVmPlZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-CTjo5JZ0.js b/demo-1732-error-on-icon-prop/assets/getting-started.docs-DnrtWavK.js similarity index 94% rename from demo-1732-error-on-icon-prop/assets/getting-started.docs-CTjo5JZ0.js rename to demo-1732-error-on-icon-prop/assets/getting-started.docs-DnrtWavK.js index d9d212b75d..f8327a0246 100644 --- a/demo-1732-error-on-icon-prop/assets/getting-started.docs-CTjo5JZ0.js +++ b/demo-1732-error-on-icon-prop/assets/getting-started.docs-DnrtWavK.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as a}from"./index-Bc_7gYwI.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as a}from"./index-DNXVmPlZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-DIMhlaql.js b/demo-1732-error-on-icon-prop/assets/grid.docs-RT0bb6vl.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/grid.docs-DIMhlaql.js rename to demo-1732-error-on-icon-prop/assets/grid.docs-RT0bb6vl.js index 12600af2e6..23dcf66498 100644 --- a/demo-1732-error-on-icon-prop/assets/grid.docs-DIMhlaql.js +++ b/demo-1732-error-on-icon-prop/assets/grid.docs-RT0bb6vl.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as l}from"./index-Bc_7gYwI.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as l}from"./index-DNXVmPlZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-QX04DwA9.js b/demo-1732-error-on-icon-prop/assets/icons.docs-ZuxTHFTr.js similarity index 91% rename from demo-1732-error-on-icon-prop/assets/icons.docs-QX04DwA9.js rename to demo-1732-error-on-icon-prop/assets/icons.docs-ZuxTHFTr.js index cdc196844c..dfbaadfb33 100644 --- a/demo-1732-error-on-icon-prop/assets/icons.docs-QX04DwA9.js +++ b/demo-1732-error-on-icon-prop/assets/icons.docs-ZuxTHFTr.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ao as i,ap as c,ae as a}from"./index-Bc_7gYwI.js";import{I as s}from"./index.esm-DQgjFsBh.js";import{I as m}from"./Icon-msbkstIT.js";import{S as l}from"./StatusBadge-DJO7oFtY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Badge-DiZ9fuyS.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-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ao as i,ap as c,ae as a}from"./index-DNXVmPlZ.js";import{I as s}from"./index.esm-DQgjFsBh.js";import{I as m}from"./Icon-msbkstIT.js";import{S as l}from"./StatusBadge-DJO7oFtY.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./clsx-B-dksMZM.js";import"./Badge-DiZ9fuyS.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-DcwaDa5u.js b/demo-1732-error-on-icon-prop/assets/iframe-Chn7UdQi.js similarity index 58% rename from demo-1732-error-on-icon-prop/assets/iframe-DcwaDa5u.js rename to demo-1732-error-on-icon-prop/assets/iframe-Chn7UdQi.js index 3d82773b41..65cc0e93a6 100644 --- a/demo-1732-error-on-icon-prop/assets/iframe-DcwaDa5u.js +++ b/demo-1732-error-on-icon-prop/assets/iframe-Chn7UdQi.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Accordion.docs-B104na97.js","./jsx-runtime-BlAj40OV.js","./index-Cs7sjTYM.js","./_commonjsHelpers-BosuxZz1.js","./index-BI1Biiay.js","./index-Bc_7gYwI.js","./index-DJFdew98.js","./index-D-8MO0q_.js","./index-DF3CPj03.js","./index-DrFu-skq.js","./Accordion.stories-DcQFT9dY.js","./index.esm-CF7nKaqV.js","./clsx-B-dksMZM.js","./index.esm-DQgjFsBh.js","./exampleContent-hIIPvEhU.js","./getHeadingTag-Dv1eMqvl.js","./Icon-msbkstIT.js","./useKeyboardFocus-CRUFsA_C.js","./ActionGroup.docs-BTiGbt4z.js","./ActionGroup.stories-CihD3viu.js","./Alert.docs-BrSggXhC.js","./Alert.stories-cUkLoWg9.js","./Alert-Dk0YLnro.js","./Heading-DUu-96hO.js","./IconButton-BWS7j-EY.js","./AspectRatio.docs-DzjeDcLp.js","./AspectRatio.stories-CInlVd1C.js","./Avatar.docs-FbyTojmX.js","./Avatar.stories-DYjcetTq.js","./Image-CVzrCme5.js","./Badge.docs-CNej9rW-.js","./Badge.stories-BbRu3hXO.js","./Badge-DiZ9fuyS.js","./Blockquote.docs-Bi7KejB3.js","./Blockquote.stories-0ySVjV59.js","./decorators-CweBkPI6.js","./Breadcrumb.docs-2V1SqTI3.js","./Breadcrumb.stories-Cujp0Yrk.js","./Breakout.docs-BHw_zTv5.js","./Breakout.stories-0cn7bObM.js","./paddingClasses-C5gheHLv.js","./Button.docs-OWErX9MR.js","./Button.stories-C1_-rX8V.js","./Card.docs-BWa7jSWq.js","./Card.stories-DrmnRFdC.js","./Paragraph-BWS5kDPY.js","./CharacterCount.docs-DP2WI3Ix.js","./CharacterCount.stories-NoG2wwGU.js","./Checkbox.docs-bxnPbtI1.js","./Checkbox.stories-3m2Ua-F0.js","./Column.docs--sqaIunC.js","./Column.stories-yaawmOKX.js","./layout-B5YJ6HHW.js","./DateInput.docs-BiIOXbIB.js","./DateInput.stories-C65iPb1k.js","./DescriptionList.docs-Ddhpattt.js","./DescriptionList.stories-Rl_pHQO4.js","./Dialog.docs-tihLosAM.js","./Dialog.stories-B0HLnsy0.js","./ErrorMessage.docs-e4RTcUg6.js","./ErrorMessage.stories-BpxWMdDO.js","./Field.docs-Cf9bnh-b.js","./Field.stories-CngytoUs.js","./FieldSet.docs-CvH0qtUx.js","./FieldSet.stories-s4cehYqX.js","./Hint-D4Fy8YuO.js","./FileInput.docs-U5xDOYW5.js","./FileInput.stories-DMEWCxpl.js","./Footer.docs-D9coiwC9.js","./Footer.stories-QT73Bk8g.js","./PageMenu.stories-DFa96G62.js","./Spotlight-i1uKJTzV.js","./FormErrorList.docs-RprXxEVj.js","./FormErrorList.stories-CxylcEEz.js","./LinkList-MjnznahE.js","./Grid.docs-9KHiNtEa.js","./Grid.stories-uDGi-Wrr.js","./Header.docs-yZew9t5k.js","./Header.stories-CihSLOoe.js","./Logo-Co1O1cSe.js","./StatusBadge-DJO7oFtY.js","./StatusBadge-BPsnsflc.css","./Heading.docs-BUIFGWcX.js","./Heading.stories-CT5b5414.js","./Icon.docs-SFLAJh2l.js","./Icon.stories-lSRiqm7M.js","./IconButton.docs-CgtvuRYJ.js","./IconButton.stories-BfnX6Gtt.js","./Image.docs-D0euHhac.js","./Image.stories-DCIdV88O.js","./ImageSlider.docs-dd0B8Fgz.js","./ImageSlider.stories-DlpLtE8B.js","./Screen-Bi3gjHLv.js","./Label.docs-B6WgEmA9.js","./Label.stories-CfUWZz4C.js","./Link.docs-By45n2JG.js","./Link.stories-BjnH9PXx.js","./LinkList.docs-unWE43Q5.js","./LinkList.stories-LQhWm9tq.js","./Logo.docs-CwTUXios.js","./Logo.stories-CkXTY1PX.js","./Mark.docs-B6zbgBZF.js","./Mark.stories-C3Vh2HJi.js","./MegaMenu.docs-229TA4fZ.js","./MegaMenu.stories-BNZs1XWG.js","./OrderedList.docs-CI4A4Iar.js","./OrderedList.stories-COtxsV37.js","./Overlap.docs-BGWDmR7Z.js","./Overlap.stories-C9ARTKZD.js","./PageHeading.docs-Do2nB4Tc.js","./PageHeading.stories-CGDfgDck.js","./PageMenu.docs-hQnfLq4c.js","./Pagination.docs-Ckk48cxr.js","./Pagination.stories-CVHuDEtK.js","./Paragraph.docs-noGG3zoD.js","./Paragraph.stories-BSxvtQam.js","./PasswordInput.docs-DtpIWni8.js","./PasswordInput.stories-D4QGtx2D.js","./Radio.docs-BW7_s2vu.js","./Radio.stories-Hra-_Kdo.js","./Row.docs-CQsoHRHK.js","./Row.stories-GUfInl3H.js","./Screen.docs-Cta2c6_v.js","./Screen.stories-Cmhj7t71.js","./SearchField.docs-BQkGId4X.js","./SearchField.stories-BRhudTvi.js","./Select.docs-YmG5w08e.js","./Select.stories-BMsd2eQW.js","./SkipLink.docs-CpjQMBRe.js","./SkipLink.stories-HNDVm58n.js","./Spotlight.docs-C9GFYGUM.js","./Spotlight.stories-8SNKt_B0.js","./Switch.docs-DPNvTNkU.js","./Switch.stories-DnffM-h7.js","./Table.docs-BQWVFjXO.js","./Table.stories-BUauZ9r1.js","./TableOfContents.docs-ts_tT3ae.js","./TableOfContents.stories-_SI5XtRy.js","./Tabs.docs-6nGHp8Po.js","./Tabs.stories-ULt1rxZf.js","./TextArea.docs-XkEfTcoo.js","./TextArea.stories-BHn0X52F.js","./TextInput.docs-CT0ktw3i.js","./TextInput.stories-pTuWJnNM.js","./TimeInput.docs-DncAXjHu.js","./TimeInput.stories-BCj8vOd3.js","./TopTaskLink.docs-CMklwapx.js","./TopTaskLink.stories-C48nKhQq.js","./UnorderedList.docs-lXzbBNDB.js","./UnorderedList.stories-GXQ38Iw_.js","./breakpoints.docs-DsjTi82Q.js","./getting-started.docs-CTjo5JZ0.js","./interactivity.docs-qCRNAGic.js","./language.docs-YMvjnQHr.js","./routing-libraries.docs-B6WzlVcJ.js","./usability.docs-BqWY_STg.js","./web-app.docs-cpsQUKc8.js","./AppIcons-BukLgj-b.js","./introduction.docs-DL510of9.js","./copyright.docs-x1AlLmab.js","./license.docs-CMsZZnkj.js","./favicon.docs-BGWAzRmK.js","./font.docs-BGKfCF_w.js","./icons.docs-QX04DwA9.js","./border.docs-DbPworI9.js","./colour.docs-R4RJMelv.js","./colour-BjcP5lEj.css","./grid.docs-DIMhlaql.js","./space.docs-Fx118cLi.js","./text.docs-CQKpddKK.js","./Introduction.docs-B0IEAoZN.js","./ArticlePage.docs-K_yPADMl.js","./ArticlePage.stories-CauWnXlj.js","./config-Ph9_AafQ.js","./FormPage.docs-BHzAcVnw.js","./FormPage.stories-_baPiYtR.js","./HomePage.docs-BI9N5v-n.js","./HomePage.stories-yWENW2CH.js","./Gap.docs-CnrhF5__.js","./Gap.stories-DCwUsy_8.js","./Margin.docs-Dg1QWN6c.js","./Margin.stories-COKow8dy.js","./VisuallyHidden.docs-2gndWH_y.js","./VisuallyHidden.stories-i_ey4h_-.js","./entry-preview-C514jeYx.js","./chunk-H6MOWX77-DTQOW814.js","./entry-preview-docs-gnDLKA_v.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-BWzBA1C2.js","./preview-CgNIXSZ1.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-B104na97.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-DcQFT9dY.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-BTiGbt4z.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-CihD3viu.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-BrSggXhC.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-cUkLoWg9.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-DzjeDcLp.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-CInlVd1C.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-FbyTojmX.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-DYjcetTq.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-CNej9rW-.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-BbRu3hXO.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-Bi7KejB3.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-0ySVjV59.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-2V1SqTI3.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-Cujp0Yrk.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-BHw_zTv5.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-0cn7bObM.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-OWErX9MR.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-C1_-rX8V.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-BWa7jSWq.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-DrmnRFdC.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-DP2WI3Ix.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-NoG2wwGU.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-bxnPbtI1.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-3m2Ua-F0.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--sqaIunC.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-yaawmOKX.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-BiIOXbIB.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-C65iPb1k.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-Ddhpattt.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-Rl_pHQO4.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-tihLosAM.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-B0HLnsy0.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-e4RTcUg6.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-BpxWMdDO.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-Cf9bnh-b.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-CngytoUs.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-CvH0qtUx.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-s4cehYqX.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-U5xDOYW5.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-DMEWCxpl.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-D9coiwC9.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-QT73Bk8g.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-RprXxEVj.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-CxylcEEz.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-9KHiNtEa.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-uDGi-Wrr.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-yZew9t5k.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-CihSLOoe.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-BUIFGWcX.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-CT5b5414.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-SFLAJh2l.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-lSRiqm7M.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-CgtvuRYJ.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-BfnX6Gtt.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-D0euHhac.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-DCIdV88O.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-dd0B8Fgz.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-DlpLtE8B.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-B6WgEmA9.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-CfUWZz4C.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-By45n2JG.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-BjnH9PXx.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-unWE43Q5.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-LQhWm9tq.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-CwTUXios.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-CkXTY1PX.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-B6zbgBZF.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-C3Vh2HJi.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-229TA4fZ.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-BNZs1XWG.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-CI4A4Iar.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-COtxsV37.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-BGWDmR7Z.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-C9ARTKZD.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-Do2nB4Tc.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-CGDfgDck.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-hQnfLq4c.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-DFa96G62.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-Ckk48cxr.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-CVHuDEtK.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-noGG3zoD.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-BSxvtQam.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-DtpIWni8.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-D4QGtx2D.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-BW7_s2vu.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-Hra-_Kdo.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-CQsoHRHK.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-GUfInl3H.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-Cta2c6_v.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-Cmhj7t71.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-BQkGId4X.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-BRhudTvi.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-YmG5w08e.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-BMsd2eQW.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-CpjQMBRe.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-HNDVm58n.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-C9GFYGUM.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-8SNKt_B0.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-DPNvTNkU.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-DnffM-h7.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-BQWVFjXO.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-BUauZ9r1.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-ts_tT3ae.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-_SI5XtRy.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-6nGHp8Po.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-ULt1rxZf.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-XkEfTcoo.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-BHn0X52F.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-CT0ktw3i.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-pTuWJnNM.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-DncAXjHu.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-BCj8vOd3.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-CMklwapx.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-C48nKhQq.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-lXzbBNDB.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-GXQ38Iw_.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-DsjTi82Q.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-CTjo5JZ0.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-qCRNAGic.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-YMvjnQHr.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-B6WzlVcJ.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-BqWY_STg.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-cpsQUKc8.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-DL510of9.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-x1AlLmab.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-CMsZZnkj.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-BGWAzRmK.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-BGKfCF_w.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-QX04DwA9.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-DbPworI9.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-R4RJMelv.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-DIMhlaql.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-Fx118cLi.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-CQKpddKK.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-B0IEAoZN.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-K_yPADMl.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-CauWnXlj.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-BHzAcVnw.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-_baPiYtR.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-BI9N5v-n.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-yWENW2CH.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-CnrhF5__.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-DCwUsy_8.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-Dg1QWN6c.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-COKow8dy.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-2gndWH_y.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-i_ey4h_-.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.at(0)??t(()=>import("./entry-preview-C514jeYx.js"),__vite__mapDeps([184,185,2,3,6]),import.meta.url),r.at(1)??t(()=>import("./entry-preview-docs-gnDLKA_v.js"),__vite__mapDeps([186,185,8,3,9,2]),import.meta.url),r.at(2)??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([187,7]),import.meta.url),r.at(3)??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),r.at(4)??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([188,9]),import.meta.url),r.at(5)??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),r.at(6)??t(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),r.at(7)??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([189,9]),import.meta.url),r.at(8)??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),r.at(9)??t(()=>import("./preview-DVI_gYQC.js"),[],import.meta.url),r.at(10)??t(()=>import("./preview-Di_54Tgr.js"),[],import.meta.url),r.at(11)??t(()=>import("./preview-CVgpLj3b.js"),[],import.meta.url),r.at(12)??t(()=>import("./preview-BxP2vRzZ.js"),[],import.meta.url),r.at(13)??t(()=>import("./preview-C7tAAfkq.js"),[],import.meta.url),r.at(14)??t(()=>import("./preview-CgNIXSZ1.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-BjHjZlIw.js","./jsx-runtime-BlAj40OV.js","./index-Cs7sjTYM.js","./_commonjsHelpers-BosuxZz1.js","./index-BI1Biiay.js","./index-DNXVmPlZ.js","./index-DJFdew98.js","./index-D-8MO0q_.js","./index-DF3CPj03.js","./index-DrFu-skq.js","./Accordion.stories-BgwcYwZ1.js","./index.esm-edP8GOgy.js","./clsx-B-dksMZM.js","./index.esm-DQgjFsBh.js","./exampleContent-hIIPvEhU.js","./getHeadingTag-Dv1eMqvl.js","./Icon-msbkstIT.js","./useKeyboardFocus-CRUFsA_C.js","./ActionGroup.docs-BlV2t3tb.js","./ActionGroup.stories-D07uoho6.js","./Alert.docs-BElckWCD.js","./Alert.stories-C7WMmUmu.js","./Alert-Dk0YLnro.js","./Heading-DUu-96hO.js","./IconButton-BWS7j-EY.js","./AspectRatio.docs-b629npqm.js","./AspectRatio.stories-DOkJwAA4.js","./Avatar.docs-BjgSrL7s.js","./Avatar.stories-BwVeOOOj.js","./Image-CVzrCme5.js","./Badge.docs-zNiOd06Y.js","./Badge.stories-BbRu3hXO.js","./Badge-DiZ9fuyS.js","./Blockquote.docs-x49Q4KtP.js","./Blockquote.stories-0ySVjV59.js","./decorators-CweBkPI6.js","./Breadcrumb.docs-D2qvFwq5.js","./Breadcrumb.stories-Cujp0Yrk.js","./Breakout.docs-Dc9uu8Lr.js","./Breakout.stories-CVVN28qX.js","./paddingClasses-C5gheHLv.js","./Button.docs-B_sSWEze.js","./Button.stories-CWaiVgHl.js","./Card.docs-Dr76CtDk.js","./Card.stories-B5JMsV2L.js","./Paragraph-BWS5kDPY.js","./CharacterCount.docs-C0jrfDWp.js","./CharacterCount.stories-NoG2wwGU.js","./Checkbox.docs-BNhum6tM.js","./Checkbox.stories-r7qFZA4W.js","./Column.docs-BmuhGkoU.js","./Column.stories-B34YzMzb.js","./layout-B5YJ6HHW.js","./DateInput.docs-DKryj8ni.js","./DateInput.stories-CUnTl4mJ.js","./DescriptionList.docs-CxKViVrd.js","./DescriptionList.stories-DW6odJtM.js","./Dialog.docs-xMX8CFx5.js","./Dialog.stories-CofY7krx.js","./ErrorMessage.docs-CUOb9-Gx.js","./ErrorMessage.stories-BpxWMdDO.js","./Field.docs-DNxTS8Q-.js","./Field.stories-D5PzwsAQ.js","./FieldSet.docs-DesXYL_9.js","./FieldSet.stories-Cgjslopn.js","./Hint-D4Fy8YuO.js","./FileInput.docs-DC8XAIes.js","./FileInput.stories-CI4RhoxY.js","./Footer.docs-Bi5Zv8A9.js","./Footer.stories-BaJ-LM4v.js","./PageMenu.stories-DFa96G62.js","./Spotlight-IssvtslZ.js","./FormErrorList.docs-CK_MoYl2.js","./FormErrorList.stories-DOywcyMJ.js","./LinkList-MjnznahE.js","./Grid.docs-sg7GphPJ.js","./Grid.stories-QslNkPVq.js","./Header.docs-iLlWCIZL.js","./Header.stories-DjHTsaDH.js","./Logo-Co1O1cSe.js","./StatusBadge-DJO7oFtY.js","./StatusBadge-BPsnsflc.css","./Heading.docs-b76gGqZ9.js","./Heading.stories-Bsvl1iHZ.js","./Icon.docs-CEUXekGe.js","./Icon.stories-Bocx3K-q.js","./IconButton.docs-B7bDxAhG.js","./IconButton.stories-BfnX6Gtt.js","./Image.docs-jAwUvKaB.js","./Image.stories-DCIdV88O.js","./ImageSlider.docs-4rmctQ2u.js","./ImageSlider.stories-DlpLtE8B.js","./Screen-Bi3gjHLv.js","./Label.docs-Bo1EovcU.js","./Label.stories-CfUWZz4C.js","./Link.docs-U8Nq2VIs.js","./Link.stories-BwJizPoH.js","./LinkList.docs-b-It3fkV.js","./LinkList.stories-LQhWm9tq.js","./Logo.docs-q62BOwlz.js","./Logo.stories-CkXTY1PX.js","./Mark.docs-CD8Oug7I.js","./Mark.stories-B03-MA4h.js","./MegaMenu.docs-CTor5SNC.js","./MegaMenu.stories-BBZKv5tw.js","./OrderedList.docs-CMUT74WQ.js","./OrderedList.stories-BRqK5EJu.js","./Overlap.docs-DbPxdxzh.js","./Overlap.stories-nXtF7fqH.js","./PageHeading.docs-B7lI4afC.js","./PageHeading.stories-CGDfgDck.js","./PageMenu.docs-JiC1KsSu.js","./Pagination.docs-CGt9MMv4.js","./Pagination.stories-CVHuDEtK.js","./Paragraph.docs-CRzRzMkV.js","./Paragraph.stories-BSxvtQam.js","./PasswordInput.docs-fINJc7x2.js","./PasswordInput.stories-BCUrEnY4.js","./Radio.docs-JQKpQuaa.js","./Radio.stories--YSpWy9w.js","./Row.docs-Cjh3o428.js","./Row.stories-nbOQZ4Kw.js","./Screen.docs-CTgcpt9m.js","./Screen.stories-Cmhj7t71.js","./SearchField.docs-C8uE5JrQ.js","./SearchField.stories-BRhudTvi.js","./Select.docs-Cv3jdNJU.js","./Select.stories-D_V_qCOW.js","./SkipLink.docs-1khqX6VQ.js","./SkipLink.stories-C1LM1mWF.js","./Spotlight.docs-Bl6SXKsc.js","./Spotlight.stories-BVZoIORb.js","./Switch.docs-6HQ7wQMG.js","./Switch.stories-DxdfmiLO.js","./Table.docs-Bt_MOQ46.js","./Table.stories-BUauZ9r1.js","./TableOfContents.docs-DJW_HUkZ.js","./TableOfContents.stories-_SI5XtRy.js","./Tabs.docs-DrlgVPat.js","./Tabs.stories-Bm7ZiycI.js","./TextArea.docs-DYsS5I6T.js","./TextArea.stories-BxsPWbDX.js","./TextInput.docs-HAw66gNd.js","./TextInput.stories-zliFcPlz.js","./TimeInput.docs-CiEDzstu.js","./TimeInput.stories-DFSNh9pE.js","./TopTaskLink.docs-BcU2Nl0K.js","./TopTaskLink.stories-CideQWaE.js","./UnorderedList.docs-BDiM6yI1.js","./UnorderedList.stories-DIV1RlLi.js","./breakpoints.docs-Bm_f0ZDC.js","./getting-started.docs-DnrtWavK.js","./interactivity.docs-Tw8SDHdS.js","./language.docs-B43HDP9j.js","./routing-libraries.docs-CZ624pF9.js","./usability.docs-rt8n3D4O.js","./web-app.docs-3HvFVq7Z.js","./AppIcons-Dkuz_h0T.js","./introduction.docs-DOQFknuG.js","./copyright.docs-MubVgTxp.js","./license.docs--S2zuD8K.js","./favicon.docs-DdgF9GzL.js","./font.docs-BjJPQH2I.js","./icons.docs-ZuxTHFTr.js","./border.docs-BYCJ8XLa.js","./colour.docs-D7A7vOOI.js","./colour-BjcP5lEj.css","./grid.docs-RT0bb6vl.js","./space.docs-CL-LRX94.js","./text.docs-_mAqCO8s.js","./Introduction.docs-0nI511fz.js","./ArticlePage.docs-Bk3WPcyi.js","./ArticlePage.stories-qicl4aC7.js","./config-DFibQQL4.js","./FormPage.docs-DblYL3zo.js","./FormPage.stories-DYZJkRLZ.js","./HomePage.docs-Dy99_uGe.js","./HomePage.stories-D4MOtlr5.js","./Gap.docs-BbRSFAKO.js","./Gap.stories-DbaWBJ6L.js","./Margin.docs-By3yZVwM.js","./Margin.stories-l1HTDqSj.js","./VisuallyHidden.docs-CJxGyNLE.js","./VisuallyHidden.stories-DTQpbB1y.js","./entry-preview-DUfLW8LW.js","./chunk-H6MOWX77-DTQOW814.js","./entry-preview-docs-gnDLKA_v.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-BWzBA1C2.js","./preview-CgNIXSZ1.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-BjHjZlIw.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-BgwcYwZ1.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-BlV2t3tb.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-D07uoho6.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-BElckWCD.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-C7WMmUmu.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-b629npqm.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-DOkJwAA4.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-BjgSrL7s.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-BwVeOOOj.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-zNiOd06Y.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-BbRu3hXO.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-x49Q4KtP.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-0ySVjV59.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-D2qvFwq5.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-Cujp0Yrk.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-Dc9uu8Lr.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-CVVN28qX.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-B_sSWEze.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-CWaiVgHl.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-Dr76CtDk.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-B5JMsV2L.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-C0jrfDWp.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-NoG2wwGU.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-BNhum6tM.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-r7qFZA4W.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-BmuhGkoU.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-B34YzMzb.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-DKryj8ni.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-CUnTl4mJ.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-CxKViVrd.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-DW6odJtM.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-xMX8CFx5.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-CofY7krx.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-CUOb9-Gx.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-BpxWMdDO.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-DNxTS8Q-.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-D5PzwsAQ.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-DesXYL_9.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-Cgjslopn.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-DC8XAIes.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-CI4RhoxY.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-Bi5Zv8A9.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-BaJ-LM4v.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-CK_MoYl2.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-DOywcyMJ.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-sg7GphPJ.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-QslNkPVq.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-iLlWCIZL.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-DjHTsaDH.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-b76gGqZ9.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-Bsvl1iHZ.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-CEUXekGe.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-Bocx3K-q.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-B7bDxAhG.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-BfnX6Gtt.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-jAwUvKaB.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-DCIdV88O.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-4rmctQ2u.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-DlpLtE8B.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-Bo1EovcU.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-CfUWZz4C.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-U8Nq2VIs.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-BwJizPoH.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-b-It3fkV.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-LQhWm9tq.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-q62BOwlz.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-CkXTY1PX.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-CD8Oug7I.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-B03-MA4h.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-CTor5SNC.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-BBZKv5tw.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-CMUT74WQ.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-BRqK5EJu.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-DbPxdxzh.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-nXtF7fqH.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-B7lI4afC.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-CGDfgDck.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-JiC1KsSu.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-DFa96G62.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-CGt9MMv4.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-CVHuDEtK.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-CRzRzMkV.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-BSxvtQam.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-fINJc7x2.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-BCUrEnY4.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-JQKpQuaa.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--YSpWy9w.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-Cjh3o428.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-nbOQZ4Kw.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-CTgcpt9m.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-Cmhj7t71.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-C8uE5JrQ.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-BRhudTvi.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-Cv3jdNJU.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-D_V_qCOW.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-1khqX6VQ.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-C1LM1mWF.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-Bl6SXKsc.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-BVZoIORb.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-6HQ7wQMG.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-DxdfmiLO.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-Bt_MOQ46.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-BUauZ9r1.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-DJW_HUkZ.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-_SI5XtRy.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-DrlgVPat.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-Bm7ZiycI.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-DYsS5I6T.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-BxsPWbDX.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-HAw66gNd.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-zliFcPlz.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-CiEDzstu.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-DFSNh9pE.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-BcU2Nl0K.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-CideQWaE.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-BDiM6yI1.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-DIV1RlLi.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-Bm_f0ZDC.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-DnrtWavK.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-Tw8SDHdS.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-B43HDP9j.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-CZ624pF9.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-rt8n3D4O.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-3HvFVq7Z.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-DOQFknuG.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-MubVgTxp.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--S2zuD8K.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-DdgF9GzL.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-BjJPQH2I.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-ZuxTHFTr.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-BYCJ8XLa.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-D7A7vOOI.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-RT0bb6vl.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-CL-LRX94.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-_mAqCO8s.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-0nI511fz.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-Bk3WPcyi.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-qicl4aC7.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-DblYL3zo.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-DYZJkRLZ.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-Dy99_uGe.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-D4MOtlr5.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-BbRSFAKO.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-DbaWBJ6L.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-By3yZVwM.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-l1HTDqSj.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-CJxGyNLE.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-DTQpbB1y.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.at(0)??t(()=>import("./entry-preview-DUfLW8LW.js"),__vite__mapDeps([184,185,2,3,6]),import.meta.url),r.at(1)??t(()=>import("./entry-preview-docs-gnDLKA_v.js"),__vite__mapDeps([186,185,8,3,9,2]),import.meta.url),r.at(2)??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([187,7]),import.meta.url),r.at(3)??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),r.at(4)??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([188,9]),import.meta.url),r.at(5)??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),r.at(6)??t(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),r.at(7)??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([189,9]),import.meta.url),r.at(8)??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),r.at(9)??t(()=>import("./preview-DVI_gYQC.js"),[],import.meta.url),r.at(10)??t(()=>import("./preview-DdQaPxE7.js"),[],import.meta.url),r.at(11)??t(()=>import("./preview-CVgpLj3b.js"),[],import.meta.url),r.at(12)??t(()=>import("./preview-26ZMvfdX.js"),[],import.meta.url),r.at(13)??t(()=>import("./preview-C7tAAfkq.js"),[],import.meta.url),r.at(14)??t(()=>import("./preview-CgNIXSZ1.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-Bc_7gYwI.js b/demo-1732-error-on-icon-prop/assets/index-DNXVmPlZ.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/index-Bc_7gYwI.js rename to demo-1732-error-on-icon-prop/assets/index-DNXVmPlZ.js index aa631e1a7a..a0f40a7e6f 100644 --- a/demo-1732-error-on-icon-prop/assets/index-Bc_7gYwI.js +++ b/demo-1732-error-on-icon-prop/assets/index-DNXVmPlZ.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CqsCPf7m.js","./iframe-DcwaDa5u.js","./index-Cs7sjTYM.js","./_commonjsHelpers-BosuxZz1.js","./jsx-runtime-BlAj40OV.js","./index-DJFdew98.js","./index-D-8MO0q_.js","./index-DF3CPj03.js","./index-DrFu-skq.js","./Color-ERTF36HU-BRXJD2yn.js"])))=>i.map(i=>d[i]); -var pS=Object.defineProperty;var fS=(e,t,r)=>t in e?pS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Hn=(e,t,r)=>fS(e,typeof t!="symbol"?t+"":t,r);import{_ as P3}from"./iframe-DcwaDa5u.js";import{r as l,R as y}from"./index-Cs7sjTYM.js";import{j as J}from"./jsx-runtime-BlAj40OV.js";import{r as Hs,E as N3}from"./index-DJFdew98.js";import{O as H3,P as hS}from"./index-D-8MO0q_.js";import{c as Vi,g as js}from"./_commonjsHelpers-BosuxZz1.js";import{y as Em,D as tc}from"./index-DF3CPj03.js";import{d as mS}from"./index-DrFu-skq.js";var gS=Object.create,j3=Object.defineProperty,vS=Object.getOwnPropertyDescriptor,V3=Object.getOwnPropertyNames,yS=Object.getPrototypeOf,bS=Object.prototype.hasOwnProperty,Oa=(e,t)=>function(){return t||(0,e[V3(e)[0]])((t={exports:{}}).exports,t),t.exports},wS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of V3(t))!bS.call(e,a)&&a!==r&&j3(e,a,{get:()=>t[a],enumerable:!(n=vS(t,a))||n.enumerable});return e},ES=(e,t,r)=>(r=e!=null?gS(yS(e)):{},wS(!e||!e.__esModule?j3(r,"default",{value:e,enumerable:!0}):r,e)),xt=e=>`control-${e.replace(/\s+/g,"-")}`,Vs=e=>`set-${e.replace(/\s+/g,"-")}`,xS=Object.create,Lp=Object.defineProperty,CS=Object.getOwnPropertyDescriptor,DS=Object.getOwnPropertyNames,SS=Object.getPrototypeOf,AS=Object.prototype.hasOwnProperty,I=(e,t)=>Lp(e,"name",{value:t,configurable:!0}),Ui=(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')}),Us=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),kS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of DS(t))!AS.call(e,a)&&a!==r&&Lp(e,a,{get:()=>t[a],enumerable:!(n=CS(t,a))||n.enumerable});return e},Mp=(e,t,r)=>(r=e!=null?xS(SS(e)):{},kS(t||!e||!e.__esModule?Lp(r,"default",{value:e,enumerable:!0}):r,e)),_S=Us(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,u=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,m=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,b=t?Symbol.for("react.block"):60121,E=t?Symbol.for("react.fundamental"):60117,x=t?Symbol.for("react.responder"):60118,C=t?Symbol.for("react.scope"):60119;function w(P){return typeof P=="string"||typeof P=="function"||P===a||P===p||P===i||P===o||P===m||P===f||typeof P=="object"&&P!==null&&(P.$$typeof===g||P.$$typeof===v||P.$$typeof===s||P.$$typeof===u||P.$$typeof===h||P.$$typeof===E||P.$$typeof===x||P.$$typeof===C||P.$$typeof===b)}I(w,"isValidElementType");function D(P){if(typeof P=="object"&&P!==null){var lt=P.$$typeof;switch(lt){case r:var _t=P.type;switch(_t){case d:case p:case a:case i:case o:case m:return _t;default:var Wr=_t&&_t.$$typeof;switch(Wr){case u:case h:case g:case v:case s:return Wr;default:return lt}}case n:return lt}}}I(D,"typeOf");var S=d,A=p,k=u,F=s,T=r,R=h,O=a,z=g,L=v,$=n,M=i,j=o,G=m,N=!1;function q(P){return N||(N=!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.")),ee(P)||D(P)===d}I(q,"isAsyncMode");function ee(P){return D(P)===p}I(ee,"isConcurrentMode");function se(P){return D(P)===u}I(se,"isContextConsumer");function te(P){return D(P)===s}I(te,"isContextProvider");function ne(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}I(ne,"isElement");function H(P){return D(P)===h}I(H,"isForwardRef");function Y(P){return D(P)===a}I(Y,"isFragment");function Z(P){return D(P)===g}I(Z,"isLazy");function me(P){return D(P)===v}I(me,"isMemo");function Ae(P){return D(P)===n}I(Ae,"isPortal");function kt(P){return D(P)===i}I(kt,"isProfiler");function Ue(P){return D(P)===o}I(Ue,"isStrictMode");function it(P){return D(P)===m}I(it,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=A,e.ContextConsumer=k,e.ContextProvider=F,e.Element=T,e.ForwardRef=R,e.Fragment=O,e.Lazy=z,e.Memo=L,e.Portal=$,e.Profiler=M,e.StrictMode=j,e.Suspense=G,e.isAsyncMode=q,e.isConcurrentMode=ee,e.isContextConsumer=se,e.isContextProvider=te,e.isElement=ne,e.isForwardRef=H,e.isFragment=Y,e.isLazy=Z,e.isMemo=me,e.isPortal=Ae,e.isProfiler=kt,e.isStrictMode=Ue,e.isSuspense=it,e.isValidElementType=w,e.typeOf=D})()}),FS=Us((e,t)=>{t.exports=_S()}),U3=Us((e,t)=>{var r=FS(),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 u(b){return r.isMemo(b)?i:s[b.$$typeof]||n}I(u,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(b,E,x){if(typeof E!="string"){if(v){var C=f(E);C&&C!==v&&g(b,C,x)}var w=p(E);h&&(w=w.concat(h(E)));for(var D=u(b),S=u(E),A=0;A{(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 I(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof Ui=="function"&&Ui;if(!p&&h)return h(d,!0);if(s)return s(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}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}I(i,"s");for(var s=typeof Ui=="function"&&Ui,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].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 u;for(u=0;u0&&(x[E]={cacheItem:v,arg:arguments[E]},C?i(h,x):h.push(x),h.length>d&&s(h.shift())),f.wasMemoized=C,f.numArgs=E+1,b},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=h,f}};function i(d,p){var h=d.length,m=p.length,f,v,g;for(v=0;v=0&&(h=d[f],m=h.cacheItem.get(h.arg),!m||!m.size);f--)h.cacheItem.delete(h.arg)}I(s,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}I(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.map(i=>d[i]); +var pS=Object.defineProperty;var fS=(e,t,r)=>t in e?pS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Hn=(e,t,r)=>fS(e,typeof t!="symbol"?t+"":t,r);import{_ as P3}from"./iframe-Chn7UdQi.js";import{r as l,R as y}from"./index-Cs7sjTYM.js";import{j as J}from"./jsx-runtime-BlAj40OV.js";import{r as Hs,E as N3}from"./index-DJFdew98.js";import{O as H3,P as hS}from"./index-D-8MO0q_.js";import{c as Vi,g as js}from"./_commonjsHelpers-BosuxZz1.js";import{y as Em,D as tc}from"./index-DF3CPj03.js";import{d as mS}from"./index-DrFu-skq.js";var gS=Object.create,j3=Object.defineProperty,vS=Object.getOwnPropertyDescriptor,V3=Object.getOwnPropertyNames,yS=Object.getPrototypeOf,bS=Object.prototype.hasOwnProperty,Oa=(e,t)=>function(){return t||(0,e[V3(e)[0]])((t={exports:{}}).exports,t),t.exports},wS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of V3(t))!bS.call(e,a)&&a!==r&&j3(e,a,{get:()=>t[a],enumerable:!(n=vS(t,a))||n.enumerable});return e},ES=(e,t,r)=>(r=e!=null?gS(yS(e)):{},wS(!e||!e.__esModule?j3(r,"default",{value:e,enumerable:!0}):r,e)),xt=e=>`control-${e.replace(/\s+/g,"-")}`,Vs=e=>`set-${e.replace(/\s+/g,"-")}`,xS=Object.create,Lp=Object.defineProperty,CS=Object.getOwnPropertyDescriptor,DS=Object.getOwnPropertyNames,SS=Object.getPrototypeOf,AS=Object.prototype.hasOwnProperty,I=(e,t)=>Lp(e,"name",{value:t,configurable:!0}),Ui=(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')}),Us=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),kS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of DS(t))!AS.call(e,a)&&a!==r&&Lp(e,a,{get:()=>t[a],enumerable:!(n=CS(t,a))||n.enumerable});return e},Mp=(e,t,r)=>(r=e!=null?xS(SS(e)):{},kS(t||!e||!e.__esModule?Lp(r,"default",{value:e,enumerable:!0}):r,e)),_S=Us(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,u=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,m=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,b=t?Symbol.for("react.block"):60121,E=t?Symbol.for("react.fundamental"):60117,x=t?Symbol.for("react.responder"):60118,C=t?Symbol.for("react.scope"):60119;function w(P){return typeof P=="string"||typeof P=="function"||P===a||P===p||P===i||P===o||P===m||P===f||typeof P=="object"&&P!==null&&(P.$$typeof===g||P.$$typeof===v||P.$$typeof===s||P.$$typeof===u||P.$$typeof===h||P.$$typeof===E||P.$$typeof===x||P.$$typeof===C||P.$$typeof===b)}I(w,"isValidElementType");function D(P){if(typeof P=="object"&&P!==null){var lt=P.$$typeof;switch(lt){case r:var _t=P.type;switch(_t){case d:case p:case a:case i:case o:case m:return _t;default:var Wr=_t&&_t.$$typeof;switch(Wr){case u:case h:case g:case v:case s:return Wr;default:return lt}}case n:return lt}}}I(D,"typeOf");var S=d,A=p,k=u,F=s,T=r,R=h,O=a,z=g,L=v,$=n,M=i,j=o,G=m,N=!1;function q(P){return N||(N=!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.")),ee(P)||D(P)===d}I(q,"isAsyncMode");function ee(P){return D(P)===p}I(ee,"isConcurrentMode");function se(P){return D(P)===u}I(se,"isContextConsumer");function te(P){return D(P)===s}I(te,"isContextProvider");function ne(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}I(ne,"isElement");function H(P){return D(P)===h}I(H,"isForwardRef");function Y(P){return D(P)===a}I(Y,"isFragment");function Z(P){return D(P)===g}I(Z,"isLazy");function me(P){return D(P)===v}I(me,"isMemo");function Ae(P){return D(P)===n}I(Ae,"isPortal");function kt(P){return D(P)===i}I(kt,"isProfiler");function Ue(P){return D(P)===o}I(Ue,"isStrictMode");function it(P){return D(P)===m}I(it,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=A,e.ContextConsumer=k,e.ContextProvider=F,e.Element=T,e.ForwardRef=R,e.Fragment=O,e.Lazy=z,e.Memo=L,e.Portal=$,e.Profiler=M,e.StrictMode=j,e.Suspense=G,e.isAsyncMode=q,e.isConcurrentMode=ee,e.isContextConsumer=se,e.isContextProvider=te,e.isElement=ne,e.isForwardRef=H,e.isFragment=Y,e.isLazy=Z,e.isMemo=me,e.isPortal=Ae,e.isProfiler=kt,e.isStrictMode=Ue,e.isSuspense=it,e.isValidElementType=w,e.typeOf=D})()}),FS=Us((e,t)=>{t.exports=_S()}),U3=Us((e,t)=>{var r=FS(),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 u(b){return r.isMemo(b)?i:s[b.$$typeof]||n}I(u,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(b,E,x){if(typeof E!="string"){if(v){var C=f(E);C&&C!==v&&g(b,C,x)}var w=p(E);h&&(w=w.concat(h(E)));for(var D=u(b),S=u(E),A=0;A{(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 I(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof Ui=="function"&&Ui;if(!p&&h)return h(d,!0);if(s)return s(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}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}I(i,"s");for(var s=typeof Ui=="function"&&Ui,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].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 u;for(u=0;u0&&(x[E]={cacheItem:v,arg:arguments[E]},C?i(h,x):h.push(x),h.length>d&&s(h.shift())),f.wasMemoized=C,f.numArgs=E+1,b},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=h,f}};function i(d,p){var h=d.length,m=p.length,f,v,g;for(v=0;v=0&&(h=d[f],m=h.cacheItem.get(h.arg),!m||!m.size);f--)h.cacheItem.delete(h.arg)}I(s,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}I(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?xe(La,--He):0,va--,fe===10&&(va=1,Gs--),fe}I(Q3,"prev");function Me(){return fe=He2||ya(fe)>3?"":" "}I(eb,"whitespace");function tb(e,t){for(;--t&&Me()&&!(fe<48||fe>102||fe>57&&fe<65||fe>70&&fe<97););return Ma(e,Lo()+(t<6&>()==32&&Me()==32))}I(tb,"escaping");function Kl(e){for(;Me();)switch(fe){case e:return He;case 34:case 39:e!==34&&e!==39&&Kl(fe);break;case 40:e===41&&Kl(e);break;case 92:Me();break}return He}I(Kl,"delimiter");function rb(e,t){for(;Me()&&e+fe!==57&&!(e+fe===84&>()===47););return"/*"+Ma(t,He-1)+"*"+qs(e===47?e:Me())}I(rb,"commenter");function nb(e){for(;!ya(gt());)Me();return Ma(e,He)}I(nb,"identifier");function ab(e){return Wp(Po("",null,null,null,[""],e=qp(e),0,[0],e))}I(ab,"compile");function Po(e,t,r,n,a,o,i,s,u){for(var d=0,p=0,h=i,m=0,f=0,v=0,g=1,b=1,E=1,x=0,C="",w=a,D=o,S=n,A=C;b;)switch(v=x,x=Me()){case 40:if(v!=108&&xe(A,h-1)==58){Gl(A+=Q(Mo(x),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:A+=Mo(x);break;case 9:case 10:case 13:case 32:A+=eb(v);break;case 92:A+=tb(Lo()-1,7);continue;case 47:switch(gt()){case 42:case 47:Do(ob(rb(Me(),Lo()),t,r),u);break;default:A+="/"}break;case 123*g:s[d++]=pt(A)*E;case 125*g:case 59:case 0:switch(x){case 0:case 125:b=0;case 59+p:E==-1&&(A=Q(A,/\f/g,"")),f>0&&pt(A)-h&&Do(f>32?Ld(A+";",n,r,h-1):Ld(Q(A," ","")+";",n,r,h-2),u);break;case 59:A+=";";default:if(Do(S=Od(A,t,r,d,p,a,s,C,w=[],D=[],h),o),x===123)if(p===0)Po(A,t,S,S,w,o,h,s,D);else switch(m===99&&xe(A,3)===110?100:m){case 100:case 108:case 109:case 115:Po(e,S,S,n&&Do(Od(e,S,S,0,0,a,s,C,a,w=[],h),D),a,D,h,s,n?w:D);break;default:Po(A,S,S,S,[""],D,0,s,D)}}d=p=f=0,g=E=1,C=A="",h=i;break;case 58:h=1+pt(A),f=v;default:if(g<1){if(x==123)--g;else if(x==125&&g++==0&&Q3()==125)continue}switch(A+=qs(x),x*g){case 38:E=p>0?1:(A+="\f",-1);break;case 44:s[d++]=(pt(A)-1)*E,E=1;break;case 64:gt()===45&&(A+=Mo(Me())),m=gt(),p=h=pt(C=A+=nb(Lo())),x++;break;case 45:v===45&&pt(A)==2&&(g=0)}}return o}I(Po,"parse");function Od(e,t,r,n,a,o,i,s,u,d,p){for(var h=a-1,m=a===0?o:[""],f=Ws(m),v=0,g=0,b=0;v0?m[E]+" "+x:Q(x,/&\f/g,m[E])))&&(u[b++]=C);return fi(e,t,r,a===0?jp:s,u,d,p)}I(Od,"ruleset");function ob(e,t,r){return fi(e,t,r,Hp,qs(X3()),ga(e,2,-2),0)}I(ob,"comment");function Ld(e,t,r,n){return fi(e,t,r,Vp,ga(e,0,n),ga(e,n+1,-1),n)}I(Ld,"declaration");function hn(e,t){for(var r="",n=Ws(e),a=0;a-1},"isIgnoringComment"),US=I(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 u=i[s];if(u.line=0;r--)if(!sb(t[r]))return!0;return!1},"isPrependedWithRegularRules"),Dm=I(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),WS=I(function(e,t,r){sb(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."),Dm(e)):qS(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Dm(e)))},"incorrectImportAlarm");function Gp(e,t){switch(K3(e,t)){case 5103:return re+"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 re+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return re+e+Wl+e+Te+e+e;case 6828:case 4268:return re+e+Te+e+e;case 6165:return re+e+Te+"flex-"+e+e;case 5187:return re+e+Q(e,/(\w+).+(:[^]+)/,re+"box-$1$2"+Te+"flex-$1$2")+e;case 5443:return re+e+Te+"flex-item-"+Q(e,/flex-|-self/,"")+e;case 4675:return re+e+Te+"flex-line-pack"+Q(e,/align-content|flex-|-self/,"")+e;case 5548:return re+e+Te+Q(e,"shrink","negative")+e;case 5292:return re+e+Te+Q(e,"basis","preferred-size")+e;case 6060:return re+"box-"+Q(e,"-grow","")+re+e+Te+Q(e,"grow","positive")+e;case 4554:return re+Q(e,/([^-])(transform)/g,"$1"+re+"$2")+e;case 6187:return Q(Q(Q(e,/(zoom-|grab)/,re+"$1"),/(image-set)/,re+"$1"),e,"")+e;case 5495:case 3959:return Q(e,/(image-set\([^]*)/,re+"$1$`$1");case 4968:return Q(Q(e,/(.+:)(flex-)?(.*)/,re+"box-pack:$3"+Te+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+re+e+e;case 4095:case 3583:case 4068:case 2532:return Q(e,/(.+)-inline(.+)/,re+"$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(pt(e)-1-t>6)switch(xe(e,t+1)){case 109:if(xe(e,t+4)!==45)break;case 102:return Q(e,/(.+:)(.+)-([^]+)/,"$1"+re+"$2-$3$1"+Wl+(xe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Gl(e,"stretch")?Gp(Q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(xe(e,t+1)!==115)break;case 6444:switch(xe(e,pt(e)-3-(~Gl(e,"!important")&&10))){case 107:return Q(e,":",":"+re)+e;case 101:return Q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+re+(xe(e,14)===45?"inline-":"")+"box$3$1"+re+"$2$3$1"+Te+"$2box$3")+e}break;case 5936:switch(xe(e,t+11)){case 114:return re+e+Te+Q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return re+e+Te+Q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return re+e+Te+Q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return re+e+Te+e+e}return e}I(Gp,"prefix");var GS=I(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Vp:e.return=Gp(e.value,e.length);break;case G3:return hn([Zn(e,{value:Q(e.value,"@","@"+re)})],n);case jp:if(e.length)return Z3(e.props,function(a){switch(Y3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return hn([Zn(e,{props:[Q(a,/:(read-\w+)/,":"+Wl+"$1")]})],n);case"::placeholder":return hn([Zn(e,{props:[Q(a,/:(plac\w+)/,":"+re+"input-$1")]}),Zn(e,{props:[Q(a,/:(plac\w+)/,":"+Wl+"$1")]}),Zn(e,{props:[Q(a,/:(plac\w+)/,Te+"input-$1")]})],n)}return""})}},"prefixer"),KS=[GS],YS=I(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||KS;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(" "),b=1;b=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)}I(ub,"murmur2");var QS={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},Sm=`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';". @@ -558,7 +558,7 @@ ${t}`);let r=t.match(Z$);if(!r)return y.createElement(l.Fragment,null,t);let[,n, * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */const{global:tt}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:pee,once:fee,logger:dm}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:C3,composeConfigs:Cae,Preview:Dae,DocsContext:Sae}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:D3,UPDATE_STORY_ARGS:hee,RESET_STORY_ARGS:mee,GLOBALS_UPDATED:S3,NAVIGATE_URL:gee}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var vee=Oa({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),yee=Oa({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,u=" ";function d(w,D){var S=D.appendChild(h(w));if(w.children.length){var A=m(w.isCollapsed);w.children.forEach(function(k){d(k,A)}),S.appendChild(A)}}function p(w,D){var S=!1,A=m(S);if(D.forEach(function(k){d(k,A)}),i=w||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),D.length===0?i:i.appendChild(A)}function h(w){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",w.textContent),r.includeHtml&&w.childNodes.length?n.call(w.childNodes,function(A){S.appendChild(A.cloneNode(!0))}):S.textContent=w.textContent,S.setAttribute("href",r.basePath+"#"+w.id),S.setAttribute("class",r.linkClass+u+"node-name--"+w.nodeName+u+r.extraLinkClasses),D.appendChild(S),D}function m(w){var D=r.orderedList?"ol":"ul",S=document.createElement(D),A=r.listClass+u+r.extraListClasses;return w&&(A=A+u+r.collapsibleClass,A=A+u+r.isCollapsedClass),S.setAttribute("class",A),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var w;w=document.querySelector(r.scrollContainer).scrollTop}else w=document.documentElement.scrollTop||o.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),w>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=u+r.positionFixedClass):D.className=D.className.replace(u+r.positionFixedClass,"")}function v(w){var D=0;return w!==null&&(D=w.offsetTop,r.hasInnerContainers&&(D+=v(w.offsetParent))),D}function g(w,D){return w&&w.className!==D&&(w.className=D),w}function b(w){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=w,A;if(s&&i!==null&&S.length>0){a.call(S,function(L,$){if(v(L)>D+r.headingsOffset+10){var M=$===0?$:$-1;return A=S[M],!0}else if($===S.length-1)return A=S[S.length-1],!0});var k=i.querySelector("."+r.activeLinkClass),F=i.querySelector("."+r.linkClass+".node-name--"+A.nodeName+'[href="'+r.basePath+"#"+A.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(k===F)return;var T=i.querySelectorAll("."+r.linkClass);n.call(T,function(L){g(L,L.className.replace(u+r.activeLinkClass,""))});var R=i.querySelectorAll("."+r.listItemClass);n.call(R,function(L){g(L,L.className.replace(u+r.activeListItemClass,""))}),F&&F.className.indexOf(r.activeLinkClass)===-1&&(F.className+=u+r.activeLinkClass);var O=F&&F.parentNode;O&&O.className.indexOf(r.activeListItemClass)===-1&&(O.className+=u+r.activeListItemClass);var z=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function(L){L.className.indexOf(r.isCollapsedClass)===-1&&(L.className+=u+r.isCollapsedClass)}),F&&F.nextSibling&&F.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(F.nextSibling,F.nextSibling.className.replace(u+r.isCollapsedClass,"")),E(F&&F.parentNode.parentNode)}}function E(w){return w&&w.className.indexOf(r.collapsibleClass)!==-1&&w.className.indexOf(r.isCollapsedClass)!==-1?(g(w,w.className.replace(u+r.isCollapsedClass,"")),E(w.parentNode.parentNode)):w}function x(w){var D=w.target||w.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(s=!1)}function C(){s=!0}return{enableTocAnimation:C,disableTocAnimation:x,render:p,updateToc:b}}}}),bee=Oa({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(h){return h[h.length-1]}function o(h){return+h.nodeName.toUpperCase().replace("H","")}function i(h){try{return h instanceof window.HTMLElement||h instanceof window.parent.HTMLElement}catch{return h instanceof window.HTMLElement}}function s(h){if(!i(h))return h;if(r.ignoreHiddenElements&&(!h.offsetHeight||!h.offsetParent))return null;let m=h.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(h.innerText)):(h.innerText||h.textContent).trim());var f={id:h.id,children:[],nodeName:h.nodeName,headingLevel:o(h),textContent:m};return r.includeHtml&&(f.childNodes=h.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,h):f}function u(h,m){for(var f=s(h),v=f.headingLevel,g=m,b=a(g),E=b?b.headingLevel:0,x=v-E;x>0&&(b=a(g),!(b&&v===b.headingLevel));)b&&b.children!==void 0&&(g=b.children),x--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(h,m){var f=m;r.ignoreSelector&&(f=m.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return h.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(h){return n.call(h,function(m,f){var v=s(f);return v&&u(v,m.nest),m},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),wee=Oa({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),Eee=Oa({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",h,!1);function h(m){!u(m.target)||m.target.className.indexOf("no-smooth-scroll")>-1||m.target.href.charAt(m.target.href.length-2)==="#"&&m.target.href.charAt(m.target.href.length-1)==="!"||m.target.className.indexOf(n.linkClass)===-1||r(m.target.hash,{duration:a,offset:o,callback:function(){p(m.target.hash)}})}}function u(h){return h.tagName.toLowerCase()==="a"&&(h.hash.length>0||h.href.charAt(h.href.length-1)==="#")&&(d(h.href)===i||d(h.href)+"#"===i)}function d(h){return h.slice(0,h.lastIndexOf("#"))}function p(h){var m=document.getElementById(h.substring(1));m&&(/^(?:a|select|input|button|textarea)$/i.test(m.tagName)||(m.tabIndex=-1),m.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||v},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(u):i.duration,p,h;requestAnimationFrame(function(g){p=g,m(g)});function m(g){h=g-p,window.scrollTo(0,i.easing(h,o,u,d)),h"u"&&!h)return;var m,f=Object.prototype.hasOwnProperty;function v(){for(var x={},C=0;C({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:le(.3,e.color.defaultText),fontSize:e.typography.size.s2})),ND=e=>y.createElement(Cee,{...e,className:"docblock-emptyblock sb-unstyled"}),Dee=_(Ih)(({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"}})),See=_.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"})),wl=_.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Hd}`]:{margin:0}})),Aee=()=>y.createElement(See,null,y.createElement(wl,null),y.createElement(wl,{style:{width:"80%"}}),y.createElement(wl,{style:{width:"30%"}}),y.createElement(wl,{style:{width:"80%"}})),HD=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=mb();if(e)return y.createElement(Aee,null);if(t)return y.createElement(ND,null,t);let u=y.createElement(Dee,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return u;let d=a?Pd.dark:Pd.light;return y.createElement(gb,{theme:Nd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},u)},ge=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,pm=600,kee=_.h1(ce,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${pm}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),_ee=_.h2(ce,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${pm}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:le(.25,e.color.defaultText)})),Fee=_.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"?le(.1,e.color.defaultText):le(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ge("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}},[ge("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}},[ge("div")]:t,[ge("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}},[ge("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ge("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ge("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ge("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[ge("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[ge("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ge("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ge("img")]:{maxWidth:"100%"},[ge("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[ge("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ge("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[ge("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"}},[ge("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"}}},[ge("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}},[ge("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),Iee=_.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${pm}px)`]:{}})),Tee=({children:e,toc:t})=>y.createElement(Iee,{className:"sbdocs sbdocs-wrapper"},y.createElement(Fee,{className:"sbdocs sbdocs-content"},e),t),Ju=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:Ree}=tt,Bee=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=Ree.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})}},jD=l.createContext({scale:1}),{PREVIEW_URL:zee}=tt,$ee=zee||"iframe.html",Ip=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,Oee=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:u,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let h=t.current,m=p(i,h,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>m())}},[u,p,i]),a?y.createElement("pre",null,y.createElement(eO,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${Ip(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(VD,null),y.createElement("div",{ref:t,id:`${Ip(e)}-inner`,"data-name":i.name}))},Lee=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(jD.Consumer,null,({scale:r})=>y.createElement(Bee,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:CL($ee,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),Mee=_.strong(({theme:e})=>({color:e.color.orange})),Pee=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(Mee,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:Ip(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(Oee,{...e}):y.createElement(Lee,{...e}))},VD=()=>y.createElement(xL,null),Nee=_(Ph)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Hee=_.div({display:"flex",alignItems:"center",gap:4}),jee=_.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`})),Vee=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(Nee,{...o},y.createElement(Hee,{key:"left"},e?[1,2,3].map(i=>y.createElement(jee,{key:i})):y.createElement(y.Fragment,null,y.createElement(vn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(fM,null)),y.createElement(vn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(hM,null)),y.createElement(vn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(mM,null))))),Uee=_.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)`}}:{}),A3=_(HD)(({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)":Ot(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ot(.05,e.background.content)}})),qee=_.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Ju(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),Wee=(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(A3,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(A3,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function Gee(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var Kee=_(Vee)({position:"absolute",top:0,left:0,right:0,height:40}),Yee=_.div({overflow:"hidden",position:"relative"}),UD=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:u,layout:d="padded",...p})=>{let[h,m]=l.useState(i),{source:f,actionItem:v}=Wee(a,h,m),[g,b]=l.useState(1),E=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),x=a?[v]:[],[C,w]=l.useState(s?[...s]:[]),D=[...x,...C],{window:S}=tt,A=l.useCallback(async F=>{let{createCopyToClipboardFunction:T}=await P3(()=>import("./index-CqsCPf7m.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url);T()},[]),k=F=>{let T=S.getSelection();T&&T.type==="Range"||(F.preventDefault(),C.filter(R=>R.title==="Copied").length===0&&A(f.props.code).then(()=>{w([...C,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>w(C.filter(R=>R.title!=="Copied")),1500)}))};return y.createElement(qee,{withSource:a,withToolbar:o,...p,className:E.join(" ")},o&&y.createElement(Kee,{isLoading:e,border:!0,zoom:F=>b(g*F),resetZoom:()=>b(1),storyId:Gee(n),baseUrl:"./iframe.html"}),y.createElement(jD.Provider,{value:{scale:g}},y.createElement(Yee,{className:"docs-story",onCopyCapture:a&&k},y.createElement(Uee,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(W$.Element,{scale:g},Array.isArray(n)?n.map((F,T)=>y.createElement("div",{key:T},F)):y.createElement("div",null,n))),y.createElement(pf,{actionItems:D}))),a&&h&&f)};_(UD)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var Zee=_.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:le(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${vl(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${vl(.05,e.appBorderColor)} 0 0 0 2px inset`,color:vl(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${vl(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),Jee=e=>e==="true",Xee=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var p;let i=l.useCallback(()=>r(!1),[r]),s=!!((p=o==null?void 0:o.table)!=null&&p.readonly);if(t===void 0)return y.createElement(Bn,{variant:"outline",size:"medium",id:Vs(e),onClick:i,disabled:s},"Set boolean");let u=xt(e),d=typeof t=="string"?Jee(t):t;return y.createElement(Zee,{"aria-disabled":s,htmlFor:u,"aria-label":e},y.createElement("input",{id:u,type:"checkbox",onChange:h=>r(h.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),y.createElement("span",{"aria-hidden":"true"},"False"),y.createElement("span",{"aria-hidden":"true"},"True"))},Qee=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},ete=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},tte=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},rte=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},k3=_(Oi.Input)(({readOnly:e})=>({opacity:e?.5:1})),nte=_.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),ate=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var v;let[i,s]=l.useState(!0),u=l.useRef(),d=l.useRef(),p=!!((v=o==null?void 0:o.table)!=null&&v.readonly);l.useEffect(()=>{i!==!1&&(u&&u.current&&(u.current.value=t?tte(t):""),d&&d.current&&(d.current.value=t?rte(t):""))},[t]);let h=g=>{if(!g.target.value)return r();let b=Qee(g.target.value),E=new Date(t);E.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let x=E.getTime();x&&r(x),s(!!x)},m=g=>{if(!g.target.value)return r();let b=ete(g.target.value),E=new Date(t);E.setHours(b.getHours()),E.setMinutes(b.getMinutes());let x=E.getTime();x&&r(x),s(!!x)},f=xt(e);return y.createElement(nte,null,y.createElement(k3,{type:"date",max:"9999-12-31",ref:u,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:h,onFocus:n,onBlur:a}),y.createElement(k3,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:m,readOnly:p,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},ote=_.label({display:"flex"}),ite=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},lte=_(Oi.Input)(({readOnly:e})=>({opacity:e?.5:1})),ste=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:u})=>{var C;let[d,p]=l.useState(typeof t=="number"?t:""),[h,m]=l.useState(!1),[f,v]=l.useState(null),g=!!((C=u==null?void 0:u.table)!=null&&C.readonly),b=l.useCallback(w=>{p(w.target.value);let D=parseFloat(w.target.value);Number.isNaN(D)?v(new Error(`'${w.target.value}' is not a number`)):(r(D),v(null))},[r,v]),E=l.useCallback(()=>{p("0"),r(0),m(!0)},[m]),x=l.useRef(null);return l.useEffect(()=>{h&&x.current&&x.current.select()},[h]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?y.createElement(Bn,{variant:"outline",size:"medium",id:Vs(e),onClick:E,disabled:g},"Set number"):y.createElement(ote,null,y.createElement(lte,{ref:x,id:xt(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:h,readOnly:g,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},qD=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Tp=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],WD=(e,t)=>e&&t&&e.map(r=>t[r]),ute=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),cte=_.span({"[aria-readonly=true] &":{opacity:.5}}),dte=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),_3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var m;if(!t)return dm.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=Tp(r,t),[s,u]=l.useState(i),d=!!((m=o==null?void 0:o.table)!=null&&m.readonly),p=f=>{let v=f.target.value,g=[...s];g.includes(v)?g.splice(g.indexOf(v),1):g.push(v),n(WD(g,t)),u(g)};l.useEffect(()=>{u(Tp(r,t))},[r]);let h=xt(e);return y.createElement(ute,{"aria-readonly":d,isInline:a},Object.keys(t).map((f,v)=>{let g=`${h}-${v}`;return y.createElement(dte,{key:g,htmlFor:g},y.createElement("input",{type:"checkbox",disabled:d,id:g,name:g,value:f,onChange:p,checked:s==null?void 0:s.includes(f)}),y.createElement(cte,null,f))}))},pte=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),fte=_.span({"[aria-readonly=true] &":{opacity:.5}}),hte=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),F3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return dm.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=qD(r,t),s=xt(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(pte,{"aria-readonly":u,isInline:a},Object.keys(t).map((p,h)=>{let m=`${s}-${h}`;return y.createElement(hte,{key:m,htmlFor:m},y.createElement("input",{type:"radio",id:m,name:s,disabled:u,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===i}),y.createElement(fte,null,p))}))},mte={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},GD=_.select(mte,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),KD=_.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),I3="Choose option...",gte=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{n(r[p.currentTarget.value])},i=qD(t,r)||I3,s=xt(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(KD,null,y.createElement(kC,null),y.createElement(GD,{disabled:u,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},I3),Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},vte=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{let h=Array.from(p.currentTarget.options).filter(m=>m.selected).map(m=>m.value);n(WD(h,r))},i=Tp(t,r),s=xt(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(KD,null,y.createElement(GD,{disabled:u,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},T3=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(vte,{...e}):y.createElement(gte,{...e}):(dm.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},yte=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,bte={check:_3,"inline-check":_3,radio:F3,"inline-radio":F3,select:T3,"multi-select":T3},Yn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?yte(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=bte[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},wte="Error",Ete="Object",xte="Array",Cte="String",Dte="Number",Ste="Boolean",Ate="Date",kte="Null",_te="Undefined",Fte="Function",Ite="Symbol",YD="ADD_DELTA_TYPE",ZD="REMOVE_DELTA_TYPE",JD="UPDATE_DELTA_TYPE",fm="value",Tte="key";function fn(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function XD(e,t){let r=fn(e),n=fn(t);return(r==="Function"||n==="Function")&&n!==r}var hm=class extends l.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,s=l.cloneElement(r,{onClick:this.onSubmit}),u=l.cloneElement(n,{onClick:e}),d=a(fm,o,i),p=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let m=a(Tte,o,i);h=l.cloneElement(m,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},h,p,u,s)}};hm.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var QD=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:ZD};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(r[r.length-1],i),u({type:YD,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:JD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:s,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=i(e,t,r,n,s),h=o(e,t,r,n,s),m=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!h&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,delimiter:T,ul:R,addForm:O}=p(e,t,r,n,h),z=d(e,t,r,n,h),L=l.cloneElement(x,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),$=l.cloneElement(E,{onClick:s,className:"rejt-minus-menu",style:k});return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"["),!a&&L,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},t.map((M,j)=>y.createElement(Xu,{key:j,name:j.toString(),data:M,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}))),!z&&a&&y.createElement("div",{className:"rejt-add-form",style:O},y.createElement(hm,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"]"),!z&&$)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=i(e,r,n,a,o);return y.createElement("div",{className:"rejt-array-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};QD.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var eS=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{XD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:h,textareaElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,u),b=null,E=null,x=s(e,i,n,a,u);if(r&&!x){let C=m(fm,v,a,e,i,u),w=l.cloneElement(p,{onClick:this.handleEdit}),D=l.cloneElement(h,{onClick:this.handleCancelEdit}),S=l.cloneElement(C,{ref:this.refInput,defaultValue:i});b=y.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",D,w),E=null}else{b=y.createElement("span",{className:"rejt-value",style:g.value,onClick:x?null:this.handleEditMode},t);let C=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});E=x?null:C}return y.createElement("li",{className:"rejt-function-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),b,E)}};eS.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var Xu=class extends l.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:E,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S}=this.props,A=()=>!0,k=fn(e);switch(k){case wte:return y.createElement(Rp,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:A,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:E,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case Ete:return y.createElement(Rp,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:E,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case xte:return y.createElement(QD,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:E,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case Cte:return y.createElement(xr,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Dte:return y.createElement(xr,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Ste:return y.createElement(xr,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Ate:return y.createElement(xr,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case kte:return y.createElement(xr,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case _te:return y.createElement(xr,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Fte:return y.createElement(eS,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Ite:return y.createElement(xr,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});default:return null}}};Xu.defaultProps={keyPath:[],deep:0};var Rp=class extends l.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(n[n.length-1],r),u({type:YD,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:ZD};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:JD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=s(e,n,t,r,i),h=Object.getOwnPropertyNames(n),m=o(e,n,t,r,i),f=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",h.length," ",h.length===1?"key":"keys"),!m&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,addForm:T,ul:R,delimiter:O}=p(e,t,r,n,h),z=Object.getOwnPropertyNames(t),L=d(e,t,r,n,h),$=l.cloneElement(x,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),M=l.cloneElement(E,{onClick:s,className:"rejt-minus-menu",style:k}),j=z.map(G=>y.createElement(Xu,{key:G,name:G,data:t[G],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(G),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:O},"{"),!L&&$,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},j),!L&&o&&y.createElement("div",{className:"rejt-add-form",style:T},y.createElement(hm,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:O},"}"),!L&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=o(e,r,n,a,i);return y.createElement("div",{className:"rejt-object-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};Rp.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var xr=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{XD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:h,inputElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,u),b=s(e,i,n,a,u),E=r&&!b,x=m(fm,v,a,e,i,u),C=l.cloneElement(p,{onClick:this.handleEdit}),w=l.cloneElement(h,{onClick:this.handleCancelEdit}),D=l.cloneElement(x,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});return y.createElement("li",{className:"rejt-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," : "),E?y.createElement("span",{className:"rejt-edit-form",style:g.editForm},D," ",w,C):y.createElement("span",{className:"rejt-value",style:g.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!E&&S)}};xr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};function Rte(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var Bte={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},zte={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},$te={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},tS=class extends l.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElement:d,textareaElement:p,minusMenuElement:h,plusMenuElement:m,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:b,onSubmitValueParser:E,fallback:x=null}=this.props,C=fn(e),w=a;fn(a)==="Boolean"&&(w=()=>a);let D=d;d&&fn(d)!=="Function"&&(D=()=>d);let S=p;return p&&fn(p)!=="Function"&&(S=()=>p),C==="Object"||C==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(Xu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:h,plusMenuElement:m,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:b,onSubmitValueParser:E})):x}};tS.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return Bte;case"Array":return zte;default:return $te}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>Rte(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:Ote}=tt,Lte=_.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Bd=_.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),Mte=_(bM)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),Pte=_(wM)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),R3=_.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),Nte=_(vn)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),Hte=_(Oi.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),jte={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},Vte=e=>{e.currentTarget.dispatchEvent(new Ote.KeyboardEvent("keydown",jte))},Ute=e=>{e.currentTarget.select()},qte=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),B3=({name:e,value:t,onChange:r,argType:n})=>{var C;let a=mb(),o=l.useMemo(()=>t&&cJ(t),[t]),i=o!=null,[s,u]=l.useState(!i),[d,p]=l.useState(null),h=!!((C=n==null?void 0:n.table)!=null&&C.readonly),m=l.useCallback(w=>{try{w&&r(JSON.parse(w)),p(void 0)}catch(D){p(D)}},[r]),[f,v]=l.useState(!1),g=l.useCallback(()=>{r({}),v(!0)},[v]),b=l.useRef(null);if(l.useEffect(()=>{f&&b.current&&b.current.select()},[f]),!i)return y.createElement(Bn,{disabled:h,id:Vs(e),onClick:g},"Set object");let E=y.createElement(Hte,{ref:b,id:xt(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:w=>m(w.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:h}),x=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return y.createElement(Lte,{"aria-readonly":h},x&&y.createElement(Nte,{onClick:w=>{w.preventDefault(),u(D=>!D)}},s?y.createElement(vM,null):y.createElement(gM,null),y.createElement("span",null,"RAW")),s?E:y.createElement(tS,{readOnly:h||!x,isCollapsed:x?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:qte(a),cancelButtonElement:y.createElement(Bd,{type:"button"},"Cancel"),editButtonElement:y.createElement(Bd,{type:"submit"},"Save"),addButtonElement:y.createElement(Bd,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(Mte,null),minusMenuElement:y.createElement(Pte,null),inputElement:(w,D,S,A)=>A?y.createElement(R3,{onFocus:Ute,onBlur:Vte}):y.createElement(R3,null),fallback:E}))},Wte=_.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, + */const{global:tt}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:pee,once:fee,logger:dm}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:C3,composeConfigs:Cae,Preview:Dae,DocsContext:Sae}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:D3,UPDATE_STORY_ARGS:hee,RESET_STORY_ARGS:mee,GLOBALS_UPDATED:S3,NAVIGATE_URL:gee}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var vee=Oa({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),yee=Oa({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,u=" ";function d(w,D){var S=D.appendChild(h(w));if(w.children.length){var A=m(w.isCollapsed);w.children.forEach(function(k){d(k,A)}),S.appendChild(A)}}function p(w,D){var S=!1,A=m(S);if(D.forEach(function(k){d(k,A)}),i=w||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),D.length===0?i:i.appendChild(A)}function h(w){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",w.textContent),r.includeHtml&&w.childNodes.length?n.call(w.childNodes,function(A){S.appendChild(A.cloneNode(!0))}):S.textContent=w.textContent,S.setAttribute("href",r.basePath+"#"+w.id),S.setAttribute("class",r.linkClass+u+"node-name--"+w.nodeName+u+r.extraLinkClasses),D.appendChild(S),D}function m(w){var D=r.orderedList?"ol":"ul",S=document.createElement(D),A=r.listClass+u+r.extraListClasses;return w&&(A=A+u+r.collapsibleClass,A=A+u+r.isCollapsedClass),S.setAttribute("class",A),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var w;w=document.querySelector(r.scrollContainer).scrollTop}else w=document.documentElement.scrollTop||o.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),w>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=u+r.positionFixedClass):D.className=D.className.replace(u+r.positionFixedClass,"")}function v(w){var D=0;return w!==null&&(D=w.offsetTop,r.hasInnerContainers&&(D+=v(w.offsetParent))),D}function g(w,D){return w&&w.className!==D&&(w.className=D),w}function b(w){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=w,A;if(s&&i!==null&&S.length>0){a.call(S,function(L,$){if(v(L)>D+r.headingsOffset+10){var M=$===0?$:$-1;return A=S[M],!0}else if($===S.length-1)return A=S[S.length-1],!0});var k=i.querySelector("."+r.activeLinkClass),F=i.querySelector("."+r.linkClass+".node-name--"+A.nodeName+'[href="'+r.basePath+"#"+A.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(k===F)return;var T=i.querySelectorAll("."+r.linkClass);n.call(T,function(L){g(L,L.className.replace(u+r.activeLinkClass,""))});var R=i.querySelectorAll("."+r.listItemClass);n.call(R,function(L){g(L,L.className.replace(u+r.activeListItemClass,""))}),F&&F.className.indexOf(r.activeLinkClass)===-1&&(F.className+=u+r.activeLinkClass);var O=F&&F.parentNode;O&&O.className.indexOf(r.activeListItemClass)===-1&&(O.className+=u+r.activeListItemClass);var z=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function(L){L.className.indexOf(r.isCollapsedClass)===-1&&(L.className+=u+r.isCollapsedClass)}),F&&F.nextSibling&&F.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(F.nextSibling,F.nextSibling.className.replace(u+r.isCollapsedClass,"")),E(F&&F.parentNode.parentNode)}}function E(w){return w&&w.className.indexOf(r.collapsibleClass)!==-1&&w.className.indexOf(r.isCollapsedClass)!==-1?(g(w,w.className.replace(u+r.isCollapsedClass,"")),E(w.parentNode.parentNode)):w}function x(w){var D=w.target||w.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(s=!1)}function C(){s=!0}return{enableTocAnimation:C,disableTocAnimation:x,render:p,updateToc:b}}}}),bee=Oa({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(h){return h[h.length-1]}function o(h){return+h.nodeName.toUpperCase().replace("H","")}function i(h){try{return h instanceof window.HTMLElement||h instanceof window.parent.HTMLElement}catch{return h instanceof window.HTMLElement}}function s(h){if(!i(h))return h;if(r.ignoreHiddenElements&&(!h.offsetHeight||!h.offsetParent))return null;let m=h.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(h.innerText)):(h.innerText||h.textContent).trim());var f={id:h.id,children:[],nodeName:h.nodeName,headingLevel:o(h),textContent:m};return r.includeHtml&&(f.childNodes=h.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,h):f}function u(h,m){for(var f=s(h),v=f.headingLevel,g=m,b=a(g),E=b?b.headingLevel:0,x=v-E;x>0&&(b=a(g),!(b&&v===b.headingLevel));)b&&b.children!==void 0&&(g=b.children),x--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(h,m){var f=m;r.ignoreSelector&&(f=m.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return h.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(h){return n.call(h,function(m,f){var v=s(f);return v&&u(v,m.nest),m},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),wee=Oa({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),Eee=Oa({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",h,!1);function h(m){!u(m.target)||m.target.className.indexOf("no-smooth-scroll")>-1||m.target.href.charAt(m.target.href.length-2)==="#"&&m.target.href.charAt(m.target.href.length-1)==="!"||m.target.className.indexOf(n.linkClass)===-1||r(m.target.hash,{duration:a,offset:o,callback:function(){p(m.target.hash)}})}}function u(h){return h.tagName.toLowerCase()==="a"&&(h.hash.length>0||h.href.charAt(h.href.length-1)==="#")&&(d(h.href)===i||d(h.href)+"#"===i)}function d(h){return h.slice(0,h.lastIndexOf("#"))}function p(h){var m=document.getElementById(h.substring(1));m&&(/^(?:a|select|input|button|textarea)$/i.test(m.tagName)||(m.tabIndex=-1),m.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||v},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(u):i.duration,p,h;requestAnimationFrame(function(g){p=g,m(g)});function m(g){h=g-p,window.scrollTo(0,i.easing(h,o,u,d)),h"u"&&!h)return;var m,f=Object.prototype.hasOwnProperty;function v(){for(var x={},C=0;C({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:le(.3,e.color.defaultText),fontSize:e.typography.size.s2})),ND=e=>y.createElement(Cee,{...e,className:"docblock-emptyblock sb-unstyled"}),Dee=_(Ih)(({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"}})),See=_.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"})),wl=_.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Hd}`]:{margin:0}})),Aee=()=>y.createElement(See,null,y.createElement(wl,null),y.createElement(wl,{style:{width:"80%"}}),y.createElement(wl,{style:{width:"30%"}}),y.createElement(wl,{style:{width:"80%"}})),HD=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=mb();if(e)return y.createElement(Aee,null);if(t)return y.createElement(ND,null,t);let u=y.createElement(Dee,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return u;let d=a?Pd.dark:Pd.light;return y.createElement(gb,{theme:Nd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},u)},ge=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,pm=600,kee=_.h1(ce,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${pm}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),_ee=_.h2(ce,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${pm}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:le(.25,e.color.defaultText)})),Fee=_.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"?le(.1,e.color.defaultText):le(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ge("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}},[ge("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}},[ge("div")]:t,[ge("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}},[ge("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ge("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ge("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ge("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[ge("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[ge("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ge("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ge("img")]:{maxWidth:"100%"},[ge("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[ge("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ge("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[ge("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"}},[ge("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"}}},[ge("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}},[ge("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),Iee=_.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${pm}px)`]:{}})),Tee=({children:e,toc:t})=>y.createElement(Iee,{className:"sbdocs sbdocs-wrapper"},y.createElement(Fee,{className:"sbdocs sbdocs-content"},e),t),Ju=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:Ree}=tt,Bee=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=Ree.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})}},jD=l.createContext({scale:1}),{PREVIEW_URL:zee}=tt,$ee=zee||"iframe.html",Ip=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,Oee=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:u,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let h=t.current,m=p(i,h,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>m())}},[u,p,i]),a?y.createElement("pre",null,y.createElement(eO,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${Ip(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(VD,null),y.createElement("div",{ref:t,id:`${Ip(e)}-inner`,"data-name":i.name}))},Lee=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(jD.Consumer,null,({scale:r})=>y.createElement(Bee,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:CL($ee,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),Mee=_.strong(({theme:e})=>({color:e.color.orange})),Pee=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(Mee,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:Ip(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(Oee,{...e}):y.createElement(Lee,{...e}))},VD=()=>y.createElement(xL,null),Nee=_(Ph)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Hee=_.div({display:"flex",alignItems:"center",gap:4}),jee=_.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`})),Vee=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(Nee,{...o},y.createElement(Hee,{key:"left"},e?[1,2,3].map(i=>y.createElement(jee,{key:i})):y.createElement(y.Fragment,null,y.createElement(vn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(fM,null)),y.createElement(vn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(hM,null)),y.createElement(vn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(mM,null))))),Uee=_.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)`}}:{}),A3=_(HD)(({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)":Ot(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ot(.05,e.background.content)}})),qee=_.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Ju(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),Wee=(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(A3,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(A3,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function Gee(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var Kee=_(Vee)({position:"absolute",top:0,left:0,right:0,height:40}),Yee=_.div({overflow:"hidden",position:"relative"}),UD=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:u,layout:d="padded",...p})=>{let[h,m]=l.useState(i),{source:f,actionItem:v}=Wee(a,h,m),[g,b]=l.useState(1),E=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),x=a?[v]:[],[C,w]=l.useState(s?[...s]:[]),D=[...x,...C],{window:S}=tt,A=l.useCallback(async F=>{let{createCopyToClipboardFunction:T}=await P3(()=>import("./index-jv-4ewYB.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url);T()},[]),k=F=>{let T=S.getSelection();T&&T.type==="Range"||(F.preventDefault(),C.filter(R=>R.title==="Copied").length===0&&A(f.props.code).then(()=>{w([...C,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>w(C.filter(R=>R.title!=="Copied")),1500)}))};return y.createElement(qee,{withSource:a,withToolbar:o,...p,className:E.join(" ")},o&&y.createElement(Kee,{isLoading:e,border:!0,zoom:F=>b(g*F),resetZoom:()=>b(1),storyId:Gee(n),baseUrl:"./iframe.html"}),y.createElement(jD.Provider,{value:{scale:g}},y.createElement(Yee,{className:"docs-story",onCopyCapture:a&&k},y.createElement(Uee,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(W$.Element,{scale:g},Array.isArray(n)?n.map((F,T)=>y.createElement("div",{key:T},F)):y.createElement("div",null,n))),y.createElement(pf,{actionItems:D}))),a&&h&&f)};_(UD)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var Zee=_.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:le(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${vl(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${vl(.05,e.appBorderColor)} 0 0 0 2px inset`,color:vl(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${vl(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),Jee=e=>e==="true",Xee=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var p;let i=l.useCallback(()=>r(!1),[r]),s=!!((p=o==null?void 0:o.table)!=null&&p.readonly);if(t===void 0)return y.createElement(Bn,{variant:"outline",size:"medium",id:Vs(e),onClick:i,disabled:s},"Set boolean");let u=xt(e),d=typeof t=="string"?Jee(t):t;return y.createElement(Zee,{"aria-disabled":s,htmlFor:u,"aria-label":e},y.createElement("input",{id:u,type:"checkbox",onChange:h=>r(h.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),y.createElement("span",{"aria-hidden":"true"},"False"),y.createElement("span",{"aria-hidden":"true"},"True"))},Qee=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},ete=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},tte=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},rte=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},k3=_(Oi.Input)(({readOnly:e})=>({opacity:e?.5:1})),nte=_.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),ate=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var v;let[i,s]=l.useState(!0),u=l.useRef(),d=l.useRef(),p=!!((v=o==null?void 0:o.table)!=null&&v.readonly);l.useEffect(()=>{i!==!1&&(u&&u.current&&(u.current.value=t?tte(t):""),d&&d.current&&(d.current.value=t?rte(t):""))},[t]);let h=g=>{if(!g.target.value)return r();let b=Qee(g.target.value),E=new Date(t);E.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let x=E.getTime();x&&r(x),s(!!x)},m=g=>{if(!g.target.value)return r();let b=ete(g.target.value),E=new Date(t);E.setHours(b.getHours()),E.setMinutes(b.getMinutes());let x=E.getTime();x&&r(x),s(!!x)},f=xt(e);return y.createElement(nte,null,y.createElement(k3,{type:"date",max:"9999-12-31",ref:u,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:h,onFocus:n,onBlur:a}),y.createElement(k3,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:m,readOnly:p,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},ote=_.label({display:"flex"}),ite=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},lte=_(Oi.Input)(({readOnly:e})=>({opacity:e?.5:1})),ste=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:u})=>{var C;let[d,p]=l.useState(typeof t=="number"?t:""),[h,m]=l.useState(!1),[f,v]=l.useState(null),g=!!((C=u==null?void 0:u.table)!=null&&C.readonly),b=l.useCallback(w=>{p(w.target.value);let D=parseFloat(w.target.value);Number.isNaN(D)?v(new Error(`'${w.target.value}' is not a number`)):(r(D),v(null))},[r,v]),E=l.useCallback(()=>{p("0"),r(0),m(!0)},[m]),x=l.useRef(null);return l.useEffect(()=>{h&&x.current&&x.current.select()},[h]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?y.createElement(Bn,{variant:"outline",size:"medium",id:Vs(e),onClick:E,disabled:g},"Set number"):y.createElement(ote,null,y.createElement(lte,{ref:x,id:xt(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:h,readOnly:g,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},qD=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Tp=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],WD=(e,t)=>e&&t&&e.map(r=>t[r]),ute=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),cte=_.span({"[aria-readonly=true] &":{opacity:.5}}),dte=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),_3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var m;if(!t)return dm.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=Tp(r,t),[s,u]=l.useState(i),d=!!((m=o==null?void 0:o.table)!=null&&m.readonly),p=f=>{let v=f.target.value,g=[...s];g.includes(v)?g.splice(g.indexOf(v),1):g.push(v),n(WD(g,t)),u(g)};l.useEffect(()=>{u(Tp(r,t))},[r]);let h=xt(e);return y.createElement(ute,{"aria-readonly":d,isInline:a},Object.keys(t).map((f,v)=>{let g=`${h}-${v}`;return y.createElement(dte,{key:g,htmlFor:g},y.createElement("input",{type:"checkbox",disabled:d,id:g,name:g,value:f,onChange:p,checked:s==null?void 0:s.includes(f)}),y.createElement(cte,null,f))}))},pte=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),fte=_.span({"[aria-readonly=true] &":{opacity:.5}}),hte=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),F3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return dm.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=qD(r,t),s=xt(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(pte,{"aria-readonly":u,isInline:a},Object.keys(t).map((p,h)=>{let m=`${s}-${h}`;return y.createElement(hte,{key:m,htmlFor:m},y.createElement("input",{type:"radio",id:m,name:s,disabled:u,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===i}),y.createElement(fte,null,p))}))},mte={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},GD=_.select(mte,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),KD=_.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),I3="Choose option...",gte=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{n(r[p.currentTarget.value])},i=qD(t,r)||I3,s=xt(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(KD,null,y.createElement(kC,null),y.createElement(GD,{disabled:u,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},I3),Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},vte=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{let h=Array.from(p.currentTarget.options).filter(m=>m.selected).map(m=>m.value);n(WD(h,r))},i=Tp(t,r),s=xt(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(KD,null,y.createElement(GD,{disabled:u,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},T3=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(vte,{...e}):y.createElement(gte,{...e}):(dm.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},yte=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,bte={check:_3,"inline-check":_3,radio:F3,"inline-radio":F3,select:T3,"multi-select":T3},Yn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?yte(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=bte[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},wte="Error",Ete="Object",xte="Array",Cte="String",Dte="Number",Ste="Boolean",Ate="Date",kte="Null",_te="Undefined",Fte="Function",Ite="Symbol",YD="ADD_DELTA_TYPE",ZD="REMOVE_DELTA_TYPE",JD="UPDATE_DELTA_TYPE",fm="value",Tte="key";function fn(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function XD(e,t){let r=fn(e),n=fn(t);return(r==="Function"||n==="Function")&&n!==r}var hm=class extends l.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,s=l.cloneElement(r,{onClick:this.onSubmit}),u=l.cloneElement(n,{onClick:e}),d=a(fm,o,i),p=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let m=a(Tte,o,i);h=l.cloneElement(m,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},h,p,u,s)}};hm.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var QD=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:ZD};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(r[r.length-1],i),u({type:YD,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:JD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:s,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=i(e,t,r,n,s),h=o(e,t,r,n,s),m=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!h&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,delimiter:T,ul:R,addForm:O}=p(e,t,r,n,h),z=d(e,t,r,n,h),L=l.cloneElement(x,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),$=l.cloneElement(E,{onClick:s,className:"rejt-minus-menu",style:k});return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"["),!a&&L,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},t.map((M,j)=>y.createElement(Xu,{key:j,name:j.toString(),data:M,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}))),!z&&a&&y.createElement("div",{className:"rejt-add-form",style:O},y.createElement(hm,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"]"),!z&&$)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=i(e,r,n,a,o);return y.createElement("div",{className:"rejt-array-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};QD.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var eS=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{XD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:h,textareaElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,u),b=null,E=null,x=s(e,i,n,a,u);if(r&&!x){let C=m(fm,v,a,e,i,u),w=l.cloneElement(p,{onClick:this.handleEdit}),D=l.cloneElement(h,{onClick:this.handleCancelEdit}),S=l.cloneElement(C,{ref:this.refInput,defaultValue:i});b=y.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",D,w),E=null}else{b=y.createElement("span",{className:"rejt-value",style:g.value,onClick:x?null:this.handleEditMode},t);let C=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});E=x?null:C}return y.createElement("li",{className:"rejt-function-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),b,E)}};eS.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var Xu=class extends l.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:E,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S}=this.props,A=()=>!0,k=fn(e);switch(k){case wte:return y.createElement(Rp,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:A,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:E,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case Ete:return y.createElement(Rp,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:E,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case xte:return y.createElement(QD,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:E,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case Cte:return y.createElement(xr,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Dte:return y.createElement(xr,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Ste:return y.createElement(xr,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Ate:return y.createElement(xr,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case kte:return y.createElement(xr,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case _te:return y.createElement(xr,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Fte:return y.createElement(eS,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case Ite:return y.createElement(xr,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});default:return null}}};Xu.defaultProps={keyPath:[],deep:0};var Rp=class extends l.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(n[n.length-1],r),u({type:YD,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:ZD};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:JD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=s(e,n,t,r,i),h=Object.getOwnPropertyNames(n),m=o(e,n,t,r,i),f=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",h.length," ",h.length===1?"key":"keys"),!m&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,addForm:T,ul:R,delimiter:O}=p(e,t,r,n,h),z=Object.getOwnPropertyNames(t),L=d(e,t,r,n,h),$=l.cloneElement(x,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),M=l.cloneElement(E,{onClick:s,className:"rejt-minus-menu",style:k}),j=z.map(G=>y.createElement(Xu,{key:G,name:G,data:t[G],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(G),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:O},"{"),!L&&$,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},j),!L&&o&&y.createElement("div",{className:"rejt-add-form",style:T},y.createElement(hm,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:O},"}"),!L&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=o(e,r,n,a,i);return y.createElement("div",{className:"rejt-object-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};Rp.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var xr=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{XD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:h,inputElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,u),b=s(e,i,n,a,u),E=r&&!b,x=m(fm,v,a,e,i,u),C=l.cloneElement(p,{onClick:this.handleEdit}),w=l.cloneElement(h,{onClick:this.handleCancelEdit}),D=l.cloneElement(x,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});return y.createElement("li",{className:"rejt-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," : "),E?y.createElement("span",{className:"rejt-edit-form",style:g.editForm},D," ",w,C):y.createElement("span",{className:"rejt-value",style:g.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!E&&S)}};xr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};function Rte(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var Bte={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},zte={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},$te={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},tS=class extends l.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElement:d,textareaElement:p,minusMenuElement:h,plusMenuElement:m,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:b,onSubmitValueParser:E,fallback:x=null}=this.props,C=fn(e),w=a;fn(a)==="Boolean"&&(w=()=>a);let D=d;d&&fn(d)!=="Function"&&(D=()=>d);let S=p;return p&&fn(p)!=="Function"&&(S=()=>p),C==="Object"||C==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(Xu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:h,plusMenuElement:m,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:b,onSubmitValueParser:E})):x}};tS.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return Bte;case"Array":return zte;default:return $te}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>Rte(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:Ote}=tt,Lte=_.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Bd=_.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),Mte=_(bM)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),Pte=_(wM)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),R3=_.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),Nte=_(vn)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),Hte=_(Oi.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),jte={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},Vte=e=>{e.currentTarget.dispatchEvent(new Ote.KeyboardEvent("keydown",jte))},Ute=e=>{e.currentTarget.select()},qte=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),B3=({name:e,value:t,onChange:r,argType:n})=>{var C;let a=mb(),o=l.useMemo(()=>t&&cJ(t),[t]),i=o!=null,[s,u]=l.useState(!i),[d,p]=l.useState(null),h=!!((C=n==null?void 0:n.table)!=null&&C.readonly),m=l.useCallback(w=>{try{w&&r(JSON.parse(w)),p(void 0)}catch(D){p(D)}},[r]),[f,v]=l.useState(!1),g=l.useCallback(()=>{r({}),v(!0)},[v]),b=l.useRef(null);if(l.useEffect(()=>{f&&b.current&&b.current.select()},[f]),!i)return y.createElement(Bn,{disabled:h,id:Vs(e),onClick:g},"Set object");let E=y.createElement(Hte,{ref:b,id:xt(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:w=>m(w.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:h}),x=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return y.createElement(Lte,{"aria-readonly":h},x&&y.createElement(Nte,{onClick:w=>{w.preventDefault(),u(D=>!D)}},s?y.createElement(vM,null):y.createElement(gM,null),y.createElement("span",null,"RAW")),s?E:y.createElement(tS,{readOnly:h||!x,isCollapsed:x?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:qte(a),cancelButtonElement:y.createElement(Bd,{type:"button"},"Cancel"),editButtonElement:y.createElement(Bd,{type:"submit"},"Save"),addButtonElement:y.createElement(Bd,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(Mte,null),minusMenuElement:y.createElement(Pte,null),inputElement:(w,D,S,A)=>A?y.createElement(R3,{onFocus:Ute,onBlur:Vte}):y.createElement(R3,null),fallback:E}))},Wte=_.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${Ot(.02,e.input.background)} ${(n-t)/(r-t)*100}%, ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, @@ -576,7 +576,7 @@ ${t}`);let r=t.match(Z$);if(!r)return y.createElement(l.Fragment,null,t);let[,n, ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, ${an(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${an(.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 ${Mt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),rS=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),Gte=_(rS)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),Kte=_.div({display:"flex",alignItems:"center",width:"100%"});function Yte(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 Zte=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:u})=>{var f;let d=v=>{r(ite(v.target.value))},p=t!==void 0,h=l.useMemo(()=>Yte(o),[o]),m=!!((f=u==null?void 0:u.table)!=null&&f.readonly);return y.createElement(Kte,{"aria-readonly":m},y.createElement(rS,null,n),y.createElement(Wte,{id:xt(e),type:"range",disabled:m,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(Gte,{numberOFDecimalsPlaces:h,max:a},p?t.toFixed(h):"--"," / ",a))},Jte=_.label({display:"flex"}),Xte=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),Qte=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},u=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),h=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(Bn,{variant:"outline",size:"medium",disabled:u,id:Vs(e),onClick:h},"Set string");let m=typeof t=="string";return y.createElement(Jte,null,y.createElement(Oi.Textarea,{id:xt(e),maxLength:o,onChange:s,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:m?null:"error",name:e,value:m?t:"",onFocus:n,onBlur:a}),o&&y.createElement(Xte,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},ere=_(Oi.Input)({padding:10});function tre(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var rre=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var u;let o=l.useRef(null),i=(u=a==null?void 0:a.control)==null?void 0:u.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(h=>URL.createObjectURL(h));e(p),tre(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(ere,{ref:o,id:xt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},nre=l.lazy(()=>P3(()=>import("./Color-ERTF36HU-BRXJD2yn.js"),__vite__mapDeps([9,2,3,1,4,5,6,7,8]),import.meta.url)),are=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(nre,{...e})),ore={array:B3,object:B3,boolean:Xee,color:are,date:ate,number:ste,check:Yn,"inline-check":Yn,radio:Yn,"inline-radio":Yn,select:Yn,"multi-select":Yn,range:Zte,text:Qte,file:rre},z3=()=>y.createElement(y.Fragment,null,"-"),ire=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[u,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),h=l.useCallback(()=>s(!1),[]),m=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&b?y.createElement(ma,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(z3,null)}let f={name:a,argType:e,value:u.value,onChange:p,onBlur:h,onFocus:m},v=ore[o.type]||z3;return y.createElement(v,{...f,...o,controlType:o.type})},lre=_.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:jr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),sre=({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(lre,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)))))},Bp=8,$3=_.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),ure=_.span(jr,({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}})),cre=_.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),dre=_.div(jr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),pre=_.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"}})),fre=_(DM)({marginLeft:4}),hre=_(kC)({marginLeft:4}),mre=()=>y.createElement("span",null,"-"),nS=({text:e,simple:t})=>y.createElement(ure,{simple:t},e),gre=FD(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),vre=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return WJ(t)},O3=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Bp)),r.map(n=>y.createElement(nS,{key:n,text:n===""?'""':n}))},yre=({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 u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return y.createElement(nS,{text:u});let d=vre(u),p=d.length;return p>Bp?y.createElement($3,{isExpanded:i},O3(d,i),y.createElement(cre,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-Bp} more...`)):y.createElement($3,null,O3(d))}return y.createElement(AO,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(pre,{width:gre(n)},y.createElement(Ih,{language:"jsx",format:!1},n))},y.createElement(dre,{className:"sbdocs-expandable"},y.createElement("span",null,u),a?y.createElement(fre,null):y.createElement(hre,null)))},zd=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(mre,null):y.createElement(yre,{value:e,initialExpandedArgs:t}),bre=_.span({fontWeight:"bold"}),wre=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),Ere=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...jr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),xre=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?le(.1,e.color.defaultText):le(.2,e.color.defaultText),marginTop:t?4:0})),Cre=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?le(.1,e.color.defaultText):le(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),Dre=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),Sre=e=>e&&{summary:typeof e=="string"?e:e.name},El=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:u,description:d}=n,p=n.table||{},h=p.type||Sre(n.type),m=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(Dre,{expandable:i},y.createElement(bre,null,u),f?y.createElement(wre,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(Ere,null,y.createElement(DD,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(Cre,{hasDescription:v},y.createElement(zd,{value:h,initialExpandedArgs:s})),y.createElement(sre,{tags:p.jsDocTags})):y.createElement(xre,{hasDescription:v},y.createElement(zd,{value:h,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(zd,{value:m,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(ire,{...e,isHovered:t})):null)},Are=_.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"})),kre=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),_re=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),Fre=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(Are,{inAddonPanel:e},y.createElement(vC,{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(kre,null,e&&y.createElement(y.Fragment,null,y.createElement(ma,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(yM,null)," Watch 5m video"),y.createElement(_re,null),y.createElement(ma,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(xp,null)," Read docs")),!e&&y.createElement(ma,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(xp,null)," Learn how to set that up"))}))},Ire=_(xM)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?le(.25,e.color.defaultText):le(.3,e.color.defaultText),border:"none",display:"inline-block"})),Tre=_(CM)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?le(.25,e.color.defaultText):le(.3,e.color.defaultText),border:"none",display:"inline-block"})),Rre=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),Bre=_.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"?le(.4,e.color.defaultText):le(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),zre=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),$re=_.td(()=>({position:"relative"})),Ore=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${an(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),L3=_.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"})),$d=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?zre:Bre,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(Ore,{title:p},y.createElement(s,{colSpan:1},y.createElement(L3,{onClick:h=>i(!o),tabIndex:0},p),y.createElement(Rre,null,o?y.createElement(Ire,null):y.createElement(Tre,null),t)),y.createElement($re,{colSpan:a-1},y.createElement(L3,{onClick:h=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},xl=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Fe=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ve=_.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})),Ie=[2,4,2,2],Lre=()=>y.createElement(y.Fragment,null,y.createElement(xl,null,y.createElement(Fe,{numColumn:Ie[0]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[1]},y.createElement(ve,{width:"30%"})),y.createElement(Fe,{numColumn:Ie[2]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[3]},y.createElement(ve,{width:"60%"}))),y.createElement(xl,null,y.createElement(Fe,{numColumn:Ie[0]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[1]},y.createElement(ve,{width:"80%"}),y.createElement(ve,{width:"30%"})),y.createElement(Fe,{numColumn:Ie[2]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[3]},y.createElement(ve,{width:"60%"}))),y.createElement(xl,null,y.createElement(Fe,{numColumn:Ie[0]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[1]},y.createElement(ve,{width:"80%"}),y.createElement(ve,{width:"30%"})),y.createElement(Fe,{numColumn:Ie[2]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[3]},y.createElement(ve,{width:"60%"}))),y.createElement(xl,null,y.createElement(Fe,{numColumn:Ie[0]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[1]},y.createElement(ve,{width:"80%"}),y.createElement(ve,{width:"30%"})),y.createElement(Fe,{numColumn:Ie[2]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[3]},y.createElement(ve,{width:"60%"})))),Mre=_.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"?le(.25,e.color.defaultText):le(.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}}}}})),Pre=_(vn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),Nre=_.span({display:"flex",justifyContent:"space-between"}),Hre={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},jre=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:u}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:o,...i});else{let p=d.subsections[u]||[];p.push({key:o,...i}),d.subsections[u]=p}r.sections[s]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:o,...i}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:o,...i})});let n=Hre[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)}}),{})}},Vre=(e,t,r)=>{try{return hS(e,t,r)}catch(n){return fee.warn(n.message),!1}},zp=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:x}=e;return y.createElement(ND,null,x," ",y.createElement(ma,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(xp,null)," Read the docs"))}if(s)return y.createElement(Lre,null);let{rows:u,args:d,globals:p}="rows"in e&&e,h=jre(CG(u,x=>{var C;return!((C=x==null?void 0:x.table)!=null&&C.disable)&&Vre(x,d||{},p||{})}),i),m=h.ungrouped.length===0,f=Object.entries(h.sections).length===0,v=Object.entries(h.ungroupedSubsections).length===0;if(m&&f&&v)return y.createElement(Fre,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let b=Object.keys(h.sections).length>0,E={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(Fh,null,y.createElement(Mre,{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(Nre,null,"Control"," ",!s&&r&&y.createElement(Pre,{onClick:()=>r(),title:"Reset controls"},y.createElement(SM,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(x=>y.createElement(El,{key:x.key,row:x,arg:d&&d[x.key],...E})),Object.entries(h.ungroupedSubsections).map(([x,C])=>y.createElement($d,{key:x,label:x,level:"subsection",colSpan:g},C.map(w=>y.createElement(El,{key:w.key,row:w,arg:d&&d[w.key],expandable:b,...E})))),Object.entries(h.sections).map(([x,C])=>y.createElement($d,{key:x,label:x,level:"section",colSpan:g},C.ungrouped.map(w=>y.createElement(El,{key:w.key,row:w,arg:d&&d[w.key],...E})),Object.entries(C.subsections).map(([w,D])=>y.createElement($d,{key:w,label:w,level:"subsection",colSpan:g},D.map(S=>y.createElement(El,{key:S.key,row:S,arg:d&&d[S.key],expandable:b,...E})))))))))},Ure=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(zp,{...r[0][1],...t}):y.createElement(sL,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,u="div",d=a===0?t:{sort:t.sort};return y.createElement(u,{key:s,id:s,title:o},({active:p})=>p?y.createElement(zp,{key:`prop_table_${o}`,...i,...d}):null)}))},qre=_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?le(.4,e.color.defaultText):le(.6,e.color.defaultText)})),Wre=_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),Gre=_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),Kre=_.div(ce,({theme:e})=>({...Ju(e),margin:"25px 0 40px",padding:"30px 20px"})),Aae=({fontFamily:e,fontSizes:t,fontWeight:r,sampleText:n,...a})=>y.createElement(Kre,{...a,className:"docblock-typeset sb-unstyled"},t.map(o=>y.createElement(Gre,{key:o},y.createElement(qre,null,o),y.createElement(Wre,{style:{fontFamily:e,fontSize:o,fontWeight:r,lineHeight:1.2}},n||"Was he a beast if music could move him so?"))));_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));_.div(({theme:e})=>({color:e.base==="light"?le(.2,e.color.defaultText):le(.6,e.color.defaultText)}));_.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});_.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?le(.4,e.color.defaultText):le(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));_.div({display:"flex",flexDirection:"row"});_.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));_.div(({theme:e})=>({...Ju(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));_.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});_.div({flex:1,display:"flex",flexDirection:"row"});_.div({display:"flex",alignItems:"flex-start"});_.div({flex:"0 0 30%"});_.div({flex:1});_.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?le(.4,e.color.defaultText):le(.6,e.color.defaultText)}));_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var Yre=_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),Zre=_.div(({theme:e})=>({...Ju(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),Jre=_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Xre=_.div({display:"flex",flexFlow:"row wrap"}),kae=({name:e,children:t})=>y.createElement(Jre,null,y.createElement(Zre,null,t),y.createElement(Yre,null,e)),_ae=({children:e,...t})=>y.createElement(Fh,null,y.createElement(Xre,{...t,className:"docblock-icongallery sb-unstyled"},e)),Qre=e=>`anchor--${e}`,aS=({storyId:e,children:t})=>y.createElement("div",{id:Qre(e),className:"sb-anchor"},t);tt&&tt.__DOCS_CONTEXT__===void 0&&(tt.__DOCS_CONTEXT__=l.createContext(null),tt.__DOCS_CONTEXT__.displayName="DocsContext");var At=tt?tt.__DOCS_CONTEXT__:l.createContext(null),Ln=(e,t)=>l.useContext(At).resolveOf(e,t),ene=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),tne=e=>{if(e)return typeof e=="string"?e.includes("-")?ene(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function rne(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function oS(e){return dee(e,{allowFunction:!1})}var iS=l.createContext({sources:{}}),lS="--unknown--",nne=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:u,args:d=void 0,source:p,format:h}=typeof o=="string"?{id:o,source:i,format:s}:o,m=d?oS(d):lS;n(f=>({...f,[u]:{...f[u],[m]:{code:p,format:h}}}))};return t.on(Em,a),()=>t.off(Em,a)},[]),y.createElement(iS.Provider,{value:{sources:r}},e)},ane=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[oS(t)])||(a==null?void 0:a[lS])||{code:""}},one=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:a}=t.parameters,o=((u=t.parameters.docs)==null?void 0:u.source)||{},i=r||o.type||tc.AUTO;if(o.code!==void 0)return o.code;let s=i===tc.DYNAMIC||i===tc.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},ine=(e,t,r)=>{var f,v,g,b;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,u=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:u,dark:d};let p=t.getStoryContext(n),h=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,m=ane(n.id,h,r);return s=m.format??((b=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:b.format)??!1,{code:one({snippet:m.code,storyContext:{...p,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:u,dark:d}};function lne(e,t){let r=sne([e],t);return r&&r[0]}function sne(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 une=(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},cne=(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,u=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:u,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}},dne=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(At),r=une(e,t),n=lne(r,t);if(!n)return y.createElement(VD,null);let a=cne(e,n,t);return a?y.createElement(Pee,{...a}):null},pne=e=>{var m,f,v,g,b,E,x,C,w,D;let t=l.useContext(At),r=l.useContext(iS),{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}=Ln(n||"story",["story"]),i=ine({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((f=(m=o.parameters.docs)==null?void 0:m.canvas)==null?void 0:f.layout)??"padded",u=e.withToolbar??((g=(v=o.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((E=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:E.additionalActions),p=e.sourceState??((C=(x=o.parameters.docs)==null?void 0:x.canvas)==null?void 0:C.sourceState)??"hidden",h=e.className??((D=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:D.className);return y.createElement(UD,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:u,additionalActions:d,className:h,layout:s},y.createElement(dne,{of:n||o.moduleExport,meta:e.meta,...e.story}))},fne=(e,t)=>{let r=hne(e,t);if(!r)throw new Error("No result when story was defined");return r},hne=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let u=d=>{d.storyId===n&&o(d.args)};return t.channel.on(D3,u),()=>t.channel.off(D3,u)},[n,t.channel]);let i=l.useCallback(u=>t.channel.emit(hee,{storyId:n,updatedArgs:u}),[n,t.channel]),s=l.useCallback(u=>t.channel.emit(mee,{storyId:n,argNames:u}),[n,t.channel]);return e&&[a,i,s]},mne=(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(S3,o),()=>t.channel.off(S3,o)},[t.channel]),[n]};function gne(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var vne=e=>{var w;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(At),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,u=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??u.include,p=e.exclude??u.exclude,h=e.sort??u.sort,[m,f,v]=fne(n,r),[g]=mne(n,r),b=C3(o,d,p);if(!(s&&Object.keys(s).length>0))return Object.keys(b).length>0||Object.keys(m).length>0?y.createElement(zp,{rows:b,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v}):null;let E=tne(i),x=Object.fromEntries(Object.entries(s).map(([D,S])=>[D,{rows:C3(gne(S,a),d,p),sort:h}])),C={[E]:{rows:b,sort:h},...x};return y.createElement(Ure,{tabs:C,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v})},{document:sS}=tt,yne=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(zx,null,t);let n=e&&e.split("-");return y.createElement(HD,{language:n&&n[1]||"text",format:!1,code:t,...r})};function mm(e,t){e.channel.emit(gee,t)}var $p=SL.a,bne=({hash:e,children:t})=>{let r=l.useContext(At);return y.createElement($p,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);sS.getElementById(a)&&mm(r,e)}},t)},wne=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(At);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement($p,{...e}):t.startsWith("#")?y.createElement(bne,{hash:t},n):y.createElement($p,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),mm(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},uS=["h1","h2","h3","h4","h5","h6"],Ene=uS.reduce((e,t)=>({...e,[t]:_(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),xne=_.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Cne=({as:e,id:t,children:r,...n})=>{let a=l.useContext(At),o=Ene[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(xne,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{sS.getElementById(t)&&mm(a,i)}},y.createElement(EM,null)),r)},gm=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(Cne,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...ue(s,t)})},Dne=uS.reduce((e,t)=>({...e,[t]:r=>y.createElement(gm,{as:t,...r})}),{}),Sne=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(mS`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' + ${an(.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 ${Mt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),rS=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),Gte=_(rS)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),Kte=_.div({display:"flex",alignItems:"center",width:"100%"});function Yte(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 Zte=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:u})=>{var f;let d=v=>{r(ite(v.target.value))},p=t!==void 0,h=l.useMemo(()=>Yte(o),[o]),m=!!((f=u==null?void 0:u.table)!=null&&f.readonly);return y.createElement(Kte,{"aria-readonly":m},y.createElement(rS,null,n),y.createElement(Wte,{id:xt(e),type:"range",disabled:m,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(Gte,{numberOFDecimalsPlaces:h,max:a},p?t.toFixed(h):"--"," / ",a))},Jte=_.label({display:"flex"}),Xte=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),Qte=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},u=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),h=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(Bn,{variant:"outline",size:"medium",disabled:u,id:Vs(e),onClick:h},"Set string");let m=typeof t=="string";return y.createElement(Jte,null,y.createElement(Oi.Textarea,{id:xt(e),maxLength:o,onChange:s,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:m?null:"error",name:e,value:m?t:"",onFocus:n,onBlur:a}),o&&y.createElement(Xte,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},ere=_(Oi.Input)({padding:10});function tre(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var rre=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var u;let o=l.useRef(null),i=(u=a==null?void 0:a.control)==null?void 0:u.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(h=>URL.createObjectURL(h));e(p),tre(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(ere,{ref:o,id:xt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},nre=l.lazy(()=>P3(()=>import("./Color-ERTF36HU-DlRx-JC4.js"),__vite__mapDeps([9,2,3,1,4,5,6,7,8]),import.meta.url)),are=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(nre,{...e})),ore={array:B3,object:B3,boolean:Xee,color:are,date:ate,number:ste,check:Yn,"inline-check":Yn,radio:Yn,"inline-radio":Yn,select:Yn,"multi-select":Yn,range:Zte,text:Qte,file:rre},z3=()=>y.createElement(y.Fragment,null,"-"),ire=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[u,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),h=l.useCallback(()=>s(!1),[]),m=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&b?y.createElement(ma,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(z3,null)}let f={name:a,argType:e,value:u.value,onChange:p,onBlur:h,onFocus:m},v=ore[o.type]||z3;return y.createElement(v,{...f,...o,controlType:o.type})},lre=_.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:jr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),sre=({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(lre,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)))))},Bp=8,$3=_.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),ure=_.span(jr,({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}})),cre=_.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),dre=_.div(jr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),pre=_.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"}})),fre=_(DM)({marginLeft:4}),hre=_(kC)({marginLeft:4}),mre=()=>y.createElement("span",null,"-"),nS=({text:e,simple:t})=>y.createElement(ure,{simple:t},e),gre=FD(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),vre=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return WJ(t)},O3=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Bp)),r.map(n=>y.createElement(nS,{key:n,text:n===""?'""':n}))},yre=({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 u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return y.createElement(nS,{text:u});let d=vre(u),p=d.length;return p>Bp?y.createElement($3,{isExpanded:i},O3(d,i),y.createElement(cre,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-Bp} more...`)):y.createElement($3,null,O3(d))}return y.createElement(AO,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(pre,{width:gre(n)},y.createElement(Ih,{language:"jsx",format:!1},n))},y.createElement(dre,{className:"sbdocs-expandable"},y.createElement("span",null,u),a?y.createElement(fre,null):y.createElement(hre,null)))},zd=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(mre,null):y.createElement(yre,{value:e,initialExpandedArgs:t}),bre=_.span({fontWeight:"bold"}),wre=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),Ere=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...jr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),xre=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?le(.1,e.color.defaultText):le(.2,e.color.defaultText),marginTop:t?4:0})),Cre=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?le(.1,e.color.defaultText):le(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),Dre=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),Sre=e=>e&&{summary:typeof e=="string"?e:e.name},El=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:u,description:d}=n,p=n.table||{},h=p.type||Sre(n.type),m=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(Dre,{expandable:i},y.createElement(bre,null,u),f?y.createElement(wre,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(Ere,null,y.createElement(DD,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(Cre,{hasDescription:v},y.createElement(zd,{value:h,initialExpandedArgs:s})),y.createElement(sre,{tags:p.jsDocTags})):y.createElement(xre,{hasDescription:v},y.createElement(zd,{value:h,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(zd,{value:m,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(ire,{...e,isHovered:t})):null)},Are=_.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"})),kre=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),_re=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),Fre=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(Are,{inAddonPanel:e},y.createElement(vC,{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(kre,null,e&&y.createElement(y.Fragment,null,y.createElement(ma,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(yM,null)," Watch 5m video"),y.createElement(_re,null),y.createElement(ma,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(xp,null)," Read docs")),!e&&y.createElement(ma,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(xp,null)," Learn how to set that up"))}))},Ire=_(xM)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?le(.25,e.color.defaultText):le(.3,e.color.defaultText),border:"none",display:"inline-block"})),Tre=_(CM)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?le(.25,e.color.defaultText):le(.3,e.color.defaultText),border:"none",display:"inline-block"})),Rre=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),Bre=_.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"?le(.4,e.color.defaultText):le(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),zre=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),$re=_.td(()=>({position:"relative"})),Ore=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${an(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),L3=_.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"})),$d=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?zre:Bre,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(Ore,{title:p},y.createElement(s,{colSpan:1},y.createElement(L3,{onClick:h=>i(!o),tabIndex:0},p),y.createElement(Rre,null,o?y.createElement(Ire,null):y.createElement(Tre,null),t)),y.createElement($re,{colSpan:a-1},y.createElement(L3,{onClick:h=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},xl=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Fe=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ve=_.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})),Ie=[2,4,2,2],Lre=()=>y.createElement(y.Fragment,null,y.createElement(xl,null,y.createElement(Fe,{numColumn:Ie[0]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[1]},y.createElement(ve,{width:"30%"})),y.createElement(Fe,{numColumn:Ie[2]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[3]},y.createElement(ve,{width:"60%"}))),y.createElement(xl,null,y.createElement(Fe,{numColumn:Ie[0]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[1]},y.createElement(ve,{width:"80%"}),y.createElement(ve,{width:"30%"})),y.createElement(Fe,{numColumn:Ie[2]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[3]},y.createElement(ve,{width:"60%"}))),y.createElement(xl,null,y.createElement(Fe,{numColumn:Ie[0]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[1]},y.createElement(ve,{width:"80%"}),y.createElement(ve,{width:"30%"})),y.createElement(Fe,{numColumn:Ie[2]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[3]},y.createElement(ve,{width:"60%"}))),y.createElement(xl,null,y.createElement(Fe,{numColumn:Ie[0]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[1]},y.createElement(ve,{width:"80%"}),y.createElement(ve,{width:"30%"})),y.createElement(Fe,{numColumn:Ie[2]},y.createElement(ve,{width:"60%"})),y.createElement(Fe,{numColumn:Ie[3]},y.createElement(ve,{width:"60%"})))),Mre=_.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"?le(.25,e.color.defaultText):le(.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}}}}})),Pre=_(vn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),Nre=_.span({display:"flex",justifyContent:"space-between"}),Hre={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},jre=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:u}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:o,...i});else{let p=d.subsections[u]||[];p.push({key:o,...i}),d.subsections[u]=p}r.sections[s]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:o,...i}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:o,...i})});let n=Hre[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)}}),{})}},Vre=(e,t,r)=>{try{return hS(e,t,r)}catch(n){return fee.warn(n.message),!1}},zp=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:x}=e;return y.createElement(ND,null,x," ",y.createElement(ma,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(xp,null)," Read the docs"))}if(s)return y.createElement(Lre,null);let{rows:u,args:d,globals:p}="rows"in e&&e,h=jre(CG(u,x=>{var C;return!((C=x==null?void 0:x.table)!=null&&C.disable)&&Vre(x,d||{},p||{})}),i),m=h.ungrouped.length===0,f=Object.entries(h.sections).length===0,v=Object.entries(h.ungroupedSubsections).length===0;if(m&&f&&v)return y.createElement(Fre,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let b=Object.keys(h.sections).length>0,E={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(Fh,null,y.createElement(Mre,{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(Nre,null,"Control"," ",!s&&r&&y.createElement(Pre,{onClick:()=>r(),title:"Reset controls"},y.createElement(SM,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(x=>y.createElement(El,{key:x.key,row:x,arg:d&&d[x.key],...E})),Object.entries(h.ungroupedSubsections).map(([x,C])=>y.createElement($d,{key:x,label:x,level:"subsection",colSpan:g},C.map(w=>y.createElement(El,{key:w.key,row:w,arg:d&&d[w.key],expandable:b,...E})))),Object.entries(h.sections).map(([x,C])=>y.createElement($d,{key:x,label:x,level:"section",colSpan:g},C.ungrouped.map(w=>y.createElement(El,{key:w.key,row:w,arg:d&&d[w.key],...E})),Object.entries(C.subsections).map(([w,D])=>y.createElement($d,{key:w,label:w,level:"subsection",colSpan:g},D.map(S=>y.createElement(El,{key:S.key,row:S,arg:d&&d[S.key],expandable:b,...E})))))))))},Ure=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(zp,{...r[0][1],...t}):y.createElement(sL,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,u="div",d=a===0?t:{sort:t.sort};return y.createElement(u,{key:s,id:s,title:o},({active:p})=>p?y.createElement(zp,{key:`prop_table_${o}`,...i,...d}):null)}))},qre=_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?le(.4,e.color.defaultText):le(.6,e.color.defaultText)})),Wre=_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),Gre=_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),Kre=_.div(ce,({theme:e})=>({...Ju(e),margin:"25px 0 40px",padding:"30px 20px"})),Aae=({fontFamily:e,fontSizes:t,fontWeight:r,sampleText:n,...a})=>y.createElement(Kre,{...a,className:"docblock-typeset sb-unstyled"},t.map(o=>y.createElement(Gre,{key:o},y.createElement(qre,null,o),y.createElement(Wre,{style:{fontFamily:e,fontSize:o,fontWeight:r,lineHeight:1.2}},n||"Was he a beast if music could move him so?"))));_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));_.div(({theme:e})=>({color:e.base==="light"?le(.2,e.color.defaultText):le(.6,e.color.defaultText)}));_.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});_.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?le(.4,e.color.defaultText):le(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));_.div({display:"flex",flexDirection:"row"});_.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));_.div(({theme:e})=>({...Ju(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));_.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});_.div({flex:1,display:"flex",flexDirection:"row"});_.div({display:"flex",alignItems:"flex-start"});_.div({flex:"0 0 30%"});_.div({flex:1});_.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?le(.4,e.color.defaultText):le(.6,e.color.defaultText)}));_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var Yre=_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),Zre=_.div(({theme:e})=>({...Ju(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),Jre=_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Xre=_.div({display:"flex",flexFlow:"row wrap"}),kae=({name:e,children:t})=>y.createElement(Jre,null,y.createElement(Zre,null,t),y.createElement(Yre,null,e)),_ae=({children:e,...t})=>y.createElement(Fh,null,y.createElement(Xre,{...t,className:"docblock-icongallery sb-unstyled"},e)),Qre=e=>`anchor--${e}`,aS=({storyId:e,children:t})=>y.createElement("div",{id:Qre(e),className:"sb-anchor"},t);tt&&tt.__DOCS_CONTEXT__===void 0&&(tt.__DOCS_CONTEXT__=l.createContext(null),tt.__DOCS_CONTEXT__.displayName="DocsContext");var At=tt?tt.__DOCS_CONTEXT__:l.createContext(null),Ln=(e,t)=>l.useContext(At).resolveOf(e,t),ene=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),tne=e=>{if(e)return typeof e=="string"?e.includes("-")?ene(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function rne(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function oS(e){return dee(e,{allowFunction:!1})}var iS=l.createContext({sources:{}}),lS="--unknown--",nne=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:u,args:d=void 0,source:p,format:h}=typeof o=="string"?{id:o,source:i,format:s}:o,m=d?oS(d):lS;n(f=>({...f,[u]:{...f[u],[m]:{code:p,format:h}}}))};return t.on(Em,a),()=>t.off(Em,a)},[]),y.createElement(iS.Provider,{value:{sources:r}},e)},ane=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[oS(t)])||(a==null?void 0:a[lS])||{code:""}},one=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:a}=t.parameters,o=((u=t.parameters.docs)==null?void 0:u.source)||{},i=r||o.type||tc.AUTO;if(o.code!==void 0)return o.code;let s=i===tc.DYNAMIC||i===tc.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},ine=(e,t,r)=>{var f,v,g,b;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,u=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:u,dark:d};let p=t.getStoryContext(n),h=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,m=ane(n.id,h,r);return s=m.format??((b=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:b.format)??!1,{code:one({snippet:m.code,storyContext:{...p,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:u,dark:d}};function lne(e,t){let r=sne([e],t);return r&&r[0]}function sne(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 une=(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},cne=(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,u=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:u,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}},dne=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(At),r=une(e,t),n=lne(r,t);if(!n)return y.createElement(VD,null);let a=cne(e,n,t);return a?y.createElement(Pee,{...a}):null},pne=e=>{var m,f,v,g,b,E,x,C,w,D;let t=l.useContext(At),r=l.useContext(iS),{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}=Ln(n||"story",["story"]),i=ine({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((f=(m=o.parameters.docs)==null?void 0:m.canvas)==null?void 0:f.layout)??"padded",u=e.withToolbar??((g=(v=o.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((E=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:E.additionalActions),p=e.sourceState??((C=(x=o.parameters.docs)==null?void 0:x.canvas)==null?void 0:C.sourceState)??"hidden",h=e.className??((D=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:D.className);return y.createElement(UD,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:u,additionalActions:d,className:h,layout:s},y.createElement(dne,{of:n||o.moduleExport,meta:e.meta,...e.story}))},fne=(e,t)=>{let r=hne(e,t);if(!r)throw new Error("No result when story was defined");return r},hne=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let u=d=>{d.storyId===n&&o(d.args)};return t.channel.on(D3,u),()=>t.channel.off(D3,u)},[n,t.channel]);let i=l.useCallback(u=>t.channel.emit(hee,{storyId:n,updatedArgs:u}),[n,t.channel]),s=l.useCallback(u=>t.channel.emit(mee,{storyId:n,argNames:u}),[n,t.channel]);return e&&[a,i,s]},mne=(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(S3,o),()=>t.channel.off(S3,o)},[t.channel]),[n]};function gne(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var vne=e=>{var w;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(At),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,u=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??u.include,p=e.exclude??u.exclude,h=e.sort??u.sort,[m,f,v]=fne(n,r),[g]=mne(n,r),b=C3(o,d,p);if(!(s&&Object.keys(s).length>0))return Object.keys(b).length>0||Object.keys(m).length>0?y.createElement(zp,{rows:b,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v}):null;let E=tne(i),x=Object.fromEntries(Object.entries(s).map(([D,S])=>[D,{rows:C3(gne(S,a),d,p),sort:h}])),C={[E]:{rows:b,sort:h},...x};return y.createElement(Ure,{tabs:C,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v})},{document:sS}=tt,yne=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(zx,null,t);let n=e&&e.split("-");return y.createElement(HD,{language:n&&n[1]||"text",format:!1,code:t,...r})};function mm(e,t){e.channel.emit(gee,t)}var $p=SL.a,bne=({hash:e,children:t})=>{let r=l.useContext(At);return y.createElement($p,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);sS.getElementById(a)&&mm(r,e)}},t)},wne=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(At);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement($p,{...e}):t.startsWith("#")?y.createElement(bne,{hash:t},n):y.createElement($p,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),mm(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},uS=["h1","h2","h3","h4","h5","h6"],Ene=uS.reduce((e,t)=>({...e,[t]:_(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),xne=_.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Cne=({as:e,id:t,children:r,...n})=>{let a=l.useContext(At),o=Ene[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(xne,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{sS.getElementById(t)&&mm(a,i)}},y.createElement(EM,null)),r)},gm=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(Cne,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...ue(s,t)})},Dne=uS.reduce((e,t)=>({...e,[t]:r=>y.createElement(gm,{as:t,...r})}),{}),Sne=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(mS`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' This is often caused by not wrapping the child in a template string. This is invalid: diff --git a/demo-1732-error-on-icon-prop/assets/index-CqsCPf7m.js b/demo-1732-error-on-icon-prop/assets/index-jv-4ewYB.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/index-CqsCPf7m.js rename to demo-1732-error-on-icon-prop/assets/index-jv-4ewYB.js index 44710c91af..9ab1b558e8 100644 --- a/demo-1732-error-on-icon-prop/assets/index-CqsCPf7m.js +++ b/demo-1732-error-on-icon-prop/assets/index-jv-4ewYB.js @@ -1 +1 @@ -import{m as c,a as T,V as b,K as d,P as S,g as B,L,b as C,v as H,w as u,c as g,y,$ as I,d as h,e as k,H as P,f as W,D as A,x as F,C as x,E 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,s as U,N as Z,l as j,T as z,Z as G,n as J,o as K,p as Q,W as V,U as X,q as Y,Q as _,J as $,r as aa,t as sa,B as oa,u as ta,z as ea,M as ra,G as pa,O as ia,X as na,Y 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-Bc_7gYwI.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./jsx-runtime-BlAj40OV.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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,V as b,K as d,P as S,g as B,L,b as C,v as H,w as u,c as g,y,$ as I,d as h,e as k,H as P,f as W,D as A,x as F,C as x,E 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,s as U,N as Z,l as j,T as z,Z as G,n as J,o as K,p as Q,W as V,U as X,q as Y,Q as _,J as $,r as aa,t as sa,B as oa,u as ta,z as ea,M as ra,G as pa,O as ia,X as na,Y 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-DNXVmPlZ.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./jsx-runtime-BlAj40OV.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-CF7nKaqV.js b/demo-1732-error-on-icon-prop/assets/index.esm-edP8GOgy.js similarity index 98% rename from demo-1732-error-on-icon-prop/assets/index.esm-CF7nKaqV.js rename to demo-1732-error-on-icon-prop/assets/index.esm-edP8GOgy.js index e2c895475d..722ed77de9 100644 --- a/demo-1732-error-on-icon-prop/assets/index.esm-CF7nKaqV.js +++ b/demo-1732-error-on-icon-prop/assets/index.esm-edP8GOgy.js @@ -12,7 +12,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho */var Xc={activeTab:0,tabsId:"",updateTab:function(){}},ue=o.createContext(Xc),Yc=["children","className","tab"];function Wr(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 Ur(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 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&&ei.map(i=>d[i]); -import{_ as a}from"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";const{global:s}=__STORYBOOK_MODULE_GLOBAL__;var _=Object.entries(s.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-CmKY5jzY.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=>_[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-BAJ9MkqQ.js","./iframe-Chn7UdQi.js","./index-Cs7sjTYM.js","./_commonjsHelpers-BosuxZz1.js","./index-DNXVmPlZ.js","./jsx-runtime-BlAj40OV.js","./index-DJFdew98.js","./index-D-8MO0q_.js","./index-DF3CPj03.js","./index-DrFu-skq.js","./react-18-B3HRjLEH.js"])))=>i.map(i=>d[i]); +import{_ as a}from"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";const{global:s}=__STORYBOOK_MODULE_GLOBAL__;var _=Object.entries(s.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-BAJ9MkqQ.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=>_[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/demo-1732-error-on-icon-prop/assets/preview-Di_54Tgr.js b/demo-1732-error-on-icon-prop/assets/preview-DdQaPxE7.js similarity index 93% rename from demo-1732-error-on-icon-prop/assets/preview-Di_54Tgr.js rename to demo-1732-error-on-icon-prop/assets/preview-DdQaPxE7.js index 4032fd6421..7f34ce5c9b 100644 --- a/demo-1732-error-on-icon-prop/assets/preview-Di_54Tgr.js +++ b/demo-1732-error-on-icon-prop/assets/preview-DdQaPxE7.js @@ -1,2 +1,2 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./axe-DdmhjJFx.js","./_commonjsHelpers-BosuxZz1.js"])))=>i.map(i=>d[i]); -import{_ as S}from"./iframe-DcwaDa5u.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-DdmhjJFx.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-Chn7UdQi.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-DdmhjJFx.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/routing-libraries.docs-B6WzlVcJ.js b/demo-1732-error-on-icon-prop/assets/routing-libraries.docs-CZ624pF9.js similarity index 95% rename from demo-1732-error-on-icon-prop/assets/routing-libraries.docs-B6WzlVcJ.js rename to demo-1732-error-on-icon-prop/assets/routing-libraries.docs-CZ624pF9.js index e55f4c193b..a7454a0dce 100644 --- a/demo-1732-error-on-icon-prop/assets/routing-libraries.docs-B6WzlVcJ.js +++ b/demo-1732-error-on-icon-prop/assets/routing-libraries.docs-CZ624pF9.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as i}from"./index-Bc_7gYwI.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BlAj40OV.js";import{useMDXComponents as r}from"./index-BI1Biiay.js";import{ae as i}from"./index-DNXVmPlZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-Fx118cLi.js b/demo-1732-error-on-icon-prop/assets/space.docs-CL-LRX94.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/space.docs-Fx118cLi.js rename to demo-1732-error-on-icon-prop/assets/space.docs-CL-LRX94.js index daf3705baf..610beba1fe 100644 --- a/demo-1732-error-on-icon-prop/assets/space.docs-Fx118cLi.js +++ b/demo-1732-error-on-icon-prop/assets/space.docs-CL-LRX94.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as l}from"./index-BI1Biiay.js";import{ae as i}from"./index-Bc_7gYwI.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BlAj40OV.js";import{useMDXComponents as l}from"./index-BI1Biiay.js";import{ae as i}from"./index-DNXVmPlZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-CQKpddKK.js b/demo-1732-error-on-icon-prop/assets/text.docs-_mAqCO8s.js similarity index 99% rename from demo-1732-error-on-icon-prop/assets/text.docs-CQKpddKK.js rename to demo-1732-error-on-icon-prop/assets/text.docs-_mAqCO8s.js index 36f6feb43b..0042f8c7ae 100644 --- a/demo-1732-error-on-icon-prop/assets/text.docs-CQKpddKK.js +++ b/demo-1732-error-on-icon-prop/assets/text.docs-_mAqCO8s.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as l}from"./index-BI1Biiay.js";import{ae as r,af as i}from"./index-Bc_7gYwI.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BlAj40OV.js";import{useMDXComponents as l}from"./index-BI1Biiay.js";import{ae as r,af as i}from"./index-DNXVmPlZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BqWY_STg.js b/demo-1732-error-on-icon-prop/assets/usability.docs-rt8n3D4O.js similarity index 93% rename from demo-1732-error-on-icon-prop/assets/usability.docs-BqWY_STg.js rename to demo-1732-error-on-icon-prop/assets/usability.docs-rt8n3D4O.js index 26ef9491a2..e19ffa31e7 100644 --- a/demo-1732-error-on-icon-prop/assets/usability.docs-BqWY_STg.js +++ b/demo-1732-error-on-icon-prop/assets/usability.docs-rt8n3D4O.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as i}from"./index-Bc_7gYwI.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-BlAj40OV.js";import{useMDXComponents as s}from"./index-BI1Biiay.js";import{ae as i}from"./index-DNXVmPlZ.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.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-cpsQUKc8.js b/demo-1732-error-on-icon-prop/assets/web-app.docs-3HvFVq7Z.js similarity index 96% rename from demo-1732-error-on-icon-prop/assets/web-app.docs-cpsQUKc8.js rename to demo-1732-error-on-icon-prop/assets/web-app.docs-3HvFVq7Z.js index ce69b5eb21..2b279ad037 100644 --- a/demo-1732-error-on-icon-prop/assets/web-app.docs-cpsQUKc8.js +++ b/demo-1732-error-on-icon-prop/assets/web-app.docs-3HvFVq7Z.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as a}from"./index-Bc_7gYwI.js";import{W as o}from"./AppIcons-BukLgj-b.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-DcwaDa5u.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-CF7nKaqV.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.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-BlAj40OV.js";import{useMDXComponents as t}from"./index-BI1Biiay.js";import{ae as a}from"./index-DNXVmPlZ.js";import{W as o}from"./AppIcons-Dkuz_h0T.js";import"./index-Cs7sjTYM.js";import"./_commonjsHelpers-BosuxZz1.js";import"./iframe-Chn7UdQi.js";import"../sb-preview/runtime.js";import"./index-DJFdew98.js";import"./index-D-8MO0q_.js";import"./index-DF3CPj03.js";import"./index-DrFu-skq.js";import"./index.esm-edP8GOgy.js";import"./clsx-B-dksMZM.js";import"./index.esm-DQgjFsBh.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 011702eb91..12a4929e98 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 02fa4acc56..617ae1cd2f 100644 --- a/demo-1732-error-on-icon-prop/project.json +++ b/demo-1732-error-on-icon-prop/project.json @@ -1 +1 @@ -{"generatedAt":1730730894630,"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.3.6","storybookVersionSpecifier":"8.3.6","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"8.3.6"},"@storybook/blocks":{"version":"8.3.6"},"@storybook/components":{"version":"8.3.6"},"@storybook/core-events":{"version":"8.3.6"},"@storybook/manager-api":{"version":"8.3.6"},"@storybook/mdx2-csf":{"version":"1.1.0"},"@storybook/preview-api":{"version":"8.3.6"},"@storybook/react":{"version":"8.3.6"},"@storybook/react-vite":{"version":"8.3.6"},"@storybook/theming":{"version":"8.3.6"},"storybook":{"version":"8.3.6"}},"addons":{"@storybook/addon-links":{"version":"8.3.6"},"@storybook/addon-essentials":{"version":"8.3.6"},"@storybook/addon-interactions":{"version":"8.3.6"},"@storybook/addon-a11y":{"version":"8.3.6"},"@storybook/addon-themes":{"version":"8.3.6"},"@storybook/addon-docs":{"version":"8.3.6"},"@whitespace/storybook-addon-html":{"version":"6.1.1"}}} +{"generatedAt":1730731918056,"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.3.6","storybookVersionSpecifier":"8.3.6","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"8.3.6"},"@storybook/blocks":{"version":"8.3.6"},"@storybook/components":{"version":"8.3.6"},"@storybook/core-events":{"version":"8.3.6"},"@storybook/manager-api":{"version":"8.3.6"},"@storybook/mdx2-csf":{"version":"1.1.0"},"@storybook/preview-api":{"version":"8.3.6"},"@storybook/react":{"version":"8.3.6"},"@storybook/react-vite":{"version":"8.3.6"},"@storybook/theming":{"version":"8.3.6"},"storybook":{"version":"8.3.6"}},"addons":{"@storybook/addon-links":{"version":"8.3.6"},"@storybook/addon-essentials":{"version":"8.3.6"},"@storybook/addon-interactions":{"version":"8.3.6"},"@storybook/addon-a11y":{"version":"8.3.6"},"@storybook/addon-themes":{"version":"8.3.6"},"@storybook/addon-docs":{"version":"8.3.6"},"@whitespace/storybook-addon-html":{"version":"6.1.1"}}}