@preply/ds-docs 1.4.1 → 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.
Files changed (227) hide show
  1. package/dist/assets/{00.LayoutFlex.stories-mymKFkS2.js → 00.LayoutFlex.stories-C6NuyaJx.js} +1 -1
  2. package/dist/assets/{00.applications-cOvkdn4p.js → 00.applications-CzRQjSiq.js} +1 -1
  3. package/dist/assets/{00.favicons.guide-CX6YxuQM.js → 00.favicons.guide-Cl2xkhMN.js} +1 -1
  4. package/dist/assets/{00.token-explorer-BjCN7ylO.js → 00.token-explorer-Bjz10JOk.js} +1 -1
  5. package/dist/assets/{00.using-responsive-props-BG-32JQv.js → 00.using-responsive-props-BJUez61e.js} +1 -1
  6. package/dist/assets/{01.semantic-tokens-CS6I4E3k.js → 01.semantic-tokens-rGQpGJVg.js} +1 -1
  7. package/dist/assets/{01.using-shorthand-props-CDt5URLa.js → 01.using-shorthand-props-C5dLPYVH.js} +1 -1
  8. package/dist/assets/{10.Combinations.stories-CcP1w0Wu.js → 10.Combinations.stories-BCpu8o_W.js} +1 -1
  9. package/dist/assets/{10.fonts.guide-5Osv6bQt.js → 10.fonts.guide-DDN5fND8.js} +1 -1
  10. package/dist/assets/{10.ssr-B2ic_xc1.js → 10.ssr-D-rANvZ-.js} +1 -1
  11. package/dist/assets/{11.languageFont.explorer-BaqI4Cex.js → 11.languageFont.explorer-BV6Gwq5u.js} +1 -1
  12. package/dist/assets/{11.ssr.app-router-CK0vtvuf.js → 11.ssr.app-router-Ch1ZJjg-.js} +1 -1
  13. package/dist/assets/{20.libraries-DbY1yXpU.js → 20.libraries-oHi972pc.js} +1 -1
  14. package/dist/assets/{30.icons.explorer-6FyVeY5b.js → 30.icons.explorer-CTyGJI0M.js} +1 -1
  15. package/dist/assets/{30.storybook-nmI5Mnpo.js → 30.storybook-C0MSe3yp.js} +1 -1
  16. package/dist/assets/{40.illustrations.explorer-QDEP64Qy.js → 40.illustrations.explorer-1aFkROmz.js} +1 -1
  17. package/dist/assets/{90.advanced-CeDdm92S.js → 90.advanced-t0tp7qCO.js} +1 -1
  18. package/dist/assets/AlertDialog-8zNG4W6P.css +1 -0
  19. package/dist/assets/{AlertDialog.stories-BHplbS1I.js → AlertDialog.stories-C5USsoA-.js} +2 -2
  20. package/dist/assets/Avatar-BZKmHoZm.css +1 -0
  21. package/dist/assets/Avatar-BkmMIq29.css +1 -0
  22. package/dist/assets/Avatar-D5vkZljP.js +1 -0
  23. package/dist/assets/Avatar-lFZ8Cfpv.js +6 -0
  24. package/dist/assets/{Avatar.stories-Ca9AjAg_.js → Avatar.stories-CLQ3BvQW.js} +1 -1
  25. package/dist/assets/AvatarWithStatus-Dv8yodGu.css +1 -0
  26. package/dist/assets/AvatarWithStatus.stories-BsgFOyBx.js +41 -0
  27. package/dist/assets/Badge-kZt_FH50.css +1 -0
  28. package/dist/assets/{Badge.stories-ChivIIAX.js → Badge.stories-CsQItVr_.js} +1 -1
  29. package/dist/assets/Box-4GImUu2D.css +1 -0
  30. package/dist/assets/Box.stories-C3UUNdDi.js +44 -0
  31. package/dist/assets/Button-CawJKyho.css +1 -0
  32. package/dist/assets/{Button-znehaUck.js → Button-G5Zxq86f.js} +3 -3
  33. package/dist/assets/{Button-BUPG92QJ.css → Button-GOFCl1lS.css} +1 -1
  34. package/dist/assets/Button-Oaj5OWvs.js +1 -0
  35. package/dist/assets/{Button.stories-zrYsP1KT.js → Button.stories-BuHavCSD.js} +1 -1
  36. package/dist/assets/{ButtonBase-gx5pzeWd.css → ButtonBase-CN93Hyoe.css} +1 -1
  37. package/dist/assets/ButtonBase-Desxs10d.js +8 -0
  38. package/dist/assets/Chips-DIrYdYig.css +1 -0
  39. package/dist/assets/{Chips.stories-Lr_oxvFg.js → Chips.stories-DwatZLP-.js} +1 -1
  40. package/dist/assets/{Color-YHDXOIA2-DPBM3lH7.js → Color-YHDXOIA2-CR40pFdp.js} +1 -1
  41. package/dist/assets/Dialog-B5rqi-V8.css +1 -0
  42. package/dist/assets/{Dialog.stories-Co5ymfx-.js → Dialog.stories-aheiL1C_.js} +7 -7
  43. package/dist/assets/{DocsRenderer-CFRXHY34-B1Udjgvc.js → DocsRenderer-CFRXHY34-C7iNFBWT.js} +1 -1
  44. package/dist/assets/{FieldAdditionalText-Die4PBVq.js → FieldAdditionalText-CK-mP7eE.js} +1 -1
  45. package/dist/assets/FieldAdditionalText-DmrAhCSm.css +1 -0
  46. package/dist/assets/{FieldAdditionalText.stories-BPTKuFmF.js → FieldAdditionalText.stories-JWcqGRDw.js} +1 -1
  47. package/dist/assets/{FieldButton-XtDXwnax.js → FieldButton-B9DsbnCd.js} +1 -1
  48. package/dist/assets/{FieldButton-D95l0ZqE.css → FieldButton-ClSNKPdl.css} +1 -1
  49. package/dist/assets/{FieldButton.stories-7KYed0Ix.js → FieldButton.stories-B5JDNmNP.js} +1 -1
  50. package/dist/assets/{FieldLayout-xpRx1mGJ.js → FieldLayout-2zlcC5-S.js} +1 -1
  51. package/dist/assets/FieldLayout-ayailSRB.css +1 -0
  52. package/dist/assets/{FieldLayout.stories-C14Em5UG.js → FieldLayout.stories-oIX7x6Q6.js} +1 -1
  53. package/dist/assets/{FieldLayoutBase-V0BYOPiv.js → FieldLayoutBase-0r0SpleC.js} +3 -3
  54. package/dist/assets/FieldLayoutBase-DaHOfSqh.css +1 -0
  55. package/dist/assets/Heading-BDNRMwVu.js +2 -0
  56. package/dist/assets/{Heading-Ckaft8cb.css → Heading-DhbbSS03.css} +1 -1
  57. package/dist/assets/{Heading.stories-DRJ0yv7j.js → Heading.stories-BW49vEiT.js} +1 -1
  58. package/dist/assets/Icon-COBslmJH.css +1 -0
  59. package/dist/assets/Icon-DAQd7Eod.js +8 -0
  60. package/dist/assets/{Icon-RSC-CxTuxwwx.js → Icon-RSC-DXv5b9K1.js} +1 -1
  61. package/dist/assets/Icon-VzZ0SATJ.css +1 -0
  62. package/dist/assets/Icon-qme4Scxh.js +1 -0
  63. package/dist/assets/{Icon.stories-BzjV31aL.js → Icon.stories-MzKcutu8.js} +1 -1
  64. package/dist/assets/IconButton-iyWiUe9X.js +8 -0
  65. package/dist/assets/InputText-IEjR9ee0.js +5 -0
  66. package/dist/assets/{LayoutFlex-CojW884p.js → LayoutFlex-BaXqezhY.js} +1 -1
  67. package/dist/assets/{LayoutFlex-_zQmW6Xx.js → LayoutFlex-pzKY-vUQ.js} +1 -1
  68. package/dist/assets/LayoutFlexItem-CzflYuZ_.js +1 -0
  69. package/dist/assets/LayoutFlexItem-Dci-Cv-V.css +1 -0
  70. package/dist/assets/LayoutGrid-C8hq1-LL.css +1 -0
  71. package/dist/assets/LayoutGrid-CULegRpi.css +1 -0
  72. package/dist/assets/LayoutGrid-ZAYmKrcj.js +1 -0
  73. package/dist/assets/{LayoutGrid.stories-CV0CrQbE.js → LayoutGrid.stories-CSBUYfM6.js} +3 -3
  74. package/dist/assets/LayoutGridItem-DJDMWtVq.css +1 -0
  75. package/dist/assets/LayoutGridItem-m645Lhkq.js +1 -0
  76. package/dist/assets/Link-CPkXDszE.css +1 -0
  77. package/dist/assets/{Link.stories-BEnhUM4K.js → Link.stories-BGmSAnPH.js} +3 -3
  78. package/dist/assets/Loader-C5QrrxXJ.css +1 -0
  79. package/dist/assets/{Loader.stories-B-6bCnvT.js → Loader.stories-DaYtlzeB.js} +1 -1
  80. package/dist/assets/{NumberField.stories-BgEEixo1.js → NumberField.stories-DIRO8IHc.js} +2 -2
  81. package/dist/assets/OnboardingTooltip-BfzcF9sW.css +1 -0
  82. package/dist/assets/{OnboardingTooltip-C592w5et.js → OnboardingTooltip-BqDG-2Rd.js} +1 -1
  83. package/dist/assets/{OnboardingTooltip.stories-D1fUa_55.js → OnboardingTooltip.stories-Dx5F7YBG.js} +1 -1
  84. package/dist/assets/{OnboardingTooltip.tests.stories-zNRAsgXt.js → OnboardingTooltip.tests.stories-DvcLnD5j.js} +1 -1
  85. package/dist/assets/{OnboardingTour-B8yNmxlH.js → OnboardingTour-B_yyU1AU.js} +1 -1
  86. package/dist/assets/{OnboardingTour-K081pVZI.css → OnboardingTour-CnsU5p_A.css} +1 -1
  87. package/dist/assets/{OnboardingTour.stories-9wDgsAFM.js → OnboardingTour.stories-LGCUxWl4.js} +1 -1
  88. package/dist/assets/{OnboardingTour.tests.stories-CqL5Ba2G.js → OnboardingTour.tests.stories-C9CKn7JQ.js} +1 -1
  89. package/dist/assets/{PasswordField.stories-CUMp6Mtn.js → PasswordField.stories-CvnCM5rD.js} +2 -2
  90. package/dist/assets/PreplyLogo-Cecouk_S.css +1 -0
  91. package/dist/assets/{PreplyLogo.stories-D1csw07H.js → PreplyLogo.stories-ZhZHvw_M.js} +1 -1
  92. package/dist/assets/{ProgressBar-BlRQDKOy.css → ProgressBar-DYzJL8gA.css} +1 -1
  93. package/dist/assets/{ProgressBar.stories-T8aqCrCf.js → ProgressBar.stories-XmMUjDS5.js} +1 -1
  94. package/dist/assets/{ProgressSteps-D-uurLZS.js → ProgressSteps-CVWVi5_G.js} +1 -1
  95. package/dist/assets/ProgressSteps-Dip-BZlm.css +1 -0
  96. package/dist/assets/{ProgressSteps.stories-CPQZtLp5.js → ProgressSteps.stories-B57q5WFr.js} +1 -1
  97. package/dist/assets/SelectField-CTB098t-.css +1 -0
  98. package/dist/assets/{SelectField.stories-DAJTdnY_.js → SelectField.stories-CqnGEFQn.js} +2 -2
  99. package/dist/assets/Spinner-BuihcWyQ.css +1 -0
  100. package/dist/assets/{Spinner-DNFm01hR.js → Spinner-C3p2WoxW.js} +1 -1
  101. package/dist/assets/Steps-Bd4yQjwc.css +1 -0
  102. package/dist/assets/{Steps-C2edM5zk.js → Steps-DbST4vmL.js} +1 -1
  103. package/dist/assets/{Steps.stories-BMI0VgUD.js → Steps.stories-gWR5Lpwz.js} +1 -1
  104. package/dist/assets/Text-BeAjllqh.js +1 -0
  105. package/dist/assets/{Text-DFQxlVfP.css → Text-CgAyAgxF.css} +1 -1
  106. package/dist/assets/Text-D3ATKGXs.js +1 -0
  107. package/dist/assets/{Text.stories-WOobBPKg.js → Text.stories-BlLgBmMi.js} +1 -1
  108. package/dist/assets/TextField-BiEzDuCh.js +1 -0
  109. package/dist/assets/TextField-C3owY_ZE.css +1 -0
  110. package/dist/assets/{TextField.stories-Dg3DrQjJ.js → TextField.stories-CPD818W_.js} +1 -1
  111. package/dist/assets/TextHighlighted-B_WQpKk8.css +1 -0
  112. package/dist/assets/TextHighlighted-DoFzmVL0.js +1 -0
  113. package/dist/assets/{TextHighlighted.stories-BKebPymh.js → TextHighlighted.stories-DTNcmEX3.js} +3 -3
  114. package/dist/assets/TextInline-BqUzWrD4.css +1 -0
  115. package/dist/assets/{TextInline.stories-DI0FQ3dC.js → TextInline.stories-DqX-qocx.js} +3 -3
  116. package/dist/assets/{TextareaField.stories-Ciz-W727.js → TextareaField.stories-D95m8D1f.js} +3 -3
  117. package/dist/assets/Toast-BsJOXveW.css +1 -0
  118. package/dist/assets/{Toast.stories-BUNtKeSS.js → Toast.stories-CGXB3Oyz.js} +9 -9
  119. package/dist/assets/Tooltip-9him0tBb.css +1 -0
  120. package/dist/assets/{Tooltip-zQMCBUGS.js → Tooltip-kdQF0n0X.js} +1 -1
  121. package/dist/assets/{Tooltip.stories-D2Yb1eor.js → Tooltip.stories-ChMEb5wa.js} +1 -1
  122. package/dist/assets/{Tooltip.tests.stories-BxdJuZJX.js → Tooltip.tests.stories-DRKkU6_h.js} +1 -1
  123. package/dist/assets/{breakpoints-BMuiMr4r.js → breakpoints-BKtvPn4z.js} +1 -1
  124. package/dist/assets/{breakpoints-CxAN0PVN.js → breakpoints-CvGR1154.js} +1 -1
  125. package/dist/assets/{breakpoints-ChpdBg9G.js → breakpoints-Dw3ULM7j.js} +1 -1
  126. package/dist/assets/{changelog-D5HVEkeA.js → changelog-DXXuLjII.js} +1 -1
  127. package/dist/assets/{entry-preview-DpNnKe7l.js → entry-preview-DKCl8pnk.js} +1 -1
  128. package/dist/assets/{getTokenVar-D-VODJQ8.js → getTokenVar-BWljsLZ6.js} +1 -1
  129. package/dist/assets/{hover-DMyCG6nP.js → hover-BRNG4vFt.js} +1 -1
  130. package/dist/assets/{hover-Bh1sFSlB.js → hover-BpH2YvND.js} +1 -1
  131. package/dist/assets/{hover-CZ5fcodF.js → hover-Cun_Hxa2.js} +1 -1
  132. package/dist/assets/{iframe-D9FBaTKu.js → iframe-DbVfH8B5.js} +2 -2
  133. package/dist/assets/{index-CN8MkqPu.js → index-UAdYqHL0.js} +3 -3
  134. package/dist/assets/{index-CzAjHofV.js → index-lpmehhNH.js} +1 -1
  135. package/dist/assets/{intro-C6ISKIm9.js → intro-CQsqeQsV.js} +1 -1
  136. package/dist/assets/layout-relative-Cf09gtOc.css +1 -0
  137. package/dist/assets/layout-relative-DA7rS9QX.js +1 -0
  138. package/dist/assets/layout-relative-Jxb51_Sh.css +1 -0
  139. package/dist/assets/layout-relative-mSX9oB2N.css +1 -0
  140. package/dist/assets/layout-relative.module-CYNzEGVH.js +1 -0
  141. package/dist/assets/layout-relative.module-yZwngsDw-BiwrSIEl.js +1 -0
  142. package/dist/assets/{migrating-from-less-SR1lXm1Z.js → migrating-from-less-DAZke_bf.js} +1 -1
  143. package/dist/assets/playground-w72anE0z.css +1 -0
  144. package/dist/assets/{playground.stories-BWv6a9Ow.js → playground.stories-Dpb3xI2s.js} +2 -2
  145. package/dist/assets/{preview-Dc_-9XIu.js → preview-DchamjVK.js} +1 -1
  146. package/dist/assets/{preview-CDVh-xOX.js → preview-HuUbG8ej.js} +2 -2
  147. package/dist/assets/{preview-BGF08rmP.js → preview-kCY-Nq0t.js} +1 -1
  148. package/dist/assets/text-accent-CuYWdzBU.js +1 -0
  149. package/dist/assets/text-accent-DbbdQjKI.js +1 -0
  150. package/dist/assets/text-accent-da8yAj-M.css +1 -0
  151. package/dist/assets/text-centered-6MZg9O0U.js +1 -0
  152. package/dist/assets/text-centered-CrBlvRDP.js +1 -0
  153. package/dist/assets/text-centered-DUL478eo.css +1 -0
  154. package/dist/assets/text-centered-RwJDmlB2.css +1 -0
  155. package/dist/assets/{tokens-xGXTw-Bm.js → tokens-BaIvp8uk.js} +1 -1
  156. package/dist/assets/{tokens-DMbGUROO.js → tokens-BqWh6RWP.js} +1 -1
  157. package/dist/assets/{tokens-D6UCrzr2.js → tokens-KVFCTIK3.js} +1 -1
  158. package/dist/assets/{usePortalElement-Bbb9BiBX.js → usePortalElement-DBJJ4TO9.js} +1 -1
  159. package/dist/assets/{welcome-dWXK8Eyh.js → welcome-CaHVZaZ7.js} +1 -1
  160. package/dist/assets/{zeroheight-B7iZ8Q7Q.js → zeroheight-DobKPt2E.js} +1 -1
  161. package/dist/iframe.html +1 -1
  162. package/dist/preview-stats.json +1389 -1389
  163. package/dist/project.json +1 -1
  164. package/package.json +3 -3
  165. package/dist/assets/AlertDialog-9aMYe7qS.css +0 -1
  166. package/dist/assets/Avatar-Bopr1nvy.css +0 -1
  167. package/dist/assets/Avatar-BrUqbtqi.css +0 -1
  168. package/dist/assets/Avatar-C1huic64.js +0 -1
  169. package/dist/assets/Avatar-_lJcmrpe.js +0 -6
  170. package/dist/assets/AvatarWithStatus-1OhKqkhZ.css +0 -1
  171. package/dist/assets/AvatarWithStatus.stories-fsQGc-go.js +0 -41
  172. package/dist/assets/Badge-CE3LnaLv.css +0 -1
  173. package/dist/assets/Box-BAkBXoq4.css +0 -1
  174. package/dist/assets/Box.stories-Cd7hCnWV.js +0 -44
  175. package/dist/assets/Button-aTfrltjf.css +0 -1
  176. package/dist/assets/Button-yKqY71ST.js +0 -1
  177. package/dist/assets/ButtonBase-DmGBqbEZ.js +0 -8
  178. package/dist/assets/Chips-C7UpD_mE.css +0 -1
  179. package/dist/assets/Dialog-DoiRlzo0.css +0 -1
  180. package/dist/assets/FieldAdditionalText-CI8lcmUx.css +0 -1
  181. package/dist/assets/FieldLayout-tvXhq4A9.css +0 -1
  182. package/dist/assets/FieldLayoutBase-CL9jwXZ5.css +0 -1
  183. package/dist/assets/Heading-DJsY9vSm.js +0 -2
  184. package/dist/assets/Icon-BHc5pW-1.css +0 -1
  185. package/dist/assets/Icon-Br57CUad.js +0 -8
  186. package/dist/assets/Icon-CHBsJKk4.js +0 -1
  187. package/dist/assets/Icon-k_LAjmkS.css +0 -1
  188. package/dist/assets/IconButton-BVECCmzA.js +0 -8
  189. package/dist/assets/InputText-vDqY25St.js +0 -5
  190. package/dist/assets/LayoutFlexItem-CDjAEpoC.js +0 -1
  191. package/dist/assets/LayoutFlexItem-RctWAITs.css +0 -1
  192. package/dist/assets/LayoutGrid-BncgWrDU.css +0 -1
  193. package/dist/assets/LayoutGrid-Czkaijud.js +0 -1
  194. package/dist/assets/LayoutGrid-D22sS-xd.css +0 -1
  195. package/dist/assets/LayoutGridItem-BH4MN8sd.css +0 -1
  196. package/dist/assets/LayoutGridItem-DcJqI4M1.js +0 -1
  197. package/dist/assets/Link-B3uMOmwG.css +0 -1
  198. package/dist/assets/Loader-n_LGcjVu.css +0 -1
  199. package/dist/assets/OnboardingTooltip-D9tV9DPK.css +0 -1
  200. package/dist/assets/PreplyLogo-D7uQOcxE.css +0 -1
  201. package/dist/assets/ProgressSteps-BBm1NJug.css +0 -1
  202. package/dist/assets/SelectField-DaFFv7SC.css +0 -1
  203. package/dist/assets/Spinner-DKdkr1Ne.css +0 -1
  204. package/dist/assets/Steps-DkhY6ujn.css +0 -1
  205. package/dist/assets/Text-CHUOSFiB.js +0 -1
  206. package/dist/assets/Text-D_jZr-aH.js +0 -1
  207. package/dist/assets/TextField-BI6hxcll.css +0 -1
  208. package/dist/assets/TextField-DZycCcgs.js +0 -1
  209. package/dist/assets/TextHighlighted-C_WG65H-.css +0 -1
  210. package/dist/assets/TextHighlighted-CqCvHmzT.js +0 -1
  211. package/dist/assets/TextInline-b719nAVG.css +0 -1
  212. package/dist/assets/Toast-BqZeF1bj.css +0 -1
  213. package/dist/assets/Tooltip-dRtdPJbN.css +0 -1
  214. package/dist/assets/layout-relative-1NNqyFlR.css +0 -1
  215. package/dist/assets/layout-relative-B9kygquF.js +0 -1
  216. package/dist/assets/layout-relative-DVONc6az.css +0 -1
  217. package/dist/assets/layout-relative-sYkZ1nwT.css +0 -1
  218. package/dist/assets/layout-relative.module-B5e88crD-BmOXkGhY.js +0 -1
  219. package/dist/assets/layout-relative.module-B8ilmhPe.js +0 -1
  220. package/dist/assets/playground-BK8AWsKV.css +0 -1
  221. package/dist/assets/text-accent-2LS5jjt0.css +0 -1
  222. package/dist/assets/text-accent-BqpJYBrf.js +0 -1
  223. package/dist/assets/text-accent-DFUImn3_.js +0 -1
  224. package/dist/assets/text-centered-BvohyNwD.js +0 -1
  225. package/dist/assets/text-centered-Cl3_mAit.js +0 -1
  226. package/dist/assets/text-centered-DJu0MAf-.css +0 -1
  227. package/dist/assets/text-centered-fza1BZtG.css +0 -1
@@ -0,0 +1 @@
1
+ ._Icon_1apu0_4{display:inline-block;vertical-align:text-top}._Icon_1apu0_4 svg{display:block;width:100%;min-width:100%;max-width:100%;max-height:100%;fill:currentColor}._Icon--size-2xs_1apu0_16{width:var(--b21f61);height:var(--b21f61);min-width:var(--b21f61);max-width:var(--b21f61)}._Icon--size-xs_1apu0_22{width:var(--766f3b);height:var(--766f3b);min-width:var(--766f3b);max-width:var(--766f3b)}._Icon--size-s_1apu0_28{width:var(--7c1b1c);height:var(--7c1b1c);min-width:var(--7c1b1c);max-width:var(--7c1b1c)}._Icon--size-m_1apu0_34{width:var(--2152b7);height:var(--2152b7);min-width:var(--2152b7);max-width:var(--2152b7)}._Icon--size-l_1apu0_40{width:var(--8f525f);height:var(--8f525f);min-width:var(--8f525f);max-width:var(--8f525f)}._Icon--size-16_1apu0_46{width:var(--656bbc);height:var(--656bbc);min-width:var(--656bbc);max-width:var(--656bbc)}._Icon--size-24_1apu0_52{width:var(--81dc82);height:var(--81dc82);min-width:var(--81dc82);max-width:var(--81dc82)}._Icon--size-32_1apu0_58{width:var(--2a6452);height:var(--2a6452);min-width:var(--2a6452);max-width:var(--2a6452)}._Icon--size-48_1apu0_64{width:var(--03d2e4);height:var(--03d2e4);min-width:var(--03d2e4);max-width:var(--03d2e4)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-0_1sbgg_3{color:var(--d751dc)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-50_1sbgg_6{color:var(--d4e1b8)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-100_1sbgg_9{color:var(--e986ec)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-200_1sbgg_12{color:var(--8a8cb8)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-300_1sbgg_15{color:var(--e7dcf4)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-400_1sbgg_18{color:var(--d48a93)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-500_1sbgg_21{color:var(--9b582c)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-600_1sbgg_24{color:var(--bd0a12)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-700_1sbgg_27{color:var(--5540cb)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-800_1sbgg_30{color:var(--3f9d59)}._ExpColor_1sbgg_3._ExpColor--exp-color-grey-900_1sbgg_33{color:var(--0d2c1d)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-50_1sbgg_36{color:var(--696262)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-100_1sbgg_39{color:var(--2a8bdc)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-200_1sbgg_42{color:var(--9c55fe)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-300_1sbgg_45{color:var(--55b1b2)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-400_1sbgg_48{color:var(--e2e617)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-500_1sbgg_51{color:var(--28075b)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-600_1sbgg_54{color:var(--0d21bc)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-700_1sbgg_57{color:var(--dcc28c)}._ExpColor_1sbgg_3._ExpColor--exp-color-pink-800_1sbgg_60{color:var(--e2ccaa)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-50_1sbgg_63{color:var(--f73f81)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-100_1sbgg_66{color:var(--05c737)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-200_1sbgg_69{color:var(--32d8a2)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-300_1sbgg_72{color:var(--92f9a7)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-400_1sbgg_75{color:var(--4db3c1)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-500_1sbgg_78{color:var(--2d6e08)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-600_1sbgg_81{color:var(--2db5c2)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-700_1sbgg_84{color:var(--b31329)}._ExpColor_1sbgg_3._ExpColor--exp-color-yellow-800_1sbgg_87{color:var(--66ebdf)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-50_1sbgg_90{color:var(--6ae6f0)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-100_1sbgg_93{color:var(--b916ba)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-200_1sbgg_96{color:var(--c6fc9c)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-300_1sbgg_99{color:var(--b773b2)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-400_1sbgg_102{color:var(--e848c4)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-500_1sbgg_105{color:var(--e57766)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-600_1sbgg_108{color:var(--fdf041)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-700_1sbgg_111{color:var(--cd5904)}._ExpColor_1sbgg_3._ExpColor--exp-color-blue-800_1sbgg_114{color:var(--440fc3)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-50_1sbgg_117{color:var(--9fac3a)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-100_1sbgg_120{color:var(--32b0b3)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-200_1sbgg_123{color:var(--873ad3)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-300_1sbgg_126{color:var(--202011)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-400_1sbgg_129{color:var(--4f3eb4)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-500_1sbgg_132{color:var(--c47d0d)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-600_1sbgg_135{color:var(--985403)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-700_1sbgg_138{color:var(--2c9147)}._ExpColor_1sbgg_3._ExpColor--exp-color-teal-800_1sbgg_141{color:var(--0d9ea5)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-50_1sbgg_144{color:var(--f951e9)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-100_1sbgg_147{color:var(--3aa891)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-200_1sbgg_150{color:var(--ba4c34)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-300_1sbgg_153{color:var(--943cfc)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-400_1sbgg_156{color:var(--8af651)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-500_1sbgg_159{color:var(--f5bfe7)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-600_1sbgg_162{color:var(--1bd221)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-700_1sbgg_165{color:var(--38cd90)}._ExpColor_1sbgg_3._ExpColor--exp-color-red-800_1sbgg_168{color:var(--e9fcc6)}
@@ -0,0 +1 @@
1
+ import{j as I}from"./jsx-runtime-BTJTZTIL.js";import{r as w}from"./index-Cb9e4tly.js";import{g as f,a as N}from"./text-accent-CuYWdzBU.js";import{f as k}from"./filterHTMLAttributes-UOns5Q7s.js";import{r as z}from"./render-icon-Du0nasoi.js";import{m as s,s as h,b as $}from"./classNames-BUL1Zq7e.js";import{I as j}from"./defaults-B1rzzf6M.js";import{w as _}from"./componentNames-Bwls0I02.js";import{g as v}from"./index-DdzHuZ-Y.js";const A="_ExpColor_1sbgg_3",D={ExpColor:A,"ExpColor--exp-color-grey-0":"_ExpColor--exp-color-grey-0_1sbgg_3","ExpColor--exp-color-grey-50":"_ExpColor--exp-color-grey-50_1sbgg_6","ExpColor--exp-color-grey-100":"_ExpColor--exp-color-grey-100_1sbgg_9","ExpColor--exp-color-grey-200":"_ExpColor--exp-color-grey-200_1sbgg_12","ExpColor--exp-color-grey-300":"_ExpColor--exp-color-grey-300_1sbgg_15","ExpColor--exp-color-grey-400":"_ExpColor--exp-color-grey-400_1sbgg_18","ExpColor--exp-color-grey-500":"_ExpColor--exp-color-grey-500_1sbgg_21","ExpColor--exp-color-grey-600":"_ExpColor--exp-color-grey-600_1sbgg_24","ExpColor--exp-color-grey-700":"_ExpColor--exp-color-grey-700_1sbgg_27","ExpColor--exp-color-grey-800":"_ExpColor--exp-color-grey-800_1sbgg_30","ExpColor--exp-color-grey-900":"_ExpColor--exp-color-grey-900_1sbgg_33","ExpColor--exp-color-pink-50":"_ExpColor--exp-color-pink-50_1sbgg_36","ExpColor--exp-color-pink-100":"_ExpColor--exp-color-pink-100_1sbgg_39","ExpColor--exp-color-pink-200":"_ExpColor--exp-color-pink-200_1sbgg_42","ExpColor--exp-color-pink-300":"_ExpColor--exp-color-pink-300_1sbgg_45","ExpColor--exp-color-pink-400":"_ExpColor--exp-color-pink-400_1sbgg_48","ExpColor--exp-color-pink-500":"_ExpColor--exp-color-pink-500_1sbgg_51","ExpColor--exp-color-pink-600":"_ExpColor--exp-color-pink-600_1sbgg_54","ExpColor--exp-color-pink-700":"_ExpColor--exp-color-pink-700_1sbgg_57","ExpColor--exp-color-pink-800":"_ExpColor--exp-color-pink-800_1sbgg_60","ExpColor--exp-color-yellow-50":"_ExpColor--exp-color-yellow-50_1sbgg_63","ExpColor--exp-color-yellow-100":"_ExpColor--exp-color-yellow-100_1sbgg_66","ExpColor--exp-color-yellow-200":"_ExpColor--exp-color-yellow-200_1sbgg_69","ExpColor--exp-color-yellow-300":"_ExpColor--exp-color-yellow-300_1sbgg_72","ExpColor--exp-color-yellow-400":"_ExpColor--exp-color-yellow-400_1sbgg_75","ExpColor--exp-color-yellow-500":"_ExpColor--exp-color-yellow-500_1sbgg_78","ExpColor--exp-color-yellow-600":"_ExpColor--exp-color-yellow-600_1sbgg_81","ExpColor--exp-color-yellow-700":"_ExpColor--exp-color-yellow-700_1sbgg_84","ExpColor--exp-color-yellow-800":"_ExpColor--exp-color-yellow-800_1sbgg_87","ExpColor--exp-color-blue-50":"_ExpColor--exp-color-blue-50_1sbgg_90","ExpColor--exp-color-blue-100":"_ExpColor--exp-color-blue-100_1sbgg_93","ExpColor--exp-color-blue-200":"_ExpColor--exp-color-blue-200_1sbgg_96","ExpColor--exp-color-blue-300":"_ExpColor--exp-color-blue-300_1sbgg_99","ExpColor--exp-color-blue-400":"_ExpColor--exp-color-blue-400_1sbgg_102","ExpColor--exp-color-blue-500":"_ExpColor--exp-color-blue-500_1sbgg_105","ExpColor--exp-color-blue-600":"_ExpColor--exp-color-blue-600_1sbgg_108","ExpColor--exp-color-blue-700":"_ExpColor--exp-color-blue-700_1sbgg_111","ExpColor--exp-color-blue-800":"_ExpColor--exp-color-blue-800_1sbgg_114","ExpColor--exp-color-teal-50":"_ExpColor--exp-color-teal-50_1sbgg_117","ExpColor--exp-color-teal-100":"_ExpColor--exp-color-teal-100_1sbgg_120","ExpColor--exp-color-teal-200":"_ExpColor--exp-color-teal-200_1sbgg_123","ExpColor--exp-color-teal-300":"_ExpColor--exp-color-teal-300_1sbgg_126","ExpColor--exp-color-teal-400":"_ExpColor--exp-color-teal-400_1sbgg_129","ExpColor--exp-color-teal-500":"_ExpColor--exp-color-teal-500_1sbgg_132","ExpColor--exp-color-teal-600":"_ExpColor--exp-color-teal-600_1sbgg_135","ExpColor--exp-color-teal-700":"_ExpColor--exp-color-teal-700_1sbgg_138","ExpColor--exp-color-teal-800":"_ExpColor--exp-color-teal-800_1sbgg_141","ExpColor--exp-color-red-50":"_ExpColor--exp-color-red-50_1sbgg_144","ExpColor--exp-color-red-100":"_ExpColor--exp-color-red-100_1sbgg_147","ExpColor--exp-color-red-200":"_ExpColor--exp-color-red-200_1sbgg_150","ExpColor--exp-color-red-300":"_ExpColor--exp-color-red-300_1sbgg_153","ExpColor--exp-color-red-400":"_ExpColor--exp-color-red-400_1sbgg_156","ExpColor--exp-color-red-500":"_ExpColor--exp-color-red-500_1sbgg_159","ExpColor--exp-color-red-600":"_ExpColor--exp-color-red-600_1sbgg_162","ExpColor--exp-color-red-700":"_ExpColor--exp-color-red-700_1sbgg_165","ExpColor--exp-color-red-800":"_ExpColor--exp-color-red-800_1sbgg_168"},L="ExpColor",O=r=>s(D,L,[h("exp-color",r)]),R="_Icon_1apu0_4",T={Icon:R,"Icon--size-2xs":"_Icon--size-2xs_1apu0_16","Icon--size-xs":"_Icon--size-xs_1apu0_22","Icon--size-s":"_Icon--size-s_1apu0_28","Icon--size-m":"_Icon--size-m_1apu0_34","Icon--size-l":"_Icon--size-l_1apu0_40","Icon--size-16":"_Icon--size-16_1apu0_46","Icon--size-24":"_Icon--size-24_1apu0_52","Icon--size-32":"_Icon--size-32_1apu0_58","Icon--size-48":"_Icon--size-48_1apu0_64"},P=w.forwardRef(function({svg:e,size:o=j,accent:l,expColor:c,color:g,label:p,dataset:C,...E},a){const x=!Number.isNaN(Number(o)),n=x?{width:`${o}px`,height:`${o}px`}:{},b=s(T,_.Icon,[$(`size-${o}`,void 0,!x)]),t=l?void 0:g,i=f(!1,l),m=N(t),u=l?[]:O(c),y=[...b,...i,...m,...u],d={...k(E),className:y.join(" "),...v(C,{preplyDsComponent:_.Icon}),ref:a};if(!e)throw new Error("Icon prop svg is mandatory");return I.jsx("span",{...d,role:"img",style:n,"aria-hidden":!p,"aria-label":p,children:z(e,{"aria-hidden":"true",focusable:"false"})})});P.__docgenInfo={description:"",methods:[],displayName:"Icon",props:{size:{defaultValue:{value:"'s'",computed:!1},required:!1}}};export{P as I};
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{F as o}from"./TokyoUINotesWithPad-B-o4vu0Y.js";import{I as s}from"./Icon-Br57CUad.js";import{E as h}from"./options-DSKYF8ow.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./text-accent-BqpJYBrf.js";import"./classNames-BUL1Zq7e.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./render-icon-BT0Aq7PA.js";import"./componentNames-Bwls0I02.js";import"./index-DdzHuZ-Y.js";import"./defaults-B1rzzf6M.js";const R={title:"components/Icon",component:s,parameters:{docs:{description:{component:"To browse all available icons, visit the [Icon Explorer](/story/guides-assets-icon-explorer--page)."}}}},t=()=>e.jsxs("div",{style:{display:"flex",alignItems:"end",gap:"4px"},children:[e.jsx(s,{svg:o,size:"16"}),e.jsx(s,{svg:o,size:"24"}),e.jsx(s,{svg:o,size:"32"}),e.jsx(s,{svg:o,size:"48"})]}),n=()=>e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:h.map(a=>e.jsxs("div",{style:{display:"flex",gap:16},children:[e.jsx(s,{svg:o,expColor:a.id},a.id),e.jsx("span",{children:a.id})]},a.id))}),r=()=>e.jsx(s,{svg:e.jsx(o,{})});r.tags=["!dev","!autodocs"];const i={parameters:{chromatic:{disableSnapshot:!0}},args:{svg:o,dataset:{qaid:"icon"}},argTypes:{svg:{control:!1},dataset:{control:"object"},label:{control:"text"},color:{table:{disable:!0}}}};var p,c,d;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`() => <div style={{
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{F as o}from"./TokyoUINotesWithPad-B-o4vu0Y.js";import{I as s}from"./Icon-DAQd7Eod.js";import{E as h}from"./options-DSKYF8ow.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./text-accent-DbbdQjKI.js";import"./classNames-BUL1Zq7e.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./render-icon-BT0Aq7PA.js";import"./componentNames-Bwls0I02.js";import"./index-DdzHuZ-Y.js";import"./defaults-B1rzzf6M.js";const R={title:"components/Icon",component:s,parameters:{docs:{description:{component:"To browse all available icons, visit the [Icon Explorer](/story/guides-assets-icon-explorer--page)."}}}},t=()=>e.jsxs("div",{style:{display:"flex",alignItems:"end",gap:"4px"},children:[e.jsx(s,{svg:o,size:"16"}),e.jsx(s,{svg:o,size:"24"}),e.jsx(s,{svg:o,size:"32"}),e.jsx(s,{svg:o,size:"48"})]}),n=()=>e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:h.map(a=>e.jsxs("div",{style:{display:"flex",gap:16},children:[e.jsx(s,{svg:o,expColor:a.id},a.id),e.jsx("span",{children:a.id})]},a.id))}),r=()=>e.jsx(s,{svg:e.jsx(o,{})});r.tags=["!dev","!autodocs"];const i={parameters:{chromatic:{disableSnapshot:!0}},args:{svg:o,dataset:{qaid:"icon"}},argTypes:{svg:{control:!1},dataset:{control:"object"},label:{control:"text"},color:{table:{disable:!0}}}};var p,c,d;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`() => <div style={{
2
2
  display: 'flex',
3
3
  alignItems: 'end',
4
4
  gap: '4px'
@@ -0,0 +1,8 @@
1
+ import{j as o}from"./jsx-runtime-BTJTZTIL.js";import{r as m}from"./index-Cb9e4tly.js";import{r as d}from"./render-icon-BT0Aq7PA.js";import{B as v}from"./ButtonBase-Desxs10d.js";import{w as p}from"./componentNames-Bwls0I02.js";import{B as c,a as f}from"./defaults-B1rzzf6M.js";const e=m.forwardRef(function({variant:l=f,size:n=c,url:t,a11yLabel:u,svg:r,...s},i){return o.jsx(v,{...s,ref:i,isIconButton:!0,variant:l,size:n,url:t,a11yLabel:u,preplyDsComponent:p.IconButton,children:d(r,{"aria-hidden":"true",focusable:"false"})})});try{e.displayName="IconButton",e.__docgenInfo={description:"",displayName:"IconButton",props:{size:{defaultValue:{value:"s"},description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"large"'},{value:'"medium"'},{value:'"small"'},{value:"ResponsiveProp<ButtonSize>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},assistiveText:{defaultValue:null,description:"",name:"assistiveText",required:!1,type:{name:"string"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler<Element>"}]}},variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"quaternary"'},{value:'"ghost"'},{value:'"plain"'},{value:'"dangerous"'},{value:'"critical"'},{value:'"onColor"'},{value:'"classroom"'},{value:'"primaryB2b"'},{value:'"primaryTutor"'},{value:'"inverted"'},{value:'"newFeature"'},{value:'"ai"'}]}},href:{defaultValue:null,description:"",name:"href",required:!1,type:{name:"enum",value:[{value:"string"}]}},download:{defaultValue:null,description:"",name:"download",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},opensInNewTab:{defaultValue:null,description:"",name:"opensInNewTab",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},nofollow:{defaultValue:null,description:"",name:"nofollow",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},submitsForm:{defaultValue:null,description:"",name:"submitsForm",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},busy:{defaultValue:null,description:"Replaces the content with a loading indicator.",name:"busy",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},as:{defaultValue:null,description:`Custom element to render the button.
2
+
3
+ Allows rendering the button using a different React element or component.
4
+ This is particularly useful for integrating with router libraries like \`react-router\` or \`next/router\`.
5
+ @example // Render as a react router link component
6
+ import { Link } from 'react-router-dom';
7
+
8
+ <ButtonBase as={<Link to="/home" />} />`,name:"as",required:!1,type:{name:"enum",value:[{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},url:{defaultValue:null,description:"@deprecated Use `href` instead",name:"url",required:!1,type:{name:"enum",value:[{value:"string"}]}},a11yLabel:{defaultValue:null,description:"@deprecated Use `assistiveText` instead",name:"a11yLabel",required:!1,type:{name:"enum",value:[{value:"string"}]}},svg:{defaultValue:null,description:"",name:"svg",required:!0,type:{name:"enum",value:[{value:"ComponentClass<SVGAttributes<SVGElement>, any>"},{value:"FunctionComponent<SVGAttributes<SVGElement>>"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLButtonElement | HTMLAnchorElement | null) => void"},{value:"RefObject<HTMLButtonElement | HTMLAnchorElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}},selected:{defaultValue:null,description:"",name:"selected",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}}}}}catch{}export{e as I};
@@ -0,0 +1,5 @@
1
+ import{j as d}from"./jsx-runtime-BTJTZTIL.js";import{r as m}from"./index-Cb9e4tly.js";import{u as o,I as p,s as v}from"./FieldLayoutBase-0r0SpleC.js";import{m as f}from"./classNames-BUL1Zq7e.js";import{w as a}from"./componentNames-Bwls0I02.js";const c=({onChange:e,onValueChange:u,...n},t)=>{const r=f(v,a.InputText),i=o(s=>s.target.value,e,u);return d.jsx(p,{...n,ref:t,className:r.join(" "),onChange:i,preplyDsComponent:a.InputText})},l=m.forwardRef(c);try{l.displayName="InputText",l.__docgenInfo={description:"",displayName:"InputText",props:{dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler<Element>"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"enum",value:[{value:"string"}]}},id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},"aria-describedby":{defaultValue:null,description:`Identifies the element (or elements) that describes the object.
2
+ @see aria-labelledby`,name:"aria-describedby",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-disabled":{defaultValue:null,description:`Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
3
+ @see aria-hidden
4
+ @see aria-readonly.`,name:"aria-disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-invalid":{defaultValue:null,description:`Indicates the entered value does not conform to the format expected by the application.
5
+ @see aria-errormessage.`,name:"aria-invalid",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'},{value:'"grammar"'},{value:'"spelling"'}]}},"aria-required":{defaultValue:null,description:"Indicates that user input is required on the element before a form may be submitted.",name:"aria-required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"enum",value:[{value:"string"}]}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"enum",value:[{value:"string"}]}},maxLength:{defaultValue:null,description:"",name:"maxLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"enum",value:[{value:"string"}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"enum",value:[{value:"ChangeEventHandler<Element>"}]}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"enum",value:[{value:"FocusEventHandler<Element>"}]}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"enum",value:[{value:"FocusEventHandler<Element>"}]}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler<Element>"}]}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler<Element>"}]}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"enum",value:[{value:"ClipboardEventHandler<Element>"}]}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"enum",value:[{value:"ClipboardEventHandler<Element>"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},hasError:{defaultValue:null,description:"",name:"hasError",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},autoComplete:{defaultValue:null,description:"",name:"autoComplete",required:!1,type:{name:"enum",value:[{value:'"url"'},{value:'"name"'},{value:'"off"'},{value:'"on"'},{value:'"email"'},{value:'"username"'},{value:'"language"'},{value:'"tel"'},{value:'"new-password"'},{value:'"current-password"'}]}},type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"url"'},{value:'"search"'},{value:'"email"'},{value:'"tel"'},{value:'"text"'}]}},onValueChange:{defaultValue:null,description:"",name:"onValueChange",required:!1,type:{name:"enum",value:[{value:"ValueChangeEventHandler<string>"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: InputImperativeHandle | null) => void"},{value:"RefObject<InputImperativeHandle>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{l as I};
@@ -1 +1 @@
1
- import{j as N}from"./jsx-runtime-BTJTZTIL.js";import{r as I}from"./index-Cb9e4tly.js";import{f as j}from"./filterHTMLAttributes-DYdLqcvH.js";import{g as f,s as U,a as E,b as H}from"./layout-relative.module-B8ilmhPe.js";import{e as $,f as G,L as k}from"./defaults-B1rzzf6M.js";import{g as J}from"./index-DdzHuZ-Y.js";import{w as M}from"./componentNames-Bwls0I02.js";const t=void 0;function Y(a){const{nowrap:e}=a;return e?!0:t}function r(a){return JSON.stringify(a)}function B(a){const{direction:e,column:u,reverse:n}=a;return e===void 0?!n&&!u?{applyThrough:"direction",directionAttr:$}:{applyThrough:"columnReverse",columnReverseAttr:`${u?"column":"row"}-${n?"rev":"fwd"}`}:typeof e=="string"?{applyThrough:"direction",directionAttr:e}:{applyThrough:"direction",directionAttr:r(e)}}function W(a){const{justifyContent:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function X(a){const{alignItems:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function z(a){const{gap:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function K(a){const{padding:e}=a;return e===void 0?{applyThrough:"attr",attr:G}:typeof e=="string"||typeof e=="number"?{applyThrough:"attr",attr:e}:Array.isArray(e)?{applyThrough:"classnames",classNames:f(e)}:r(e).includes("[")?{applyThrough:"classnames",classNames:f(e)}:{applyThrough:"attr",attr:JSON.stringify(e)}}function Q(a){const{hide:e,inline:u}=a;if(e===void 0)return t;const n=u?"inline-flex":"flex";if(typeof e=="boolean")return e?"hide":n;let l=r(e);return l=l.replace(/true/g,'"hide"'),l=l.replace(/false/g,`"${n}"`),l}function Z(a){const{relative:e}=a;return e===void 0?t:e===!0?!0:e===!1?t:r(e)}const ee={},m=I.forwardRef(function(e,u){const{gap:n,hide:l,column:o,nowrap:g,inline:y,dataset:h,reverse:A,padding:L,children:R,relative:T,direction:x,alignItems:P,justifyContent:w,tag:S=k,..._}=e,v=[ee.LayoutFlex,U.LayoutGap,E.LayoutHide,H.LayoutRelative],D=z({gap:n}),b=Y({nowrap:g}),q=Z({relative:T}),V=Q({hide:l,inline:y}),O=X({alignItems:P}),C=W({justifyContent:w});let d=t,p=t;const i=B({direction:x,column:o,reverse:A});i.applyThrough==="columnReverse"?p=i.columnReverseAttr:d=i.directionAttr;let c=t;const s=K({padding:L});s.applyThrough==="classnames"?v.push(...s.classNames):c=s.attr;const F={...j(_),ref:u,className:v.join(" "),"data-ds-gap":D,"data-ds-nowrap":b,"data-ds-padding":c,"data-ds-display":V,"data-ds-relative":q,"data-ds-direction":d,"data-ds-alignitems":O,"data-ds-columnreverse":p,"data-ds-justifycontent":C,...J(h,{preplyDsComponent:M.LayoutFlex})};return N.jsx(S,{...F,children:R})});try{m.displayName="LayoutFlex",m.__docgenInfo={description:"A CSS `flex` wrapper.",displayName:"LayoutFlex",props:{gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:"ResponsiveProp<LayoutGap>"},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"ResponsiveProp<Spacing>"}]}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"[LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing, Spacing]"},{value:"ResponsiveProp<ShortHand<LayoutPadding> | ShortHand<Spacing>>"}]}},nowrap:{defaultValue:null,description:"",name:"nowrap",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},column:{defaultValue:null,description:"@deprecated Use `direction` instead.",name:"column",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},reverse:{defaultValue:null,description:"@deprecated Use `direction` instead.",name:"reverse",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},direction:{defaultValue:null,description:"",name:"direction",required:!1,type:{name:"enum",value:[{value:'"column"'},{value:'"row"'},{value:'"row-reverse"'},{value:'"column-reverse"'},{value:"ResponsiveProp<LayoutFlexDirection>"}]}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"space-between"'},{value:'"space-around"'},{value:'"space-evenly"'},{value:"ResponsiveProp<LayoutJustifyContent>"}]}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:'"baseline"'},{value:"ResponsiveProp<LayoutAlignItems>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"p"'},{value:'"span"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},inline:{defaultValue:null,description:"",name:"inline",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{m as L};
1
+ import{j as N}from"./jsx-runtime-BTJTZTIL.js";import{r as I}from"./index-Cb9e4tly.js";import{f as j}from"./filterHTMLAttributes-DYdLqcvH.js";import{g as f,s as U,a as E,b as H}from"./layout-relative.module-CYNzEGVH.js";import{e as $,f as G,L as k}from"./defaults-B1rzzf6M.js";import{g as J}from"./index-DdzHuZ-Y.js";import{w as M}from"./componentNames-Bwls0I02.js";const t=void 0;function Y(a){const{nowrap:e}=a;return e?!0:t}function r(a){return JSON.stringify(a)}function B(a){const{direction:e,column:u,reverse:n}=a;return e===void 0?!n&&!u?{applyThrough:"direction",directionAttr:$}:{applyThrough:"columnReverse",columnReverseAttr:`${u?"column":"row"}-${n?"rev":"fwd"}`}:typeof e=="string"?{applyThrough:"direction",directionAttr:e}:{applyThrough:"direction",directionAttr:r(e)}}function W(a){const{justifyContent:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function X(a){const{alignItems:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function z(a){const{gap:e}=a;return e===void 0?t:typeof e=="string"?e:r(e)}function K(a){const{padding:e}=a;return e===void 0?{applyThrough:"attr",attr:G}:typeof e=="string"||typeof e=="number"?{applyThrough:"attr",attr:e}:Array.isArray(e)?{applyThrough:"classnames",classNames:f(e)}:r(e).includes("[")?{applyThrough:"classnames",classNames:f(e)}:{applyThrough:"attr",attr:JSON.stringify(e)}}function Q(a){const{hide:e,inline:u}=a;if(e===void 0)return t;const n=u?"inline-flex":"flex";if(typeof e=="boolean")return e?"hide":n;let l=r(e);return l=l.replace(/true/g,'"hide"'),l=l.replace(/false/g,`"${n}"`),l}function Z(a){const{relative:e}=a;return e===void 0?t:e===!0?!0:e===!1?t:r(e)}const ee={},m=I.forwardRef(function(e,u){const{gap:n,hide:l,column:o,nowrap:g,inline:y,dataset:h,reverse:A,padding:L,children:R,relative:T,direction:x,alignItems:P,justifyContent:w,tag:S=k,..._}=e,v=[ee.LayoutFlex,U.LayoutGap,E.LayoutHide,H.LayoutRelative],D=z({gap:n}),b=Y({nowrap:g}),q=Z({relative:T}),V=Q({hide:l,inline:y}),O=X({alignItems:P}),C=W({justifyContent:w});let d=t,p=t;const i=B({direction:x,column:o,reverse:A});i.applyThrough==="columnReverse"?p=i.columnReverseAttr:d=i.directionAttr;let c=t;const s=K({padding:L});s.applyThrough==="classnames"?v.push(...s.classNames):c=s.attr;const F={...j(_),ref:u,className:v.join(" "),"data-ds-gap":D,"data-ds-nowrap":b,"data-ds-padding":c,"data-ds-display":V,"data-ds-relative":q,"data-ds-direction":d,"data-ds-alignitems":O,"data-ds-columnreverse":p,"data-ds-justifycontent":C,...J(h,{preplyDsComponent:M.LayoutFlex})};return N.jsx(S,{...F,children:R})});try{m.displayName="LayoutFlex",m.__docgenInfo={description:"A CSS `flex` wrapper.",displayName:"LayoutFlex",props:{gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:"ResponsiveProp<LayoutGap>"},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"ResponsiveProp<Spacing>"}]}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"[LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing, Spacing]"},{value:"ResponsiveProp<ShortHand<LayoutPadding> | ShortHand<Spacing>>"}]}},nowrap:{defaultValue:null,description:"",name:"nowrap",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},column:{defaultValue:null,description:"@deprecated Use `direction` instead.",name:"column",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},reverse:{defaultValue:null,description:"@deprecated Use `direction` instead.",name:"reverse",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},direction:{defaultValue:null,description:"",name:"direction",required:!1,type:{name:"enum",value:[{value:'"column"'},{value:'"row"'},{value:'"row-reverse"'},{value:'"column-reverse"'},{value:"ResponsiveProp<LayoutFlexDirection>"}]}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"space-between"'},{value:'"space-around"'},{value:'"space-evenly"'},{value:"ResponsiveProp<LayoutJustifyContent>"}]}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:'"baseline"'},{value:"ResponsiveProp<LayoutAlignItems>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"p"'},{value:'"span"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},inline:{defaultValue:null,description:"",name:"inline",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{m as L};
@@ -1 +1 @@
1
- import{j as E}from"./jsx-runtime-BTJTZTIL.js";import{r as P}from"./index-Cb9e4tly.js";import{f as S}from"./filterHTMLAttributes-UOns5Q7s.js";import{g,s as $,a as b,b as G}from"./layout-relative.module-B5e88crD-BmOXkGhY.js";import{e as H,f as J,L as Y}from"./defaults-B1rzzf6M.js";import{g as B}from"./index-DdzHuZ-Y.js";import{w as M}from"./componentNames-Bwls0I02.js";const e=void 0;function W(r){const{nowrap:t}=r;return t?!0:e}function i(r){return JSON.stringify(r)}function X(r){const{direction:t,column:o,reverse:n}=r;return t===void 0?!n&&!o?{applyThrough:"direction",directionAttr:H}:{applyThrough:"columnReverse",columnReverseAttr:`${o?"column":"row"}-${n?"rev":"fwd"}`}:typeof t=="string"?{applyThrough:"direction",directionAttr:t}:{applyThrough:"direction",directionAttr:i(t)}}function k(r){const{justifyContent:t}=r;return t===void 0?e:typeof t=="string"?t:i(t)}function q(r){const{alignItems:t}=r;return t===void 0?e:typeof t=="string"?t:i(t)}function z(r){const{gap:t}=r;return t===void 0?e:typeof t=="string"?t:i(t)}function K(r){const{padding:t}=r;return t===void 0?{applyThrough:"attr",attr:J}:typeof t=="string"||typeof t=="number"?{applyThrough:"attr",attr:t}:Array.isArray(t)?{applyThrough:"classnames",classNames:g(t)}:i(t).includes("[")?{applyThrough:"classnames",classNames:g(t)}:{applyThrough:"attr",attr:JSON.stringify(t)}}function Q(r){const{hide:t,inline:o}=r;if(t===void 0)return e;const n=o?"inline-flex":"flex";if(typeof t=="boolean")return t?"hide":n;let s=i(t);return s=s.replace(/true/g,'"hide"'),s=s.replace(/false/g,`"${n}"`),s}function V(r){const{relative:t}=r;return t===void 0?e:t===!0?!0:t===!1?e:i(t)}const Z={},tt=P.forwardRef(function(t,o){const{gap:n,hide:s,column:l,nowrap:y,inline:m,dataset:A,reverse:h,padding:v,children:T,relative:L,direction:R,alignItems:D,justifyContent:x,tag:w=Y,..._}=t,c=[Z.LayoutFlex,$.LayoutGap,b.LayoutHide,G.LayoutRelative],N=z({gap:n}),O=W({nowrap:y}),F=V({relative:L}),C=Q({hide:s,inline:m}),I=q({alignItems:D}),U=k({justifyContent:x});let p=e,d=e;const a=X({direction:R,column:l,reverse:h});a.applyThrough==="columnReverse"?d=a.columnReverseAttr:p=a.directionAttr;let f=e;const u=K({padding:v});u.applyThrough==="classnames"?c.push(...u.classNames):f=u.attr;const j={...S(_),ref:o,className:c.join(" "),"data-ds-gap":N,"data-ds-nowrap":O,"data-ds-padding":f,"data-ds-display":C,"data-ds-relative":F,"data-ds-direction":p,"data-ds-alignitems":I,"data-ds-columnreverse":d,"data-ds-justifycontent":U,...B(A,{preplyDsComponent:M.LayoutFlex})};return E.jsx(w,{...j,children:T})});tt.__docgenInfo={description:"",methods:[],displayName:"LayoutFlex"};export{tt as L};
1
+ import{j as E}from"./jsx-runtime-BTJTZTIL.js";import{r as P}from"./index-Cb9e4tly.js";import{f as S}from"./filterHTMLAttributes-UOns5Q7s.js";import{g,s as $,a as b,b as G}from"./layout-relative.module-yZwngsDw-BiwrSIEl.js";import{e as H,f as J,L as Y}from"./defaults-B1rzzf6M.js";import{g as B}from"./index-DdzHuZ-Y.js";import{w as M}from"./componentNames-Bwls0I02.js";const e=void 0;function W(r){const{nowrap:t}=r;return t?!0:e}function i(r){return JSON.stringify(r)}function X(r){const{direction:t,column:o,reverse:n}=r;return t===void 0?!n&&!o?{applyThrough:"direction",directionAttr:H}:{applyThrough:"columnReverse",columnReverseAttr:`${o?"column":"row"}-${n?"rev":"fwd"}`}:typeof t=="string"?{applyThrough:"direction",directionAttr:t}:{applyThrough:"direction",directionAttr:i(t)}}function k(r){const{justifyContent:t}=r;return t===void 0?e:typeof t=="string"?t:i(t)}function q(r){const{alignItems:t}=r;return t===void 0?e:typeof t=="string"?t:i(t)}function z(r){const{gap:t}=r;return t===void 0?e:typeof t=="string"?t:i(t)}function K(r){const{padding:t}=r;return t===void 0?{applyThrough:"attr",attr:J}:typeof t=="string"||typeof t=="number"?{applyThrough:"attr",attr:t}:Array.isArray(t)?{applyThrough:"classnames",classNames:g(t)}:i(t).includes("[")?{applyThrough:"classnames",classNames:g(t)}:{applyThrough:"attr",attr:JSON.stringify(t)}}function Q(r){const{hide:t,inline:o}=r;if(t===void 0)return e;const n=o?"inline-flex":"flex";if(typeof t=="boolean")return t?"hide":n;let s=i(t);return s=s.replace(/true/g,'"hide"'),s=s.replace(/false/g,`"${n}"`),s}function V(r){const{relative:t}=r;return t===void 0?e:t===!0?!0:t===!1?e:i(t)}const Z={},tt=P.forwardRef(function(t,o){const{gap:n,hide:s,column:l,nowrap:y,inline:m,dataset:A,reverse:h,padding:v,children:T,relative:L,direction:R,alignItems:D,justifyContent:x,tag:w=Y,..._}=t,c=[Z.LayoutFlex,$.LayoutGap,b.LayoutHide,G.LayoutRelative],N=z({gap:n}),O=W({nowrap:y}),F=V({relative:L}),C=Q({hide:s,inline:m}),I=q({alignItems:D}),U=k({justifyContent:x});let p=e,d=e;const a=X({direction:R,column:l,reverse:h});a.applyThrough==="columnReverse"?d=a.columnReverseAttr:p=a.directionAttr;let f=e;const u=K({padding:v});u.applyThrough==="classnames"?c.push(...u.classNames):f=u.attr;const j={...S(_),ref:o,className:c.join(" "),"data-ds-gap":N,"data-ds-nowrap":O,"data-ds-padding":f,"data-ds-display":C,"data-ds-relative":F,"data-ds-direction":p,"data-ds-alignitems":I,"data-ds-columnreverse":d,"data-ds-justifycontent":U,...B(A,{preplyDsComponent:M.LayoutFlex})};return E.jsx(w,{...j,children:T})});tt.__docgenInfo={description:"",methods:[],displayName:"LayoutFlex"};export{tt as L};
@@ -0,0 +1 @@
1
+ import{j as L}from"./jsx-runtime-BTJTZTIL.js";import{r as x}from"./index-Cb9e4tly.js";import{g as F,a as I,b as g}from"./layout-relative-DA7rS9QX.js";import{f as q}from"./filterHTMLAttributes-DYdLqcvH.js";import{m as w,b}from"./classNames-BUL1Zq7e.js";import{w as e}from"./componentNames-Bwls0I02.js";import{g as C}from"./index-DdzHuZ-Y.js";import{L as N}from"./defaults-B1rzzf6M.js";const R="_LayoutFlexItem_2flqe_2",V={LayoutFlexItem:R,"LayoutFlexItem--stretch":"_LayoutFlexItem--stretch_2flqe_11","LayoutFlexItem--no-stretch":"_LayoutFlexItem--no-stretch_2flqe_14","LayoutFlexItem--narrow-l--stretch":"_LayoutFlexItem--narrow-l--stretch_2flqe_18","LayoutFlexItem--narrow-l--no-stretch":"_LayoutFlexItem--narrow-l--no-stretch_2flqe_21","LayoutFlexItem--medium-s--stretch":"_LayoutFlexItem--medium-s--stretch_2flqe_26","LayoutFlexItem--medium-s--no-stretch":"_LayoutFlexItem--medium-s--no-stretch_2flqe_29","LayoutFlexItem--medium-l--stretch":"_LayoutFlexItem--medium-l--stretch_2flqe_34","LayoutFlexItem--medium-l--no-stretch":"_LayoutFlexItem--medium-l--no-stretch_2flqe_37","LayoutFlexItem--wide-s--stretch":"_LayoutFlexItem--wide-s--stretch_2flqe_42","LayoutFlexItem--wide-s--no-stretch":"_LayoutFlexItem--wide-s--no-stretch_2flqe_45","LayoutFlexItem--wide-l--stretch":"_LayoutFlexItem--wide-l--stretch_2flqe_50","LayoutFlexItem--wide-l--no-stretch":"_LayoutFlexItem--wide-l--no-stretch_2flqe_53"},t=x.forwardRef(function({children:l,alignSelf:s,stretch:u=!1,tag:o,hide:n,relative:r,dataset:m,...i},c){const f=w(V,e.LayoutFlexItem,b("stretch","no-stretch",u)),d=F(s),v=I(n),p=g(r),y=[...f,...d,...v,...p],_=o??N,h={...q(i),ref:c,className:y.join(" "),...C(m,{preplyDsComponent:e.LayoutFlexItem})};return L.jsx(_,{...h,children:l})});try{t.displayName="LayoutFlexItem",t.__docgenInfo={description:"",displayName:"LayoutFlexItem",props:{alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:"ResponsiveProp<LayoutAlignSelf>"}]}},stretch:{defaultValue:{value:"false"},description:"",name:"stretch",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"p"'},{value:'"span"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{t as L};
@@ -0,0 +1 @@
1
+ ._LayoutFlexItem_2flqe_2{padding:0;margin:0;list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0}._LayoutFlexItem--stretch_2flqe_11{flex:1}._LayoutFlexItem--no-stretch_2flqe_14{flex:none}@media (min-width: 400px){._LayoutFlexItem--narrow-l--stretch_2flqe_18{flex:1}._LayoutFlexItem--narrow-l--no-stretch_2flqe_21{flex:none}}@media (min-width: 700px){._LayoutFlexItem--medium-s--stretch_2flqe_26{flex:1}._LayoutFlexItem--medium-s--no-stretch_2flqe_29{flex:none}}@media (min-width: 880px){._LayoutFlexItem--medium-l--stretch_2flqe_34{flex:1}._LayoutFlexItem--medium-l--no-stretch_2flqe_37{flex:none}}@media (min-width: 1200px){._LayoutFlexItem--wide-s--stretch_2flqe_42{flex:1}._LayoutFlexItem--wide-s--no-stretch_2flqe_45{flex:none}}@media (min-width: 1900px){._LayoutFlexItem--wide-l--stretch_2flqe_50{flex:1}._LayoutFlexItem--wide-l--no-stretch_2flqe_53{flex:none}}
@@ -0,0 +1 @@
1
+ ._LayoutGridItem_2tq6r_1{margin:0;list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;padding:0}._LayoutGrid_9zrms_4{list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;margin:0;padding:0;display:grid}._LayoutGrid--justify-content-center_9zrms_14{justify-content:center}._LayoutGrid--justify-content-start_9zrms_17{justify-content:start}._LayoutGrid--justify-content-end_9zrms_20{justify-content:end}._LayoutGrid--justify-content-space-between_9zrms_23{justify-content:space-between}._LayoutGrid--justify-content-space-around_9zrms_26{justify-content:space-around}._LayoutGrid--justify-content-space-evenly_9zrms_29{justify-content:space-evenly}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-content-center_9zrms_33{justify-content:center}._LayoutGrid--narrow-l--justify-content-start_9zrms_36{justify-content:start}._LayoutGrid--narrow-l--justify-content-end_9zrms_39{justify-content:end}._LayoutGrid--narrow-l--justify-content-space-between_9zrms_42{justify-content:space-between}._LayoutGrid--narrow-l--justify-content-space-around_9zrms_45{justify-content:space-around}._LayoutGrid--narrow-l--justify-content-space-evenly_9zrms_48{justify-content:space-evenly}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-content-center_9zrms_53{justify-content:center}._LayoutGrid--medium-s--justify-content-start_9zrms_56{justify-content:start}._LayoutGrid--medium-s--justify-content-end_9zrms_59{justify-content:end}._LayoutGrid--medium-s--justify-content-space-between_9zrms_62{justify-content:space-between}._LayoutGrid--medium-s--justify-content-space-around_9zrms_65{justify-content:space-around}._LayoutGrid--medium-s--justify-content-space-evenly_9zrms_68{justify-content:space-evenly}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-content-center_9zrms_73{justify-content:center}._LayoutGrid--medium-l--justify-content-start_9zrms_76{justify-content:start}._LayoutGrid--medium-l--justify-content-end_9zrms_79{justify-content:end}._LayoutGrid--medium-l--justify-content-space-between_9zrms_82{justify-content:space-between}._LayoutGrid--medium-l--justify-content-space-around_9zrms_85{justify-content:space-around}._LayoutGrid--medium-l--justify-content-space-evenly_9zrms_88{justify-content:space-evenly}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-content-center_9zrms_93{justify-content:center}._LayoutGrid--wide-s--justify-content-start_9zrms_96{justify-content:start}._LayoutGrid--wide-s--justify-content-end_9zrms_99{justify-content:end}._LayoutGrid--wide-s--justify-content-space-between_9zrms_102{justify-content:space-between}._LayoutGrid--wide-s--justify-content-space-around_9zrms_105{justify-content:space-around}._LayoutGrid--wide-s--justify-content-space-evenly_9zrms_108{justify-content:space-evenly}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-content-center_9zrms_113{justify-content:center}._LayoutGrid--wide-l--justify-content-start_9zrms_116{justify-content:start}._LayoutGrid--wide-l--justify-content-end_9zrms_119{justify-content:end}._LayoutGrid--wide-l--justify-content-space-between_9zrms_122{justify-content:space-between}._LayoutGrid--wide-l--justify-content-space-around_9zrms_125{justify-content:space-around}._LayoutGrid--wide-l--justify-content-space-evenly_9zrms_128{justify-content:space-evenly}}._LayoutGrid--align-items-center_9zrms_132{align-items:center}._LayoutGrid--align-items-start_9zrms_135{align-items:start}._LayoutGrid--align-items-end_9zrms_138{align-items:end}._LayoutGrid--align-items-stretch_9zrms_141{align-items:stretch}._LayoutGrid--align-items-baseline_9zrms_144{align-items:baseline}@media (min-width: 400px){._LayoutGrid--narrow-l--align-items-center_9zrms_148{align-items:center}._LayoutGrid--narrow-l--align-items-start_9zrms_151{align-items:start}._LayoutGrid--narrow-l--align-items-end_9zrms_154{align-items:end}._LayoutGrid--narrow-l--align-items-stretch_9zrms_157{align-items:stretch}._LayoutGrid--narrow-l--align-items-baseline_9zrms_160{align-items:baseline}}@media (min-width: 700px){._LayoutGrid--medium-s--align-items-center_9zrms_165{align-items:center}._LayoutGrid--medium-s--align-items-start_9zrms_168{align-items:start}._LayoutGrid--medium-s--align-items-end_9zrms_171{align-items:end}._LayoutGrid--medium-s--align-items-stretch_9zrms_174{align-items:stretch}._LayoutGrid--medium-s--align-items-baseline_9zrms_177{align-items:baseline}}@media (min-width: 880px){._LayoutGrid--medium-l--align-items-center_9zrms_182{align-items:center}._LayoutGrid--medium-l--align-items-start_9zrms_185{align-items:start}._LayoutGrid--medium-l--align-items-end_9zrms_188{align-items:end}._LayoutGrid--medium-l--align-items-stretch_9zrms_191{align-items:stretch}._LayoutGrid--medium-l--align-items-baseline_9zrms_194{align-items:baseline}}@media (min-width: 1200px){._LayoutGrid--wide-s--align-items-center_9zrms_199{align-items:center}._LayoutGrid--wide-s--align-items-start_9zrms_202{align-items:start}._LayoutGrid--wide-s--align-items-end_9zrms_205{align-items:end}._LayoutGrid--wide-s--align-items-stretch_9zrms_208{align-items:stretch}._LayoutGrid--wide-s--align-items-baseline_9zrms_211{align-items:baseline}}@media (min-width: 1900px){._LayoutGrid--wide-l--align-items-center_9zrms_216{align-items:center}._LayoutGrid--wide-l--align-items-start_9zrms_219{align-items:start}._LayoutGrid--wide-l--align-items-end_9zrms_222{align-items:end}._LayoutGrid--wide-l--align-items-stretch_9zrms_225{align-items:stretch}._LayoutGrid--wide-l--align-items-baseline_9zrms_228{align-items:baseline}}._LayoutGrid--justify-items-stretch_9zrms_232{justify-items:stretch}._LayoutGrid--justify-items-center_9zrms_235{justify-items:center}._LayoutGrid--justify-items-start_9zrms_238{justify-items:start}._LayoutGrid--justify-items-end_9zrms_241{justify-items:end}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-items-stretch_9zrms_245{justify-items:stretch}._LayoutGrid--narrow-l--justify-items-center_9zrms_248{justify-items:center}._LayoutGrid--narrow-l--justify-items-start_9zrms_251{justify-items:start}._LayoutGrid--narrow-l--justify-items-end_9zrms_254{justify-items:end}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-items-stretch_9zrms_259{justify-items:stretch}._LayoutGrid--medium-s--justify-items-center_9zrms_262{justify-items:center}._LayoutGrid--medium-s--justify-items-start_9zrms_265{justify-items:start}._LayoutGrid--medium-s--justify-items-end_9zrms_268{justify-items:end}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-items-stretch_9zrms_273{justify-items:stretch}._LayoutGrid--medium-l--justify-items-center_9zrms_276{justify-items:center}._LayoutGrid--medium-l--justify-items-start_9zrms_279{justify-items:start}._LayoutGrid--medium-l--justify-items-end_9zrms_282{justify-items:end}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-items-stretch_9zrms_287{justify-items:stretch}._LayoutGrid--wide-s--justify-items-center_9zrms_290{justify-items:center}._LayoutGrid--wide-s--justify-items-start_9zrms_293{justify-items:start}._LayoutGrid--wide-s--justify-items-end_9zrms_296{justify-items:end}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-items-stretch_9zrms_301{justify-items:stretch}._LayoutGrid--wide-l--justify-items-center_9zrms_304{justify-items:center}._LayoutGrid--wide-l--justify-items-start_9zrms_307{justify-items:start}._LayoutGrid--wide-l--justify-items-end_9zrms_310{justify-items:end}}._LayoutGrid--columns_9zrms_314{grid-template-columns:var(--columns)}@media (min-width: 400px){._LayoutGrid--columns-narrow-l_9zrms_318{grid-template-columns:var(--columns-narrow-l)}}@media (min-width: 700px){._LayoutGrid--columns-medium-s_9zrms_323{grid-template-columns:var(--columns-medium-s)}}@media (min-width: 880px){._LayoutGrid--columns-medium-l_9zrms_328{grid-template-columns:var(--columns-medium-l)}}@media (min-width: 1200px){._LayoutGrid--columns-wide-s_9zrms_333{grid-template-columns:var(--columns-wide-s)}}@media (min-width: 1900px){._LayoutGrid--columns-wide-l_9zrms_338{grid-template-columns:var(--columns-wide-l)}}
@@ -0,0 +1 @@
1
+ ._LayoutGrid_9zrms_4{list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;margin:0;padding:0;display:grid}._LayoutGrid--justify-content-center_9zrms_14{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--justify-content-start_9zrms_17{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--justify-content-end_9zrms_20{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--justify-content-space-between_9zrms_23{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--justify-content-space-around_9zrms_26{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--justify-content-space-evenly_9zrms_29{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-content-center_9zrms_33{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--narrow-l--justify-content-start_9zrms_36{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--narrow-l--justify-content-end_9zrms_39{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--narrow-l--justify-content-space-between_9zrms_42{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--narrow-l--justify-content-space-around_9zrms_45{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--narrow-l--justify-content-space-evenly_9zrms_48{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-content-center_9zrms_53{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--medium-s--justify-content-start_9zrms_56{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--medium-s--justify-content-end_9zrms_59{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--medium-s--justify-content-space-between_9zrms_62{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--medium-s--justify-content-space-around_9zrms_65{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--medium-s--justify-content-space-evenly_9zrms_68{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-content-center_9zrms_73{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--medium-l--justify-content-start_9zrms_76{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--medium-l--justify-content-end_9zrms_79{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--medium-l--justify-content-space-between_9zrms_82{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--medium-l--justify-content-space-around_9zrms_85{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--medium-l--justify-content-space-evenly_9zrms_88{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-content-center_9zrms_93{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--wide-s--justify-content-start_9zrms_96{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--wide-s--justify-content-end_9zrms_99{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--wide-s--justify-content-space-between_9zrms_102{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--wide-s--justify-content-space-around_9zrms_105{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--wide-s--justify-content-space-evenly_9zrms_108{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-content-center_9zrms_113{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}._LayoutGrid--wide-l--justify-content-start_9zrms_116{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}._LayoutGrid--wide-l--justify-content-end_9zrms_119{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}._LayoutGrid--wide-l--justify-content-space-between_9zrms_122{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}._LayoutGrid--wide-l--justify-content-space-around_9zrms_125{-ms-flex-pack:distribute;justify-content:space-around}._LayoutGrid--wide-l--justify-content-space-evenly_9zrms_128{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}._LayoutGrid--align-items-center_9zrms_132{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--align-items-start_9zrms_135{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--align-items-end_9zrms_138{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--align-items-stretch_9zrms_141{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--align-items-baseline_9zrms_144{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}@media (min-width: 400px){._LayoutGrid--narrow-l--align-items-center_9zrms_148{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--narrow-l--align-items-start_9zrms_151{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--narrow-l--align-items-end_9zrms_154{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--narrow-l--align-items-stretch_9zrms_157{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--narrow-l--align-items-baseline_9zrms_160{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 700px){._LayoutGrid--medium-s--align-items-center_9zrms_165{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--medium-s--align-items-start_9zrms_168{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--medium-s--align-items-end_9zrms_171{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--medium-s--align-items-stretch_9zrms_174{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--medium-s--align-items-baseline_9zrms_177{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 880px){._LayoutGrid--medium-l--align-items-center_9zrms_182{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--medium-l--align-items-start_9zrms_185{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--medium-l--align-items-end_9zrms_188{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--medium-l--align-items-stretch_9zrms_191{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--medium-l--align-items-baseline_9zrms_194{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 1200px){._LayoutGrid--wide-s--align-items-center_9zrms_199{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--wide-s--align-items-start_9zrms_202{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--wide-s--align-items-end_9zrms_205{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--wide-s--align-items-stretch_9zrms_208{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--wide-s--align-items-baseline_9zrms_211{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 1900px){._LayoutGrid--wide-l--align-items-center_9zrms_216{-webkit-box-align:center;-ms-flex-align:center;align-items:center}._LayoutGrid--wide-l--align-items-start_9zrms_219{-webkit-box-align:start;-ms-flex-align:start;align-items:start}._LayoutGrid--wide-l--align-items-end_9zrms_222{-webkit-box-align:end;-ms-flex-align:end;align-items:end}._LayoutGrid--wide-l--align-items-stretch_9zrms_225{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}._LayoutGrid--wide-l--align-items-baseline_9zrms_228{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}._LayoutGrid--justify-items-stretch_9zrms_232{justify-items:stretch}._LayoutGrid--justify-items-center_9zrms_235{justify-items:center}._LayoutGrid--justify-items-start_9zrms_238{justify-items:start}._LayoutGrid--justify-items-end_9zrms_241{justify-items:end}@media (min-width: 400px){._LayoutGrid--narrow-l--justify-items-stretch_9zrms_245{justify-items:stretch}._LayoutGrid--narrow-l--justify-items-center_9zrms_248{justify-items:center}._LayoutGrid--narrow-l--justify-items-start_9zrms_251{justify-items:start}._LayoutGrid--narrow-l--justify-items-end_9zrms_254{justify-items:end}}@media (min-width: 700px){._LayoutGrid--medium-s--justify-items-stretch_9zrms_259{justify-items:stretch}._LayoutGrid--medium-s--justify-items-center_9zrms_262{justify-items:center}._LayoutGrid--medium-s--justify-items-start_9zrms_265{justify-items:start}._LayoutGrid--medium-s--justify-items-end_9zrms_268{justify-items:end}}@media (min-width: 880px){._LayoutGrid--medium-l--justify-items-stretch_9zrms_273{justify-items:stretch}._LayoutGrid--medium-l--justify-items-center_9zrms_276{justify-items:center}._LayoutGrid--medium-l--justify-items-start_9zrms_279{justify-items:start}._LayoutGrid--medium-l--justify-items-end_9zrms_282{justify-items:end}}@media (min-width: 1200px){._LayoutGrid--wide-s--justify-items-stretch_9zrms_287{justify-items:stretch}._LayoutGrid--wide-s--justify-items-center_9zrms_290{justify-items:center}._LayoutGrid--wide-s--justify-items-start_9zrms_293{justify-items:start}._LayoutGrid--wide-s--justify-items-end_9zrms_296{justify-items:end}}@media (min-width: 1900px){._LayoutGrid--wide-l--justify-items-stretch_9zrms_301{justify-items:stretch}._LayoutGrid--wide-l--justify-items-center_9zrms_304{justify-items:center}._LayoutGrid--wide-l--justify-items-start_9zrms_307{justify-items:start}._LayoutGrid--wide-l--justify-items-end_9zrms_310{justify-items:end}}._LayoutGrid--columns_9zrms_314{grid-template-columns:var(--columns)}@media (min-width: 400px){._LayoutGrid--columns-narrow-l_9zrms_318{grid-template-columns:var(--columns-narrow-l)}}@media (min-width: 700px){._LayoutGrid--columns-medium-s_9zrms_323{grid-template-columns:var(--columns-medium-s)}}@media (min-width: 880px){._LayoutGrid--columns-medium-l_9zrms_328{grid-template-columns:var(--columns-medium-l)}}@media (min-width: 1200px){._LayoutGrid--columns-wide-s_9zrms_333{grid-template-columns:var(--columns-wide-s)}}@media (min-width: 1900px){._LayoutGrid--columns-wide-l_9zrms_338{grid-template-columns:var(--columns-wide-l)}}
@@ -0,0 +1 @@
1
+ import{j as w}from"./jsx-runtime-BTJTZTIL.js";import{r as z}from"./index-Cb9e4tly.js";import{m as o,b as c,a as g,s as u}from"./classNames-BUL1Zq7e.js";import{B as p}from"./breakpoints-BfMlrtxE.js";import{a as b,b as h,s as A,g as C}from"./layout-relative.module-yZwngsDw-BiwrSIEl.js";import{L as N}from"./constants-DYYVurUY.js";import{k as T,f as v,L as U}from"./defaults-B1rzzf6M.js";import{f as I}from"./filterHTMLAttributes-UOns5Q7s.js";import{g as O}from"./index-DdzHuZ-Y.js";import{w as D}from"./componentNames-Bwls0I02.js";const E="LayoutHide",R=(t,i=N)=>o(b,E,[c("hide",i,t)]),Y="LayoutRelative",$=t=>o(h,Y,[c("relative",void 0,t)]),P="_LayoutGrid_9zrms_4",G={LayoutGrid:P,"LayoutGrid--justify-content-center":"_LayoutGrid--justify-content-center_9zrms_14","LayoutGrid--justify-content-start":"_LayoutGrid--justify-content-start_9zrms_17","LayoutGrid--justify-content-end":"_LayoutGrid--justify-content-end_9zrms_20","LayoutGrid--justify-content-space-between":"_LayoutGrid--justify-content-space-between_9zrms_23","LayoutGrid--justify-content-space-around":"_LayoutGrid--justify-content-space-around_9zrms_26","LayoutGrid--justify-content-space-evenly":"_LayoutGrid--justify-content-space-evenly_9zrms_29","LayoutGrid--narrow-l--justify-content-center":"_LayoutGrid--narrow-l--justify-content-center_9zrms_33","LayoutGrid--narrow-l--justify-content-start":"_LayoutGrid--narrow-l--justify-content-start_9zrms_36","LayoutGrid--narrow-l--justify-content-end":"_LayoutGrid--narrow-l--justify-content-end_9zrms_39","LayoutGrid--narrow-l--justify-content-space-between":"_LayoutGrid--narrow-l--justify-content-space-between_9zrms_42","LayoutGrid--narrow-l--justify-content-space-around":"_LayoutGrid--narrow-l--justify-content-space-around_9zrms_45","LayoutGrid--narrow-l--justify-content-space-evenly":"_LayoutGrid--narrow-l--justify-content-space-evenly_9zrms_48","LayoutGrid--medium-s--justify-content-center":"_LayoutGrid--medium-s--justify-content-center_9zrms_53","LayoutGrid--medium-s--justify-content-start":"_LayoutGrid--medium-s--justify-content-start_9zrms_56","LayoutGrid--medium-s--justify-content-end":"_LayoutGrid--medium-s--justify-content-end_9zrms_59","LayoutGrid--medium-s--justify-content-space-between":"_LayoutGrid--medium-s--justify-content-space-between_9zrms_62","LayoutGrid--medium-s--justify-content-space-around":"_LayoutGrid--medium-s--justify-content-space-around_9zrms_65","LayoutGrid--medium-s--justify-content-space-evenly":"_LayoutGrid--medium-s--justify-content-space-evenly_9zrms_68","LayoutGrid--medium-l--justify-content-center":"_LayoutGrid--medium-l--justify-content-center_9zrms_73","LayoutGrid--medium-l--justify-content-start":"_LayoutGrid--medium-l--justify-content-start_9zrms_76","LayoutGrid--medium-l--justify-content-end":"_LayoutGrid--medium-l--justify-content-end_9zrms_79","LayoutGrid--medium-l--justify-content-space-between":"_LayoutGrid--medium-l--justify-content-space-between_9zrms_82","LayoutGrid--medium-l--justify-content-space-around":"_LayoutGrid--medium-l--justify-content-space-around_9zrms_85","LayoutGrid--medium-l--justify-content-space-evenly":"_LayoutGrid--medium-l--justify-content-space-evenly_9zrms_88","LayoutGrid--wide-s--justify-content-center":"_LayoutGrid--wide-s--justify-content-center_9zrms_93","LayoutGrid--wide-s--justify-content-start":"_LayoutGrid--wide-s--justify-content-start_9zrms_96","LayoutGrid--wide-s--justify-content-end":"_LayoutGrid--wide-s--justify-content-end_9zrms_99","LayoutGrid--wide-s--justify-content-space-between":"_LayoutGrid--wide-s--justify-content-space-between_9zrms_102","LayoutGrid--wide-s--justify-content-space-around":"_LayoutGrid--wide-s--justify-content-space-around_9zrms_105","LayoutGrid--wide-s--justify-content-space-evenly":"_LayoutGrid--wide-s--justify-content-space-evenly_9zrms_108","LayoutGrid--wide-l--justify-content-center":"_LayoutGrid--wide-l--justify-content-center_9zrms_113","LayoutGrid--wide-l--justify-content-start":"_LayoutGrid--wide-l--justify-content-start_9zrms_116","LayoutGrid--wide-l--justify-content-end":"_LayoutGrid--wide-l--justify-content-end_9zrms_119","LayoutGrid--wide-l--justify-content-space-between":"_LayoutGrid--wide-l--justify-content-space-between_9zrms_122","LayoutGrid--wide-l--justify-content-space-around":"_LayoutGrid--wide-l--justify-content-space-around_9zrms_125","LayoutGrid--wide-l--justify-content-space-evenly":"_LayoutGrid--wide-l--justify-content-space-evenly_9zrms_128","LayoutGrid--align-items-center":"_LayoutGrid--align-items-center_9zrms_132","LayoutGrid--align-items-start":"_LayoutGrid--align-items-start_9zrms_135","LayoutGrid--align-items-end":"_LayoutGrid--align-items-end_9zrms_138","LayoutGrid--align-items-stretch":"_LayoutGrid--align-items-stretch_9zrms_141","LayoutGrid--align-items-baseline":"_LayoutGrid--align-items-baseline_9zrms_144","LayoutGrid--narrow-l--align-items-center":"_LayoutGrid--narrow-l--align-items-center_9zrms_148","LayoutGrid--narrow-l--align-items-start":"_LayoutGrid--narrow-l--align-items-start_9zrms_151","LayoutGrid--narrow-l--align-items-end":"_LayoutGrid--narrow-l--align-items-end_9zrms_154","LayoutGrid--narrow-l--align-items-stretch":"_LayoutGrid--narrow-l--align-items-stretch_9zrms_157","LayoutGrid--narrow-l--align-items-baseline":"_LayoutGrid--narrow-l--align-items-baseline_9zrms_160","LayoutGrid--medium-s--align-items-center":"_LayoutGrid--medium-s--align-items-center_9zrms_165","LayoutGrid--medium-s--align-items-start":"_LayoutGrid--medium-s--align-items-start_9zrms_168","LayoutGrid--medium-s--align-items-end":"_LayoutGrid--medium-s--align-items-end_9zrms_171","LayoutGrid--medium-s--align-items-stretch":"_LayoutGrid--medium-s--align-items-stretch_9zrms_174","LayoutGrid--medium-s--align-items-baseline":"_LayoutGrid--medium-s--align-items-baseline_9zrms_177","LayoutGrid--medium-l--align-items-center":"_LayoutGrid--medium-l--align-items-center_9zrms_182","LayoutGrid--medium-l--align-items-start":"_LayoutGrid--medium-l--align-items-start_9zrms_185","LayoutGrid--medium-l--align-items-end":"_LayoutGrid--medium-l--align-items-end_9zrms_188","LayoutGrid--medium-l--align-items-stretch":"_LayoutGrid--medium-l--align-items-stretch_9zrms_191","LayoutGrid--medium-l--align-items-baseline":"_LayoutGrid--medium-l--align-items-baseline_9zrms_194","LayoutGrid--wide-s--align-items-center":"_LayoutGrid--wide-s--align-items-center_9zrms_199","LayoutGrid--wide-s--align-items-start":"_LayoutGrid--wide-s--align-items-start_9zrms_202","LayoutGrid--wide-s--align-items-end":"_LayoutGrid--wide-s--align-items-end_9zrms_205","LayoutGrid--wide-s--align-items-stretch":"_LayoutGrid--wide-s--align-items-stretch_9zrms_208","LayoutGrid--wide-s--align-items-baseline":"_LayoutGrid--wide-s--align-items-baseline_9zrms_211","LayoutGrid--wide-l--align-items-center":"_LayoutGrid--wide-l--align-items-center_9zrms_216","LayoutGrid--wide-l--align-items-start":"_LayoutGrid--wide-l--align-items-start_9zrms_219","LayoutGrid--wide-l--align-items-end":"_LayoutGrid--wide-l--align-items-end_9zrms_222","LayoutGrid--wide-l--align-items-stretch":"_LayoutGrid--wide-l--align-items-stretch_9zrms_225","LayoutGrid--wide-l--align-items-baseline":"_LayoutGrid--wide-l--align-items-baseline_9zrms_228","LayoutGrid--justify-items-stretch":"_LayoutGrid--justify-items-stretch_9zrms_232","LayoutGrid--justify-items-center":"_LayoutGrid--justify-items-center_9zrms_235","LayoutGrid--justify-items-start":"_LayoutGrid--justify-items-start_9zrms_238","LayoutGrid--justify-items-end":"_LayoutGrid--justify-items-end_9zrms_241","LayoutGrid--narrow-l--justify-items-stretch":"_LayoutGrid--narrow-l--justify-items-stretch_9zrms_245","LayoutGrid--narrow-l--justify-items-center":"_LayoutGrid--narrow-l--justify-items-center_9zrms_248","LayoutGrid--narrow-l--justify-items-start":"_LayoutGrid--narrow-l--justify-items-start_9zrms_251","LayoutGrid--narrow-l--justify-items-end":"_LayoutGrid--narrow-l--justify-items-end_9zrms_254","LayoutGrid--medium-s--justify-items-stretch":"_LayoutGrid--medium-s--justify-items-stretch_9zrms_259","LayoutGrid--medium-s--justify-items-center":"_LayoutGrid--medium-s--justify-items-center_9zrms_262","LayoutGrid--medium-s--justify-items-start":"_LayoutGrid--medium-s--justify-items-start_9zrms_265","LayoutGrid--medium-s--justify-items-end":"_LayoutGrid--medium-s--justify-items-end_9zrms_268","LayoutGrid--medium-l--justify-items-stretch":"_LayoutGrid--medium-l--justify-items-stretch_9zrms_273","LayoutGrid--medium-l--justify-items-center":"_LayoutGrid--medium-l--justify-items-center_9zrms_276","LayoutGrid--medium-l--justify-items-start":"_LayoutGrid--medium-l--justify-items-start_9zrms_279","LayoutGrid--medium-l--justify-items-end":"_LayoutGrid--medium-l--justify-items-end_9zrms_282","LayoutGrid--wide-s--justify-items-stretch":"_LayoutGrid--wide-s--justify-items-stretch_9zrms_287","LayoutGrid--wide-s--justify-items-center":"_LayoutGrid--wide-s--justify-items-center_9zrms_290","LayoutGrid--wide-s--justify-items-start":"_LayoutGrid--wide-s--justify-items-start_9zrms_293","LayoutGrid--wide-s--justify-items-end":"_LayoutGrid--wide-s--justify-items-end_9zrms_296","LayoutGrid--wide-l--justify-items-stretch":"_LayoutGrid--wide-l--justify-items-stretch_9zrms_301","LayoutGrid--wide-l--justify-items-center":"_LayoutGrid--wide-l--justify-items-center_9zrms_304","LayoutGrid--wide-l--justify-items-start":"_LayoutGrid--wide-l--justify-items-start_9zrms_307","LayoutGrid--wide-l--justify-items-end":"_LayoutGrid--wide-l--justify-items-end_9zrms_310","LayoutGrid--columns":"_LayoutGrid--columns_9zrms_314","LayoutGrid--columns-narrow-l":"_LayoutGrid--columns-narrow-l_9zrms_318","LayoutGrid--columns-medium-s":"_LayoutGrid--columns-medium-s_9zrms_323","LayoutGrid--columns-medium-l":"_LayoutGrid--columns-medium-l_9zrms_328","LayoutGrid--columns-wide-s":"_LayoutGrid--columns-wide-s_9zrms_333","LayoutGrid--columns-wide-l":"_LayoutGrid--columns-wide-l_9zrms_338"},x="LayoutGrid",F=Object.keys(p),L=t=>typeof t=="number"?`repeat(${t}, 1fr)`:t.join(" "),H=t=>typeof t=="object"&&!Array.isArray(t)?Object.entries(t).reduce((i,[r,e])=>({...i,...e?{[r]:L(e)}:{}}),{_:L(t._)}):{_:L(t)},S=t=>{if(!t)return{classNames:[],style:{}};const i=H(t),r=F.filter(s=>i[s]),e=g(G,x,["columns",...r.map(s=>`columns-${s}`)]),n=r.reduce((s,a)=>({...s,[`--columns-${a}`]:i[a]}),{"--columns":i._});return{classNames:e,style:n}},k="LayoutGap",K=t=>o(A,k,[u("gap",t)]),V="LayoutGrid",B=(t,i)=>{const{gap:r=T,padding:e=v,justifyContent:n,alignItems:s,justifyItems:a,hide:m,relative:d}=i||{},y=o(G,V,[u("justify-content",n),u("align-items",s),u("justify-items",a)]),_=K(r),l=C(e),f=R(m,"grid"),j=$(d);return[...y,..._,...l,...f,...j]},M=z.forwardRef(function({dataset:i,children:r,...e},n){const{tag:s=U,columns:a}=e,m=B("grid",e),{style:d,classNames:y}=S(a),_=[...m,...y],l={...I(e),ref:n,className:_.join(" "),style:d,...O(i,{preplyDsComponent:D.LayoutGrid})};return w.jsx(s,{...l,children:r})});M.__docgenInfo={description:"",methods:[],displayName:"LayoutGrid"};export{M as L,$ as a,R as g};
@@ -1,4 +1,4 @@
1
- import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r as N}from"./index-Cb9e4tly.js";import{g as E,a as P,b as R}from"./layout-relative-B9kygquF.js";import{f as A}from"./filterHTMLAttributes-DYdLqcvH.js";import{m as w,a as H,s as L}from"./classNames-BUL1Zq7e.js";import{g as T}from"./index-DdzHuZ-Y.js";import{L as V,k as U,f as $}from"./defaults-B1rzzf6M.js";import{w as h}from"./componentNames-Bwls0I02.js";import{B as W}from"./breakpoints-BfMlrtxE.js";import{s as Y,g as M}from"./layout-relative.module-B8ilmhPe.js";import{S as o,a as z}from"./consts-KAYct7Gj.js";import"./index-ChsGqxH_.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./constants-DYYVurUY.js";const F="_LayoutGridItem_2tq6r_1",B={LayoutGridItem:F},_=N.forwardRef(function({children:i,alignSelf:s,tag:a,hide:r,relative:n,dataset:u,...l},d){const m=w(B,h.LayoutGridItem,[]),y=E(s),c=P(r),v=R(n),G=[...m,...y,...c,...v],O=a??V,D={...A(l),ref:d,className:G.join(" "),...T(u,{preplyDsComponent:h.LayoutGridItem})};return t.jsx(O,{...D,children:i})});try{_.displayName="LayoutGridItem",_.__docgenInfo={description:"",displayName:"LayoutGridItem",props:{alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:"ResponsiveProp<LayoutAlignSelf>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"p"'},{value:'"span"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}const J="_LayoutGrid_fmsng_4",q={LayoutGrid:J,"LayoutGrid--justify-content-center":"_LayoutGrid--justify-content-center_fmsng_14","LayoutGrid--justify-content-start":"_LayoutGrid--justify-content-start_fmsng_17","LayoutGrid--justify-content-end":"_LayoutGrid--justify-content-end_fmsng_20","LayoutGrid--justify-content-space-between":"_LayoutGrid--justify-content-space-between_fmsng_23","LayoutGrid--justify-content-space-around":"_LayoutGrid--justify-content-space-around_fmsng_26","LayoutGrid--justify-content-space-evenly":"_LayoutGrid--justify-content-space-evenly_fmsng_29","LayoutGrid--narrow-l--justify-content-center":"_LayoutGrid--narrow-l--justify-content-center_fmsng_33","LayoutGrid--narrow-l--justify-content-start":"_LayoutGrid--narrow-l--justify-content-start_fmsng_36","LayoutGrid--narrow-l--justify-content-end":"_LayoutGrid--narrow-l--justify-content-end_fmsng_39","LayoutGrid--narrow-l--justify-content-space-between":"_LayoutGrid--narrow-l--justify-content-space-between_fmsng_42","LayoutGrid--narrow-l--justify-content-space-around":"_LayoutGrid--narrow-l--justify-content-space-around_fmsng_45","LayoutGrid--narrow-l--justify-content-space-evenly":"_LayoutGrid--narrow-l--justify-content-space-evenly_fmsng_48","LayoutGrid--medium-s--justify-content-center":"_LayoutGrid--medium-s--justify-content-center_fmsng_53","LayoutGrid--medium-s--justify-content-start":"_LayoutGrid--medium-s--justify-content-start_fmsng_56","LayoutGrid--medium-s--justify-content-end":"_LayoutGrid--medium-s--justify-content-end_fmsng_59","LayoutGrid--medium-s--justify-content-space-between":"_LayoutGrid--medium-s--justify-content-space-between_fmsng_62","LayoutGrid--medium-s--justify-content-space-around":"_LayoutGrid--medium-s--justify-content-space-around_fmsng_65","LayoutGrid--medium-s--justify-content-space-evenly":"_LayoutGrid--medium-s--justify-content-space-evenly_fmsng_68","LayoutGrid--medium-l--justify-content-center":"_LayoutGrid--medium-l--justify-content-center_fmsng_73","LayoutGrid--medium-l--justify-content-start":"_LayoutGrid--medium-l--justify-content-start_fmsng_76","LayoutGrid--medium-l--justify-content-end":"_LayoutGrid--medium-l--justify-content-end_fmsng_79","LayoutGrid--medium-l--justify-content-space-between":"_LayoutGrid--medium-l--justify-content-space-between_fmsng_82","LayoutGrid--medium-l--justify-content-space-around":"_LayoutGrid--medium-l--justify-content-space-around_fmsng_85","LayoutGrid--medium-l--justify-content-space-evenly":"_LayoutGrid--medium-l--justify-content-space-evenly_fmsng_88","LayoutGrid--wide-s--justify-content-center":"_LayoutGrid--wide-s--justify-content-center_fmsng_93","LayoutGrid--wide-s--justify-content-start":"_LayoutGrid--wide-s--justify-content-start_fmsng_96","LayoutGrid--wide-s--justify-content-end":"_LayoutGrid--wide-s--justify-content-end_fmsng_99","LayoutGrid--wide-s--justify-content-space-between":"_LayoutGrid--wide-s--justify-content-space-between_fmsng_102","LayoutGrid--wide-s--justify-content-space-around":"_LayoutGrid--wide-s--justify-content-space-around_fmsng_105","LayoutGrid--wide-s--justify-content-space-evenly":"_LayoutGrid--wide-s--justify-content-space-evenly_fmsng_108","LayoutGrid--wide-l--justify-content-center":"_LayoutGrid--wide-l--justify-content-center_fmsng_113","LayoutGrid--wide-l--justify-content-start":"_LayoutGrid--wide-l--justify-content-start_fmsng_116","LayoutGrid--wide-l--justify-content-end":"_LayoutGrid--wide-l--justify-content-end_fmsng_119","LayoutGrid--wide-l--justify-content-space-between":"_LayoutGrid--wide-l--justify-content-space-between_fmsng_122","LayoutGrid--wide-l--justify-content-space-around":"_LayoutGrid--wide-l--justify-content-space-around_fmsng_125","LayoutGrid--wide-l--justify-content-space-evenly":"_LayoutGrid--wide-l--justify-content-space-evenly_fmsng_128","LayoutGrid--align-items-center":"_LayoutGrid--align-items-center_fmsng_132","LayoutGrid--align-items-start":"_LayoutGrid--align-items-start_fmsng_135","LayoutGrid--align-items-end":"_LayoutGrid--align-items-end_fmsng_138","LayoutGrid--align-items-stretch":"_LayoutGrid--align-items-stretch_fmsng_141","LayoutGrid--align-items-baseline":"_LayoutGrid--align-items-baseline_fmsng_144","LayoutGrid--narrow-l--align-items-center":"_LayoutGrid--narrow-l--align-items-center_fmsng_148","LayoutGrid--narrow-l--align-items-start":"_LayoutGrid--narrow-l--align-items-start_fmsng_151","LayoutGrid--narrow-l--align-items-end":"_LayoutGrid--narrow-l--align-items-end_fmsng_154","LayoutGrid--narrow-l--align-items-stretch":"_LayoutGrid--narrow-l--align-items-stretch_fmsng_157","LayoutGrid--narrow-l--align-items-baseline":"_LayoutGrid--narrow-l--align-items-baseline_fmsng_160","LayoutGrid--medium-s--align-items-center":"_LayoutGrid--medium-s--align-items-center_fmsng_165","LayoutGrid--medium-s--align-items-start":"_LayoutGrid--medium-s--align-items-start_fmsng_168","LayoutGrid--medium-s--align-items-end":"_LayoutGrid--medium-s--align-items-end_fmsng_171","LayoutGrid--medium-s--align-items-stretch":"_LayoutGrid--medium-s--align-items-stretch_fmsng_174","LayoutGrid--medium-s--align-items-baseline":"_LayoutGrid--medium-s--align-items-baseline_fmsng_177","LayoutGrid--medium-l--align-items-center":"_LayoutGrid--medium-l--align-items-center_fmsng_182","LayoutGrid--medium-l--align-items-start":"_LayoutGrid--medium-l--align-items-start_fmsng_185","LayoutGrid--medium-l--align-items-end":"_LayoutGrid--medium-l--align-items-end_fmsng_188","LayoutGrid--medium-l--align-items-stretch":"_LayoutGrid--medium-l--align-items-stretch_fmsng_191","LayoutGrid--medium-l--align-items-baseline":"_LayoutGrid--medium-l--align-items-baseline_fmsng_194","LayoutGrid--wide-s--align-items-center":"_LayoutGrid--wide-s--align-items-center_fmsng_199","LayoutGrid--wide-s--align-items-start":"_LayoutGrid--wide-s--align-items-start_fmsng_202","LayoutGrid--wide-s--align-items-end":"_LayoutGrid--wide-s--align-items-end_fmsng_205","LayoutGrid--wide-s--align-items-stretch":"_LayoutGrid--wide-s--align-items-stretch_fmsng_208","LayoutGrid--wide-s--align-items-baseline":"_LayoutGrid--wide-s--align-items-baseline_fmsng_211","LayoutGrid--wide-l--align-items-center":"_LayoutGrid--wide-l--align-items-center_fmsng_216","LayoutGrid--wide-l--align-items-start":"_LayoutGrid--wide-l--align-items-start_fmsng_219","LayoutGrid--wide-l--align-items-end":"_LayoutGrid--wide-l--align-items-end_fmsng_222","LayoutGrid--wide-l--align-items-stretch":"_LayoutGrid--wide-l--align-items-stretch_fmsng_225","LayoutGrid--wide-l--align-items-baseline":"_LayoutGrid--wide-l--align-items-baseline_fmsng_228","LayoutGrid--justify-items-stretch":"_LayoutGrid--justify-items-stretch_fmsng_232","LayoutGrid--justify-items-center":"_LayoutGrid--justify-items-center_fmsng_235","LayoutGrid--justify-items-start":"_LayoutGrid--justify-items-start_fmsng_238","LayoutGrid--justify-items-end":"_LayoutGrid--justify-items-end_fmsng_241","LayoutGrid--narrow-l--justify-items-stretch":"_LayoutGrid--narrow-l--justify-items-stretch_fmsng_245","LayoutGrid--narrow-l--justify-items-center":"_LayoutGrid--narrow-l--justify-items-center_fmsng_248","LayoutGrid--narrow-l--justify-items-start":"_LayoutGrid--narrow-l--justify-items-start_fmsng_251","LayoutGrid--narrow-l--justify-items-end":"_LayoutGrid--narrow-l--justify-items-end_fmsng_254","LayoutGrid--medium-s--justify-items-stretch":"_LayoutGrid--medium-s--justify-items-stretch_fmsng_259","LayoutGrid--medium-s--justify-items-center":"_LayoutGrid--medium-s--justify-items-center_fmsng_262","LayoutGrid--medium-s--justify-items-start":"_LayoutGrid--medium-s--justify-items-start_fmsng_265","LayoutGrid--medium-s--justify-items-end":"_LayoutGrid--medium-s--justify-items-end_fmsng_268","LayoutGrid--medium-l--justify-items-stretch":"_LayoutGrid--medium-l--justify-items-stretch_fmsng_273","LayoutGrid--medium-l--justify-items-center":"_LayoutGrid--medium-l--justify-items-center_fmsng_276","LayoutGrid--medium-l--justify-items-start":"_LayoutGrid--medium-l--justify-items-start_fmsng_279","LayoutGrid--medium-l--justify-items-end":"_LayoutGrid--medium-l--justify-items-end_fmsng_282","LayoutGrid--wide-s--justify-items-stretch":"_LayoutGrid--wide-s--justify-items-stretch_fmsng_287","LayoutGrid--wide-s--justify-items-center":"_LayoutGrid--wide-s--justify-items-center_fmsng_290","LayoutGrid--wide-s--justify-items-start":"_LayoutGrid--wide-s--justify-items-start_fmsng_293","LayoutGrid--wide-s--justify-items-end":"_LayoutGrid--wide-s--justify-items-end_fmsng_296","LayoutGrid--wide-l--justify-items-stretch":"_LayoutGrid--wide-l--justify-items-stretch_fmsng_301","LayoutGrid--wide-l--justify-items-center":"_LayoutGrid--wide-l--justify-items-center_fmsng_304","LayoutGrid--wide-l--justify-items-start":"_LayoutGrid--wide-l--justify-items-start_fmsng_307","LayoutGrid--wide-l--justify-items-end":"_LayoutGrid--wide-l--justify-items-end_fmsng_310","LayoutGrid--columns":"_LayoutGrid--columns_fmsng_314","LayoutGrid--columns-narrow-l":"_LayoutGrid--columns-narrow-l_fmsng_318","LayoutGrid--columns-medium-s":"_LayoutGrid--columns-medium-s_fmsng_323","LayoutGrid--columns-medium-l":"_LayoutGrid--columns-medium-l_fmsng_328","LayoutGrid--columns-wide-s":"_LayoutGrid--columns-wide-s_fmsng_333","LayoutGrid--columns-wide-l":"_LayoutGrid--columns-wide-l_fmsng_338"},K="LayoutGrid",Q=Object.keys(W),j=e=>typeof e=="number"?`repeat(${e}, 1fr)`:e.join(" "),X=e=>typeof e=="object"&&!Array.isArray(e)?Object.entries(e).reduce((i,[s,a])=>({...i,...a?{[s]:j(a)}:{}}),{_:j(e._)}):{_:j(e)},Z=e=>{if(!e)return{classNames:[],style:{}};const i=X(e),s=Q.filter(n=>i[n]),a=H(q,K,["columns",...s.map(n=>`columns-${n}`)]),r=s.reduce((n,u)=>({...n,[`--columns-${u}`]:i[u]}),{"--columns":i._});return{classNames:a,style:r}},ee="LayoutGap",te=e=>w(Y,ee,[L("gap",e)]),ae="LayoutGrid",ie=(e,i)=>{const{gap:s=U,padding:a=$,justifyContent:r,alignItems:n,justifyItems:u,hide:l,relative:d}=i||{},m=w(q,ae,[L("justify-content",r),L("align-items",n),L("justify-items",u)]),y=te(s),c=M(a),v=P(l,"grid"),G=R(d);return[...m,...y,...c,...v,...G]},p=N.forwardRef(function({dataset:i,children:s,...a},r){const{tag:n=V,columns:u}=a,l=ie("grid",a),{style:d,classNames:m}=Z(u),y=[...l,...m],c={...A(a),ref:r,className:y.join(" "),style:d,...T(i,{preplyDsComponent:h.LayoutGrid})};return t.jsx(n,{...c,children:s})});try{p.displayName="LayoutGrid",p.__docgenInfo={description:"A CSS `grid` wrapper.",displayName:"LayoutGrid",props:{gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:"ResponsiveProp<LayoutGap>"},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"ResponsiveProp<Spacing>"}]}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"[LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing, Spacing]"},{value:"ResponsiveProp<ShortHand<LayoutPadding> | ShortHand<Spacing>>"}]}},columns:{defaultValue:null,description:"The `number` of columns, or a `string[]` of `grid-template-columns`.\n@see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns}",name:"columns",required:!1,type:{name:"enum",value:[{value:"number"},{value:"string[]"},{value:"ResponsiveProp<number | string[]>"}]}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"space-between"'},{value:'"space-around"'},{value:'"space-evenly"'},{value:"ResponsiveProp<LayoutJustifyContent>"}]}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:'"baseline"'},{value:"ResponsiveProp<LayoutAlignItems>"}]}},justifyItems:{defaultValue:null,description:"",name:"justifyItems",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:"ResponsiveProp<LayoutJustifyItems>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"p"'},{value:'"span"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}const pe={title:"components/LayoutGrid",component:p,subcomponents:{LayoutGridItem:_},argTypes:{gap:{description:o},padding:{description:z},columns:{description:o},justifyContent:{description:o},alignItems:{description:o},justifyItems:{description:o},hide:{description:o},relative:{description:o}}},f=()=>t.jsxs(p,{columns:4,alignItems:"start",gap:"xs",children:[t.jsx(_,{children:t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"0.25rem"},children:[t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}}),t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}})]})}),t.jsx(_,{alignSelf:"end",children:t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}})}),t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}}),t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}})]});f.storyName="LayoutGrid";const g={parameters:{chromatic:{disableSnapshot:!0}},args:{gap:"16",columns:3,alignItems:"start",children:t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{minWidth:"100px",minHeight:50,backgroundColor:"hotpink"},children:" "}),t.jsx("div",{style:{minWidth:"100px",minHeight:75,backgroundColor:"hotpink"},children:" "}),t.jsx("div",{style:{minWidth:"100px",minHeight:100,backgroundColor:"hotpink",textAlign:"center"}})]}),dataset:{qaid:"layout-grid"}},argTypes:{dataset:{control:"object"},columns:{control:"number"},justifyItems:{control:"select"},hide:{control:"boolean"},relative:{control:"boolean"},children:{control:!1}}};var b,C,k;f.parameters={...f.parameters,docs:{...(b=f.parameters)==null?void 0:b.docs,source:{originalSource:`() => <LayoutGrid columns={4} alignItems="start" gap="xs">
1
+ import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r as I}from"./index-Cb9e4tly.js";import{g as D,a as N,b as P}from"./layout-relative-DA7rS9QX.js";import{f as R}from"./filterHTMLAttributes-DYdLqcvH.js";import{m as w,a as E,s as f}from"./classNames-BUL1Zq7e.js";import{g as A}from"./index-DdzHuZ-Y.js";import{L as T,k as H,f as U}from"./defaults-B1rzzf6M.js";import{w as h}from"./componentNames-Bwls0I02.js";import{B as $}from"./breakpoints-BfMlrtxE.js";import{s as W,g as Y}from"./layout-relative.module-CYNzEGVH.js";import{S as o,a as M}from"./consts-KAYct7Gj.js";import"./index-ChsGqxH_.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./constants-DYYVurUY.js";const F="_LayoutGridItem_2tq6r_1",B={LayoutGridItem:F},L=I.forwardRef(function({children:i,alignSelf:n,tag:a,hide:u,relative:s,dataset:r,...l},d){const m=w(B,h.LayoutGridItem,[]),y=D(n),c=N(u),G=P(s),g=[...m,...y,...c,...G],q=a??T,O={...R(l),ref:d,className:g.join(" "),...A(r,{preplyDsComponent:h.LayoutGridItem})};return t.jsx(q,{...O,children:i})});try{L.displayName="LayoutGridItem",L.__docgenInfo={description:"",displayName:"LayoutGridItem",props:{alignSelf:{defaultValue:null,description:"",name:"alignSelf",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:"ResponsiveProp<LayoutAlignSelf>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"p"'},{value:'"span"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}const J="_LayoutGrid_9zrms_4",V={LayoutGrid:J,"LayoutGrid--justify-content-center":"_LayoutGrid--justify-content-center_9zrms_14","LayoutGrid--justify-content-start":"_LayoutGrid--justify-content-start_9zrms_17","LayoutGrid--justify-content-end":"_LayoutGrid--justify-content-end_9zrms_20","LayoutGrid--justify-content-space-between":"_LayoutGrid--justify-content-space-between_9zrms_23","LayoutGrid--justify-content-space-around":"_LayoutGrid--justify-content-space-around_9zrms_26","LayoutGrid--justify-content-space-evenly":"_LayoutGrid--justify-content-space-evenly_9zrms_29","LayoutGrid--narrow-l--justify-content-center":"_LayoutGrid--narrow-l--justify-content-center_9zrms_33","LayoutGrid--narrow-l--justify-content-start":"_LayoutGrid--narrow-l--justify-content-start_9zrms_36","LayoutGrid--narrow-l--justify-content-end":"_LayoutGrid--narrow-l--justify-content-end_9zrms_39","LayoutGrid--narrow-l--justify-content-space-between":"_LayoutGrid--narrow-l--justify-content-space-between_9zrms_42","LayoutGrid--narrow-l--justify-content-space-around":"_LayoutGrid--narrow-l--justify-content-space-around_9zrms_45","LayoutGrid--narrow-l--justify-content-space-evenly":"_LayoutGrid--narrow-l--justify-content-space-evenly_9zrms_48","LayoutGrid--medium-s--justify-content-center":"_LayoutGrid--medium-s--justify-content-center_9zrms_53","LayoutGrid--medium-s--justify-content-start":"_LayoutGrid--medium-s--justify-content-start_9zrms_56","LayoutGrid--medium-s--justify-content-end":"_LayoutGrid--medium-s--justify-content-end_9zrms_59","LayoutGrid--medium-s--justify-content-space-between":"_LayoutGrid--medium-s--justify-content-space-between_9zrms_62","LayoutGrid--medium-s--justify-content-space-around":"_LayoutGrid--medium-s--justify-content-space-around_9zrms_65","LayoutGrid--medium-s--justify-content-space-evenly":"_LayoutGrid--medium-s--justify-content-space-evenly_9zrms_68","LayoutGrid--medium-l--justify-content-center":"_LayoutGrid--medium-l--justify-content-center_9zrms_73","LayoutGrid--medium-l--justify-content-start":"_LayoutGrid--medium-l--justify-content-start_9zrms_76","LayoutGrid--medium-l--justify-content-end":"_LayoutGrid--medium-l--justify-content-end_9zrms_79","LayoutGrid--medium-l--justify-content-space-between":"_LayoutGrid--medium-l--justify-content-space-between_9zrms_82","LayoutGrid--medium-l--justify-content-space-around":"_LayoutGrid--medium-l--justify-content-space-around_9zrms_85","LayoutGrid--medium-l--justify-content-space-evenly":"_LayoutGrid--medium-l--justify-content-space-evenly_9zrms_88","LayoutGrid--wide-s--justify-content-center":"_LayoutGrid--wide-s--justify-content-center_9zrms_93","LayoutGrid--wide-s--justify-content-start":"_LayoutGrid--wide-s--justify-content-start_9zrms_96","LayoutGrid--wide-s--justify-content-end":"_LayoutGrid--wide-s--justify-content-end_9zrms_99","LayoutGrid--wide-s--justify-content-space-between":"_LayoutGrid--wide-s--justify-content-space-between_9zrms_102","LayoutGrid--wide-s--justify-content-space-around":"_LayoutGrid--wide-s--justify-content-space-around_9zrms_105","LayoutGrid--wide-s--justify-content-space-evenly":"_LayoutGrid--wide-s--justify-content-space-evenly_9zrms_108","LayoutGrid--wide-l--justify-content-center":"_LayoutGrid--wide-l--justify-content-center_9zrms_113","LayoutGrid--wide-l--justify-content-start":"_LayoutGrid--wide-l--justify-content-start_9zrms_116","LayoutGrid--wide-l--justify-content-end":"_LayoutGrid--wide-l--justify-content-end_9zrms_119","LayoutGrid--wide-l--justify-content-space-between":"_LayoutGrid--wide-l--justify-content-space-between_9zrms_122","LayoutGrid--wide-l--justify-content-space-around":"_LayoutGrid--wide-l--justify-content-space-around_9zrms_125","LayoutGrid--wide-l--justify-content-space-evenly":"_LayoutGrid--wide-l--justify-content-space-evenly_9zrms_128","LayoutGrid--align-items-center":"_LayoutGrid--align-items-center_9zrms_132","LayoutGrid--align-items-start":"_LayoutGrid--align-items-start_9zrms_135","LayoutGrid--align-items-end":"_LayoutGrid--align-items-end_9zrms_138","LayoutGrid--align-items-stretch":"_LayoutGrid--align-items-stretch_9zrms_141","LayoutGrid--align-items-baseline":"_LayoutGrid--align-items-baseline_9zrms_144","LayoutGrid--narrow-l--align-items-center":"_LayoutGrid--narrow-l--align-items-center_9zrms_148","LayoutGrid--narrow-l--align-items-start":"_LayoutGrid--narrow-l--align-items-start_9zrms_151","LayoutGrid--narrow-l--align-items-end":"_LayoutGrid--narrow-l--align-items-end_9zrms_154","LayoutGrid--narrow-l--align-items-stretch":"_LayoutGrid--narrow-l--align-items-stretch_9zrms_157","LayoutGrid--narrow-l--align-items-baseline":"_LayoutGrid--narrow-l--align-items-baseline_9zrms_160","LayoutGrid--medium-s--align-items-center":"_LayoutGrid--medium-s--align-items-center_9zrms_165","LayoutGrid--medium-s--align-items-start":"_LayoutGrid--medium-s--align-items-start_9zrms_168","LayoutGrid--medium-s--align-items-end":"_LayoutGrid--medium-s--align-items-end_9zrms_171","LayoutGrid--medium-s--align-items-stretch":"_LayoutGrid--medium-s--align-items-stretch_9zrms_174","LayoutGrid--medium-s--align-items-baseline":"_LayoutGrid--medium-s--align-items-baseline_9zrms_177","LayoutGrid--medium-l--align-items-center":"_LayoutGrid--medium-l--align-items-center_9zrms_182","LayoutGrid--medium-l--align-items-start":"_LayoutGrid--medium-l--align-items-start_9zrms_185","LayoutGrid--medium-l--align-items-end":"_LayoutGrid--medium-l--align-items-end_9zrms_188","LayoutGrid--medium-l--align-items-stretch":"_LayoutGrid--medium-l--align-items-stretch_9zrms_191","LayoutGrid--medium-l--align-items-baseline":"_LayoutGrid--medium-l--align-items-baseline_9zrms_194","LayoutGrid--wide-s--align-items-center":"_LayoutGrid--wide-s--align-items-center_9zrms_199","LayoutGrid--wide-s--align-items-start":"_LayoutGrid--wide-s--align-items-start_9zrms_202","LayoutGrid--wide-s--align-items-end":"_LayoutGrid--wide-s--align-items-end_9zrms_205","LayoutGrid--wide-s--align-items-stretch":"_LayoutGrid--wide-s--align-items-stretch_9zrms_208","LayoutGrid--wide-s--align-items-baseline":"_LayoutGrid--wide-s--align-items-baseline_9zrms_211","LayoutGrid--wide-l--align-items-center":"_LayoutGrid--wide-l--align-items-center_9zrms_216","LayoutGrid--wide-l--align-items-start":"_LayoutGrid--wide-l--align-items-start_9zrms_219","LayoutGrid--wide-l--align-items-end":"_LayoutGrid--wide-l--align-items-end_9zrms_222","LayoutGrid--wide-l--align-items-stretch":"_LayoutGrid--wide-l--align-items-stretch_9zrms_225","LayoutGrid--wide-l--align-items-baseline":"_LayoutGrid--wide-l--align-items-baseline_9zrms_228","LayoutGrid--justify-items-stretch":"_LayoutGrid--justify-items-stretch_9zrms_232","LayoutGrid--justify-items-center":"_LayoutGrid--justify-items-center_9zrms_235","LayoutGrid--justify-items-start":"_LayoutGrid--justify-items-start_9zrms_238","LayoutGrid--justify-items-end":"_LayoutGrid--justify-items-end_9zrms_241","LayoutGrid--narrow-l--justify-items-stretch":"_LayoutGrid--narrow-l--justify-items-stretch_9zrms_245","LayoutGrid--narrow-l--justify-items-center":"_LayoutGrid--narrow-l--justify-items-center_9zrms_248","LayoutGrid--narrow-l--justify-items-start":"_LayoutGrid--narrow-l--justify-items-start_9zrms_251","LayoutGrid--narrow-l--justify-items-end":"_LayoutGrid--narrow-l--justify-items-end_9zrms_254","LayoutGrid--medium-s--justify-items-stretch":"_LayoutGrid--medium-s--justify-items-stretch_9zrms_259","LayoutGrid--medium-s--justify-items-center":"_LayoutGrid--medium-s--justify-items-center_9zrms_262","LayoutGrid--medium-s--justify-items-start":"_LayoutGrid--medium-s--justify-items-start_9zrms_265","LayoutGrid--medium-s--justify-items-end":"_LayoutGrid--medium-s--justify-items-end_9zrms_268","LayoutGrid--medium-l--justify-items-stretch":"_LayoutGrid--medium-l--justify-items-stretch_9zrms_273","LayoutGrid--medium-l--justify-items-center":"_LayoutGrid--medium-l--justify-items-center_9zrms_276","LayoutGrid--medium-l--justify-items-start":"_LayoutGrid--medium-l--justify-items-start_9zrms_279","LayoutGrid--medium-l--justify-items-end":"_LayoutGrid--medium-l--justify-items-end_9zrms_282","LayoutGrid--wide-s--justify-items-stretch":"_LayoutGrid--wide-s--justify-items-stretch_9zrms_287","LayoutGrid--wide-s--justify-items-center":"_LayoutGrid--wide-s--justify-items-center_9zrms_290","LayoutGrid--wide-s--justify-items-start":"_LayoutGrid--wide-s--justify-items-start_9zrms_293","LayoutGrid--wide-s--justify-items-end":"_LayoutGrid--wide-s--justify-items-end_9zrms_296","LayoutGrid--wide-l--justify-items-stretch":"_LayoutGrid--wide-l--justify-items-stretch_9zrms_301","LayoutGrid--wide-l--justify-items-center":"_LayoutGrid--wide-l--justify-items-center_9zrms_304","LayoutGrid--wide-l--justify-items-start":"_LayoutGrid--wide-l--justify-items-start_9zrms_307","LayoutGrid--wide-l--justify-items-end":"_LayoutGrid--wide-l--justify-items-end_9zrms_310","LayoutGrid--columns":"_LayoutGrid--columns_9zrms_314","LayoutGrid--columns-narrow-l":"_LayoutGrid--columns-narrow-l_9zrms_318","LayoutGrid--columns-medium-s":"_LayoutGrid--columns-medium-s_9zrms_323","LayoutGrid--columns-medium-l":"_LayoutGrid--columns-medium-l_9zrms_328","LayoutGrid--columns-wide-s":"_LayoutGrid--columns-wide-s_9zrms_333","LayoutGrid--columns-wide-l":"_LayoutGrid--columns-wide-l_9zrms_338"},K="LayoutGrid",Q=Object.keys($),j=e=>typeof e=="number"?`repeat(${e}, 1fr)`:e.join(" "),X=e=>typeof e=="object"&&!Array.isArray(e)?Object.entries(e).reduce((i,[n,a])=>({...i,...a?{[n]:j(a)}:{}}),{_:j(e._)}):{_:j(e)},Z=e=>{if(!e)return{classNames:[],style:{}};const i=X(e),n=Q.filter(s=>i[s]),a=E(V,K,["columns",...n.map(s=>`columns-${s}`)]),u=n.reduce((s,r)=>({...s,[`--columns-${r}`]:i[r]}),{"--columns":i._});return{classNames:a,style:u}},ee="LayoutGap",te=e=>w(W,ee,[f("gap",e)]),ae="LayoutGrid",ie=(e,i)=>{const{gap:n=H,padding:a=U,justifyContent:u,alignItems:s,justifyItems:r,hide:l,relative:d}=i||{},m=w(V,ae,[f("justify-content",u),f("align-items",s),f("justify-items",r)]),y=te(n),c=Y(a),G=N(l,"grid"),g=P(d);return[...m,...y,...c,...G,...g]},v=I.forwardRef(function({dataset:i,children:n,...a},u){const{tag:s=T,columns:r}=a,l=ie("grid",a),{style:d,classNames:m}=Z(r),y=[...l,...m],c={...R(a),ref:u,className:y.join(" "),style:d,...A(i,{preplyDsComponent:h.LayoutGrid})};return t.jsx(s,{...c,children:n})});try{v.displayName="LayoutGrid",v.__docgenInfo={description:"A CSS `grid` wrapper.",displayName:"LayoutGrid",props:{gap:{defaultValue:null,description:"",name:"gap",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:"ResponsiveProp<LayoutGap>"},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"ResponsiveProp<Spacing>"}]}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"enum",value:[{value:'"2xs"'},{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"24"'},{value:'"32"'},{value:'"48"'},{value:'"64"'},{value:'"96"'},{value:'"160"'},{value:'"none"'},{value:'"3xs"'},{value:'"0"'},{value:'"1"'},{value:'"2"'},{value:'"4"'},{value:'"8"'},{value:'"12"'},{value:'"16"'},{value:'"20"'},{value:"[LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[LayoutPadding, LayoutPadding, LayoutPadding, LayoutPadding]"},{value:"[Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing]"},{value:"[Spacing, Spacing, Spacing, Spacing]"},{value:"ResponsiveProp<ShortHand<LayoutPadding> | ShortHand<Spacing>>"}]}},columns:{defaultValue:null,description:"The `number` of columns, or a `string[]` of `grid-template-columns`.\n@see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns}",name:"columns",required:!1,type:{name:"enum",value:[{value:"number"},{value:"string[]"},{value:"ResponsiveProp<number | string[]>"}]}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"space-between"'},{value:'"space-around"'},{value:'"space-evenly"'},{value:"ResponsiveProp<LayoutJustifyContent>"}]}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:'"baseline"'},{value:"ResponsiveProp<LayoutAlignItems>"}]}},justifyItems:{defaultValue:null,description:"",name:"justifyItems",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"start"'},{value:'"end"'},{value:'"stretch"'},{value:"ResponsiveProp<LayoutJustifyItems>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"p"'},{value:'"span"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}const ve={title:"components/LayoutGrid",component:v,subcomponents:{LayoutGridItem:L},argTypes:{gap:{description:o},padding:{description:M},columns:{description:o},justifyContent:{description:o},alignItems:{description:o},justifyItems:{description:o},hide:{description:o},relative:{description:o}}},_=()=>t.jsxs(v,{columns:4,alignItems:"start",gap:"xs",children:[t.jsx(L,{children:t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"0.25rem"},children:[t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}}),t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}})]})}),t.jsx(L,{alignSelf:"end",children:t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}})}),t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}}),t.jsx("div",{style:{height:"2ch",backgroundColor:"hotpink"}})]});_.storyName="LayoutGrid";const p={parameters:{chromatic:{disableSnapshot:!0}},args:{gap:"16",columns:3,alignItems:"start",children:t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{minWidth:"100px",minHeight:50,backgroundColor:"hotpink"},children:" "}),t.jsx("div",{style:{minWidth:"100px",minHeight:75,backgroundColor:"hotpink"},children:" "}),t.jsx("div",{style:{minWidth:"100px",minHeight:100,backgroundColor:"hotpink",textAlign:"center"}})]}),dataset:{qaid:"layout-grid"}},argTypes:{dataset:{control:"object"},columns:{control:"number"},justifyItems:{control:"select"},hide:{control:"boolean"},relative:{control:"boolean"},children:{control:!1}}};var z,b,C;_.parameters={..._.parameters,docs:{...(z=_.parameters)==null?void 0:z.docs,source:{originalSource:`() => <LayoutGrid columns={4} alignItems="start" gap="xs">
2
2
  <LayoutGridItem>
3
3
  <div style={{
4
4
  display: 'flex',
@@ -29,7 +29,7 @@ import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r as N}from"./index-Cb9e4tl
29
29
  height: '2ch',
30
30
  backgroundColor: 'hotpink'
31
31
  }} />
32
- </LayoutGrid>`,...(k=(C=f.parameters)==null?void 0:C.docs)==null?void 0:k.source}}};var S,x,I;g.parameters={...g.parameters,docs:{...(S=g.parameters)==null?void 0:S.docs,source:{originalSource:`{
32
+ </LayoutGrid>`,...(C=(b=_.parameters)==null?void 0:b.docs)==null?void 0:C.source}}};var k,S,x;p.parameters={...p.parameters,docs:{...(k=p.parameters)==null?void 0:k.docs,source:{originalSource:`{
33
33
  parameters: {
34
34
  chromatic: {
35
35
  disableSnapshot: true
@@ -85,4 +85,4 @@ import{j as t}from"./jsx-runtime-BTJTZTIL.js";import{r as N}from"./index-Cb9e4tl
85
85
  control: false
86
86
  }
87
87
  }
88
- }`,...(I=(x=g.parameters)==null?void 0:x.docs)==null?void 0:I.source}}};const ve=["Base","Playground"];export{f as Base,g as Playground,ve as __namedExportsOrder,pe as default};
88
+ }`,...(x=(S=p.parameters)==null?void 0:S.docs)==null?void 0:x.source}}};const Ge=["Base","Playground"];export{_ as Base,p as Playground,Ge as __namedExportsOrder,ve as default};
@@ -0,0 +1 @@
1
+ ._AlignSelf_bzge0_2._AlignSelf--align-self-start_bzge0_2{-ms-flex-item-align:start;align-self:start}._AlignSelf_bzge0_2._AlignSelf--align-self-center_bzge0_5{-ms-flex-item-align:center;align-self:center}._AlignSelf_bzge0_2._AlignSelf--align-self-end_bzge0_8{-ms-flex-item-align:end;align-self:end}._AlignSelf_bzge0_2._AlignSelf--align-self-stretch_bzge0_11{-ms-flex-item-align:stretch;align-self:stretch}@media (min-width: 400px){._AlignSelf_bzge0_2._AlignSelf--narrow-l--align-self-start_bzge0_15{-ms-flex-item-align:start;align-self:start}._AlignSelf_bzge0_2._AlignSelf--narrow-l--align-self-center_bzge0_18{-ms-flex-item-align:center;align-self:center}._AlignSelf_bzge0_2._AlignSelf--narrow-l--align-self-end_bzge0_21{-ms-flex-item-align:end;align-self:end}._AlignSelf_bzge0_2._AlignSelf--narrow-l--align-self-stretch_bzge0_24{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 700px){._AlignSelf_bzge0_2._AlignSelf--medium-s--align-self-start_bzge0_29{-ms-flex-item-align:start;align-self:start}._AlignSelf_bzge0_2._AlignSelf--medium-s--align-self-center_bzge0_32{-ms-flex-item-align:center;align-self:center}._AlignSelf_bzge0_2._AlignSelf--medium-s--align-self-end_bzge0_35{-ms-flex-item-align:end;align-self:end}._AlignSelf_bzge0_2._AlignSelf--medium-s--align-self-stretch_bzge0_38{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 880px){._AlignSelf_bzge0_2._AlignSelf--medium-l--align-self-start_bzge0_43{-ms-flex-item-align:start;align-self:start}._AlignSelf_bzge0_2._AlignSelf--medium-l--align-self-center_bzge0_46{-ms-flex-item-align:center;align-self:center}._AlignSelf_bzge0_2._AlignSelf--medium-l--align-self-end_bzge0_49{-ms-flex-item-align:end;align-self:end}._AlignSelf_bzge0_2._AlignSelf--medium-l--align-self-stretch_bzge0_52{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 1200px){._AlignSelf_bzge0_2._AlignSelf--wide-s--align-self-start_bzge0_57{-ms-flex-item-align:start;align-self:start}._AlignSelf_bzge0_2._AlignSelf--wide-s--align-self-center_bzge0_60{-ms-flex-item-align:center;align-self:center}._AlignSelf_bzge0_2._AlignSelf--wide-s--align-self-end_bzge0_63{-ms-flex-item-align:end;align-self:end}._AlignSelf_bzge0_2._AlignSelf--wide-s--align-self-stretch_bzge0_66{-ms-flex-item-align:stretch;align-self:stretch}}@media (min-width: 1900px){._AlignSelf_bzge0_2._AlignSelf--wide-l--align-self-start_bzge0_71{-ms-flex-item-align:start;align-self:start}._AlignSelf_bzge0_2._AlignSelf--wide-l--align-self-center_bzge0_74{-ms-flex-item-align:center;align-self:center}._AlignSelf_bzge0_2._AlignSelf--wide-l--align-self-end_bzge0_77{-ms-flex-item-align:end;align-self:end}._AlignSelf_bzge0_2._AlignSelf--wide-l--align-self-stretch_bzge0_80{-ms-flex-item-align:stretch;align-self:stretch}}._LayoutGridItem_2tq6r_1{margin:0;list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;padding:0}
@@ -0,0 +1 @@
1
+ import{j as b}from"./jsx-runtime-BTJTZTIL.js";import{r as w}from"./index-Cb9e4tly.js";import{m as s,s as z}from"./classNames-BUL1Zq7e.js";import{g as p,a as L}from"./LayoutGrid-ZAYmKrcj.js";import{f as h}from"./filterHTMLAttributes-UOns5Q7s.js";import{w as n}from"./componentNames-Bwls0I02.js";import{g as y}from"./index-DdzHuZ-Y.js";import{L as C}from"./defaults-B1rzzf6M.js";const N="_AlignSelf_bzge0_2",G={AlignSelf:N,"AlignSelf--align-self-start":"_AlignSelf--align-self-start_bzge0_2","AlignSelf--align-self-center":"_AlignSelf--align-self-center_bzge0_5","AlignSelf--align-self-end":"_AlignSelf--align-self-end_bzge0_8","AlignSelf--align-self-stretch":"_AlignSelf--align-self-stretch_bzge0_11","AlignSelf--narrow-l--align-self-start":"_AlignSelf--narrow-l--align-self-start_bzge0_15","AlignSelf--narrow-l--align-self-center":"_AlignSelf--narrow-l--align-self-center_bzge0_18","AlignSelf--narrow-l--align-self-end":"_AlignSelf--narrow-l--align-self-end_bzge0_21","AlignSelf--narrow-l--align-self-stretch":"_AlignSelf--narrow-l--align-self-stretch_bzge0_24","AlignSelf--medium-s--align-self-start":"_AlignSelf--medium-s--align-self-start_bzge0_29","AlignSelf--medium-s--align-self-center":"_AlignSelf--medium-s--align-self-center_bzge0_32","AlignSelf--medium-s--align-self-end":"_AlignSelf--medium-s--align-self-end_bzge0_35","AlignSelf--medium-s--align-self-stretch":"_AlignSelf--medium-s--align-self-stretch_bzge0_38","AlignSelf--medium-l--align-self-start":"_AlignSelf--medium-l--align-self-start_bzge0_43","AlignSelf--medium-l--align-self-center":"_AlignSelf--medium-l--align-self-center_bzge0_46","AlignSelf--medium-l--align-self-end":"_AlignSelf--medium-l--align-self-end_bzge0_49","AlignSelf--medium-l--align-self-stretch":"_AlignSelf--medium-l--align-self-stretch_bzge0_52","AlignSelf--wide-s--align-self-start":"_AlignSelf--wide-s--align-self-start_bzge0_57","AlignSelf--wide-s--align-self-center":"_AlignSelf--wide-s--align-self-center_bzge0_60","AlignSelf--wide-s--align-self-end":"_AlignSelf--wide-s--align-self-end_bzge0_63","AlignSelf--wide-s--align-self-stretch":"_AlignSelf--wide-s--align-self-stretch_bzge0_66","AlignSelf--wide-l--align-self-start":"_AlignSelf--wide-l--align-self-start_bzge0_71","AlignSelf--wide-l--align-self-center":"_AlignSelf--wide-l--align-self-center_bzge0_74","AlignSelf--wide-l--align-self-end":"_AlignSelf--wide-l--align-self-end_bzge0_77","AlignSelf--wide-l--align-self-stretch":"_AlignSelf--wide-l--align-self-stretch_bzge0_80"},I="AlignSelf",x=e=>s(G,I,[z("align-self",e)]),T="_LayoutGridItem_2tq6r_1",j={LayoutGridItem:T},E=w.forwardRef(function({children:i,alignSelf:g,tag:l,hide:t,relative:a,dataset:f,...r},_){const m=s(j,n.LayoutGridItem,[]),o=x(g),d=p(t),A=L(a),S=[...m,...o,...d,...A],c=l??C,u={...h(r),ref:_,className:S.join(" "),...y(f,{preplyDsComponent:n.LayoutGridItem})};return b.jsx(c,{...u,children:i})});E.__docgenInfo={description:"",methods:[],displayName:"LayoutGridItem"};export{E as L,x as g};
@@ -0,0 +1 @@
1
+ ._Link_q0vqc_4{display:inline-block;border-radius:var(--5eeb28);text-decoration:var(--f13872);cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;-ms-touch-action:manipulation;touch-action:manipulation}._Link_q0vqc_4:focus-visible{outline-style:solid;outline-color:var(--603ec6);outline-width:var(--99d31f);outline-offset:var(--c0b12c)}._Link--inline_q0vqc_20{display:inline}._Link--noUnderline_q0vqc_23{text-decoration:none}._Link--variant-accentDark_q0vqc_26{color:var(--c6b68f)}._Link--variant-accentDark_q0vqc_26:hover,._Link--variant-accentDark--dsInternalSimulation-hover_q0vqc_30{color:var(--65e1ef)}._Link--variant-accentDark_q0vqc_26:active,._Link--variant-accentDark--dsInternalSimulation-active_q0vqc_34{color:var(--179b80)}._Link--variant-accentDarkInverted_q0vqc_37{color:var(--7cbffc)}._Link--variant-accentDarkInverted_q0vqc_37:hover,._Link--variant-accentDarkInverted--dsInternalSimulation-hover_q0vqc_41{color:var(--47fcde)}._Link--variant-accentDarkInverted_q0vqc_37:active,._Link--variant-accentDarkInverted--dsInternalSimulation-active_q0vqc_45{color:var(--1253e2)}._Link--variant-neutral_q0vqc_48{color:var(--19fdf0)}._Link--variant-neutral_q0vqc_48:hover,._Link--variant-neutral--dsInternalSimulation-hover_q0vqc_52{color:var(--ce5fb9)}._Link--variant-neutral_q0vqc_48:active,._Link--variant-neutral--dsInternalSimulation-active_q0vqc_56{color:var(--1d39ac)}._Link--variant-neutralInverted_q0vqc_59{color:var(--883d0f)}._Link--variant-neutralInverted_q0vqc_59:hover,._Link--variant-neutralInverted--dsInternalSimulation-hover_q0vqc_63{color:var(--065570)}._Link--variant-neutralInverted_q0vqc_59:active,._Link--variant-neutralInverted--dsInternalSimulation-active_q0vqc_67{color:var(--be41c4)}._Link--variant-unsetColors_q0vqc_70{color:var(--e66f2a)}._Link--variant-unsetColors_q0vqc_70:hover,._Link--variant-unsetColors--dsInternalSimulation-hover_q0vqc_74{color:var(--468ceb)}._Link--variant-unsetColors_q0vqc_70:active,._Link--variant-unsetColors--dsInternalSimulation-active_q0vqc_78{color:var(--a5fc76)}
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{T as a}from"./Text-CHUOSFiB.js";import{r as k}from"./index-Cb9e4tly.js";import{f as Y}from"./filterHTMLAttributes-DYdLqcvH.js";import{g as Z}from"./defaults-B1rzzf6M.js";import{u as ee}from"./useHostname-Y3PlXofY.js";import{m as ne,s as f,b as x}from"./classNames-BUL1Zq7e.js";import{w as y}from"./componentNames-Bwls0I02.js";import{a as ae,g as te}from"./index-DdzHuZ-Y.js";import{g as d}from"./getTokenVar-DU_DEzTd.js";import{c as u}from"./tokens-Di5DrZN4.js";import"./index-ChsGqxH_.js";import"./text-accent-BqpJYBrf.js";import"./text-centered-BvohyNwD.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./constants-BgBLeZzp.js";const re="_Link_1071w_4",ie={Link:re,"Link--inline":"_Link--inline_1071w_20","Link--noUnderline":"_Link--noUnderline_1071w_23","Link--variant-accentDark":"_Link--variant-accentDark_1071w_26","Link--variant-accentDark--dsInternalSimulation-hover":"_Link--variant-accentDark--dsInternalSimulation-hover_1071w_30","Link--variant-accentDark--dsInternalSimulation-active":"_Link--variant-accentDark--dsInternalSimulation-active_1071w_34","Link--variant-accentDarkInverted":"_Link--variant-accentDarkInverted_1071w_37","Link--variant-accentDarkInverted--dsInternalSimulation-hover":"_Link--variant-accentDarkInverted--dsInternalSimulation-hover_1071w_41","Link--variant-accentDarkInverted--dsInternalSimulation-active":"_Link--variant-accentDarkInverted--dsInternalSimulation-active_1071w_45","Link--variant-neutral":"_Link--variant-neutral_1071w_48","Link--variant-neutral--dsInternalSimulation-hover":"_Link--variant-neutral--dsInternalSimulation-hover_1071w_52","Link--variant-neutral--dsInternalSimulation-active":"_Link--variant-neutral--dsInternalSimulation-active_1071w_56","Link--variant-neutralInverted":"_Link--variant-neutralInverted_1071w_59","Link--variant-neutralInverted--dsInternalSimulation-hover":"_Link--variant-neutralInverted--dsInternalSimulation-hover_1071w_63","Link--variant-neutralInverted--dsInternalSimulation-active":"_Link--variant-neutralInverted--dsInternalSimulation-active_1071w_67","Link--variant-unsetColors":"_Link--variant-unsetColors_1071w_70","Link--variant-unsetColors--dsInternalSimulation-hover":"_Link--variant-unsetColors--dsInternalSimulation-hover_1071w_74","Link--variant-unsetColors--dsInternalSimulation-active":"_Link--variant-unsetColors--dsInternalSimulation-active_1071w_78"},n=k.forwardRef(function(E,P){const{variant:p=Z,href:A,download:R,opensInNewTab:H,nofollow:M,assistiveText:O,onClick:$,as:v,url:z,dataset:F,children:m,inline:J,dsInternalSimulation:K,noUnderline:W,...X}=E,B=ee(),G=ne(ie,y.Link,[f(`variant-${p}--dsInternalSimulation`,K),f("variant",p),x("inline",void 0,J),x("noUnderline",void 0,W)]),c=A||z,Q=c?ae(B,c,H,M):{},h={...Y(X),ref:P,href:c,download:R,"aria-label":O,onClick:$,className:G.join(" "),...te(F,{preplyDsComponent:y.Link})};return v?k.cloneElement(v,{...h},m):e.jsx("a",{...h,...Q,children:m})});try{n.displayName="Link",n.__docgenInfo={description:`This is an inline element and will inherit font-size, line-height and
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{T as a}from"./Text-D3ATKGXs.js";import{r as k}from"./index-Cb9e4tly.js";import{f as Y}from"./filterHTMLAttributes-DYdLqcvH.js";import{g as Z}from"./defaults-B1rzzf6M.js";import{u as ee}from"./useHostname-Y3PlXofY.js";import{m as ne,s as f,b as x}from"./classNames-BUL1Zq7e.js";import{w as y}from"./componentNames-Bwls0I02.js";import{a as ae,g as te}from"./index-DdzHuZ-Y.js";import{g as d}from"./getTokenVar-DU_DEzTd.js";import{c as u}from"./tokens-Di5DrZN4.js";import"./index-ChsGqxH_.js";import"./text-accent-DbbdQjKI.js";import"./text-centered-6MZg9O0U.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./constants-BgBLeZzp.js";const re="_Link_q0vqc_4",ie={Link:re,"Link--inline":"_Link--inline_q0vqc_20","Link--noUnderline":"_Link--noUnderline_q0vqc_23","Link--variant-accentDark":"_Link--variant-accentDark_q0vqc_26","Link--variant-accentDark--dsInternalSimulation-hover":"_Link--variant-accentDark--dsInternalSimulation-hover_q0vqc_30","Link--variant-accentDark--dsInternalSimulation-active":"_Link--variant-accentDark--dsInternalSimulation-active_q0vqc_34","Link--variant-accentDarkInverted":"_Link--variant-accentDarkInverted_q0vqc_37","Link--variant-accentDarkInverted--dsInternalSimulation-hover":"_Link--variant-accentDarkInverted--dsInternalSimulation-hover_q0vqc_41","Link--variant-accentDarkInverted--dsInternalSimulation-active":"_Link--variant-accentDarkInverted--dsInternalSimulation-active_q0vqc_45","Link--variant-neutral":"_Link--variant-neutral_q0vqc_48","Link--variant-neutral--dsInternalSimulation-hover":"_Link--variant-neutral--dsInternalSimulation-hover_q0vqc_52","Link--variant-neutral--dsInternalSimulation-active":"_Link--variant-neutral--dsInternalSimulation-active_q0vqc_56","Link--variant-neutralInverted":"_Link--variant-neutralInverted_q0vqc_59","Link--variant-neutralInverted--dsInternalSimulation-hover":"_Link--variant-neutralInverted--dsInternalSimulation-hover_q0vqc_63","Link--variant-neutralInverted--dsInternalSimulation-active":"_Link--variant-neutralInverted--dsInternalSimulation-active_q0vqc_67","Link--variant-unsetColors":"_Link--variant-unsetColors_q0vqc_70","Link--variant-unsetColors--dsInternalSimulation-hover":"_Link--variant-unsetColors--dsInternalSimulation-hover_q0vqc_74","Link--variant-unsetColors--dsInternalSimulation-active":"_Link--variant-unsetColors--dsInternalSimulation-active_q0vqc_78"},n=k.forwardRef(function(E,P){const{variant:v=Z,href:A,download:R,opensInNewTab:H,nofollow:M,assistiveText:O,onClick:$,as:p,url:z,dataset:F,children:m,inline:J,dsInternalSimulation:K,noUnderline:W,...X}=E,B=ee(),G=ne(ie,y.Link,[f(`variant-${v}--dsInternalSimulation`,K),f("variant",v),x("inline",void 0,J),x("noUnderline",void 0,W)]),c=A||z,Q=c?ae(B,c,H,M):{},h={...Y(X),ref:P,href:c,download:R,"aria-label":O,onClick:$,className:G.join(" "),...te(F,{preplyDsComponent:y.Link})};return p?k.cloneElement(p,{...h},m):e.jsx("a",{...h,...Q,children:m})});try{n.displayName="Link",n.__docgenInfo={description:`This is an inline element and will inherit font-size, line-height and
2
2
  font-weight from the parent context. If you need to customise any of these
3
3
  styles, all you have to do is wrap the <Link> in a Text or TextInline
4
4
  component.`,displayName:"Link",props:{variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"accentDark"'},{value:'"neutral"'},{value:'"accentDarkInverted"'},{value:'"neutralInverted"'},{value:'"unsetColors"'}]}},href:{defaultValue:null,description:"",name:"href",required:!1,type:{name:"enum",value:[{value:"string"}]}},download:{defaultValue:null,description:`When provided, instructs the browser to download the target (the file
@@ -214,7 +214,7 @@ of e2e tests or integrating with external libraries.`,name:"dataset",required:!1
214
214
  </Link>
215
215
  </div>
216
216
  </div>;
217
- }`,...(S=(_=l.parameters)==null?void 0:_.docs)==null?void 0:S.source}}};var D,w,V;o.parameters={...o.parameters,docs:{...(D=o.parameters)==null?void 0:D.docs,source:{originalSource:`() => <p style={{
217
+ }`,...(S=(_=l.parameters)==null?void 0:_.docs)==null?void 0:S.source}}};var D,q,w;o.parameters={...o.parameters,docs:{...(D=o.parameters)==null?void 0:D.docs,source:{originalSource:`() => <p style={{
218
218
  width: '12ch'
219
219
  }}>
220
220
  Unlock your potential;{' '}
@@ -222,7 +222,7 @@ of e2e tests or integrating with external libraries.`,name:"dataset",required:!1
222
222
  visit Preply
223
223
  </Link>
224
224
  .
225
- </p>`,...(V=(w=o.parameters)==null?void 0:w.docs)==null?void 0:V.source}}};var q,N,U;s.parameters={...s.parameters,docs:{...(q=s.parameters)==null?void 0:q.docs,source:{originalSource:`{
225
+ </p>`,...(w=(q=o.parameters)==null?void 0:q.docs)==null?void 0:w.source}}};var V,N,U;s.parameters={...s.parameters,docs:{...(V=s.parameters)==null?void 0:V.docs,source:{originalSource:`{
226
226
  parameters: {
227
227
  chromatic: {
228
228
  disableSnapshot: true
@@ -0,0 +1 @@
1
+ ._Loader_jv7qu_2{display:inline-flex;width:fit-content;height:fit-content}._Loader--normal_jv7qu_7{color:var(--19bcb6)}._Loader--inverted_jv7qu_10{color:var(--38413d)}
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as x}from"./index-Cb9e4tly.js";import{f as h}from"./filterHTMLAttributes-DYdLqcvH.js";import{S as z}from"./Spinner-DNFm01hR.js";import{m as k,b as C}from"./classNames-BUL1Zq7e.js";import{w as l}from"./componentNames-Bwls0I02.js";import{g as E}from"./index-DdzHuZ-Y.js";import{S as N}from"./consts-KAYct7Gj.js";import{g as R}from"./getTokenVar-DU_DEzTd.js";import{c as T}from"./tokens-Di5DrZN4.js";import"./index-ChsGqxH_.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./defaults-B1rzzf6M.js";import"./constants-BgBLeZzp.js";const V="_Loader_8joen_2",q={Loader:V,"Loader--normal":"_Loader--normal_8joen_7","Loader--inverted":"_Loader--inverted_8joen_10"},r=x.forwardRef(function({size:t,inverted:y=!1,dataset:L,..._},b){const S=k(q,l.Loader,[C("inverted","normal",y)]),j={...h(_),ref:b,className:S.join(" "),...E(L,{preplyDsComponent:l.Loader})};return e.jsx("span",{...j,children:e.jsx(z,{size:t})})});try{r.displayName="Loader",r.__docgenInfo={description:"",displayName:"Loader",props:{size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"large"'},{value:'"default"'},{value:"ResponsiveProp<SpinnerSize>"}]}},inverted:{defaultValue:{value:"false"},description:"",name:"inverted",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: 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{}const K={title:"components/Loader",component:r,argTypes:{size:{description:N}}},o=()=>e.jsxs("div",{style:{display:"flex",alignItems:"end",gap:"8px"},children:[e.jsx(r,{size:"default"}),e.jsx(r,{size:"large"})]}),n=()=>e.jsx(r,{inverted:!0});n.decorators=[a=>{const t=R(T.background.primaryInverted);return e.jsx("div",{style:{backgroundColor:t},children:a()})}];const s={parameters:{chromatic:{disableSnapshot:!0}},decorators:[(a,{args:t})=>e.jsx("div",{style:{backgroundColor:t.inverted?"black":void 0},children:a()})],args:{size:"default",inverted:!1,dataset:{qaid:"loader"}},argTypes:{dataset:{control:"object"},size:{control:"select"},inverted:{control:"boolean"}}};var d,i,c;o.parameters={...o.parameters,docs:{...(d=o.parameters)==null?void 0:d.docs,source:{originalSource:`() => <div style={{
1
+ import{j as e}from"./jsx-runtime-BTJTZTIL.js";import{r as x}from"./index-Cb9e4tly.js";import{f as h}from"./filterHTMLAttributes-DYdLqcvH.js";import{S as z}from"./Spinner-C3p2WoxW.js";import{m as k,b as q}from"./classNames-BUL1Zq7e.js";import{w as l}from"./componentNames-Bwls0I02.js";import{g as C}from"./index-DdzHuZ-Y.js";import{S as E}from"./consts-KAYct7Gj.js";import{g as N}from"./getTokenVar-DU_DEzTd.js";import{c as R}from"./tokens-Di5DrZN4.js";import"./index-ChsGqxH_.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./defaults-B1rzzf6M.js";import"./constants-BgBLeZzp.js";const T="_Loader_jv7qu_2",V={Loader:T,"Loader--normal":"_Loader--normal_jv7qu_7","Loader--inverted":"_Loader--inverted_jv7qu_10"},r=x.forwardRef(function({size:t,inverted:y=!1,dataset:L,..._},b){const S=k(V,l.Loader,[q("inverted","normal",y)]),j={...h(_),ref:b,className:S.join(" "),...C(L,{preplyDsComponent:l.Loader})};return e.jsx("span",{...j,children:e.jsx(z,{size:t})})});try{r.displayName="Loader",r.__docgenInfo={description:"",displayName:"Loader",props:{size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"large"'},{value:'"default"'},{value:"ResponsiveProp<SpinnerSize>"}]}},inverted:{defaultValue:{value:"false"},description:"",name:"inverted",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: 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{}const K={title:"components/Loader",component:r,argTypes:{size:{description:E}}},o=()=>e.jsxs("div",{style:{display:"flex",alignItems:"end",gap:"8px"},children:[e.jsx(r,{size:"default"}),e.jsx(r,{size:"large"})]}),n=()=>e.jsx(r,{inverted:!0});n.decorators=[a=>{const t=N(R.background.primaryInverted);return e.jsx("div",{style:{backgroundColor:t},children:a()})}];const s={parameters:{chromatic:{disableSnapshot:!0}},decorators:[(a,{args:t})=>e.jsx("div",{style:{backgroundColor:t.inverted?"black":void 0},children:a()})],args:{size:"default",inverted:!1,dataset:{qaid:"loader"}},argTypes:{dataset:{control:"object"},size:{control:"select"},inverted:{control:"boolean"}}};var d,i,c;o.parameters={...o.parameters,docs:{...(d=o.parameters)==null?void 0:d.docs,source:{originalSource:`() => <div style={{
2
2
  display: 'flex',
3
3
  alignItems: 'end',
4
4
  gap: '8px'