@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
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{j as b}from"./jsx-runtime-BTJTZTIL.js";import{r as w}from"./index-Cb9e4tly.js";import{g as I,a as k}from"./text-accent-CrnHOlvW.js";import{f as h}from"./filterHTMLAttributes-DYdLqcvH.js";import{r as z}from"./render-icon-BT0Aq7PA.js";import{m as x,s as N,b as V}from"./classNames-BUL1Zq7e.js";import{w as u}from"./componentNames-Bwls0I02.js";import{g as T}from"./index-DdzHuZ-Y.js";import{I as S}from"./defaults-B1rzzf6M.js";const q="_Icon_793iz_4",U={Icon:q,"Icon--size-2xs":"_Icon--size-2xs_793iz_16","Icon--size-xs":"_Icon--size-xs_793iz_22","Icon--size-s":"_Icon--size-s_793iz_28","Icon--size-m":"_Icon--size-m_793iz_34","Icon--size-l":"_Icon--size-l_793iz_40","Icon--size-16":"_Icon--size-16_793iz_46","Icon--size-24":"_Icon--size-24_793iz_52","Icon--size-32":"_Icon--size-32_793iz_58","Icon--size-48":"_Icon--size-48_793iz_64"},P="_ExpColor_aduln_3",R={ExpColor:P,"ExpColor--exp-color-grey-0":"_ExpColor--exp-color-grey-0_aduln_3","ExpColor--exp-color-grey-50":"_ExpColor--exp-color-grey-50_aduln_6","ExpColor--exp-color-grey-100":"_ExpColor--exp-color-grey-100_aduln_9","ExpColor--exp-color-grey-200":"_ExpColor--exp-color-grey-200_aduln_12","ExpColor--exp-color-grey-300":"_ExpColor--exp-color-grey-300_aduln_15","ExpColor--exp-color-grey-400":"_ExpColor--exp-color-grey-400_aduln_18","ExpColor--exp-color-grey-500":"_ExpColor--exp-color-grey-500_aduln_21","ExpColor--exp-color-grey-600":"_ExpColor--exp-color-grey-600_aduln_24","ExpColor--exp-color-grey-700":"_ExpColor--exp-color-grey-700_aduln_27","ExpColor--exp-color-grey-800":"_ExpColor--exp-color-grey-800_aduln_30","ExpColor--exp-color-grey-900":"_ExpColor--exp-color-grey-900_aduln_33","ExpColor--exp-color-pink-50":"_ExpColor--exp-color-pink-50_aduln_36","ExpColor--exp-color-pink-100":"_ExpColor--exp-color-pink-100_aduln_39","ExpColor--exp-color-pink-200":"_ExpColor--exp-color-pink-200_aduln_42","ExpColor--exp-color-pink-300":"_ExpColor--exp-color-pink-300_aduln_45","ExpColor--exp-color-pink-400":"_ExpColor--exp-color-pink-400_aduln_48","ExpColor--exp-color-pink-500":"_ExpColor--exp-color-pink-500_aduln_51","ExpColor--exp-color-pink-600":"_ExpColor--exp-color-pink-600_aduln_54","ExpColor--exp-color-pink-700":"_ExpColor--exp-color-pink-700_aduln_57","ExpColor--exp-color-pink-800":"_ExpColor--exp-color-pink-800_aduln_60","ExpColor--exp-color-yellow-50":"_ExpColor--exp-color-yellow-50_aduln_63","ExpColor--exp-color-yellow-100":"_ExpColor--exp-color-yellow-100_aduln_66","ExpColor--exp-color-yellow-200":"_ExpColor--exp-color-yellow-200_aduln_69","ExpColor--exp-color-yellow-300":"_ExpColor--exp-color-yellow-300_aduln_72","ExpColor--exp-color-yellow-400":"_ExpColor--exp-color-yellow-400_aduln_75","ExpColor--exp-color-yellow-500":"_ExpColor--exp-color-yellow-500_aduln_78","ExpColor--exp-color-yellow-600":"_ExpColor--exp-color-yellow-600_aduln_81","ExpColor--exp-color-yellow-700":"_ExpColor--exp-color-yellow-700_aduln_84","ExpColor--exp-color-yellow-800":"_ExpColor--exp-color-yellow-800_aduln_87","ExpColor--exp-color-blue-50":"_ExpColor--exp-color-blue-50_aduln_90","ExpColor--exp-color-blue-100":"_ExpColor--exp-color-blue-100_aduln_93","ExpColor--exp-color-blue-200":"_ExpColor--exp-color-blue-200_aduln_96","ExpColor--exp-color-blue-300":"_ExpColor--exp-color-blue-300_aduln_99","ExpColor--exp-color-blue-400":"_ExpColor--exp-color-blue-400_aduln_102","ExpColor--exp-color-blue-500":"_ExpColor--exp-color-blue-500_aduln_105","ExpColor--exp-color-blue-600":"_ExpColor--exp-color-blue-600_aduln_108","ExpColor--exp-color-blue-700":"_ExpColor--exp-color-blue-700_aduln_111","ExpColor--exp-color-blue-800":"_ExpColor--exp-color-blue-800_aduln_114","ExpColor--exp-color-teal-50":"_ExpColor--exp-color-teal-50_aduln_117","ExpColor--exp-color-teal-100":"_ExpColor--exp-color-teal-100_aduln_120","ExpColor--exp-color-teal-200":"_ExpColor--exp-color-teal-200_aduln_123","ExpColor--exp-color-teal-300":"_ExpColor--exp-color-teal-300_aduln_126","ExpColor--exp-color-teal-400":"_ExpColor--exp-color-teal-400_aduln_129","ExpColor--exp-color-teal-500":"_ExpColor--exp-color-teal-500_aduln_132","ExpColor--exp-color-teal-600":"_ExpColor--exp-color-teal-600_aduln_135","ExpColor--exp-color-teal-700":"_ExpColor--exp-color-teal-700_aduln_138","ExpColor--exp-color-teal-800":"_ExpColor--exp-color-teal-800_aduln_141","ExpColor--exp-color-red-50":"_ExpColor--exp-color-red-50_aduln_144","ExpColor--exp-color-red-100":"_ExpColor--exp-color-red-100_aduln_147","ExpColor--exp-color-red-200":"_ExpColor--exp-color-red-200_aduln_150","ExpColor--exp-color-red-300":"_ExpColor--exp-color-red-300_aduln_153","ExpColor--exp-color-red-400":"_ExpColor--exp-color-red-400_aduln_156","ExpColor--exp-color-red-500":"_ExpColor--exp-color-red-500_aduln_159","ExpColor--exp-color-red-600":"_ExpColor--exp-color-red-600_aduln_162","ExpColor--exp-color-red-700":"_ExpColor--exp-color-red-700_aduln_165","ExpColor--exp-color-red-800":"_ExpColor--exp-color-red-800_aduln_168"},j="ExpColor",A=l=>x(R,j,[N("exp-color",l)]),n=w.forwardRef(function({svg:r,size:e=S,accent:o,expColor:c,color:t,label:a,dataset:_,...s},i){const p=!Number.isNaN(Number(e)),d=p?{width:`${e}px`,height:`${e}px`}:{},v=x(U,u.Icon,[V(`size-${e}`,void 0,!p)]),C=o?void 0:t,E=I(!1,o),y=k(C),m=o?[]:A(c),g=[...v,...E,...y,...m],f={...h(s),className:g.join(" "),...T(_,{preplyDsComponent:u.Icon}),ref:i};if(!r)throw new Error("Icon prop svg is mandatory");return b.jsx("span",{...f,role:"img",style:d,"aria-hidden":!a,"aria-label":a,children:z(r,{"aria-hidden":"true",focusable:"false"})})});try{n.displayName="Icon",n.__docgenInfo={description:"",displayName:"Icon",props:{svg:{defaultValue:null,description:`The SVG icon to render.
|
|
2
|
-
@example import TokyoUINotesWithPad from '@preply/ds-media-icons/dist/24/TokyoUINotesWithPad.svg';
|
|
3
|
-
|
|
4
|
-
<Icon svg={TokyoUINotesWithPad} />
|
|
5
|
-
@example <caption>Using as react server component</caption>
|
|
6
|
-
import TokyoUINotesWithPad from '@preply/ds-media-icons/dist/24/TokyoUINotesWithPad.svg';
|
|
7
|
-
|
|
8
|
-
<Icon svg={<TokyoUINotesWithPad />} />`,name:"svg",required:!0,type:{name:"enum",value:[{value:"ComponentClass<SVGAttributes<SVGElement>, any>"},{value:"FunctionComponent<SVGAttributes<SVGElement>>"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},size:{defaultValue:{value:"s"},description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"16"'}]}},accent:{defaultValue:null,description:"",name:"accent",required:!1,type:{name:"enum",value:[{value:'"info"'},{value:'"positive"'},{value:'"warning"'},{value:'"critical"'},{value:'"accent"'},{value:'"inverted"'},{value:'"tertiary"'},{value:'"primary"'},{value:'"secondary"'},{value:'"accentDark"'},{value:'"placeholder"'},{value:'"disabled"'},{value:'"branded"'},{value:'"selected"'},{value:'"error"'}]}},expColor:{defaultValue:null,description:"If passed along with `accent`, `accent` takes precedence.",name:"expColor",required:!1,type:{name:"enum",value:[{value:'"teal-100"'},{value:'"teal-200"'},{value:'"teal-300"'},{value:'"teal-400"'},{value:'"teal-500"'},{value:'"yellow-100"'},{value:'"yellow-200"'},{value:'"yellow-300"'},{value:'"yellow-400"'},{value:'"yellow-500"'},{value:'"red-100"'},{value:'"red-200"'},{value:'"red-300"'},{value:'"red-400"'},{value:'"red-500"'},{value:'"blue-100"'},{value:'"blue-200"'},{value:'"blue-300"'},{value:'"blue-400"'},{value:'"blue-500"'},{value:'"grey-0"'},{value:'"grey-50"'},{value:'"grey-100"'},{value:'"grey-200"'},{value:'"grey-300"'},{value:'"grey-400"'},{value:'"grey-500"'},{value:'"grey-600"'},{value:'"grey-700"'},{value:'"grey-800"'},{value:'"grey-900"'},{value:'"pink-50"'},{value:'"pink-100"'},{value:'"pink-200"'},{value:'"pink-300"'},{value:'"pink-400"'},{value:'"pink-500"'},{value:'"pink-600"'},{value:'"pink-700"'},{value:'"pink-800"'},{value:'"yellow-50"'},{value:'"yellow-600"'},{value:'"yellow-700"'},{value:'"yellow-800"'},{value:'"blue-50"'},{value:'"blue-600"'},{value:'"blue-700"'},{value:'"blue-800"'},{value:'"teal-50"'},{value:'"teal-600"'},{value:'"teal-700"'},{value:'"teal-800"'},{value:'"red-50"'},{value:'"red-600"'},{value:'"red-700"'},{value:'"red-800"'}]}},color:{defaultValue:null,description:"@deprecated Use accent instead.",name:"color",required:!1,type:{name:"enum",value:[{value:'"white"'},{value:'"gray-100"'},{value:'"gray-200"'},{value:'"gray-300"'},{value:'"gray-400"'},{value:'"gray-500"'},{value:'"gray-600"'},{value:'"teal-100"'},{value:'"teal-200"'},{value:'"teal-300"'},{value:'"teal-400"'},{value:'"teal-500"'},{value:'"green-100"'},{value:'"green-200"'},{value:'"green-300"'},{value:'"green-400"'},{value:'"green-500"'},{value:'"yellow-100"'},{value:'"yellow-200"'},{value:'"yellow-300"'},{value:'"yellow-400"'},{value:'"yellow-500"'},{value:'"red-100"'},{value:'"red-200"'},{value:'"red-300"'},{value:'"red-400"'},{value:'"red-500"'},{value:'"blue-100"'},{value:'"blue-200"'},{value:'"blue-300"'},{value:'"blue-400"'},{value:'"blue-500"'},{value:'"magenta-100"'},{value:'"magenta-200"'},{value:'"magenta-300"'},{value:'"magenta-400"'},{value:'"magenta-500"'}]}},label:{defaultValue:null,description:"If using the icon without any adjacent descriptive text, use this prop to\nprovide an `aria-label` for assistive technologies.",name:"label",required:!1,type:{name:"enum",value:[{value:"string"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLSpanElement | null) => void"},{value:"RefObject<HTMLSpanElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{n as I};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._ExpColor_aduln_3._ExpColor--exp-color-grey-0_aduln_3{color:var(--d751dc)}._ExpColor_aduln_3._ExpColor--exp-color-grey-50_aduln_6{color:var(--d4e1b8)}._ExpColor_aduln_3._ExpColor--exp-color-grey-100_aduln_9{color:var(--e986ec)}._ExpColor_aduln_3._ExpColor--exp-color-grey-200_aduln_12{color:var(--8a8cb8)}._ExpColor_aduln_3._ExpColor--exp-color-grey-300_aduln_15{color:var(--e7dcf4)}._ExpColor_aduln_3._ExpColor--exp-color-grey-400_aduln_18{color:var(--d48a93)}._ExpColor_aduln_3._ExpColor--exp-color-grey-500_aduln_21{color:var(--9b582c)}._ExpColor_aduln_3._ExpColor--exp-color-grey-600_aduln_24{color:var(--bd0a12)}._ExpColor_aduln_3._ExpColor--exp-color-grey-700_aduln_27{color:var(--5540cb)}._ExpColor_aduln_3._ExpColor--exp-color-grey-800_aduln_30{color:var(--3f9d59)}._ExpColor_aduln_3._ExpColor--exp-color-grey-900_aduln_33{color:var(--0d2c1d)}._ExpColor_aduln_3._ExpColor--exp-color-pink-50_aduln_36{color:var(--696262)}._ExpColor_aduln_3._ExpColor--exp-color-pink-100_aduln_39{color:var(--2a8bdc)}._ExpColor_aduln_3._ExpColor--exp-color-pink-200_aduln_42{color:var(--9c55fe)}._ExpColor_aduln_3._ExpColor--exp-color-pink-300_aduln_45{color:var(--55b1b2)}._ExpColor_aduln_3._ExpColor--exp-color-pink-400_aduln_48{color:var(--e2e617)}._ExpColor_aduln_3._ExpColor--exp-color-pink-500_aduln_51{color:var(--28075b)}._ExpColor_aduln_3._ExpColor--exp-color-pink-600_aduln_54{color:var(--0d21bc)}._ExpColor_aduln_3._ExpColor--exp-color-pink-700_aduln_57{color:var(--dcc28c)}._ExpColor_aduln_3._ExpColor--exp-color-pink-800_aduln_60{color:var(--e2ccaa)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-50_aduln_63{color:var(--f73f81)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-100_aduln_66{color:var(--05c737)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-200_aduln_69{color:var(--32d8a2)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-300_aduln_72{color:var(--92f9a7)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-400_aduln_75{color:var(--4db3c1)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-500_aduln_78{color:var(--2d6e08)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-600_aduln_81{color:var(--2db5c2)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-700_aduln_84{color:var(--b31329)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-800_aduln_87{color:var(--66ebdf)}._ExpColor_aduln_3._ExpColor--exp-color-blue-50_aduln_90{color:var(--6ae6f0)}._ExpColor_aduln_3._ExpColor--exp-color-blue-100_aduln_93{color:var(--b916ba)}._ExpColor_aduln_3._ExpColor--exp-color-blue-200_aduln_96{color:var(--c6fc9c)}._ExpColor_aduln_3._ExpColor--exp-color-blue-300_aduln_99{color:var(--b773b2)}._ExpColor_aduln_3._ExpColor--exp-color-blue-400_aduln_102{color:var(--e848c4)}._ExpColor_aduln_3._ExpColor--exp-color-blue-500_aduln_105{color:var(--e57766)}._ExpColor_aduln_3._ExpColor--exp-color-blue-600_aduln_108{color:var(--fdf041)}._ExpColor_aduln_3._ExpColor--exp-color-blue-700_aduln_111{color:var(--cd5904)}._ExpColor_aduln_3._ExpColor--exp-color-blue-800_aduln_114{color:var(--440fc3)}._ExpColor_aduln_3._ExpColor--exp-color-teal-50_aduln_117{color:var(--9fac3a)}._ExpColor_aduln_3._ExpColor--exp-color-teal-100_aduln_120{color:var(--32b0b3)}._ExpColor_aduln_3._ExpColor--exp-color-teal-200_aduln_123{color:var(--873ad3)}._ExpColor_aduln_3._ExpColor--exp-color-teal-300_aduln_126{color:var(--202011)}._ExpColor_aduln_3._ExpColor--exp-color-teal-400_aduln_129{color:var(--4f3eb4)}._ExpColor_aduln_3._ExpColor--exp-color-teal-500_aduln_132{color:var(--c47d0d)}._ExpColor_aduln_3._ExpColor--exp-color-teal-600_aduln_135{color:var(--985403)}._ExpColor_aduln_3._ExpColor--exp-color-teal-700_aduln_138{color:var(--2c9147)}._ExpColor_aduln_3._ExpColor--exp-color-teal-800_aduln_141{color:var(--0d9ea5)}._ExpColor_aduln_3._ExpColor--exp-color-red-50_aduln_144{color:var(--f951e9)}._ExpColor_aduln_3._ExpColor--exp-color-red-100_aduln_147{color:var(--3aa891)}._ExpColor_aduln_3._ExpColor--exp-color-red-200_aduln_150{color:var(--ba4c34)}._ExpColor_aduln_3._ExpColor--exp-color-red-300_aduln_153{color:var(--943cfc)}._ExpColor_aduln_3._ExpColor--exp-color-red-400_aduln_156{color:var(--8af651)}._ExpColor_aduln_3._ExpColor--exp-color-red-500_aduln_159{color:var(--f5bfe7)}._ExpColor_aduln_3._ExpColor--exp-color-red-600_aduln_162{color:var(--1bd221)}._ExpColor_aduln_3._ExpColor--exp-color-red-700_aduln_165{color:var(--38cd90)}._ExpColor_aduln_3._ExpColor--exp-color-red-800_aduln_168{color:var(--e9fcc6)}._Icon_793iz_4{display:inline-block;vertical-align:text-top}._Icon_793iz_4 svg{display:block;width:100%;min-width:100%;max-width:100%;max-height:100%;fill:currentColor}._Icon--size-2xs_793iz_16{width:var(--b21f61);height:var(--b21f61);min-width:var(--b21f61);max-width:var(--b21f61)}._Icon--size-xs_793iz_22{width:var(--766f3b);height:var(--766f3b);min-width:var(--766f3b);max-width:var(--766f3b)}._Icon--size-s_793iz_28{width:var(--7c1b1c);height:var(--7c1b1c);min-width:var(--7c1b1c);max-width:var(--7c1b1c)}._Icon--size-m_793iz_34{width:var(--2152b7);height:var(--2152b7);min-width:var(--2152b7);max-width:var(--2152b7)}._Icon--size-l_793iz_40{width:var(--8f525f);height:var(--8f525f);min-width:var(--8f525f);max-width:var(--8f525f)}._Icon--size-16_793iz_46{width:var(--656bbc);height:var(--656bbc);min-width:var(--656bbc);max-width:var(--656bbc)}._Icon--size-24_793iz_52{width:var(--81dc82);height:var(--81dc82);min-width:var(--81dc82);max-width:var(--81dc82)}._Icon--size-32_793iz_58{width:var(--2a6452);height:var(--2a6452);min-width:var(--2a6452);max-width:var(--2a6452)}._Icon--size-48_793iz_64{width:var(--03d2e4);height:var(--03d2e4);min-width:var(--03d2e4);max-width:var(--03d2e4)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._Icon_793iz_4{display:inline-block;vertical-align:text-top}._Icon_793iz_4 svg{display:block;width:100%;min-width:100%;max-width:100%;max-height:100%;fill:currentColor}._Icon--size-2xs_793iz_16{width:var(--b21f61);height:var(--b21f61);min-width:var(--b21f61);max-width:var(--b21f61)}._Icon--size-xs_793iz_22{width:var(--766f3b);height:var(--766f3b);min-width:var(--766f3b);max-width:var(--766f3b)}._Icon--size-s_793iz_28{width:var(--7c1b1c);height:var(--7c1b1c);min-width:var(--7c1b1c);max-width:var(--7c1b1c)}._Icon--size-m_793iz_34{width:var(--2152b7);height:var(--2152b7);min-width:var(--2152b7);max-width:var(--2152b7)}._Icon--size-l_793iz_40{width:var(--8f525f);height:var(--8f525f);min-width:var(--8f525f);max-width:var(--8f525f)}._Icon--size-16_793iz_46{width:var(--656bbc);height:var(--656bbc);min-width:var(--656bbc);max-width:var(--656bbc)}._Icon--size-24_793iz_52{width:var(--81dc82);height:var(--81dc82);min-width:var(--81dc82);max-width:var(--81dc82)}._Icon--size-32_793iz_58{width:var(--2a6452);height:var(--2a6452);min-width:var(--2a6452);max-width:var(--2a6452)}._Icon--size-48_793iz_64{width:var(--03d2e4);height:var(--03d2e4);min-width:var(--03d2e4);max-width:var(--03d2e4)}._ExpColor_aduln_3._ExpColor--exp-color-grey-0_aduln_3{color:var(--d751dc)}._ExpColor_aduln_3._ExpColor--exp-color-grey-50_aduln_6{color:var(--d4e1b8)}._ExpColor_aduln_3._ExpColor--exp-color-grey-100_aduln_9{color:var(--e986ec)}._ExpColor_aduln_3._ExpColor--exp-color-grey-200_aduln_12{color:var(--8a8cb8)}._ExpColor_aduln_3._ExpColor--exp-color-grey-300_aduln_15{color:var(--e7dcf4)}._ExpColor_aduln_3._ExpColor--exp-color-grey-400_aduln_18{color:var(--d48a93)}._ExpColor_aduln_3._ExpColor--exp-color-grey-500_aduln_21{color:var(--9b582c)}._ExpColor_aduln_3._ExpColor--exp-color-grey-600_aduln_24{color:var(--bd0a12)}._ExpColor_aduln_3._ExpColor--exp-color-grey-700_aduln_27{color:var(--5540cb)}._ExpColor_aduln_3._ExpColor--exp-color-grey-800_aduln_30{color:var(--3f9d59)}._ExpColor_aduln_3._ExpColor--exp-color-grey-900_aduln_33{color:var(--0d2c1d)}._ExpColor_aduln_3._ExpColor--exp-color-pink-50_aduln_36{color:var(--696262)}._ExpColor_aduln_3._ExpColor--exp-color-pink-100_aduln_39{color:var(--2a8bdc)}._ExpColor_aduln_3._ExpColor--exp-color-pink-200_aduln_42{color:var(--9c55fe)}._ExpColor_aduln_3._ExpColor--exp-color-pink-300_aduln_45{color:var(--55b1b2)}._ExpColor_aduln_3._ExpColor--exp-color-pink-400_aduln_48{color:var(--e2e617)}._ExpColor_aduln_3._ExpColor--exp-color-pink-500_aduln_51{color:var(--28075b)}._ExpColor_aduln_3._ExpColor--exp-color-pink-600_aduln_54{color:var(--0d21bc)}._ExpColor_aduln_3._ExpColor--exp-color-pink-700_aduln_57{color:var(--dcc28c)}._ExpColor_aduln_3._ExpColor--exp-color-pink-800_aduln_60{color:var(--e2ccaa)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-50_aduln_63{color:var(--f73f81)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-100_aduln_66{color:var(--05c737)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-200_aduln_69{color:var(--32d8a2)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-300_aduln_72{color:var(--92f9a7)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-400_aduln_75{color:var(--4db3c1)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-500_aduln_78{color:var(--2d6e08)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-600_aduln_81{color:var(--2db5c2)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-700_aduln_84{color:var(--b31329)}._ExpColor_aduln_3._ExpColor--exp-color-yellow-800_aduln_87{color:var(--66ebdf)}._ExpColor_aduln_3._ExpColor--exp-color-blue-50_aduln_90{color:var(--6ae6f0)}._ExpColor_aduln_3._ExpColor--exp-color-blue-100_aduln_93{color:var(--b916ba)}._ExpColor_aduln_3._ExpColor--exp-color-blue-200_aduln_96{color:var(--c6fc9c)}._ExpColor_aduln_3._ExpColor--exp-color-blue-300_aduln_99{color:var(--b773b2)}._ExpColor_aduln_3._ExpColor--exp-color-blue-400_aduln_102{color:var(--e848c4)}._ExpColor_aduln_3._ExpColor--exp-color-blue-500_aduln_105{color:var(--e57766)}._ExpColor_aduln_3._ExpColor--exp-color-blue-600_aduln_108{color:var(--fdf041)}._ExpColor_aduln_3._ExpColor--exp-color-blue-700_aduln_111{color:var(--cd5904)}._ExpColor_aduln_3._ExpColor--exp-color-blue-800_aduln_114{color:var(--440fc3)}._ExpColor_aduln_3._ExpColor--exp-color-teal-50_aduln_117{color:var(--9fac3a)}._ExpColor_aduln_3._ExpColor--exp-color-teal-100_aduln_120{color:var(--32b0b3)}._ExpColor_aduln_3._ExpColor--exp-color-teal-200_aduln_123{color:var(--873ad3)}._ExpColor_aduln_3._ExpColor--exp-color-teal-300_aduln_126{color:var(--202011)}._ExpColor_aduln_3._ExpColor--exp-color-teal-400_aduln_129{color:var(--4f3eb4)}._ExpColor_aduln_3._ExpColor--exp-color-teal-500_aduln_132{color:var(--c47d0d)}._ExpColor_aduln_3._ExpColor--exp-color-teal-600_aduln_135{color:var(--985403)}._ExpColor_aduln_3._ExpColor--exp-color-teal-700_aduln_138{color:var(--2c9147)}._ExpColor_aduln_3._ExpColor--exp-color-teal-800_aduln_141{color:var(--0d9ea5)}._ExpColor_aduln_3._ExpColor--exp-color-red-50_aduln_144{color:var(--f951e9)}._ExpColor_aduln_3._ExpColor--exp-color-red-100_aduln_147{color:var(--3aa891)}._ExpColor_aduln_3._ExpColor--exp-color-red-200_aduln_150{color:var(--ba4c34)}._ExpColor_aduln_3._ExpColor--exp-color-red-300_aduln_153{color:var(--943cfc)}._ExpColor_aduln_3._ExpColor--exp-color-red-400_aduln_156{color:var(--8af651)}._ExpColor_aduln_3._ExpColor--exp-color-red-500_aduln_159{color:var(--f5bfe7)}._ExpColor_aduln_3._ExpColor--exp-color-red-600_aduln_162{color:var(--1bd221)}._ExpColor_aduln_3._ExpColor--exp-color-red-700_aduln_165{color:var(--38cd90)}._ExpColor_aduln_3._ExpColor--exp-color-red-800_aduln_168{color:var(--e9fcc6)}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{j as d}from"./jsx-runtime-BTJTZTIL.js";import{r as m}from"./index-Cb9e4tly.js";import{u as o,I as p,s as v}from"./FieldLayoutBase-DQbxDQVA.js";import{m as f}from"./classNames-BUL1Zq7e.js";import{w as a}from"./componentNames-Bwls0I02.js";const c=({onChange:e,onValueChange:u,...n},t)=>{const r=f(v,a.InputText),i=o(s=>s.target.value,e,u);return d.jsx(p,{...n,ref:t,className:r.join(" "),onChange:i,preplyDsComponent:a.InputText})},l=m.forwardRef(c);try{l.displayName="InputText",l.__docgenInfo={description:"",displayName:"InputText",props:{dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"enum",value:[{value:"string"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler<Element>"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},hasError:{defaultValue:null,description:"",name:"hasError",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-describedby":{defaultValue:null,description:`Identifies the element (or elements) that describes the object.
|
|
2
|
-
@see aria-labelledby`,name:"aria-describedby",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-disabled":{defaultValue:null,description:`Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
3
|
-
@see aria-hidden
|
|
4
|
-
@see aria-readonly.`,name:"aria-disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-invalid":{defaultValue:null,description:`Indicates the entered value does not conform to the format expected by the application.
|
|
5
|
-
@see aria-errormessage.`,name:"aria-invalid",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'},{value:'"grammar"'},{value:'"spelling"'}]}},"aria-required":{defaultValue:null,description:"Indicates that user input is required on the element before a form may be submitted.",name:"aria-required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},autoComplete:{defaultValue:null,description:"",name:"autoComplete",required:!1,type:{name:"enum",value:[{value:'"url"'},{value:'"name"'},{value:'"off"'},{value:'"on"'},{value:'"email"'},{value:'"username"'},{value:'"language"'},{value:'"tel"'},{value:'"new-password"'},{value:'"current-password"'}]}},maxLength:{defaultValue:null,description:"",name:"maxLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"enum",value:[{value:"string"}]}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"enum",value:[{value:"string"}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"enum",value:[{value:"ChangeEventHandler<Element>"}]}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"enum",value:[{value:"FocusEventHandler<Element>"}]}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"enum",value:[{value:"FocusEventHandler<Element>"}]}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler<Element>"}]}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler<Element>"}]}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"enum",value:[{value:"ClipboardEventHandler<Element>"}]}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"enum",value:[{value:"ClipboardEventHandler<Element>"}]}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"url"'},{value:'"search"'},{value:'"text"'},{value:'"email"'},{value:'"tel"'}]}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!1,type:{name:"enum",value:[{value:"ValueChangeEventHandler<string>"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: InputImperativeHandle | null) => void"},{value:"RefObject<InputImperativeHandle>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{l as I};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as L}from"./jsx-runtime-BTJTZTIL.js";import{r as x}from"./index-Cb9e4tly.js";import{g as F,a as I,b as g}from"./layout-relative-DZ8FL-vJ.js";import{f as w}from"./filterHTMLAttributes-DYdLqcvH.js";import{m as b,b as z}from"./classNames-BUL1Zq7e.js";import{w as e}from"./componentNames-Bwls0I02.js";import{g as C}from"./index-DdzHuZ-Y.js";import{L as N}from"./defaults-B1rzzf6M.js";const R="_LayoutFlexItem_1yszu_2",q={LayoutFlexItem:R,"LayoutFlexItem--stretch":"_LayoutFlexItem--stretch_1yszu_11","LayoutFlexItem--no-stretch":"_LayoutFlexItem--no-stretch_1yszu_14","LayoutFlexItem--narrow-l--stretch":"_LayoutFlexItem--narrow-l--stretch_1yszu_18","LayoutFlexItem--narrow-l--no-stretch":"_LayoutFlexItem--narrow-l--no-stretch_1yszu_21","LayoutFlexItem--medium-s--stretch":"_LayoutFlexItem--medium-s--stretch_1yszu_26","LayoutFlexItem--medium-s--no-stretch":"_LayoutFlexItem--medium-s--no-stretch_1yszu_29","LayoutFlexItem--medium-l--stretch":"_LayoutFlexItem--medium-l--stretch_1yszu_34","LayoutFlexItem--medium-l--no-stretch":"_LayoutFlexItem--medium-l--no-stretch_1yszu_37","LayoutFlexItem--wide-s--stretch":"_LayoutFlexItem--wide-s--stretch_1yszu_42","LayoutFlexItem--wide-s--no-stretch":"_LayoutFlexItem--wide-s--no-stretch_1yszu_45","LayoutFlexItem--wide-l--stretch":"_LayoutFlexItem--wide-l--stretch_1yszu_50","LayoutFlexItem--wide-l--no-stretch":"_LayoutFlexItem--wide-l--no-stretch_1yszu_53"},t=x.forwardRef(function({children:l,alignSelf:s,stretch:u=!1,tag:o,hide:n,relative:r,dataset:m,...i},c){const y=b(q,e.LayoutFlexItem,z("stretch","no-stretch",u)),d=F(s),v=I(n),p=g(r),f=[...y,...d,...v,...p],_=o??N,h={...w(i),ref:c,className:f.join(" "),...C(m,{preplyDsComponent:e.LayoutFlexItem})};return L.jsx(_,{...h,children:l})});try{t.displayName="LayoutFlexItem",t.__docgenInfo={description:"",displayName:"LayoutFlexItem",props:{alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:"ResponsiveProp<LayoutAlignSelf>"}]}},stretch:{defaultValue:{value:"false"},description:"",name:"stretch",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"p"'},{value:'"span"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{t as L};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._LayoutFlexItem_1yszu_2{padding:0;margin:0;list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0}._LayoutFlexItem--stretch_1yszu_11{flex:1}._LayoutFlexItem--no-stretch_1yszu_14{flex:none}@media (min-width: 400px){._LayoutFlexItem--narrow-l--stretch_1yszu_18{flex:1}._LayoutFlexItem--narrow-l--no-stretch_1yszu_21{flex:none}}@media (min-width: 700px){._LayoutFlexItem--medium-s--stretch_1yszu_26{flex:1}._LayoutFlexItem--medium-s--no-stretch_1yszu_29{flex:none}}@media (min-width: 880px){._LayoutFlexItem--medium-l--stretch_1yszu_34{flex:1}._LayoutFlexItem--medium-l--no-stretch_1yszu_37{flex:none}}@media (min-width: 1200px){._LayoutFlexItem--wide-s--stretch_1yszu_42{flex:1}._LayoutFlexItem--wide-s--no-stretch_1yszu_45{flex:none}}@media (min-width: 1900px){._LayoutFlexItem--wide-l--stretch_1yszu_50{flex:1}._LayoutFlexItem--wide-l--no-stretch_1yszu_53{flex:none}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._LayoutGridItem_2tq6r_1{margin:0;list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;padding:0}._LayoutGrid_10h87_4{list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;margin:0;padding:0;display:grid}._LayoutGrid--justify-content-center_10h87_14{justify-content:center}._LayoutGrid--justify-content-start_10h87_17{justify-content:start}._LayoutGrid--justify-content-end_10h87_20{justify-content:end}._LayoutGrid--justify-content-space-between_10h87_23{justify-content:space-between}._LayoutGrid--justify-content-space-around_10h87_26{justify-content:space-around}._LayoutGrid--justify-content-space-evenly_10h87_29{justify-content:space-evenly}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-content-center_10h87_33{justify-content:center}._LayoutGrid--narrow-l--justify-content-start_10h87_36{justify-content:start}._LayoutGrid--narrow-l--justify-content-end_10h87_39{justify-content:end}._LayoutGrid--narrow-l--justify-content-space-between_10h87_42{justify-content:space-between}._LayoutGrid--narrow-l--justify-content-space-around_10h87_45{justify-content:space-around}._LayoutGrid--narrow-l--justify-content-space-evenly_10h87_48{justify-content:space-evenly}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-content-center_10h87_53{justify-content:center}._LayoutGrid--medium-s--justify-content-start_10h87_56{justify-content:start}._LayoutGrid--medium-s--justify-content-end_10h87_59{justify-content:end}._LayoutGrid--medium-s--justify-content-space-between_10h87_62{justify-content:space-between}._LayoutGrid--medium-s--justify-content-space-around_10h87_65{justify-content:space-around}._LayoutGrid--medium-s--justify-content-space-evenly_10h87_68{justify-content:space-evenly}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-content-center_10h87_73{justify-content:center}._LayoutGrid--medium-l--justify-content-start_10h87_76{justify-content:start}._LayoutGrid--medium-l--justify-content-end_10h87_79{justify-content:end}._LayoutGrid--medium-l--justify-content-space-between_10h87_82{justify-content:space-between}._LayoutGrid--medium-l--justify-content-space-around_10h87_85{justify-content:space-around}._LayoutGrid--medium-l--justify-content-space-evenly_10h87_88{justify-content:space-evenly}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-content-center_10h87_93{justify-content:center}._LayoutGrid--wide-s--justify-content-start_10h87_96{justify-content:start}._LayoutGrid--wide-s--justify-content-end_10h87_99{justify-content:end}._LayoutGrid--wide-s--justify-content-space-between_10h87_102{justify-content:space-between}._LayoutGrid--wide-s--justify-content-space-around_10h87_105{justify-content:space-around}._LayoutGrid--wide-s--justify-content-space-evenly_10h87_108{justify-content:space-evenly}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-content-center_10h87_113{justify-content:center}._LayoutGrid--wide-l--justify-content-start_10h87_116{justify-content:start}._LayoutGrid--wide-l--justify-content-end_10h87_119{justify-content:end}._LayoutGrid--wide-l--justify-content-space-between_10h87_122{justify-content:space-between}._LayoutGrid--wide-l--justify-content-space-around_10h87_125{justify-content:space-around}._LayoutGrid--wide-l--justify-content-space-evenly_10h87_128{justify-content:space-evenly}}._LayoutGrid--align-items-center_10h87_132{align-items:center}._LayoutGrid--align-items-start_10h87_135{align-items:start}._LayoutGrid--align-items-end_10h87_138{align-items:end}._LayoutGrid--align-items-stretch_10h87_141{align-items:stretch}._LayoutGrid--align-items-baseline_10h87_144{align-items:baseline}@media (min-width: 400px){._LayoutGrid--narrow-l--align-items-center_10h87_148{align-items:center}._LayoutGrid--narrow-l--align-items-start_10h87_151{align-items:start}._LayoutGrid--narrow-l--align-items-end_10h87_154{align-items:end}._LayoutGrid--narrow-l--align-items-stretch_10h87_157{align-items:stretch}._LayoutGrid--narrow-l--align-items-baseline_10h87_160{align-items:baseline}}@media (min-width: 700px){._LayoutGrid--medium-s--align-items-center_10h87_165{align-items:center}._LayoutGrid--medium-s--align-items-start_10h87_168{align-items:start}._LayoutGrid--medium-s--align-items-end_10h87_171{align-items:end}._LayoutGrid--medium-s--align-items-stretch_10h87_174{align-items:stretch}._LayoutGrid--medium-s--align-items-baseline_10h87_177{align-items:baseline}}@media (min-width: 880px){._LayoutGrid--medium-l--align-items-center_10h87_182{align-items:center}._LayoutGrid--medium-l--align-items-start_10h87_185{align-items:start}._LayoutGrid--medium-l--align-items-end_10h87_188{align-items:end}._LayoutGrid--medium-l--align-items-stretch_10h87_191{align-items:stretch}._LayoutGrid--medium-l--align-items-baseline_10h87_194{align-items:baseline}}@media (min-width: 1200px){._LayoutGrid--wide-s--align-items-center_10h87_199{align-items:center}._LayoutGrid--wide-s--align-items-start_10h87_202{align-items:start}._LayoutGrid--wide-s--align-items-end_10h87_205{align-items:end}._LayoutGrid--wide-s--align-items-stretch_10h87_208{align-items:stretch}._LayoutGrid--wide-s--align-items-baseline_10h87_211{align-items:baseline}}@media (min-width: 1900px){._LayoutGrid--wide-l--align-items-center_10h87_216{align-items:center}._LayoutGrid--wide-l--align-items-start_10h87_219{align-items:start}._LayoutGrid--wide-l--align-items-end_10h87_222{align-items:end}._LayoutGrid--wide-l--align-items-stretch_10h87_225{align-items:stretch}._LayoutGrid--wide-l--align-items-baseline_10h87_228{align-items:baseline}}._LayoutGrid--justify-items-stretch_10h87_232{justify-items:stretch}._LayoutGrid--justify-items-center_10h87_235{justify-items:center}._LayoutGrid--justify-items-start_10h87_238{justify-items:start}._LayoutGrid--justify-items-end_10h87_241{justify-items:end}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-items-stretch_10h87_245{justify-items:stretch}._LayoutGrid--narrow-l--justify-items-center_10h87_248{justify-items:center}._LayoutGrid--narrow-l--justify-items-start_10h87_251{justify-items:start}._LayoutGrid--narrow-l--justify-items-end_10h87_254{justify-items:end}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-items-stretch_10h87_259{justify-items:stretch}._LayoutGrid--medium-s--justify-items-center_10h87_262{justify-items:center}._LayoutGrid--medium-s--justify-items-start_10h87_265{justify-items:start}._LayoutGrid--medium-s--justify-items-end_10h87_268{justify-items:end}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-items-stretch_10h87_273{justify-items:stretch}._LayoutGrid--medium-l--justify-items-center_10h87_276{justify-items:center}._LayoutGrid--medium-l--justify-items-start_10h87_279{justify-items:start}._LayoutGrid--medium-l--justify-items-end_10h87_282{justify-items:end}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-items-stretch_10h87_287{justify-items:stretch}._LayoutGrid--wide-s--justify-items-center_10h87_290{justify-items:center}._LayoutGrid--wide-s--justify-items-start_10h87_293{justify-items:start}._LayoutGrid--wide-s--justify-items-end_10h87_296{justify-items:end}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-items-stretch_10h87_301{justify-items:stretch}._LayoutGrid--wide-l--justify-items-center_10h87_304{justify-items:center}._LayoutGrid--wide-l--justify-items-start_10h87_307{justify-items:start}._LayoutGrid--wide-l--justify-items-end_10h87_310{justify-items:end}}._LayoutGrid--columns_10h87_314{grid-template-columns:var(--columns)}@media (min-width: 400px){._LayoutGrid--columns-narrow-l_10h87_318{grid-template-columns:var(--columns-narrow-l)}}@media (min-width: 700px){._LayoutGrid--columns-medium-s_10h87_323{grid-template-columns:var(--columns-medium-s)}}@media (min-width: 880px){._LayoutGrid--columns-medium-l_10h87_328{grid-template-columns:var(--columns-medium-l)}}@media (min-width: 1200px){._LayoutGrid--columns-wide-s_10h87_333{grid-template-columns:var(--columns-wide-s)}}@media (min-width: 1900px){._LayoutGrid--columns-wide-l_10h87_338{grid-template-columns:var(--columns-wide-l)}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as h}from"./jsx-runtime-BTJTZTIL.js";import{r as w}from"./index-Cb9e4tly.js";import{m as o,b as c,a as g,s as u}from"./classNames-BUL1Zq7e.js";import{B as p}from"./breakpoints-BfMlrtxE.js";import{a as b,b as A,s as C,g as N}from"./layout-relative.module-CXJ9jc4G--YD8TQc4.js";import{L as T}from"./constants-DYYVurUY.js";import{k as v,f as U,L as I}from"./defaults-B1rzzf6M.js";import{f as O}from"./filterHTMLAttributes-UOns5Q7s.js";import{g as D}from"./index-DdzHuZ-Y.js";import{w as E}from"./componentNames-Bwls0I02.js";const R="LayoutHide",Y=(t,i=T)=>o(b,R,[c("hide",i,t)]),$="LayoutRelative",P=t=>o(A,$,[c("relative",void 0,t)]),x="_LayoutGrid_10h87_4",G={LayoutGrid:x,"LayoutGrid--justify-content-center":"_LayoutGrid--justify-content-center_10h87_14","LayoutGrid--justify-content-start":"_LayoutGrid--justify-content-start_10h87_17","LayoutGrid--justify-content-end":"_LayoutGrid--justify-content-end_10h87_20","LayoutGrid--justify-content-space-between":"_LayoutGrid--justify-content-space-between_10h87_23","LayoutGrid--justify-content-space-around":"_LayoutGrid--justify-content-space-around_10h87_26","LayoutGrid--justify-content-space-evenly":"_LayoutGrid--justify-content-space-evenly_10h87_29","LayoutGrid--narrow-l--justify-content-center":"_LayoutGrid--narrow-l--justify-content-center_10h87_33","LayoutGrid--narrow-l--justify-content-start":"_LayoutGrid--narrow-l--justify-content-start_10h87_36","LayoutGrid--narrow-l--justify-content-end":"_LayoutGrid--narrow-l--justify-content-end_10h87_39","LayoutGrid--narrow-l--justify-content-space-between":"_LayoutGrid--narrow-l--justify-content-space-between_10h87_42","LayoutGrid--narrow-l--justify-content-space-around":"_LayoutGrid--narrow-l--justify-content-space-around_10h87_45","LayoutGrid--narrow-l--justify-content-space-evenly":"_LayoutGrid--narrow-l--justify-content-space-evenly_10h87_48","LayoutGrid--medium-s--justify-content-center":"_LayoutGrid--medium-s--justify-content-center_10h87_53","LayoutGrid--medium-s--justify-content-start":"_LayoutGrid--medium-s--justify-content-start_10h87_56","LayoutGrid--medium-s--justify-content-end":"_LayoutGrid--medium-s--justify-content-end_10h87_59","LayoutGrid--medium-s--justify-content-space-between":"_LayoutGrid--medium-s--justify-content-space-between_10h87_62","LayoutGrid--medium-s--justify-content-space-around":"_LayoutGrid--medium-s--justify-content-space-around_10h87_65","LayoutGrid--medium-s--justify-content-space-evenly":"_LayoutGrid--medium-s--justify-content-space-evenly_10h87_68","LayoutGrid--medium-l--justify-content-center":"_LayoutGrid--medium-l--justify-content-center_10h87_73","LayoutGrid--medium-l--justify-content-start":"_LayoutGrid--medium-l--justify-content-start_10h87_76","LayoutGrid--medium-l--justify-content-end":"_LayoutGrid--medium-l--justify-content-end_10h87_79","LayoutGrid--medium-l--justify-content-space-between":"_LayoutGrid--medium-l--justify-content-space-between_10h87_82","LayoutGrid--medium-l--justify-content-space-around":"_LayoutGrid--medium-l--justify-content-space-around_10h87_85","LayoutGrid--medium-l--justify-content-space-evenly":"_LayoutGrid--medium-l--justify-content-space-evenly_10h87_88","LayoutGrid--wide-s--justify-content-center":"_LayoutGrid--wide-s--justify-content-center_10h87_93","LayoutGrid--wide-s--justify-content-start":"_LayoutGrid--wide-s--justify-content-start_10h87_96","LayoutGrid--wide-s--justify-content-end":"_LayoutGrid--wide-s--justify-content-end_10h87_99","LayoutGrid--wide-s--justify-content-space-between":"_LayoutGrid--wide-s--justify-content-space-between_10h87_102","LayoutGrid--wide-s--justify-content-space-around":"_LayoutGrid--wide-s--justify-content-space-around_10h87_105","LayoutGrid--wide-s--justify-content-space-evenly":"_LayoutGrid--wide-s--justify-content-space-evenly_10h87_108","LayoutGrid--wide-l--justify-content-center":"_LayoutGrid--wide-l--justify-content-center_10h87_113","LayoutGrid--wide-l--justify-content-start":"_LayoutGrid--wide-l--justify-content-start_10h87_116","LayoutGrid--wide-l--justify-content-end":"_LayoutGrid--wide-l--justify-content-end_10h87_119","LayoutGrid--wide-l--justify-content-space-between":"_LayoutGrid--wide-l--justify-content-space-between_10h87_122","LayoutGrid--wide-l--justify-content-space-around":"_LayoutGrid--wide-l--justify-content-space-around_10h87_125","LayoutGrid--wide-l--justify-content-space-evenly":"_LayoutGrid--wide-l--justify-content-space-evenly_10h87_128","LayoutGrid--align-items-center":"_LayoutGrid--align-items-center_10h87_132","LayoutGrid--align-items-start":"_LayoutGrid--align-items-start_10h87_135","LayoutGrid--align-items-end":"_LayoutGrid--align-items-end_10h87_138","LayoutGrid--align-items-stretch":"_LayoutGrid--align-items-stretch_10h87_141","LayoutGrid--align-items-baseline":"_LayoutGrid--align-items-baseline_10h87_144","LayoutGrid--narrow-l--align-items-center":"_LayoutGrid--narrow-l--align-items-center_10h87_148","LayoutGrid--narrow-l--align-items-start":"_LayoutGrid--narrow-l--align-items-start_10h87_151","LayoutGrid--narrow-l--align-items-end":"_LayoutGrid--narrow-l--align-items-end_10h87_154","LayoutGrid--narrow-l--align-items-stretch":"_LayoutGrid--narrow-l--align-items-stretch_10h87_157","LayoutGrid--narrow-l--align-items-baseline":"_LayoutGrid--narrow-l--align-items-baseline_10h87_160","LayoutGrid--medium-s--align-items-center":"_LayoutGrid--medium-s--align-items-center_10h87_165","LayoutGrid--medium-s--align-items-start":"_LayoutGrid--medium-s--align-items-start_10h87_168","LayoutGrid--medium-s--align-items-end":"_LayoutGrid--medium-s--align-items-end_10h87_171","LayoutGrid--medium-s--align-items-stretch":"_LayoutGrid--medium-s--align-items-stretch_10h87_174","LayoutGrid--medium-s--align-items-baseline":"_LayoutGrid--medium-s--align-items-baseline_10h87_177","LayoutGrid--medium-l--align-items-center":"_LayoutGrid--medium-l--align-items-center_10h87_182","LayoutGrid--medium-l--align-items-start":"_LayoutGrid--medium-l--align-items-start_10h87_185","LayoutGrid--medium-l--align-items-end":"_LayoutGrid--medium-l--align-items-end_10h87_188","LayoutGrid--medium-l--align-items-stretch":"_LayoutGrid--medium-l--align-items-stretch_10h87_191","LayoutGrid--medium-l--align-items-baseline":"_LayoutGrid--medium-l--align-items-baseline_10h87_194","LayoutGrid--wide-s--align-items-center":"_LayoutGrid--wide-s--align-items-center_10h87_199","LayoutGrid--wide-s--align-items-start":"_LayoutGrid--wide-s--align-items-start_10h87_202","LayoutGrid--wide-s--align-items-end":"_LayoutGrid--wide-s--align-items-end_10h87_205","LayoutGrid--wide-s--align-items-stretch":"_LayoutGrid--wide-s--align-items-stretch_10h87_208","LayoutGrid--wide-s--align-items-baseline":"_LayoutGrid--wide-s--align-items-baseline_10h87_211","LayoutGrid--wide-l--align-items-center":"_LayoutGrid--wide-l--align-items-center_10h87_216","LayoutGrid--wide-l--align-items-start":"_LayoutGrid--wide-l--align-items-start_10h87_219","LayoutGrid--wide-l--align-items-end":"_LayoutGrid--wide-l--align-items-end_10h87_222","LayoutGrid--wide-l--align-items-stretch":"_LayoutGrid--wide-l--align-items-stretch_10h87_225","LayoutGrid--wide-l--align-items-baseline":"_LayoutGrid--wide-l--align-items-baseline_10h87_228","LayoutGrid--justify-items-stretch":"_LayoutGrid--justify-items-stretch_10h87_232","LayoutGrid--justify-items-center":"_LayoutGrid--justify-items-center_10h87_235","LayoutGrid--justify-items-start":"_LayoutGrid--justify-items-start_10h87_238","LayoutGrid--justify-items-end":"_LayoutGrid--justify-items-end_10h87_241","LayoutGrid--narrow-l--justify-items-stretch":"_LayoutGrid--narrow-l--justify-items-stretch_10h87_245","LayoutGrid--narrow-l--justify-items-center":"_LayoutGrid--narrow-l--justify-items-center_10h87_248","LayoutGrid--narrow-l--justify-items-start":"_LayoutGrid--narrow-l--justify-items-start_10h87_251","LayoutGrid--narrow-l--justify-items-end":"_LayoutGrid--narrow-l--justify-items-end_10h87_254","LayoutGrid--medium-s--justify-items-stretch":"_LayoutGrid--medium-s--justify-items-stretch_10h87_259","LayoutGrid--medium-s--justify-items-center":"_LayoutGrid--medium-s--justify-items-center_10h87_262","LayoutGrid--medium-s--justify-items-start":"_LayoutGrid--medium-s--justify-items-start_10h87_265","LayoutGrid--medium-s--justify-items-end":"_LayoutGrid--medium-s--justify-items-end_10h87_268","LayoutGrid--medium-l--justify-items-stretch":"_LayoutGrid--medium-l--justify-items-stretch_10h87_273","LayoutGrid--medium-l--justify-items-center":"_LayoutGrid--medium-l--justify-items-center_10h87_276","LayoutGrid--medium-l--justify-items-start":"_LayoutGrid--medium-l--justify-items-start_10h87_279","LayoutGrid--medium-l--justify-items-end":"_LayoutGrid--medium-l--justify-items-end_10h87_282","LayoutGrid--wide-s--justify-items-stretch":"_LayoutGrid--wide-s--justify-items-stretch_10h87_287","LayoutGrid--wide-s--justify-items-center":"_LayoutGrid--wide-s--justify-items-center_10h87_290","LayoutGrid--wide-s--justify-items-start":"_LayoutGrid--wide-s--justify-items-start_10h87_293","LayoutGrid--wide-s--justify-items-end":"_LayoutGrid--wide-s--justify-items-end_10h87_296","LayoutGrid--wide-l--justify-items-stretch":"_LayoutGrid--wide-l--justify-items-stretch_10h87_301","LayoutGrid--wide-l--justify-items-center":"_LayoutGrid--wide-l--justify-items-center_10h87_304","LayoutGrid--wide-l--justify-items-start":"_LayoutGrid--wide-l--justify-items-start_10h87_307","LayoutGrid--wide-l--justify-items-end":"_LayoutGrid--wide-l--justify-items-end_10h87_310","LayoutGrid--columns":"_LayoutGrid--columns_10h87_314","LayoutGrid--columns-narrow-l":"_LayoutGrid--columns-narrow-l_10h87_318","LayoutGrid--columns-medium-s":"_LayoutGrid--columns-medium-s_10h87_323","LayoutGrid--columns-medium-l":"_LayoutGrid--columns-medium-l_10h87_328","LayoutGrid--columns-wide-s":"_LayoutGrid--columns-wide-s_10h87_333","LayoutGrid--columns-wide-l":"_LayoutGrid--columns-wide-l_10h87_338"},F="LayoutGrid",H=Object.keys(p),L=t=>typeof t=="number"?`repeat(${t}, 1fr)`:t.join(" "),z=t=>typeof t=="object"&&!Array.isArray(t)?Object.entries(t).reduce((i,[a,e])=>({...i,...e?{[a]:L(e)}:{}}),{_:L(t._)}):{_:L(t)},S=t=>{if(!t)return{classNames:[],style:{}};const i=z(t),a=H.filter(s=>i[s]),e=g(G,F,["columns",...a.map(s=>`columns-${s}`)]),r=a.reduce((s,n)=>({...s,[`--columns-${n}`]:i[n]}),{"--columns":i._});return{classNames:e,style:r}},k="LayoutGap",K=t=>o(C,k,[u("gap",t)]),V="LayoutGrid",B=(t,i)=>{const{gap:a=v,padding:e=U,justifyContent:r,alignItems:s,justifyItems:n,hide:d,relative:y}=i||{},_=o(G,V,[u("justify-content",r),u("align-items",s),u("justify-items",n)]),m=K(a),l=N(e),f=Y(d,"grid"),j=P(y);return[..._,...m,...l,...f,...j]},M=w.forwardRef(function({dataset:i,children:a,...e},r){const{tag:s=I,columns:n}=e,d=B("grid",e),{style:y,classNames:_}=S(n),m=[...d,..._],l={...O(e),ref:r,className:m.join(" "),style:y,...D(i,{preplyDsComponent:E.LayoutGrid})};return h.jsx(s,{...l,children:a})});M.__docgenInfo={description:"",methods:[],displayName:"LayoutGrid"};export{M as L,P as a,Y as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._LayoutGrid_10h87_4{list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;margin:0;padding:0;display:grid}._LayoutGrid--justify-content-center_10h87_14{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--justify-content-start_10h87_17{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--justify-content-end_10h87_20{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--justify-content-space-between_10h87_23{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--justify-content-space-around_10h87_26{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--justify-content-space-evenly_10h87_29{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-content-center_10h87_33{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--narrow-l--justify-content-start_10h87_36{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--narrow-l--justify-content-end_10h87_39{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--narrow-l--justify-content-space-between_10h87_42{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--narrow-l--justify-content-space-around_10h87_45{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--narrow-l--justify-content-space-evenly_10h87_48{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-content-center_10h87_53{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--medium-s--justify-content-start_10h87_56{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--medium-s--justify-content-end_10h87_59{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--medium-s--justify-content-space-between_10h87_62{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--medium-s--justify-content-space-around_10h87_65{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--medium-s--justify-content-space-evenly_10h87_68{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-content-center_10h87_73{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--medium-l--justify-content-start_10h87_76{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--medium-l--justify-content-end_10h87_79{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--medium-l--justify-content-space-between_10h87_82{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--medium-l--justify-content-space-around_10h87_85{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--medium-l--justify-content-space-evenly_10h87_88{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-content-center_10h87_93{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--wide-s--justify-content-start_10h87_96{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--wide-s--justify-content-end_10h87_99{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--wide-s--justify-content-space-between_10h87_102{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--wide-s--justify-content-space-around_10h87_105{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--wide-s--justify-content-space-evenly_10h87_108{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-content-center_10h87_113{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--wide-l--justify-content-start_10h87_116{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--wide-l--justify-content-end_10h87_119{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--wide-l--justify-content-space-between_10h87_122{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--wide-l--justify-content-space-around_10h87_125{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--wide-l--justify-content-space-evenly_10h87_128{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}._LayoutGrid--align-items-center_10h87_132{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--align-items-start_10h87_135{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--align-items-end_10h87_138{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--align-items-stretch_10h87_141{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--align-items-baseline_10h87_144{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}@media (min-width: 400px){._LayoutGrid--narrow-l--align-items-center_10h87_148{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--narrow-l--align-items-start_10h87_151{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--narrow-l--align-items-end_10h87_154{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--narrow-l--align-items-stretch_10h87_157{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--narrow-l--align-items-baseline_10h87_160{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 700px){._LayoutGrid--medium-s--align-items-center_10h87_165{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--medium-s--align-items-start_10h87_168{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--medium-s--align-items-end_10h87_171{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--medium-s--align-items-stretch_10h87_174{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--medium-s--align-items-baseline_10h87_177{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 880px){._LayoutGrid--medium-l--align-items-center_10h87_182{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--medium-l--align-items-start_10h87_185{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--medium-l--align-items-end_10h87_188{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--medium-l--align-items-stretch_10h87_191{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--medium-l--align-items-baseline_10h87_194{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 1200px){._LayoutGrid--wide-s--align-items-center_10h87_199{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--wide-s--align-items-start_10h87_202{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--wide-s--align-items-end_10h87_205{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--wide-s--align-items-stretch_10h87_208{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--wide-s--align-items-baseline_10h87_211{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 1900px){._LayoutGrid--wide-l--align-items-center_10h87_216{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--wide-l--align-items-start_10h87_219{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--wide-l--align-items-end_10h87_222{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--wide-l--align-items-stretch_10h87_225{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--wide-l--align-items-baseline_10h87_228{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}._LayoutGrid--justify-items-stretch_10h87_232{justify-items:stretch}._LayoutGrid--justify-items-center_10h87_235{justify-items:center}._LayoutGrid--justify-items-start_10h87_238{justify-items:start}._LayoutGrid--justify-items-end_10h87_241{justify-items:end}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-items-stretch_10h87_245{justify-items:stretch}._LayoutGrid--narrow-l--justify-items-center_10h87_248{justify-items:center}._LayoutGrid--narrow-l--justify-items-start_10h87_251{justify-items:start}._LayoutGrid--narrow-l--justify-items-end_10h87_254{justify-items:end}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-items-stretch_10h87_259{justify-items:stretch}._LayoutGrid--medium-s--justify-items-center_10h87_262{justify-items:center}._LayoutGrid--medium-s--justify-items-start_10h87_265{justify-items:start}._LayoutGrid--medium-s--justify-items-end_10h87_268{justify-items:end}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-items-stretch_10h87_273{justify-items:stretch}._LayoutGrid--medium-l--justify-items-center_10h87_276{justify-items:center}._LayoutGrid--medium-l--justify-items-start_10h87_279{justify-items:start}._LayoutGrid--medium-l--justify-items-end_10h87_282{justify-items:end}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-items-stretch_10h87_287{justify-items:stretch}._LayoutGrid--wide-s--justify-items-center_10h87_290{justify-items:center}._LayoutGrid--wide-s--justify-items-start_10h87_293{justify-items:start}._LayoutGrid--wide-s--justify-items-end_10h87_296{justify-items:end}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-items-stretch_10h87_301{justify-items:stretch}._LayoutGrid--wide-l--justify-items-center_10h87_304{justify-items:center}._LayoutGrid--wide-l--justify-items-start_10h87_307{justify-items:start}._LayoutGrid--wide-l--justify-items-end_10h87_310{justify-items:end}}._LayoutGrid--columns_10h87_314{grid-template-columns:var(--columns)}@media (min-width: 400px){._LayoutGrid--columns-narrow-l_10h87_318{grid-template-columns:var(--columns-narrow-l)}}@media (min-width: 700px){._LayoutGrid--columns-medium-s_10h87_323{grid-template-columns:var(--columns-medium-s)}}@media (min-width: 880px){._LayoutGrid--columns-medium-l_10h87_328{grid-template-columns:var(--columns-medium-l)}}@media (min-width: 1200px){._LayoutGrid--columns-wide-s_10h87_333{grid-template-columns:var(--columns-wide-s)}}@media (min-width: 1900px){._LayoutGrid--columns-wide-l_10h87_338{grid-template-columns:var(--columns-wide-l)}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._AlignSelf_o6uvz_2._AlignSelf--align-self-start_o6uvz_2{-ms-flex-item-align:start;align-self:start}._AlignSelf_o6uvz_2._AlignSelf--align-self-center_o6uvz_5{-ms-flex-item-align:center;align-self:center}._AlignSelf_o6uvz_2._AlignSelf--align-self-end_o6uvz_8{-ms-flex-item-align:end;align-self:end}._AlignSelf_o6uvz_2._AlignSelf--align-self-stretch_o6uvz_11{-ms-flex-item-align:stretch;align-self:stretch}@media (min-width: 400px){._AlignSelf_o6uvz_2._AlignSelf--narrow-l--align-self-start_o6uvz_15{-ms-flex-item-align:start;align-self:start}._AlignSelf_o6uvz_2._AlignSelf--narrow-l--align-self-center_o6uvz_18{-ms-flex-item-align:center;align-self:center}._AlignSelf_o6uvz_2._AlignSelf--narrow-l--align-self-end_o6uvz_21{-ms-flex-item-align:end;align-self:end}._AlignSelf_o6uvz_2._AlignSelf--narrow-l--align-self-stretch_o6uvz_24{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 700px){._AlignSelf_o6uvz_2._AlignSelf--medium-s--align-self-start_o6uvz_29{-ms-flex-item-align:start;align-self:start}._AlignSelf_o6uvz_2._AlignSelf--medium-s--align-self-center_o6uvz_32{-ms-flex-item-align:center;align-self:center}._AlignSelf_o6uvz_2._AlignSelf--medium-s--align-self-end_o6uvz_35{-ms-flex-item-align:end;align-self:end}._AlignSelf_o6uvz_2._AlignSelf--medium-s--align-self-stretch_o6uvz_38{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 880px){._AlignSelf_o6uvz_2._AlignSelf--medium-l--align-self-start_o6uvz_43{-ms-flex-item-align:start;align-self:start}._AlignSelf_o6uvz_2._AlignSelf--medium-l--align-self-center_o6uvz_46{-ms-flex-item-align:center;align-self:center}._AlignSelf_o6uvz_2._AlignSelf--medium-l--align-self-end_o6uvz_49{-ms-flex-item-align:end;align-self:end}._AlignSelf_o6uvz_2._AlignSelf--medium-l--align-self-stretch_o6uvz_52{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 1200px){._AlignSelf_o6uvz_2._AlignSelf--wide-s--align-self-start_o6uvz_57{-ms-flex-item-align:start;align-self:start}._AlignSelf_o6uvz_2._AlignSelf--wide-s--align-self-center_o6uvz_60{-ms-flex-item-align:center;align-self:center}._AlignSelf_o6uvz_2._AlignSelf--wide-s--align-self-end_o6uvz_63{-ms-flex-item-align:end;align-self:end}._AlignSelf_o6uvz_2._AlignSelf--wide-s--align-self-stretch_o6uvz_66{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 1900px){._AlignSelf_o6uvz_2._AlignSelf--wide-l--align-self-start_o6uvz_71{-ms-flex-item-align:start;align-self:start}._AlignSelf_o6uvz_2._AlignSelf--wide-l--align-self-center_o6uvz_74{-ms-flex-item-align:center;align-self:center}._AlignSelf_o6uvz_2._AlignSelf--wide-l--align-self-end_o6uvz_77{-ms-flex-item-align:end;align-self:end}._AlignSelf_o6uvz_2._AlignSelf--wide-l--align-self-stretch_o6uvz_80{-ms-flex-item-align:stretch;align-self:stretch}}._LayoutGridItem_2tq6r_1{margin:0;list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;padding:0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as v}from"./jsx-runtime-BTJTZTIL.js";import{r as w}from"./index-Cb9e4tly.js";import{m as s,s as z}from"./classNames-BUL1Zq7e.js";import{g as p,a as L}from"./LayoutGrid-BhioG4bL.js";import{f as h}from"./filterHTMLAttributes-UOns5Q7s.js";import{w as n}from"./componentNames-Bwls0I02.js";import{g as y}from"./index-DdzHuZ-Y.js";import{L as C}from"./defaults-B1rzzf6M.js";const N="_AlignSelf_o6uvz_2",G={AlignSelf:N,"AlignSelf--align-self-start":"_AlignSelf--align-self-start_o6uvz_2","AlignSelf--align-self-center":"_AlignSelf--align-self-center_o6uvz_5","AlignSelf--align-self-end":"_AlignSelf--align-self-end_o6uvz_8","AlignSelf--align-self-stretch":"_AlignSelf--align-self-stretch_o6uvz_11","AlignSelf--narrow-l--align-self-start":"_AlignSelf--narrow-l--align-self-start_o6uvz_15","AlignSelf--narrow-l--align-self-center":"_AlignSelf--narrow-l--align-self-center_o6uvz_18","AlignSelf--narrow-l--align-self-end":"_AlignSelf--narrow-l--align-self-end_o6uvz_21","AlignSelf--narrow-l--align-self-stretch":"_AlignSelf--narrow-l--align-self-stretch_o6uvz_24","AlignSelf--medium-s--align-self-start":"_AlignSelf--medium-s--align-self-start_o6uvz_29","AlignSelf--medium-s--align-self-center":"_AlignSelf--medium-s--align-self-center_o6uvz_32","AlignSelf--medium-s--align-self-end":"_AlignSelf--medium-s--align-self-end_o6uvz_35","AlignSelf--medium-s--align-self-stretch":"_AlignSelf--medium-s--align-self-stretch_o6uvz_38","AlignSelf--medium-l--align-self-start":"_AlignSelf--medium-l--align-self-start_o6uvz_43","AlignSelf--medium-l--align-self-center":"_AlignSelf--medium-l--align-self-center_o6uvz_46","AlignSelf--medium-l--align-self-end":"_AlignSelf--medium-l--align-self-end_o6uvz_49","AlignSelf--medium-l--align-self-stretch":"_AlignSelf--medium-l--align-self-stretch_o6uvz_52","AlignSelf--wide-s--align-self-start":"_AlignSelf--wide-s--align-self-start_o6uvz_57","AlignSelf--wide-s--align-self-center":"_AlignSelf--wide-s--align-self-center_o6uvz_60","AlignSelf--wide-s--align-self-end":"_AlignSelf--wide-s--align-self-end_o6uvz_63","AlignSelf--wide-s--align-self-stretch":"_AlignSelf--wide-s--align-self-stretch_o6uvz_66","AlignSelf--wide-l--align-self-start":"_AlignSelf--wide-l--align-self-start_o6uvz_71","AlignSelf--wide-l--align-self-center":"_AlignSelf--wide-l--align-self-center_o6uvz_74","AlignSelf--wide-l--align-self-end":"_AlignSelf--wide-l--align-self-end_o6uvz_77","AlignSelf--wide-l--align-self-stretch":"_AlignSelf--wide-l--align-self-stretch_o6uvz_80"},I="AlignSelf",x=l=>s(G,I,[z("align-self",l)]),T="_LayoutGridItem_2tq6r_1",j={LayoutGridItem:T},E=w.forwardRef(function({children:i,alignSelf:t,tag:e,hide:a,relative:f,dataset:g,...r},o){const _=s(j,n.LayoutGridItem,[]),m=x(t),d=p(a),u=L(f),A=[..._,...m,...d,...u],S=e??C,c={...h(r),ref:o,className:A.join(" "),...y(g,{preplyDsComponent:n.LayoutGridItem})};return v.jsx(S,{...c,children:i})});E.__docgenInfo={description:"",methods:[],displayName:"LayoutGridItem"};export{E as L,x as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._Link_gdoqi_4{display:inline-block;border-radius:var(--5eeb28);text-decoration:var(--f13872);cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;-ms-touch-action:manipulation;touch-action:manipulation}._Link_gdoqi_4:focus-visible{outline-style:solid;outline-color:var(--603ec6);outline-width:var(--99d31f);outline-offset:var(--c0b12c)}._Link--inline_gdoqi_20{display:inline}._Link--noUnderline_gdoqi_23{text-decoration:none}._Link--variant-accentDark_gdoqi_26{color:var(--c6b68f)}._Link--variant-accentDark_gdoqi_26:hover,._Link--variant-accentDark--dsInternalSimulation-hover_gdoqi_30{color:var(--65e1ef)}._Link--variant-accentDark_gdoqi_26:active,._Link--variant-accentDark--dsInternalSimulation-active_gdoqi_34{color:var(--179b80)}._Link--variant-accentDarkInverted_gdoqi_37{color:var(--7cbffc)}._Link--variant-accentDarkInverted_gdoqi_37:hover,._Link--variant-accentDarkInverted--dsInternalSimulation-hover_gdoqi_41{color:var(--47fcde)}._Link--variant-accentDarkInverted_gdoqi_37:active,._Link--variant-accentDarkInverted--dsInternalSimulation-active_gdoqi_45{color:var(--1253e2)}._Link--variant-neutral_gdoqi_48{color:var(--19fdf0)}._Link--variant-neutral_gdoqi_48:hover,._Link--variant-neutral--dsInternalSimulation-hover_gdoqi_52{color:var(--ce5fb9)}._Link--variant-neutral_gdoqi_48:active,._Link--variant-neutral--dsInternalSimulation-active_gdoqi_56{color:var(--1d39ac)}._Link--variant-neutralInverted_gdoqi_59{color:var(--883d0f)}._Link--variant-neutralInverted_gdoqi_59:hover,._Link--variant-neutralInverted--dsInternalSimulation-hover_gdoqi_63{color:var(--065570)}._Link--variant-neutralInverted_gdoqi_59:active,._Link--variant-neutralInverted--dsInternalSimulation-active_gdoqi_67{color:var(--be41c4)}._Link--variant-unsetColors_gdoqi_70{color:var(--e66f2a)}._Link--variant-unsetColors_gdoqi_70:hover,._Link--variant-unsetColors--dsInternalSimulation-hover_gdoqi_74{color:var(--468ceb)}._Link--variant-unsetColors_gdoqi_70:active,._Link--variant-unsetColors--dsInternalSimulation-active_gdoqi_78{color:var(--a5fc76)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._Loader_gqtv4_2{display:inline-flex;width:fit-content;height:fit-content}._Loader--normal_gqtv4_7{color:var(--19bcb6)}._Loader--inverted_gqtv4_10{color:var(--38413d)}
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r as s}from"./index-Cb9e4tly.js";import{a as u}from"./chunk-D5ZWXAHU-BhFjjRSl.js";import{e as F,u as Ce,w as xe}from"./index-BVDq5o4N.js";import{F as qe}from"./TokyoUIPhone-CvuBM6jb.js";import{B as T}from"./Button-DqwK0S70.js";import{I as Ee}from"./Icon-BwwIOKM_.js";import{F as He}from"./FieldLayout-BGkL1EMg.js";import{u as Fe,I as Se,s as Ne}from"./FieldLayoutBase-DQbxDQVA.js";import{m as we}from"./classNames-BUL1Zq7e.js";import{w as m}from"./componentNames-Bwls0I02.js";import{u as Re}from"./useForcedRef--iGFM41p.js";import{u as Te}from"./useNumberField-AJNQGstL.js";import{T as ke}from"./Text-CDqVYAcD.js";import"./index-ChsGqxH_.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./v4-CtRu48qb.js";import"./render-icon-BT0Aq7PA.js";import"./ButtonBase-D31GBWHv.js";import"./Spinner-Dsa9X0G6.js";import"./defaults-B1rzzf6M.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./useHostname-Y3PlXofY.js";import"./index-DdzHuZ-Y.js";import"./index-CC6DAVyL.js";import"./text-accent-CrnHOlvW.js";import"./FieldAdditionalText-lW7Q1VGp.js";import"./constants-DL6gdbsq.js";import"./index-D1pfvbUR.js";import"./tslib.es6-BntfKcQG.js";import"./hoist-non-react-statics.cjs-C-Qo8PK8.js";import"./message-B1DLZQ1U.js";import"./text-centered-1sU8-E1D.js";const je=({onChange:e,onValueChange:a,...n},r)=>{const i=we(Ne,m.InputNumber),d=Fe(o=>o.target.value?Number(o.target.value):void 0,e,a);return t.jsx(Se,{...n,type:"number",ref:r,className:i.join(" "),onChange:d,preplyDsComponent:m.InputNumber})},N=s.forwardRef(je);try{N.displayName="InputNumber",N.__docgenInfo={description:"",displayName:"InputNumber",props:{dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"enum",value:[{value:"string"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler<Element>"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},hasError:{defaultValue:null,description:"",name:"hasError",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},"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"'}]}},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>"}]}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"enum",value:[{value:"number"}]}},min:{defaultValue:null,description:"",name:"min",required:!1,type:{name:"enum",value:[{value:"number"}]}},max:{defaultValue:null,description:"",name:"max",required:!1,type:{name:"enum",value:[{value:"number"}]}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"enum",value:[{value:"number"}]}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!1,type:{name:"enum",value:[{value:"ValueChangeEventHandler<number | undefined>"}]}},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{}const Be="_NumberField_kx5jx_1",Pe={NumberField:Be},Le=({id:e,...a},n)=>{const r=s.useRef(null),i=Re();s.useImperativeHandle(n,()=>({setFocus:()=>{var c;return(c=r==null?void 0:r.current)==null?void 0:c.setFocus()},scrollIntoView:()=>{var c;return(c=r==null?void 0:r.current)==null?void 0:c.scrollIntoView()}}));const d=Te({id:e,...a},m.NumberField),{layoutProps:o,inputProps:S}=d,l=we(Pe,m.NumberField),Ie=t.jsx(N,{...S,ref:i});return t.jsx(He,{...o,className:l.join(" "),input:Ie,inputHandle:i.current,ref:r,preplyDsComponent:m.NumberField})},p=s.forwardRef(Le);try{p.displayName="NumberField",p.__docgenInfo={description:"By default, this field acts as a controlled field and expects the parent\ncomponent to manage the state, by reacting to user input via the `onChange` or\n`onValueChange` props, and providing the latest state via the `value` prop.\n\nAlternatively, you can use it as an uncontrolled field using the\n`defaultValue` prop instead of the `value` prop.",displayName:"NumberField",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"enum",value:[{value:"string"}]}},label:{defaultValue:null,description:"The field label. This is needed for accessibility purposes, but can be\nhidden using the `hideLabel` prop.",name:"label",required:!0,type:{name:"enum",value:[{value:"undefined"},{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},requiredLabel:{defaultValue:null,description:"",name:"requiredLabel",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},hideLabel:{defaultValue:null,description:"Use this to hide the `label` visually, but keep it in the accessibility\ntree.",name:"hideLabel",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},wrapLabel:{defaultValue:null,description:"",name:"wrapLabel",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},additionalText:{defaultValue:null,description:"",name:"additionalText",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},preserveSpace:{defaultValue:null,description:"",name:"preserveSpace",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"}]}},errorMessage:{defaultValue:null,description:"",name:"errorMessage",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},inputDataset:{defaultValue:null,description:"",name:"inputDataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"enum",value:[{value:"string"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler<Element>"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},min:{defaultValue:null,description:"",name:"min",required:!1,type:{name:"enum",value:[{value:"number"}]}},max:{defaultValue:null,description:"",name:"max",required:!1,type:{name:"enum",value:[{value:"number"}]}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"enum",value:[{value:"number"}]}},maxLength:{defaultValue:null,description:"",name:"maxLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"enum",value:[{value:"string"}]}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"enum",value:[{value:"number"}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"enum",value:[{value:"ChangeEventHandler<Element>"}]}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"enum",value:[{value:"FocusEventHandler<Element>"}]}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"enum",value:[{value:"FocusEventHandler<Element>"}]}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler<Element>"}]}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler<Element>"}]}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"enum",value:[{value:"ClipboardEventHandler<Element>"}]}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"enum",value:[{value:"ClipboardEventHandler<Element>"}]}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!1,type:{name:"enum",value:[{value:"ValueChangeEventHandler<number | undefined>"}]}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"enum",value:[{value:"ReactElement<IconProps, 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: 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{}const ha={title:"components/NumberField",component:p,args:{label:"Number",placeholder:"Enter a number",inputDataset:{testid:"input"},onChange:u("onChange"),onBlur:u("onBlur"),onFocus:u("onFocus"),onClick:u("onClick"),onCopy:u("onCopy"),onKeyDown:u("onKeyDown"),onKeyUp:u("onKeyUp"),onPaste:u("onPaste"),onValueChange:u("onValueChange")},render:function(a){const n=s.useRef(null);return a.ref=n,t.jsx(p,{...a})}},v={parameters:{docs:{description:{story:"An empty field with a `label` and a `placeholder`."}}}},f={args:{defaultValue:100},play:async({canvas:e,step:a})=>{await a("Validate defaultValue",async()=>{const n=e.getByTestId("input");await F(n).toHaveValue(100)}),await a("Type to value",async()=>{const n=e.getByTestId("input");await Ce.type(n,",500"),await F(n).toHaveValue(100500)})}},y={args:{icon:t.jsx(Ee,{svg:qe})}},h={args:{additionalText:"This is additional text"}},b={args:{required:!0}},g={args:{required:!0,requiredLabel:t.jsx(ke,{accent:"critical",variant:"m-bold",children:"Needed"})}},V={args:{hideLabel:!0}},x={args:{hasError:!0}},q={args:{hasError:!0,errorMessage:"This is an error message"}},E={args:{disabled:!0}},w={args:{readOnly:!0}},I={decorators:[(e,{args:a})=>t.jsxs("div",{style:{padding:"8px",margin:"8px"},children:[t.jsxs("p",{children:["You can"," ",t.jsx(T,{variant:"secondary",dataset:{testid:"focus-button"},onClick:()=>{var n,r;return(r=(n=a.ref)==null?void 0:n.current)==null?void 0:r.setFocus()},children:"Focus"})," ","the input imperatively."]}),t.jsx(e,{})]})],play:async({args:e,canvas:a})=>{if(!R(e.ref))throw new Error("Expected ref.current to be an InputImperativeHandle");const n=a.getByTestId("input");e.ref.current.setFocus(),await xe(()=>F(n).toHaveFocus())}},C={decorators:[(e,{args:a})=>t.jsxs("div",{style:{height:"300px",overflow:"scroll",padding:"8px",margin:"8px"},children:[t.jsxs("p",{children:["You can"," ",t.jsx(T,{variant:"secondary",dataset:{testid:"scroll-button"},onClick:()=>{if(!R(a.ref))throw new Error("Expected ref.current to be an InputImperativeHandle");a.ref.current.scrollIntoView()},children:"Scroll"})," ","the input into view imperatively."]}),t.jsx("div",{style:{height:"1000px",display:"flex",flexDirection:"column",justifyContent:"end",border:"2px dashed lightgray",padding:"16px"},children:t.jsx(e,{})})]})],play:async({args:e,canvas:a})=>{if(!R(e.ref))throw new Error("Expected ref.current to be an InputImperativeHandle");const n=a.getByTestId("input");e.ref.current.scrollIntoView(),await xe(()=>F(n).toBeVisible())}};function R(e){return typeof e=="object"&&e!==null&&"current"in e&&e.current!==null&&typeof e.current=="object"&&"setFocus"in e.current}const H={tags:["!test"],parameters:{docs:{description:{story:'\nThe following code renders a `Numberfield` with the `required` flag, a `min`\nand `max` value, an `icon`, a `placeholder`, and some `additionalText`.\n\nWhen you click the "Submit" button and the input value is empty\n- it displays feedback via the `errorMessage` prop;\n- and uses the `setFocus()` API to bring the focus back to the field.\n\nIt uses the `value` and `onValueChange` props to react to the user input.\n'}},chromatic:{disableSnapshot:!0}},render:function(){const a=s.useRef(null),[n,r]=s.useState(void 0),[i,d]=s.useState(!1),o=l=>{if(l===void 0)return"Please provide a number";if(l!==Math.round(l))return"Please provide a whole number";if(l<10)return"Please book at least 10 lessons";if(l>99)return"Please book less than 100 lessons"},S=()=>{var l;d(!0),n||(l=a==null?void 0:a.current)==null||l.setFocus()};return t.jsxs("div",{style:{maxWidth:"500px",display:"flex",flexDirection:"column"},children:[t.jsx(p,{id:"lessons",name:"lessons",label:"Number of lessons",icon:t.jsx(Ee,{svg:qe}),placeholder:"How about 3?",value:n,additionalText:"These lessons will be scheduled automatically",onValueChange:r,errorMessage:i?o(n):void 0,min:10,max:99,ref:a,required:!0}),t.jsx(T,{onClick:S,children:"Submit"})]})}};var k,j,B;v.parameters={...v.parameters,docs:{...(k=v.parameters)==null?void 0:k.docs,source:{originalSource:`{
|
|
6
|
-
parameters: {
|
|
7
|
-
docs: {
|
|
8
|
-
description: {
|
|
9
|
-
story: \`An empty field with a \\\`label\\\` and a \\\`placeholder\\\`.\`
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}`,...(B=(j=v.parameters)==null?void 0:j.docs)==null?void 0:B.source}}};var P,L,D;f.parameters={...f.parameters,docs:{...(P=f.parameters)==null?void 0:P.docs,source:{originalSource:`{
|
|
14
|
-
args: {
|
|
15
|
-
defaultValue: 100
|
|
16
|
-
},
|
|
17
|
-
play: async ({
|
|
18
|
-
canvas,
|
|
19
|
-
step
|
|
20
|
-
}) => {
|
|
21
|
-
await step('Validate defaultValue', async () => {
|
|
22
|
-
const input = canvas.getByTestId<HTMLInputElement>('input');
|
|
23
|
-
await expect(input).toHaveValue(100);
|
|
24
|
-
});
|
|
25
|
-
await step('Type to value', async () => {
|
|
26
|
-
const input = canvas.getByTestId<HTMLInputElement>('input');
|
|
27
|
-
await userEvent.type(input, ',500');
|
|
28
|
-
await expect(input).toHaveValue(100_500);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
}`,...(D=(L=f.parameters)==null?void 0:L.docs)==null?void 0:D.source}}};var _,M,K;y.parameters={...y.parameters,docs:{...(_=y.parameters)==null?void 0:_.docs,source:{originalSource:`{
|
|
32
|
-
args: {
|
|
33
|
-
icon: <Icon svg={PhoneSvg} />
|
|
34
|
-
}
|
|
35
|
-
}`,...(K=(M=y.parameters)==null?void 0:M.docs)==null?void 0:K.source}}};var W,O,A;h.parameters={...h.parameters,docs:{...(W=h.parameters)==null?void 0:W.docs,source:{originalSource:`{
|
|
36
|
-
args: {
|
|
37
|
-
additionalText: 'This is additional text'
|
|
38
|
-
}
|
|
39
|
-
}`,...(A=(O=h.parameters)==null?void 0:O.docs)==null?void 0:A.source}}};var U,J,X;b.parameters={...b.parameters,docs:{...(U=b.parameters)==null?void 0:U.docs,source:{originalSource:`{
|
|
40
|
-
args: {
|
|
41
|
-
required: true
|
|
42
|
-
}
|
|
43
|
-
}`,...(X=(J=b.parameters)==null?void 0:J.docs)==null?void 0:X.source}}};var Y,$,z;g.parameters={...g.parameters,docs:{...(Y=g.parameters)==null?void 0:Y.docs,source:{originalSource:`{
|
|
44
|
-
args: {
|
|
45
|
-
required: true,
|
|
46
|
-
requiredLabel: <Text accent="critical" variant="m-bold">
|
|
47
|
-
Needed
|
|
48
|
-
</Text>
|
|
49
|
-
}
|
|
50
|
-
}`,...(z=($=g.parameters)==null?void 0:$.docs)==null?void 0:z.source}}};var G,Q,Z;V.parameters={...V.parameters,docs:{...(G=V.parameters)==null?void 0:G.docs,source:{originalSource:`{
|
|
51
|
-
args: {
|
|
52
|
-
hideLabel: true
|
|
53
|
-
}
|
|
54
|
-
}`,...(Z=(Q=V.parameters)==null?void 0:Q.docs)==null?void 0:Z.source}}};var ee,ae,ne;x.parameters={...x.parameters,docs:{...(ee=x.parameters)==null?void 0:ee.docs,source:{originalSource:`{
|
|
55
|
-
args: {
|
|
56
|
-
hasError: true
|
|
57
|
-
}
|
|
58
|
-
}`,...(ne=(ae=x.parameters)==null?void 0:ae.docs)==null?void 0:ne.source}}};var te,re,le;q.parameters={...q.parameters,docs:{...(te=q.parameters)==null?void 0:te.docs,source:{originalSource:`{
|
|
59
|
-
args: {
|
|
60
|
-
hasError: true,
|
|
61
|
-
errorMessage: 'This is an error message'
|
|
62
|
-
}
|
|
63
|
-
}`,...(le=(re=q.parameters)==null?void 0:re.docs)==null?void 0:le.source}}};var ue,se,ie;E.parameters={...E.parameters,docs:{...(ue=E.parameters)==null?void 0:ue.docs,source:{originalSource:`{
|
|
64
|
-
args: {
|
|
65
|
-
disabled: true
|
|
66
|
-
}
|
|
67
|
-
}`,...(ie=(se=E.parameters)==null?void 0:se.docs)==null?void 0:ie.source}}};var oe,de,ce;w.parameters={...w.parameters,docs:{...(oe=w.parameters)==null?void 0:oe.docs,source:{originalSource:`{
|
|
68
|
-
args: {
|
|
69
|
-
readOnly: true
|
|
70
|
-
}
|
|
71
|
-
}`,...(ce=(de=w.parameters)==null?void 0:de.docs)==null?void 0:ce.source}}};var me,pe,ve;I.parameters={...I.parameters,docs:{...(me=I.parameters)==null?void 0:me.docs,source:{originalSource:`{
|
|
72
|
-
decorators: [(Story, {
|
|
73
|
-
args
|
|
74
|
-
}) => <div style={{
|
|
75
|
-
padding: '8px',
|
|
76
|
-
margin: '8px'
|
|
77
|
-
}}>
|
|
78
|
-
<p>
|
|
79
|
-
You can{' '}
|
|
80
|
-
<Button variant="secondary" dataset={{
|
|
81
|
-
testid: 'focus-button'
|
|
82
|
-
}} onClick={() =>
|
|
83
|
-
// @ts-expect-error - This will fail gracefully,
|
|
84
|
-
// and the \`play\` function will assert it properly
|
|
85
|
-
args.ref?.current?.setFocus()}>
|
|
86
|
-
Focus
|
|
87
|
-
</Button>{' '}
|
|
88
|
-
the input imperatively.
|
|
89
|
-
</p>
|
|
90
|
-
<Story />
|
|
91
|
-
</div>],
|
|
92
|
-
play: async ({
|
|
93
|
-
args,
|
|
94
|
-
canvas
|
|
95
|
-
}) => {
|
|
96
|
-
if (!isImperativeHandleRef(args.ref)) {
|
|
97
|
-
throw new Error('Expected ref.current to be an InputImperativeHandle');
|
|
98
|
-
}
|
|
99
|
-
const input = canvas.getByTestId('input');
|
|
100
|
-
args.ref.current.setFocus();
|
|
101
|
-
await waitFor(() => expect(input).toHaveFocus());
|
|
102
|
-
}
|
|
103
|
-
}`,...(ve=(pe=I.parameters)==null?void 0:pe.docs)==null?void 0:ve.source}}};var fe,ye,he;C.parameters={...C.parameters,docs:{...(fe=C.parameters)==null?void 0:fe.docs,source:{originalSource:`{
|
|
104
|
-
decorators: [(Story, {
|
|
105
|
-
args
|
|
106
|
-
}) => <div style={{
|
|
107
|
-
height: '300px',
|
|
108
|
-
overflow: 'scroll',
|
|
109
|
-
padding: '8px',
|
|
110
|
-
margin: '8px'
|
|
111
|
-
}}>
|
|
112
|
-
<p>
|
|
113
|
-
You can{' '}
|
|
114
|
-
<Button variant="secondary" dataset={{
|
|
115
|
-
testid: 'scroll-button'
|
|
116
|
-
}} onClick={() => {
|
|
117
|
-
if (!isImperativeHandleRef(args.ref)) {
|
|
118
|
-
throw new Error('Expected ref.current to be an InputImperativeHandle');
|
|
119
|
-
}
|
|
120
|
-
args.ref.current.scrollIntoView();
|
|
121
|
-
}}>
|
|
122
|
-
Scroll
|
|
123
|
-
</Button>{' '}
|
|
124
|
-
the input into view imperatively.
|
|
125
|
-
</p>
|
|
126
|
-
<div style={{
|
|
127
|
-
height: '1000px',
|
|
128
|
-
display: 'flex',
|
|
129
|
-
flexDirection: 'column',
|
|
130
|
-
justifyContent: 'end',
|
|
131
|
-
border: '2px dashed lightgray',
|
|
132
|
-
padding: '16px'
|
|
133
|
-
}}>
|
|
134
|
-
<Story />
|
|
135
|
-
</div>
|
|
136
|
-
</div>],
|
|
137
|
-
play: async ({
|
|
138
|
-
args,
|
|
139
|
-
canvas
|
|
140
|
-
}) => {
|
|
141
|
-
if (!isImperativeHandleRef(args.ref)) {
|
|
142
|
-
throw new Error('Expected ref.current to be an InputImperativeHandle');
|
|
143
|
-
}
|
|
144
|
-
const input = canvas.getByTestId('input');
|
|
145
|
-
args.ref.current.scrollIntoView();
|
|
146
|
-
await waitFor(() => expect(input).toBeVisible());
|
|
147
|
-
}
|
|
148
|
-
}`,...(he=(ye=C.parameters)==null?void 0:ye.docs)==null?void 0:he.source}}};var be,ge,Ve;H.parameters={...H.parameters,docs:{...(be=H.parameters)==null?void 0:be.docs,source:{originalSource:`{
|
|
149
|
-
tags: ['!test'],
|
|
150
|
-
parameters: {
|
|
151
|
-
docs: {
|
|
152
|
-
description: {
|
|
153
|
-
story: \`
|
|
154
|
-
The following code renders a \\\`Numberfield\\\` with the \\\`required\\\` flag, a \\\`min\\\`
|
|
155
|
-
and \\\`max\\\` value, an \\\`icon\\\`, a \\\`placeholder\\\`, and some \\\`additionalText\\\`.
|
|
156
|
-
|
|
157
|
-
When you click the "Submit" button and the input value is empty
|
|
158
|
-
- it displays feedback via the \\\`errorMessage\\\` prop;
|
|
159
|
-
- and uses the \\\`setFocus()\\\` API to bring the focus back to the field.
|
|
160
|
-
|
|
161
|
-
It uses the \\\`value\\\` and \\\`onValueChange\\\` props to react to the user input.
|
|
162
|
-
\`
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
chromatic: {
|
|
166
|
-
disableSnapshot: true
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
render: function Story() {
|
|
170
|
-
const fieldRef = useRef<InputImperativeHandle>(null);
|
|
171
|
-
const [value, setValue] = useState<number | undefined>(undefined);
|
|
172
|
-
const [submited, setSubmitted] = useState(false);
|
|
173
|
-
const getErrorMessage = (attempt?: number) => {
|
|
174
|
-
if (attempt === undefined) {
|
|
175
|
-
return 'Please provide a number';
|
|
176
|
-
}
|
|
177
|
-
if (attempt !== Math.round(attempt)) {
|
|
178
|
-
return 'Please provide a whole number';
|
|
179
|
-
}
|
|
180
|
-
if (attempt < 10) {
|
|
181
|
-
return 'Please book at least 10 lessons';
|
|
182
|
-
}
|
|
183
|
-
if (attempt > 99) {
|
|
184
|
-
return 'Please book less than 100 lessons';
|
|
185
|
-
}
|
|
186
|
-
return undefined;
|
|
187
|
-
};
|
|
188
|
-
const handleClick = () => {
|
|
189
|
-
setSubmitted(true);
|
|
190
|
-
if (!value) {
|
|
191
|
-
fieldRef?.current?.setFocus();
|
|
192
|
-
}
|
|
193
|
-
};
|
|
194
|
-
return <div style={{
|
|
195
|
-
maxWidth: '500px',
|
|
196
|
-
display: 'flex',
|
|
197
|
-
flexDirection: 'column'
|
|
198
|
-
}}>
|
|
199
|
-
<NumberField id="lessons" name="lessons" label="Number of lessons" icon={<Icon svg={PhoneSvg} />} placeholder="How about 3?" value={value} additionalText="These lessons will be scheduled automatically" onValueChange={setValue} errorMessage={submited ? getErrorMessage(value) : undefined} min={10} max={99} ref={fieldRef} required />
|
|
200
|
-
<Button onClick={handleClick}>Submit</Button>
|
|
201
|
-
</div>;
|
|
202
|
-
}
|
|
203
|
-
}`,...(Ve=(ge=H.parameters)==null?void 0:ge.docs)==null?void 0:Ve.source}}};const ba=["Basic","WithValue","WithIcon","WithAdditionalText","Required","RequiredWithCustomLabel","WithHiddenLabel","HasError","HasErrorWithMessage","Disabled","ReadOnly","ImperativeSetFocus","ImperativeScrollIntoView","Example"];export{v as Basic,E as Disabled,H as Example,x as HasError,q as HasErrorWithMessage,C as ImperativeScrollIntoView,I as ImperativeSetFocus,w as ReadOnly,b as Required,g as RequiredWithCustomLabel,h as WithAdditionalText,V as WithHiddenLabel,y as WithIcon,f as WithValue,ba as __namedExportsOrder,ha as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._content_f6xah_2{background-color:var(--79dffb);border-radius:var(--fa4b1a);padding:var(--558c4c);box-shadow:var(--df7dbb);width:304px;display:flex;flex-direction:column;gap:var(--813599);z-index:var(--preply-ds-onboarding-tooltip-z-index);animation-duration:.15s;animation-timing-function:cubic-bezier(.25,0,.5,1.3);transform-origin:var(--radix-popover-content-transform-origin);will-change:transform,opacity}._content_f6xah_2[data-state=open]{animation-name:_appear_f6xah_1}._content_f6xah_2[data-state=closed]{animation-name:_disappear_f6xah_1}._header_f6xah_23{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:flex-start}._close_f6xah_29{background:none;border:none;border-radius:var(--5e8be4);padding:0;margin:0;cursor:pointer}._close_f6xah_29:focus-visible{outline-style:solid;outline-color:var(--603ec6);outline-width:var(--99d31f);outline-offset:var(--c0b12c)}._footer_f6xah_43{display:flex;justify-content:flex-end;gap:var(--813599);align-items:center}._arrow_f6xah_49{fill:var(--79dffb)}@keyframes _appear_f6xah_1{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes _disappear_f6xah_1{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}
|