@preply/ds-docs 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{00.LayoutFlex.stories-8tg2E-qV.js → 00.LayoutFlex.stories-ed2lpBeG.js} +1 -1
- package/dist/assets/{00.applications-D2_tGfRf.js → 00.applications-DLWUENDG.js} +1 -1
- package/dist/assets/{00.favicons.guide-C690JGQk.js → 00.favicons.guide-D5-20tQH.js} +1 -1
- package/dist/assets/{00.token-explorer-y6W0f5Yb.js → 00.token-explorer-BIc8vy7H.js} +1 -1
- package/dist/assets/{00.using-responsive-props-D7HIJt3_.js → 00.using-responsive-props-CY9p8v_u.js} +1 -1
- package/dist/assets/01.semantic-tokens-CThrY5Ts.js +2 -0
- package/dist/assets/{01.using-shorthand-props-D5OpTPkW.js → 01.using-shorthand-props-C_vbhNfL.js} +1 -1
- package/dist/assets/{10.Combinations.stories-Ct6685NI.js → 10.Combinations.stories-Bj20QCLY.js} +1 -1
- package/dist/assets/{10.fonts.guide-D9i9sQJH.js → 10.fonts.guide-Dy8fgLU5.js} +1 -1
- package/dist/assets/{10.ssr-DSJl1ffD.js → 10.ssr-D9v_dR0o.js} +1 -1
- package/dist/assets/{11.languageFont.explorer-I7XhZ4Xm.js → 11.languageFont.explorer-BZuqA2Qd.js} +1 -1
- package/dist/assets/{11.ssr.app-router-BuXrSise.js → 11.ssr.app-router-CU9S0P9E.js} +1 -1
- package/dist/assets/{20.libraries-D_xIp-Wv.js → 20.libraries-CG6__ozS.js} +1 -1
- package/dist/assets/{30.icons.explorer-PH1cdaPD.js → 30.icons.explorer-CK_LzlUE.js} +1 -1
- package/dist/assets/{30.storybook-CEe-PiYy.js → 30.storybook-Be_FRDz_.js} +1 -1
- package/dist/assets/{40.illustrations.explorer-D7eLGfu0.js → 40.illustrations.explorer-lGFuCzSa.js} +1 -1
- package/dist/assets/{90.advanced-BE9PXRjl.js → 90.advanced-C4czMsOy.js} +1 -1
- package/dist/assets/AlertDialog-CSUTu5O6.css +1 -0
- package/dist/assets/AlertDialog.stories-DlRWBYYU.js +142 -0
- package/dist/assets/Avatar-CmnrM37w.js +6 -0
- package/dist/assets/Avatar-JE3Hcbkv.css +1 -0
- package/dist/assets/Avatar-_W1s5JpT.css +1 -0
- package/dist/assets/Avatar-iqWOn9Tl.js +1 -0
- package/dist/assets/{Avatar.stories-Bt8pPC1s.js → Avatar.stories-OTgx0pcM.js} +1 -1
- package/dist/assets/AvatarWithStatus-pddO2Nza.css +1 -0
- package/dist/assets/{AvatarWithStatus.stories-DZOf0a9g.js → AvatarWithStatus.stories--mF91ETX.js} +2 -2
- package/dist/assets/Badge-DcbG4N4-.css +1 -0
- package/dist/assets/{Badge.stories-BEJXe-bl.js → Badge.stories-D8nghiXL.js} +2 -2
- package/dist/assets/Box-CJkXzUjZ.css +1 -0
- package/dist/assets/Box.stories-DxW6l-HA.js +44 -0
- package/dist/assets/Button-B1mdczvv.js +1 -0
- package/dist/assets/Button-C6kEKm6h.css +1 -0
- package/dist/assets/Button-CHTJqu07.css +1 -0
- package/dist/assets/{Button-CGkNG45w.js → Button-DqwK0S70.js} +1 -1
- package/dist/assets/{Button.stories-CkilfUVx.js → Button.stories-oW-QBb5C.js} +1 -1
- package/dist/assets/{ButtonBase-CoA6K-It.css → ButtonBase-CuGZo0xf.css} +1 -1
- package/dist/assets/ButtonBase-D31GBWHv.js +8 -0
- package/dist/assets/Chips-Dejf8Sh_.css +1 -0
- package/dist/assets/{Chips.stories-BazAHlkw.js → Chips.stories-DiprPB2i.js} +1 -1
- package/dist/assets/{Color-YHDXOIA2-C4y61ek1.js → Color-YHDXOIA2-C2h0aGNO.js} +1 -1
- package/dist/assets/Dialog-DwZQYtV6.css +1 -0
- package/dist/assets/{Dialog.stories-tKAuFOhG.js → Dialog.stories-CAPNnMI_.js} +16 -16
- package/dist/assets/{DocsRenderer-CFRXHY34-CKni1BW8.js → DocsRenderer-CFRXHY34-C35smYsV.js} +1 -1
- package/dist/assets/FieldAdditionalText-CUu6JGoC.css +1 -0
- package/dist/assets/{FieldAdditionalText-DuEWaFeu.js → FieldAdditionalText-lW7Q1VGp.js} +1 -1
- package/dist/assets/{FieldAdditionalText.stories-BKzJywVE.js → FieldAdditionalText.stories-DcGxrOlS.js} +1 -1
- package/dist/assets/{FieldButton-D-la2Jzn.js → FieldButton-QHhW28uq.js} +1 -1
- package/dist/assets/{FieldButton-DnMkKpFP.css → FieldButton-k7TvuQHy.css} +1 -1
- package/dist/assets/{FieldButton.stories-DNCX_6wX.js → FieldButton.stories-vBmg2O9Q.js} +1 -1
- package/dist/assets/{FieldLayout-ucPtI83J.js → FieldLayout-BGkL1EMg.js} +1 -1
- package/dist/assets/FieldLayout-CG9n-WOS.css +1 -0
- package/dist/assets/{FieldLayout.stories-BaXyFyV0.js → FieldLayout.stories-CtD6-C6l.js} +1 -1
- package/dist/assets/FieldLayoutBase-CoIn-2cd.css +1 -0
- package/dist/assets/{FieldLayoutBase-BmwMSdWE.js → FieldLayoutBase-DQbxDQVA.js} +3 -3
- package/dist/assets/Heading-CifnBvGj.js +2 -0
- package/dist/assets/{Heading-DamS8I5F.css → Heading-DeYpQLgb.css} +1 -1
- package/dist/assets/{Heading.stories-DRr8Hoa4.js → Heading.stories-CROOXvlq.js} +1 -1
- package/dist/assets/Icon-BVvspUlo.js +1 -0
- package/dist/assets/Icon-BwwIOKM_.js +8 -0
- package/dist/assets/Icon-ByJ3-8OT.css +1 -0
- package/dist/assets/Icon-DghDQiVd.css +1 -0
- package/dist/assets/{Icon-RSC-CovqgG20.js → Icon-RSC-BOyrffYC.js} +1 -1
- package/dist/assets/{Icon.stories-CaNkb_vC.js → Icon.stories-BqehTDt3.js} +1 -1
- package/dist/assets/{IconButton-Bh5Ni2UR.js → IconButton-CI9clg4P.js} +1 -1
- package/dist/assets/InputText-DmOW3mdD.js +5 -0
- package/dist/assets/{LayoutFlex-gmvguImq.js → LayoutFlex-CaenMVBF.js} +1 -1
- package/dist/assets/{LayoutFlex-CDowjZxB.js → LayoutFlex-JnKYDcpC.js} +1 -1
- package/dist/assets/LayoutFlexItem-BM0Abp7Y.js +1 -0
- package/dist/assets/LayoutFlexItem-Dv67D5k3.css +1 -0
- package/dist/assets/LayoutGrid-BG6JKtyy.css +1 -0
- package/dist/assets/LayoutGrid-BhioG4bL.js +1 -0
- package/dist/assets/LayoutGrid-CJQpEAmZ.css +1 -0
- package/dist/assets/{LayoutGrid.stories-CQPljoqP.js → LayoutGrid.stories-Dv8lBJmB.js} +3 -3
- package/dist/assets/LayoutGridItem-BDT0sqW-.css +1 -0
- package/dist/assets/LayoutGridItem-CdnUXNtY.js +1 -0
- package/dist/assets/Link-vYql_2wB.css +1 -0
- package/dist/assets/{Link.stories-zLAuWX9B.js → Link.stories-DXbiFw9-.js} +4 -4
- package/dist/assets/Loader-DLP0PI5-.css +1 -0
- package/dist/assets/{Loader.stories-BboqpWt8.js → Loader.stories-DvgUtUpE.js} +2 -2
- package/dist/assets/{NumberField.stories-BpHFB9CV.js → NumberField.stories-BQIOdo90.js} +2 -2
- package/dist/assets/{ObserveIntersection-Ccn6ggRl.js → ObserveIntersection-D396wl1Z.js} +1 -1
- package/dist/assets/{ObserveIntersection.stories-CK5RwCMK.js → ObserveIntersection.stories-DIe0cEvy.js} +1 -1
- package/dist/assets/{OnboardingTooltip-x2DszDmR.js → OnboardingTooltip-IYSphueI.js} +1 -1
- package/dist/assets/OnboardingTooltip-RxaiJe-3.css +1 -0
- package/dist/assets/{OnboardingTooltip.stories-YGWZh7wP.js → OnboardingTooltip.stories-DnfLcLUg.js} +1 -1
- package/dist/assets/{OnboardingTooltip.tests.stories-BK5MQVED.js → OnboardingTooltip.tests.stories-DobHu21P.js} +1 -1
- package/dist/assets/{OnboardingTour-X5M_cS7-.js → OnboardingTour-2YaW_XWj.js} +1 -1
- package/dist/assets/{OnboardingTour-BP4h7xR5.css → OnboardingTour-Dr4ZlIUd.css} +1 -1
- package/dist/assets/{OnboardingTour.stories-BXsH2xpO.js → OnboardingTour.stories-BUBpjiez.js} +2 -2
- package/dist/assets/{OnboardingTour.tests.stories-DPOUFVqx.js → OnboardingTour.tests.stories-Buou9m4A.js} +1 -1
- package/dist/assets/PasswordField.stories-BevSwKGm.js +203 -0
- package/dist/assets/{PortalElementProvider-C0EkDknq.js → PortalElementProvider-DidBkzFe.js} +1 -1
- package/dist/assets/PreplyLogo-CBB3sPr3.css +1 -0
- package/dist/assets/{PreplyLogo.stories-DmXcvjgv.js → PreplyLogo.stories-BReIYVeE.js} +1 -1
- package/dist/assets/{ProgressBar-MHmjD13J.css → ProgressBar-D5aTIWY3.css} +1 -1
- package/dist/assets/{ProgressBar.stories-zcVtMh1i.js → ProgressBar.stories-wrAgHPrO.js} +1 -1
- package/dist/assets/{ProgressSteps-DKRENNWi.js → ProgressSteps-DWp2S1-b.js} +1 -1
- package/dist/assets/ProgressSteps-s9ACrzTy.css +1 -0
- package/dist/assets/{ProgressSteps.stories-BI9GvwsT.js → ProgressSteps.stories-CsWQLVog.js} +1 -1
- package/dist/assets/RootProvider-o_gxYeLh.js +1 -0
- package/dist/assets/SelectField-N7X7yUPn.css +1 -0
- package/dist/assets/SelectField.stories-9iipR200.js +182 -0
- package/dist/assets/{ShowOnIntersection.stories-D4B8EpSn.js → ShowOnIntersection.stories-BYz5GE4A.js} +1 -1
- package/dist/assets/Spinner-CVHMc-T0.css +1 -0
- package/dist/assets/{Spinner-DvSs1_DJ.js → Spinner-Dsa9X0G6.js} +1 -1
- package/dist/assets/Steps-CQWsOQKy.css +1 -0
- package/dist/assets/{Steps-BA9vRUSH.js → Steps-ifU4R9DW.js} +2 -2
- package/dist/assets/{Steps.stories-CArtTlc9.js → Steps.stories-DkI3jK5X.js} +1 -1
- package/dist/assets/{Text-D1nuTHlP.css → Text-BWNSh4D5.css} +1 -1
- package/dist/assets/Text-CDqVYAcD.js +1 -0
- package/dist/assets/Text-CdCGNBj4.js +1 -0
- package/dist/assets/{Text.stories-NYehfxgE.js → Text.stories-B8iegpqH.js} +1 -1
- package/dist/assets/TextField-DAwVD2CM.css +1 -0
- package/dist/assets/TextField-q53ruCuh.js +1 -0
- package/dist/assets/{TextField.stories-BY1H4a9E.js → TextField.stories-Beeq1JfY.js} +1 -1
- package/dist/assets/TextHighlighted-BHCtybuo.css +1 -0
- package/dist/assets/TextHighlighted-BdF2_CZo.js +1 -0
- package/dist/assets/{TextHighlighted.stories-CU-YQh0c.js → TextHighlighted.stories-DdbLv0RQ.js} +1 -1
- package/dist/assets/TextInline-CDFHfvph.css +1 -0
- package/dist/assets/{TextInline.stories-DxQqdyQA.js → TextInline.stories-aCVFO11z.js} +2 -2
- package/dist/assets/TextareaField.stories-bA314Jtt.js +221 -0
- package/dist/assets/Toast-BBn7aSpe.css +1 -0
- package/dist/assets/{Toast.stories-CSVzAKHh.js → Toast.stories-BZFlc1-_.js} +2 -2
- package/dist/assets/{Tooltip-CgNSV1zx.js → Tooltip-BvCJt9jJ.js} +1 -1
- package/dist/assets/Tooltip-Mm-tBuF2.css +1 -0
- package/dist/assets/{Tooltip.stories-BF2zDAu3.js → Tooltip.stories-Crh2sW9L.js} +1 -1
- package/dist/assets/{Tooltip.tests.stories-C_Osfge1.js → Tooltip.tests.stories-bmaSwgkR.js} +1 -1
- package/dist/assets/{breakpoints-Cxi56OGx.js → breakpoints-BELcY-aB.js} +1 -1
- package/dist/assets/{breakpoints-DAR-E6eG.js → breakpoints-CIpR6Rpt.js} +1 -1
- package/dist/assets/{breakpoints-BByG6q2q.js → breakpoints-_joXL0S9.js} +1 -1
- package/dist/assets/{changelog-DCnSoaQc.js → changelog-DdodvQsh.js} +200 -185
- package/dist/assets/{entry-preview-Rs3WVjAk.js → entry-preview-DNvfsvqm.js} +1 -1
- package/dist/assets/{getTokenVar-CD9sYO_0.js → getTokenVar-RiIceD0Y.js} +1 -1
- package/dist/assets/{hover-fULXOCaM.js → hover-BIABQ7bm.js} +1 -1
- package/dist/assets/{hover-BYUspDz3.js → hover-D2OphZ3W.js} +1 -1
- package/dist/assets/{hover-BILa1Jbh.js → hover-DDVoGg-g.js} +1 -1
- package/dist/assets/{iframe-vWKo2WPz.js → iframe-B08s_jqc.js} +2 -2
- package/dist/assets/{index-CWwb_nwj.js → index-B-5rsJjr.js} +1 -1
- package/dist/assets/{index-Cif9ZBgo.js → index-B77PBZuV.js} +1 -1
- package/dist/assets/{index-D1KM2TH6.js → index-BGAhMoqL.js} +3 -3
- package/dist/assets/index-BnaDsecG.js +7 -0
- package/dist/assets/{index-BoUZTGSt.js → index-CJrO-Wtu.js} +1 -1
- package/dist/assets/{index-F5yHvirT.js → index-DSa6qU7h.js} +1 -1
- package/dist/assets/{index-DlTEQ-d3.js → index-DmM0DblE.js} +1 -1
- package/dist/assets/{index-rt3jK62F.js → index-ODU_8Fga.js} +1 -1
- package/dist/assets/{intro-DZn3DHvI.js → intro-9BhCdV9M.js} +1 -1
- package/dist/assets/layout-relative-0-BGcS53.css +1 -0
- package/dist/assets/layout-relative-D-nYASza.css +1 -0
- package/dist/assets/layout-relative-DZ8FL-vJ.js +1 -0
- package/dist/assets/layout-relative-DiL5t_eA.css +1 -0
- package/dist/assets/layout-relative.module-Bf3FithH.js +1 -0
- package/dist/assets/layout-relative.module-CXJ9jc4G--YD8TQc4.js +1 -0
- package/dist/assets/{migrating-from-less-xfxGGfRQ.js → migrating-from-less-DX0PnZZJ.js} +1 -1
- package/dist/assets/options-DSKYF8ow.js +1 -0
- package/dist/assets/playground-BQGD3iU0.css +1 -0
- package/dist/assets/playground.stories-IM0Bn8my.js +857 -0
- package/dist/assets/{preview-BvnzZDeA.js → preview-DSwUvj7R.js} +1 -1
- package/dist/assets/{preview-uG6E6GFr.js → preview-D_cPBI7P.js} +2 -2
- package/dist/assets/{preview-D6yuuWfR.js → preview-E8zsGlo4.js} +1 -1
- package/dist/assets/text-accent-0oTyB6kb.css +1 -0
- package/dist/assets/text-accent-BMcamJQk.js +1 -0
- package/dist/assets/text-accent-CrnHOlvW.js +1 -0
- package/dist/assets/text-centered-1sU8-E1D.js +1 -0
- package/dist/assets/text-centered-BSdMMoT9.js +1 -0
- package/dist/assets/text-centered-BttmHjSJ.css +1 -0
- package/dist/assets/text-centered-V2JhT89g.css +1 -0
- package/dist/assets/{tokens-CIIxcXCS.js → tokens-D2SDDihU.js} +1 -1
- package/dist/assets/{tokens-C8usiAXt.js → tokens-DRcTh2ws.js} +1 -1
- package/dist/assets/tokens-Di5DrZN4.js +1 -0
- package/dist/assets/{tokens-RhSryCef.js → tokens-yG_wYklp.js} +1 -1
- package/dist/assets/{usePortalElement-DNdIYdAm.js → usePortalElement-aOX_O1I5.js} +1 -1
- package/dist/assets/{welcome-Dvt2b5nq.js → welcome-CGkWDS9u.js} +1 -1
- package/dist/assets/{zeroheight-LFw34vvi.js → zeroheight-CH9deXT2.js} +1 -1
- package/dist/iframe.html +1 -1
- package/dist/preview-stats.json +1371 -1188
- package/dist/project.json +1 -1
- package/package.json +3 -3
- package/dist/assets/01.semantic-tokens-Dy0yYUja.js +0 -2
- package/dist/assets/AlertDialog-DW9_6AZ8.css +0 -1
- package/dist/assets/AlertDialog.stories-DL75XA8r.js +0 -148
- package/dist/assets/Avatar-B2F4MHTO.css +0 -1
- package/dist/assets/Avatar-BhQ7jOQj.js +0 -6
- package/dist/assets/Avatar-BmAsMdOp.css +0 -1
- package/dist/assets/Avatar-Bwsmc9lX.js +0 -1
- package/dist/assets/AvatarWithStatus-pY3sCrjp.css +0 -1
- package/dist/assets/Badge-CpgrOePP.css +0 -1
- package/dist/assets/Box-CM3YGFU2.css +0 -1
- package/dist/assets/Box.stories-CH6Mdgpt.js +0 -44
- package/dist/assets/Button-BC_jw4NG.css +0 -1
- package/dist/assets/ButtonBase-DGRySlif.js +0 -8
- package/dist/assets/Chips-npNdfrcI.css +0 -1
- package/dist/assets/Dialog-D_4XJPhu.css +0 -1
- package/dist/assets/FieldAdditionalText-CwUpaFS0.css +0 -1
- package/dist/assets/FieldLayout-n59cZav_.css +0 -1
- package/dist/assets/FieldLayoutBase-DfX79WCU.css +0 -1
- package/dist/assets/Heading-BBi-mqnb.css +0 -1
- package/dist/assets/Heading-D5Sdpx6j.js +0 -2
- package/dist/assets/Heading-DIKUudVW.js +0 -1
- package/dist/assets/Icon-C6rDUkYo.js +0 -8
- package/dist/assets/Icon-CL5fP8-X.css +0 -1
- package/dist/assets/Icon-Cm_cf2-0.css +0 -1
- package/dist/assets/Icon-D7dTFAZz.js +0 -1
- package/dist/assets/InputText-DcyrRnV_.js +0 -5
- package/dist/assets/LayoutFlexItem-B-sXwsal.js +0 -1
- package/dist/assets/LayoutFlexItem-BelX-aXB.css +0 -1
- package/dist/assets/LayoutGrid-DfeGijvV.css +0 -1
- package/dist/assets/LayoutGrid-QZAfTQn5.js +0 -1
- package/dist/assets/LayoutGrid-aWJCovC4.css +0 -1
- package/dist/assets/LayoutGridItem-BTVKItd4.css +0 -1
- package/dist/assets/LayoutGridItem-ChTN54lj.js +0 -1
- package/dist/assets/Link-Be5EvvvY.css +0 -1
- package/dist/assets/Loader-COd8FTp8.css +0 -1
- package/dist/assets/OnboardingTooltip-CWEDWsqF.css +0 -1
- package/dist/assets/PasswordField.stories-Dmzyz9HV.js +0 -203
- package/dist/assets/PreplyLogo-D-EL1nAu.css +0 -1
- package/dist/assets/ProgressSteps-aaWTTKJv.css +0 -1
- package/dist/assets/RootProvider-_OxBHGC3.js +0 -1
- package/dist/assets/SelectField-DRuLQN6Y.css +0 -1
- package/dist/assets/SelectField.stories-D3P13J7b.js +0 -182
- package/dist/assets/Spinner-CdCa7n5q.css +0 -1
- package/dist/assets/Steps-BvugtWzT.css +0 -1
- package/dist/assets/Text-DEPGSVyh.js +0 -1
- package/dist/assets/Text-DYAggeGe.js +0 -1
- package/dist/assets/TextField-CyKhijoj.css +0 -1
- package/dist/assets/TextField-DphTmQSZ.js +0 -1
- package/dist/assets/TextHighlighted-BpMBas3S.js +0 -1
- package/dist/assets/TextHighlighted-D5caZ97j.css +0 -1
- package/dist/assets/TextInline-CcXMe67Y.css +0 -1
- package/dist/assets/TextareaField.stories-CYQV7fgs.js +0 -221
- package/dist/assets/Toast-CLpvlMPv.css +0 -1
- package/dist/assets/Tooltip-C6hVxAqp.css +0 -1
- package/dist/assets/layout-relative-B5qIaygx.css +0 -1
- package/dist/assets/layout-relative-BtZgANvD.css +0 -1
- package/dist/assets/layout-relative-Css93Y6Y.css +0 -1
- package/dist/assets/layout-relative-DHMpxpbw.js +0 -1
- package/dist/assets/layout-relative.module-CictnSCd.js +0 -1
- package/dist/assets/layout-relative.module-CuJ1jHGm-eCgTXz_W.js +0 -1
- package/dist/assets/options-8hBtriF-.js +0 -1
- package/dist/assets/playground-CqRPyHSX.css +0 -1
- package/dist/assets/playground.stories-Bc2EUyjN.js +0 -857
- package/dist/assets/text-accent-BUKnCsGG.css +0 -1
- package/dist/assets/text-accent-CvjwTDtK.js +0 -1
- package/dist/assets/text-accent-DL4_rrDH.js +0 -1
- package/dist/assets/text-centered-B1nRgYwv.js +0 -1
- package/dist/assets/text-centered-BCCtSPST.css +0 -1
- package/dist/assets/text-centered-BMzFcUqk.css +0 -1
- package/dist/assets/text-centered-DqK_kb5q.js +0 -1
- package/dist/assets/tokens-CkwKC70_.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as a}from"./jsx-runtime-BTJTZTIL.js";import{H as e}from"./Heading-
|
|
1
|
+
import{j as a}from"./jsx-runtime-BTJTZTIL.js";import{H as e}from"./Heading-CifnBvGj.js";import{S as s}from"./consts-KAYct7Gj.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./text-accent-CrnHOlvW.js";import"./classNames-BUL1Zq7e.js";import"./text-centered-1sU8-E1D.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./componentNames-Bwls0I02.js";import"./index-DdzHuZ-Y.js";const f={title:"components/Heading",component:e,argTypes:{centered:{description:s},variant:{description:s}}},r=()=>a.jsxs("div",{style:{padding:"16px",display:"grid",gridTemplateColumns:"auto 3fr",alignItems:"center",gap:"16px"},children:[a.jsx("span",{children:"h1 / massive"}),a.jsx(e,{tag:"h1",variant:"massive",children:"Lorem ipsum"}),a.jsx("span",{children:"h2 / huge"}),a.jsx(e,{tag:"h2",variant:"huge",children:"Lorem ipsum"}),a.jsx("span",{children:"h3 / extraLarge"}),a.jsx(e,{tag:"h3",variant:"extraLarge",children:"Lorem ipsum"}),a.jsx("span",{children:"h4 / large"}),a.jsx(e,{tag:"h4",variant:"large",children:"Lorem ipsum"}),a.jsx("span",{children:"h5 / medium"}),a.jsx(e,{tag:"h5",variant:"medium",children:"Lorem ipsum"}),a.jsx("span",{children:"p / small"}),a.jsx(e,{tag:"p",variant:"small",children:"Lorem ipsum"})]}),n={parameters:{chromatic:{disableSnapshot:!0}},decorators:[(l,{args:g})=>a.jsx("div",{style:{backgroundColor:g.accent==="inverted"?"black":void 0},children:l()})],args:{tag:"h1",variant:"massive",children:"Lorem ipsum",dataset:{qaid:"heading"}},argTypes:{centered:{control:"boolean"},dataset:{control:"object"},strong:{table:{disable:!0}},level:{table:{disable:!0}},color:{table:{disable:!0}},large:{table:{disable:!0}}}};var t,i,o;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`() => <div style={{
|
|
2
2
|
padding: '16px',
|
|
3
3
|
display: 'grid',
|
|
4
4
|
gridTemplateColumns: 'auto 3fr',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as z}from"./jsx-runtime-BTJTZTIL.js";import{r as b}from"./index-Cb9e4tly.js";import{g as w,a as f}from"./text-accent-BMcamJQk.js";import{f as N}from"./filterHTMLAttributes-UOns5Q7s.js";import{r as k}from"./render-icon-Du0nasoi.js";import{m as c,s as h,b as $}from"./classNames-BUL1Zq7e.js";import{I as j}from"./defaults-B1rzzf6M.js";import{w as _}from"./componentNames-Bwls0I02.js";import{g as v}from"./index-DdzHuZ-Y.js";const A="_ExpColor_aduln_3",D={ExpColor:A,"ExpColor--exp-color-grey-0":"_ExpColor--exp-color-grey-0_aduln_3","ExpColor--exp-color-grey-50":"_ExpColor--exp-color-grey-50_aduln_6","ExpColor--exp-color-grey-100":"_ExpColor--exp-color-grey-100_aduln_9","ExpColor--exp-color-grey-200":"_ExpColor--exp-color-grey-200_aduln_12","ExpColor--exp-color-grey-300":"_ExpColor--exp-color-grey-300_aduln_15","ExpColor--exp-color-grey-400":"_ExpColor--exp-color-grey-400_aduln_18","ExpColor--exp-color-grey-500":"_ExpColor--exp-color-grey-500_aduln_21","ExpColor--exp-color-grey-600":"_ExpColor--exp-color-grey-600_aduln_24","ExpColor--exp-color-grey-700":"_ExpColor--exp-color-grey-700_aduln_27","ExpColor--exp-color-grey-800":"_ExpColor--exp-color-grey-800_aduln_30","ExpColor--exp-color-grey-900":"_ExpColor--exp-color-grey-900_aduln_33","ExpColor--exp-color-pink-50":"_ExpColor--exp-color-pink-50_aduln_36","ExpColor--exp-color-pink-100":"_ExpColor--exp-color-pink-100_aduln_39","ExpColor--exp-color-pink-200":"_ExpColor--exp-color-pink-200_aduln_42","ExpColor--exp-color-pink-300":"_ExpColor--exp-color-pink-300_aduln_45","ExpColor--exp-color-pink-400":"_ExpColor--exp-color-pink-400_aduln_48","ExpColor--exp-color-pink-500":"_ExpColor--exp-color-pink-500_aduln_51","ExpColor--exp-color-pink-600":"_ExpColor--exp-color-pink-600_aduln_54","ExpColor--exp-color-pink-700":"_ExpColor--exp-color-pink-700_aduln_57","ExpColor--exp-color-pink-800":"_ExpColor--exp-color-pink-800_aduln_60","ExpColor--exp-color-yellow-50":"_ExpColor--exp-color-yellow-50_aduln_63","ExpColor--exp-color-yellow-100":"_ExpColor--exp-color-yellow-100_aduln_66","ExpColor--exp-color-yellow-200":"_ExpColor--exp-color-yellow-200_aduln_69","ExpColor--exp-color-yellow-300":"_ExpColor--exp-color-yellow-300_aduln_72","ExpColor--exp-color-yellow-400":"_ExpColor--exp-color-yellow-400_aduln_75","ExpColor--exp-color-yellow-500":"_ExpColor--exp-color-yellow-500_aduln_78","ExpColor--exp-color-yellow-600":"_ExpColor--exp-color-yellow-600_aduln_81","ExpColor--exp-color-yellow-700":"_ExpColor--exp-color-yellow-700_aduln_84","ExpColor--exp-color-yellow-800":"_ExpColor--exp-color-yellow-800_aduln_87","ExpColor--exp-color-blue-50":"_ExpColor--exp-color-blue-50_aduln_90","ExpColor--exp-color-blue-100":"_ExpColor--exp-color-blue-100_aduln_93","ExpColor--exp-color-blue-200":"_ExpColor--exp-color-blue-200_aduln_96","ExpColor--exp-color-blue-300":"_ExpColor--exp-color-blue-300_aduln_99","ExpColor--exp-color-blue-400":"_ExpColor--exp-color-blue-400_aduln_102","ExpColor--exp-color-blue-500":"_ExpColor--exp-color-blue-500_aduln_105","ExpColor--exp-color-blue-600":"_ExpColor--exp-color-blue-600_aduln_108","ExpColor--exp-color-blue-700":"_ExpColor--exp-color-blue-700_aduln_111","ExpColor--exp-color-blue-800":"_ExpColor--exp-color-blue-800_aduln_114","ExpColor--exp-color-teal-50":"_ExpColor--exp-color-teal-50_aduln_117","ExpColor--exp-color-teal-100":"_ExpColor--exp-color-teal-100_aduln_120","ExpColor--exp-color-teal-200":"_ExpColor--exp-color-teal-200_aduln_123","ExpColor--exp-color-teal-300":"_ExpColor--exp-color-teal-300_aduln_126","ExpColor--exp-color-teal-400":"_ExpColor--exp-color-teal-400_aduln_129","ExpColor--exp-color-teal-500":"_ExpColor--exp-color-teal-500_aduln_132","ExpColor--exp-color-teal-600":"_ExpColor--exp-color-teal-600_aduln_135","ExpColor--exp-color-teal-700":"_ExpColor--exp-color-teal-700_aduln_138","ExpColor--exp-color-teal-800":"_ExpColor--exp-color-teal-800_aduln_141","ExpColor--exp-color-red-50":"_ExpColor--exp-color-red-50_aduln_144","ExpColor--exp-color-red-100":"_ExpColor--exp-color-red-100_aduln_147","ExpColor--exp-color-red-200":"_ExpColor--exp-color-red-200_aduln_150","ExpColor--exp-color-red-300":"_ExpColor--exp-color-red-300_aduln_153","ExpColor--exp-color-red-400":"_ExpColor--exp-color-red-400_aduln_156","ExpColor--exp-color-red-500":"_ExpColor--exp-color-red-500_aduln_159","ExpColor--exp-color-red-600":"_ExpColor--exp-color-red-600_aduln_162","ExpColor--exp-color-red-700":"_ExpColor--exp-color-red-700_aduln_165","ExpColor--exp-color-red-800":"_ExpColor--exp-color-red-800_aduln_168"},L="ExpColor",O=r=>c(D,L,[h("exp-color",r)]),R="_Icon_793iz_4",T={Icon:R,"Icon--size-2xs":"_Icon--size-2xs_793iz_16","Icon--size-xs":"_Icon--size-xs_793iz_22","Icon--size-s":"_Icon--size-s_793iz_28","Icon--size-m":"_Icon--size-m_793iz_34","Icon--size-l":"_Icon--size-l_793iz_40","Icon--size-16":"_Icon--size-16_793iz_46","Icon--size-24":"_Icon--size-24_793iz_52","Icon--size-32":"_Icon--size-32_793iz_58","Icon--size-48":"_Icon--size-48_793iz_64"},P=b.forwardRef(function({svg:e,size:o=j,accent:l,expColor:n,color:a,label:p,dataset:C,...E},s){const x=!Number.isNaN(Number(o)),d=x?{width:`${o}px`,height:`${o}px`}:{},u=c(T,_.Icon,[$(`size-${o}`,void 0,!x)]),i=l?void 0:a,t=w(!1,l),m=f(i),y=l?[]:O(n),I=[...u,...t,...m,...y],g={...N(E),className:I.join(" "),...v(C,{preplyDsComponent:_.Icon}),ref:s};if(!e)throw new Error("Icon prop svg is mandatory");return z.jsx("span",{...g,role:"img",style:d,"aria-hidden":!p,"aria-label":p,children:k(e,{"aria-hidden":"true",focusable:"false"})})});P.__docgenInfo={description:"",methods:[],displayName:"Icon",props:{size:{defaultValue:{value:"'s'",computed:!1},required:!1}}};export{P as I};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{j as b}from"./jsx-runtime-BTJTZTIL.js";import{r as w}from"./index-Cb9e4tly.js";import{g as I,a as k}from"./text-accent-CrnHOlvW.js";import{f as h}from"./filterHTMLAttributes-DYdLqcvH.js";import{r as z}from"./render-icon-BT0Aq7PA.js";import{m as x,s as N,b as V}from"./classNames-BUL1Zq7e.js";import{w as u}from"./componentNames-Bwls0I02.js";import{g as T}from"./index-DdzHuZ-Y.js";import{I as S}from"./defaults-B1rzzf6M.js";const q="_Icon_793iz_4",U={Icon:q,"Icon--size-2xs":"_Icon--size-2xs_793iz_16","Icon--size-xs":"_Icon--size-xs_793iz_22","Icon--size-s":"_Icon--size-s_793iz_28","Icon--size-m":"_Icon--size-m_793iz_34","Icon--size-l":"_Icon--size-l_793iz_40","Icon--size-16":"_Icon--size-16_793iz_46","Icon--size-24":"_Icon--size-24_793iz_52","Icon--size-32":"_Icon--size-32_793iz_58","Icon--size-48":"_Icon--size-48_793iz_64"},P="_ExpColor_aduln_3",R={ExpColor:P,"ExpColor--exp-color-grey-0":"_ExpColor--exp-color-grey-0_aduln_3","ExpColor--exp-color-grey-50":"_ExpColor--exp-color-grey-50_aduln_6","ExpColor--exp-color-grey-100":"_ExpColor--exp-color-grey-100_aduln_9","ExpColor--exp-color-grey-200":"_ExpColor--exp-color-grey-200_aduln_12","ExpColor--exp-color-grey-300":"_ExpColor--exp-color-grey-300_aduln_15","ExpColor--exp-color-grey-400":"_ExpColor--exp-color-grey-400_aduln_18","ExpColor--exp-color-grey-500":"_ExpColor--exp-color-grey-500_aduln_21","ExpColor--exp-color-grey-600":"_ExpColor--exp-color-grey-600_aduln_24","ExpColor--exp-color-grey-700":"_ExpColor--exp-color-grey-700_aduln_27","ExpColor--exp-color-grey-800":"_ExpColor--exp-color-grey-800_aduln_30","ExpColor--exp-color-grey-900":"_ExpColor--exp-color-grey-900_aduln_33","ExpColor--exp-color-pink-50":"_ExpColor--exp-color-pink-50_aduln_36","ExpColor--exp-color-pink-100":"_ExpColor--exp-color-pink-100_aduln_39","ExpColor--exp-color-pink-200":"_ExpColor--exp-color-pink-200_aduln_42","ExpColor--exp-color-pink-300":"_ExpColor--exp-color-pink-300_aduln_45","ExpColor--exp-color-pink-400":"_ExpColor--exp-color-pink-400_aduln_48","ExpColor--exp-color-pink-500":"_ExpColor--exp-color-pink-500_aduln_51","ExpColor--exp-color-pink-600":"_ExpColor--exp-color-pink-600_aduln_54","ExpColor--exp-color-pink-700":"_ExpColor--exp-color-pink-700_aduln_57","ExpColor--exp-color-pink-800":"_ExpColor--exp-color-pink-800_aduln_60","ExpColor--exp-color-yellow-50":"_ExpColor--exp-color-yellow-50_aduln_63","ExpColor--exp-color-yellow-100":"_ExpColor--exp-color-yellow-100_aduln_66","ExpColor--exp-color-yellow-200":"_ExpColor--exp-color-yellow-200_aduln_69","ExpColor--exp-color-yellow-300":"_ExpColor--exp-color-yellow-300_aduln_72","ExpColor--exp-color-yellow-400":"_ExpColor--exp-color-yellow-400_aduln_75","ExpColor--exp-color-yellow-500":"_ExpColor--exp-color-yellow-500_aduln_78","ExpColor--exp-color-yellow-600":"_ExpColor--exp-color-yellow-600_aduln_81","ExpColor--exp-color-yellow-700":"_ExpColor--exp-color-yellow-700_aduln_84","ExpColor--exp-color-yellow-800":"_ExpColor--exp-color-yellow-800_aduln_87","ExpColor--exp-color-blue-50":"_ExpColor--exp-color-blue-50_aduln_90","ExpColor--exp-color-blue-100":"_ExpColor--exp-color-blue-100_aduln_93","ExpColor--exp-color-blue-200":"_ExpColor--exp-color-blue-200_aduln_96","ExpColor--exp-color-blue-300":"_ExpColor--exp-color-blue-300_aduln_99","ExpColor--exp-color-blue-400":"_ExpColor--exp-color-blue-400_aduln_102","ExpColor--exp-color-blue-500":"_ExpColor--exp-color-blue-500_aduln_105","ExpColor--exp-color-blue-600":"_ExpColor--exp-color-blue-600_aduln_108","ExpColor--exp-color-blue-700":"_ExpColor--exp-color-blue-700_aduln_111","ExpColor--exp-color-blue-800":"_ExpColor--exp-color-blue-800_aduln_114","ExpColor--exp-color-teal-50":"_ExpColor--exp-color-teal-50_aduln_117","ExpColor--exp-color-teal-100":"_ExpColor--exp-color-teal-100_aduln_120","ExpColor--exp-color-teal-200":"_ExpColor--exp-color-teal-200_aduln_123","ExpColor--exp-color-teal-300":"_ExpColor--exp-color-teal-300_aduln_126","ExpColor--exp-color-teal-400":"_ExpColor--exp-color-teal-400_aduln_129","ExpColor--exp-color-teal-500":"_ExpColor--exp-color-teal-500_aduln_132","ExpColor--exp-color-teal-600":"_ExpColor--exp-color-teal-600_aduln_135","ExpColor--exp-color-teal-700":"_ExpColor--exp-color-teal-700_aduln_138","ExpColor--exp-color-teal-800":"_ExpColor--exp-color-teal-800_aduln_141","ExpColor--exp-color-red-50":"_ExpColor--exp-color-red-50_aduln_144","ExpColor--exp-color-red-100":"_ExpColor--exp-color-red-100_aduln_147","ExpColor--exp-color-red-200":"_ExpColor--exp-color-red-200_aduln_150","ExpColor--exp-color-red-300":"_ExpColor--exp-color-red-300_aduln_153","ExpColor--exp-color-red-400":"_ExpColor--exp-color-red-400_aduln_156","ExpColor--exp-color-red-500":"_ExpColor--exp-color-red-500_aduln_159","ExpColor--exp-color-red-600":"_ExpColor--exp-color-red-600_aduln_162","ExpColor--exp-color-red-700":"_ExpColor--exp-color-red-700_aduln_165","ExpColor--exp-color-red-800":"_ExpColor--exp-color-red-800_aduln_168"},j="ExpColor",A=l=>x(R,j,[N("exp-color",l)]),n=w.forwardRef(function({svg:r,size:e=S,accent:o,expColor:c,color:t,label:a,dataset:_,...s},i){const p=!Number.isNaN(Number(e)),d=p?{width:`${e}px`,height:`${e}px`}:{},v=x(U,u.Icon,[V(`size-${e}`,void 0,!p)]),C=o?void 0:t,E=I(!1,o),y=k(C),m=o?[]:A(c),g=[...v,...E,...y,...m],f={...h(s),className:g.join(" "),...T(_,{preplyDsComponent:u.Icon}),ref:i};if(!r)throw new Error("Icon prop svg is mandatory");return b.jsx("span",{...f,role:"img",style:d,"aria-hidden":!a,"aria-label":a,children:z(r,{"aria-hidden":"true",focusable:"false"})})});try{n.displayName="Icon",n.__docgenInfo={description:"",displayName:"Icon",props:{svg:{defaultValue:null,description:`The SVG icon to render.
|
|
2
|
+
@example import TokyoUINotesWithPad from '@preply/ds-media-icons/dist/24/TokyoUINotesWithPad.svg';
|
|
3
|
+
|
|
4
|
+
<Icon svg={TokyoUINotesWithPad} />
|
|
5
|
+
@example <caption>Using as react server component</caption>
|
|
6
|
+
import TokyoUINotesWithPad from '@preply/ds-media-icons/dist/24/TokyoUINotesWithPad.svg';
|
|
7
|
+
|
|
8
|
+
<Icon svg={<TokyoUINotesWithPad />} />`,name:"svg",required:!0,type:{name:"enum",value:[{value:"ComponentClass<SVGAttributes<SVGElement>, any>"},{value:"FunctionComponent<SVGAttributes<SVGElement>>"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},size:{defaultValue:{value:"s"},description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"16"'}]}},accent:{defaultValue:null,description:"",name:"accent",required:!1,type:{name:"enum",value:[{value:'"info"'},{value:'"positive"'},{value:'"warning"'},{value:'"critical"'},{value:'"accent"'},{value:'"inverted"'},{value:'"tertiary"'},{value:'"primary"'},{value:'"secondary"'},{value:'"accentDark"'},{value:'"placeholder"'},{value:'"disabled"'},{value:'"branded"'},{value:'"selected"'},{value:'"error"'}]}},expColor:{defaultValue:null,description:"If passed along with `accent`, `accent` takes precedence.",name:"expColor",required:!1,type:{name:"enum",value:[{value:'"teal-100"'},{value:'"teal-200"'},{value:'"teal-300"'},{value:'"teal-400"'},{value:'"teal-500"'},{value:'"yellow-100"'},{value:'"yellow-200"'},{value:'"yellow-300"'},{value:'"yellow-400"'},{value:'"yellow-500"'},{value:'"red-100"'},{value:'"red-200"'},{value:'"red-300"'},{value:'"red-400"'},{value:'"red-500"'},{value:'"blue-100"'},{value:'"blue-200"'},{value:'"blue-300"'},{value:'"blue-400"'},{value:'"blue-500"'},{value:'"grey-0"'},{value:'"grey-50"'},{value:'"grey-100"'},{value:'"grey-200"'},{value:'"grey-300"'},{value:'"grey-400"'},{value:'"grey-500"'},{value:'"grey-600"'},{value:'"grey-700"'},{value:'"grey-800"'},{value:'"grey-900"'},{value:'"pink-50"'},{value:'"pink-100"'},{value:'"pink-200"'},{value:'"pink-300"'},{value:'"pink-400"'},{value:'"pink-500"'},{value:'"pink-600"'},{value:'"pink-700"'},{value:'"pink-800"'},{value:'"yellow-50"'},{value:'"yellow-600"'},{value:'"yellow-700"'},{value:'"yellow-800"'},{value:'"blue-50"'},{value:'"blue-600"'},{value:'"blue-700"'},{value:'"blue-800"'},{value:'"teal-50"'},{value:'"teal-600"'},{value:'"teal-700"'},{value:'"teal-800"'},{value:'"red-50"'},{value:'"red-600"'},{value:'"red-700"'},{value:'"red-800"'}]}},color:{defaultValue:null,description:"@deprecated Use accent instead.",name:"color",required:!1,type:{name:"enum",value:[{value:'"white"'},{value:'"gray-100"'},{value:'"gray-200"'},{value:'"gray-300"'},{value:'"gray-400"'},{value:'"gray-500"'},{value:'"gray-600"'},{value:'"teal-100"'},{value:'"teal-200"'},{value:'"teal-300"'},{value:'"teal-400"'},{value:'"teal-500"'},{value:'"green-100"'},{value:'"green-200"'},{value:'"green-300"'},{value:'"green-400"'},{value:'"green-500"'},{value:'"yellow-100"'},{value:'"yellow-200"'},{value:'"yellow-300"'},{value:'"yellow-400"'},{value:'"yellow-500"'},{value:'"red-100"'},{value:'"red-200"'},{value:'"red-300"'},{value:'"red-400"'},{value:'"red-500"'},{value:'"blue-100"'},{value:'"blue-200"'},{value:'"blue-300"'},{value:'"blue-400"'},{value:'"blue-500"'},{value:'"magenta-100"'},{value:'"magenta-200"'},{value:'"magenta-300"'},{value:'"magenta-400"'},{value:'"magenta-500"'}]}},label:{defaultValue:null,description:"If using the icon without any adjacent descriptive text, use this prop to\nprovide an `aria-label` for assistive technologies.",name:"label",required:!1,type:{name:"enum",value:[{value:"string"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLSpanElement | null) => void"},{value:"RefObject<HTMLSpanElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{n as I};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._ExpColor_aduln_3._ExpColor--exp-color-grey-0_aduln_3{color:var(--d751dc)}._ExpColor_aduln_3._ExpColor--exp-color-grey-50_aduln_6{color:var(--d4e1b8)}._ExpColor_aduln_3._ExpColor--exp-color-grey-100_aduln_9{color:var(--e986ec)}._ExpColor_aduln_3._ExpColor--exp-color-grey-200_aduln_12{color:var(--8a8cb8)}._ExpColor_aduln_3._ExpColor--exp-color-grey-300_aduln_15{color:var(--e7dcf4)}._ExpColor_aduln_3._ExpColor--exp-color-grey-400_aduln_18{color:var(--d48a93)}._ExpColor_aduln_3._ExpColor--exp-color-grey-500_aduln_21{color:var(--9b582c)}._ExpColor_aduln_3._ExpColor--exp-color-grey-600_aduln_24{color:var(--bd0a12)}._ExpColor_aduln_3._ExpColor--exp-color-grey-700_aduln_27{color:var(--5540cb)}._ExpColor_aduln_3._ExpColor--exp-color-grey-800_aduln_30{color:var(--3f9d59)}._ExpColor_aduln_3._ExpColor--exp-color-grey-900_aduln_33{color:var(--0d2c1d)}._ExpColor_aduln_3._ExpColor--exp-color-pink-50_aduln_36{color:var(--696262)}._ExpColor_aduln_3._ExpColor--exp-color-pink-100_aduln_39{color:var(--2a8bdc)}._ExpColor_aduln_3._ExpColor--exp-color-pink-200_aduln_42{color:var(--9c55fe)}._ExpColor_aduln_3._ExpColor--exp-color-pink-300_aduln_45{color:var(--55b1b2)}._ExpColor_aduln_3._ExpColor--exp-color-pink-400_aduln_48{color:var(--e2e617)}._ExpColor_aduln_3._ExpColor--exp-color-pink-500_aduln_51{color:var(--28075b)}._ExpColor_aduln_3._ExpColor--exp-color-pink-600_aduln_54{color:var(--0d21bc)}._ExpColor_aduln_3._ExpColor--exp-color-pink-700_aduln_57{color:var(--dcc28c)}._ExpColor_aduln_3._ExpColor--exp-color-pink-800_aduln_60{color:var(--e2ccaa)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-50_aduln_63{color:var(--f73f81)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-100_aduln_66{color:var(--05c737)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-200_aduln_69{color:var(--32d8a2)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-300_aduln_72{color:var(--92f9a7)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-400_aduln_75{color:var(--4db3c1)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-500_aduln_78{color:var(--2d6e08)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-600_aduln_81{color:var(--2db5c2)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-700_aduln_84{color:var(--b31329)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-800_aduln_87{color:var(--66ebdf)}._ExpColor_aduln_3._ExpColor--exp-color-blue-50_aduln_90{color:var(--6ae6f0)}._ExpColor_aduln_3._ExpColor--exp-color-blue-100_aduln_93{color:var(--b916ba)}._ExpColor_aduln_3._ExpColor--exp-color-blue-200_aduln_96{color:var(--c6fc9c)}._ExpColor_aduln_3._ExpColor--exp-color-blue-300_aduln_99{color:var(--b773b2)}._ExpColor_aduln_3._ExpColor--exp-color-blue-400_aduln_102{color:var(--e848c4)}._ExpColor_aduln_3._ExpColor--exp-color-blue-500_aduln_105{color:var(--e57766)}._ExpColor_aduln_3._ExpColor--exp-color-blue-600_aduln_108{color:var(--fdf041)}._ExpColor_aduln_3._ExpColor--exp-color-blue-700_aduln_111{color:var(--cd5904)}._ExpColor_aduln_3._ExpColor--exp-color-blue-800_aduln_114{color:var(--440fc3)}._ExpColor_aduln_3._ExpColor--exp-color-teal-50_aduln_117{color:var(--9fac3a)}._ExpColor_aduln_3._ExpColor--exp-color-teal-100_aduln_120{color:var(--32b0b3)}._ExpColor_aduln_3._ExpColor--exp-color-teal-200_aduln_123{color:var(--873ad3)}._ExpColor_aduln_3._ExpColor--exp-color-teal-300_aduln_126{color:var(--202011)}._ExpColor_aduln_3._ExpColor--exp-color-teal-400_aduln_129{color:var(--4f3eb4)}._ExpColor_aduln_3._ExpColor--exp-color-teal-500_aduln_132{color:var(--c47d0d)}._ExpColor_aduln_3._ExpColor--exp-color-teal-600_aduln_135{color:var(--985403)}._ExpColor_aduln_3._ExpColor--exp-color-teal-700_aduln_138{color:var(--2c9147)}._ExpColor_aduln_3._ExpColor--exp-color-teal-800_aduln_141{color:var(--0d9ea5)}._ExpColor_aduln_3._ExpColor--exp-color-red-50_aduln_144{color:var(--f951e9)}._ExpColor_aduln_3._ExpColor--exp-color-red-100_aduln_147{color:var(--3aa891)}._ExpColor_aduln_3._ExpColor--exp-color-red-200_aduln_150{color:var(--ba4c34)}._ExpColor_aduln_3._ExpColor--exp-color-red-300_aduln_153{color:var(--943cfc)}._ExpColor_aduln_3._ExpColor--exp-color-red-400_aduln_156{color:var(--8af651)}._ExpColor_aduln_3._ExpColor--exp-color-red-500_aduln_159{color:var(--f5bfe7)}._ExpColor_aduln_3._ExpColor--exp-color-red-600_aduln_162{color:var(--1bd221)}._ExpColor_aduln_3._ExpColor--exp-color-red-700_aduln_165{color:var(--38cd90)}._ExpColor_aduln_3._ExpColor--exp-color-red-800_aduln_168{color:var(--e9fcc6)}._Icon_793iz_4{display:inline-block;vertical-align:text-top}._Icon_793iz_4 svg{display:block;width:100%;min-width:100%;max-width:100%;max-height:100%;fill:currentColor}._Icon--size-2xs_793iz_16{width:var(--b21f61);height:var(--b21f61);min-width:var(--b21f61);max-width:var(--b21f61)}._Icon--size-xs_793iz_22{width:var(--766f3b);height:var(--766f3b);min-width:var(--766f3b);max-width:var(--766f3b)}._Icon--size-s_793iz_28{width:var(--7c1b1c);height:var(--7c1b1c);min-width:var(--7c1b1c);max-width:var(--7c1b1c)}._Icon--size-m_793iz_34{width:var(--2152b7);height:var(--2152b7);min-width:var(--2152b7);max-width:var(--2152b7)}._Icon--size-l_793iz_40{width:var(--8f525f);height:var(--8f525f);min-width:var(--8f525f);max-width:var(--8f525f)}._Icon--size-16_793iz_46{width:var(--656bbc);height:var(--656bbc);min-width:var(--656bbc);max-width:var(--656bbc)}._Icon--size-24_793iz_52{width:var(--81dc82);height:var(--81dc82);min-width:var(--81dc82);max-width:var(--81dc82)}._Icon--size-32_793iz_58{width:var(--2a6452);height:var(--2a6452);min-width:var(--2a6452);max-width:var(--2a6452)}._Icon--size-48_793iz_64{width:var(--03d2e4);height:var(--03d2e4);min-width:var(--03d2e4);max-width:var(--03d2e4)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Icon_793iz_4{display:inline-block;vertical-align:text-top}._Icon_793iz_4 svg{display:block;width:100%;min-width:100%;max-width:100%;max-height:100%;fill:currentColor}._Icon--size-2xs_793iz_16{width:var(--b21f61);height:var(--b21f61);min-width:var(--b21f61);max-width:var(--b21f61)}._Icon--size-xs_793iz_22{width:var(--766f3b);height:var(--766f3b);min-width:var(--766f3b);max-width:var(--766f3b)}._Icon--size-s_793iz_28{width:var(--7c1b1c);height:var(--7c1b1c);min-width:var(--7c1b1c);max-width:var(--7c1b1c)}._Icon--size-m_793iz_34{width:var(--2152b7);height:var(--2152b7);min-width:var(--2152b7);max-width:var(--2152b7)}._Icon--size-l_793iz_40{width:var(--8f525f);height:var(--8f525f);min-width:var(--8f525f);max-width:var(--8f525f)}._Icon--size-16_793iz_46{width:var(--656bbc);height:var(--656bbc);min-width:var(--656bbc);max-width:var(--656bbc)}._Icon--size-24_793iz_52{width:var(--81dc82);height:var(--81dc82);min-width:var(--81dc82);max-width:var(--81dc82)}._Icon--size-32_793iz_58{width:var(--2a6452);height:var(--2a6452);min-width:var(--2a6452);max-width:var(--2a6452)}._Icon--size-48_793iz_64{width:var(--03d2e4);height:var(--03d2e4);min-width:var(--03d2e4);max-width:var(--03d2e4)}._ExpColor_aduln_3._ExpColor--exp-color-grey-0_aduln_3{color:var(--d751dc)}._ExpColor_aduln_3._ExpColor--exp-color-grey-50_aduln_6{color:var(--d4e1b8)}._ExpColor_aduln_3._ExpColor--exp-color-grey-100_aduln_9{color:var(--e986ec)}._ExpColor_aduln_3._ExpColor--exp-color-grey-200_aduln_12{color:var(--8a8cb8)}._ExpColor_aduln_3._ExpColor--exp-color-grey-300_aduln_15{color:var(--e7dcf4)}._ExpColor_aduln_3._ExpColor--exp-color-grey-400_aduln_18{color:var(--d48a93)}._ExpColor_aduln_3._ExpColor--exp-color-grey-500_aduln_21{color:var(--9b582c)}._ExpColor_aduln_3._ExpColor--exp-color-grey-600_aduln_24{color:var(--bd0a12)}._ExpColor_aduln_3._ExpColor--exp-color-grey-700_aduln_27{color:var(--5540cb)}._ExpColor_aduln_3._ExpColor--exp-color-grey-800_aduln_30{color:var(--3f9d59)}._ExpColor_aduln_3._ExpColor--exp-color-grey-900_aduln_33{color:var(--0d2c1d)}._ExpColor_aduln_3._ExpColor--exp-color-pink-50_aduln_36{color:var(--696262)}._ExpColor_aduln_3._ExpColor--exp-color-pink-100_aduln_39{color:var(--2a8bdc)}._ExpColor_aduln_3._ExpColor--exp-color-pink-200_aduln_42{color:var(--9c55fe)}._ExpColor_aduln_3._ExpColor--exp-color-pink-300_aduln_45{color:var(--55b1b2)}._ExpColor_aduln_3._ExpColor--exp-color-pink-400_aduln_48{color:var(--e2e617)}._ExpColor_aduln_3._ExpColor--exp-color-pink-500_aduln_51{color:var(--28075b)}._ExpColor_aduln_3._ExpColor--exp-color-pink-600_aduln_54{color:var(--0d21bc)}._ExpColor_aduln_3._ExpColor--exp-color-pink-700_aduln_57{color:var(--dcc28c)}._ExpColor_aduln_3._ExpColor--exp-color-pink-800_aduln_60{color:var(--e2ccaa)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-50_aduln_63{color:var(--f73f81)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-100_aduln_66{color:var(--05c737)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-200_aduln_69{color:var(--32d8a2)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-300_aduln_72{color:var(--92f9a7)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-400_aduln_75{color:var(--4db3c1)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-500_aduln_78{color:var(--2d6e08)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-600_aduln_81{color:var(--2db5c2)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-700_aduln_84{color:var(--b31329)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-800_aduln_87{color:var(--66ebdf)}._ExpColor_aduln_3._ExpColor--exp-color-blue-50_aduln_90{color:var(--6ae6f0)}._ExpColor_aduln_3._ExpColor--exp-color-blue-100_aduln_93{color:var(--b916ba)}._ExpColor_aduln_3._ExpColor--exp-color-blue-200_aduln_96{color:var(--c6fc9c)}._ExpColor_aduln_3._ExpColor--exp-color-blue-300_aduln_99{color:var(--b773b2)}._ExpColor_aduln_3._ExpColor--exp-color-blue-400_aduln_102{color:var(--e848c4)}._ExpColor_aduln_3._ExpColor--exp-color-blue-500_aduln_105{color:var(--e57766)}._ExpColor_aduln_3._ExpColor--exp-color-blue-600_aduln_108{color:var(--fdf041)}._ExpColor_aduln_3._ExpColor--exp-color-blue-700_aduln_111{color:var(--cd5904)}._ExpColor_aduln_3._ExpColor--exp-color-blue-800_aduln_114{color:var(--440fc3)}._ExpColor_aduln_3._ExpColor--exp-color-teal-50_aduln_117{color:var(--9fac3a)}._ExpColor_aduln_3._ExpColor--exp-color-teal-100_aduln_120{color:var(--32b0b3)}._ExpColor_aduln_3._ExpColor--exp-color-teal-200_aduln_123{color:var(--873ad3)}._ExpColor_aduln_3._ExpColor--exp-color-teal-300_aduln_126{color:var(--202011)}._ExpColor_aduln_3._ExpColor--exp-color-teal-400_aduln_129{color:var(--4f3eb4)}._ExpColor_aduln_3._ExpColor--exp-color-teal-500_aduln_132{color:var(--c47d0d)}._ExpColor_aduln_3._ExpColor--exp-color-teal-600_aduln_135{color:var(--985403)}._ExpColor_aduln_3._ExpColor--exp-color-teal-700_aduln_138{color:var(--2c9147)}._ExpColor_aduln_3._ExpColor--exp-color-teal-800_aduln_141{color:var(--0d9ea5)}._ExpColor_aduln_3._ExpColor--exp-color-red-50_aduln_144{color:var(--f951e9)}._ExpColor_aduln_3._ExpColor--exp-color-red-100_aduln_147{color:var(--3aa891)}._ExpColor_aduln_3._ExpColor--exp-color-red-200_aduln_150{color:var(--ba4c34)}._ExpColor_aduln_3._ExpColor--exp-color-red-300_aduln_153{color:var(--943cfc)}._ExpColor_aduln_3._ExpColor--exp-color-red-400_aduln_156{color:var(--8af651)}._ExpColor_aduln_3._ExpColor--exp-color-red-500_aduln_159{color:var(--f5bfe7)}._ExpColor_aduln_3._ExpColor--exp-color-red-600_aduln_162{color:var(--1bd221)}._ExpColor_aduln_3._ExpColor--exp-color-red-700_aduln_165{color:var(--38cd90)}._ExpColor_aduln_3._ExpColor--exp-color-red-800_aduln_168{color:var(--e9fcc6)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o}from"./jsx-runtime-BTJTZTIL.js";import{useMDXComponents as n}from"./index-BN6VMYqa.js";import{M as m,S as s}from"./index-
|
|
1
|
+
import{j as o}from"./jsx-runtime-BTJTZTIL.js";import{useMDXComponents as n}from"./index-BN6VMYqa.js";import{M as m,S as s}from"./index-BGAhMoqL.js";import{ServerComponent as i}from"./Icon.stories-BqehTDt3.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-B08s_jqc.js";import"./index-BPrLDK9Y.js";import"./index-C7hTFOIV.js";import"./index-Cu4lwwaE.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";import"./TokyoUINotesWithPad-B-o4vu0Y.js";import"./Icon-BwwIOKM_.js";import"./text-accent-CrnHOlvW.js";import"./classNames-BUL1Zq7e.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./render-icon-BT0Aq7PA.js";import"./componentNames-Bwls0I02.js";import"./index-DdzHuZ-Y.js";import"./defaults-B1rzzf6M.js";import"./options-DSKYF8ow.js";function r(t){const e={code:"code",h1:"h1",p:"p",pre:"pre",...n(),...t.components};return o.jsxs(o.Fragment,{children:[o.jsx(m,{title:"components/Icon/Server Component"}),`
|
|
2
2
|
`,o.jsx(e.h1,{id:"use-icon-as-react-server-component",children:"Use Icon as react server component"}),`
|
|
3
3
|
`,o.jsxs(e.p,{children:["To use Icon as react server component, provide ",o.jsx(e.code,{children:"svg"})," as element:"]}),`
|
|
4
4
|
`,o.jsx(s,{of:i}),`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{F as o}from"./TokyoUINotesWithPad-B-o4vu0Y.js";import{I as s}from"./Icon-
|
|
1
|
+
import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{F as o}from"./TokyoUINotesWithPad-B-o4vu0Y.js";import{I as s}from"./Icon-BwwIOKM_.js";import{E as h}from"./options-DSKYF8ow.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./text-accent-CrnHOlvW.js";import"./classNames-BUL1Zq7e.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./render-icon-BT0Aq7PA.js";import"./componentNames-Bwls0I02.js";import"./index-DdzHuZ-Y.js";import"./defaults-B1rzzf6M.js";const R={title:"components/Icon",component:s,parameters:{docs:{description:{component:"To browse all available icons, visit the [Icon Explorer](/story/guides-assets-icon-explorer--page)."}}}},t=()=>e.jsxs("div",{style:{display:"flex",alignItems:"end",gap:"4px"},children:[e.jsx(s,{svg:o,size:"16"}),e.jsx(s,{svg:o,size:"24"}),e.jsx(s,{svg:o,size:"32"}),e.jsx(s,{svg:o,size:"48"})]}),n=()=>e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:h.map(a=>e.jsxs("div",{style:{display:"flex",gap:16},children:[e.jsx(s,{svg:o,expColor:a.id},a.id),e.jsx("span",{children:a.id})]},a.id))}),r=()=>e.jsx(s,{svg:e.jsx(o,{})});r.tags=["!dev","!autodocs"];const i={parameters:{chromatic:{disableSnapshot:!0}},args:{svg:o,dataset:{qaid:"icon"}},argTypes:{svg:{control:!1},dataset:{control:"object"},label:{control:"text"},color:{table:{disable:!0}}}};var p,c,d;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`() => <div style={{
|
|
2
2
|
display: 'flex',
|
|
3
3
|
alignItems: 'end',
|
|
4
4
|
gap: '4px'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o}from"./jsx-runtime-BTJTZTIL.js";import{r as m}from"./index-Cb9e4tly.js";import{r as d}from"./render-icon-BT0Aq7PA.js";import{B as v}from"./ButtonBase-
|
|
1
|
+
import{j as o}from"./jsx-runtime-BTJTZTIL.js";import{r as m}from"./index-Cb9e4tly.js";import{r as d}from"./render-icon-BT0Aq7PA.js";import{B as v}from"./ButtonBase-D31GBWHv.js";import{w as p}from"./componentNames-Bwls0I02.js";import{B as c,a as f}from"./defaults-B1rzzf6M.js";const e=m.forwardRef(function({variant:l=f,size:n=c,url:t,a11yLabel:u,svg:r,...s},i){return o.jsx(v,{...s,ref:i,isIconButton:!0,variant:l,size:n,url:t,a11yLabel:u,preplyDsComponent:p.IconButton,children:d(r,{"aria-hidden":"true",focusable:"false"})})});try{e.displayName="IconButton",e.__docgenInfo={description:"",displayName:"IconButton",props:{size:{defaultValue:{value:"s"},description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"small"'},{value:'"medium"'},{value:'"large"'},{value:"ResponsiveProp<ButtonSize>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},assistiveText:{defaultValue:null,description:"",name:"assistiveText",required:!1,type:{name:"string"}},variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"critical"'},{value:'"inverted"'},{value:'"tertiary"'},{value:'"primary"'},{value:'"secondary"'},{value:'"quaternary"'},{value:'"ghost"'},{value:'"plain"'},{value:'"dangerous"'},{value:'"onColor"'},{value:'"classroom"'},{value:'"primaryB2b"'},{value:'"primaryTutor"'},{value:'"newFeature"'},{value:'"ai"'}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},href:{defaultValue:null,description:"",name:"href",required:!1,type:{name:"enum",value:[{value:"string"}]}},download:{defaultValue:null,description:"",name:"download",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},opensInNewTab:{defaultValue:null,description:"",name:"opensInNewTab",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},nofollow:{defaultValue:null,description:"",name:"nofollow",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},submitsForm:{defaultValue:null,description:"",name:"submitsForm",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler<Element>"}]}},busy:{defaultValue:null,description:"Replaces the content with a loading indicator.",name:"busy",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},as:{defaultValue:null,description:`Custom element to render the button.
|
|
2
2
|
|
|
3
3
|
Allows rendering the button using a different React element or component.
|
|
4
4
|
This is particularly useful for integrating with router libraries like \`react-router\` or \`next/router\`.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{j as d}from"./jsx-runtime-BTJTZTIL.js";import{r as m}from"./index-Cb9e4tly.js";import{u as o,I as p,s as v}from"./FieldLayoutBase-DQbxDQVA.js";import{m as f}from"./classNames-BUL1Zq7e.js";import{w as a}from"./componentNames-Bwls0I02.js";const c=({onChange:e,onValueChange:u,...n},t)=>{const r=f(v,a.InputText),i=o(s=>s.target.value,e,u);return d.jsx(p,{...n,ref:t,className:r.join(" "),onChange:i,preplyDsComponent:a.InputText})},l=m.forwardRef(c);try{l.displayName="InputText",l.__docgenInfo={description:"",displayName:"InputText",props:{dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"enum",value:[{value:"string"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler<Element>"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},hasError:{defaultValue:null,description:"",name:"hasError",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-describedby":{defaultValue:null,description:`Identifies the element (or elements) that describes the object.
|
|
2
|
+
@see aria-labelledby`,name:"aria-describedby",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-disabled":{defaultValue:null,description:`Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
3
|
+
@see aria-hidden
|
|
4
|
+
@see aria-readonly.`,name:"aria-disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-invalid":{defaultValue:null,description:`Indicates the entered value does not conform to the format expected by the application.
|
|
5
|
+
@see aria-errormessage.`,name:"aria-invalid",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'},{value:'"grammar"'},{value:'"spelling"'}]}},"aria-required":{defaultValue:null,description:"Indicates that user input is required on the element before a form may be submitted.",name:"aria-required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},autoComplete:{defaultValue:null,description:"",name:"autoComplete",required:!1,type:{name:"enum",value:[{value:'"url"'},{value:'"name"'},{value:'"off"'},{value:'"on"'},{value:'"email"'},{value:'"username"'},{value:'"language"'},{value:'"tel"'},{value:'"new-password"'},{value:'"current-password"'}]}},maxLength:{defaultValue:null,description:"",name:"maxLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"enum",value:[{value:"string"}]}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"enum",value:[{value:"string"}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"enum",value:[{value:"ChangeEventHandler<Element>"}]}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"enum",value:[{value:"FocusEventHandler<Element>"}]}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"enum",value:[{value:"FocusEventHandler<Element>"}]}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler<Element>"}]}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler<Element>"}]}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"enum",value:[{value:"ClipboardEventHandler<Element>"}]}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"enum",value:[{value:"ClipboardEventHandler<Element>"}]}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"url"'},{value:'"search"'},{value:'"text"'},{value:'"email"'},{value:'"tel"'}]}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!1,type:{name:"enum",value:[{value:"ValueChangeEventHandler<string>"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: InputImperativeHandle | null) => void"},{value:"RefObject<InputImperativeHandle>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{l as I};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as N}from"./jsx-runtime-BTJTZTIL.js";import{r as I}from"./index-Cb9e4tly.js";import{f as j}from"./filterHTMLAttributes-DYdLqcvH.js";import{g as f,s as U,a as E,b as H}from"./layout-relative.module-
|
|
1
|
+
import{j as N}from"./jsx-runtime-BTJTZTIL.js";import{r as I}from"./index-Cb9e4tly.js";import{f as j}from"./filterHTMLAttributes-DYdLqcvH.js";import{g as f,s as U,a as E,b as H}from"./layout-relative.module-Bf3FithH.js";import{e as $,f as G,L as k}from"./defaults-B1rzzf6M.js";import{g as J}from"./index-DdzHuZ-Y.js";import{w as M}from"./componentNames-Bwls0I02.js";const t=void 0;function Y(a){const{nowrap:e}=a;return e?!0:t}function r(a){return JSON.stringify(a)}function B(a){const{direction:e,column:u,reverse:n}=a;return e===void 0?!n&&!u?{applyThrough:"direction",directionAttr:$}:{applyThrough:"columnReverse",columnReverseAttr:`${u?"column":"row"}-${n?"rev":"fwd"}`}:typeof e=="string"?{applyThrough:"direction",directionAttr:e}:{applyThrough:"direction",directionAttr:r(e)}}function W(a){const{justifyContent:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function X(a){const{alignItems:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function z(a){const{gap:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function K(a){const{padding:e}=a;return e===void 0?{applyThrough:"attr",attr:G}:typeof e=="string"||typeof e=="number"?{applyThrough:"attr",attr:e}:Array.isArray(e)?{applyThrough:"classnames",classNames:f(e)}:r(e).includes("[")?{applyThrough:"classnames",classNames:f(e)}:{applyThrough:"attr",attr:JSON.stringify(e)}}function Q(a){const{hide:e,inline:u}=a;if(e===void 0)return t;const n=u?"inline-flex":"flex";if(typeof e=="boolean")return e?"hide":n;let l=r(e);return l=l.replace(/true/g,'"hide"'),l=l.replace(/false/g,`"${n}"`),l}function Z(a){const{relative:e}=a;return e===void 0?t:e===!0?!0:e===!1?t:r(e)}const ee={},m=I.forwardRef(function(e,u){const{gap:n,hide:l,column:o,nowrap:g,inline:y,dataset:h,reverse:A,padding:L,children:R,relative:T,direction:x,alignItems:P,justifyContent:w,tag:S=k,..._}=e,v=[ee.LayoutFlex,U.LayoutGap,E.LayoutHide,H.LayoutRelative],D=z({gap:n}),b=Y({nowrap:g}),q=Z({relative:T}),V=Q({hide:l,inline:y}),O=X({alignItems:P}),C=W({justifyContent:w});let d=t,p=t;const i=B({direction:x,column:o,reverse:A});i.applyThrough==="columnReverse"?p=i.columnReverseAttr:d=i.directionAttr;let c=t;const s=K({padding:L});s.applyThrough==="classnames"?v.push(...s.classNames):c=s.attr;const F={...j(_),ref:u,className:v.join(" "),"data-ds-gap":D,"data-ds-nowrap":b,"data-ds-padding":c,"data-ds-display":V,"data-ds-relative":q,"data-ds-direction":d,"data-ds-alignitems":O,"data-ds-columnreverse":p,"data-ds-justifycontent":C,...J(h,{preplyDsComponent:M.LayoutFlex})};return N.jsx(S,{...F,children:R})});try{m.displayName="LayoutFlex",m.__docgenInfo={description:"A CSS `flex` wrapper.",displayName:"LayoutFlex",props:{gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:"ResponsiveProp<LayoutGap>"},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"ResponsiveProp<Spacing>"}]}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"[LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing, Spacing]"},{value:"ResponsiveProp<ShortHand<LayoutPadding> | ShortHand<Spacing>>"}]}},nowrap:{defaultValue:null,description:"",name:"nowrap",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},column:{defaultValue:null,description:"@deprecated Use `direction` instead.",name:"column",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},reverse:{defaultValue:null,description:"@deprecated Use `direction` instead.",name:"reverse",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},direction:{defaultValue:null,description:"",name:"direction",required:!1,type:{name:"enum",value:[{value:'"column"'},{value:'"row"'},{value:'"row-reverse"'},{value:'"column-reverse"'},{value:"ResponsiveProp<LayoutFlexDirection>"}]}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"space-between"'},{value:'"space-around"'},{value:'"space-evenly"'},{value:"ResponsiveProp<LayoutJustifyContent>"}]}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:'"baseline"'},{value:"ResponsiveProp<LayoutAlignItems>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"p"'},{value:'"span"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},inline:{defaultValue:null,description:"",name:"inline",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{m as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as E}from"./jsx-runtime-BTJTZTIL.js";import{r as P}from"./index-Cb9e4tly.js";import{f as S}from"./filterHTMLAttributes-UOns5Q7s.js";import{g,s as $,a as b,b as G}from"./layout-relative.module-
|
|
1
|
+
import{j as E}from"./jsx-runtime-BTJTZTIL.js";import{r as P}from"./index-Cb9e4tly.js";import{f as S}from"./filterHTMLAttributes-UOns5Q7s.js";import{g,s as $,a as b,b as G}from"./layout-relative.module-CXJ9jc4G--YD8TQc4.js";import{e as H,f as J,L as Y}from"./defaults-B1rzzf6M.js";import{g as B}from"./index-DdzHuZ-Y.js";import{w as M}from"./componentNames-Bwls0I02.js";const e=void 0;function W(r){const{nowrap:t}=r;return t?!0:e}function i(r){return JSON.stringify(r)}function X(r){const{direction:t,column:o,reverse:n}=r;return t===void 0?!n&&!o?{applyThrough:"direction",directionAttr:H}:{applyThrough:"columnReverse",columnReverseAttr:`${o?"column":"row"}-${n?"rev":"fwd"}`}:typeof t=="string"?{applyThrough:"direction",directionAttr:t}:{applyThrough:"direction",directionAttr:i(t)}}function k(r){const{justifyContent:t}=r;return t===void 0?e:typeof t=="string"?t:i(t)}function q(r){const{alignItems:t}=r;return t===void 0?e:typeof t=="string"?t:i(t)}function z(r){const{gap:t}=r;return t===void 0?e:typeof t=="string"?t:i(t)}function K(r){const{padding:t}=r;return t===void 0?{applyThrough:"attr",attr:J}:typeof t=="string"||typeof t=="number"?{applyThrough:"attr",attr:t}:Array.isArray(t)?{applyThrough:"classnames",classNames:g(t)}:i(t).includes("[")?{applyThrough:"classnames",classNames:g(t)}:{applyThrough:"attr",attr:JSON.stringify(t)}}function Q(r){const{hide:t,inline:o}=r;if(t===void 0)return e;const n=o?"inline-flex":"flex";if(typeof t=="boolean")return t?"hide":n;let s=i(t);return s=s.replace(/true/g,'"hide"'),s=s.replace(/false/g,`"${n}"`),s}function V(r){const{relative:t}=r;return t===void 0?e:t===!0?!0:t===!1?e:i(t)}const Z={},tt=P.forwardRef(function(t,o){const{gap:n,hide:s,column:l,nowrap:y,inline:m,dataset:A,reverse:h,padding:v,children:T,relative:L,direction:R,alignItems:D,justifyContent:x,tag:w=Y,..._}=t,c=[Z.LayoutFlex,$.LayoutGap,b.LayoutHide,G.LayoutRelative],N=z({gap:n}),O=W({nowrap:y}),F=V({relative:L}),C=Q({hide:s,inline:m}),I=q({alignItems:D}),U=k({justifyContent:x});let p=e,d=e;const a=X({direction:R,column:l,reverse:h});a.applyThrough==="columnReverse"?d=a.columnReverseAttr:p=a.directionAttr;let f=e;const u=K({padding:v});u.applyThrough==="classnames"?c.push(...u.classNames):f=u.attr;const j={...S(_),ref:o,className:c.join(" "),"data-ds-gap":N,"data-ds-nowrap":O,"data-ds-padding":f,"data-ds-display":C,"data-ds-relative":F,"data-ds-direction":p,"data-ds-alignitems":I,"data-ds-columnreverse":d,"data-ds-justifycontent":U,...B(A,{preplyDsComponent:M.LayoutFlex})};return E.jsx(w,{...j,children:T})});tt.__docgenInfo={description:"",methods:[],displayName:"LayoutFlex"};export{tt as L};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as L}from"./jsx-runtime-BTJTZTIL.js";import{r as x}from"./index-Cb9e4tly.js";import{g as F,a as I,b as g}from"./layout-relative-DZ8FL-vJ.js";import{f as w}from"./filterHTMLAttributes-DYdLqcvH.js";import{m as b,b as z}from"./classNames-BUL1Zq7e.js";import{w as e}from"./componentNames-Bwls0I02.js";import{g as C}from"./index-DdzHuZ-Y.js";import{L as N}from"./defaults-B1rzzf6M.js";const R="_LayoutFlexItem_1yszu_2",q={LayoutFlexItem:R,"LayoutFlexItem--stretch":"_LayoutFlexItem--stretch_1yszu_11","LayoutFlexItem--no-stretch":"_LayoutFlexItem--no-stretch_1yszu_14","LayoutFlexItem--narrow-l--stretch":"_LayoutFlexItem--narrow-l--stretch_1yszu_18","LayoutFlexItem--narrow-l--no-stretch":"_LayoutFlexItem--narrow-l--no-stretch_1yszu_21","LayoutFlexItem--medium-s--stretch":"_LayoutFlexItem--medium-s--stretch_1yszu_26","LayoutFlexItem--medium-s--no-stretch":"_LayoutFlexItem--medium-s--no-stretch_1yszu_29","LayoutFlexItem--medium-l--stretch":"_LayoutFlexItem--medium-l--stretch_1yszu_34","LayoutFlexItem--medium-l--no-stretch":"_LayoutFlexItem--medium-l--no-stretch_1yszu_37","LayoutFlexItem--wide-s--stretch":"_LayoutFlexItem--wide-s--stretch_1yszu_42","LayoutFlexItem--wide-s--no-stretch":"_LayoutFlexItem--wide-s--no-stretch_1yszu_45","LayoutFlexItem--wide-l--stretch":"_LayoutFlexItem--wide-l--stretch_1yszu_50","LayoutFlexItem--wide-l--no-stretch":"_LayoutFlexItem--wide-l--no-stretch_1yszu_53"},t=x.forwardRef(function({children:l,alignSelf:s,stretch:u=!1,tag:o,hide:n,relative:r,dataset:m,...i},c){const y=b(q,e.LayoutFlexItem,z("stretch","no-stretch",u)),d=F(s),v=I(n),p=g(r),f=[...y,...d,...v,...p],_=o??N,h={...w(i),ref:c,className:f.join(" "),...C(m,{preplyDsComponent:e.LayoutFlexItem})};return L.jsx(_,{...h,children:l})});try{t.displayName="LayoutFlexItem",t.__docgenInfo={description:"",displayName:"LayoutFlexItem",props:{alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:"ResponsiveProp<LayoutAlignSelf>"}]}},stretch:{defaultValue:{value:"false"},description:"",name:"stretch",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"p"'},{value:'"span"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{t as L};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._LayoutFlexItem_1yszu_2{padding:0;margin:0;list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0}._LayoutFlexItem--stretch_1yszu_11{flex:1}._LayoutFlexItem--no-stretch_1yszu_14{flex:none}@media (min-width: 400px){._LayoutFlexItem--narrow-l--stretch_1yszu_18{flex:1}._LayoutFlexItem--narrow-l--no-stretch_1yszu_21{flex:none}}@media (min-width: 700px){._LayoutFlexItem--medium-s--stretch_1yszu_26{flex:1}._LayoutFlexItem--medium-s--no-stretch_1yszu_29{flex:none}}@media (min-width: 880px){._LayoutFlexItem--medium-l--stretch_1yszu_34{flex:1}._LayoutFlexItem--medium-l--no-stretch_1yszu_37{flex:none}}@media (min-width: 1200px){._LayoutFlexItem--wide-s--stretch_1yszu_42{flex:1}._LayoutFlexItem--wide-s--no-stretch_1yszu_45{flex:none}}@media (min-width: 1900px){._LayoutFlexItem--wide-l--stretch_1yszu_50{flex:1}._LayoutFlexItem--wide-l--no-stretch_1yszu_53{flex:none}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._LayoutGridItem_2tq6r_1{margin:0;list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;padding:0}._LayoutGrid_10h87_4{list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;margin:0;padding:0;display:grid}._LayoutGrid--justify-content-center_10h87_14{justify-content:center}._LayoutGrid--justify-content-start_10h87_17{justify-content:start}._LayoutGrid--justify-content-end_10h87_20{justify-content:end}._LayoutGrid--justify-content-space-between_10h87_23{justify-content:space-between}._LayoutGrid--justify-content-space-around_10h87_26{justify-content:space-around}._LayoutGrid--justify-content-space-evenly_10h87_29{justify-content:space-evenly}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-content-center_10h87_33{justify-content:center}._LayoutGrid--narrow-l--justify-content-start_10h87_36{justify-content:start}._LayoutGrid--narrow-l--justify-content-end_10h87_39{justify-content:end}._LayoutGrid--narrow-l--justify-content-space-between_10h87_42{justify-content:space-between}._LayoutGrid--narrow-l--justify-content-space-around_10h87_45{justify-content:space-around}._LayoutGrid--narrow-l--justify-content-space-evenly_10h87_48{justify-content:space-evenly}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-content-center_10h87_53{justify-content:center}._LayoutGrid--medium-s--justify-content-start_10h87_56{justify-content:start}._LayoutGrid--medium-s--justify-content-end_10h87_59{justify-content:end}._LayoutGrid--medium-s--justify-content-space-between_10h87_62{justify-content:space-between}._LayoutGrid--medium-s--justify-content-space-around_10h87_65{justify-content:space-around}._LayoutGrid--medium-s--justify-content-space-evenly_10h87_68{justify-content:space-evenly}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-content-center_10h87_73{justify-content:center}._LayoutGrid--medium-l--justify-content-start_10h87_76{justify-content:start}._LayoutGrid--medium-l--justify-content-end_10h87_79{justify-content:end}._LayoutGrid--medium-l--justify-content-space-between_10h87_82{justify-content:space-between}._LayoutGrid--medium-l--justify-content-space-around_10h87_85{justify-content:space-around}._LayoutGrid--medium-l--justify-content-space-evenly_10h87_88{justify-content:space-evenly}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-content-center_10h87_93{justify-content:center}._LayoutGrid--wide-s--justify-content-start_10h87_96{justify-content:start}._LayoutGrid--wide-s--justify-content-end_10h87_99{justify-content:end}._LayoutGrid--wide-s--justify-content-space-between_10h87_102{justify-content:space-between}._LayoutGrid--wide-s--justify-content-space-around_10h87_105{justify-content:space-around}._LayoutGrid--wide-s--justify-content-space-evenly_10h87_108{justify-content:space-evenly}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-content-center_10h87_113{justify-content:center}._LayoutGrid--wide-l--justify-content-start_10h87_116{justify-content:start}._LayoutGrid--wide-l--justify-content-end_10h87_119{justify-content:end}._LayoutGrid--wide-l--justify-content-space-between_10h87_122{justify-content:space-between}._LayoutGrid--wide-l--justify-content-space-around_10h87_125{justify-content:space-around}._LayoutGrid--wide-l--justify-content-space-evenly_10h87_128{justify-content:space-evenly}}._LayoutGrid--align-items-center_10h87_132{align-items:center}._LayoutGrid--align-items-start_10h87_135{align-items:start}._LayoutGrid--align-items-end_10h87_138{align-items:end}._LayoutGrid--align-items-stretch_10h87_141{align-items:stretch}._LayoutGrid--align-items-baseline_10h87_144{align-items:baseline}@media (min-width: 400px){._LayoutGrid--narrow-l--align-items-center_10h87_148{align-items:center}._LayoutGrid--narrow-l--align-items-start_10h87_151{align-items:start}._LayoutGrid--narrow-l--align-items-end_10h87_154{align-items:end}._LayoutGrid--narrow-l--align-items-stretch_10h87_157{align-items:stretch}._LayoutGrid--narrow-l--align-items-baseline_10h87_160{align-items:baseline}}@media (min-width: 700px){._LayoutGrid--medium-s--align-items-center_10h87_165{align-items:center}._LayoutGrid--medium-s--align-items-start_10h87_168{align-items:start}._LayoutGrid--medium-s--align-items-end_10h87_171{align-items:end}._LayoutGrid--medium-s--align-items-stretch_10h87_174{align-items:stretch}._LayoutGrid--medium-s--align-items-baseline_10h87_177{align-items:baseline}}@media (min-width: 880px){._LayoutGrid--medium-l--align-items-center_10h87_182{align-items:center}._LayoutGrid--medium-l--align-items-start_10h87_185{align-items:start}._LayoutGrid--medium-l--align-items-end_10h87_188{align-items:end}._LayoutGrid--medium-l--align-items-stretch_10h87_191{align-items:stretch}._LayoutGrid--medium-l--align-items-baseline_10h87_194{align-items:baseline}}@media (min-width: 1200px){._LayoutGrid--wide-s--align-items-center_10h87_199{align-items:center}._LayoutGrid--wide-s--align-items-start_10h87_202{align-items:start}._LayoutGrid--wide-s--align-items-end_10h87_205{align-items:end}._LayoutGrid--wide-s--align-items-stretch_10h87_208{align-items:stretch}._LayoutGrid--wide-s--align-items-baseline_10h87_211{align-items:baseline}}@media (min-width: 1900px){._LayoutGrid--wide-l--align-items-center_10h87_216{align-items:center}._LayoutGrid--wide-l--align-items-start_10h87_219{align-items:start}._LayoutGrid--wide-l--align-items-end_10h87_222{align-items:end}._LayoutGrid--wide-l--align-items-stretch_10h87_225{align-items:stretch}._LayoutGrid--wide-l--align-items-baseline_10h87_228{align-items:baseline}}._LayoutGrid--justify-items-stretch_10h87_232{justify-items:stretch}._LayoutGrid--justify-items-center_10h87_235{justify-items:center}._LayoutGrid--justify-items-start_10h87_238{justify-items:start}._LayoutGrid--justify-items-end_10h87_241{justify-items:end}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-items-stretch_10h87_245{justify-items:stretch}._LayoutGrid--narrow-l--justify-items-center_10h87_248{justify-items:center}._LayoutGrid--narrow-l--justify-items-start_10h87_251{justify-items:start}._LayoutGrid--narrow-l--justify-items-end_10h87_254{justify-items:end}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-items-stretch_10h87_259{justify-items:stretch}._LayoutGrid--medium-s--justify-items-center_10h87_262{justify-items:center}._LayoutGrid--medium-s--justify-items-start_10h87_265{justify-items:start}._LayoutGrid--medium-s--justify-items-end_10h87_268{justify-items:end}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-items-stretch_10h87_273{justify-items:stretch}._LayoutGrid--medium-l--justify-items-center_10h87_276{justify-items:center}._LayoutGrid--medium-l--justify-items-start_10h87_279{justify-items:start}._LayoutGrid--medium-l--justify-items-end_10h87_282{justify-items:end}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-items-stretch_10h87_287{justify-items:stretch}._LayoutGrid--wide-s--justify-items-center_10h87_290{justify-items:center}._LayoutGrid--wide-s--justify-items-start_10h87_293{justify-items:start}._LayoutGrid--wide-s--justify-items-end_10h87_296{justify-items:end}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-items-stretch_10h87_301{justify-items:stretch}._LayoutGrid--wide-l--justify-items-center_10h87_304{justify-items:center}._LayoutGrid--wide-l--justify-items-start_10h87_307{justify-items:start}._LayoutGrid--wide-l--justify-items-end_10h87_310{justify-items:end}}._LayoutGrid--columns_10h87_314{grid-template-columns:var(--columns)}@media (min-width: 400px){._LayoutGrid--columns-narrow-l_10h87_318{grid-template-columns:var(--columns-narrow-l)}}@media (min-width: 700px){._LayoutGrid--columns-medium-s_10h87_323{grid-template-columns:var(--columns-medium-s)}}@media (min-width: 880px){._LayoutGrid--columns-medium-l_10h87_328{grid-template-columns:var(--columns-medium-l)}}@media (min-width: 1200px){._LayoutGrid--columns-wide-s_10h87_333{grid-template-columns:var(--columns-wide-s)}}@media (min-width: 1900px){._LayoutGrid--columns-wide-l_10h87_338{grid-template-columns:var(--columns-wide-l)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as h}from"./jsx-runtime-BTJTZTIL.js";import{r as w}from"./index-Cb9e4tly.js";import{m as o,b as c,a as g,s as u}from"./classNames-BUL1Zq7e.js";import{B as p}from"./breakpoints-BfMlrtxE.js";import{a as b,b as A,s as C,g as N}from"./layout-relative.module-CXJ9jc4G--YD8TQc4.js";import{L as T}from"./constants-DYYVurUY.js";import{k as v,f as U,L as I}from"./defaults-B1rzzf6M.js";import{f as O}from"./filterHTMLAttributes-UOns5Q7s.js";import{g as D}from"./index-DdzHuZ-Y.js";import{w as E}from"./componentNames-Bwls0I02.js";const R="LayoutHide",Y=(t,i=T)=>o(b,R,[c("hide",i,t)]),$="LayoutRelative",P=t=>o(A,$,[c("relative",void 0,t)]),x="_LayoutGrid_10h87_4",G={LayoutGrid:x,"LayoutGrid--justify-content-center":"_LayoutGrid--justify-content-center_10h87_14","LayoutGrid--justify-content-start":"_LayoutGrid--justify-content-start_10h87_17","LayoutGrid--justify-content-end":"_LayoutGrid--justify-content-end_10h87_20","LayoutGrid--justify-content-space-between":"_LayoutGrid--justify-content-space-between_10h87_23","LayoutGrid--justify-content-space-around":"_LayoutGrid--justify-content-space-around_10h87_26","LayoutGrid--justify-content-space-evenly":"_LayoutGrid--justify-content-space-evenly_10h87_29","LayoutGrid--narrow-l--justify-content-center":"_LayoutGrid--narrow-l--justify-content-center_10h87_33","LayoutGrid--narrow-l--justify-content-start":"_LayoutGrid--narrow-l--justify-content-start_10h87_36","LayoutGrid--narrow-l--justify-content-end":"_LayoutGrid--narrow-l--justify-content-end_10h87_39","LayoutGrid--narrow-l--justify-content-space-between":"_LayoutGrid--narrow-l--justify-content-space-between_10h87_42","LayoutGrid--narrow-l--justify-content-space-around":"_LayoutGrid--narrow-l--justify-content-space-around_10h87_45","LayoutGrid--narrow-l--justify-content-space-evenly":"_LayoutGrid--narrow-l--justify-content-space-evenly_10h87_48","LayoutGrid--medium-s--justify-content-center":"_LayoutGrid--medium-s--justify-content-center_10h87_53","LayoutGrid--medium-s--justify-content-start":"_LayoutGrid--medium-s--justify-content-start_10h87_56","LayoutGrid--medium-s--justify-content-end":"_LayoutGrid--medium-s--justify-content-end_10h87_59","LayoutGrid--medium-s--justify-content-space-between":"_LayoutGrid--medium-s--justify-content-space-between_10h87_62","LayoutGrid--medium-s--justify-content-space-around":"_LayoutGrid--medium-s--justify-content-space-around_10h87_65","LayoutGrid--medium-s--justify-content-space-evenly":"_LayoutGrid--medium-s--justify-content-space-evenly_10h87_68","LayoutGrid--medium-l--justify-content-center":"_LayoutGrid--medium-l--justify-content-center_10h87_73","LayoutGrid--medium-l--justify-content-start":"_LayoutGrid--medium-l--justify-content-start_10h87_76","LayoutGrid--medium-l--justify-content-end":"_LayoutGrid--medium-l--justify-content-end_10h87_79","LayoutGrid--medium-l--justify-content-space-between":"_LayoutGrid--medium-l--justify-content-space-between_10h87_82","LayoutGrid--medium-l--justify-content-space-around":"_LayoutGrid--medium-l--justify-content-space-around_10h87_85","LayoutGrid--medium-l--justify-content-space-evenly":"_LayoutGrid--medium-l--justify-content-space-evenly_10h87_88","LayoutGrid--wide-s--justify-content-center":"_LayoutGrid--wide-s--justify-content-center_10h87_93","LayoutGrid--wide-s--justify-content-start":"_LayoutGrid--wide-s--justify-content-start_10h87_96","LayoutGrid--wide-s--justify-content-end":"_LayoutGrid--wide-s--justify-content-end_10h87_99","LayoutGrid--wide-s--justify-content-space-between":"_LayoutGrid--wide-s--justify-content-space-between_10h87_102","LayoutGrid--wide-s--justify-content-space-around":"_LayoutGrid--wide-s--justify-content-space-around_10h87_105","LayoutGrid--wide-s--justify-content-space-evenly":"_LayoutGrid--wide-s--justify-content-space-evenly_10h87_108","LayoutGrid--wide-l--justify-content-center":"_LayoutGrid--wide-l--justify-content-center_10h87_113","LayoutGrid--wide-l--justify-content-start":"_LayoutGrid--wide-l--justify-content-start_10h87_116","LayoutGrid--wide-l--justify-content-end":"_LayoutGrid--wide-l--justify-content-end_10h87_119","LayoutGrid--wide-l--justify-content-space-between":"_LayoutGrid--wide-l--justify-content-space-between_10h87_122","LayoutGrid--wide-l--justify-content-space-around":"_LayoutGrid--wide-l--justify-content-space-around_10h87_125","LayoutGrid--wide-l--justify-content-space-evenly":"_LayoutGrid--wide-l--justify-content-space-evenly_10h87_128","LayoutGrid--align-items-center":"_LayoutGrid--align-items-center_10h87_132","LayoutGrid--align-items-start":"_LayoutGrid--align-items-start_10h87_135","LayoutGrid--align-items-end":"_LayoutGrid--align-items-end_10h87_138","LayoutGrid--align-items-stretch":"_LayoutGrid--align-items-stretch_10h87_141","LayoutGrid--align-items-baseline":"_LayoutGrid--align-items-baseline_10h87_144","LayoutGrid--narrow-l--align-items-center":"_LayoutGrid--narrow-l--align-items-center_10h87_148","LayoutGrid--narrow-l--align-items-start":"_LayoutGrid--narrow-l--align-items-start_10h87_151","LayoutGrid--narrow-l--align-items-end":"_LayoutGrid--narrow-l--align-items-end_10h87_154","LayoutGrid--narrow-l--align-items-stretch":"_LayoutGrid--narrow-l--align-items-stretch_10h87_157","LayoutGrid--narrow-l--align-items-baseline":"_LayoutGrid--narrow-l--align-items-baseline_10h87_160","LayoutGrid--medium-s--align-items-center":"_LayoutGrid--medium-s--align-items-center_10h87_165","LayoutGrid--medium-s--align-items-start":"_LayoutGrid--medium-s--align-items-start_10h87_168","LayoutGrid--medium-s--align-items-end":"_LayoutGrid--medium-s--align-items-end_10h87_171","LayoutGrid--medium-s--align-items-stretch":"_LayoutGrid--medium-s--align-items-stretch_10h87_174","LayoutGrid--medium-s--align-items-baseline":"_LayoutGrid--medium-s--align-items-baseline_10h87_177","LayoutGrid--medium-l--align-items-center":"_LayoutGrid--medium-l--align-items-center_10h87_182","LayoutGrid--medium-l--align-items-start":"_LayoutGrid--medium-l--align-items-start_10h87_185","LayoutGrid--medium-l--align-items-end":"_LayoutGrid--medium-l--align-items-end_10h87_188","LayoutGrid--medium-l--align-items-stretch":"_LayoutGrid--medium-l--align-items-stretch_10h87_191","LayoutGrid--medium-l--align-items-baseline":"_LayoutGrid--medium-l--align-items-baseline_10h87_194","LayoutGrid--wide-s--align-items-center":"_LayoutGrid--wide-s--align-items-center_10h87_199","LayoutGrid--wide-s--align-items-start":"_LayoutGrid--wide-s--align-items-start_10h87_202","LayoutGrid--wide-s--align-items-end":"_LayoutGrid--wide-s--align-items-end_10h87_205","LayoutGrid--wide-s--align-items-stretch":"_LayoutGrid--wide-s--align-items-stretch_10h87_208","LayoutGrid--wide-s--align-items-baseline":"_LayoutGrid--wide-s--align-items-baseline_10h87_211","LayoutGrid--wide-l--align-items-center":"_LayoutGrid--wide-l--align-items-center_10h87_216","LayoutGrid--wide-l--align-items-start":"_LayoutGrid--wide-l--align-items-start_10h87_219","LayoutGrid--wide-l--align-items-end":"_LayoutGrid--wide-l--align-items-end_10h87_222","LayoutGrid--wide-l--align-items-stretch":"_LayoutGrid--wide-l--align-items-stretch_10h87_225","LayoutGrid--wide-l--align-items-baseline":"_LayoutGrid--wide-l--align-items-baseline_10h87_228","LayoutGrid--justify-items-stretch":"_LayoutGrid--justify-items-stretch_10h87_232","LayoutGrid--justify-items-center":"_LayoutGrid--justify-items-center_10h87_235","LayoutGrid--justify-items-start":"_LayoutGrid--justify-items-start_10h87_238","LayoutGrid--justify-items-end":"_LayoutGrid--justify-items-end_10h87_241","LayoutGrid--narrow-l--justify-items-stretch":"_LayoutGrid--narrow-l--justify-items-stretch_10h87_245","LayoutGrid--narrow-l--justify-items-center":"_LayoutGrid--narrow-l--justify-items-center_10h87_248","LayoutGrid--narrow-l--justify-items-start":"_LayoutGrid--narrow-l--justify-items-start_10h87_251","LayoutGrid--narrow-l--justify-items-end":"_LayoutGrid--narrow-l--justify-items-end_10h87_254","LayoutGrid--medium-s--justify-items-stretch":"_LayoutGrid--medium-s--justify-items-stretch_10h87_259","LayoutGrid--medium-s--justify-items-center":"_LayoutGrid--medium-s--justify-items-center_10h87_262","LayoutGrid--medium-s--justify-items-start":"_LayoutGrid--medium-s--justify-items-start_10h87_265","LayoutGrid--medium-s--justify-items-end":"_LayoutGrid--medium-s--justify-items-end_10h87_268","LayoutGrid--medium-l--justify-items-stretch":"_LayoutGrid--medium-l--justify-items-stretch_10h87_273","LayoutGrid--medium-l--justify-items-center":"_LayoutGrid--medium-l--justify-items-center_10h87_276","LayoutGrid--medium-l--justify-items-start":"_LayoutGrid--medium-l--justify-items-start_10h87_279","LayoutGrid--medium-l--justify-items-end":"_LayoutGrid--medium-l--justify-items-end_10h87_282","LayoutGrid--wide-s--justify-items-stretch":"_LayoutGrid--wide-s--justify-items-stretch_10h87_287","LayoutGrid--wide-s--justify-items-center":"_LayoutGrid--wide-s--justify-items-center_10h87_290","LayoutGrid--wide-s--justify-items-start":"_LayoutGrid--wide-s--justify-items-start_10h87_293","LayoutGrid--wide-s--justify-items-end":"_LayoutGrid--wide-s--justify-items-end_10h87_296","LayoutGrid--wide-l--justify-items-stretch":"_LayoutGrid--wide-l--justify-items-stretch_10h87_301","LayoutGrid--wide-l--justify-items-center":"_LayoutGrid--wide-l--justify-items-center_10h87_304","LayoutGrid--wide-l--justify-items-start":"_LayoutGrid--wide-l--justify-items-start_10h87_307","LayoutGrid--wide-l--justify-items-end":"_LayoutGrid--wide-l--justify-items-end_10h87_310","LayoutGrid--columns":"_LayoutGrid--columns_10h87_314","LayoutGrid--columns-narrow-l":"_LayoutGrid--columns-narrow-l_10h87_318","LayoutGrid--columns-medium-s":"_LayoutGrid--columns-medium-s_10h87_323","LayoutGrid--columns-medium-l":"_LayoutGrid--columns-medium-l_10h87_328","LayoutGrid--columns-wide-s":"_LayoutGrid--columns-wide-s_10h87_333","LayoutGrid--columns-wide-l":"_LayoutGrid--columns-wide-l_10h87_338"},F="LayoutGrid",H=Object.keys(p),L=t=>typeof t=="number"?`repeat(${t}, 1fr)`:t.join(" "),z=t=>typeof t=="object"&&!Array.isArray(t)?Object.entries(t).reduce((i,[a,e])=>({...i,...e?{[a]:L(e)}:{}}),{_:L(t._)}):{_:L(t)},S=t=>{if(!t)return{classNames:[],style:{}};const i=z(t),a=H.filter(s=>i[s]),e=g(G,F,["columns",...a.map(s=>`columns-${s}`)]),r=a.reduce((s,n)=>({...s,[`--columns-${n}`]:i[n]}),{"--columns":i._});return{classNames:e,style:r}},k="LayoutGap",K=t=>o(C,k,[u("gap",t)]),V="LayoutGrid",B=(t,i)=>{const{gap:a=v,padding:e=U,justifyContent:r,alignItems:s,justifyItems:n,hide:d,relative:y}=i||{},_=o(G,V,[u("justify-content",r),u("align-items",s),u("justify-items",n)]),m=K(a),l=N(e),f=Y(d,"grid"),j=P(y);return[..._,...m,...l,...f,...j]},M=w.forwardRef(function({dataset:i,children:a,...e},r){const{tag:s=I,columns:n}=e,d=B("grid",e),{style:y,classNames:_}=S(n),m=[...d,..._],l={...O(e),ref:r,className:m.join(" "),style:y,...D(i,{preplyDsComponent:E.LayoutGrid})};return h.jsx(s,{...l,children:a})});M.__docgenInfo={description:"",methods:[],displayName:"LayoutGrid"};export{M as L,P as a,Y as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._LayoutGrid_10h87_4{list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;margin:0;padding:0;display:grid}._LayoutGrid--justify-content-center_10h87_14{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--justify-content-start_10h87_17{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--justify-content-end_10h87_20{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--justify-content-space-between_10h87_23{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--justify-content-space-around_10h87_26{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--justify-content-space-evenly_10h87_29{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-content-center_10h87_33{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--narrow-l--justify-content-start_10h87_36{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--narrow-l--justify-content-end_10h87_39{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--narrow-l--justify-content-space-between_10h87_42{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--narrow-l--justify-content-space-around_10h87_45{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--narrow-l--justify-content-space-evenly_10h87_48{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-content-center_10h87_53{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--medium-s--justify-content-start_10h87_56{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--medium-s--justify-content-end_10h87_59{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--medium-s--justify-content-space-between_10h87_62{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--medium-s--justify-content-space-around_10h87_65{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--medium-s--justify-content-space-evenly_10h87_68{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-content-center_10h87_73{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--medium-l--justify-content-start_10h87_76{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--medium-l--justify-content-end_10h87_79{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--medium-l--justify-content-space-between_10h87_82{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--medium-l--justify-content-space-around_10h87_85{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--medium-l--justify-content-space-evenly_10h87_88{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-content-center_10h87_93{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--wide-s--justify-content-start_10h87_96{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--wide-s--justify-content-end_10h87_99{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--wide-s--justify-content-space-between_10h87_102{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--wide-s--justify-content-space-around_10h87_105{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--wide-s--justify-content-space-evenly_10h87_108{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-content-center_10h87_113{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--wide-l--justify-content-start_10h87_116{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--wide-l--justify-content-end_10h87_119{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--wide-l--justify-content-space-between_10h87_122{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--wide-l--justify-content-space-around_10h87_125{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--wide-l--justify-content-space-evenly_10h87_128{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}._LayoutGrid--align-items-center_10h87_132{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--align-items-start_10h87_135{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--align-items-end_10h87_138{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--align-items-stretch_10h87_141{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--align-items-baseline_10h87_144{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}@media (min-width: 400px){._LayoutGrid--narrow-l--align-items-center_10h87_148{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--narrow-l--align-items-start_10h87_151{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--narrow-l--align-items-end_10h87_154{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--narrow-l--align-items-stretch_10h87_157{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--narrow-l--align-items-baseline_10h87_160{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 700px){._LayoutGrid--medium-s--align-items-center_10h87_165{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--medium-s--align-items-start_10h87_168{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--medium-s--align-items-end_10h87_171{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--medium-s--align-items-stretch_10h87_174{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--medium-s--align-items-baseline_10h87_177{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 880px){._LayoutGrid--medium-l--align-items-center_10h87_182{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--medium-l--align-items-start_10h87_185{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--medium-l--align-items-end_10h87_188{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--medium-l--align-items-stretch_10h87_191{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--medium-l--align-items-baseline_10h87_194{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 1200px){._LayoutGrid--wide-s--align-items-center_10h87_199{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--wide-s--align-items-start_10h87_202{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--wide-s--align-items-end_10h87_205{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--wide-s--align-items-stretch_10h87_208{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--wide-s--align-items-baseline_10h87_211{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 1900px){._LayoutGrid--wide-l--align-items-center_10h87_216{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--wide-l--align-items-start_10h87_219{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--wide-l--align-items-end_10h87_222{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--wide-l--align-items-stretch_10h87_225{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--wide-l--align-items-baseline_10h87_228{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}._LayoutGrid--justify-items-stretch_10h87_232{justify-items:stretch}._LayoutGrid--justify-items-center_10h87_235{justify-items:center}._LayoutGrid--justify-items-start_10h87_238{justify-items:start}._LayoutGrid--justify-items-end_10h87_241{justify-items:end}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-items-stretch_10h87_245{justify-items:stretch}._LayoutGrid--narrow-l--justify-items-center_10h87_248{justify-items:center}._LayoutGrid--narrow-l--justify-items-start_10h87_251{justify-items:start}._LayoutGrid--narrow-l--justify-items-end_10h87_254{justify-items:end}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-items-stretch_10h87_259{justify-items:stretch}._LayoutGrid--medium-s--justify-items-center_10h87_262{justify-items:center}._LayoutGrid--medium-s--justify-items-start_10h87_265{justify-items:start}._LayoutGrid--medium-s--justify-items-end_10h87_268{justify-items:end}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-items-stretch_10h87_273{justify-items:stretch}._LayoutGrid--medium-l--justify-items-center_10h87_276{justify-items:center}._LayoutGrid--medium-l--justify-items-start_10h87_279{justify-items:start}._LayoutGrid--medium-l--justify-items-end_10h87_282{justify-items:end}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-items-stretch_10h87_287{justify-items:stretch}._LayoutGrid--wide-s--justify-items-center_10h87_290{justify-items:center}._LayoutGrid--wide-s--justify-items-start_10h87_293{justify-items:start}._LayoutGrid--wide-s--justify-items-end_10h87_296{justify-items:end}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-items-stretch_10h87_301{justify-items:stretch}._LayoutGrid--wide-l--justify-items-center_10h87_304{justify-items:center}._LayoutGrid--wide-l--justify-items-start_10h87_307{justify-items:start}._LayoutGrid--wide-l--justify-items-end_10h87_310{justify-items:end}}._LayoutGrid--columns_10h87_314{grid-template-columns:var(--columns)}@media (min-width: 400px){._LayoutGrid--columns-narrow-l_10h87_318{grid-template-columns:var(--columns-narrow-l)}}@media (min-width: 700px){._LayoutGrid--columns-medium-s_10h87_323{grid-template-columns:var(--columns-medium-s)}}@media (min-width: 880px){._LayoutGrid--columns-medium-l_10h87_328{grid-template-columns:var(--columns-medium-l)}}@media (min-width: 1200px){._LayoutGrid--columns-wide-s_10h87_333{grid-template-columns:var(--columns-wide-s)}}@media (min-width: 1900px){._LayoutGrid--columns-wide-l_10h87_338{grid-template-columns:var(--columns-wide-l)}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r as I}from"./index-Cb9e4tly.js";import{g as D,a as N,b as P}from"./layout-relative-DHMpxpbw.js";import{f as R}from"./filterHTMLAttributes-DYdLqcvH.js";import{m as w,a as E,s as L}from"./classNames-BUL1Zq7e.js";import{g as A}from"./index-DdzHuZ-Y.js";import{L as T,k as H,f as U}from"./defaults-B1rzzf6M.js";import{w as h}from"./componentNames-Bwls0I02.js";import{B as $}from"./breakpoints-BfMlrtxE.js";import{s as W,g as Y}from"./layout-relative.module-CictnSCd.js";import{S as o,a as M}from"./consts-KAYct7Gj.js";import"./index-ChsGqxH_.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./constants-DYYVurUY.js";const F="_LayoutGridItem_2tq6r_1",B={LayoutGridItem:F},_=I.forwardRef(function({children:i,alignSelf:s,tag:a,hide:r,relative:n,dataset:u,...l},d){const m=w(B,h.LayoutGridItem,[]),y=D(s),c=N(r),p=P(n),f=[...m,...y,...c,...p],q=a??T,O={...R(l),ref:d,className:f.join(" "),...A(u,{preplyDsComponent:h.LayoutGridItem})};return t.jsx(q,{...O,children:i})});try{_.displayName="LayoutGridItem",_.__docgenInfo={description:"",displayName:"LayoutGridItem",props:{alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:"ResponsiveProp<LayoutAlignSelf>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"p"'},{value:'"div"'},{value:'"span"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}const J="_LayoutGrid_jvztg_4",V={LayoutGrid:J,"LayoutGrid--justify-content-center":"_LayoutGrid--justify-content-center_jvztg_14","LayoutGrid--justify-content-start":"_LayoutGrid--justify-content-start_jvztg_17","LayoutGrid--justify-content-end":"_LayoutGrid--justify-content-end_jvztg_20","LayoutGrid--justify-content-space-between":"_LayoutGrid--justify-content-space-between_jvztg_23","LayoutGrid--justify-content-space-around":"_LayoutGrid--justify-content-space-around_jvztg_26","LayoutGrid--justify-content-space-evenly":"_LayoutGrid--justify-content-space-evenly_jvztg_29","LayoutGrid--narrow-l--justify-content-center":"_LayoutGrid--narrow-l--justify-content-center_jvztg_33","LayoutGrid--narrow-l--justify-content-start":"_LayoutGrid--narrow-l--justify-content-start_jvztg_36","LayoutGrid--narrow-l--justify-content-end":"_LayoutGrid--narrow-l--justify-content-end_jvztg_39","LayoutGrid--narrow-l--justify-content-space-between":"_LayoutGrid--narrow-l--justify-content-space-between_jvztg_42","LayoutGrid--narrow-l--justify-content-space-around":"_LayoutGrid--narrow-l--justify-content-space-around_jvztg_45","LayoutGrid--narrow-l--justify-content-space-evenly":"_LayoutGrid--narrow-l--justify-content-space-evenly_jvztg_48","LayoutGrid--medium-s--justify-content-center":"_LayoutGrid--medium-s--justify-content-center_jvztg_53","LayoutGrid--medium-s--justify-content-start":"_LayoutGrid--medium-s--justify-content-start_jvztg_56","LayoutGrid--medium-s--justify-content-end":"_LayoutGrid--medium-s--justify-content-end_jvztg_59","LayoutGrid--medium-s--justify-content-space-between":"_LayoutGrid--medium-s--justify-content-space-between_jvztg_62","LayoutGrid--medium-s--justify-content-space-around":"_LayoutGrid--medium-s--justify-content-space-around_jvztg_65","LayoutGrid--medium-s--justify-content-space-evenly":"_LayoutGrid--medium-s--justify-content-space-evenly_jvztg_68","LayoutGrid--medium-l--justify-content-center":"_LayoutGrid--medium-l--justify-content-center_jvztg_73","LayoutGrid--medium-l--justify-content-start":"_LayoutGrid--medium-l--justify-content-start_jvztg_76","LayoutGrid--medium-l--justify-content-end":"_LayoutGrid--medium-l--justify-content-end_jvztg_79","LayoutGrid--medium-l--justify-content-space-between":"_LayoutGrid--medium-l--justify-content-space-between_jvztg_82","LayoutGrid--medium-l--justify-content-space-around":"_LayoutGrid--medium-l--justify-content-space-around_jvztg_85","LayoutGrid--medium-l--justify-content-space-evenly":"_LayoutGrid--medium-l--justify-content-space-evenly_jvztg_88","LayoutGrid--wide-s--justify-content-center":"_LayoutGrid--wide-s--justify-content-center_jvztg_93","LayoutGrid--wide-s--justify-content-start":"_LayoutGrid--wide-s--justify-content-start_jvztg_96","LayoutGrid--wide-s--justify-content-end":"_LayoutGrid--wide-s--justify-content-end_jvztg_99","LayoutGrid--wide-s--justify-content-space-between":"_LayoutGrid--wide-s--justify-content-space-between_jvztg_102","LayoutGrid--wide-s--justify-content-space-around":"_LayoutGrid--wide-s--justify-content-space-around_jvztg_105","LayoutGrid--wide-s--justify-content-space-evenly":"_LayoutGrid--wide-s--justify-content-space-evenly_jvztg_108","LayoutGrid--wide-l--justify-content-center":"_LayoutGrid--wide-l--justify-content-center_jvztg_113","LayoutGrid--wide-l--justify-content-start":"_LayoutGrid--wide-l--justify-content-start_jvztg_116","LayoutGrid--wide-l--justify-content-end":"_LayoutGrid--wide-l--justify-content-end_jvztg_119","LayoutGrid--wide-l--justify-content-space-between":"_LayoutGrid--wide-l--justify-content-space-between_jvztg_122","LayoutGrid--wide-l--justify-content-space-around":"_LayoutGrid--wide-l--justify-content-space-around_jvztg_125","LayoutGrid--wide-l--justify-content-space-evenly":"_LayoutGrid--wide-l--justify-content-space-evenly_jvztg_128","LayoutGrid--align-items-center":"_LayoutGrid--align-items-center_jvztg_132","LayoutGrid--align-items-start":"_LayoutGrid--align-items-start_jvztg_135","LayoutGrid--align-items-end":"_LayoutGrid--align-items-end_jvztg_138","LayoutGrid--align-items-stretch":"_LayoutGrid--align-items-stretch_jvztg_141","LayoutGrid--align-items-baseline":"_LayoutGrid--align-items-baseline_jvztg_144","LayoutGrid--narrow-l--align-items-center":"_LayoutGrid--narrow-l--align-items-center_jvztg_148","LayoutGrid--narrow-l--align-items-start":"_LayoutGrid--narrow-l--align-items-start_jvztg_151","LayoutGrid--narrow-l--align-items-end":"_LayoutGrid--narrow-l--align-items-end_jvztg_154","LayoutGrid--narrow-l--align-items-stretch":"_LayoutGrid--narrow-l--align-items-stretch_jvztg_157","LayoutGrid--narrow-l--align-items-baseline":"_LayoutGrid--narrow-l--align-items-baseline_jvztg_160","LayoutGrid--medium-s--align-items-center":"_LayoutGrid--medium-s--align-items-center_jvztg_165","LayoutGrid--medium-s--align-items-start":"_LayoutGrid--medium-s--align-items-start_jvztg_168","LayoutGrid--medium-s--align-items-end":"_LayoutGrid--medium-s--align-items-end_jvztg_171","LayoutGrid--medium-s--align-items-stretch":"_LayoutGrid--medium-s--align-items-stretch_jvztg_174","LayoutGrid--medium-s--align-items-baseline":"_LayoutGrid--medium-s--align-items-baseline_jvztg_177","LayoutGrid--medium-l--align-items-center":"_LayoutGrid--medium-l--align-items-center_jvztg_182","LayoutGrid--medium-l--align-items-start":"_LayoutGrid--medium-l--align-items-start_jvztg_185","LayoutGrid--medium-l--align-items-end":"_LayoutGrid--medium-l--align-items-end_jvztg_188","LayoutGrid--medium-l--align-items-stretch":"_LayoutGrid--medium-l--align-items-stretch_jvztg_191","LayoutGrid--medium-l--align-items-baseline":"_LayoutGrid--medium-l--align-items-baseline_jvztg_194","LayoutGrid--wide-s--align-items-center":"_LayoutGrid--wide-s--align-items-center_jvztg_199","LayoutGrid--wide-s--align-items-start":"_LayoutGrid--wide-s--align-items-start_jvztg_202","LayoutGrid--wide-s--align-items-end":"_LayoutGrid--wide-s--align-items-end_jvztg_205","LayoutGrid--wide-s--align-items-stretch":"_LayoutGrid--wide-s--align-items-stretch_jvztg_208","LayoutGrid--wide-s--align-items-baseline":"_LayoutGrid--wide-s--align-items-baseline_jvztg_211","LayoutGrid--wide-l--align-items-center":"_LayoutGrid--wide-l--align-items-center_jvztg_216","LayoutGrid--wide-l--align-items-start":"_LayoutGrid--wide-l--align-items-start_jvztg_219","LayoutGrid--wide-l--align-items-end":"_LayoutGrid--wide-l--align-items-end_jvztg_222","LayoutGrid--wide-l--align-items-stretch":"_LayoutGrid--wide-l--align-items-stretch_jvztg_225","LayoutGrid--wide-l--align-items-baseline":"_LayoutGrid--wide-l--align-items-baseline_jvztg_228","LayoutGrid--justify-items-stretch":"_LayoutGrid--justify-items-stretch_jvztg_232","LayoutGrid--justify-items-center":"_LayoutGrid--justify-items-center_jvztg_235","LayoutGrid--justify-items-start":"_LayoutGrid--justify-items-start_jvztg_238","LayoutGrid--justify-items-end":"_LayoutGrid--justify-items-end_jvztg_241","LayoutGrid--narrow-l--justify-items-stretch":"_LayoutGrid--narrow-l--justify-items-stretch_jvztg_245","LayoutGrid--narrow-l--justify-items-center":"_LayoutGrid--narrow-l--justify-items-center_jvztg_248","LayoutGrid--narrow-l--justify-items-start":"_LayoutGrid--narrow-l--justify-items-start_jvztg_251","LayoutGrid--narrow-l--justify-items-end":"_LayoutGrid--narrow-l--justify-items-end_jvztg_254","LayoutGrid--medium-s--justify-items-stretch":"_LayoutGrid--medium-s--justify-items-stretch_jvztg_259","LayoutGrid--medium-s--justify-items-center":"_LayoutGrid--medium-s--justify-items-center_jvztg_262","LayoutGrid--medium-s--justify-items-start":"_LayoutGrid--medium-s--justify-items-start_jvztg_265","LayoutGrid--medium-s--justify-items-end":"_LayoutGrid--medium-s--justify-items-end_jvztg_268","LayoutGrid--medium-l--justify-items-stretch":"_LayoutGrid--medium-l--justify-items-stretch_jvztg_273","LayoutGrid--medium-l--justify-items-center":"_LayoutGrid--medium-l--justify-items-center_jvztg_276","LayoutGrid--medium-l--justify-items-start":"_LayoutGrid--medium-l--justify-items-start_jvztg_279","LayoutGrid--medium-l--justify-items-end":"_LayoutGrid--medium-l--justify-items-end_jvztg_282","LayoutGrid--wide-s--justify-items-stretch":"_LayoutGrid--wide-s--justify-items-stretch_jvztg_287","LayoutGrid--wide-s--justify-items-center":"_LayoutGrid--wide-s--justify-items-center_jvztg_290","LayoutGrid--wide-s--justify-items-start":"_LayoutGrid--wide-s--justify-items-start_jvztg_293","LayoutGrid--wide-s--justify-items-end":"_LayoutGrid--wide-s--justify-items-end_jvztg_296","LayoutGrid--wide-l--justify-items-stretch":"_LayoutGrid--wide-l--justify-items-stretch_jvztg_301","LayoutGrid--wide-l--justify-items-center":"_LayoutGrid--wide-l--justify-items-center_jvztg_304","LayoutGrid--wide-l--justify-items-start":"_LayoutGrid--wide-l--justify-items-start_jvztg_307","LayoutGrid--wide-l--justify-items-end":"_LayoutGrid--wide-l--justify-items-end_jvztg_310","LayoutGrid--columns":"_LayoutGrid--columns_jvztg_314","LayoutGrid--columns-narrow-l":"_LayoutGrid--columns-narrow-l_jvztg_318","LayoutGrid--columns-medium-s":"_LayoutGrid--columns-medium-s_jvztg_323","LayoutGrid--columns-medium-l":"_LayoutGrid--columns-medium-l_jvztg_328","LayoutGrid--columns-wide-s":"_LayoutGrid--columns-wide-s_jvztg_333","LayoutGrid--columns-wide-l":"_LayoutGrid--columns-wide-l_jvztg_338"},K="LayoutGrid",Q=Object.keys($),G=e=>typeof e=="number"?`repeat(${e}, 1fr)`:e.join(" "),X=e=>typeof e=="object"&&!Array.isArray(e)?Object.entries(e).reduce((i,[s,a])=>({...i,...a?{[s]:G(a)}:{}}),{_:G(e._)}):{_:G(e)},Z=e=>{if(!e)return{classNames:[],style:{}};const i=X(e),s=Q.filter(n=>i[n]),a=E(V,K,["columns",...s.map(n=>`columns-${n}`)]),r=s.reduce((n,u)=>({...n,[`--columns-${u}`]:i[u]}),{"--columns":i._});return{classNames:a,style:r}},ee="LayoutGap",te=e=>w(W,ee,[L("gap",e)]),ae="LayoutGrid",ie=(e,i)=>{const{gap:s=H,padding:a=U,justifyContent:r,alignItems:n,justifyItems:u,hide:l,relative:d}=i||{},m=w(V,ae,[L("justify-content",r),L("align-items",n),L("justify-items",u)]),y=te(s),c=Y(a),p=N(l,"grid"),f=P(d);return[...m,...y,...c,...p,...f]},j=I.forwardRef(function({dataset:i,children:s,...a},r){const{tag:n=T,columns:u}=a,l=ie("grid",a),{style:d,classNames:m}=Z(u),y=[...l,...m],c={...R(a),ref:r,className:y.join(" "),style:d,...A(i,{preplyDsComponent:h.LayoutGrid})};return t.jsx(n,{...c,children:s})});try{j.displayName="LayoutGrid",j.__docgenInfo={description:"A CSS `grid` wrapper.",displayName:"LayoutGrid",props:{gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:"ResponsiveProp<LayoutGap>"},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"ResponsiveProp<Spacing>"}]}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"[LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing, Spacing]"},{value:"ResponsiveProp<ShortHand<LayoutPadding> | ShortHand<Spacing>>"}]}},columns:{defaultValue:null,description:"The `number` of columns, or a `string[]` of `grid-template-columns`.\n@see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns}",name:"columns",required:!1,type:{name:"enum",value:[{value:"number"},{value:"string[]"},{value:"ResponsiveProp<number | string[]>"}]}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"space-between"'},{value:'"space-around"'},{value:'"space-evenly"'},{value:"ResponsiveProp<LayoutJustifyContent>"}]}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:'"baseline"'},{value:"ResponsiveProp<LayoutAlignItems>"}]}},justifyItems:{defaultValue:null,description:"",name:"justifyItems",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:"ResponsiveProp<LayoutJustifyItems>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"p"'},{value:'"div"'},{value:'"span"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}const je={title:"components/LayoutGrid",component:j,subcomponents:{LayoutGridItem:_},argTypes:{gap:{description:o},padding:{description:M},columns:{description:o},justifyContent:{description:o},alignItems:{description:o},justifyItems:{description:o},hide:{description:o},relative:{description:o}}},v=()=>t.jsxs(j,{columns:4,alignItems:"start",gap:"xs",children:[t.jsx(_,{children:t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"0.25rem"},children:[t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}}),t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}})]})}),t.jsx(_,{alignSelf:"end",children:t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}})}),t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}}),t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}})]});v.storyName="LayoutGrid";const g={parameters:{chromatic:{disableSnapshot:!0}},args:{gap:"16",columns:3,alignItems:"start",children:t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{minWidth:"100px",minHeight:50,backgroundColor:"hotpink"},children:" "}),t.jsx("div",{style:{minWidth:"100px",minHeight:75,backgroundColor:"hotpink"},children:" "}),t.jsx("div",{style:{minWidth:"100px",minHeight:100,backgroundColor:"hotpink",textAlign:"center"}})]}),dataset:{qaid:"layout-grid"}},argTypes:{dataset:{control:"object"},columns:{control:"number"},justifyItems:{control:"select"},hide:{control:"boolean"},relative:{control:"boolean"},children:{control:!1}}};var z,b,C;v.parameters={...v.parameters,docs:{...(z=v.parameters)==null?void 0:z.docs,source:{originalSource:`() => <LayoutGrid columns={4} alignItems="start" gap="xs">
|
|
1
|
+
import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r as N}from"./index-Cb9e4tly.js";import{g as E,a as P,b as R}from"./layout-relative-DZ8FL-vJ.js";import{f as A}from"./filterHTMLAttributes-DYdLqcvH.js";import{m as w,a as H,s as f}from"./classNames-BUL1Zq7e.js";import{g as T}from"./index-DdzHuZ-Y.js";import{L as V,k as U,f as $}from"./defaults-B1rzzf6M.js";import{w as j}from"./componentNames-Bwls0I02.js";import{B as W}from"./breakpoints-BfMlrtxE.js";import{s as Y,g as M}from"./layout-relative.module-Bf3FithH.js";import{S as o,a as z}from"./consts-KAYct7Gj.js";import"./index-ChsGqxH_.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./constants-DYYVurUY.js";const F="_LayoutGridItem_2tq6r_1",B={LayoutGridItem:F},L=N.forwardRef(function({children:i,alignSelf:s,tag:a,hide:r,relative:n,dataset:u,...l},d){const m=w(B,j.LayoutGridItem,[]),y=E(s),c=P(r),h=R(n),G=[...m,...y,...c,...h],O=a??V,D={...A(l),ref:d,className:G.join(" "),...T(u,{preplyDsComponent:j.LayoutGridItem})};return t.jsx(O,{...D,children:i})});try{L.displayName="LayoutGridItem",L.__docgenInfo={description:"",displayName:"LayoutGridItem",props:{alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:"ResponsiveProp<LayoutAlignSelf>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"p"'},{value:'"span"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}const J="_LayoutGrid_10h87_4",q={LayoutGrid:J,"LayoutGrid--justify-content-center":"_LayoutGrid--justify-content-center_10h87_14","LayoutGrid--justify-content-start":"_LayoutGrid--justify-content-start_10h87_17","LayoutGrid--justify-content-end":"_LayoutGrid--justify-content-end_10h87_20","LayoutGrid--justify-content-space-between":"_LayoutGrid--justify-content-space-between_10h87_23","LayoutGrid--justify-content-space-around":"_LayoutGrid--justify-content-space-around_10h87_26","LayoutGrid--justify-content-space-evenly":"_LayoutGrid--justify-content-space-evenly_10h87_29","LayoutGrid--narrow-l--justify-content-center":"_LayoutGrid--narrow-l--justify-content-center_10h87_33","LayoutGrid--narrow-l--justify-content-start":"_LayoutGrid--narrow-l--justify-content-start_10h87_36","LayoutGrid--narrow-l--justify-content-end":"_LayoutGrid--narrow-l--justify-content-end_10h87_39","LayoutGrid--narrow-l--justify-content-space-between":"_LayoutGrid--narrow-l--justify-content-space-between_10h87_42","LayoutGrid--narrow-l--justify-content-space-around":"_LayoutGrid--narrow-l--justify-content-space-around_10h87_45","LayoutGrid--narrow-l--justify-content-space-evenly":"_LayoutGrid--narrow-l--justify-content-space-evenly_10h87_48","LayoutGrid--medium-s--justify-content-center":"_LayoutGrid--medium-s--justify-content-center_10h87_53","LayoutGrid--medium-s--justify-content-start":"_LayoutGrid--medium-s--justify-content-start_10h87_56","LayoutGrid--medium-s--justify-content-end":"_LayoutGrid--medium-s--justify-content-end_10h87_59","LayoutGrid--medium-s--justify-content-space-between":"_LayoutGrid--medium-s--justify-content-space-between_10h87_62","LayoutGrid--medium-s--justify-content-space-around":"_LayoutGrid--medium-s--justify-content-space-around_10h87_65","LayoutGrid--medium-s--justify-content-space-evenly":"_LayoutGrid--medium-s--justify-content-space-evenly_10h87_68","LayoutGrid--medium-l--justify-content-center":"_LayoutGrid--medium-l--justify-content-center_10h87_73","LayoutGrid--medium-l--justify-content-start":"_LayoutGrid--medium-l--justify-content-start_10h87_76","LayoutGrid--medium-l--justify-content-end":"_LayoutGrid--medium-l--justify-content-end_10h87_79","LayoutGrid--medium-l--justify-content-space-between":"_LayoutGrid--medium-l--justify-content-space-between_10h87_82","LayoutGrid--medium-l--justify-content-space-around":"_LayoutGrid--medium-l--justify-content-space-around_10h87_85","LayoutGrid--medium-l--justify-content-space-evenly":"_LayoutGrid--medium-l--justify-content-space-evenly_10h87_88","LayoutGrid--wide-s--justify-content-center":"_LayoutGrid--wide-s--justify-content-center_10h87_93","LayoutGrid--wide-s--justify-content-start":"_LayoutGrid--wide-s--justify-content-start_10h87_96","LayoutGrid--wide-s--justify-content-end":"_LayoutGrid--wide-s--justify-content-end_10h87_99","LayoutGrid--wide-s--justify-content-space-between":"_LayoutGrid--wide-s--justify-content-space-between_10h87_102","LayoutGrid--wide-s--justify-content-space-around":"_LayoutGrid--wide-s--justify-content-space-around_10h87_105","LayoutGrid--wide-s--justify-content-space-evenly":"_LayoutGrid--wide-s--justify-content-space-evenly_10h87_108","LayoutGrid--wide-l--justify-content-center":"_LayoutGrid--wide-l--justify-content-center_10h87_113","LayoutGrid--wide-l--justify-content-start":"_LayoutGrid--wide-l--justify-content-start_10h87_116","LayoutGrid--wide-l--justify-content-end":"_LayoutGrid--wide-l--justify-content-end_10h87_119","LayoutGrid--wide-l--justify-content-space-between":"_LayoutGrid--wide-l--justify-content-space-between_10h87_122","LayoutGrid--wide-l--justify-content-space-around":"_LayoutGrid--wide-l--justify-content-space-around_10h87_125","LayoutGrid--wide-l--justify-content-space-evenly":"_LayoutGrid--wide-l--justify-content-space-evenly_10h87_128","LayoutGrid--align-items-center":"_LayoutGrid--align-items-center_10h87_132","LayoutGrid--align-items-start":"_LayoutGrid--align-items-start_10h87_135","LayoutGrid--align-items-end":"_LayoutGrid--align-items-end_10h87_138","LayoutGrid--align-items-stretch":"_LayoutGrid--align-items-stretch_10h87_141","LayoutGrid--align-items-baseline":"_LayoutGrid--align-items-baseline_10h87_144","LayoutGrid--narrow-l--align-items-center":"_LayoutGrid--narrow-l--align-items-center_10h87_148","LayoutGrid--narrow-l--align-items-start":"_LayoutGrid--narrow-l--align-items-start_10h87_151","LayoutGrid--narrow-l--align-items-end":"_LayoutGrid--narrow-l--align-items-end_10h87_154","LayoutGrid--narrow-l--align-items-stretch":"_LayoutGrid--narrow-l--align-items-stretch_10h87_157","LayoutGrid--narrow-l--align-items-baseline":"_LayoutGrid--narrow-l--align-items-baseline_10h87_160","LayoutGrid--medium-s--align-items-center":"_LayoutGrid--medium-s--align-items-center_10h87_165","LayoutGrid--medium-s--align-items-start":"_LayoutGrid--medium-s--align-items-start_10h87_168","LayoutGrid--medium-s--align-items-end":"_LayoutGrid--medium-s--align-items-end_10h87_171","LayoutGrid--medium-s--align-items-stretch":"_LayoutGrid--medium-s--align-items-stretch_10h87_174","LayoutGrid--medium-s--align-items-baseline":"_LayoutGrid--medium-s--align-items-baseline_10h87_177","LayoutGrid--medium-l--align-items-center":"_LayoutGrid--medium-l--align-items-center_10h87_182","LayoutGrid--medium-l--align-items-start":"_LayoutGrid--medium-l--align-items-start_10h87_185","LayoutGrid--medium-l--align-items-end":"_LayoutGrid--medium-l--align-items-end_10h87_188","LayoutGrid--medium-l--align-items-stretch":"_LayoutGrid--medium-l--align-items-stretch_10h87_191","LayoutGrid--medium-l--align-items-baseline":"_LayoutGrid--medium-l--align-items-baseline_10h87_194","LayoutGrid--wide-s--align-items-center":"_LayoutGrid--wide-s--align-items-center_10h87_199","LayoutGrid--wide-s--align-items-start":"_LayoutGrid--wide-s--align-items-start_10h87_202","LayoutGrid--wide-s--align-items-end":"_LayoutGrid--wide-s--align-items-end_10h87_205","LayoutGrid--wide-s--align-items-stretch":"_LayoutGrid--wide-s--align-items-stretch_10h87_208","LayoutGrid--wide-s--align-items-baseline":"_LayoutGrid--wide-s--align-items-baseline_10h87_211","LayoutGrid--wide-l--align-items-center":"_LayoutGrid--wide-l--align-items-center_10h87_216","LayoutGrid--wide-l--align-items-start":"_LayoutGrid--wide-l--align-items-start_10h87_219","LayoutGrid--wide-l--align-items-end":"_LayoutGrid--wide-l--align-items-end_10h87_222","LayoutGrid--wide-l--align-items-stretch":"_LayoutGrid--wide-l--align-items-stretch_10h87_225","LayoutGrid--wide-l--align-items-baseline":"_LayoutGrid--wide-l--align-items-baseline_10h87_228","LayoutGrid--justify-items-stretch":"_LayoutGrid--justify-items-stretch_10h87_232","LayoutGrid--justify-items-center":"_LayoutGrid--justify-items-center_10h87_235","LayoutGrid--justify-items-start":"_LayoutGrid--justify-items-start_10h87_238","LayoutGrid--justify-items-end":"_LayoutGrid--justify-items-end_10h87_241","LayoutGrid--narrow-l--justify-items-stretch":"_LayoutGrid--narrow-l--justify-items-stretch_10h87_245","LayoutGrid--narrow-l--justify-items-center":"_LayoutGrid--narrow-l--justify-items-center_10h87_248","LayoutGrid--narrow-l--justify-items-start":"_LayoutGrid--narrow-l--justify-items-start_10h87_251","LayoutGrid--narrow-l--justify-items-end":"_LayoutGrid--narrow-l--justify-items-end_10h87_254","LayoutGrid--medium-s--justify-items-stretch":"_LayoutGrid--medium-s--justify-items-stretch_10h87_259","LayoutGrid--medium-s--justify-items-center":"_LayoutGrid--medium-s--justify-items-center_10h87_262","LayoutGrid--medium-s--justify-items-start":"_LayoutGrid--medium-s--justify-items-start_10h87_265","LayoutGrid--medium-s--justify-items-end":"_LayoutGrid--medium-s--justify-items-end_10h87_268","LayoutGrid--medium-l--justify-items-stretch":"_LayoutGrid--medium-l--justify-items-stretch_10h87_273","LayoutGrid--medium-l--justify-items-center":"_LayoutGrid--medium-l--justify-items-center_10h87_276","LayoutGrid--medium-l--justify-items-start":"_LayoutGrid--medium-l--justify-items-start_10h87_279","LayoutGrid--medium-l--justify-items-end":"_LayoutGrid--medium-l--justify-items-end_10h87_282","LayoutGrid--wide-s--justify-items-stretch":"_LayoutGrid--wide-s--justify-items-stretch_10h87_287","LayoutGrid--wide-s--justify-items-center":"_LayoutGrid--wide-s--justify-items-center_10h87_290","LayoutGrid--wide-s--justify-items-start":"_LayoutGrid--wide-s--justify-items-start_10h87_293","LayoutGrid--wide-s--justify-items-end":"_LayoutGrid--wide-s--justify-items-end_10h87_296","LayoutGrid--wide-l--justify-items-stretch":"_LayoutGrid--wide-l--justify-items-stretch_10h87_301","LayoutGrid--wide-l--justify-items-center":"_LayoutGrid--wide-l--justify-items-center_10h87_304","LayoutGrid--wide-l--justify-items-start":"_LayoutGrid--wide-l--justify-items-start_10h87_307","LayoutGrid--wide-l--justify-items-end":"_LayoutGrid--wide-l--justify-items-end_10h87_310","LayoutGrid--columns":"_LayoutGrid--columns_10h87_314","LayoutGrid--columns-narrow-l":"_LayoutGrid--columns-narrow-l_10h87_318","LayoutGrid--columns-medium-s":"_LayoutGrid--columns-medium-s_10h87_323","LayoutGrid--columns-medium-l":"_LayoutGrid--columns-medium-l_10h87_328","LayoutGrid--columns-wide-s":"_LayoutGrid--columns-wide-s_10h87_333","LayoutGrid--columns-wide-l":"_LayoutGrid--columns-wide-l_10h87_338"},K="LayoutGrid",Q=Object.keys(W),g=e=>typeof e=="number"?`repeat(${e}, 1fr)`:e.join(" "),X=e=>typeof e=="object"&&!Array.isArray(e)?Object.entries(e).reduce((i,[s,a])=>({...i,...a?{[s]:g(a)}:{}}),{_:g(e._)}):{_:g(e)},Z=e=>{if(!e)return{classNames:[],style:{}};const i=X(e),s=Q.filter(n=>i[n]),a=H(q,K,["columns",...s.map(n=>`columns-${n}`)]),r=s.reduce((n,u)=>({...n,[`--columns-${u}`]:i[u]}),{"--columns":i._});return{classNames:a,style:r}},ee="LayoutGap",te=e=>w(Y,ee,[f("gap",e)]),ae="LayoutGrid",ie=(e,i)=>{const{gap:s=U,padding:a=$,justifyContent:r,alignItems:n,justifyItems:u,hide:l,relative:d}=i||{},m=w(q,ae,[f("justify-content",r),f("align-items",n),f("justify-items",u)]),y=te(s),c=M(a),h=P(l,"grid"),G=R(d);return[...m,...y,...c,...h,...G]},v=N.forwardRef(function({dataset:i,children:s,...a},r){const{tag:n=V,columns:u}=a,l=ie("grid",a),{style:d,classNames:m}=Z(u),y=[...l,...m],c={...A(a),ref:r,className:y.join(" "),style:d,...T(i,{preplyDsComponent:j.LayoutGrid})};return t.jsx(n,{...c,children:s})});try{v.displayName="LayoutGrid",v.__docgenInfo={description:"A CSS `grid` wrapper.",displayName:"LayoutGrid",props:{gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:"ResponsiveProp<LayoutGap>"},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"ResponsiveProp<Spacing>"}]}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"[LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing, Spacing]"},{value:"ResponsiveProp<ShortHand<LayoutPadding> | ShortHand<Spacing>>"}]}},columns:{defaultValue:null,description:"The `number` of columns, or a `string[]` of `grid-template-columns`.\n@see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns}",name:"columns",required:!1,type:{name:"enum",value:[{value:"number"},{value:"string[]"},{value:"ResponsiveProp<number | string[]>"}]}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"space-between"'},{value:'"space-around"'},{value:'"space-evenly"'},{value:"ResponsiveProp<LayoutJustifyContent>"}]}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:'"baseline"'},{value:"ResponsiveProp<LayoutAlignItems>"}]}},justifyItems:{defaultValue:null,description:"",name:"justifyItems",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:"ResponsiveProp<LayoutJustifyItems>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"p"'},{value:'"span"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}const ve={title:"components/LayoutGrid",component:v,subcomponents:{LayoutGridItem:L},argTypes:{gap:{description:o},padding:{description:z},columns:{description:o},justifyContent:{description:o},alignItems:{description:o},justifyItems:{description:o},hide:{description:o},relative:{description:o}}},_=()=>t.jsxs(v,{columns:4,alignItems:"start",gap:"xs",children:[t.jsx(L,{children:t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"0.25rem"},children:[t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}}),t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}})]})}),t.jsx(L,{alignSelf:"end",children:t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}})}),t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}}),t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}})]});_.storyName="LayoutGrid";const p={parameters:{chromatic:{disableSnapshot:!0}},args:{gap:"16",columns:3,alignItems:"start",children:t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{minWidth:"100px",minHeight:50,backgroundColor:"hotpink"},children:" "}),t.jsx("div",{style:{minWidth:"100px",minHeight:75,backgroundColor:"hotpink"},children:" "}),t.jsx("div",{style:{minWidth:"100px",minHeight:100,backgroundColor:"hotpink",textAlign:"center"}})]}),dataset:{qaid:"layout-grid"}},argTypes:{dataset:{control:"object"},columns:{control:"number"},justifyItems:{control:"select"},hide:{control:"boolean"},relative:{control:"boolean"},children:{control:!1}}};var b,C,k;_.parameters={..._.parameters,docs:{...(b=_.parameters)==null?void 0:b.docs,source:{originalSource:`() => <LayoutGrid columns={4} alignItems="start" gap="xs">
|
|
2
2
|
<LayoutGridItem>
|
|
3
3
|
<div style={{
|
|
4
4
|
display: 'flex',
|
|
@@ -29,7 +29,7 @@ import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r as I}from"./index-Cb9e4tl
|
|
|
29
29
|
height: '2ch',
|
|
30
30
|
backgroundColor: 'hotpink'
|
|
31
31
|
}} />
|
|
32
|
-
</LayoutGrid>`,...(
|
|
32
|
+
</LayoutGrid>`,...(k=(C=_.parameters)==null?void 0:C.docs)==null?void 0:k.source}}};var S,x,I;p.parameters={...p.parameters,docs:{...(S=p.parameters)==null?void 0:S.docs,source:{originalSource:`{
|
|
33
33
|
parameters: {
|
|
34
34
|
chromatic: {
|
|
35
35
|
disableSnapshot: true
|
|
@@ -85,4 +85,4 @@ import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r as I}from"./index-Cb9e4tl
|
|
|
85
85
|
control: false
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
}`,...(
|
|
88
|
+
}`,...(I=(x=p.parameters)==null?void 0:x.docs)==null?void 0:I.source}}};const he=["Base","Playground"];export{_ as Base,p as Playground,he as __namedExportsOrder,ve as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._AlignSelf_o6uvz_2._AlignSelf--align-self-start_o6uvz_2{-ms-flex-item-align:start;align-self:start}._AlignSelf_o6uvz_2._AlignSelf--align-self-center_o6uvz_5{-ms-flex-item-align:center;align-self:center}._AlignSelf_o6uvz_2._AlignSelf--align-self-end_o6uvz_8{-ms-flex-item-align:end;align-self:end}._AlignSelf_o6uvz_2._AlignSelf--align-self-stretch_o6uvz_11{-ms-flex-item-align:stretch;align-self:stretch}@media (min-width: 400px){._AlignSelf_o6uvz_2._AlignSelf--narrow-l--align-self-start_o6uvz_15{-ms-flex-item-align:start;align-self:start}._AlignSelf_o6uvz_2._AlignSelf--narrow-l--align-self-center_o6uvz_18{-ms-flex-item-align:center;align-self:center}._AlignSelf_o6uvz_2._AlignSelf--narrow-l--align-self-end_o6uvz_21{-ms-flex-item-align:end;align-self:end}._AlignSelf_o6uvz_2._AlignSelf--narrow-l--align-self-stretch_o6uvz_24{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 700px){._AlignSelf_o6uvz_2._AlignSelf--medium-s--align-self-start_o6uvz_29{-ms-flex-item-align:start;align-self:start}._AlignSelf_o6uvz_2._AlignSelf--medium-s--align-self-center_o6uvz_32{-ms-flex-item-align:center;align-self:center}._AlignSelf_o6uvz_2._AlignSelf--medium-s--align-self-end_o6uvz_35{-ms-flex-item-align:end;align-self:end}._AlignSelf_o6uvz_2._AlignSelf--medium-s--align-self-stretch_o6uvz_38{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 880px){._AlignSelf_o6uvz_2._AlignSelf--medium-l--align-self-start_o6uvz_43{-ms-flex-item-align:start;align-self:start}._AlignSelf_o6uvz_2._AlignSelf--medium-l--align-self-center_o6uvz_46{-ms-flex-item-align:center;align-self:center}._AlignSelf_o6uvz_2._AlignSelf--medium-l--align-self-end_o6uvz_49{-ms-flex-item-align:end;align-self:end}._AlignSelf_o6uvz_2._AlignSelf--medium-l--align-self-stretch_o6uvz_52{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 1200px){._AlignSelf_o6uvz_2._AlignSelf--wide-s--align-self-start_o6uvz_57{-ms-flex-item-align:start;align-self:start}._AlignSelf_o6uvz_2._AlignSelf--wide-s--align-self-center_o6uvz_60{-ms-flex-item-align:center;align-self:center}._AlignSelf_o6uvz_2._AlignSelf--wide-s--align-self-end_o6uvz_63{-ms-flex-item-align:end;align-self:end}._AlignSelf_o6uvz_2._AlignSelf--wide-s--align-self-stretch_o6uvz_66{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 1900px){._AlignSelf_o6uvz_2._AlignSelf--wide-l--align-self-start_o6uvz_71{-ms-flex-item-align:start;align-self:start}._AlignSelf_o6uvz_2._AlignSelf--wide-l--align-self-center_o6uvz_74{-ms-flex-item-align:center;align-self:center}._AlignSelf_o6uvz_2._AlignSelf--wide-l--align-self-end_o6uvz_77{-ms-flex-item-align:end;align-self:end}._AlignSelf_o6uvz_2._AlignSelf--wide-l--align-self-stretch_o6uvz_80{-ms-flex-item-align:stretch;align-self:stretch}}._LayoutGridItem_2tq6r_1{margin:0;list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;padding:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as v}from"./jsx-runtime-BTJTZTIL.js";import{r as w}from"./index-Cb9e4tly.js";import{m as s,s as z}from"./classNames-BUL1Zq7e.js";import{g as p,a as L}from"./LayoutGrid-BhioG4bL.js";import{f as h}from"./filterHTMLAttributes-UOns5Q7s.js";import{w as n}from"./componentNames-Bwls0I02.js";import{g as y}from"./index-DdzHuZ-Y.js";import{L as C}from"./defaults-B1rzzf6M.js";const N="_AlignSelf_o6uvz_2",G={AlignSelf:N,"AlignSelf--align-self-start":"_AlignSelf--align-self-start_o6uvz_2","AlignSelf--align-self-center":"_AlignSelf--align-self-center_o6uvz_5","AlignSelf--align-self-end":"_AlignSelf--align-self-end_o6uvz_8","AlignSelf--align-self-stretch":"_AlignSelf--align-self-stretch_o6uvz_11","AlignSelf--narrow-l--align-self-start":"_AlignSelf--narrow-l--align-self-start_o6uvz_15","AlignSelf--narrow-l--align-self-center":"_AlignSelf--narrow-l--align-self-center_o6uvz_18","AlignSelf--narrow-l--align-self-end":"_AlignSelf--narrow-l--align-self-end_o6uvz_21","AlignSelf--narrow-l--align-self-stretch":"_AlignSelf--narrow-l--align-self-stretch_o6uvz_24","AlignSelf--medium-s--align-self-start":"_AlignSelf--medium-s--align-self-start_o6uvz_29","AlignSelf--medium-s--align-self-center":"_AlignSelf--medium-s--align-self-center_o6uvz_32","AlignSelf--medium-s--align-self-end":"_AlignSelf--medium-s--align-self-end_o6uvz_35","AlignSelf--medium-s--align-self-stretch":"_AlignSelf--medium-s--align-self-stretch_o6uvz_38","AlignSelf--medium-l--align-self-start":"_AlignSelf--medium-l--align-self-start_o6uvz_43","AlignSelf--medium-l--align-self-center":"_AlignSelf--medium-l--align-self-center_o6uvz_46","AlignSelf--medium-l--align-self-end":"_AlignSelf--medium-l--align-self-end_o6uvz_49","AlignSelf--medium-l--align-self-stretch":"_AlignSelf--medium-l--align-self-stretch_o6uvz_52","AlignSelf--wide-s--align-self-start":"_AlignSelf--wide-s--align-self-start_o6uvz_57","AlignSelf--wide-s--align-self-center":"_AlignSelf--wide-s--align-self-center_o6uvz_60","AlignSelf--wide-s--align-self-end":"_AlignSelf--wide-s--align-self-end_o6uvz_63","AlignSelf--wide-s--align-self-stretch":"_AlignSelf--wide-s--align-self-stretch_o6uvz_66","AlignSelf--wide-l--align-self-start":"_AlignSelf--wide-l--align-self-start_o6uvz_71","AlignSelf--wide-l--align-self-center":"_AlignSelf--wide-l--align-self-center_o6uvz_74","AlignSelf--wide-l--align-self-end":"_AlignSelf--wide-l--align-self-end_o6uvz_77","AlignSelf--wide-l--align-self-stretch":"_AlignSelf--wide-l--align-self-stretch_o6uvz_80"},I="AlignSelf",x=l=>s(G,I,[z("align-self",l)]),T="_LayoutGridItem_2tq6r_1",j={LayoutGridItem:T},E=w.forwardRef(function({children:i,alignSelf:t,tag:e,hide:a,relative:f,dataset:g,...r},o){const _=s(j,n.LayoutGridItem,[]),m=x(t),d=p(a),u=L(f),A=[..._,...m,...d,...u],S=e??C,c={...h(r),ref:o,className:A.join(" "),...y(g,{preplyDsComponent:n.LayoutGridItem})};return v.jsx(S,{...c,children:i})});E.__docgenInfo={description:"",methods:[],displayName:"LayoutGridItem"};export{E as L,x as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Link_gdoqi_4{display:inline-block;border-radius:var(--5eeb28);text-decoration:var(--f13872);cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;-ms-touch-action:manipulation;touch-action:manipulation}._Link_gdoqi_4:focus-visible{outline-style:solid;outline-color:var(--603ec6);outline-width:var(--99d31f);outline-offset:var(--c0b12c)}._Link--inline_gdoqi_20{display:inline}._Link--noUnderline_gdoqi_23{text-decoration:none}._Link--variant-accentDark_gdoqi_26{color:var(--c6b68f)}._Link--variant-accentDark_gdoqi_26:hover,._Link--variant-accentDark--dsInternalSimulation-hover_gdoqi_30{color:var(--65e1ef)}._Link--variant-accentDark_gdoqi_26:active,._Link--variant-accentDark--dsInternalSimulation-active_gdoqi_34{color:var(--179b80)}._Link--variant-accentDarkInverted_gdoqi_37{color:var(--7cbffc)}._Link--variant-accentDarkInverted_gdoqi_37:hover,._Link--variant-accentDarkInverted--dsInternalSimulation-hover_gdoqi_41{color:var(--47fcde)}._Link--variant-accentDarkInverted_gdoqi_37:active,._Link--variant-accentDarkInverted--dsInternalSimulation-active_gdoqi_45{color:var(--1253e2)}._Link--variant-neutral_gdoqi_48{color:var(--19fdf0)}._Link--variant-neutral_gdoqi_48:hover,._Link--variant-neutral--dsInternalSimulation-hover_gdoqi_52{color:var(--ce5fb9)}._Link--variant-neutral_gdoqi_48:active,._Link--variant-neutral--dsInternalSimulation-active_gdoqi_56{color:var(--1d39ac)}._Link--variant-neutralInverted_gdoqi_59{color:var(--883d0f)}._Link--variant-neutralInverted_gdoqi_59:hover,._Link--variant-neutralInverted--dsInternalSimulation-hover_gdoqi_63{color:var(--065570)}._Link--variant-neutralInverted_gdoqi_59:active,._Link--variant-neutralInverted--dsInternalSimulation-active_gdoqi_67{color:var(--be41c4)}._Link--variant-unsetColors_gdoqi_70{color:var(--e66f2a)}._Link--variant-unsetColors_gdoqi_70:hover,._Link--variant-unsetColors--dsInternalSimulation-hover_gdoqi_74{color:var(--468ceb)}._Link--variant-unsetColors_gdoqi_70:active,._Link--variant-unsetColors--dsInternalSimulation-active_gdoqi_78{color:var(--a5fc76)}
|