@preply/ds-docs 1.4.0 → 1.4.2
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-ed2lpBeG.js → 00.LayoutFlex.stories-C6NuyaJx.js} +1 -1
- package/dist/assets/{00.applications-DLWUENDG.js → 00.applications-CzRQjSiq.js} +1 -1
- package/dist/assets/{00.favicons.guide-D5-20tQH.js → 00.favicons.guide-Cl2xkhMN.js} +1 -1
- package/dist/assets/{00.token-explorer-BIc8vy7H.js → 00.token-explorer-Bjz10JOk.js} +1 -1
- package/dist/assets/{00.using-responsive-props-CY9p8v_u.js → 00.using-responsive-props-BJUez61e.js} +1 -1
- package/dist/assets/{01.semantic-tokens-CThrY5Ts.js → 01.semantic-tokens-rGQpGJVg.js} +1 -1
- package/dist/assets/{01.using-shorthand-props-C_vbhNfL.js → 01.using-shorthand-props-C5dLPYVH.js} +1 -1
- package/dist/assets/{10.Combinations.stories-Bj20QCLY.js → 10.Combinations.stories-BCpu8o_W.js} +1 -1
- package/dist/assets/{10.fonts.guide-Dy8fgLU5.js → 10.fonts.guide-DDN5fND8.js} +1 -1
- package/dist/assets/{10.ssr-D9v_dR0o.js → 10.ssr-D-rANvZ-.js} +1 -1
- package/dist/assets/{11.languageFont.explorer-BZuqA2Qd.js → 11.languageFont.explorer-BV6Gwq5u.js} +1 -1
- package/dist/assets/{11.ssr.app-router-CU9S0P9E.js → 11.ssr.app-router-Ch1ZJjg-.js} +1 -1
- package/dist/assets/{20.libraries-CG6__ozS.js → 20.libraries-oHi972pc.js} +1 -1
- package/dist/assets/{30.icons.explorer-CK_LzlUE.js → 30.icons.explorer-CTyGJI0M.js} +1 -1
- package/dist/assets/{30.storybook-Be_FRDz_.js → 30.storybook-C0MSe3yp.js} +1 -1
- package/dist/assets/{40.illustrations.explorer-lGFuCzSa.js → 40.illustrations.explorer-1aFkROmz.js} +1 -1
- package/dist/assets/{90.advanced-C4czMsOy.js → 90.advanced-t0tp7qCO.js} +1 -1
- package/dist/assets/AlertDialog-8zNG4W6P.css +1 -0
- package/dist/assets/{AlertDialog.stories-DlRWBYYU.js → AlertDialog.stories-C5USsoA-.js} +1 -1
- package/dist/assets/Avatar-BZKmHoZm.css +1 -0
- package/dist/assets/Avatar-BkmMIq29.css +1 -0
- package/dist/assets/Avatar-D5vkZljP.js +1 -0
- package/dist/assets/Avatar-lFZ8Cfpv.js +6 -0
- package/dist/assets/{Avatar.stories-OTgx0pcM.js → Avatar.stories-CLQ3BvQW.js} +1 -1
- package/dist/assets/AvatarWithStatus-Dv8yodGu.css +1 -0
- package/dist/assets/{AvatarWithStatus.stories--mF91ETX.js → AvatarWithStatus.stories-BsgFOyBx.js} +5 -5
- package/dist/assets/Badge-kZt_FH50.css +1 -0
- package/dist/assets/{Badge.stories-D8nghiXL.js → Badge.stories-CsQItVr_.js} +2 -2
- package/dist/assets/Box-4GImUu2D.css +1 -0
- package/dist/assets/Box.stories-C3UUNdDi.js +44 -0
- package/dist/assets/Button-CawJKyho.css +1 -0
- package/dist/assets/{Button-DqwK0S70.js → Button-G5Zxq86f.js} +2 -2
- package/dist/assets/{Button-CHTJqu07.css → Button-GOFCl1lS.css} +1 -1
- package/dist/assets/Button-Oaj5OWvs.js +1 -0
- package/dist/assets/{Button.stories-oW-QBb5C.js → Button.stories-BuHavCSD.js} +1 -1
- package/dist/assets/{ButtonBase-CuGZo0xf.css → ButtonBase-CN93Hyoe.css} +1 -1
- package/dist/assets/ButtonBase-Desxs10d.js +8 -0
- package/dist/assets/Chips-DIrYdYig.css +1 -0
- package/dist/assets/{Chips.stories-DiprPB2i.js → Chips.stories-DwatZLP-.js} +1 -1
- package/dist/assets/{Color-YHDXOIA2-C2h0aGNO.js → Color-YHDXOIA2-CR40pFdp.js} +1 -1
- package/dist/assets/Dialog-B5rqi-V8.css +1 -0
- package/dist/assets/{Dialog.stories-CAPNnMI_.js → Dialog.stories-aheiL1C_.js} +13 -13
- package/dist/assets/{DocsRenderer-CFRXHY34-C35smYsV.js → DocsRenderer-CFRXHY34-C7iNFBWT.js} +1 -1
- package/dist/assets/{FieldAdditionalText-lW7Q1VGp.js → FieldAdditionalText-CK-mP7eE.js} +1 -1
- package/dist/assets/FieldAdditionalText-DmrAhCSm.css +1 -0
- package/dist/assets/{FieldAdditionalText.stories-DcGxrOlS.js → FieldAdditionalText.stories-JWcqGRDw.js} +1 -1
- package/dist/assets/{FieldButton-QHhW28uq.js → FieldButton-B9DsbnCd.js} +1 -1
- package/dist/assets/{FieldButton-k7TvuQHy.css → FieldButton-ClSNKPdl.css} +1 -1
- package/dist/assets/{FieldButton.stories-vBmg2O9Q.js → FieldButton.stories-B5JDNmNP.js} +1 -1
- package/dist/assets/FieldLayout-2zlcC5-S.js +1 -0
- package/dist/assets/FieldLayout-ayailSRB.css +1 -0
- package/dist/assets/{FieldLayout.stories-CtD6-C6l.js → FieldLayout.stories-oIX7x6Q6.js} +1 -1
- package/dist/assets/{FieldLayoutBase-DQbxDQVA.js → FieldLayoutBase-0r0SpleC.js} +3 -3
- package/dist/assets/FieldLayoutBase-DaHOfSqh.css +1 -0
- package/dist/assets/Heading-BDNRMwVu.js +2 -0
- package/dist/assets/{Heading-DeYpQLgb.css → Heading-DhbbSS03.css} +1 -1
- package/dist/assets/{Heading.stories-CROOXvlq.js → Heading.stories-BW49vEiT.js} +1 -1
- package/dist/assets/Icon-COBslmJH.css +1 -0
- package/dist/assets/Icon-DAQd7Eod.js +8 -0
- package/dist/assets/{Icon-RSC-BOyrffYC.js → Icon-RSC-DXv5b9K1.js} +1 -1
- package/dist/assets/Icon-VzZ0SATJ.css +1 -0
- package/dist/assets/Icon-qme4Scxh.js +1 -0
- package/dist/assets/{Icon.stories-BqehTDt3.js → Icon.stories-MzKcutu8.js} +1 -1
- package/dist/assets/{IconButton-CI9clg4P.js → IconButton-iyWiUe9X.js} +2 -2
- package/dist/assets/InputText-IEjR9ee0.js +5 -0
- package/dist/assets/{LayoutFlex-CaenMVBF.js → LayoutFlex-BaXqezhY.js} +1 -1
- package/dist/assets/{LayoutFlex-JnKYDcpC.js → LayoutFlex-pzKY-vUQ.js} +1 -1
- package/dist/assets/LayoutFlexItem-CzflYuZ_.js +1 -0
- package/dist/assets/LayoutFlexItem-Dci-Cv-V.css +1 -0
- package/dist/assets/LayoutGrid-C8hq1-LL.css +1 -0
- package/dist/assets/LayoutGrid-CULegRpi.css +1 -0
- package/dist/assets/LayoutGrid-ZAYmKrcj.js +1 -0
- package/dist/assets/{LayoutGrid.stories-Dv8lBJmB.js → LayoutGrid.stories-CSBUYfM6.js} +3 -3
- package/dist/assets/LayoutGridItem-DJDMWtVq.css +1 -0
- package/dist/assets/LayoutGridItem-m645Lhkq.js +1 -0
- package/dist/assets/Link-CPkXDszE.css +1 -0
- package/dist/assets/{Link.stories-DXbiFw9-.js → Link.stories-BGmSAnPH.js} +4 -4
- package/dist/assets/Loader-C5QrrxXJ.css +1 -0
- package/dist/assets/{Loader.stories-DvgUtUpE.js → Loader.stories-DaYtlzeB.js} +1 -1
- package/dist/assets/NumberField.stories-DIRO8IHc.js +203 -0
- package/dist/assets/OnboardingTooltip-BfzcF9sW.css +1 -0
- package/dist/assets/{OnboardingTooltip-IYSphueI.js → OnboardingTooltip-BqDG-2Rd.js} +1 -1
- package/dist/assets/{OnboardingTooltip.stories-DnfLcLUg.js → OnboardingTooltip.stories-Dx5F7YBG.js} +1 -1
- package/dist/assets/{OnboardingTooltip.tests.stories-DobHu21P.js → OnboardingTooltip.tests.stories-DvcLnD5j.js} +1 -1
- package/dist/assets/{OnboardingTour-2YaW_XWj.js → OnboardingTour-B_yyU1AU.js} +1 -1
- package/dist/assets/{OnboardingTour-Dr4ZlIUd.css → OnboardingTour-CnsU5p_A.css} +1 -1
- package/dist/assets/{OnboardingTour.stories-BUBpjiez.js → OnboardingTour.stories-LGCUxWl4.js} +1 -1
- package/dist/assets/{OnboardingTour.tests.stories-Buou9m4A.js → OnboardingTour.tests.stories-C9CKn7JQ.js} +1 -1
- package/dist/assets/PasswordField.stories-CvnCM5rD.js +203 -0
- package/dist/assets/PreplyLogo-Cecouk_S.css +1 -0
- package/dist/assets/{PreplyLogo.stories-BReIYVeE.js → PreplyLogo.stories-ZhZHvw_M.js} +1 -1
- package/dist/assets/{ProgressBar-D5aTIWY3.css → ProgressBar-DYzJL8gA.css} +1 -1
- package/dist/assets/{ProgressBar.stories-wrAgHPrO.js → ProgressBar.stories-XmMUjDS5.js} +1 -1
- package/dist/assets/{ProgressSteps-DWp2S1-b.js → ProgressSteps-CVWVi5_G.js} +1 -1
- package/dist/assets/ProgressSteps-Dip-BZlm.css +1 -0
- package/dist/assets/{ProgressSteps.stories-CsWQLVog.js → ProgressSteps.stories-B57q5WFr.js} +1 -1
- package/dist/assets/SelectField-CTB098t-.css +1 -0
- package/dist/assets/SelectField.stories-CqnGEFQn.js +182 -0
- package/dist/assets/Spinner-BuihcWyQ.css +1 -0
- package/dist/assets/{Spinner-Dsa9X0G6.js → Spinner-C3p2WoxW.js} +1 -1
- package/dist/assets/Steps-Bd4yQjwc.css +1 -0
- package/dist/assets/{Steps-ifU4R9DW.js → Steps-DbST4vmL.js} +1 -1
- package/dist/assets/{Steps.stories-DkI3jK5X.js → Steps.stories-gWR5Lpwz.js} +1 -1
- package/dist/assets/Text-BeAjllqh.js +1 -0
- package/dist/assets/{Text-BWNSh4D5.css → Text-CgAyAgxF.css} +1 -1
- package/dist/assets/Text-D3ATKGXs.js +1 -0
- package/dist/assets/{Text.stories-B8iegpqH.js → Text.stories-BlLgBmMi.js} +1 -1
- package/dist/assets/TextField-BiEzDuCh.js +1 -0
- package/dist/assets/TextField-C3owY_ZE.css +1 -0
- package/dist/assets/{TextField.stories-Beeq1JfY.js → TextField.stories-CPD818W_.js} +1 -1
- package/dist/assets/TextHighlighted-B_WQpKk8.css +1 -0
- package/dist/assets/TextHighlighted-DoFzmVL0.js +1 -0
- package/dist/assets/{TextHighlighted.stories-DdbLv0RQ.js → TextHighlighted.stories-DTNcmEX3.js} +3 -3
- package/dist/assets/TextInline-BqUzWrD4.css +1 -0
- package/dist/assets/{TextInline.stories-aCVFO11z.js → TextInline.stories-DqX-qocx.js} +1 -1
- package/dist/assets/TextareaField.stories-D95m8D1f.js +221 -0
- package/dist/assets/Toast-BsJOXveW.css +1 -0
- package/dist/assets/{Toast.stories-BZFlc1-_.js → Toast.stories-CGXB3Oyz.js} +9 -9
- package/dist/assets/Tooltip-9him0tBb.css +1 -0
- package/dist/assets/{Tooltip-BvCJt9jJ.js → Tooltip-kdQF0n0X.js} +1 -1
- package/dist/assets/{Tooltip.stories-Crh2sW9L.js → Tooltip.stories-ChMEb5wa.js} +1 -1
- package/dist/assets/{Tooltip.tests.stories-bmaSwgkR.js → Tooltip.tests.stories-DRKkU6_h.js} +1 -1
- package/dist/assets/{breakpoints-CIpR6Rpt.js → breakpoints-BKtvPn4z.js} +1 -1
- package/dist/assets/{breakpoints-BELcY-aB.js → breakpoints-CvGR1154.js} +1 -1
- package/dist/assets/{breakpoints-_joXL0S9.js → breakpoints-Dw3ULM7j.js} +1 -1
- package/dist/assets/{changelog-DdodvQsh.js → changelog-DXXuLjII.js} +1 -1
- package/dist/assets/{entry-preview-DNvfsvqm.js → entry-preview-DKCl8pnk.js} +1 -1
- package/dist/assets/{getTokenVar-RiIceD0Y.js → getTokenVar-BWljsLZ6.js} +1 -1
- package/dist/assets/{hover-D2OphZ3W.js → hover-BRNG4vFt.js} +1 -1
- package/dist/assets/{hover-DDVoGg-g.js → hover-BpH2YvND.js} +1 -1
- package/dist/assets/{hover-BIABQ7bm.js → hover-Cun_Hxa2.js} +1 -1
- package/dist/assets/{iframe-B08s_jqc.js → iframe-DbVfH8B5.js} +2 -2
- package/dist/assets/{index-BGAhMoqL.js → index-UAdYqHL0.js} +3 -3
- package/dist/assets/{index-DmM0DblE.js → index-lpmehhNH.js} +1 -1
- package/dist/assets/{intro-9BhCdV9M.js → intro-CQsqeQsV.js} +1 -1
- package/dist/assets/layout-relative-Cf09gtOc.css +1 -0
- package/dist/assets/layout-relative-DA7rS9QX.js +1 -0
- package/dist/assets/layout-relative-Jxb51_Sh.css +1 -0
- package/dist/assets/layout-relative-mSX9oB2N.css +1 -0
- package/dist/assets/layout-relative.module-CYNzEGVH.js +1 -0
- package/dist/assets/layout-relative.module-yZwngsDw-BiwrSIEl.js +1 -0
- package/dist/assets/{migrating-from-less-DX0PnZZJ.js → migrating-from-less-DAZke_bf.js} +1 -1
- package/dist/assets/playground-w72anE0z.css +1 -0
- package/dist/assets/{playground.stories-IM0Bn8my.js → playground.stories-Dpb3xI2s.js} +2 -2
- package/dist/assets/{preview-DSwUvj7R.js → preview-DchamjVK.js} +1 -1
- package/dist/assets/{preview-D_cPBI7P.js → preview-HuUbG8ej.js} +2 -2
- package/dist/assets/{preview-E8zsGlo4.js → preview-kCY-Nq0t.js} +1 -1
- package/dist/assets/text-accent-CuYWdzBU.js +1 -0
- package/dist/assets/text-accent-DbbdQjKI.js +1 -0
- package/dist/assets/text-accent-da8yAj-M.css +1 -0
- package/dist/assets/text-centered-6MZg9O0U.js +1 -0
- package/dist/assets/text-centered-CrBlvRDP.js +1 -0
- package/dist/assets/text-centered-DUL478eo.css +1 -0
- package/dist/assets/text-centered-RwJDmlB2.css +1 -0
- package/dist/assets/{tokens-yG_wYklp.js → tokens-BaIvp8uk.js} +1 -1
- package/dist/assets/{tokens-D2SDDihU.js → tokens-BqWh6RWP.js} +1 -1
- package/dist/assets/{tokens-DRcTh2ws.js → tokens-KVFCTIK3.js} +1 -1
- package/dist/assets/{usePortalElement-aOX_O1I5.js → usePortalElement-DBJJ4TO9.js} +1 -1
- package/dist/assets/{welcome-CGkWDS9u.js → welcome-CaHVZaZ7.js} +1 -1
- package/dist/assets/{zeroheight-CH9deXT2.js → zeroheight-DobKPt2E.js} +1 -1
- package/dist/iframe.html +1 -1
- package/dist/preview-stats.json +1350 -1350
- package/dist/project.json +1 -1
- package/package.json +3 -3
- package/dist/assets/AlertDialog-CSUTu5O6.css +0 -1
- package/dist/assets/Avatar-CmnrM37w.js +0 -6
- package/dist/assets/Avatar-JE3Hcbkv.css +0 -1
- package/dist/assets/Avatar-_W1s5JpT.css +0 -1
- package/dist/assets/Avatar-iqWOn9Tl.js +0 -1
- package/dist/assets/AvatarWithStatus-pddO2Nza.css +0 -1
- package/dist/assets/Badge-DcbG4N4-.css +0 -1
- package/dist/assets/Box-CJkXzUjZ.css +0 -1
- package/dist/assets/Box.stories-DxW6l-HA.js +0 -44
- package/dist/assets/Button-B1mdczvv.js +0 -1
- package/dist/assets/Button-C6kEKm6h.css +0 -1
- package/dist/assets/ButtonBase-D31GBWHv.js +0 -8
- package/dist/assets/Chips-Dejf8Sh_.css +0 -1
- package/dist/assets/Dialog-DwZQYtV6.css +0 -1
- package/dist/assets/FieldAdditionalText-CUu6JGoC.css +0 -1
- package/dist/assets/FieldLayout-BGkL1EMg.js +0 -1
- package/dist/assets/FieldLayout-CG9n-WOS.css +0 -1
- package/dist/assets/FieldLayoutBase-CoIn-2cd.css +0 -1
- package/dist/assets/Heading-CifnBvGj.js +0 -2
- package/dist/assets/Icon-BVvspUlo.js +0 -1
- package/dist/assets/Icon-BwwIOKM_.js +0 -8
- package/dist/assets/Icon-ByJ3-8OT.css +0 -1
- package/dist/assets/Icon-DghDQiVd.css +0 -1
- package/dist/assets/InputText-DmOW3mdD.js +0 -5
- package/dist/assets/LayoutFlexItem-BM0Abp7Y.js +0 -1
- package/dist/assets/LayoutFlexItem-Dv67D5k3.css +0 -1
- package/dist/assets/LayoutGrid-BG6JKtyy.css +0 -1
- package/dist/assets/LayoutGrid-BhioG4bL.js +0 -1
- package/dist/assets/LayoutGrid-CJQpEAmZ.css +0 -1
- package/dist/assets/LayoutGridItem-BDT0sqW-.css +0 -1
- package/dist/assets/LayoutGridItem-CdnUXNtY.js +0 -1
- package/dist/assets/Link-vYql_2wB.css +0 -1
- package/dist/assets/Loader-DLP0PI5-.css +0 -1
- package/dist/assets/NumberField.stories-BQIOdo90.js +0 -203
- package/dist/assets/OnboardingTooltip-RxaiJe-3.css +0 -1
- package/dist/assets/PasswordField.stories-BevSwKGm.js +0 -203
- package/dist/assets/PreplyLogo-CBB3sPr3.css +0 -1
- package/dist/assets/ProgressSteps-s9ACrzTy.css +0 -1
- package/dist/assets/SelectField-N7X7yUPn.css +0 -1
- package/dist/assets/SelectField.stories-9iipR200.js +0 -182
- package/dist/assets/Spinner-CVHMc-T0.css +0 -1
- package/dist/assets/Steps-CQWsOQKy.css +0 -1
- package/dist/assets/Text-CDqVYAcD.js +0 -1
- package/dist/assets/Text-CdCGNBj4.js +0 -1
- package/dist/assets/TextField-DAwVD2CM.css +0 -1
- package/dist/assets/TextField-q53ruCuh.js +0 -1
- package/dist/assets/TextHighlighted-BHCtybuo.css +0 -1
- package/dist/assets/TextHighlighted-BdF2_CZo.js +0 -1
- package/dist/assets/TextInline-CDFHfvph.css +0 -1
- package/dist/assets/TextareaField.stories-bA314Jtt.js +0 -221
- package/dist/assets/Toast-BBn7aSpe.css +0 -1
- package/dist/assets/Tooltip-Mm-tBuF2.css +0 -1
- package/dist/assets/layout-relative-0-BGcS53.css +0 -1
- package/dist/assets/layout-relative-D-nYASza.css +0 -1
- package/dist/assets/layout-relative-DZ8FL-vJ.js +0 -1
- package/dist/assets/layout-relative-DiL5t_eA.css +0 -1
- package/dist/assets/layout-relative.module-Bf3FithH.js +0 -1
- package/dist/assets/layout-relative.module-CXJ9jc4G--YD8TQc4.js +0 -1
- package/dist/assets/playground-BQGD3iU0.css +0 -1
- package/dist/assets/text-accent-0oTyB6kb.css +0 -1
- package/dist/assets/text-accent-BMcamJQk.js +0 -1
- package/dist/assets/text-accent-CrnHOlvW.js +0 -1
- package/dist/assets/text-centered-1sU8-E1D.js +0 -1
- package/dist/assets/text-centered-BSdMMoT9.js +0 -1
- package/dist/assets/text-centered-BttmHjSJ.css +0 -1
- package/dist/assets/text-centered-V2JhT89g.css +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{j as f}from"./jsx-runtime-BTJTZTIL.js";import{r as w}from"./index-Cb9e4tly.js";import{g as I,a as k}from"./text-accent-DbbdQjKI.js";import{f as h}from"./filterHTMLAttributes-DYdLqcvH.js";import{r as N}from"./render-icon-BT0Aq7PA.js";import{m as x,s as z,b as V}from"./classNames-BUL1Zq7e.js";import{w as s}from"./componentNames-Bwls0I02.js";import{g as T}from"./index-DdzHuZ-Y.js";import{I as S}from"./defaults-B1rzzf6M.js";const q="_Icon_1apu0_4",U={Icon:q,"Icon--size-2xs":"_Icon--size-2xs_1apu0_16","Icon--size-xs":"_Icon--size-xs_1apu0_22","Icon--size-s":"_Icon--size-s_1apu0_28","Icon--size-m":"_Icon--size-m_1apu0_34","Icon--size-l":"_Icon--size-l_1apu0_40","Icon--size-16":"_Icon--size-16_1apu0_46","Icon--size-24":"_Icon--size-24_1apu0_52","Icon--size-32":"_Icon--size-32_1apu0_58","Icon--size-48":"_Icon--size-48_1apu0_64"},P="_ExpColor_1sbgg_3",R={ExpColor:P,"ExpColor--exp-color-grey-0":"_ExpColor--exp-color-grey-0_1sbgg_3","ExpColor--exp-color-grey-50":"_ExpColor--exp-color-grey-50_1sbgg_6","ExpColor--exp-color-grey-100":"_ExpColor--exp-color-grey-100_1sbgg_9","ExpColor--exp-color-grey-200":"_ExpColor--exp-color-grey-200_1sbgg_12","ExpColor--exp-color-grey-300":"_ExpColor--exp-color-grey-300_1sbgg_15","ExpColor--exp-color-grey-400":"_ExpColor--exp-color-grey-400_1sbgg_18","ExpColor--exp-color-grey-500":"_ExpColor--exp-color-grey-500_1sbgg_21","ExpColor--exp-color-grey-600":"_ExpColor--exp-color-grey-600_1sbgg_24","ExpColor--exp-color-grey-700":"_ExpColor--exp-color-grey-700_1sbgg_27","ExpColor--exp-color-grey-800":"_ExpColor--exp-color-grey-800_1sbgg_30","ExpColor--exp-color-grey-900":"_ExpColor--exp-color-grey-900_1sbgg_33","ExpColor--exp-color-pink-50":"_ExpColor--exp-color-pink-50_1sbgg_36","ExpColor--exp-color-pink-100":"_ExpColor--exp-color-pink-100_1sbgg_39","ExpColor--exp-color-pink-200":"_ExpColor--exp-color-pink-200_1sbgg_42","ExpColor--exp-color-pink-300":"_ExpColor--exp-color-pink-300_1sbgg_45","ExpColor--exp-color-pink-400":"_ExpColor--exp-color-pink-400_1sbgg_48","ExpColor--exp-color-pink-500":"_ExpColor--exp-color-pink-500_1sbgg_51","ExpColor--exp-color-pink-600":"_ExpColor--exp-color-pink-600_1sbgg_54","ExpColor--exp-color-pink-700":"_ExpColor--exp-color-pink-700_1sbgg_57","ExpColor--exp-color-pink-800":"_ExpColor--exp-color-pink-800_1sbgg_60","ExpColor--exp-color-yellow-50":"_ExpColor--exp-color-yellow-50_1sbgg_63","ExpColor--exp-color-yellow-100":"_ExpColor--exp-color-yellow-100_1sbgg_66","ExpColor--exp-color-yellow-200":"_ExpColor--exp-color-yellow-200_1sbgg_69","ExpColor--exp-color-yellow-300":"_ExpColor--exp-color-yellow-300_1sbgg_72","ExpColor--exp-color-yellow-400":"_ExpColor--exp-color-yellow-400_1sbgg_75","ExpColor--exp-color-yellow-500":"_ExpColor--exp-color-yellow-500_1sbgg_78","ExpColor--exp-color-yellow-600":"_ExpColor--exp-color-yellow-600_1sbgg_81","ExpColor--exp-color-yellow-700":"_ExpColor--exp-color-yellow-700_1sbgg_84","ExpColor--exp-color-yellow-800":"_ExpColor--exp-color-yellow-800_1sbgg_87","ExpColor--exp-color-blue-50":"_ExpColor--exp-color-blue-50_1sbgg_90","ExpColor--exp-color-blue-100":"_ExpColor--exp-color-blue-100_1sbgg_93","ExpColor--exp-color-blue-200":"_ExpColor--exp-color-blue-200_1sbgg_96","ExpColor--exp-color-blue-300":"_ExpColor--exp-color-blue-300_1sbgg_99","ExpColor--exp-color-blue-400":"_ExpColor--exp-color-blue-400_1sbgg_102","ExpColor--exp-color-blue-500":"_ExpColor--exp-color-blue-500_1sbgg_105","ExpColor--exp-color-blue-600":"_ExpColor--exp-color-blue-600_1sbgg_108","ExpColor--exp-color-blue-700":"_ExpColor--exp-color-blue-700_1sbgg_111","ExpColor--exp-color-blue-800":"_ExpColor--exp-color-blue-800_1sbgg_114","ExpColor--exp-color-teal-50":"_ExpColor--exp-color-teal-50_1sbgg_117","ExpColor--exp-color-teal-100":"_ExpColor--exp-color-teal-100_1sbgg_120","ExpColor--exp-color-teal-200":"_ExpColor--exp-color-teal-200_1sbgg_123","ExpColor--exp-color-teal-300":"_ExpColor--exp-color-teal-300_1sbgg_126","ExpColor--exp-color-teal-400":"_ExpColor--exp-color-teal-400_1sbgg_129","ExpColor--exp-color-teal-500":"_ExpColor--exp-color-teal-500_1sbgg_132","ExpColor--exp-color-teal-600":"_ExpColor--exp-color-teal-600_1sbgg_135","ExpColor--exp-color-teal-700":"_ExpColor--exp-color-teal-700_1sbgg_138","ExpColor--exp-color-teal-800":"_ExpColor--exp-color-teal-800_1sbgg_141","ExpColor--exp-color-red-50":"_ExpColor--exp-color-red-50_1sbgg_144","ExpColor--exp-color-red-100":"_ExpColor--exp-color-red-100_1sbgg_147","ExpColor--exp-color-red-200":"_ExpColor--exp-color-red-200_1sbgg_150","ExpColor--exp-color-red-300":"_ExpColor--exp-color-red-300_1sbgg_153","ExpColor--exp-color-red-400":"_ExpColor--exp-color-red-400_1sbgg_156","ExpColor--exp-color-red-500":"_ExpColor--exp-color-red-500_1sbgg_159","ExpColor--exp-color-red-600":"_ExpColor--exp-color-red-600_1sbgg_162","ExpColor--exp-color-red-700":"_ExpColor--exp-color-red-700_1sbgg_165","ExpColor--exp-color-red-800":"_ExpColor--exp-color-red-800_1sbgg_168"},j="ExpColor",A=o=>x(R,j,[z("exp-color",o)]),u=w.forwardRef(function({svg:r,size:e=S,accent:l,expColor:n,color:c,label:a,dataset:t,..._},g){const p=!Number.isNaN(Number(e)),i=p?{width:`${e}px`,height:`${e}px`}:{},v=x(U,s.Icon,[V(`size-${e}`,void 0,!p)]),C=l?void 0:c,E=I(!1,l),d=k(C),b=l?[]:A(n),y=[...v,...E,...d,...b],m={...h(_),className:y.join(" "),...T(t,{preplyDsComponent:s.Icon}),ref:g};if(!r)throw new Error("Icon prop svg is mandatory");return f.jsx("span",{...m,role:"img",style:i,"aria-hidden":!a,"aria-label":a,children:N(r,{"aria-hidden":"true",focusable:"false"})})});try{u.displayName="Icon",u.__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:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"critical"'},{value:'"inverted"'},{value:'"disabled"'},{value:'"selected"'},{value:'"accent"'},{value:'"accentDark"'},{value:'"placeholder"'},{value:'"positive"'},{value:'"info"'},{value:'"warning"'},{value:'"branded"'},{value:'"error"'}]}},expColor:{defaultValue:null,description:"If passed along with `accent`, `accent` takes precedence.",name:"expColor",required:!1,type:{name:"enum",value:[{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-100"'},{value:'"yellow-200"'},{value:'"yellow-300"'},{value:'"yellow-400"'},{value:'"yellow-500"'},{value:'"yellow-600"'},{value:'"yellow-700"'},{value:'"yellow-800"'},{value:'"blue-50"'},{value:'"blue-100"'},{value:'"blue-200"'},{value:'"blue-300"'},{value:'"blue-400"'},{value:'"blue-500"'},{value:'"blue-600"'},{value:'"blue-700"'},{value:'"blue-800"'},{value:'"teal-50"'},{value:'"teal-100"'},{value:'"teal-200"'},{value:'"teal-300"'},{value:'"teal-400"'},{value:'"teal-500"'},{value:'"teal-600"'},{value:'"teal-700"'},{value:'"teal-800"'},{value:'"red-50"'},{value:'"red-100"'},{value:'"red-200"'},{value:'"red-300"'},{value:'"red-400"'},{value:'"red-500"'},{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:'"yellow-100"'},{value:'"yellow-200"'},{value:'"yellow-300"'},{value:'"yellow-400"'},{value:'"yellow-500"'},{value:'"blue-100"'},{value:'"blue-200"'},{value:'"blue-300"'},{value:'"blue-400"'},{value:'"blue-500"'},{value:'"teal-100"'},{value:'"teal-200"'},{value:'"teal-300"'},{value:'"teal-400"'},{value:'"teal-500"'},{value:'"red-100"'},{value:'"red-200"'},{value:'"red-300"'},{value:'"red-400"'},{value:'"red-500"'},{value:'"white"'},{value:'"gray-100"'},{value:'"gray-200"'},{value:'"gray-300"'},{value:'"gray-400"'},{value:'"gray-500"'},{value:'"gray-600"'},{value:'"green-100"'},{value:'"green-200"'},{value:'"green-300"'},{value:'"green-400"'},{value:'"green-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{u as I};
|
|
@@ -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-UAdYqHL0.js";import{ServerComponent as i}from"./Icon.stories-MzKcutu8.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-DbVfH8B5.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-DAQd7Eod.js";import"./text-accent-DbbdQjKI.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}),`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Icon_1apu0_4{display:inline-block;vertical-align:text-top}._Icon_1apu0_4 svg{display:block;width:100%;min-width:100%;max-width:100%;max-height:100%;fill:currentColor}._Icon--size-2xs_1apu0_16{width:var(--b21f61);height:var(--b21f61);min-width:var(--b21f61);max-width:var(--b21f61)}._Icon--size-xs_1apu0_22{width:var(--766f3b);height:var(--766f3b);min-width:var(--766f3b);max-width:var(--766f3b)}._Icon--size-s_1apu0_28{width:var(--7c1b1c);height:var(--7c1b1c);min-width:var(--7c1b1c);max-width:var(--7c1b1c)}._Icon--size-m_1apu0_34{width:var(--2152b7);height:var(--2152b7);min-width:var(--2152b7);max-width:var(--2152b7)}._Icon--size-l_1apu0_40{width:var(--8f525f);height:var(--8f525f);min-width:var(--8f525f);max-width:var(--8f525f)}._Icon--size-16_1apu0_46{width:var(--656bbc);height:var(--656bbc);min-width:var(--656bbc);max-width:var(--656bbc)}._Icon--size-24_1apu0_52{width:var(--81dc82);height:var(--81dc82);min-width:var(--81dc82);max-width:var(--81dc82)}._Icon--size-32_1apu0_58{width:var(--2a6452);height:var(--2a6452);min-width:var(--2a6452);max-width:var(--2a6452)}._Icon--size-48_1apu0_64{width:var(--03d2e4);height:var(--03d2e4);min-width:var(--03d2e4);max-width:var(--03d2e4)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-0_1sbgg_3{color:var(--d751dc)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-50_1sbgg_6{color:var(--d4e1b8)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-100_1sbgg_9{color:var(--e986ec)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-200_1sbgg_12{color:var(--8a8cb8)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-300_1sbgg_15{color:var(--e7dcf4)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-400_1sbgg_18{color:var(--d48a93)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-500_1sbgg_21{color:var(--9b582c)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-600_1sbgg_24{color:var(--bd0a12)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-700_1sbgg_27{color:var(--5540cb)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-800_1sbgg_30{color:var(--3f9d59)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-900_1sbgg_33{color:var(--0d2c1d)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-50_1sbgg_36{color:var(--696262)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-100_1sbgg_39{color:var(--2a8bdc)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-200_1sbgg_42{color:var(--9c55fe)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-300_1sbgg_45{color:var(--55b1b2)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-400_1sbgg_48{color:var(--e2e617)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-500_1sbgg_51{color:var(--28075b)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-600_1sbgg_54{color:var(--0d21bc)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-700_1sbgg_57{color:var(--dcc28c)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-800_1sbgg_60{color:var(--e2ccaa)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-50_1sbgg_63{color:var(--f73f81)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-100_1sbgg_66{color:var(--05c737)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-200_1sbgg_69{color:var(--32d8a2)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-300_1sbgg_72{color:var(--92f9a7)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-400_1sbgg_75{color:var(--4db3c1)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-500_1sbgg_78{color:var(--2d6e08)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-600_1sbgg_81{color:var(--2db5c2)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-700_1sbgg_84{color:var(--b31329)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-800_1sbgg_87{color:var(--66ebdf)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-50_1sbgg_90{color:var(--6ae6f0)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-100_1sbgg_93{color:var(--b916ba)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-200_1sbgg_96{color:var(--c6fc9c)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-300_1sbgg_99{color:var(--b773b2)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-400_1sbgg_102{color:var(--e848c4)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-500_1sbgg_105{color:var(--e57766)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-600_1sbgg_108{color:var(--fdf041)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-700_1sbgg_111{color:var(--cd5904)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-800_1sbgg_114{color:var(--440fc3)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-50_1sbgg_117{color:var(--9fac3a)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-100_1sbgg_120{color:var(--32b0b3)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-200_1sbgg_123{color:var(--873ad3)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-300_1sbgg_126{color:var(--202011)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-400_1sbgg_129{color:var(--4f3eb4)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-500_1sbgg_132{color:var(--c47d0d)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-600_1sbgg_135{color:var(--985403)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-700_1sbgg_138{color:var(--2c9147)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-800_1sbgg_141{color:var(--0d9ea5)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-50_1sbgg_144{color:var(--f951e9)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-100_1sbgg_147{color:var(--3aa891)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-200_1sbgg_150{color:var(--ba4c34)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-300_1sbgg_153{color:var(--943cfc)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-400_1sbgg_156{color:var(--8af651)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-500_1sbgg_159{color:var(--f5bfe7)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-600_1sbgg_162{color:var(--1bd221)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-700_1sbgg_165{color:var(--38cd90)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-800_1sbgg_168{color:var(--e9fcc6)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as I}from"./jsx-runtime-BTJTZTIL.js";import{r as w}from"./index-Cb9e4tly.js";import{g as f,a as N}from"./text-accent-CuYWdzBU.js";import{f as k}from"./filterHTMLAttributes-UOns5Q7s.js";import{r as z}from"./render-icon-Du0nasoi.js";import{m as s,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_1sbgg_3",D={ExpColor:A,"ExpColor--exp-color-grey-0":"_ExpColor--exp-color-grey-0_1sbgg_3","ExpColor--exp-color-grey-50":"_ExpColor--exp-color-grey-50_1sbgg_6","ExpColor--exp-color-grey-100":"_ExpColor--exp-color-grey-100_1sbgg_9","ExpColor--exp-color-grey-200":"_ExpColor--exp-color-grey-200_1sbgg_12","ExpColor--exp-color-grey-300":"_ExpColor--exp-color-grey-300_1sbgg_15","ExpColor--exp-color-grey-400":"_ExpColor--exp-color-grey-400_1sbgg_18","ExpColor--exp-color-grey-500":"_ExpColor--exp-color-grey-500_1sbgg_21","ExpColor--exp-color-grey-600":"_ExpColor--exp-color-grey-600_1sbgg_24","ExpColor--exp-color-grey-700":"_ExpColor--exp-color-grey-700_1sbgg_27","ExpColor--exp-color-grey-800":"_ExpColor--exp-color-grey-800_1sbgg_30","ExpColor--exp-color-grey-900":"_ExpColor--exp-color-grey-900_1sbgg_33","ExpColor--exp-color-pink-50":"_ExpColor--exp-color-pink-50_1sbgg_36","ExpColor--exp-color-pink-100":"_ExpColor--exp-color-pink-100_1sbgg_39","ExpColor--exp-color-pink-200":"_ExpColor--exp-color-pink-200_1sbgg_42","ExpColor--exp-color-pink-300":"_ExpColor--exp-color-pink-300_1sbgg_45","ExpColor--exp-color-pink-400":"_ExpColor--exp-color-pink-400_1sbgg_48","ExpColor--exp-color-pink-500":"_ExpColor--exp-color-pink-500_1sbgg_51","ExpColor--exp-color-pink-600":"_ExpColor--exp-color-pink-600_1sbgg_54","ExpColor--exp-color-pink-700":"_ExpColor--exp-color-pink-700_1sbgg_57","ExpColor--exp-color-pink-800":"_ExpColor--exp-color-pink-800_1sbgg_60","ExpColor--exp-color-yellow-50":"_ExpColor--exp-color-yellow-50_1sbgg_63","ExpColor--exp-color-yellow-100":"_ExpColor--exp-color-yellow-100_1sbgg_66","ExpColor--exp-color-yellow-200":"_ExpColor--exp-color-yellow-200_1sbgg_69","ExpColor--exp-color-yellow-300":"_ExpColor--exp-color-yellow-300_1sbgg_72","ExpColor--exp-color-yellow-400":"_ExpColor--exp-color-yellow-400_1sbgg_75","ExpColor--exp-color-yellow-500":"_ExpColor--exp-color-yellow-500_1sbgg_78","ExpColor--exp-color-yellow-600":"_ExpColor--exp-color-yellow-600_1sbgg_81","ExpColor--exp-color-yellow-700":"_ExpColor--exp-color-yellow-700_1sbgg_84","ExpColor--exp-color-yellow-800":"_ExpColor--exp-color-yellow-800_1sbgg_87","ExpColor--exp-color-blue-50":"_ExpColor--exp-color-blue-50_1sbgg_90","ExpColor--exp-color-blue-100":"_ExpColor--exp-color-blue-100_1sbgg_93","ExpColor--exp-color-blue-200":"_ExpColor--exp-color-blue-200_1sbgg_96","ExpColor--exp-color-blue-300":"_ExpColor--exp-color-blue-300_1sbgg_99","ExpColor--exp-color-blue-400":"_ExpColor--exp-color-blue-400_1sbgg_102","ExpColor--exp-color-blue-500":"_ExpColor--exp-color-blue-500_1sbgg_105","ExpColor--exp-color-blue-600":"_ExpColor--exp-color-blue-600_1sbgg_108","ExpColor--exp-color-blue-700":"_ExpColor--exp-color-blue-700_1sbgg_111","ExpColor--exp-color-blue-800":"_ExpColor--exp-color-blue-800_1sbgg_114","ExpColor--exp-color-teal-50":"_ExpColor--exp-color-teal-50_1sbgg_117","ExpColor--exp-color-teal-100":"_ExpColor--exp-color-teal-100_1sbgg_120","ExpColor--exp-color-teal-200":"_ExpColor--exp-color-teal-200_1sbgg_123","ExpColor--exp-color-teal-300":"_ExpColor--exp-color-teal-300_1sbgg_126","ExpColor--exp-color-teal-400":"_ExpColor--exp-color-teal-400_1sbgg_129","ExpColor--exp-color-teal-500":"_ExpColor--exp-color-teal-500_1sbgg_132","ExpColor--exp-color-teal-600":"_ExpColor--exp-color-teal-600_1sbgg_135","ExpColor--exp-color-teal-700":"_ExpColor--exp-color-teal-700_1sbgg_138","ExpColor--exp-color-teal-800":"_ExpColor--exp-color-teal-800_1sbgg_141","ExpColor--exp-color-red-50":"_ExpColor--exp-color-red-50_1sbgg_144","ExpColor--exp-color-red-100":"_ExpColor--exp-color-red-100_1sbgg_147","ExpColor--exp-color-red-200":"_ExpColor--exp-color-red-200_1sbgg_150","ExpColor--exp-color-red-300":"_ExpColor--exp-color-red-300_1sbgg_153","ExpColor--exp-color-red-400":"_ExpColor--exp-color-red-400_1sbgg_156","ExpColor--exp-color-red-500":"_ExpColor--exp-color-red-500_1sbgg_159","ExpColor--exp-color-red-600":"_ExpColor--exp-color-red-600_1sbgg_162","ExpColor--exp-color-red-700":"_ExpColor--exp-color-red-700_1sbgg_165","ExpColor--exp-color-red-800":"_ExpColor--exp-color-red-800_1sbgg_168"},L="ExpColor",O=r=>s(D,L,[h("exp-color",r)]),R="_Icon_1apu0_4",T={Icon:R,"Icon--size-2xs":"_Icon--size-2xs_1apu0_16","Icon--size-xs":"_Icon--size-xs_1apu0_22","Icon--size-s":"_Icon--size-s_1apu0_28","Icon--size-m":"_Icon--size-m_1apu0_34","Icon--size-l":"_Icon--size-l_1apu0_40","Icon--size-16":"_Icon--size-16_1apu0_46","Icon--size-24":"_Icon--size-24_1apu0_52","Icon--size-32":"_Icon--size-32_1apu0_58","Icon--size-48":"_Icon--size-48_1apu0_64"},P=w.forwardRef(function({svg:e,size:o=j,accent:l,expColor:c,color:g,label:p,dataset:C,...E},a){const x=!Number.isNaN(Number(o)),n=x?{width:`${o}px`,height:`${o}px`}:{},b=s(T,_.Icon,[$(`size-${o}`,void 0,!x)]),t=l?void 0:g,i=f(!1,l),m=N(t),u=l?[]:O(c),y=[...b,...i,...m,...u],d={...k(E),className:y.join(" "),...v(C,{preplyDsComponent:_.Icon}),ref:a};if(!e)throw new Error("Icon prop svg is mandatory");return I.jsx("span",{...d,role:"img",style:n,"aria-hidden":!p,"aria-label":p,children:z(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};
|
|
@@ -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-DAQd7Eod.js";import{E as h}from"./options-DSKYF8ow.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./text-accent-DbbdQjKI.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,8 +1,8 @@
|
|
|
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-Desxs10d.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:'"large"'},{value:'"medium"'},{value:'"small"'},{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"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler<Element>"}]}},variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"quaternary"'},{value:'"ghost"'},{value:'"plain"'},{value:'"dangerous"'},{value:'"critical"'},{value:'"onColor"'},{value:'"classroom"'},{value:'"primaryB2b"'},{value:'"primaryTutor"'},{value:'"inverted"'},{value:'"newFeature"'},{value:'"ai"'}]}},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"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},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\`.
|
|
5
5
|
@example // Render as a react router link component
|
|
6
6
|
import { Link } from 'react-router-dom';
|
|
7
7
|
|
|
8
|
-
<ButtonBase as={<Link to="/home" />} />`,name:"as",required:!1,type:{name:"enum",value:[{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},url:{defaultValue:null,description:"@deprecated Use `href` instead",name:"url",required:!1,type:{name:"enum",value:[{value:"string"}]}},a11yLabel:{defaultValue:null,description:"@deprecated Use `assistiveText` instead",name:"a11yLabel",required:!1,type:{name:"enum",value:[{value:"string"}]}},svg:{defaultValue:null,description:"",name:"svg",required:!0,type:{name:"enum",value:[{value:"ComponentClass<SVGAttributes<SVGElement>, any>"},{value:"FunctionComponent<SVGAttributes<SVGElement>>"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},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:
|
|
8
|
+
<ButtonBase as={<Link to="/home" />} />`,name:"as",required:!1,type:{name:"enum",value:[{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},url:{defaultValue:null,description:"@deprecated Use `href` instead",name:"url",required:!1,type:{name:"enum",value:[{value:"string"}]}},a11yLabel:{defaultValue:null,description:"@deprecated Use `assistiveText` instead",name:"a11yLabel",required:!1,type:{name:"enum",value:[{value:"string"}]}},svg:{defaultValue:null,description:"",name:"svg",required:!0,type:{name:"enum",value:[{value:"ComponentClass<SVGAttributes<SVGElement>, any>"},{value:"FunctionComponent<SVGAttributes<SVGElement>>"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},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: HTMLButtonElement | HTMLAnchorElement | null) => void"},{value:"RefObject<HTMLButtonElement | HTMLAnchorElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}},selected:{defaultValue:null,description:"",name:"selected",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}}}}}catch{}export{e as I};
|
|
@@ -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-0r0SpleC.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"}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler<Element>"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"enum",value:[{value:"string"}]}},id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"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"'}]}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"enum",value:[{value:"string"}]}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"enum",value:[{value:"string"}]}},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"}]}},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>"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},readOnly:{defaultValue:null,description:"",name:"readOnly",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"}]}},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"'}]}},type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"url"'},{value:'"search"'},{value:'"email"'},{value:'"tel"'},{value:'"text"'}]}},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-CYNzEGVH.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-yZwngsDw-BiwrSIEl.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-DA7rS9QX.js";import{f as q}from"./filterHTMLAttributes-DYdLqcvH.js";import{m as w,b}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_2flqe_2",V={LayoutFlexItem:R,"LayoutFlexItem--stretch":"_LayoutFlexItem--stretch_2flqe_11","LayoutFlexItem--no-stretch":"_LayoutFlexItem--no-stretch_2flqe_14","LayoutFlexItem--narrow-l--stretch":"_LayoutFlexItem--narrow-l--stretch_2flqe_18","LayoutFlexItem--narrow-l--no-stretch":"_LayoutFlexItem--narrow-l--no-stretch_2flqe_21","LayoutFlexItem--medium-s--stretch":"_LayoutFlexItem--medium-s--stretch_2flqe_26","LayoutFlexItem--medium-s--no-stretch":"_LayoutFlexItem--medium-s--no-stretch_2flqe_29","LayoutFlexItem--medium-l--stretch":"_LayoutFlexItem--medium-l--stretch_2flqe_34","LayoutFlexItem--medium-l--no-stretch":"_LayoutFlexItem--medium-l--no-stretch_2flqe_37","LayoutFlexItem--wide-s--stretch":"_LayoutFlexItem--wide-s--stretch_2flqe_42","LayoutFlexItem--wide-s--no-stretch":"_LayoutFlexItem--wide-s--no-stretch_2flqe_45","LayoutFlexItem--wide-l--stretch":"_LayoutFlexItem--wide-l--stretch_2flqe_50","LayoutFlexItem--wide-l--no-stretch":"_LayoutFlexItem--wide-l--no-stretch_2flqe_53"},t=x.forwardRef(function({children:l,alignSelf:s,stretch:u=!1,tag:o,hide:n,relative:r,dataset:m,...i},c){const f=w(V,e.LayoutFlexItem,b("stretch","no-stretch",u)),d=F(s),v=I(n),p=g(r),y=[...f,...d,...v,...p],_=o??N,h={...q(i),ref:c,className:y.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_2flqe_2{padding:0;margin:0;list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0}._LayoutFlexItem--stretch_2flqe_11{flex:1}._LayoutFlexItem--no-stretch_2flqe_14{flex:none}@media (min-width: 400px){._LayoutFlexItem--narrow-l--stretch_2flqe_18{flex:1}._LayoutFlexItem--narrow-l--no-stretch_2flqe_21{flex:none}}@media (min-width: 700px){._LayoutFlexItem--medium-s--stretch_2flqe_26{flex:1}._LayoutFlexItem--medium-s--no-stretch_2flqe_29{flex:none}}@media (min-width: 880px){._LayoutFlexItem--medium-l--stretch_2flqe_34{flex:1}._LayoutFlexItem--medium-l--no-stretch_2flqe_37{flex:none}}@media (min-width: 1200px){._LayoutFlexItem--wide-s--stretch_2flqe_42{flex:1}._LayoutFlexItem--wide-s--no-stretch_2flqe_45{flex:none}}@media (min-width: 1900px){._LayoutFlexItem--wide-l--stretch_2flqe_50{flex:1}._LayoutFlexItem--wide-l--no-stretch_2flqe_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_9zrms_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_9zrms_14{justify-content:center}._LayoutGrid--justify-content-start_9zrms_17{justify-content:start}._LayoutGrid--justify-content-end_9zrms_20{justify-content:end}._LayoutGrid--justify-content-space-between_9zrms_23{justify-content:space-between}._LayoutGrid--justify-content-space-around_9zrms_26{justify-content:space-around}._LayoutGrid--justify-content-space-evenly_9zrms_29{justify-content:space-evenly}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-content-center_9zrms_33{justify-content:center}._LayoutGrid--narrow-l--justify-content-start_9zrms_36{justify-content:start}._LayoutGrid--narrow-l--justify-content-end_9zrms_39{justify-content:end}._LayoutGrid--narrow-l--justify-content-space-between_9zrms_42{justify-content:space-between}._LayoutGrid--narrow-l--justify-content-space-around_9zrms_45{justify-content:space-around}._LayoutGrid--narrow-l--justify-content-space-evenly_9zrms_48{justify-content:space-evenly}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-content-center_9zrms_53{justify-content:center}._LayoutGrid--medium-s--justify-content-start_9zrms_56{justify-content:start}._LayoutGrid--medium-s--justify-content-end_9zrms_59{justify-content:end}._LayoutGrid--medium-s--justify-content-space-between_9zrms_62{justify-content:space-between}._LayoutGrid--medium-s--justify-content-space-around_9zrms_65{justify-content:space-around}._LayoutGrid--medium-s--justify-content-space-evenly_9zrms_68{justify-content:space-evenly}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-content-center_9zrms_73{justify-content:center}._LayoutGrid--medium-l--justify-content-start_9zrms_76{justify-content:start}._LayoutGrid--medium-l--justify-content-end_9zrms_79{justify-content:end}._LayoutGrid--medium-l--justify-content-space-between_9zrms_82{justify-content:space-between}._LayoutGrid--medium-l--justify-content-space-around_9zrms_85{justify-content:space-around}._LayoutGrid--medium-l--justify-content-space-evenly_9zrms_88{justify-content:space-evenly}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-content-center_9zrms_93{justify-content:center}._LayoutGrid--wide-s--justify-content-start_9zrms_96{justify-content:start}._LayoutGrid--wide-s--justify-content-end_9zrms_99{justify-content:end}._LayoutGrid--wide-s--justify-content-space-between_9zrms_102{justify-content:space-between}._LayoutGrid--wide-s--justify-content-space-around_9zrms_105{justify-content:space-around}._LayoutGrid--wide-s--justify-content-space-evenly_9zrms_108{justify-content:space-evenly}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-content-center_9zrms_113{justify-content:center}._LayoutGrid--wide-l--justify-content-start_9zrms_116{justify-content:start}._LayoutGrid--wide-l--justify-content-end_9zrms_119{justify-content:end}._LayoutGrid--wide-l--justify-content-space-between_9zrms_122{justify-content:space-between}._LayoutGrid--wide-l--justify-content-space-around_9zrms_125{justify-content:space-around}._LayoutGrid--wide-l--justify-content-space-evenly_9zrms_128{justify-content:space-evenly}}._LayoutGrid--align-items-center_9zrms_132{align-items:center}._LayoutGrid--align-items-start_9zrms_135{align-items:start}._LayoutGrid--align-items-end_9zrms_138{align-items:end}._LayoutGrid--align-items-stretch_9zrms_141{align-items:stretch}._LayoutGrid--align-items-baseline_9zrms_144{align-items:baseline}@media (min-width: 400px){._LayoutGrid--narrow-l--align-items-center_9zrms_148{align-items:center}._LayoutGrid--narrow-l--align-items-start_9zrms_151{align-items:start}._LayoutGrid--narrow-l--align-items-end_9zrms_154{align-items:end}._LayoutGrid--narrow-l--align-items-stretch_9zrms_157{align-items:stretch}._LayoutGrid--narrow-l--align-items-baseline_9zrms_160{align-items:baseline}}@media (min-width: 700px){._LayoutGrid--medium-s--align-items-center_9zrms_165{align-items:center}._LayoutGrid--medium-s--align-items-start_9zrms_168{align-items:start}._LayoutGrid--medium-s--align-items-end_9zrms_171{align-items:end}._LayoutGrid--medium-s--align-items-stretch_9zrms_174{align-items:stretch}._LayoutGrid--medium-s--align-items-baseline_9zrms_177{align-items:baseline}}@media (min-width: 880px){._LayoutGrid--medium-l--align-items-center_9zrms_182{align-items:center}._LayoutGrid--medium-l--align-items-start_9zrms_185{align-items:start}._LayoutGrid--medium-l--align-items-end_9zrms_188{align-items:end}._LayoutGrid--medium-l--align-items-stretch_9zrms_191{align-items:stretch}._LayoutGrid--medium-l--align-items-baseline_9zrms_194{align-items:baseline}}@media (min-width: 1200px){._LayoutGrid--wide-s--align-items-center_9zrms_199{align-items:center}._LayoutGrid--wide-s--align-items-start_9zrms_202{align-items:start}._LayoutGrid--wide-s--align-items-end_9zrms_205{align-items:end}._LayoutGrid--wide-s--align-items-stretch_9zrms_208{align-items:stretch}._LayoutGrid--wide-s--align-items-baseline_9zrms_211{align-items:baseline}}@media (min-width: 1900px){._LayoutGrid--wide-l--align-items-center_9zrms_216{align-items:center}._LayoutGrid--wide-l--align-items-start_9zrms_219{align-items:start}._LayoutGrid--wide-l--align-items-end_9zrms_222{align-items:end}._LayoutGrid--wide-l--align-items-stretch_9zrms_225{align-items:stretch}._LayoutGrid--wide-l--align-items-baseline_9zrms_228{align-items:baseline}}._LayoutGrid--justify-items-stretch_9zrms_232{justify-items:stretch}._LayoutGrid--justify-items-center_9zrms_235{justify-items:center}._LayoutGrid--justify-items-start_9zrms_238{justify-items:start}._LayoutGrid--justify-items-end_9zrms_241{justify-items:end}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-items-stretch_9zrms_245{justify-items:stretch}._LayoutGrid--narrow-l--justify-items-center_9zrms_248{justify-items:center}._LayoutGrid--narrow-l--justify-items-start_9zrms_251{justify-items:start}._LayoutGrid--narrow-l--justify-items-end_9zrms_254{justify-items:end}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-items-stretch_9zrms_259{justify-items:stretch}._LayoutGrid--medium-s--justify-items-center_9zrms_262{justify-items:center}._LayoutGrid--medium-s--justify-items-start_9zrms_265{justify-items:start}._LayoutGrid--medium-s--justify-items-end_9zrms_268{justify-items:end}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-items-stretch_9zrms_273{justify-items:stretch}._LayoutGrid--medium-l--justify-items-center_9zrms_276{justify-items:center}._LayoutGrid--medium-l--justify-items-start_9zrms_279{justify-items:start}._LayoutGrid--medium-l--justify-items-end_9zrms_282{justify-items:end}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-items-stretch_9zrms_287{justify-items:stretch}._LayoutGrid--wide-s--justify-items-center_9zrms_290{justify-items:center}._LayoutGrid--wide-s--justify-items-start_9zrms_293{justify-items:start}._LayoutGrid--wide-s--justify-items-end_9zrms_296{justify-items:end}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-items-stretch_9zrms_301{justify-items:stretch}._LayoutGrid--wide-l--justify-items-center_9zrms_304{justify-items:center}._LayoutGrid--wide-l--justify-items-start_9zrms_307{justify-items:start}._LayoutGrid--wide-l--justify-items-end_9zrms_310{justify-items:end}}._LayoutGrid--columns_9zrms_314{grid-template-columns:var(--columns)}@media (min-width: 400px){._LayoutGrid--columns-narrow-l_9zrms_318{grid-template-columns:var(--columns-narrow-l)}}@media (min-width: 700px){._LayoutGrid--columns-medium-s_9zrms_323{grid-template-columns:var(--columns-medium-s)}}@media (min-width: 880px){._LayoutGrid--columns-medium-l_9zrms_328{grid-template-columns:var(--columns-medium-l)}}@media (min-width: 1200px){._LayoutGrid--columns-wide-s_9zrms_333{grid-template-columns:var(--columns-wide-s)}}@media (min-width: 1900px){._LayoutGrid--columns-wide-l_9zrms_338{grid-template-columns:var(--columns-wide-l)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._LayoutGrid_9zrms_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_9zrms_14{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--justify-content-start_9zrms_17{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--justify-content-end_9zrms_20{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--justify-content-space-between_9zrms_23{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--justify-content-space-around_9zrms_26{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--justify-content-space-evenly_9zrms_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_9zrms_33{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--narrow-l--justify-content-start_9zrms_36{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--narrow-l--justify-content-end_9zrms_39{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--narrow-l--justify-content-space-between_9zrms_42{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--narrow-l--justify-content-space-around_9zrms_45{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--narrow-l--justify-content-space-evenly_9zrms_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_9zrms_53{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--medium-s--justify-content-start_9zrms_56{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--medium-s--justify-content-end_9zrms_59{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--medium-s--justify-content-space-between_9zrms_62{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--medium-s--justify-content-space-around_9zrms_65{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--medium-s--justify-content-space-evenly_9zrms_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_9zrms_73{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--medium-l--justify-content-start_9zrms_76{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--medium-l--justify-content-end_9zrms_79{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--medium-l--justify-content-space-between_9zrms_82{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--medium-l--justify-content-space-around_9zrms_85{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--medium-l--justify-content-space-evenly_9zrms_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_9zrms_93{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--wide-s--justify-content-start_9zrms_96{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--wide-s--justify-content-end_9zrms_99{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--wide-s--justify-content-space-between_9zrms_102{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--wide-s--justify-content-space-around_9zrms_105{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--wide-s--justify-content-space-evenly_9zrms_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_9zrms_113{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--wide-l--justify-content-start_9zrms_116{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--wide-l--justify-content-end_9zrms_119{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--wide-l--justify-content-space-between_9zrms_122{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--wide-l--justify-content-space-around_9zrms_125{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--wide-l--justify-content-space-evenly_9zrms_128{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}._LayoutGrid--align-items-center_9zrms_132{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--align-items-start_9zrms_135{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--align-items-end_9zrms_138{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--align-items-stretch_9zrms_141{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--align-items-baseline_9zrms_144{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}@media (min-width: 400px){._LayoutGrid--narrow-l--align-items-center_9zrms_148{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--narrow-l--align-items-start_9zrms_151{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--narrow-l--align-items-end_9zrms_154{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--narrow-l--align-items-stretch_9zrms_157{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--narrow-l--align-items-baseline_9zrms_160{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 700px){._LayoutGrid--medium-s--align-items-center_9zrms_165{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--medium-s--align-items-start_9zrms_168{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--medium-s--align-items-end_9zrms_171{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--medium-s--align-items-stretch_9zrms_174{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--medium-s--align-items-baseline_9zrms_177{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 880px){._LayoutGrid--medium-l--align-items-center_9zrms_182{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--medium-l--align-items-start_9zrms_185{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--medium-l--align-items-end_9zrms_188{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--medium-l--align-items-stretch_9zrms_191{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--medium-l--align-items-baseline_9zrms_194{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 1200px){._LayoutGrid--wide-s--align-items-center_9zrms_199{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--wide-s--align-items-start_9zrms_202{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--wide-s--align-items-end_9zrms_205{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--wide-s--align-items-stretch_9zrms_208{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--wide-s--align-items-baseline_9zrms_211{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 1900px){._LayoutGrid--wide-l--align-items-center_9zrms_216{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--wide-l--align-items-start_9zrms_219{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--wide-l--align-items-end_9zrms_222{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--wide-l--align-items-stretch_9zrms_225{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--wide-l--align-items-baseline_9zrms_228{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}._LayoutGrid--justify-items-stretch_9zrms_232{justify-items:stretch}._LayoutGrid--justify-items-center_9zrms_235{justify-items:center}._LayoutGrid--justify-items-start_9zrms_238{justify-items:start}._LayoutGrid--justify-items-end_9zrms_241{justify-items:end}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-items-stretch_9zrms_245{justify-items:stretch}._LayoutGrid--narrow-l--justify-items-center_9zrms_248{justify-items:center}._LayoutGrid--narrow-l--justify-items-start_9zrms_251{justify-items:start}._LayoutGrid--narrow-l--justify-items-end_9zrms_254{justify-items:end}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-items-stretch_9zrms_259{justify-items:stretch}._LayoutGrid--medium-s--justify-items-center_9zrms_262{justify-items:center}._LayoutGrid--medium-s--justify-items-start_9zrms_265{justify-items:start}._LayoutGrid--medium-s--justify-items-end_9zrms_268{justify-items:end}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-items-stretch_9zrms_273{justify-items:stretch}._LayoutGrid--medium-l--justify-items-center_9zrms_276{justify-items:center}._LayoutGrid--medium-l--justify-items-start_9zrms_279{justify-items:start}._LayoutGrid--medium-l--justify-items-end_9zrms_282{justify-items:end}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-items-stretch_9zrms_287{justify-items:stretch}._LayoutGrid--wide-s--justify-items-center_9zrms_290{justify-items:center}._LayoutGrid--wide-s--justify-items-start_9zrms_293{justify-items:start}._LayoutGrid--wide-s--justify-items-end_9zrms_296{justify-items:end}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-items-stretch_9zrms_301{justify-items:stretch}._LayoutGrid--wide-l--justify-items-center_9zrms_304{justify-items:center}._LayoutGrid--wide-l--justify-items-start_9zrms_307{justify-items:start}._LayoutGrid--wide-l--justify-items-end_9zrms_310{justify-items:end}}._LayoutGrid--columns_9zrms_314{grid-template-columns:var(--columns)}@media (min-width: 400px){._LayoutGrid--columns-narrow-l_9zrms_318{grid-template-columns:var(--columns-narrow-l)}}@media (min-width: 700px){._LayoutGrid--columns-medium-s_9zrms_323{grid-template-columns:var(--columns-medium-s)}}@media (min-width: 880px){._LayoutGrid--columns-medium-l_9zrms_328{grid-template-columns:var(--columns-medium-l)}}@media (min-width: 1200px){._LayoutGrid--columns-wide-s_9zrms_333{grid-template-columns:var(--columns-wide-s)}}@media (min-width: 1900px){._LayoutGrid--columns-wide-l_9zrms_338{grid-template-columns:var(--columns-wide-l)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as w}from"./jsx-runtime-BTJTZTIL.js";import{r as z}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 h,s as A,g as C}from"./layout-relative.module-yZwngsDw-BiwrSIEl.js";import{L as N}from"./constants-DYYVurUY.js";import{k as T,f as v,L as U}from"./defaults-B1rzzf6M.js";import{f as I}from"./filterHTMLAttributes-UOns5Q7s.js";import{g as O}from"./index-DdzHuZ-Y.js";import{w as D}from"./componentNames-Bwls0I02.js";const E="LayoutHide",R=(t,i=N)=>o(b,E,[c("hide",i,t)]),Y="LayoutRelative",$=t=>o(h,Y,[c("relative",void 0,t)]),P="_LayoutGrid_9zrms_4",G={LayoutGrid:P,"LayoutGrid--justify-content-center":"_LayoutGrid--justify-content-center_9zrms_14","LayoutGrid--justify-content-start":"_LayoutGrid--justify-content-start_9zrms_17","LayoutGrid--justify-content-end":"_LayoutGrid--justify-content-end_9zrms_20","LayoutGrid--justify-content-space-between":"_LayoutGrid--justify-content-space-between_9zrms_23","LayoutGrid--justify-content-space-around":"_LayoutGrid--justify-content-space-around_9zrms_26","LayoutGrid--justify-content-space-evenly":"_LayoutGrid--justify-content-space-evenly_9zrms_29","LayoutGrid--narrow-l--justify-content-center":"_LayoutGrid--narrow-l--justify-content-center_9zrms_33","LayoutGrid--narrow-l--justify-content-start":"_LayoutGrid--narrow-l--justify-content-start_9zrms_36","LayoutGrid--narrow-l--justify-content-end":"_LayoutGrid--narrow-l--justify-content-end_9zrms_39","LayoutGrid--narrow-l--justify-content-space-between":"_LayoutGrid--narrow-l--justify-content-space-between_9zrms_42","LayoutGrid--narrow-l--justify-content-space-around":"_LayoutGrid--narrow-l--justify-content-space-around_9zrms_45","LayoutGrid--narrow-l--justify-content-space-evenly":"_LayoutGrid--narrow-l--justify-content-space-evenly_9zrms_48","LayoutGrid--medium-s--justify-content-center":"_LayoutGrid--medium-s--justify-content-center_9zrms_53","LayoutGrid--medium-s--justify-content-start":"_LayoutGrid--medium-s--justify-content-start_9zrms_56","LayoutGrid--medium-s--justify-content-end":"_LayoutGrid--medium-s--justify-content-end_9zrms_59","LayoutGrid--medium-s--justify-content-space-between":"_LayoutGrid--medium-s--justify-content-space-between_9zrms_62","LayoutGrid--medium-s--justify-content-space-around":"_LayoutGrid--medium-s--justify-content-space-around_9zrms_65","LayoutGrid--medium-s--justify-content-space-evenly":"_LayoutGrid--medium-s--justify-content-space-evenly_9zrms_68","LayoutGrid--medium-l--justify-content-center":"_LayoutGrid--medium-l--justify-content-center_9zrms_73","LayoutGrid--medium-l--justify-content-start":"_LayoutGrid--medium-l--justify-content-start_9zrms_76","LayoutGrid--medium-l--justify-content-end":"_LayoutGrid--medium-l--justify-content-end_9zrms_79","LayoutGrid--medium-l--justify-content-space-between":"_LayoutGrid--medium-l--justify-content-space-between_9zrms_82","LayoutGrid--medium-l--justify-content-space-around":"_LayoutGrid--medium-l--justify-content-space-around_9zrms_85","LayoutGrid--medium-l--justify-content-space-evenly":"_LayoutGrid--medium-l--justify-content-space-evenly_9zrms_88","LayoutGrid--wide-s--justify-content-center":"_LayoutGrid--wide-s--justify-content-center_9zrms_93","LayoutGrid--wide-s--justify-content-start":"_LayoutGrid--wide-s--justify-content-start_9zrms_96","LayoutGrid--wide-s--justify-content-end":"_LayoutGrid--wide-s--justify-content-end_9zrms_99","LayoutGrid--wide-s--justify-content-space-between":"_LayoutGrid--wide-s--justify-content-space-between_9zrms_102","LayoutGrid--wide-s--justify-content-space-around":"_LayoutGrid--wide-s--justify-content-space-around_9zrms_105","LayoutGrid--wide-s--justify-content-space-evenly":"_LayoutGrid--wide-s--justify-content-space-evenly_9zrms_108","LayoutGrid--wide-l--justify-content-center":"_LayoutGrid--wide-l--justify-content-center_9zrms_113","LayoutGrid--wide-l--justify-content-start":"_LayoutGrid--wide-l--justify-content-start_9zrms_116","LayoutGrid--wide-l--justify-content-end":"_LayoutGrid--wide-l--justify-content-end_9zrms_119","LayoutGrid--wide-l--justify-content-space-between":"_LayoutGrid--wide-l--justify-content-space-between_9zrms_122","LayoutGrid--wide-l--justify-content-space-around":"_LayoutGrid--wide-l--justify-content-space-around_9zrms_125","LayoutGrid--wide-l--justify-content-space-evenly":"_LayoutGrid--wide-l--justify-content-space-evenly_9zrms_128","LayoutGrid--align-items-center":"_LayoutGrid--align-items-center_9zrms_132","LayoutGrid--align-items-start":"_LayoutGrid--align-items-start_9zrms_135","LayoutGrid--align-items-end":"_LayoutGrid--align-items-end_9zrms_138","LayoutGrid--align-items-stretch":"_LayoutGrid--align-items-stretch_9zrms_141","LayoutGrid--align-items-baseline":"_LayoutGrid--align-items-baseline_9zrms_144","LayoutGrid--narrow-l--align-items-center":"_LayoutGrid--narrow-l--align-items-center_9zrms_148","LayoutGrid--narrow-l--align-items-start":"_LayoutGrid--narrow-l--align-items-start_9zrms_151","LayoutGrid--narrow-l--align-items-end":"_LayoutGrid--narrow-l--align-items-end_9zrms_154","LayoutGrid--narrow-l--align-items-stretch":"_LayoutGrid--narrow-l--align-items-stretch_9zrms_157","LayoutGrid--narrow-l--align-items-baseline":"_LayoutGrid--narrow-l--align-items-baseline_9zrms_160","LayoutGrid--medium-s--align-items-center":"_LayoutGrid--medium-s--align-items-center_9zrms_165","LayoutGrid--medium-s--align-items-start":"_LayoutGrid--medium-s--align-items-start_9zrms_168","LayoutGrid--medium-s--align-items-end":"_LayoutGrid--medium-s--align-items-end_9zrms_171","LayoutGrid--medium-s--align-items-stretch":"_LayoutGrid--medium-s--align-items-stretch_9zrms_174","LayoutGrid--medium-s--align-items-baseline":"_LayoutGrid--medium-s--align-items-baseline_9zrms_177","LayoutGrid--medium-l--align-items-center":"_LayoutGrid--medium-l--align-items-center_9zrms_182","LayoutGrid--medium-l--align-items-start":"_LayoutGrid--medium-l--align-items-start_9zrms_185","LayoutGrid--medium-l--align-items-end":"_LayoutGrid--medium-l--align-items-end_9zrms_188","LayoutGrid--medium-l--align-items-stretch":"_LayoutGrid--medium-l--align-items-stretch_9zrms_191","LayoutGrid--medium-l--align-items-baseline":"_LayoutGrid--medium-l--align-items-baseline_9zrms_194","LayoutGrid--wide-s--align-items-center":"_LayoutGrid--wide-s--align-items-center_9zrms_199","LayoutGrid--wide-s--align-items-start":"_LayoutGrid--wide-s--align-items-start_9zrms_202","LayoutGrid--wide-s--align-items-end":"_LayoutGrid--wide-s--align-items-end_9zrms_205","LayoutGrid--wide-s--align-items-stretch":"_LayoutGrid--wide-s--align-items-stretch_9zrms_208","LayoutGrid--wide-s--align-items-baseline":"_LayoutGrid--wide-s--align-items-baseline_9zrms_211","LayoutGrid--wide-l--align-items-center":"_LayoutGrid--wide-l--align-items-center_9zrms_216","LayoutGrid--wide-l--align-items-start":"_LayoutGrid--wide-l--align-items-start_9zrms_219","LayoutGrid--wide-l--align-items-end":"_LayoutGrid--wide-l--align-items-end_9zrms_222","LayoutGrid--wide-l--align-items-stretch":"_LayoutGrid--wide-l--align-items-stretch_9zrms_225","LayoutGrid--wide-l--align-items-baseline":"_LayoutGrid--wide-l--align-items-baseline_9zrms_228","LayoutGrid--justify-items-stretch":"_LayoutGrid--justify-items-stretch_9zrms_232","LayoutGrid--justify-items-center":"_LayoutGrid--justify-items-center_9zrms_235","LayoutGrid--justify-items-start":"_LayoutGrid--justify-items-start_9zrms_238","LayoutGrid--justify-items-end":"_LayoutGrid--justify-items-end_9zrms_241","LayoutGrid--narrow-l--justify-items-stretch":"_LayoutGrid--narrow-l--justify-items-stretch_9zrms_245","LayoutGrid--narrow-l--justify-items-center":"_LayoutGrid--narrow-l--justify-items-center_9zrms_248","LayoutGrid--narrow-l--justify-items-start":"_LayoutGrid--narrow-l--justify-items-start_9zrms_251","LayoutGrid--narrow-l--justify-items-end":"_LayoutGrid--narrow-l--justify-items-end_9zrms_254","LayoutGrid--medium-s--justify-items-stretch":"_LayoutGrid--medium-s--justify-items-stretch_9zrms_259","LayoutGrid--medium-s--justify-items-center":"_LayoutGrid--medium-s--justify-items-center_9zrms_262","LayoutGrid--medium-s--justify-items-start":"_LayoutGrid--medium-s--justify-items-start_9zrms_265","LayoutGrid--medium-s--justify-items-end":"_LayoutGrid--medium-s--justify-items-end_9zrms_268","LayoutGrid--medium-l--justify-items-stretch":"_LayoutGrid--medium-l--justify-items-stretch_9zrms_273","LayoutGrid--medium-l--justify-items-center":"_LayoutGrid--medium-l--justify-items-center_9zrms_276","LayoutGrid--medium-l--justify-items-start":"_LayoutGrid--medium-l--justify-items-start_9zrms_279","LayoutGrid--medium-l--justify-items-end":"_LayoutGrid--medium-l--justify-items-end_9zrms_282","LayoutGrid--wide-s--justify-items-stretch":"_LayoutGrid--wide-s--justify-items-stretch_9zrms_287","LayoutGrid--wide-s--justify-items-center":"_LayoutGrid--wide-s--justify-items-center_9zrms_290","LayoutGrid--wide-s--justify-items-start":"_LayoutGrid--wide-s--justify-items-start_9zrms_293","LayoutGrid--wide-s--justify-items-end":"_LayoutGrid--wide-s--justify-items-end_9zrms_296","LayoutGrid--wide-l--justify-items-stretch":"_LayoutGrid--wide-l--justify-items-stretch_9zrms_301","LayoutGrid--wide-l--justify-items-center":"_LayoutGrid--wide-l--justify-items-center_9zrms_304","LayoutGrid--wide-l--justify-items-start":"_LayoutGrid--wide-l--justify-items-start_9zrms_307","LayoutGrid--wide-l--justify-items-end":"_LayoutGrid--wide-l--justify-items-end_9zrms_310","LayoutGrid--columns":"_LayoutGrid--columns_9zrms_314","LayoutGrid--columns-narrow-l":"_LayoutGrid--columns-narrow-l_9zrms_318","LayoutGrid--columns-medium-s":"_LayoutGrid--columns-medium-s_9zrms_323","LayoutGrid--columns-medium-l":"_LayoutGrid--columns-medium-l_9zrms_328","LayoutGrid--columns-wide-s":"_LayoutGrid--columns-wide-s_9zrms_333","LayoutGrid--columns-wide-l":"_LayoutGrid--columns-wide-l_9zrms_338"},x="LayoutGrid",F=Object.keys(p),L=t=>typeof t=="number"?`repeat(${t}, 1fr)`:t.join(" "),H=t=>typeof t=="object"&&!Array.isArray(t)?Object.entries(t).reduce((i,[r,e])=>({...i,...e?{[r]:L(e)}:{}}),{_:L(t._)}):{_:L(t)},S=t=>{if(!t)return{classNames:[],style:{}};const i=H(t),r=F.filter(s=>i[s]),e=g(G,x,["columns",...r.map(s=>`columns-${s}`)]),n=r.reduce((s,a)=>({...s,[`--columns-${a}`]:i[a]}),{"--columns":i._});return{classNames:e,style:n}},k="LayoutGap",K=t=>o(A,k,[u("gap",t)]),V="LayoutGrid",B=(t,i)=>{const{gap:r=T,padding:e=v,justifyContent:n,alignItems:s,justifyItems:a,hide:m,relative:d}=i||{},y=o(G,V,[u("justify-content",n),u("align-items",s),u("justify-items",a)]),_=K(r),l=C(e),f=R(m,"grid"),j=$(d);return[...y,..._,...l,...f,...j]},M=z.forwardRef(function({dataset:i,children:r,...e},n){const{tag:s=U,columns:a}=e,m=B("grid",e),{style:d,classNames:y}=S(a),_=[...m,...y],l={...I(e),ref:n,className:_.join(" "),style:d,...O(i,{preplyDsComponent:D.LayoutGrid})};return w.jsx(s,{...l,children:r})});M.__docgenInfo={description:"",methods:[],displayName:"LayoutGrid"};export{M as L,$ as a,R as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
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">
|
|
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-DA7rS9QX.js";import{f as R}from"./filterHTMLAttributes-DYdLqcvH.js";import{m as w,a as E,s as f}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-CYNzEGVH.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},L=I.forwardRef(function({children:i,alignSelf:n,tag:a,hide:u,relative:s,dataset:r,...l},d){const m=w(B,h.LayoutGridItem,[]),y=D(n),c=N(u),G=P(s),g=[...m,...y,...c,...G],q=a??T,O={...R(l),ref:d,className:g.join(" "),...A(r,{preplyDsComponent:h.LayoutGridItem})};return t.jsx(q,{...O,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_9zrms_4",V={LayoutGrid:J,"LayoutGrid--justify-content-center":"_LayoutGrid--justify-content-center_9zrms_14","LayoutGrid--justify-content-start":"_LayoutGrid--justify-content-start_9zrms_17","LayoutGrid--justify-content-end":"_LayoutGrid--justify-content-end_9zrms_20","LayoutGrid--justify-content-space-between":"_LayoutGrid--justify-content-space-between_9zrms_23","LayoutGrid--justify-content-space-around":"_LayoutGrid--justify-content-space-around_9zrms_26","LayoutGrid--justify-content-space-evenly":"_LayoutGrid--justify-content-space-evenly_9zrms_29","LayoutGrid--narrow-l--justify-content-center":"_LayoutGrid--narrow-l--justify-content-center_9zrms_33","LayoutGrid--narrow-l--justify-content-start":"_LayoutGrid--narrow-l--justify-content-start_9zrms_36","LayoutGrid--narrow-l--justify-content-end":"_LayoutGrid--narrow-l--justify-content-end_9zrms_39","LayoutGrid--narrow-l--justify-content-space-between":"_LayoutGrid--narrow-l--justify-content-space-between_9zrms_42","LayoutGrid--narrow-l--justify-content-space-around":"_LayoutGrid--narrow-l--justify-content-space-around_9zrms_45","LayoutGrid--narrow-l--justify-content-space-evenly":"_LayoutGrid--narrow-l--justify-content-space-evenly_9zrms_48","LayoutGrid--medium-s--justify-content-center":"_LayoutGrid--medium-s--justify-content-center_9zrms_53","LayoutGrid--medium-s--justify-content-start":"_LayoutGrid--medium-s--justify-content-start_9zrms_56","LayoutGrid--medium-s--justify-content-end":"_LayoutGrid--medium-s--justify-content-end_9zrms_59","LayoutGrid--medium-s--justify-content-space-between":"_LayoutGrid--medium-s--justify-content-space-between_9zrms_62","LayoutGrid--medium-s--justify-content-space-around":"_LayoutGrid--medium-s--justify-content-space-around_9zrms_65","LayoutGrid--medium-s--justify-content-space-evenly":"_LayoutGrid--medium-s--justify-content-space-evenly_9zrms_68","LayoutGrid--medium-l--justify-content-center":"_LayoutGrid--medium-l--justify-content-center_9zrms_73","LayoutGrid--medium-l--justify-content-start":"_LayoutGrid--medium-l--justify-content-start_9zrms_76","LayoutGrid--medium-l--justify-content-end":"_LayoutGrid--medium-l--justify-content-end_9zrms_79","LayoutGrid--medium-l--justify-content-space-between":"_LayoutGrid--medium-l--justify-content-space-between_9zrms_82","LayoutGrid--medium-l--justify-content-space-around":"_LayoutGrid--medium-l--justify-content-space-around_9zrms_85","LayoutGrid--medium-l--justify-content-space-evenly":"_LayoutGrid--medium-l--justify-content-space-evenly_9zrms_88","LayoutGrid--wide-s--justify-content-center":"_LayoutGrid--wide-s--justify-content-center_9zrms_93","LayoutGrid--wide-s--justify-content-start":"_LayoutGrid--wide-s--justify-content-start_9zrms_96","LayoutGrid--wide-s--justify-content-end":"_LayoutGrid--wide-s--justify-content-end_9zrms_99","LayoutGrid--wide-s--justify-content-space-between":"_LayoutGrid--wide-s--justify-content-space-between_9zrms_102","LayoutGrid--wide-s--justify-content-space-around":"_LayoutGrid--wide-s--justify-content-space-around_9zrms_105","LayoutGrid--wide-s--justify-content-space-evenly":"_LayoutGrid--wide-s--justify-content-space-evenly_9zrms_108","LayoutGrid--wide-l--justify-content-center":"_LayoutGrid--wide-l--justify-content-center_9zrms_113","LayoutGrid--wide-l--justify-content-start":"_LayoutGrid--wide-l--justify-content-start_9zrms_116","LayoutGrid--wide-l--justify-content-end":"_LayoutGrid--wide-l--justify-content-end_9zrms_119","LayoutGrid--wide-l--justify-content-space-between":"_LayoutGrid--wide-l--justify-content-space-between_9zrms_122","LayoutGrid--wide-l--justify-content-space-around":"_LayoutGrid--wide-l--justify-content-space-around_9zrms_125","LayoutGrid--wide-l--justify-content-space-evenly":"_LayoutGrid--wide-l--justify-content-space-evenly_9zrms_128","LayoutGrid--align-items-center":"_LayoutGrid--align-items-center_9zrms_132","LayoutGrid--align-items-start":"_LayoutGrid--align-items-start_9zrms_135","LayoutGrid--align-items-end":"_LayoutGrid--align-items-end_9zrms_138","LayoutGrid--align-items-stretch":"_LayoutGrid--align-items-stretch_9zrms_141","LayoutGrid--align-items-baseline":"_LayoutGrid--align-items-baseline_9zrms_144","LayoutGrid--narrow-l--align-items-center":"_LayoutGrid--narrow-l--align-items-center_9zrms_148","LayoutGrid--narrow-l--align-items-start":"_LayoutGrid--narrow-l--align-items-start_9zrms_151","LayoutGrid--narrow-l--align-items-end":"_LayoutGrid--narrow-l--align-items-end_9zrms_154","LayoutGrid--narrow-l--align-items-stretch":"_LayoutGrid--narrow-l--align-items-stretch_9zrms_157","LayoutGrid--narrow-l--align-items-baseline":"_LayoutGrid--narrow-l--align-items-baseline_9zrms_160","LayoutGrid--medium-s--align-items-center":"_LayoutGrid--medium-s--align-items-center_9zrms_165","LayoutGrid--medium-s--align-items-start":"_LayoutGrid--medium-s--align-items-start_9zrms_168","LayoutGrid--medium-s--align-items-end":"_LayoutGrid--medium-s--align-items-end_9zrms_171","LayoutGrid--medium-s--align-items-stretch":"_LayoutGrid--medium-s--align-items-stretch_9zrms_174","LayoutGrid--medium-s--align-items-baseline":"_LayoutGrid--medium-s--align-items-baseline_9zrms_177","LayoutGrid--medium-l--align-items-center":"_LayoutGrid--medium-l--align-items-center_9zrms_182","LayoutGrid--medium-l--align-items-start":"_LayoutGrid--medium-l--align-items-start_9zrms_185","LayoutGrid--medium-l--align-items-end":"_LayoutGrid--medium-l--align-items-end_9zrms_188","LayoutGrid--medium-l--align-items-stretch":"_LayoutGrid--medium-l--align-items-stretch_9zrms_191","LayoutGrid--medium-l--align-items-baseline":"_LayoutGrid--medium-l--align-items-baseline_9zrms_194","LayoutGrid--wide-s--align-items-center":"_LayoutGrid--wide-s--align-items-center_9zrms_199","LayoutGrid--wide-s--align-items-start":"_LayoutGrid--wide-s--align-items-start_9zrms_202","LayoutGrid--wide-s--align-items-end":"_LayoutGrid--wide-s--align-items-end_9zrms_205","LayoutGrid--wide-s--align-items-stretch":"_LayoutGrid--wide-s--align-items-stretch_9zrms_208","LayoutGrid--wide-s--align-items-baseline":"_LayoutGrid--wide-s--align-items-baseline_9zrms_211","LayoutGrid--wide-l--align-items-center":"_LayoutGrid--wide-l--align-items-center_9zrms_216","LayoutGrid--wide-l--align-items-start":"_LayoutGrid--wide-l--align-items-start_9zrms_219","LayoutGrid--wide-l--align-items-end":"_LayoutGrid--wide-l--align-items-end_9zrms_222","LayoutGrid--wide-l--align-items-stretch":"_LayoutGrid--wide-l--align-items-stretch_9zrms_225","LayoutGrid--wide-l--align-items-baseline":"_LayoutGrid--wide-l--align-items-baseline_9zrms_228","LayoutGrid--justify-items-stretch":"_LayoutGrid--justify-items-stretch_9zrms_232","LayoutGrid--justify-items-center":"_LayoutGrid--justify-items-center_9zrms_235","LayoutGrid--justify-items-start":"_LayoutGrid--justify-items-start_9zrms_238","LayoutGrid--justify-items-end":"_LayoutGrid--justify-items-end_9zrms_241","LayoutGrid--narrow-l--justify-items-stretch":"_LayoutGrid--narrow-l--justify-items-stretch_9zrms_245","LayoutGrid--narrow-l--justify-items-center":"_LayoutGrid--narrow-l--justify-items-center_9zrms_248","LayoutGrid--narrow-l--justify-items-start":"_LayoutGrid--narrow-l--justify-items-start_9zrms_251","LayoutGrid--narrow-l--justify-items-end":"_LayoutGrid--narrow-l--justify-items-end_9zrms_254","LayoutGrid--medium-s--justify-items-stretch":"_LayoutGrid--medium-s--justify-items-stretch_9zrms_259","LayoutGrid--medium-s--justify-items-center":"_LayoutGrid--medium-s--justify-items-center_9zrms_262","LayoutGrid--medium-s--justify-items-start":"_LayoutGrid--medium-s--justify-items-start_9zrms_265","LayoutGrid--medium-s--justify-items-end":"_LayoutGrid--medium-s--justify-items-end_9zrms_268","LayoutGrid--medium-l--justify-items-stretch":"_LayoutGrid--medium-l--justify-items-stretch_9zrms_273","LayoutGrid--medium-l--justify-items-center":"_LayoutGrid--medium-l--justify-items-center_9zrms_276","LayoutGrid--medium-l--justify-items-start":"_LayoutGrid--medium-l--justify-items-start_9zrms_279","LayoutGrid--medium-l--justify-items-end":"_LayoutGrid--medium-l--justify-items-end_9zrms_282","LayoutGrid--wide-s--justify-items-stretch":"_LayoutGrid--wide-s--justify-items-stretch_9zrms_287","LayoutGrid--wide-s--justify-items-center":"_LayoutGrid--wide-s--justify-items-center_9zrms_290","LayoutGrid--wide-s--justify-items-start":"_LayoutGrid--wide-s--justify-items-start_9zrms_293","LayoutGrid--wide-s--justify-items-end":"_LayoutGrid--wide-s--justify-items-end_9zrms_296","LayoutGrid--wide-l--justify-items-stretch":"_LayoutGrid--wide-l--justify-items-stretch_9zrms_301","LayoutGrid--wide-l--justify-items-center":"_LayoutGrid--wide-l--justify-items-center_9zrms_304","LayoutGrid--wide-l--justify-items-start":"_LayoutGrid--wide-l--justify-items-start_9zrms_307","LayoutGrid--wide-l--justify-items-end":"_LayoutGrid--wide-l--justify-items-end_9zrms_310","LayoutGrid--columns":"_LayoutGrid--columns_9zrms_314","LayoutGrid--columns-narrow-l":"_LayoutGrid--columns-narrow-l_9zrms_318","LayoutGrid--columns-medium-s":"_LayoutGrid--columns-medium-s_9zrms_323","LayoutGrid--columns-medium-l":"_LayoutGrid--columns-medium-l_9zrms_328","LayoutGrid--columns-wide-s":"_LayoutGrid--columns-wide-s_9zrms_333","LayoutGrid--columns-wide-l":"_LayoutGrid--columns-wide-l_9zrms_338"},K="LayoutGrid",Q=Object.keys($),j=e=>typeof e=="number"?`repeat(${e}, 1fr)`:e.join(" "),X=e=>typeof e=="object"&&!Array.isArray(e)?Object.entries(e).reduce((i,[n,a])=>({...i,...a?{[n]:j(a)}:{}}),{_:j(e._)}):{_:j(e)},Z=e=>{if(!e)return{classNames:[],style:{}};const i=X(e),n=Q.filter(s=>i[s]),a=E(V,K,["columns",...n.map(s=>`columns-${s}`)]),u=n.reduce((s,r)=>({...s,[`--columns-${r}`]:i[r]}),{"--columns":i._});return{classNames:a,style:u}},ee="LayoutGap",te=e=>w(W,ee,[f("gap",e)]),ae="LayoutGrid",ie=(e,i)=>{const{gap:n=H,padding:a=U,justifyContent:u,alignItems:s,justifyItems:r,hide:l,relative:d}=i||{},m=w(V,ae,[f("justify-content",u),f("align-items",s),f("justify-items",r)]),y=te(n),c=Y(a),G=N(l,"grid"),g=P(d);return[...m,...y,...c,...G,...g]},v=I.forwardRef(function({dataset:i,children:n,...a},u){const{tag:s=T,columns:r}=a,l=ie("grid",a),{style:d,classNames:m}=Z(r),y=[...l,...m],c={...R(a),ref:u,className:y.join(" "),style:d,...A(i,{preplyDsComponent:h.LayoutGrid})};return t.jsx(s,{...c,children:n})});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:M},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 z,b,C;_.parameters={..._.parameters,docs:{...(z=_.parameters)==null?void 0:z.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 N}from"./index-Cb9e4tl
|
|
|
29
29
|
height: '2ch',
|
|
30
30
|
backgroundColor: 'hotpink'
|
|
31
31
|
}} />
|
|
32
|
-
</LayoutGrid>`,...(
|
|
32
|
+
</LayoutGrid>`,...(C=(b=_.parameters)==null?void 0:b.docs)==null?void 0:C.source}}};var k,S,x;p.parameters={...p.parameters,docs:{...(k=p.parameters)==null?void 0:k.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 N}from"./index-Cb9e4tl
|
|
|
85
85
|
control: false
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
}`,...(
|
|
88
|
+
}`,...(x=(S=p.parameters)==null?void 0:S.docs)==null?void 0:x.source}}};const Ge=["Base","Playground"];export{_ as Base,p as Playground,Ge as __namedExportsOrder,ve as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._AlignSelf_bzge0_2._AlignSelf--align-self-start_bzge0_2{-ms-flex-item-align:start;align-self:start}._AlignSelf_bzge0_2._AlignSelf--align-self-center_bzge0_5{-ms-flex-item-align:center;align-self:center}._AlignSelf_bzge0_2._AlignSelf--align-self-end_bzge0_8{-ms-flex-item-align:end;align-self:end}._AlignSelf_bzge0_2._AlignSelf--align-self-stretch_bzge0_11{-ms-flex-item-align:stretch;align-self:stretch}@media (min-width: 400px){._AlignSelf_bzge0_2._AlignSelf--narrow-l--align-self-start_bzge0_15{-ms-flex-item-align:start;align-self:start}._AlignSelf_bzge0_2._AlignSelf--narrow-l--align-self-center_bzge0_18{-ms-flex-item-align:center;align-self:center}._AlignSelf_bzge0_2._AlignSelf--narrow-l--align-self-end_bzge0_21{-ms-flex-item-align:end;align-self:end}._AlignSelf_bzge0_2._AlignSelf--narrow-l--align-self-stretch_bzge0_24{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 700px){._AlignSelf_bzge0_2._AlignSelf--medium-s--align-self-start_bzge0_29{-ms-flex-item-align:start;align-self:start}._AlignSelf_bzge0_2._AlignSelf--medium-s--align-self-center_bzge0_32{-ms-flex-item-align:center;align-self:center}._AlignSelf_bzge0_2._AlignSelf--medium-s--align-self-end_bzge0_35{-ms-flex-item-align:end;align-self:end}._AlignSelf_bzge0_2._AlignSelf--medium-s--align-self-stretch_bzge0_38{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 880px){._AlignSelf_bzge0_2._AlignSelf--medium-l--align-self-start_bzge0_43{-ms-flex-item-align:start;align-self:start}._AlignSelf_bzge0_2._AlignSelf--medium-l--align-self-center_bzge0_46{-ms-flex-item-align:center;align-self:center}._AlignSelf_bzge0_2._AlignSelf--medium-l--align-self-end_bzge0_49{-ms-flex-item-align:end;align-self:end}._AlignSelf_bzge0_2._AlignSelf--medium-l--align-self-stretch_bzge0_52{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 1200px){._AlignSelf_bzge0_2._AlignSelf--wide-s--align-self-start_bzge0_57{-ms-flex-item-align:start;align-self:start}._AlignSelf_bzge0_2._AlignSelf--wide-s--align-self-center_bzge0_60{-ms-flex-item-align:center;align-self:center}._AlignSelf_bzge0_2._AlignSelf--wide-s--align-self-end_bzge0_63{-ms-flex-item-align:end;align-self:end}._AlignSelf_bzge0_2._AlignSelf--wide-s--align-self-stretch_bzge0_66{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 1900px){._AlignSelf_bzge0_2._AlignSelf--wide-l--align-self-start_bzge0_71{-ms-flex-item-align:start;align-self:start}._AlignSelf_bzge0_2._AlignSelf--wide-l--align-self-center_bzge0_74{-ms-flex-item-align:center;align-self:center}._AlignSelf_bzge0_2._AlignSelf--wide-l--align-self-end_bzge0_77{-ms-flex-item-align:end;align-self:end}._AlignSelf_bzge0_2._AlignSelf--wide-l--align-self-stretch_bzge0_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 b}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-ZAYmKrcj.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_bzge0_2",G={AlignSelf:N,"AlignSelf--align-self-start":"_AlignSelf--align-self-start_bzge0_2","AlignSelf--align-self-center":"_AlignSelf--align-self-center_bzge0_5","AlignSelf--align-self-end":"_AlignSelf--align-self-end_bzge0_8","AlignSelf--align-self-stretch":"_AlignSelf--align-self-stretch_bzge0_11","AlignSelf--narrow-l--align-self-start":"_AlignSelf--narrow-l--align-self-start_bzge0_15","AlignSelf--narrow-l--align-self-center":"_AlignSelf--narrow-l--align-self-center_bzge0_18","AlignSelf--narrow-l--align-self-end":"_AlignSelf--narrow-l--align-self-end_bzge0_21","AlignSelf--narrow-l--align-self-stretch":"_AlignSelf--narrow-l--align-self-stretch_bzge0_24","AlignSelf--medium-s--align-self-start":"_AlignSelf--medium-s--align-self-start_bzge0_29","AlignSelf--medium-s--align-self-center":"_AlignSelf--medium-s--align-self-center_bzge0_32","AlignSelf--medium-s--align-self-end":"_AlignSelf--medium-s--align-self-end_bzge0_35","AlignSelf--medium-s--align-self-stretch":"_AlignSelf--medium-s--align-self-stretch_bzge0_38","AlignSelf--medium-l--align-self-start":"_AlignSelf--medium-l--align-self-start_bzge0_43","AlignSelf--medium-l--align-self-center":"_AlignSelf--medium-l--align-self-center_bzge0_46","AlignSelf--medium-l--align-self-end":"_AlignSelf--medium-l--align-self-end_bzge0_49","AlignSelf--medium-l--align-self-stretch":"_AlignSelf--medium-l--align-self-stretch_bzge0_52","AlignSelf--wide-s--align-self-start":"_AlignSelf--wide-s--align-self-start_bzge0_57","AlignSelf--wide-s--align-self-center":"_AlignSelf--wide-s--align-self-center_bzge0_60","AlignSelf--wide-s--align-self-end":"_AlignSelf--wide-s--align-self-end_bzge0_63","AlignSelf--wide-s--align-self-stretch":"_AlignSelf--wide-s--align-self-stretch_bzge0_66","AlignSelf--wide-l--align-self-start":"_AlignSelf--wide-l--align-self-start_bzge0_71","AlignSelf--wide-l--align-self-center":"_AlignSelf--wide-l--align-self-center_bzge0_74","AlignSelf--wide-l--align-self-end":"_AlignSelf--wide-l--align-self-end_bzge0_77","AlignSelf--wide-l--align-self-stretch":"_AlignSelf--wide-l--align-self-stretch_bzge0_80"},I="AlignSelf",x=e=>s(G,I,[z("align-self",e)]),T="_LayoutGridItem_2tq6r_1",j={LayoutGridItem:T},E=w.forwardRef(function({children:i,alignSelf:g,tag:l,hide:t,relative:a,dataset:f,...r},_){const m=s(j,n.LayoutGridItem,[]),o=x(g),d=p(t),A=L(a),S=[...m,...o,...d,...A],c=l??C,u={...h(r),ref:_,className:S.join(" "),...y(f,{preplyDsComponent:n.LayoutGridItem})};return b.jsx(c,{...u,children:i})});E.__docgenInfo={description:"",methods:[],displayName:"LayoutGridItem"};export{E as L,x as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Link_q0vqc_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_q0vqc_4:focus-visible{outline-style:solid;outline-color:var(--603ec6);outline-width:var(--99d31f);outline-offset:var(--c0b12c)}._Link--inline_q0vqc_20{display:inline}._Link--noUnderline_q0vqc_23{text-decoration:none}._Link--variant-accentDark_q0vqc_26{color:var(--c6b68f)}._Link--variant-accentDark_q0vqc_26:hover,._Link--variant-accentDark--dsInternalSimulation-hover_q0vqc_30{color:var(--65e1ef)}._Link--variant-accentDark_q0vqc_26:active,._Link--variant-accentDark--dsInternalSimulation-active_q0vqc_34{color:var(--179b80)}._Link--variant-accentDarkInverted_q0vqc_37{color:var(--7cbffc)}._Link--variant-accentDarkInverted_q0vqc_37:hover,._Link--variant-accentDarkInverted--dsInternalSimulation-hover_q0vqc_41{color:var(--47fcde)}._Link--variant-accentDarkInverted_q0vqc_37:active,._Link--variant-accentDarkInverted--dsInternalSimulation-active_q0vqc_45{color:var(--1253e2)}._Link--variant-neutral_q0vqc_48{color:var(--19fdf0)}._Link--variant-neutral_q0vqc_48:hover,._Link--variant-neutral--dsInternalSimulation-hover_q0vqc_52{color:var(--ce5fb9)}._Link--variant-neutral_q0vqc_48:active,._Link--variant-neutral--dsInternalSimulation-active_q0vqc_56{color:var(--1d39ac)}._Link--variant-neutralInverted_q0vqc_59{color:var(--883d0f)}._Link--variant-neutralInverted_q0vqc_59:hover,._Link--variant-neutralInverted--dsInternalSimulation-hover_q0vqc_63{color:var(--065570)}._Link--variant-neutralInverted_q0vqc_59:active,._Link--variant-neutralInverted--dsInternalSimulation-active_q0vqc_67{color:var(--be41c4)}._Link--variant-unsetColors_q0vqc_70{color:var(--e66f2a)}._Link--variant-unsetColors_q0vqc_70:hover,._Link--variant-unsetColors--dsInternalSimulation-hover_q0vqc_74{color:var(--468ceb)}._Link--variant-unsetColors_q0vqc_70:active,._Link--variant-unsetColors--dsInternalSimulation-active_q0vqc_78{color:var(--a5fc76)}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{T as a}from"./Text-
|
|
1
|
+
import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{T as a}from"./Text-D3ATKGXs.js";import{r as k}from"./index-Cb9e4tly.js";import{f as Y}from"./filterHTMLAttributes-DYdLqcvH.js";import{g as Z}from"./defaults-B1rzzf6M.js";import{u as ee}from"./useHostname-Y3PlXofY.js";import{m as ne,s as f,b as x}from"./classNames-BUL1Zq7e.js";import{w as y}from"./componentNames-Bwls0I02.js";import{a as ae,g as te}from"./index-DdzHuZ-Y.js";import{g as d}from"./getTokenVar-DU_DEzTd.js";import{c as u}from"./tokens-Di5DrZN4.js";import"./index-ChsGqxH_.js";import"./text-accent-DbbdQjKI.js";import"./text-centered-6MZg9O0U.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./constants-BgBLeZzp.js";const re="_Link_q0vqc_4",ie={Link:re,"Link--inline":"_Link--inline_q0vqc_20","Link--noUnderline":"_Link--noUnderline_q0vqc_23","Link--variant-accentDark":"_Link--variant-accentDark_q0vqc_26","Link--variant-accentDark--dsInternalSimulation-hover":"_Link--variant-accentDark--dsInternalSimulation-hover_q0vqc_30","Link--variant-accentDark--dsInternalSimulation-active":"_Link--variant-accentDark--dsInternalSimulation-active_q0vqc_34","Link--variant-accentDarkInverted":"_Link--variant-accentDarkInverted_q0vqc_37","Link--variant-accentDarkInverted--dsInternalSimulation-hover":"_Link--variant-accentDarkInverted--dsInternalSimulation-hover_q0vqc_41","Link--variant-accentDarkInverted--dsInternalSimulation-active":"_Link--variant-accentDarkInverted--dsInternalSimulation-active_q0vqc_45","Link--variant-neutral":"_Link--variant-neutral_q0vqc_48","Link--variant-neutral--dsInternalSimulation-hover":"_Link--variant-neutral--dsInternalSimulation-hover_q0vqc_52","Link--variant-neutral--dsInternalSimulation-active":"_Link--variant-neutral--dsInternalSimulation-active_q0vqc_56","Link--variant-neutralInverted":"_Link--variant-neutralInverted_q0vqc_59","Link--variant-neutralInverted--dsInternalSimulation-hover":"_Link--variant-neutralInverted--dsInternalSimulation-hover_q0vqc_63","Link--variant-neutralInverted--dsInternalSimulation-active":"_Link--variant-neutralInverted--dsInternalSimulation-active_q0vqc_67","Link--variant-unsetColors":"_Link--variant-unsetColors_q0vqc_70","Link--variant-unsetColors--dsInternalSimulation-hover":"_Link--variant-unsetColors--dsInternalSimulation-hover_q0vqc_74","Link--variant-unsetColors--dsInternalSimulation-active":"_Link--variant-unsetColors--dsInternalSimulation-active_q0vqc_78"},n=k.forwardRef(function(E,P){const{variant:v=Z,href:A,download:R,opensInNewTab:H,nofollow:M,assistiveText:O,onClick:$,as:p,url:z,dataset:F,children:m,inline:J,dsInternalSimulation:K,noUnderline:W,...X}=E,B=ee(),G=ne(ie,y.Link,[f(`variant-${v}--dsInternalSimulation`,K),f("variant",v),x("inline",void 0,J),x("noUnderline",void 0,W)]),c=A||z,Q=c?ae(B,c,H,M):{},h={...Y(X),ref:P,href:c,download:R,"aria-label":O,onClick:$,className:G.join(" "),...te(F,{preplyDsComponent:y.Link})};return p?k.cloneElement(p,{...h},m):e.jsx("a",{...h,...Q,children:m})});try{n.displayName="Link",n.__docgenInfo={description:`This is an inline element and will inherit font-size, line-height and
|
|
2
2
|
font-weight from the parent context. If you need to customise any of these
|
|
3
3
|
styles, all you have to do is wrap the <Link> in a Text or TextInline
|
|
4
|
-
component.`,displayName:"Link",props:{variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"
|
|
4
|
+
component.`,displayName:"Link",props:{variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"accentDark"'},{value:'"neutral"'},{value:'"accentDarkInverted"'},{value:'"neutralInverted"'},{value:'"unsetColors"'}]}},href:{defaultValue:null,description:"",name:"href",required:!1,type:{name:"enum",value:[{value:"string"}]}},download:{defaultValue:null,description:`When provided, instructs the browser to download the target (the file
|
|
5
5
|
specified in the href attribute) when a user clicks on the hyperlink,
|
|
6
6
|
rather than display it in the browser.`,name:"download",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},opensInNewTab:{defaultValue:null,description:"If `true`, forces internal link to open in a new tab.",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"}]}},assistiveText:{defaultValue:null,description:"Provide an `aria-label` to the link.\nThis is useful if the link wraps non-textual elements, eg. an `img`.",name:"assistiveText",required:!1,type:{name:"enum",value:[{value:"string"}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler<Element>"}]}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},url:{defaultValue:null,description:"@deprecated Use `href` instead",name:"url",required:!1,type:{name:"enum",value:[{value:"string"}]}},dataset:{defaultValue:null,description:`Provide dataset to set data attributes on the DOM element for the purpose
|
|
7
7
|
of e2e tests or integrating with external libraries.`,name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},inline:{defaultValue:null,description:"If `true`, allows the link to wrap within text.",name:"inline",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},noUnderline:{defaultValue:null,description:"",name:"noUnderline",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},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: HTMLAnchorElement | null) => void"},{value:"RefObject<HTMLAnchorElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}const Ie={title:"components/Link",component:n},r=()=>{const t=d(u.background.primaryInverted);return e.jsxs("div",{style:{display:"flex",gap:"16px"},children:[e.jsx(n,{href:"https://preply.com",variant:"neutral",children:"neutral"}),e.jsx("span",{style:{backgroundColor:t},children:e.jsx(n,{href:"https://preply.com",variant:"neutralInverted",children:"neutralInverted"})}),e.jsx(n,{href:"https://preply.com",variant:"accentDark",children:"accentDark"}),e.jsx("span",{style:{backgroundColor:t},children:e.jsx(n,{href:"https://preply.com",variant:"accentDarkInverted",children:"accentDarkInverted"})}),e.jsx(n,{href:"https://preply.com",variant:"unsetColors",children:"unsetColors"})]})},i=()=>{const t=d(u.background.primaryInverted);return e.jsxs("div",{style:{display:"flex",gap:"16px",flexDirection:"column"},children:[e.jsx(a,{variant:"default-regular-italic",children:"(use the `unsetColors` variant)"}),e.jsxs("div",{children:[e.jsx(a,{variant:"large-semibold-italic",children:"primary"}),e.jsx(a,{variant:"default-regular-italic",children:"normal"}),e.jsxs(a,{accent:"primary",children:["Lorem ipsum ",e.jsx(n,{variant:"unsetColors",children:"dolor sit amet"})," amet."]}),e.jsx(a,{variant:"default-regular-italic",children:"active"}),e.jsxs(a,{accent:"primary",children:["Lorem ipsum"," ",e.jsx(n,{variant:"unsetColors",dsInternalSimulation:"active",children:"dolor sit amet"})," ","amet."]})]}),e.jsxs("div",{style:{backgroundColor:t},children:[e.jsx(a,{variant:"large-semibold-italic",accent:"inverted",children:"inverted"}),e.jsx(a,{variant:"default-regular-italic",accent:"inverted",children:"normal"}),e.jsxs(a,{accent:"inverted",children:["Lorem ipsum ",e.jsx(n,{variant:"unsetColors",children:"dolor sit amet"})," amet."]}),e.jsx(a,{variant:"default-regular-italic",accent:"inverted",children:"active"}),e.jsxs(a,{accent:"inverted",children:["Lorem ipsum"," ",e.jsx(n,{variant:"unsetColors",dsInternalSimulation:"active",children:"dolor sit amet"})," ","amet."]})]}),e.jsxs("div",{children:[e.jsx(a,{variant:"large-semibold-italic",children:"positive"}),e.jsx(a,{variant:"default-regular-italic",children:"normal"}),e.jsxs(a,{accent:"positive",children:["Lorem ipsum ",e.jsx(n,{variant:"unsetColors",children:"dolor sit amet"})," amet."]}),e.jsx(a,{variant:"default-regular-italic",children:"active"}),e.jsxs(a,{accent:"positive",children:["Lorem ipsum"," ",e.jsx(n,{variant:"unsetColors",dsInternalSimulation:"active",children:"dolor sit amet"})," ","amet."]})]}),e.jsxs("div",{children:[e.jsx(a,{variant:"large-semibold-italic",children:"critical"}),e.jsx(a,{variant:"default-regular-italic",children:"normal"}),e.jsxs(a,{accent:"critical",children:["Lorem ipsum ",e.jsx(n,{variant:"unsetColors",children:"dolor sit amet"})," amet."]}),e.jsx(a,{variant:"default-regular-italic",children:"active"}),e.jsxs(a,{accent:"critical",children:["Lorem ipsum"," ",e.jsx(n,{variant:"unsetColors",dsInternalSimulation:"active",children:"dolor sit amet"})," ","amet."]})]})]})},l=()=>{const t=d(u.background.primaryInverted);return e.jsxs("div",{style:{display:"flex",gap:"16px",flexDirection:"column"},children:[e.jsx(a,{variant:"default-regular-italic",children:"normal"}),e.jsxs("div",{style:{display:"flex",gap:"16px"},children:[e.jsx(n,{href:"https://preply.com",variant:"neutral",children:"neutral"}),e.jsx("span",{style:{backgroundColor:t},children:e.jsx(n,{href:"https://preply.com",variant:"neutralInverted",children:"neutralInverted"})}),e.jsx(n,{href:"https://preply.com",variant:"accentDark",children:"accentDark"}),e.jsx("span",{style:{backgroundColor:t},children:e.jsx(n,{href:"https://preply.com",variant:"accentDarkInverted",children:"accentDarkInverted"})}),e.jsx(n,{href:"https://preply.com",variant:"unsetColors",children:"unsetColors"})]}),e.jsx(a,{variant:"default-regular-italic",children:"hover"}),e.jsxs("div",{style:{display:"flex",gap:"16px"},children:[e.jsx(n,{href:"https://preply.com",variant:"neutral",dsInternalSimulation:"hover",children:"neutral"}),e.jsx("span",{style:{backgroundColor:t},children:e.jsx(n,{href:"https://preply.com",variant:"neutralInverted",dsInternalSimulation:"hover",children:"neutralInverted"})}),e.jsx(n,{href:"https://preply.com",variant:"accentDark",dsInternalSimulation:"hover",children:"accentDark"}),e.jsx("span",{style:{backgroundColor:t},children:e.jsx(n,{href:"https://preply.com",variant:"accentDarkInverted",dsInternalSimulation:"hover",children:"accentDarkInverted"})}),e.jsx(n,{href:"https://preply.com",variant:"unsetColors",dsInternalSimulation:"hover",children:"unsetColors"})]}),e.jsx(a,{variant:"default-regular-italic",children:"active"}),e.jsxs("div",{style:{display:"flex",gap:"16px"},children:[e.jsx(n,{href:"https://preply.com",variant:"neutral",dsInternalSimulation:"active",children:"neutral"}),e.jsx("span",{style:{backgroundColor:t},children:e.jsx(n,{href:"https://preply.com",variant:"neutralInverted",dsInternalSimulation:"active",children:"neutralInverted"})}),e.jsx(n,{href:"https://preply.com",variant:"accentDark",dsInternalSimulation:"active",children:"accentDark"}),e.jsx("span",{style:{backgroundColor:t},children:e.jsx(n,{href:"https://preply.com",variant:"accentDarkInverted",dsInternalSimulation:"active",children:"accentDarkInverted"})}),e.jsx(n,{href:"https://preply.com",variant:"unsetColors",dsInternalSimulation:"active",children:"unsetColors"})]})]})},o=()=>e.jsxs("p",{style:{width:"12ch"},children:["Unlock your potential;"," ",e.jsx(n,{href:"https://preply.com",variant:"unsetColors",inline:!0,children:"visit Preply"}),"."]}),s={parameters:{chromatic:{disableSnapshot:!0}},args:{children:"Click me",href:"https://preply.com",variant:"neutral",dataset:{qaid:"link"}},argTypes:{dataset:{control:"object"},inline:{control:"boolean"},noUnderline:{control:"boolean"},opensInNewTab:{control:"boolean"},nofollow:{control:"boolean"},download:{control:"boolean"},assistiveText:{control:"text"},href:{control:"text"},url:{table:{disable:!0}}}};var g,L,I;r.parameters={...r.parameters,docs:{...(g=r.parameters)==null?void 0:g.docs,source:{originalSource:`() => {
|
|
@@ -214,7 +214,7 @@ of e2e tests or integrating with external libraries.`,name:"dataset",required:!1
|
|
|
214
214
|
</Link>
|
|
215
215
|
</div>
|
|
216
216
|
</div>;
|
|
217
|
-
}`,...(S=(_=l.parameters)==null?void 0:_.docs)==null?void 0:S.source}}};var D,w
|
|
217
|
+
}`,...(S=(_=l.parameters)==null?void 0:_.docs)==null?void 0:S.source}}};var D,q,w;o.parameters={...o.parameters,docs:{...(D=o.parameters)==null?void 0:D.docs,source:{originalSource:`() => <p style={{
|
|
218
218
|
width: '12ch'
|
|
219
219
|
}}>
|
|
220
220
|
Unlock your potential;{' '}
|
|
@@ -222,7 +222,7 @@ of e2e tests or integrating with external libraries.`,name:"dataset",required:!1
|
|
|
222
222
|
visit Preply
|
|
223
223
|
</Link>
|
|
224
224
|
.
|
|
225
|
-
</p>`,...(
|
|
225
|
+
</p>`,...(w=(q=o.parameters)==null?void 0:q.docs)==null?void 0:w.source}}};var V,N,U;s.parameters={...s.parameters,docs:{...(V=s.parameters)==null?void 0:V.docs,source:{originalSource:`{
|
|
226
226
|
parameters: {
|
|
227
227
|
chromatic: {
|
|
228
228
|
disableSnapshot: true
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Loader_jv7qu_2{display:inline-flex;width:fit-content;height:fit-content}._Loader--normal_jv7qu_7{color:var(--19bcb6)}._Loader--inverted_jv7qu_10{color:var(--38413d)}
|