@preply/ds-docs 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (269) hide show
  1. package/dist/assets/{00.LayoutFlex.stories-DoLb1LoS.js → 00.LayoutFlex.stories-CbDXxyuE.js} +1 -1
  2. package/dist/assets/{00.applications-CodmhfzP.js → 00.applications-DrPcq5hf.js} +1 -1
  3. package/dist/assets/{00.favicons.guide-CB7otDce.js → 00.favicons.guide-BGlf-F09.js} +1 -1
  4. package/dist/assets/{00.token-explorer-iUebypoy.js → 00.token-explorer-Bfc0792V.js} +1 -1
  5. package/dist/assets/{00.using-responsive-props-t2wHUu8m.js → 00.using-responsive-props-zAcJieHB.js} +1 -1
  6. package/dist/assets/{01.semantic-tokens-BRVBqUiT.js → 01.semantic-tokens-Ccy3YqAg.js} +1 -1
  7. package/dist/assets/{01.using-shorthand-props-DEJgBvzq.js → 01.using-shorthand-props-B0ANrFDR.js} +1 -1
  8. package/dist/assets/{10.Combinations.stories-DLSgJgrw.js → 10.Combinations.stories-CdNbC18z.js} +1 -1
  9. package/dist/assets/{10.fonts.guide-D12lSwgH.js → 10.fonts.guide-kjxLDtt2.js} +1 -1
  10. package/dist/assets/{10.ssr-DlFRK64e.js → 10.ssr-C85792Ym.js} +1 -1
  11. package/dist/assets/{11.languageFont.explorer-C5k8-Jz1.js → 11.languageFont.explorer-C8B0RG10.js} +1 -1
  12. package/dist/assets/{11.ssr.app-router-Dhu4kN2c.js → 11.ssr.app-router-DLGELGUU.js} +1 -1
  13. package/dist/assets/{20.libraries-B0n8gJVD.js → 20.libraries-BDQu_qts.js} +1 -1
  14. package/dist/assets/{30.icons.explorer-Crh_uKlY.js → 30.icons.explorer-Cs2BoR4M.js} +2 -2
  15. package/dist/assets/{30.storybook-BAO0l6SZ.js → 30.storybook-Nx8Paw-6.js} +1 -1
  16. package/dist/assets/40.illustrations.explorer-WSD1rIjJ.js +21 -0
  17. package/dist/assets/{90.advanced-CeKbZzoq.js → 90.advanced-DASg-ru6.js} +1 -1
  18. package/dist/assets/AlertDialog-Maq8_VU0.css +1 -0
  19. package/dist/assets/{AlertDialog.stories-CqAVOJ5x.js → AlertDialog.stories-BzWTSIy8.js} +4 -4
  20. package/dist/assets/Avatar-DTmc5ZGN.css +1 -0
  21. package/dist/assets/Avatar-DncQXX7G.js +7 -0
  22. package/dist/assets/Avatar-ElTllycS.js +1 -0
  23. package/dist/assets/Avatar-l4k-u_Mp.css +1 -0
  24. package/dist/assets/{Avatar.stories-DPuesOBK.js → Avatar.stories-D15oouju.js} +1 -1
  25. package/dist/assets/AvatarWithStatus-CxEAGmUA.css +1 -0
  26. package/dist/assets/AvatarWithStatus.stories-DeWJ6ypF.js +42 -0
  27. package/dist/assets/Badge-j_a0acGK.css +1 -0
  28. package/dist/assets/{Badge.stories-BY6I7UQ6.js → Badge.stories-CSQZXuAX.js} +2 -2
  29. package/dist/assets/Box-CjExCUkg.css +1 -0
  30. package/dist/assets/Box.stories-Vj0MUVA1.js +44 -0
  31. package/dist/assets/Button-BlwReLw5.js +20 -0
  32. package/dist/assets/Button-CB2hNkCw.css +1 -0
  33. package/dist/assets/Button-D7I5ig5h.js +1 -0
  34. package/dist/assets/Button-Do66hNtY.css +1 -0
  35. package/dist/assets/Button.stories-VxG3jfx5.js +252 -0
  36. package/dist/assets/ButtonBase-BCfmDQ_b.js +8 -0
  37. package/dist/assets/ButtonBase-C0CIM4Jh.css +1 -0
  38. package/dist/assets/Chips-DAK2so_G.css +1 -0
  39. package/dist/assets/{Chips.stories-C4g0ajtC.js → Chips.stories-3FQFAew8.js} +7 -7
  40. package/dist/assets/{Color-YHDXOIA2-n0bEiukQ.js → Color-YHDXOIA2-BYOU6QkC.js} +1 -1
  41. package/dist/assets/Dialog-DzqSHLus.css +1 -0
  42. package/dist/assets/{Dialog.stories-D74D9Tdn.js → Dialog.stories-CjuVHAg6.js} +18 -18
  43. package/dist/assets/{DocsRenderer-CFRXHY34-BhNva4nY.js → DocsRenderer-CFRXHY34-D1fchdBc.js} +1 -1
  44. package/dist/assets/FieldAdditionalText-BD8S7qnE.js +1 -0
  45. package/dist/assets/FieldAdditionalText-CuXtSnrq.css +1 -0
  46. package/dist/assets/{FieldAdditionalText.stories-CgNnZYRi.js → FieldAdditionalText.stories-Bkm8WlSW.js} +1 -1
  47. package/dist/assets/FieldButton-D_5Zrlco.js +1 -0
  48. package/dist/assets/FieldButton-Picq604V.css +1 -0
  49. package/dist/assets/{FieldButton.stories-ChS0IeCP.js → FieldButton.stories-C33Mb60l.js} +1 -1
  50. package/dist/assets/FieldLayout-DHSEWaEL.js +1 -0
  51. package/dist/assets/FieldLayout-uwpycSl9.css +1 -0
  52. package/dist/assets/{FieldLayout.stories-C5bw8Efg.js → FieldLayout.stories-BNq7gZCI.js} +1 -1
  53. package/dist/assets/FieldLayoutBase-C_wbpu8u.css +1 -0
  54. package/dist/assets/FieldLayoutBase-xV81xRaV.js +12 -0
  55. package/dist/assets/Heading-Bj7LLgoH.js +2 -0
  56. package/dist/assets/Heading-C14zK0Nl.css +1 -0
  57. package/dist/assets/{Heading.stories-D9Zye7km.js → Heading.stories-DUVgn-sr.js} +1 -1
  58. package/dist/assets/Icon-C3YgliEf.css +1 -0
  59. package/dist/assets/Icon-CBFs9hMA.js +1 -0
  60. package/dist/assets/Icon-D_HQx804.css +1 -0
  61. package/dist/assets/{Icon-RSC-YupbVJQy.js → Icon-RSC-BuTFeAj0.js} +1 -1
  62. package/dist/assets/Icon-Wpz7-Jvg.js +8 -0
  63. package/dist/assets/{Icon.stories-jVWnmDlZ.js → Icon.stories-DzUVuQaU.js} +1 -1
  64. package/dist/assets/IconButton-B7CxWK4j.js +8 -0
  65. package/dist/assets/InputText-m06Ec_iQ.js +5 -0
  66. package/dist/assets/{LayoutFlex-D2upWEjL.js → LayoutFlex-5ZDeW2G6.js} +1 -1
  67. package/dist/assets/{LayoutFlex-BOiDmozK.js → LayoutFlex-l6VPaSCi.js} +1 -1
  68. package/dist/assets/LayoutFlexItem-C4cPPR-1.css +1 -0
  69. package/dist/assets/LayoutFlexItem-DhCHigTj.js +1 -0
  70. package/dist/assets/LayoutGrid-CNwH06zf.js +1 -0
  71. package/dist/assets/LayoutGrid-Cm59X3OY.css +1 -0
  72. package/dist/assets/LayoutGrid-mQT2ikS8.css +1 -0
  73. package/dist/assets/LayoutGrid.stories-CJKRu44f.js +88 -0
  74. package/dist/assets/LayoutGridItem-BEFb1grO.css +1 -0
  75. package/dist/assets/LayoutGridItem-BYIEoI8K.js +1 -0
  76. package/dist/assets/Link-K5J3waqL.css +1 -0
  77. package/dist/assets/{Link.stories-BSLk0Pem.js → Link.stories-DdA4w7Yi.js} +8 -7
  78. package/dist/assets/Loader-hjoeRutr.css +1 -0
  79. package/dist/assets/Loader.stories-DXv_QpEq.js +37 -0
  80. package/dist/assets/NumberField-BwQ_OX3b.css +1 -0
  81. package/dist/assets/{NumberField.stories-DzaH3Pwj.js → NumberField.stories-B0au_GJa.js} +3 -3
  82. package/dist/assets/{ObserveIntersection-D396wl1Z.js → ObserveIntersection-Ccn6ggRl.js} +1 -1
  83. package/dist/assets/{ObserveIntersection.stories-DIe0cEvy.js → ObserveIntersection.stories-CK5RwCMK.js} +1 -1
  84. package/dist/assets/OnboardingTooltip-CsmroJZe.css +1 -0
  85. package/dist/assets/{OnboardingTooltip-Bl0XDogf.js → OnboardingTooltip-DkJtTrMv.js} +1 -1
  86. package/dist/assets/{OnboardingTooltip.stories-B0FIL9CU.js → OnboardingTooltip.stories-CBEGxsdn.js} +1 -1
  87. package/dist/assets/{OnboardingTooltip.tests.stories-JJZpRwk6.js → OnboardingTooltip.tests.stories-BVwCf3WX.js} +1 -1
  88. package/dist/assets/OnboardingTour-CiSAhOo4.js +4 -0
  89. package/dist/assets/OnboardingTour-D0hvRI8H.css +1 -0
  90. package/dist/assets/{OnboardingTour.stories--g6PQm9S.js → OnboardingTour.stories-Ci2XQcpZ.js} +1 -1
  91. package/dist/assets/{OnboardingTour.tests.stories-QS0jiTXB.js → OnboardingTour.tests.stories-fpAsT8xG.js} +1 -1
  92. package/dist/assets/PasswordField-pNO2_I4U.css +1 -0
  93. package/dist/assets/{PasswordField.stories-BPdZcEeu.js → PasswordField.stories-tMCP_-zS.js} +2 -2
  94. package/dist/assets/PreplyLogo-CTlTSEJp.css +1 -0
  95. package/dist/assets/PreplyLogo.stories-D-KuDEpf.js +98 -0
  96. package/dist/assets/ProgressBar-BmNYDQH3.css +1 -0
  97. package/dist/assets/{ProgressBar.stories-C3Hx8JBS.js → ProgressBar.stories-RX3TC-Mj.js} +1 -1
  98. package/dist/assets/ProgressSteps-BdahNXrs.js +2 -0
  99. package/dist/assets/ProgressSteps-DOMtSbxl.css +1 -0
  100. package/dist/assets/{ProgressSteps.stories-C4sfVcPt.js → ProgressSteps.stories-BOqzHA8v.js} +1 -1
  101. package/dist/assets/RootProvider-F-KPwN7Y.js +1 -0
  102. package/dist/assets/SelectField-D3L7IkDZ.css +1 -0
  103. package/dist/assets/SelectField.stories-BiKwJ7cJ.js +182 -0
  104. package/dist/assets/{ShowOnIntersection.stories-BYz5GE4A.js → ShowOnIntersection.stories-D4B8EpSn.js} +1 -1
  105. package/dist/assets/Spinner-B2C3RkCF.js +1 -0
  106. package/dist/assets/Spinner-CzIq-Vt3.css +1 -0
  107. package/dist/assets/Steps-B_rpKUTa.css +1 -0
  108. package/dist/assets/Steps-cwath_9x.js +26 -0
  109. package/dist/assets/{Steps.stories-D3jWUCfp.js → Steps.stories-BKq08-vN.js} +1 -1
  110. package/dist/assets/Text-BXZIkJPK.js +1 -0
  111. package/dist/assets/Text-BjBJEVRG.css +1 -0
  112. package/dist/assets/Text-CXoN02OL.js +1 -0
  113. package/dist/assets/Text-DWmJ-bA2.css +1 -0
  114. package/dist/assets/{Text.stories-MU-T7clI.js → Text.stories--sqpLsAp.js} +1 -1
  115. package/dist/assets/TextField-BdRa6kYC.js +1 -0
  116. package/dist/assets/TextField-CpavA6nv.css +1 -0
  117. package/dist/assets/TextField-Drr2dczB.css +1 -0
  118. package/dist/assets/{TextField.stories-CXDhM8SN.js → TextField.stories-Bclgc2EW.js} +3 -3
  119. package/dist/assets/TextHighlighted-BnmI0H3i.css +1 -0
  120. package/dist/assets/TextHighlighted-UGbUAPIH.js +1 -0
  121. package/dist/assets/TextHighlighted-XaAzBaUc.css +1 -0
  122. package/dist/assets/TextHighlighted.stories-NdWGjEJo.js +32 -0
  123. package/dist/assets/TextInline-CztA0I1b.css +1 -0
  124. package/dist/assets/TextInline.stories-CUApO-7f.js +37 -0
  125. package/dist/assets/TextareaField-D7ErWnri.css +1 -0
  126. package/dist/assets/{TextareaField.stories-8FWfbQuv.js → TextareaField.stories-DeszU8P5.js} +3 -3
  127. package/dist/assets/Toast-Bce4LWtf.css +1 -0
  128. package/dist/assets/{Toast.stories-D7QEZPb5.js → Toast.stories-ddQWgL74.js} +9 -9
  129. package/dist/assets/Tooltip-Cm9bKrYj.css +1 -0
  130. package/dist/assets/{Tooltip-zv_6ckj2.js → Tooltip-DfP6dW5t.js} +1 -1
  131. package/dist/assets/{Tooltip.stories-qNBQgLBX.js → Tooltip.stories-BFaVZ-KR.js} +1 -1
  132. package/dist/assets/{Tooltip.tests.stories-DdHKI1ve.js → Tooltip.tests.stories-BdWpurqX.js} +1 -1
  133. package/dist/assets/{breakpoints-LpH7GcYD.js → breakpoints-DZrjMODJ.js} +1 -1
  134. package/dist/assets/{breakpoints-zK4Z5SKD.js → breakpoints-OMNEQfen.js} +1 -1
  135. package/dist/assets/{breakpoints-DTrgfqbR.js → breakpoints-nQG7mZUy.js} +1 -1
  136. package/dist/assets/{changelog-kNvLUHOz.js → changelog-DKkspQMC.js} +224 -207
  137. package/dist/assets/{entry-preview-DjAFPLGc.js → entry-preview-Di48KvWt.js} +1 -1
  138. package/dist/assets/{getTokenVar-BIGy16TO.js → getTokenVar-CaVPbV9a.js} +1 -1
  139. package/dist/assets/{hover-CRiTDNhR.js → hover-5sSVivzT.js} +1 -1
  140. package/dist/assets/{hover-CaTImSM4.js → hover-CqG5MZbC.js} +1 -1
  141. package/dist/assets/{hover-p3QJEZw5.js → hover-DcOblfBc.js} +1 -1
  142. package/dist/assets/{iframe-9Hj_MNfh.js → iframe-C8qEtSwt.js} +2 -2
  143. package/dist/assets/{index-DRVMKRNe.js → index-Ba1GaWBz.js} +3 -3
  144. package/dist/assets/{index-BXfuwMTe.js → index-Cp5_iz39.js} +1 -1
  145. package/dist/assets/{intro-DzWewgwc.js → intro-BsAuI9-C.js} +1 -1
  146. package/dist/assets/layout-relative-BGyAoF2N.css +1 -0
  147. package/dist/assets/layout-relative-BpJIh3YK.js +1 -0
  148. package/dist/assets/layout-relative-C4ATemga.css +1 -0
  149. package/dist/assets/layout-relative-DuJENdo5.css +1 -0
  150. package/dist/assets/layout-relative.module-1z75aSwo-DNAR_Nv2.js +1 -0
  151. package/dist/assets/layout-relative.module-ed9bC4H4.js +1 -0
  152. package/dist/assets/{migrating-from-less-tN-JFjco.js → migrating-from-less-DIb86N4R.js} +1 -1
  153. package/dist/assets/playground-t-QHn_5x.css +1 -0
  154. package/dist/assets/{playground.stories-DMK1ZcmP.js → playground.stories-CTz0xGuT.js} +59 -59
  155. package/dist/assets/{preview-CvW0gOh5.js → preview-BOyk1pfY.js} +1 -1
  156. package/dist/assets/{preview-BCYWUPon.js → preview-CBMehSre.js} +1 -1
  157. package/dist/assets/{preview-BI7kN1TP.js → preview-DvauSVRq.js} +2 -2
  158. package/dist/assets/text-accent-CDvOoGdV.css +1 -0
  159. package/dist/assets/text-accent-CZD2Hmtq.js +1 -0
  160. package/dist/assets/text-accent-DZDDtpIt.js +1 -0
  161. package/dist/assets/text-accent-WDJkKazf.css +1 -0
  162. package/dist/assets/text-centered-Bk7GkK8R.js +1 -0
  163. package/dist/assets/text-centered-CznToR0o.js +1 -0
  164. package/dist/assets/text-centered-DN9XHxjM.css +1 -0
  165. package/dist/assets/text-centered-DxXu3Wfr.css +1 -0
  166. package/dist/assets/{tokens-d5jI-VhO.js → tokens-C4H21x5Y.js} +1 -1
  167. package/dist/assets/{tokens-C0oPORlF.js → tokens-DY9UJMme.js} +1 -1
  168. package/dist/assets/{tokens-kLWqWJLR.js → tokens-bDgXZ1xi.js} +1 -1
  169. package/dist/assets/{usePortalElement-D3vRKAB1.js → usePortalElement-hM2pDsQq.js} +1 -1
  170. package/dist/assets/{welcome-CvEfK4A3.js → welcome-DaVgjrPL.js} +1 -1
  171. package/dist/assets/{zeroheight-wKcu_QWZ.js → zeroheight-D5Xa3jWw.js} +1 -1
  172. package/dist/iframe.html +1 -1
  173. package/dist/index.json +1 -1
  174. package/dist/preview-stats.json +1653 -1650
  175. package/dist/project.json +1 -1
  176. package/package.json +3 -3
  177. package/vite.config.ts +10 -0
  178. package/dist/assets/40.illustrations.explorer-SD9H4gQS.js +0 -21
  179. package/dist/assets/AlertDialog-CNsqqwq6.css +0 -1
  180. package/dist/assets/Avatar-BWVdwHlY.js +0 -6
  181. package/dist/assets/Avatar-BaeMEqzB.js +0 -1
  182. package/dist/assets/Avatar-DELee2ui.css +0 -1
  183. package/dist/assets/Avatar-SizFbjOh.css +0 -1
  184. package/dist/assets/AvatarWithStatus-B8ohNruV.css +0 -1
  185. package/dist/assets/AvatarWithStatus.stories-CKhKeqbK.js +0 -41
  186. package/dist/assets/Badge-BTktKAv_.css +0 -1
  187. package/dist/assets/Box-Ci4ycgSn.css +0 -1
  188. package/dist/assets/Box.stories-DF2h791P.js +0 -44
  189. package/dist/assets/Button-CWNujLtP.js +0 -20
  190. package/dist/assets/Button-Cjld0T4n.css +0 -1
  191. package/dist/assets/Button-NXZW8cHc.css +0 -1
  192. package/dist/assets/Button-itdvNgOg.js +0 -1
  193. package/dist/assets/Button.stories-DUHAAHTV.js +0 -211
  194. package/dist/assets/ButtonBase-CJjNfOwu.js +0 -8
  195. package/dist/assets/ButtonBase-ixkzvA2i.css +0 -1
  196. package/dist/assets/Chips-2wQm6zLU.css +0 -1
  197. package/dist/assets/Dialog-BKWHIlGs.css +0 -1
  198. package/dist/assets/FieldAdditionalText-BiaO_Yss.js +0 -1
  199. package/dist/assets/FieldAdditionalText-tbMWNWhN.css +0 -1
  200. package/dist/assets/FieldButton-B_tn3Eq6.css +0 -1
  201. package/dist/assets/FieldButton-D0MgvwIU.js +0 -1
  202. package/dist/assets/FieldLayout-6dPZQnKP.css +0 -1
  203. package/dist/assets/FieldLayout-BbLKeSmh.js +0 -1
  204. package/dist/assets/FieldLayoutBase-DhKLFBcH.js +0 -12
  205. package/dist/assets/FieldLayoutBase-_Sj6YO8M.css +0 -1
  206. package/dist/assets/Heading-Ba64-F3t.css +0 -1
  207. package/dist/assets/Heading-DcJnmvUa.js +0 -2
  208. package/dist/assets/Icon-BQSXaoh3.css +0 -1
  209. package/dist/assets/Icon-ByBuC1kf.css +0 -1
  210. package/dist/assets/Icon-DbIHupWZ.js +0 -8
  211. package/dist/assets/Icon-pHhBCzBO.js +0 -1
  212. package/dist/assets/IconButton-C3AcGEY7.js +0 -8
  213. package/dist/assets/InputText-CL5Snaht.js +0 -5
  214. package/dist/assets/LayoutFlexItem-BWKgsCDT.css +0 -1
  215. package/dist/assets/LayoutFlexItem-Su5RvuQk.js +0 -1
  216. package/dist/assets/LayoutGrid-BG29rjrt.js +0 -1
  217. package/dist/assets/LayoutGrid-BId9Yglz.css +0 -1
  218. package/dist/assets/LayoutGrid-Cw_n5H21.css +0 -1
  219. package/dist/assets/LayoutGrid.stories-DKw5d1ZE.js +0 -88
  220. package/dist/assets/LayoutGridItem-C-iUb7WL.css +0 -1
  221. package/dist/assets/LayoutGridItem-D5Hb9kQy.js +0 -1
  222. package/dist/assets/Link-LMW4jOcv.css +0 -1
  223. package/dist/assets/Loader-Bx87E7sh.css +0 -1
  224. package/dist/assets/Loader.stories-DUgJSe87.js +0 -37
  225. package/dist/assets/NumberField-C0w7Zzcx.css +0 -1
  226. package/dist/assets/OnboardingTooltip-DceGOXFO.css +0 -1
  227. package/dist/assets/OnboardingTour-DaxzhhRL.css +0 -1
  228. package/dist/assets/OnboardingTour-pR_NmiBL.js +0 -4
  229. package/dist/assets/PasswordField-CW55DLIa.css +0 -1
  230. package/dist/assets/PreplyLogo-DnbCD6MN.css +0 -1
  231. package/dist/assets/PreplyLogo.stories-DyGEUhO3.js +0 -97
  232. package/dist/assets/ProgressBar-BHaYRC97.css +0 -1
  233. package/dist/assets/ProgressSteps-7jb0rnSw.js +0 -2
  234. package/dist/assets/ProgressSteps-HPd6w_Nr.css +0 -1
  235. package/dist/assets/RootProvider-BgscvpVs.js +0 -1
  236. package/dist/assets/SelectField-DMcbwWwy.css +0 -1
  237. package/dist/assets/SelectField.stories-C3X-5JHt.js +0 -182
  238. package/dist/assets/Spinner-CixbAVEL.css +0 -1
  239. package/dist/assets/Spinner-Iaah9nUJ.js +0 -1
  240. package/dist/assets/Steps-CRCACZIC.css +0 -1
  241. package/dist/assets/Steps-CfdqlU3Q.js +0 -26
  242. package/dist/assets/Text-CxaHmdy3.css +0 -1
  243. package/dist/assets/Text-i5U7-KMF.js +0 -1
  244. package/dist/assets/Text-nWyCR02l.js +0 -1
  245. package/dist/assets/TextField-CVWDg_y4.css +0 -1
  246. package/dist/assets/TextField-DFm3O-Tl.js +0 -1
  247. package/dist/assets/TextField-DYLqe3tJ.css +0 -1
  248. package/dist/assets/TextHighlighted-CgBvDnFO.css +0 -1
  249. package/dist/assets/TextHighlighted-LVoJ79mt.js +0 -1
  250. package/dist/assets/TextHighlighted.stories-Db5JA9US.js +0 -32
  251. package/dist/assets/TextInline-BWC2_5IX.css +0 -1
  252. package/dist/assets/TextInline.stories-DGBhhF71.js +0 -37
  253. package/dist/assets/TextareaField-CZ8v7yuT.css +0 -1
  254. package/dist/assets/Toast-BrvHWUik.css +0 -1
  255. package/dist/assets/Tooltip-xWfAzqNZ.css +0 -1
  256. package/dist/assets/layout-relative-BCl7bwOR.css +0 -1
  257. package/dist/assets/layout-relative-DIZ6zNub.css +0 -1
  258. package/dist/assets/layout-relative-PI7LimOc.css +0 -1
  259. package/dist/assets/layout-relative-UGlXPWqj.js +0 -1
  260. package/dist/assets/layout-relative.module-C63T27Fr.js +0 -1
  261. package/dist/assets/layout-relative.module-DIaUqnvq-DH_OPu7E.js +0 -1
  262. package/dist/assets/playground-D77Ee-EK.css +0 -1
  263. package/dist/assets/text-accent-BBah0rth.js +0 -1
  264. package/dist/assets/text-accent-BMdpzlaC.js +0 -1
  265. package/dist/assets/text-accent-Co1hrpvA.css +0 -1
  266. package/dist/assets/text-centered-DWGGTNIZ.css +0 -1
  267. package/dist/assets/text-centered-NqfVCsvd.css +0 -1
  268. package/dist/assets/text-centered-VuFsr_qt.js +0 -1
  269. package/dist/assets/text-centered-gMYE7PWw.js +0 -1
@@ -0,0 +1 @@
1
+ import{j as o}from"./jsx-runtime-BTJTZTIL.js";import{m as r,s as n}from"./classNames-BUL1Zq7e.js";import{w as a}from"./componentNames-Bwls0I02.js";import{g as s}from"./index-DdzHuZ-Y.js";import{a as m}from"./constants-DL6gdbsq.js";const p="FieldAdditionalText__CoPKP",u={FieldAdditionalText:p,"FieldAdditionalText--variant-normal":"FieldAdditionalText--variant-normal__WbcsV","FieldAdditionalText--variant-error":"FieldAdditionalText--variant-error__auJcl"},i=({id:e,variant:t=m,children:l})=>{const d=r(u,a.FieldAdditionalText,[n("variant",t)]);return o.jsx("p",{id:e,className:d.join(" "),...s(void 0,{preplyDsComponent:a.FieldAdditionalText}),children:l})};try{i.displayName="FieldAdditionalText",i.__docgenInfo={description:"",displayName:"FieldAdditionalText",props:{variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"error"'},{value:'"normal"'}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"enum",value:[{value:"string"}]}}}}}catch{}export{i as F};
@@ -0,0 +1 @@
1
+ .FieldAdditionalText__CoPKP{margin:0;font-weight:var(--026ea8);font-size:var(--3f1843);line-height:var(--030292);letter-spacing:var(--c142cd)}.FieldAdditionalText--variant-normal__WbcsV{color:var(--3d280d)}.FieldAdditionalText--variant-error__auJcl{color:var(--9167e9)}
@@ -1,4 +1,4 @@
1
- import{j as u}from"./jsx-runtime-BTJTZTIL.js";import{F as o}from"./FieldAdditionalText-BiaO_Yss.js";import"./index-ChsGqxH_.js";import"./classNames-BUL1Zq7e.js";import"./componentNames-Bwls0I02.js";import"./index-DdzHuZ-Y.js";import"./constants-DL6gdbsq.js";const v={title:"components/FieldAdditionalText",component:o},r=()=>u.jsx(o,{children:"Provide a telephone number so we can contact you."}),e=()=>u.jsx(o,{variant:"error",children:"Please fill out this field."}),t={parameters:{chromatic:{disableSnapshot:!0}},args:{children:"Additional text",variant:"normal"},argTypes:{children:{control:"text"},id:{control:"text"}}};var a,n,i;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"() => <FieldAdditionalText>Provide a telephone number so we can contact you.</FieldAdditionalText>",...(i=(n=r.parameters)==null?void 0:n.docs)==null?void 0:i.source}}};var s,d,l;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:'() => <FieldAdditionalText variant="error">Please fill out this field.</FieldAdditionalText>',...(l=(d=e.parameters)==null?void 0:d.docs)==null?void 0:l.source}}};var c,m,p;t.parameters={...t.parameters,docs:{...(c=t.parameters)==null?void 0:c.docs,source:{originalSource:`{
1
+ import{j as u}from"./jsx-runtime-BTJTZTIL.js";import{F as o}from"./FieldAdditionalText-BD8S7qnE.js";import"./index-ChsGqxH_.js";import"./classNames-BUL1Zq7e.js";import"./componentNames-Bwls0I02.js";import"./index-DdzHuZ-Y.js";import"./constants-DL6gdbsq.js";const v={title:"components/FieldAdditionalText",component:o},r=()=>u.jsx(o,{children:"Provide a telephone number so we can contact you."}),e=()=>u.jsx(o,{variant:"error",children:"Please fill out this field."}),t={parameters:{chromatic:{disableSnapshot:!0}},args:{children:"Additional text",variant:"normal"},argTypes:{children:{control:"text"},id:{control:"text"}}};var a,n,i;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"() => <FieldAdditionalText>Provide a telephone number so we can contact you.</FieldAdditionalText>",...(i=(n=r.parameters)==null?void 0:n.docs)==null?void 0:i.source}}};var s,d,l;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:'() => <FieldAdditionalText variant="error">Please fill out this field.</FieldAdditionalText>',...(l=(d=e.parameters)==null?void 0:d.docs)==null?void 0:l.source}}};var c,m,p;t.parameters={...t.parameters,docs:{...(c=t.parameters)==null?void 0:c.docs,source:{originalSource:`{
2
2
  parameters: {
3
3
  chromatic: {
4
4
  disableSnapshot: true
@@ -0,0 +1 @@
1
+ import{j as n}from"./jsx-runtime-BTJTZTIL.js";import{r as f}from"./index-Cb9e4tly.js";import{f as v}from"./filterHTMLAttributes-DYdLqcvH.js";import{m as y}from"./classNames-BUL1Zq7e.js";import{g}from"./index-DdzHuZ-Y.js";import{w as a}from"./componentNames-Bwls0I02.js";const b="FieldButton__ZIYKf",h={FieldButton:b},l=f.forwardRef(function({svg:o,assistiveText:r,onClick:e,dataset:u,...i},m){const d=y(h,a.FieldButton),p=t=>{t.stopPropagation(),e==null||e(t)},c={...v(i),...g(u,{preplyDsComponent:a.FieldButton}),className:d.join(" "),title:r,onClick:p,ref:m};return n.jsx("button",{...c,type:"button",children:n.jsx(o,{"aria-hidden":"true",focusable:"false"})})});try{l.displayName="FieldButton",l.__docgenInfo={description:"",displayName:"FieldButton",props:{svg:{defaultValue:null,description:"",name:"svg",required:!0,type:{name:"enum",value:[{value:"ComponentClass<SVGAttributes<SVGElement>, any>"},{value:"FunctionComponent<SVGAttributes<SVGElement>>"}]}},assistiveText:{defaultValue:null,description:"",name:"assistiveText",required:!0,type:{name:"string"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!0,type:{name:"MouseEventHandler<Element>"}},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: HTMLButtonElement | null) => void"},{value:"RefObject<HTMLButtonElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{l as F};
@@ -0,0 +1 @@
1
+ .FieldButton__ZIYKf{display:flex;justify-content:center;align-items:center;min-width:var(--d57208);height:var(--3caeb9);border-width:1px;border-style:solid;border-radius:var(--0191ea);border-color:var(--ea1746);background:none;border:none;cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;-ms-touch-action:manipulation;touch-action:manipulation}@media (hover: hover) and (pointer: fine){.FieldButton__ZIYKf:hover{background-color:var(--0bbea4)}}.FieldButton__ZIYKf:active{background-color:var(--33e933)}.FieldButton__ZIYKf:focus-visible{outline-style:solid;outline-color:var(--603ec6);outline-width:var(--99d31f);outline-offset:var(--c0b12c)}.FieldButton__ZIYKf svg{width:var(--f02c4e);height:var(--f02c4e)}
@@ -1 +1 @@
1
- import{j as i}from"./jsx-runtime-BTJTZTIL.js";import{F as m}from"./LibraryExplore-oBYfEgnm.js";import{F as s}from"./FieldButton-D0MgvwIU.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./classNames-BUL1Zq7e.js";import"./index-DdzHuZ-Y.js";import"./componentNames-Bwls0I02.js";const v={title:"components/FieldButton",component:s},o=()=>i.jsx(s,{svg:m,assistiveText:"Lorem Ipsum",onClick:()=>{}});o.storyName="FieldButton";var t,e,r;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:'() => <FieldButton svg={LibSvg} assistiveText="Lorem Ipsum" onClick={() => undefined} />',...(r=(e=o.parameters)==null?void 0:e.docs)==null?void 0:r.source}}};const B=["Base"];export{o as Base,B as __namedExportsOrder,v as default};
1
+ import{j as i}from"./jsx-runtime-BTJTZTIL.js";import{F as m}from"./LibraryExplore-oBYfEgnm.js";import{F as s}from"./FieldButton-D_5Zrlco.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./classNames-BUL1Zq7e.js";import"./index-DdzHuZ-Y.js";import"./componentNames-Bwls0I02.js";const v={title:"components/FieldButton",component:s},o=()=>i.jsx(s,{svg:m,assistiveText:"Lorem Ipsum",onClick:()=>{}});o.storyName="FieldButton";var t,e,r;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:'() => <FieldButton svg={LibSvg} assistiveText="Lorem Ipsum" onClick={() => undefined} />',...(r=(e=o.parameters)==null?void 0:e.docs)==null?void 0:r.source}}};const B=["Base"];export{o as Base,B as __namedExportsOrder,v as default};
@@ -0,0 +1 @@
1
+ import{j as s}from"./jsx-runtime-BTJTZTIL.js";import{r as d}from"./index-Cb9e4tly.js";import{F as R}from"./FieldLayoutBase-xV81xRaV.js";import{a as i,b as a}from"./classNames-BUL1Zq7e.js";import{w as t}from"./componentNames-Bwls0I02.js";const o={"FieldLayout--input":"FieldLayout--input__S9dCf","FieldLayout--icon":"FieldLayout--icon__JB-Wr","FieldLayout--has-icon":"FieldLayout--has-icon__nVufM","FieldLayout--has-button":"FieldLayout--has-button__Bm1EH","FieldLayout--has-error":"FieldLayout--has-error__vOs7G","FieldLayout--is-focused":"FieldLayout--is-focused__wpVsa","FieldLayout--is-disabled":"FieldLayout--is-disabled__oeFhA"},N=({id:m,className:c,input:F,icon:n,button:v,disabled:p,isFocused:f,hasError:y,inputHandle:e,onClick:r,preplyDsComponent:L,...V},q)=>{const l=d.useRef(null);d.useImperativeHandle(q,()=>({setFocus:()=>e==null?void 0:e.setFocus(),scrollIntoView:()=>{var u;return(u=l==null?void 0:l.current)==null?void 0:u.scrollIntoView()}}));const h=i(o,t.FieldLayout,[a("is-disabled",void 0,p),a("is-focused",void 0,f),a("has-error",void 0,y),a("has-icon",void 0,!!n),a("has-button",void 0,!!v)]),g=c?[c,...h]:h,_=i(o,t.FieldLayout,["input"]),C=i(o,t.FieldLayout,["icon"]),E=u=>{e==null||e.setFocus(),r==null||r(u)};return s.jsx(R,{id:m,className:g.join(" "),disabled:p,isFocused:f,hasError:y,...V,preplyDsComponent:L??t.FieldLayout,ref:l,children:s.jsxs("div",{className:_.join(" "),onClick:E,children:[n&&s.jsx("span",{className:C.join(" "),children:n}),F,v]})})},b=d.forwardRef(N);try{b.displayName="FieldLayout",b.__docgenInfo={description:"A component for building custom fields.",displayName:"FieldLayout",props:{preplyDsComponent:{defaultValue:null,description:"@see getDatasetProps",name:"preplyDsComponent",required:!1,type:{name:"enum",value:[{value:"string"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"enum",value:[{value:"undefined"},{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"enum",value:[{value:"string"}]}},hideLabel:{defaultValue:null,description:"",name:"hideLabel",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},wrapLabel:{defaultValue:null,description:"",name:"wrapLabel",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},requiredLabel:{defaultValue:null,description:"",name:"requiredLabel",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},additionalText:{defaultValue:null,description:"",name:"additionalText",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},preserveSpace:{defaultValue:null,description:"",name:"preserveSpace",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},isFocused:{defaultValue:null,description:"",name:"isFocused",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},isTouched:{defaultValue:null,description:"",name:"isTouched",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},isChanged:{defaultValue:null,description:"",name:"isChanged",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},hasValue:{defaultValue:null,description:"",name:"hasValue",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"}]}},input:{defaultValue:null,description:"An `<input>` element.",name:"input",required:!0,type:{name:"ReactElement<any, string | JSXElementConstructor<any>>"}},inputHandle:{defaultValue:null,description:"A ref handle to the `<input>` element, used to manage focus when\nclicking on elements within the layout, such as the button and icon.",name:"inputHandle",required:!0,type:{name:"enum",value:[{value:"null"},{value:"InputImperativeHandle"}]}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"enum",value:[{value:"ReactElement<IconProps, string | JSXElementConstructor<any>>"}]}},button:{defaultValue:null,description:"",name:"button",required:!1,type:{name:"enum",value:[{value:"ReactElement<FieldButtonProps, string | JSXElementConstructor<any>>"}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler<Element>"}]}},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{b as F};
@@ -0,0 +1 @@
1
+ .FieldLayout--input__S9dCf{border-radius:var(--c4b051);display:flex;position:relative;align-items:center;background-color:var(--302ecf);color:var(--41d493);background-color:var(--211bc0)}@media (hover: hover) and (pointer: fine){.FieldLayout--input__S9dCf:hover input,.FieldLayout--input__S9dCf:hover textarea{border-color:var(--0bd642)}}.FieldLayout--input__S9dCf input,.FieldLayout--input__S9dCf textarea{border-color:var(--29cd58);border-width:var(--d9baa3);border-radius:var(--c4b051);border-style:solid;background:none;outline:none;font-size:var(--0c62d6);font-weight:var(--cb99be);line-height:var(--829b1e);letter-spacing:var(--035113);font-style:var(--a833d1);font-variation-settings:var(--5bcea1);padding:calc(var(--d9baa3) + var(--1ba55a));padding-right:calc(var(--477fda) - var(--d9baa3));padding-left:calc(var(--477fda) - var(--d9baa3))}.FieldLayout--input__S9dCf input::placeholder,.FieldLayout--input__S9dCf textarea::placeholder{color:var(--d9209f)}.FieldLayout--icon__JB-Wr{position:absolute;top:0;display:flex;align-items:center;height:100%;left:calc(var(--477fda) - var(--d9baa3));font-size:0;pointer-events:none}.FieldLayout--icon__JB-Wr svg{color:var(--cbc724)}.FieldLayout--has-icon__nVufM .FieldLayout--input__S9dCf input{padding-left:calc(calc(var(--477fda) - var(--d9baa3)) + var(--7c1b1c) + var(--1ba55a))}.FieldLayout--has-button__Bm1EH .FieldLayout--input__S9dCf input{padding-right:58px}.FieldLayout--has-error__vOs7G .FieldLayout--input__S9dCf{background-color:var(--95df5b)}.FieldLayout--has-error__vOs7G .FieldLayout--input__S9dCf input,.FieldLayout--has-error__vOs7G .FieldLayout--input__S9dCf textarea{border-color:var(--eaf4a3);color:var(--7b0f41)}.FieldLayout--has-error__vOs7G .FieldLayout--icon__JB-Wr svg{color:var(--7b0f41)}.FieldLayout--is-focused__wpVsa .FieldLayout--input__S9dCf input,.FieldLayout--is-focused__wpVsa .FieldLayout--input__S9dCf textarea{border-color:var(--398094)}.FieldLayout--is-disabled__oeFhA .FieldLayout--input__S9dCf{background-color:var(--04daeb)}.FieldLayout--is-disabled__oeFhA .FieldLayout--input__S9dCf input,.FieldLayout--is-disabled__oeFhA .FieldLayout--input__S9dCf textarea{border-color:transparent}.FieldLayout--input__S9dCf button{position:absolute;top:calc(var(--1ba55a) + var(--6947b0));right:var(--6947b0);margin-top:calc(-1 * var(--1ba55a));margin-bottom:calc(-1 * var(--1ba55a))}
@@ -1,4 +1,4 @@
1
- import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{r as U}from"./index-Cb9e4tly.js";import{a as g}from"./chunk-D5ZWXAHU-BhFjjRSl.js";import{u as X,w as M,e as P}from"./index-BVDq5o4N.js";import{F as Z,a as ee}from"./TokyoUIUser-Hwg3-lyt.js";import{F as re}from"./FieldButton-D0MgvwIU.js";import{I as te}from"./Icon-DbIHupWZ.js";import{I as ae}from"./InputText-CL5Snaht.js";import{F as h}from"./FieldLayout-BbLKeSmh.js";import{B as Q}from"./Button-CWNujLtP.js";import{T as oe}from"./Text-nWyCR02l.js";import{u as se}from"./useForcedRef--iGFM41p.js";import"./index-ChsGqxH_.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./v4-CtRu48qb.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./classNames-BUL1Zq7e.js";import"./index-DdzHuZ-Y.js";import"./componentNames-Bwls0I02.js";import"./text-accent-BMdpzlaC.js";import"./render-icon-BT0Aq7PA.js";import"./defaults-B1rzzf6M.js";import"./FieldLayoutBase-DhKLFBcH.js";import"./FieldAdditionalText-BiaO_Yss.js";import"./constants-DL6gdbsq.js";import"./index-D1pfvbUR.js";import"./tslib.es6-BntfKcQG.js";import"./hoist-non-react-statics.cjs-C-Qo8PK8.js";import"./message-B1DLZQ1U.js";import"./ButtonBase-CJjNfOwu.js";import"./Spinner-Iaah9nUJ.js";import"./useHostname-Y3PlXofY.js";import"./index-CC6DAVyL.js";import"./text-centered-VuFsr_qt.js";const Ne={title:"components/FieldLayout",component:h,args:{onClick:g("onClick")},render:function(t){const a=U.useRef(null),o=se();return t.ref=a,r.jsx(h,{...t,id:"full-name",label:"Full name",icon:r.jsx(te,{svg:ee,label:"The hat"}),input:r.jsx(ae,{type:"text",id:"full-name-input",ref:o,placeholder:"John Smith",disabled:t.disabled,dataset:{testid:"input"}}),inputHandle:o.current,button:r.jsx(re,{svg:Z,assistiveText:"Do the thing",onClick:g("button clicked")})})}},s={},n={args:{additionalText:"This is additional text"}},i={args:{required:!0}},c={args:{required:!0,requiredLabel:r.jsx(oe,{accent:"critical",variant:"m-bold",children:"Needed"})}},p={args:{hideLabel:!0}},d={args:{isFocused:!0}},u={args:{hasError:!0}},l={args:{disabled:!0}},m={decorators:[(e,{args:t})=>r.jsxs("div",{style:{padding:"8px",margin:"8px"},children:[r.jsxs("p",{children:["You can"," ",r.jsx(Q,{variant:"secondary",dataset:{testid:"focus-button"},onClick:()=>{var a,o;return(o=(a=t.ref)==null?void 0:a.current)==null?void 0:o.setFocus()},children:"Focus"})," ","the input imperatively."]}),r.jsx(e,{})]})],play:async({args:e,canvas:t})=>{if(!x(e.ref))throw new Error("Expected ref.current to be an InputImperativeHandle");const a=t.getByTestId("input");await X.click(t.getByTestId("focus-button")),await M(()=>P(a).toHaveFocus())}},f={decorators:[(e,{args:t})=>r.jsxs("div",{style:{height:"300px",overflow:"scroll",padding:"8px",margin:"8px"},children:[r.jsxs("p",{children:["You can"," ",r.jsx(Q,{variant:"secondary",dataset:{testid:"scroll-button"},onClick:()=>{if(!x(t.ref))throw new Error("Expected ref.current to be an InputImperativeHandle");t.ref.current.scrollIntoView()},children:"Scroll"})," ","the input into view imperatively."]}),r.jsx("div",{style:{height:"1000px",display:"flex",flexDirection:"column",justifyContent:"end",border:"2px dashed lightgray",padding:"16px"},children:r.jsx(e,{})})]})],play:async({args:e,canvas:t})=>{if(!x(e.ref))throw new Error("Expected ref.current to be an InputImperativeHandle");const a=t.getByTestId("input");e.ref.current.scrollIntoView(),await M(()=>P(a).toBeVisible())}};function x(e){return typeof e=="object"&&e!==null&&"current"in e&&e.current!==null&&typeof e.current=="object"&&"setFocus"in e.current}var v,y,b;s.parameters={...s.parameters,docs:{...(v=s.parameters)==null?void 0:v.docs,source:{originalSource:"{}",...(b=(y=s.parameters)==null?void 0:y.docs)==null?void 0:b.source}}};var I,w,F;n.parameters={...n.parameters,docs:{...(I=n.parameters)==null?void 0:I.docs,source:{originalSource:`{
1
+ import{j as r}from"./jsx-runtime-BTJTZTIL.js";import{r as U}from"./index-Cb9e4tly.js";import{a as g}from"./chunk-D5ZWXAHU-BhFjjRSl.js";import{u as X,w as M,e as P}from"./index-BVDq5o4N.js";import{F as Z,a as ee}from"./TokyoUIUser-Hwg3-lyt.js";import{F as re}from"./FieldButton-D_5Zrlco.js";import{I as te}from"./Icon-Wpz7-Jvg.js";import{I as ae}from"./InputText-m06Ec_iQ.js";import{F as h}from"./FieldLayout-DHSEWaEL.js";import{B as Q}from"./Button-BlwReLw5.js";import{T as oe}from"./Text-BXZIkJPK.js";import{u as se}from"./useForcedRef--iGFM41p.js";import"./index-ChsGqxH_.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./v4-CtRu48qb.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./classNames-BUL1Zq7e.js";import"./index-DdzHuZ-Y.js";import"./componentNames-Bwls0I02.js";import"./text-accent-DZDDtpIt.js";import"./render-icon-BT0Aq7PA.js";import"./defaults-B1rzzf6M.js";import"./FieldLayoutBase-xV81xRaV.js";import"./FieldAdditionalText-BD8S7qnE.js";import"./constants-DL6gdbsq.js";import"./index-D1pfvbUR.js";import"./tslib.es6-BntfKcQG.js";import"./hoist-non-react-statics.cjs-C-Qo8PK8.js";import"./message-B1DLZQ1U.js";import"./ButtonBase-BCfmDQ_b.js";import"./Spinner-B2C3RkCF.js";import"./useHostname-Y3PlXofY.js";import"./index-CC6DAVyL.js";import"./text-centered-CznToR0o.js";const Ne={title:"components/FieldLayout",component:h,args:{onClick:g("onClick")},render:function(t){const a=U.useRef(null),o=se();return t.ref=a,r.jsx(h,{...t,id:"full-name",label:"Full name",icon:r.jsx(te,{svg:ee,label:"The hat"}),input:r.jsx(ae,{type:"text",id:"full-name-input",ref:o,placeholder:"John Smith",disabled:t.disabled,dataset:{testid:"input"}}),inputHandle:o.current,button:r.jsx(re,{svg:Z,assistiveText:"Do the thing",onClick:g("button clicked")})})}},s={},n={args:{additionalText:"This is additional text"}},i={args:{required:!0}},c={args:{required:!0,requiredLabel:r.jsx(oe,{accent:"critical",variant:"m-bold",children:"Needed"})}},p={args:{hideLabel:!0}},d={args:{isFocused:!0}},u={args:{hasError:!0}},l={args:{disabled:!0}},m={decorators:[(e,{args:t})=>r.jsxs("div",{style:{padding:"8px",margin:"8px"},children:[r.jsxs("p",{children:["You can"," ",r.jsx(Q,{variant:"secondary",dataset:{testid:"focus-button"},onClick:()=>{var a,o;return(o=(a=t.ref)==null?void 0:a.current)==null?void 0:o.setFocus()},children:"Focus"})," ","the input imperatively."]}),r.jsx(e,{})]})],play:async({args:e,canvas:t})=>{if(!x(e.ref))throw new Error("Expected ref.current to be an InputImperativeHandle");const a=t.getByTestId("input");await X.click(t.getByTestId("focus-button")),await M(()=>P(a).toHaveFocus())}},f={decorators:[(e,{args:t})=>r.jsxs("div",{style:{height:"300px",overflow:"scroll",padding:"8px",margin:"8px"},children:[r.jsxs("p",{children:["You can"," ",r.jsx(Q,{variant:"secondary",dataset:{testid:"scroll-button"},onClick:()=>{if(!x(t.ref))throw new Error("Expected ref.current to be an InputImperativeHandle");t.ref.current.scrollIntoView()},children:"Scroll"})," ","the input into view imperatively."]}),r.jsx("div",{style:{height:"1000px",display:"flex",flexDirection:"column",justifyContent:"end",border:"2px dashed lightgray",padding:"16px"},children:r.jsx(e,{})})]})],play:async({args:e,canvas:t})=>{if(!x(e.ref))throw new Error("Expected ref.current to be an InputImperativeHandle");const a=t.getByTestId("input");e.ref.current.scrollIntoView(),await M(()=>P(a).toBeVisible())}};function x(e){return typeof e=="object"&&e!==null&&"current"in e&&e.current!==null&&typeof e.current=="object"&&"setFocus"in e.current}var v,y,b;s.parameters={...s.parameters,docs:{...(v=s.parameters)==null?void 0:v.docs,source:{originalSource:"{}",...(b=(y=s.parameters)==null?void 0:y.docs)==null?void 0:b.source}}};var I,w,F;n.parameters={...n.parameters,docs:{...(I=n.parameters)==null?void 0:I.docs,source:{originalSource:`{
2
2
  args: {
3
3
  additionalText: 'This is additional text'
4
4
  }
@@ -0,0 +1 @@
1
+ .InputText__FxeHT,.InputPassword__q4ij6,.InputDate__7a78C,.InputTime__52oJ2,.InputNumber__xlaLL,.Textarea__POrZ-{display:block;width:100%;padding:calc(var(--d9baa3) + var(--1ba55a));padding-left:calc(var(--477fda) - var(--d9baa3));padding-right:var(--d9baa3)}.Textarea--resize-none__vTwQm{resize:none}.Textarea--resize-vertical__OLW8E{resize:vertical}.Textarea--resize-horizontal__Smuc-{resize:horizontal}.Textarea--resize-both__Ti-0n{resize:both}.Checkbox__z-SLR,.Radio__jGtyy{display:inline-block}.Select__aV7xP{display:block;width:100%;padding:calc(var(--d9baa3) + var(--1ba55a));padding-left:calc(var(--477fda) - var(--d9baa3));padding-right:var(--d9baa3)}.FieldLabel__b1RPF{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-size:var(--8d63e4);line-height:var(--d4313c);color:var(--e41135);font-size:var(--343d89);font-weight:var(--b44390);line-height:var(--360264);letter-spacing:var(--b8c41f);font-style:var(--0ab3be);display:flex;gap:var(--6947b0);max-width:max-content}.FieldLabel--wrap__A8t1v{display:inline}.FieldLabel--wrapGap__F694Q{width:var(--6947b0);display:inline-block}.FieldLabel--required__s9RYi{display:flex;gap:var(--6947b0);color:var(--3d280d)}.FieldLabel--hide__j60I8{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.FieldLayoutBase__wxYe-{display:flex;flex-direction:column;gap:var(--6947b0)}.FieldLayoutBase__wxYe- input,.FieldLayoutBase__wxYe- textarea{display:block;width:100%}
@@ -0,0 +1,12 @@
1
+ import{j as u}from"./jsx-runtime-BTJTZTIL.js";import{r as m}from"./index-Cb9e4tly.js";import{a as k,g as H,b as z}from"./useForcedRef--iGFM41p.js";import{g as T}from"./index-DdzHuZ-Y.js";import{F as S}from"./FieldAdditionalText-BD8S7qnE.js";import"./index-D1pfvbUR.js";import{m as N,b as I,a as D}from"./classNames-BUL1Zq7e.js";import{M as A}from"./message-B1DLZQ1U.js";const w={textarea:"textarea",select:"select"},M=()=>{},O=(e,a)=>{const{type:l,id:n,name:t,className:r,onChange:i,onFocus:d,onBlur:c,onClick:f,onKeyDown:y,onKeyUp:b,onCopy:q,onPaste:_,required:E,readOnly:p,disabled:v,dataset:h,preplyDsComponent:L}=e,s=m.useRef(null);m.useImperativeHandle(a,()=>({setFocus:()=>{var o;return(o=s.current)==null?void 0:o.focus()},scrollIntoView:()=>{var o;return(o=s.current)==null?void 0:o.scrollIntoView()}}));const j=k({disabled:v,captureChildEvents:!0,onBlur:c,onFocus:d}),F=w[l]||"input",P=F===l in w?void 0:l,B={...{ref:s,type:P,id:n,name:t,className:r,...j,onChange:i||M,onClick:f,onKeyDown:y,onKeyUp:b,onCopy:q,onPaste:_,required:E,readOnly:p,disabled:v},...z(e),...T(h,{preplyDsComponent:L}),...H(e)};return u.jsx(F,{...B,ref:s})},R=m.forwardRef(O);try{R.displayName="InputBase",R.__docgenInfo={description:"",displayName:"InputBase",props:{type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"number"'},{value:'"url"'},{value:'"search"'},{value:'"email"'},{value:'"tel"'},{value:'"text"'},{value:'"password"'},{value:'"date"'},{value:'"time"'},{value:'"select"'},{value:'"textarea"'},{value:'"checkbox"'},{value:'"radio"'}]}},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"'}]}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"enum",value:[{value:"string"}]}},maxLength:{defaultValue:null,description:"",name:"maxLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"enum",value:[{value:"string"}]}},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"}]}},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>"}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"enum",value:[{value:"MouseEventHandler<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"}]}},disabled:{defaultValue:null,description:"",name:"disabled",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"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},"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"'}]}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"enum",value:[{value:"string"}]}},preplyDsComponent:{defaultValue:null,description:`@deprecated preplyDsComponent is meant for internal Design SYstem use only!!
6
+ @see getDatasetProps`,name:"preplyDsComponent",required:!1,type:{name:"enum",value:[{value:"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"}]}},min:{defaultValue:null,description:"",name:"min",required:!1,type:{name:"enum",value:[{value:"string"}]}},max:{defaultValue:null,description:"",name:"max",required:!1,type:{name:"enum",value:[{value:"string"}]}},rows:{defaultValue:null,description:"",name:"rows",required:!1,type:{name:"enum",value:[{value:"number"}]}},resize:{defaultValue:null,description:"",name:"resize",required:!1,type:{name:"enum",value:[{value:'"none"'},{value:'"vertical"'},{value:'"horizontal"'},{value:'"both"'}]}},checked:{defaultValue:null,description:"",name:"checked",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}}}}}catch{}function be(e,a,l,n=[]){return m.useMemo(()=>{if(!(!a&&!l))return t=>{a==null||a(t);const r=e(t);l==null||l(r)}},[a,l,...n])}const K="InputText__FxeHT",U="InputPassword__q4ij6",G="InputDate__7a78C",J="InputTime__52oJ2",X="InputNumber__xlaLL",$="Textarea__POrZ-",Y="Checkbox__z-SLR",Q="Radio__jGtyy",W="Select__aV7xP",qe={InputText:K,InputPassword:U,InputDate:G,InputTime:J,InputNumber:X,Textarea:$,"Textarea--resize-none":"Textarea--resize-none__vTwQm","Textarea--resize-vertical":"Textarea--resize-vertical__OLW8E","Textarea--resize-horizontal":"Textarea--resize-horizontal__Smuc-","Textarea--resize-both":"Textarea--resize-both__Ti-0n",Checkbox:Y,Radio:Q,Select:W},Z="FieldLabel__b1RPF",g={FieldLabel:Z,"FieldLabel--wrap":"FieldLabel--wrap__A8t1v","FieldLabel--wrapGap":"FieldLabel--wrapGap__F694Q","FieldLabel--required":"FieldLabel--required__s9RYi","FieldLabel--hide":"FieldLabel--hide__j60I8"},x="FieldLabel",ee="•",ae=u.jsx(A,{id:"preply-ds.fieldLabel.required",defaultMessage:"Required",description:"Form field required label"}),le=({label:e=ae})=>{const a=D(g,x,["required"]);return u.jsxs("span",{className:a.join(" "),children:[u.jsx("span",{children:ee}),u.jsx("span",{children:e})]})},ue=()=>{const e=D(g,x,["wrapGap"]);return u.jsx("span",{className:e.join(" ")})},V=({id:e,label:a,hideLabel:l,wrapLabel:n=!1,required:t,requiredLabel:r})=>{const i=N(g,x,[I("hide",void 0,l),I("wrap",void 0,n)]);return u.jsxs("label",{htmlFor:e,className:i.join(" "),children:[a,n&&u.jsx(ue,{}),t&&u.jsx(le,{label:r})]})};try{V.displayName="FieldLabel",V.__docgenInfo={description:"",displayName:"FieldLabel",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},label:{defaultValue:{value:`(
7
+ <FormattedMessage
8
+ id="preply-ds.fieldLabel.required"
9
+ defaultMessage="Required"
10
+ description="Form field required label"
11
+ />
12
+ )`},description:"",name:"label",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},hideLabel:{defaultValue:null,description:"",name:"hideLabel",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},wrapLabel:{defaultValue:{value:"false"},description:"",name:"wrapLabel",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},requiredLabel:{defaultValue:null,description:"",name:"requiredLabel",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}}}}}catch{}const ne="FieldLayoutBase__wxYe-",te={FieldLayoutBase:ne},re="FieldLayoutBase",se=({id:e,className:a,label:l,hideLabel:n,wrapLabel:t=!1,required:r,requiredLabel:i,additionalText:d,preserveSpace:c,hasError:f,dataset:y,children:b,preplyDsComponent:q},_)=>{const p=[...N(te,re)];a&&p.push(a);const v={className:p.join(" "),...T(y,{preplyDsComponent:q})},h={id:e,label:l,hideLabel:n,wrapLabel:t,required:r,requiredLabel:i},L=!d&&c?u.jsx("span",{children:" "}):void 0,s=f?"error":"normal";return u.jsxs("div",{...v,ref:_,children:[u.jsx(V,{...h}),b,d&&u.jsx(S,{id:`${e}-desc`,variant:s,children:d}),L]})},C=m.forwardRef(se);try{C.displayName="FieldLayoutBase",C.__docgenInfo={description:"",displayName:"FieldLayoutBase",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"enum",value:[{value:"string"}]}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"enum",value:[{value:"undefined"},{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},hideLabel:{defaultValue:null,description:"",name:"hideLabel",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},wrapLabel:{defaultValue:{value:"false"},description:"",name:"wrapLabel",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},requiredLabel:{defaultValue:null,description:"",name:"requiredLabel",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},additionalText:{defaultValue:null,description:"",name:"additionalText",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"false"},{value:"true"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"},{value:"Iterable<ReactNode>"},{value:"ReactPortal"}]}},preserveSpace:{defaultValue:null,description:"",name:"preserveSpace",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},isFocused:{defaultValue:null,description:"",name:"isFocused",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},isTouched:{defaultValue:null,description:"",name:"isTouched",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},isChanged:{defaultValue:null,description:"",name:"isChanged",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},hasValue:{defaultValue:null,description:"",name:"hasValue",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"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},preplyDsComponent:{defaultValue:null,description:"@see getDatasetProps",name:"preplyDsComponent",required:!1,type:{name:"enum",value:[{value:"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: HTMLDivElement | null) => void"},{value:"RefObject<HTMLDivElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{C as F,R as I,qe as s,be as u};
@@ -0,0 +1,2 @@
1
+ import{j as N}from"./jsx-runtime-BTJTZTIL.js";import{r as x}from"./index-Cb9e4tly.js";import{g as b,a as C}from"./text-accent-DZDDtpIt.js";import{g as L}from"./text-centered-CznToR0o.js";import{f as T}from"./filterHTMLAttributes-DYdLqcvH.js";import{m as k,s as q,b as E}from"./classNames-BUL1Zq7e.js";import{w as i}from"./componentNames-Bwls0I02.js";import{g as V}from"./index-DdzHuZ-Y.js";const U="Heading__Erkb1",I={Heading:U,"Heading--level-h1-normal":"Heading--level-h1-normal__t2Kqc","Heading--level-h1-large":"Heading--level-h1-large__2-ENi","Heading--level-h2-normal":"Heading--level-h2-normal__VzetR","Heading--level-h2-large":"Heading--level-h2-large__NxpiQ","Heading--level-h3-normal":"Heading--level-h3-normal__vCnMS","Heading--level-h3-large":"Heading--level-h3-large__Vs-gN","Heading--level-h4-normal":"Heading--level-h4-normal__O6PPx","Heading--level-h4-large":"Heading--level-h4-large__fNZXP","Heading--level-h5-normal":"Heading--level-h5-normal__IMKhU","Heading--level-h5-large":"Heading--level-h5-large__G40j-","Heading--narrow-l--level-h1-normal":"Heading--narrow-l--level-h1-normal__1qZxP","Heading--narrow-l--level-h1-large":"Heading--narrow-l--level-h1-large__vhit5","Heading--narrow-l--level-h2-normal":"Heading--narrow-l--level-h2-normal__a2FJF","Heading--narrow-l--level-h2-large":"Heading--narrow-l--level-h2-large__qFLdx","Heading--narrow-l--level-h3-normal":"Heading--narrow-l--level-h3-normal__D2GNa","Heading--narrow-l--level-h3-large":"Heading--narrow-l--level-h3-large__xeciI","Heading--narrow-l--level-h4-normal":"Heading--narrow-l--level-h4-normal__G7nUl","Heading--narrow-l--level-h4-large":"Heading--narrow-l--level-h4-large__cL6he","Heading--narrow-l--level-h5-normal":"Heading--narrow-l--level-h5-normal__UNw3s","Heading--narrow-l--level-h5-large":"Heading--narrow-l--level-h5-large__o76Fo","Heading--medium-s--level-h1-normal":"Heading--medium-s--level-h1-normal__IGwXF","Heading--medium-s--level-h1-large":"Heading--medium-s--level-h1-large__y2QjY","Heading--medium-s--level-h2-normal":"Heading--medium-s--level-h2-normal__T5nXA","Heading--medium-s--level-h2-large":"Heading--medium-s--level-h2-large__FbGid","Heading--medium-s--level-h3-normal":"Heading--medium-s--level-h3-normal__dcenB","Heading--medium-s--level-h3-large":"Heading--medium-s--level-h3-large__AR-Fa","Heading--medium-s--level-h4-normal":"Heading--medium-s--level-h4-normal__-NI8n","Heading--medium-s--level-h4-large":"Heading--medium-s--level-h4-large__AE93N","Heading--medium-s--level-h5-normal":"Heading--medium-s--level-h5-normal__ZJEJ-","Heading--medium-s--level-h5-large":"Heading--medium-s--level-h5-large__GJ8sd","Heading--medium-l--level-h1-normal":"Heading--medium-l--level-h1-normal__UG7oa","Heading--medium-l--level-h1-large":"Heading--medium-l--level-h1-large__hJgJ9","Heading--medium-l--level-h2-normal":"Heading--medium-l--level-h2-normal__sf7Py","Heading--medium-l--level-h2-large":"Heading--medium-l--level-h2-large__iYIZ9","Heading--medium-l--level-h3-normal":"Heading--medium-l--level-h3-normal__32eny","Heading--medium-l--level-h3-large":"Heading--medium-l--level-h3-large__kuCwB","Heading--medium-l--level-h4-normal":"Heading--medium-l--level-h4-normal__TE1Eh","Heading--medium-l--level-h4-large":"Heading--medium-l--level-h4-large__zZfdz","Heading--medium-l--level-h5-normal":"Heading--medium-l--level-h5-normal__7HYFE","Heading--medium-l--level-h5-large":"Heading--medium-l--level-h5-large__NkY03","Heading--wide-s--level-h1-normal":"Heading--wide-s--level-h1-normal__kqRcj","Heading--wide-s--level-h1-large":"Heading--wide-s--level-h1-large__yzHzL","Heading--wide-s--level-h2-normal":"Heading--wide-s--level-h2-normal__b9MXd","Heading--wide-s--level-h2-large":"Heading--wide-s--level-h2-large__q0kXc","Heading--wide-s--level-h3-normal":"Heading--wide-s--level-h3-normal__Ziuj8","Heading--wide-s--level-h3-large":"Heading--wide-s--level-h3-large__Q4111","Heading--wide-s--level-h4-normal":"Heading--wide-s--level-h4-normal__TxCtT","Heading--wide-s--level-h4-large":"Heading--wide-s--level-h4-large__cQQZf","Heading--wide-s--level-h5-normal":"Heading--wide-s--level-h5-normal__ZSrD7","Heading--wide-s--level-h5-large":"Heading--wide-s--level-h5-large__ZuCIn","Heading--wide-l--level-h1-normal":"Heading--wide-l--level-h1-normal__MavHI","Heading--wide-l--level-h1-large":"Heading--wide-l--level-h1-large__rE1tu","Heading--wide-l--level-h2-normal":"Heading--wide-l--level-h2-normal__YUYcX","Heading--wide-l--level-h2-large":"Heading--wide-l--level-h2-large__v5ssH","Heading--wide-l--level-h3-normal":"Heading--wide-l--level-h3-normal__kQBs2","Heading--wide-l--level-h3-large":"Heading--wide-l--level-h3-large__pU-wX","Heading--wide-l--level-h4-normal":"Heading--wide-l--level-h4-normal__WvWGX","Heading--wide-l--level-h4-large":"Heading--wide-l--level-h4-large__TeFQp","Heading--wide-l--level-h5-normal":"Heading--wide-l--level-h5-normal__1yKda","Heading--wide-l--level-h5-large":"Heading--wide-l--level-h5-large__Uadr4","Heading--variant-massive":"Heading--variant-massive__JFGji","Heading--variant-huge":"Heading--variant-huge__47FQz","Heading--variant-extraLarge":"Heading--variant-extraLarge__xRrqx","Heading--variant-large":"Heading--variant-large__wNK6S","Heading--variant-medium":"Heading--variant-medium__bCNZ-","Heading--variant-small":"Heading--variant-small__308Nb","Heading--narrow-l--variant-massive":"Heading--narrow-l--variant-massive__yg4AJ","Heading--narrow-l--variant-huge":"Heading--narrow-l--variant-huge__y9b4N","Heading--narrow-l--variant-extraLarge":"Heading--narrow-l--variant-extraLarge__XgyJu","Heading--narrow-l--variant-large":"Heading--narrow-l--variant-large__tzTo6","Heading--narrow-l--variant-medium":"Heading--narrow-l--variant-medium__iP3sG","Heading--narrow-l--variant-small":"Heading--narrow-l--variant-small__KeKjn","Heading--medium-s--variant-massive":"Heading--medium-s--variant-massive__L-b4J","Heading--medium-s--variant-huge":"Heading--medium-s--variant-huge__2o5EA","Heading--medium-s--variant-extraLarge":"Heading--medium-s--variant-extraLarge__eHmYu","Heading--medium-s--variant-large":"Heading--medium-s--variant-large__AI3KL","Heading--medium-s--variant-medium":"Heading--medium-s--variant-medium__t5dUK","Heading--medium-s--variant-small":"Heading--medium-s--variant-small__fCdNa","Heading--medium-l--variant-massive":"Heading--medium-l--variant-massive__jI3FW","Heading--medium-l--variant-huge":"Heading--medium-l--variant-huge__k0UpW","Heading--medium-l--variant-extraLarge":"Heading--medium-l--variant-extraLarge__yfai7","Heading--medium-l--variant-large":"Heading--medium-l--variant-large__65QTG","Heading--medium-l--variant-medium":"Heading--medium-l--variant-medium__UvxHB","Heading--medium-l--variant-small":"Heading--medium-l--variant-small__QI2p2","Heading--wide-s--variant-massive":"Heading--wide-s--variant-massive__B1S84","Heading--wide-s--variant-huge":"Heading--wide-s--variant-huge__KvYrn","Heading--wide-s--variant-extraLarge":"Heading--wide-s--variant-extraLarge__TJs8l","Heading--wide-s--variant-large":"Heading--wide-s--variant-large__Wcc0E","Heading--wide-s--variant-medium":"Heading--wide-s--variant-medium__mONpk","Heading--wide-s--variant-small":"Heading--wide-s--variant-small__oRKSN","Heading--wide-l--variant-massive":"Heading--wide-l--variant-massive__twgw-","Heading--wide-l--variant-huge":"Heading--wide-l--variant-huge__DBuNF","Heading--wide-l--variant-extraLarge":"Heading--wide-l--variant-extraLarge__H9nEI","Heading--wide-l--variant-large":"Heading--wide-l--variant-large__kJarT","Heading--wide-l--variant-medium":"Heading--wide-l--variant-medium__VN27E","Heading--wide-l--variant-small":"Heading--wide-l--variant-small__Skmxk"},r=x.forwardRef(function({children:g,variant:a,accent:l,level:e,large:v=!1,tag:m,color:n,centered:u,dataset:t,id:s,...o},H){const _=m||e||"h1",h=k(I,i.Heading,a?q("variant",a):E(`level-${e}-large`,`level-${e}-normal`,v)),w=L(u),c=b(!(l?void 0:n),l),p=C(n),f=["preply-ds-heading",...h,...w,...c,...p],y={...T(o),className:f.join(" "),...V(t,{preplyDsComponent:i.Heading}),id:s,ref:H};return N.jsx(_,{...y,children:g})});try{r.displayName="Heading",r.__docgenInfo={description:"",displayName:"Heading",props:{strong:{defaultValue:null,description:"@deprecated The appropriate `font-weight` is automatically set",name:"strong",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},accent:{defaultValue:null,description:"",name:"accent",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"critical"'},{value:'"inverted"'},{value:'"disabled"'},{value:'"selected"'},{value:'"accent"'},{value:'"accentDark"'},{value:'"placeholder"'},{value:'"positive"'},{value:'"info"'},{value:'"warning"'},{value:'"branded"'},{value:'"error"'}]}},color:{defaultValue:null,description:"@deprecated Use `accent` instead.",name:"color",required:!1,type:{name:"enum",value:[{value:'"yellow-100"'},{value:'"yellow-200"'},{value:'"yellow-300"'},{value:'"yellow-400"'},{value:'"yellow-500"'},{value:'"blue-100"'},{value:'"blue-200"'},{value:'"blue-300"'},{value:'"blue-400"'},{value:'"blue-500"'},{value:'"teal-100"'},{value:'"teal-200"'},{value:'"teal-300"'},{value:'"teal-400"'},{value:'"teal-500"'},{value:'"red-100"'},{value:'"red-200"'},{value:'"red-300"'},{value:'"red-400"'},{value:'"red-500"'},{value:'"white"'},{value:'"gray-100"'},{value:'"gray-200"'},{value:'"gray-300"'},{value:'"gray-400"'},{value:'"gray-500"'},{value:'"gray-600"'},{value:'"green-100"'},{value:'"green-200"'},{value:'"green-300"'},{value:'"green-400"'},{value:'"green-500"'},{value:'"magenta-100"'},{value:'"magenta-200"'},{value:'"magenta-300"'},{value:'"magenta-400"'},{value:'"magenta-500"'}]}},centered:{defaultValue:null,description:"",name:"centered",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"}]}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"enum",value:[{value:"string"}]}},variant:{defaultValue:null,description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"large"'},{value:'"medium"'},{value:'"small"'},{value:'"massive"'},{value:'"huge"'},{value:'"extraLarge"'},{value:"ResponsiveProp<HeadingVariant>"}]}},tag:{defaultValue:null,description:"",name:"tag",required:!1,type:{name:"enum",value:[{value:'"p"'},{value:'"div"'},{value:'"span"'},{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'}]}},level:{defaultValue:null,description:"@deprecated Use `variant` instead\n@deprecated Use `variant` instead",name:"level",required:!1,type:{name:"enum",value:[{value:'"h1"'},{value:'"h2"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'}]}},large:{defaultValue:{value:"false"},description:`@deprecated There is no large version in Tokyo UI.
2
+ @deprecated There is no large version in Tokyo UI.`,name:"large",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},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: HTMLHeadingElement | null) => void"},{value:"RefObject<HTMLHeadingElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{r as H};
@@ -0,0 +1 @@
1
+ .Heading__Erkb1{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-size:var(--8d63e4);line-height:var(--d4313c);margin:0}.Heading--level-h1-normal__t2Kqc{font-size:var(--d04d41);font-weight:var(--d41fd7);line-height:var(--263a02);letter-spacing:var(--08c118)}.Heading--level-h1-large__2-ENi{font-size:var(--da58b6);font-weight:var(--325764);line-height:var(--a165a9);letter-spacing:var(--921c8c)}.Heading--level-h2-normal__VzetR{font-size:var(--2bd50a);font-weight:var(--a8a528);line-height:var(--74d173);letter-spacing:var(--ac8be8)}.Heading--level-h2-large__NxpiQ{font-size:var(--8a757b);font-weight:var(--000cce);line-height:var(--657856);letter-spacing:var(--56bc01)}.Heading--level-h3-normal__vCnMS{font-size:var(--28917e);font-weight:var(--f6b073);line-height:var(--33f70d);letter-spacing:var(--02dfa4)}.Heading--level-h3-large__Vs-gN{font-size:var(--422005);font-weight:var(--809987);line-height:var(--8c79b9);letter-spacing:var(--2f0fc3)}.Heading--level-h4-normal__O6PPx{font-size:var(--63dde9);font-weight:var(--aea9af);line-height:var(--2059ef);letter-spacing:var(--b56598)}.Heading--level-h4-large__fNZXP{font-size:var(--abc50d);font-weight:var(--0e9c44);line-height:var(--95bce6);letter-spacing:var(--45a275)}.Heading--level-h5-normal__IMKhU{font-size:var(--4dbf89);font-weight:var(--51bd6b);line-height:var(--4f1030);letter-spacing:var(--918f0a)}.Heading--level-h5-large__G40j-{font-size:var(--3b1912);font-weight:var(--99df37);line-height:var(--759bbd);letter-spacing:var(--4400a4)}@media (min-width: 400px){.Heading--narrow-l--level-h1-normal__1qZxP{font-size:var(--d04d41);font-weight:var(--d41fd7);line-height:var(--263a02);letter-spacing:var(--08c118)}.Heading--narrow-l--level-h1-large__vhit5{font-size:var(--da58b6);font-weight:var(--325764);line-height:var(--a165a9);letter-spacing:var(--921c8c)}.Heading--narrow-l--level-h2-normal__a2FJF{font-size:var(--2bd50a);font-weight:var(--a8a528);line-height:var(--74d173);letter-spacing:var(--ac8be8)}.Heading--narrow-l--level-h2-large__qFLdx{font-size:var(--8a757b);font-weight:var(--000cce);line-height:var(--657856);letter-spacing:var(--56bc01)}.Heading--narrow-l--level-h3-normal__D2GNa{font-size:var(--28917e);font-weight:var(--f6b073);line-height:var(--33f70d);letter-spacing:var(--02dfa4)}.Heading--narrow-l--level-h3-large__xeciI{font-size:var(--422005);font-weight:var(--809987);line-height:var(--8c79b9);letter-spacing:var(--2f0fc3)}.Heading--narrow-l--level-h4-normal__G7nUl{font-size:var(--63dde9);font-weight:var(--aea9af);line-height:var(--2059ef);letter-spacing:var(--b56598)}.Heading--narrow-l--level-h4-large__cL6he{font-size:var(--abc50d);font-weight:var(--0e9c44);line-height:var(--95bce6);letter-spacing:var(--45a275)}.Heading--narrow-l--level-h5-normal__UNw3s{font-size:var(--4dbf89);font-weight:var(--51bd6b);line-height:var(--4f1030);letter-spacing:var(--918f0a)}.Heading--narrow-l--level-h5-large__o76Fo{font-size:var(--3b1912);font-weight:var(--99df37);line-height:var(--759bbd);letter-spacing:var(--4400a4)}}@media (min-width: 700px){.Heading--medium-s--level-h1-normal__IGwXF{font-size:var(--d04d41);font-weight:var(--d41fd7);line-height:var(--263a02);letter-spacing:var(--08c118)}.Heading--medium-s--level-h1-large__y2QjY{font-size:var(--da58b6);font-weight:var(--325764);line-height:var(--a165a9);letter-spacing:var(--921c8c)}.Heading--medium-s--level-h2-normal__T5nXA{font-size:var(--2bd50a);font-weight:var(--a8a528);line-height:var(--74d173);letter-spacing:var(--ac8be8)}.Heading--medium-s--level-h2-large__FbGid{font-size:var(--8a757b);font-weight:var(--000cce);line-height:var(--657856);letter-spacing:var(--56bc01)}.Heading--medium-s--level-h3-normal__dcenB{font-size:var(--28917e);font-weight:var(--f6b073);line-height:var(--33f70d);letter-spacing:var(--02dfa4)}.Heading--medium-s--level-h3-large__AR-Fa{font-size:var(--422005);font-weight:var(--809987);line-height:var(--8c79b9);letter-spacing:var(--2f0fc3)}.Heading--medium-s--level-h4-normal__-NI8n{font-size:var(--63dde9);font-weight:var(--aea9af);line-height:var(--2059ef);letter-spacing:var(--b56598)}.Heading--medium-s--level-h4-large__AE93N{font-size:var(--abc50d);font-weight:var(--0e9c44);line-height:var(--95bce6);letter-spacing:var(--45a275)}.Heading--medium-s--level-h5-normal__ZJEJ-{font-size:var(--4dbf89);font-weight:var(--51bd6b);line-height:var(--4f1030);letter-spacing:var(--918f0a)}.Heading--medium-s--level-h5-large__GJ8sd{font-size:var(--3b1912);font-weight:var(--99df37);line-height:var(--759bbd);letter-spacing:var(--4400a4)}}@media (min-width: 880px){.Heading--medium-l--level-h1-normal__UG7oa{font-size:var(--d04d41);font-weight:var(--d41fd7);line-height:var(--263a02);letter-spacing:var(--08c118)}.Heading--medium-l--level-h1-large__hJgJ9{font-size:var(--da58b6);font-weight:var(--325764);line-height:var(--a165a9);letter-spacing:var(--921c8c)}.Heading--medium-l--level-h2-normal__sf7Py{font-size:var(--2bd50a);font-weight:var(--a8a528);line-height:var(--74d173);letter-spacing:var(--ac8be8)}.Heading--medium-l--level-h2-large__iYIZ9{font-size:var(--8a757b);font-weight:var(--000cce);line-height:var(--657856);letter-spacing:var(--56bc01)}.Heading--medium-l--level-h3-normal__32eny{font-size:var(--28917e);font-weight:var(--f6b073);line-height:var(--33f70d);letter-spacing:var(--02dfa4)}.Heading--medium-l--level-h3-large__kuCwB{font-size:var(--422005);font-weight:var(--809987);line-height:var(--8c79b9);letter-spacing:var(--2f0fc3)}.Heading--medium-l--level-h4-normal__TE1Eh{font-size:var(--63dde9);font-weight:var(--aea9af);line-height:var(--2059ef);letter-spacing:var(--b56598)}.Heading--medium-l--level-h4-large__zZfdz{font-size:var(--abc50d);font-weight:var(--0e9c44);line-height:var(--95bce6);letter-spacing:var(--45a275)}.Heading--medium-l--level-h5-normal__7HYFE{font-size:var(--4dbf89);font-weight:var(--51bd6b);line-height:var(--4f1030);letter-spacing:var(--918f0a)}.Heading--medium-l--level-h5-large__NkY03{font-size:var(--3b1912);font-weight:var(--99df37);line-height:var(--759bbd);letter-spacing:var(--4400a4)}}@media (min-width: 1200px){.Heading--wide-s--level-h1-normal__kqRcj{font-size:var(--d04d41);font-weight:var(--d41fd7);line-height:var(--263a02);letter-spacing:var(--08c118)}.Heading--wide-s--level-h1-large__yzHzL{font-size:var(--da58b6);font-weight:var(--325764);line-height:var(--a165a9);letter-spacing:var(--921c8c)}.Heading--wide-s--level-h2-normal__b9MXd{font-size:var(--2bd50a);font-weight:var(--a8a528);line-height:var(--74d173);letter-spacing:var(--ac8be8)}.Heading--wide-s--level-h2-large__q0kXc{font-size:var(--8a757b);font-weight:var(--000cce);line-height:var(--657856);letter-spacing:var(--56bc01)}.Heading--wide-s--level-h3-normal__Ziuj8{font-size:var(--28917e);font-weight:var(--f6b073);line-height:var(--33f70d);letter-spacing:var(--02dfa4)}.Heading--wide-s--level-h3-large__Q4111{font-size:var(--422005);font-weight:var(--809987);line-height:var(--8c79b9);letter-spacing:var(--2f0fc3)}.Heading--wide-s--level-h4-normal__TxCtT{font-size:var(--63dde9);font-weight:var(--aea9af);line-height:var(--2059ef);letter-spacing:var(--b56598)}.Heading--wide-s--level-h4-large__cQQZf{font-size:var(--abc50d);font-weight:var(--0e9c44);line-height:var(--95bce6);letter-spacing:var(--45a275)}.Heading--wide-s--level-h5-normal__ZSrD7{font-size:var(--4dbf89);font-weight:var(--51bd6b);line-height:var(--4f1030);letter-spacing:var(--918f0a)}.Heading--wide-s--level-h5-large__ZuCIn{font-size:var(--3b1912);font-weight:var(--99df37);line-height:var(--759bbd);letter-spacing:var(--4400a4)}}@media (min-width: 1900px){.Heading--wide-l--level-h1-normal__MavHI{font-size:var(--d04d41);font-weight:var(--d41fd7);line-height:var(--263a02);letter-spacing:var(--08c118)}.Heading--wide-l--level-h1-large__rE1tu{font-size:var(--da58b6);font-weight:var(--325764);line-height:var(--a165a9);letter-spacing:var(--921c8c)}.Heading--wide-l--level-h2-normal__YUYcX{font-size:var(--2bd50a);font-weight:var(--a8a528);line-height:var(--74d173);letter-spacing:var(--ac8be8)}.Heading--wide-l--level-h2-large__v5ssH{font-size:var(--8a757b);font-weight:var(--000cce);line-height:var(--657856);letter-spacing:var(--56bc01)}.Heading--wide-l--level-h3-normal__kQBs2{font-size:var(--28917e);font-weight:var(--f6b073);line-height:var(--33f70d);letter-spacing:var(--02dfa4)}.Heading--wide-l--level-h3-large__pU-wX{font-size:var(--422005);font-weight:var(--809987);line-height:var(--8c79b9);letter-spacing:var(--2f0fc3)}.Heading--wide-l--level-h4-normal__WvWGX{font-size:var(--63dde9);font-weight:var(--aea9af);line-height:var(--2059ef);letter-spacing:var(--b56598)}.Heading--wide-l--level-h4-large__TeFQp{font-size:var(--abc50d);font-weight:var(--0e9c44);line-height:var(--95bce6);letter-spacing:var(--45a275)}.Heading--wide-l--level-h5-normal__1yKda{font-size:var(--4dbf89);font-weight:var(--51bd6b);line-height:var(--4f1030);letter-spacing:var(--918f0a)}.Heading--wide-l--level-h5-large__Uadr4{font-size:var(--3b1912);font-weight:var(--99df37);line-height:var(--759bbd);letter-spacing:var(--4400a4)}}.Heading--variant-massive__JFGji{font-size:var(--cd577e);font-weight:var(--8c9f05);line-height:var(--2e9eee);letter-spacing:var(--d662ea)}.Heading--variant-huge__47FQz{font-size:var(--890dda);font-weight:var(--b1d4f5);line-height:var(--a1602a);letter-spacing:var(--65a2cd)}.Heading--variant-extraLarge__xRrqx{font-size:var(--0728b9);font-weight:var(--26b05f);line-height:var(--aaf219);letter-spacing:var(--ceac96)}.Heading--variant-large__wNK6S{font-size:var(--5d91ee);font-weight:var(--be9403);line-height:var(--ba6c7f);letter-spacing:var(--6408ce)}.Heading--variant-medium__bCNZ-{font-size:var(--d4d05b);font-weight:var(--6b93f9);line-height:var(--a7e8c0);letter-spacing:var(--3e1763)}.Heading--variant-small__308Nb{font-size:var(--054730);font-weight:var(--e1e6cd);line-height:var(--ced741);letter-spacing:var(--b63a2b)}@media (min-width: 400px){.Heading--narrow-l--variant-massive__yg4AJ{font-size:var(--cd577e);font-weight:var(--8c9f05);line-height:var(--2e9eee);letter-spacing:var(--d662ea)}.Heading--narrow-l--variant-huge__y9b4N{font-size:var(--890dda);font-weight:var(--b1d4f5);line-height:var(--a1602a);letter-spacing:var(--65a2cd)}.Heading--narrow-l--variant-extraLarge__XgyJu{font-size:var(--0728b9);font-weight:var(--26b05f);line-height:var(--aaf219);letter-spacing:var(--ceac96)}.Heading--narrow-l--variant-large__tzTo6{font-size:var(--5d91ee);font-weight:var(--be9403);line-height:var(--ba6c7f);letter-spacing:var(--6408ce)}.Heading--narrow-l--variant-medium__iP3sG{font-size:var(--d4d05b);font-weight:var(--6b93f9);line-height:var(--a7e8c0);letter-spacing:var(--3e1763)}.Heading--narrow-l--variant-small__KeKjn{font-size:var(--054730);font-weight:var(--e1e6cd);line-height:var(--ced741);letter-spacing:var(--b63a2b)}}@media (min-width: 700px){.Heading--medium-s--variant-massive__L-b4J{font-size:var(--cd577e);font-weight:var(--8c9f05);line-height:var(--2e9eee);letter-spacing:var(--d662ea)}.Heading--medium-s--variant-huge__2o5EA{font-size:var(--890dda);font-weight:var(--b1d4f5);line-height:var(--a1602a);letter-spacing:var(--65a2cd)}.Heading--medium-s--variant-extraLarge__eHmYu{font-size:var(--0728b9);font-weight:var(--26b05f);line-height:var(--aaf219);letter-spacing:var(--ceac96)}.Heading--medium-s--variant-large__AI3KL{font-size:var(--5d91ee);font-weight:var(--be9403);line-height:var(--ba6c7f);letter-spacing:var(--6408ce)}.Heading--medium-s--variant-medium__t5dUK{font-size:var(--d4d05b);font-weight:var(--6b93f9);line-height:var(--a7e8c0);letter-spacing:var(--3e1763)}.Heading--medium-s--variant-small__fCdNa{font-size:var(--054730);font-weight:var(--e1e6cd);line-height:var(--ced741);letter-spacing:var(--b63a2b)}}@media (min-width: 880px){.Heading--medium-l--variant-massive__jI3FW{font-size:var(--cd577e);font-weight:var(--8c9f05);line-height:var(--2e9eee);letter-spacing:var(--d662ea)}.Heading--medium-l--variant-huge__k0UpW{font-size:var(--890dda);font-weight:var(--b1d4f5);line-height:var(--a1602a);letter-spacing:var(--65a2cd)}.Heading--medium-l--variant-extraLarge__yfai7{font-size:var(--0728b9);font-weight:var(--26b05f);line-height:var(--aaf219);letter-spacing:var(--ceac96)}.Heading--medium-l--variant-large__65QTG{font-size:var(--5d91ee);font-weight:var(--be9403);line-height:var(--ba6c7f);letter-spacing:var(--6408ce)}.Heading--medium-l--variant-medium__UvxHB{font-size:var(--d4d05b);font-weight:var(--6b93f9);line-height:var(--a7e8c0);letter-spacing:var(--3e1763)}.Heading--medium-l--variant-small__QI2p2{font-size:var(--054730);font-weight:var(--e1e6cd);line-height:var(--ced741);letter-spacing:var(--b63a2b)}}@media (min-width: 1200px){.Heading--wide-s--variant-massive__B1S84{font-size:var(--cd577e);font-weight:var(--8c9f05);line-height:var(--2e9eee);letter-spacing:var(--d662ea)}.Heading--wide-s--variant-huge__KvYrn{font-size:var(--890dda);font-weight:var(--b1d4f5);line-height:var(--a1602a);letter-spacing:var(--65a2cd)}.Heading--wide-s--variant-extraLarge__TJs8l{font-size:var(--0728b9);font-weight:var(--26b05f);line-height:var(--aaf219);letter-spacing:var(--ceac96)}.Heading--wide-s--variant-large__Wcc0E{font-size:var(--5d91ee);font-weight:var(--be9403);line-height:var(--ba6c7f);letter-spacing:var(--6408ce)}.Heading--wide-s--variant-medium__mONpk{font-size:var(--d4d05b);font-weight:var(--6b93f9);line-height:var(--a7e8c0);letter-spacing:var(--3e1763)}.Heading--wide-s--variant-small__oRKSN{font-size:var(--054730);font-weight:var(--e1e6cd);line-height:var(--ced741);letter-spacing:var(--b63a2b)}}@media (min-width: 1900px){.Heading--wide-l--variant-massive__twgw-{font-size:var(--cd577e);font-weight:var(--8c9f05);line-height:var(--2e9eee);letter-spacing:var(--d662ea)}.Heading--wide-l--variant-huge__DBuNF{font-size:var(--890dda);font-weight:var(--b1d4f5);line-height:var(--a1602a);letter-spacing:var(--65a2cd)}.Heading--wide-l--variant-extraLarge__H9nEI{font-size:var(--0728b9);font-weight:var(--26b05f);line-height:var(--aaf219);letter-spacing:var(--ceac96)}.Heading--wide-l--variant-large__kJarT{font-size:var(--5d91ee);font-weight:var(--be9403);line-height:var(--ba6c7f);letter-spacing:var(--6408ce)}.Heading--wide-l--variant-medium__VN27E{font-size:var(--d4d05b);font-weight:var(--6b93f9);line-height:var(--a7e8c0);letter-spacing:var(--3e1763)}.Heading--wide-l--variant-small__Skmxk{font-size:var(--054730);font-weight:var(--e1e6cd);line-height:var(--ced741);letter-spacing:var(--b63a2b)}}
@@ -1,4 +1,4 @@
1
- import{j as a}from"./jsx-runtime-BTJTZTIL.js";import{H as e}from"./Heading-DcJnmvUa.js";import{S as s}from"./consts-KAYct7Gj.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./text-accent-BMdpzlaC.js";import"./classNames-BUL1Zq7e.js";import"./text-centered-VuFsr_qt.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./componentNames-Bwls0I02.js";import"./index-DdzHuZ-Y.js";const f={title:"components/Heading",component:e,argTypes:{centered:{description:s},variant:{description:s}}},r=()=>a.jsxs("div",{style:{padding:"16px",display:"grid",gridTemplateColumns:"auto 3fr",alignItems:"center",gap:"16px"},children:[a.jsx("span",{children:"h1 / massive"}),a.jsx(e,{tag:"h1",variant:"massive",children:"Lorem ipsum"}),a.jsx("span",{children:"h2 / huge"}),a.jsx(e,{tag:"h2",variant:"huge",children:"Lorem ipsum"}),a.jsx("span",{children:"h3 / extraLarge"}),a.jsx(e,{tag:"h3",variant:"extraLarge",children:"Lorem ipsum"}),a.jsx("span",{children:"h4 / large"}),a.jsx(e,{tag:"h4",variant:"large",children:"Lorem ipsum"}),a.jsx("span",{children:"h5 / medium"}),a.jsx(e,{tag:"h5",variant:"medium",children:"Lorem ipsum"}),a.jsx("span",{children:"p / small"}),a.jsx(e,{tag:"p",variant:"small",children:"Lorem ipsum"})]}),n={parameters:{chromatic:{disableSnapshot:!0}},decorators:[(l,{args:g})=>a.jsx("div",{style:{backgroundColor:g.accent==="inverted"?"black":void 0},children:l()})],args:{tag:"h1",variant:"massive",children:"Lorem ipsum",dataset:{qaid:"heading"}},argTypes:{centered:{control:"boolean"},dataset:{control:"object"},strong:{table:{disable:!0}},level:{table:{disable:!0}},color:{table:{disable:!0}},large:{table:{disable:!0}}}};var t,i,o;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`() => <div style={{
1
+ import{j as a}from"./jsx-runtime-BTJTZTIL.js";import{H as e}from"./Heading-Bj7LLgoH.js";import{S as s}from"./consts-KAYct7Gj.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./text-accent-DZDDtpIt.js";import"./classNames-BUL1Zq7e.js";import"./text-centered-CznToR0o.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./componentNames-Bwls0I02.js";import"./index-DdzHuZ-Y.js";const f={title:"components/Heading",component:e,argTypes:{centered:{description:s},variant:{description:s}}},r=()=>a.jsxs("div",{style:{padding:"16px",display:"grid",gridTemplateColumns:"auto 3fr",alignItems:"center",gap:"16px"},children:[a.jsx("span",{children:"h1 / massive"}),a.jsx(e,{tag:"h1",variant:"massive",children:"Lorem ipsum"}),a.jsx("span",{children:"h2 / huge"}),a.jsx(e,{tag:"h2",variant:"huge",children:"Lorem ipsum"}),a.jsx("span",{children:"h3 / extraLarge"}),a.jsx(e,{tag:"h3",variant:"extraLarge",children:"Lorem ipsum"}),a.jsx("span",{children:"h4 / large"}),a.jsx(e,{tag:"h4",variant:"large",children:"Lorem ipsum"}),a.jsx("span",{children:"h5 / medium"}),a.jsx(e,{tag:"h5",variant:"medium",children:"Lorem ipsum"}),a.jsx("span",{children:"p / small"}),a.jsx(e,{tag:"p",variant:"small",children:"Lorem ipsum"})]}),n={parameters:{chromatic:{disableSnapshot:!0}},decorators:[(l,{args:g})=>a.jsx("div",{style:{backgroundColor:g.accent==="inverted"?"black":void 0},children:l()})],args:{tag:"h1",variant:"massive",children:"Lorem ipsum",dataset:{qaid:"heading"}},argTypes:{centered:{control:"boolean"},dataset:{control:"object"},strong:{table:{disable:!0}},level:{table:{disable:!0}},color:{table:{disable:!0}},large:{table:{disable:!0}}}};var t,i,o;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`() => <div style={{
2
2
  padding: '16px',
3
3
  display: 'grid',
4
4
  gridTemplateColumns: 'auto 3fr',
@@ -0,0 +1 @@
1
+ .ExpColor__S0PGo.ExpColor--exp-color-grey-0__DKudt{color:var(--d751dc)}.ExpColor__S0PGo.ExpColor--exp-color-grey-50__lo7OH{color:var(--d4e1b8)}.ExpColor__S0PGo.ExpColor--exp-color-grey-100__EtBtx{color:var(--e986ec)}.ExpColor__S0PGo.ExpColor--exp-color-grey-200__KHF8X{color:var(--8a8cb8)}.ExpColor__S0PGo.ExpColor--exp-color-grey-300__0u63D{color:var(--e7dcf4)}.ExpColor__S0PGo.ExpColor--exp-color-grey-400__WaJzi{color:var(--d48a93)}.ExpColor__S0PGo.ExpColor--exp-color-grey-500__1RSHd{color:var(--9b582c)}.ExpColor__S0PGo.ExpColor--exp-color-grey-600__95yQU{color:var(--bd0a12)}.ExpColor__S0PGo.ExpColor--exp-color-grey-700__SSayo{color:var(--5540cb)}.ExpColor__S0PGo.ExpColor--exp-color-grey-800__15Bou{color:var(--3f9d59)}.ExpColor__S0PGo.ExpColor--exp-color-grey-900__BKw9C{color:var(--0d2c1d)}.ExpColor__S0PGo.ExpColor--exp-color-pink-50__SZLGx{color:var(--696262)}.ExpColor__S0PGo.ExpColor--exp-color-pink-100__J0yFM{color:var(--2a8bdc)}.ExpColor__S0PGo.ExpColor--exp-color-pink-200__dQ0mZ{color:var(--9c55fe)}.ExpColor__S0PGo.ExpColor--exp-color-pink-300__WYBWX{color:var(--55b1b2)}.ExpColor__S0PGo.ExpColor--exp-color-pink-400__7Jazs{color:var(--e2e617)}.ExpColor__S0PGo.ExpColor--exp-color-pink-500__4X2bs{color:var(--28075b)}.ExpColor__S0PGo.ExpColor--exp-color-pink-600__Ph3VO{color:var(--0d21bc)}.ExpColor__S0PGo.ExpColor--exp-color-pink-700__nLJd1{color:var(--dcc28c)}.ExpColor__S0PGo.ExpColor--exp-color-pink-800__-fD0l{color:var(--e2ccaa)}.ExpColor__S0PGo.ExpColor--exp-color-yellow-50__EYcxx{color:var(--f73f81)}.ExpColor__S0PGo.ExpColor--exp-color-yellow-100__8n-ZP{color:var(--05c737)}.ExpColor__S0PGo.ExpColor--exp-color-yellow-200__eOMK3{color:var(--32d8a2)}.ExpColor__S0PGo.ExpColor--exp-color-yellow-300__JbUZg{color:var(--92f9a7)}.ExpColor__S0PGo.ExpColor--exp-color-yellow-400__7NrMJ{color:var(--4db3c1)}.ExpColor__S0PGo.ExpColor--exp-color-yellow-500__a3k-Q{color:var(--2d6e08)}.ExpColor__S0PGo.ExpColor--exp-color-yellow-600__xBk-i{color:var(--2db5c2)}.ExpColor__S0PGo.ExpColor--exp-color-yellow-700__xw4Kd{color:var(--b31329)}.ExpColor__S0PGo.ExpColor--exp-color-yellow-800__vZmXG{color:var(--66ebdf)}.ExpColor__S0PGo.ExpColor--exp-color-blue-50__s2FXt{color:var(--6ae6f0)}.ExpColor__S0PGo.ExpColor--exp-color-blue-100__TzrMW{color:var(--b916ba)}.ExpColor__S0PGo.ExpColor--exp-color-blue-200__sVncU{color:var(--c6fc9c)}.ExpColor__S0PGo.ExpColor--exp-color-blue-300__ooY38{color:var(--b773b2)}.ExpColor__S0PGo.ExpColor--exp-color-blue-400__GGuoL{color:var(--e848c4)}.ExpColor__S0PGo.ExpColor--exp-color-blue-500__N2NW9{color:var(--e57766)}.ExpColor__S0PGo.ExpColor--exp-color-blue-600__q-8xU{color:var(--fdf041)}.ExpColor__S0PGo.ExpColor--exp-color-blue-700__5k-Gw{color:var(--cd5904)}.ExpColor__S0PGo.ExpColor--exp-color-blue-800__MCpJf{color:var(--440fc3)}.ExpColor__S0PGo.ExpColor--exp-color-teal-50__P9v3-{color:var(--9fac3a)}.ExpColor__S0PGo.ExpColor--exp-color-teal-100__Y8xbj{color:var(--32b0b3)}.ExpColor__S0PGo.ExpColor--exp-color-teal-200__yzxAu{color:var(--873ad3)}.ExpColor__S0PGo.ExpColor--exp-color-teal-300__CC-oK{color:var(--202011)}.ExpColor__S0PGo.ExpColor--exp-color-teal-400__fBHUW{color:var(--4f3eb4)}.ExpColor__S0PGo.ExpColor--exp-color-teal-500__qt3Ny{color:var(--c47d0d)}.ExpColor__S0PGo.ExpColor--exp-color-teal-600__5EF-y{color:var(--985403)}.ExpColor__S0PGo.ExpColor--exp-color-teal-700__o0qGK{color:var(--2c9147)}.ExpColor__S0PGo.ExpColor--exp-color-teal-800__dntGK{color:var(--0d9ea5)}.ExpColor__S0PGo.ExpColor--exp-color-red-50__QFm4H{color:var(--f951e9)}.ExpColor__S0PGo.ExpColor--exp-color-red-100__gQ36l{color:var(--3aa891)}.ExpColor__S0PGo.ExpColor--exp-color-red-200__N7c7P{color:var(--ba4c34)}.ExpColor__S0PGo.ExpColor--exp-color-red-300__uhkUo{color:var(--943cfc)}.ExpColor__S0PGo.ExpColor--exp-color-red-400__cNgdd{color:var(--8af651)}.ExpColor__S0PGo.ExpColor--exp-color-red-500__VMSdk{color:var(--f5bfe7)}.ExpColor__S0PGo.ExpColor--exp-color-red-600__In2gH{color:var(--1bd221)}.ExpColor__S0PGo.ExpColor--exp-color-red-700__DPnKE{color:var(--38cd90)}.ExpColor__S0PGo.ExpColor--exp-color-red-800__MkRFA{color:var(--e9fcc6)}.Icon__jDdMD{display:inline-block;vertical-align:text-top}.Icon__jDdMD svg{display:block;width:100%;min-width:100%;max-width:100%;max-height:100%;fill:currentColor}.Icon--size-2xs__3r954{width:var(--b21f61);height:var(--b21f61);min-width:var(--b21f61);max-width:var(--b21f61)}.Icon--size-xs__Fcq73{width:var(--766f3b);height:var(--766f3b);min-width:var(--766f3b);max-width:var(--766f3b)}.Icon--size-s__bQoUv{width:var(--7c1b1c);height:var(--7c1b1c);min-width:var(--7c1b1c);max-width:var(--7c1b1c)}.Icon--size-m__7Z05l{width:var(--2152b7);height:var(--2152b7);min-width:var(--2152b7);max-width:var(--2152b7)}.Icon--size-l__2o-6h{width:var(--8f525f);height:var(--8f525f);min-width:var(--8f525f);max-width:var(--8f525f)}.Icon--size-16__P1SXI{width:var(--656bbc);height:var(--656bbc);min-width:var(--656bbc);max-width:var(--656bbc)}.Icon--size-24__vnVQ0{width:var(--81dc82);height:var(--81dc82);min-width:var(--81dc82);max-width:var(--81dc82)}.Icon--size-32__gHIna{width:var(--2a6452);height:var(--2a6452);min-width:var(--2a6452);max-width:var(--2a6452)}.Icon--size-48__0PUAE{width:var(--03d2e4);height:var(--03d2e4);min-width:var(--03d2e4);max-width:var(--03d2e4)}
@@ -0,0 +1 @@
1
+ import{j as b}from"./jsx-runtime-BTJTZTIL.js";import{r as w}from"./index-Cb9e4tly.js";import{g as f,a as N}from"./text-accent-CZD2Hmtq.js";import{f as k}from"./filterHTMLAttributes-UOns5Q7s.js";import{r as z}from"./render-icon-Du0nasoi.js";import{m as _,s as h,b as P}from"./classNames-BUL1Zq7e.js";import{I as D}from"./defaults-B1rzzf6M.js";import{w as c}from"./componentNames-Bwls0I02.js";import{g as K}from"./index-DdzHuZ-Y.js";const M="ExpColor__S0PGo",S={ExpColor:M,"ExpColor--exp-color-grey-0":"ExpColor--exp-color-grey-0__DKudt","ExpColor--exp-color-grey-50":"ExpColor--exp-color-grey-50__lo7OH","ExpColor--exp-color-grey-100":"ExpColor--exp-color-grey-100__EtBtx","ExpColor--exp-color-grey-200":"ExpColor--exp-color-grey-200__KHF8X","ExpColor--exp-color-grey-300":"ExpColor--exp-color-grey-300__0u63D","ExpColor--exp-color-grey-400":"ExpColor--exp-color-grey-400__WaJzi","ExpColor--exp-color-grey-500":"ExpColor--exp-color-grey-500__1RSHd","ExpColor--exp-color-grey-600":"ExpColor--exp-color-grey-600__95yQU","ExpColor--exp-color-grey-700":"ExpColor--exp-color-grey-700__SSayo","ExpColor--exp-color-grey-800":"ExpColor--exp-color-grey-800__15Bou","ExpColor--exp-color-grey-900":"ExpColor--exp-color-grey-900__BKw9C","ExpColor--exp-color-pink-50":"ExpColor--exp-color-pink-50__SZLGx","ExpColor--exp-color-pink-100":"ExpColor--exp-color-pink-100__J0yFM","ExpColor--exp-color-pink-200":"ExpColor--exp-color-pink-200__dQ0mZ","ExpColor--exp-color-pink-300":"ExpColor--exp-color-pink-300__WYBWX","ExpColor--exp-color-pink-400":"ExpColor--exp-color-pink-400__7Jazs","ExpColor--exp-color-pink-500":"ExpColor--exp-color-pink-500__4X2bs","ExpColor--exp-color-pink-600":"ExpColor--exp-color-pink-600__Ph3VO","ExpColor--exp-color-pink-700":"ExpColor--exp-color-pink-700__nLJd1","ExpColor--exp-color-pink-800":"ExpColor--exp-color-pink-800__-fD0l","ExpColor--exp-color-yellow-50":"ExpColor--exp-color-yellow-50__EYcxx","ExpColor--exp-color-yellow-100":"ExpColor--exp-color-yellow-100__8n-ZP","ExpColor--exp-color-yellow-200":"ExpColor--exp-color-yellow-200__eOMK3","ExpColor--exp-color-yellow-300":"ExpColor--exp-color-yellow-300__JbUZg","ExpColor--exp-color-yellow-400":"ExpColor--exp-color-yellow-400__7NrMJ","ExpColor--exp-color-yellow-500":"ExpColor--exp-color-yellow-500__a3k-Q","ExpColor--exp-color-yellow-600":"ExpColor--exp-color-yellow-600__xBk-i","ExpColor--exp-color-yellow-700":"ExpColor--exp-color-yellow-700__xw4Kd","ExpColor--exp-color-yellow-800":"ExpColor--exp-color-yellow-800__vZmXG","ExpColor--exp-color-blue-50":"ExpColor--exp-color-blue-50__s2FXt","ExpColor--exp-color-blue-100":"ExpColor--exp-color-blue-100__TzrMW","ExpColor--exp-color-blue-200":"ExpColor--exp-color-blue-200__sVncU","ExpColor--exp-color-blue-300":"ExpColor--exp-color-blue-300__ooY38","ExpColor--exp-color-blue-400":"ExpColor--exp-color-blue-400__GGuoL","ExpColor--exp-color-blue-500":"ExpColor--exp-color-blue-500__N2NW9","ExpColor--exp-color-blue-600":"ExpColor--exp-color-blue-600__q-8xU","ExpColor--exp-color-blue-700":"ExpColor--exp-color-blue-700__5k-Gw","ExpColor--exp-color-blue-800":"ExpColor--exp-color-blue-800__MCpJf","ExpColor--exp-color-teal-50":"ExpColor--exp-color-teal-50__P9v3-","ExpColor--exp-color-teal-100":"ExpColor--exp-color-teal-100__Y8xbj","ExpColor--exp-color-teal-200":"ExpColor--exp-color-teal-200__yzxAu","ExpColor--exp-color-teal-300":"ExpColor--exp-color-teal-300__CC-oK","ExpColor--exp-color-teal-400":"ExpColor--exp-color-teal-400__fBHUW","ExpColor--exp-color-teal-500":"ExpColor--exp-color-teal-500__qt3Ny","ExpColor--exp-color-teal-600":"ExpColor--exp-color-teal-600__5EF-y","ExpColor--exp-color-teal-700":"ExpColor--exp-color-teal-700__o0qGK","ExpColor--exp-color-teal-800":"ExpColor--exp-color-teal-800__dntGK","ExpColor--exp-color-red-50":"ExpColor--exp-color-red-50__QFm4H","ExpColor--exp-color-red-100":"ExpColor--exp-color-red-100__gQ36l","ExpColor--exp-color-red-200":"ExpColor--exp-color-red-200__N7c7P","ExpColor--exp-color-red-300":"ExpColor--exp-color-red-300__uhkUo","ExpColor--exp-color-red-400":"ExpColor--exp-color-red-400__cNgdd","ExpColor--exp-color-red-500":"ExpColor--exp-color-red-500__VMSdk","ExpColor--exp-color-red-600":"ExpColor--exp-color-red-600__In2gH","ExpColor--exp-color-red-700":"ExpColor--exp-color-red-700__DPnKE","ExpColor--exp-color-red-800":"ExpColor--exp-color-red-800__MkRFA"},U="ExpColor",F=r=>_(S,U,[h("exp-color",r)]),G="Icon__jDdMD",H={Icon:G,"Icon--size-2xs":"Icon--size-2xs__3r954","Icon--size-xs":"Icon--size-xs__Fcq73","Icon--size-s":"Icon--size-s__bQoUv","Icon--size-m":"Icon--size-m__7Z05l","Icon--size-l":"Icon--size-l__2o-6h","Icon--size-16":"Icon--size-16__P1SXI","Icon--size-24":"Icon--size-24__vnVQ0","Icon--size-32":"Icon--size-32__gHIna","Icon--size-48":"Icon--size-48__0PUAE"},v=w.forwardRef(function({svg:e,size:o=D,accent:l,expColor:C,color:E,label:p,dataset:s,...n},a){const x=!Number.isNaN(Number(o)),t=x?{width:`${o}px`,height:`${o}px`}:{},i=_(H,c.Icon,[P(`size-${o}`,void 0,!x)]),y=l?void 0:E,m=f(!1,l),d=N(y),u=l?[]:F(C),g=[...i,...m,...d,...u],I={...k(n),className:g.join(" "),...K(s,{preplyDsComponent:c.Icon}),ref:a};if(!e)throw new Error("Icon prop svg is mandatory");return b.jsx("span",{...I,role:"img",style:t,"aria-hidden":!p,"aria-label":p,children:z(e,{"aria-hidden":"true",focusable:"false"})})});v.__docgenInfo={description:"",methods:[],displayName:"Icon",props:{size:{defaultValue:{value:"'s'",computed:!1},required:!1}}};export{v as I};
@@ -0,0 +1 @@
1
+ .Icon__EP3Vh{display:inline-block;vertical-align:text-top}.Icon__EP3Vh svg{display:block;width:100%;min-width:100%;max-width:100%;max-height:100%;fill:currentColor}.Icon--size-2xs__yN10Y{width:var(--b21f61);height:var(--b21f61);min-width:var(--b21f61);max-width:var(--b21f61)}.Icon--size-xs__6SXZ7{width:var(--766f3b);height:var(--766f3b);min-width:var(--766f3b);max-width:var(--766f3b)}.Icon--size-s__NLRBu{width:var(--7c1b1c);height:var(--7c1b1c);min-width:var(--7c1b1c);max-width:var(--7c1b1c)}.Icon--size-m__F6CqX{width:var(--2152b7);height:var(--2152b7);min-width:var(--2152b7);max-width:var(--2152b7)}.Icon--size-l__aSKIx{width:var(--8f525f);height:var(--8f525f);min-width:var(--8f525f);max-width:var(--8f525f)}.Icon--size-16__P716Z{width:var(--656bbc);height:var(--656bbc);min-width:var(--656bbc);max-width:var(--656bbc)}.Icon--size-24__uOdtd{width:var(--81dc82);height:var(--81dc82);min-width:var(--81dc82);max-width:var(--81dc82)}.Icon--size-32__zP8We{width:var(--2a6452);height:var(--2a6452);min-width:var(--2a6452);max-width:var(--2a6452)}.Icon--size-48__-KHYK{width:var(--03d2e4);height:var(--03d2e4);min-width:var(--03d2e4);max-width:var(--03d2e4)}.ExpColor__fSHBe.ExpColor--exp-color-grey-0__IQ8rz{color:var(--d751dc)}.ExpColor__fSHBe.ExpColor--exp-color-grey-50__4wU8k{color:var(--d4e1b8)}.ExpColor__fSHBe.ExpColor--exp-color-grey-100__idyQR{color:var(--e986ec)}.ExpColor__fSHBe.ExpColor--exp-color-grey-200__bSfXM{color:var(--8a8cb8)}.ExpColor__fSHBe.ExpColor--exp-color-grey-300__TAgB4{color:var(--e7dcf4)}.ExpColor__fSHBe.ExpColor--exp-color-grey-400__8AFVk{color:var(--d48a93)}.ExpColor__fSHBe.ExpColor--exp-color-grey-500__fFByn{color:var(--9b582c)}.ExpColor__fSHBe.ExpColor--exp-color-grey-600__gRj6N{color:var(--bd0a12)}.ExpColor__fSHBe.ExpColor--exp-color-grey-700__3iGwa{color:var(--5540cb)}.ExpColor__fSHBe.ExpColor--exp-color-grey-800__on7RX{color:var(--3f9d59)}.ExpColor__fSHBe.ExpColor--exp-color-grey-900__9T1OC{color:var(--0d2c1d)}.ExpColor__fSHBe.ExpColor--exp-color-pink-50__3o0cC{color:var(--696262)}.ExpColor__fSHBe.ExpColor--exp-color-pink-100__yBJxi{color:var(--2a8bdc)}.ExpColor__fSHBe.ExpColor--exp-color-pink-200__Zff-J{color:var(--9c55fe)}.ExpColor__fSHBe.ExpColor--exp-color-pink-300__wWr90{color:var(--55b1b2)}.ExpColor__fSHBe.ExpColor--exp-color-pink-400__-C3Dw{color:var(--e2e617)}.ExpColor__fSHBe.ExpColor--exp-color-pink-500__Kpw6U{color:var(--28075b)}.ExpColor__fSHBe.ExpColor--exp-color-pink-600__g4tqI{color:var(--0d21bc)}.ExpColor__fSHBe.ExpColor--exp-color-pink-700__5lL8W{color:var(--dcc28c)}.ExpColor__fSHBe.ExpColor--exp-color-pink-800__JdCoO{color:var(--e2ccaa)}.ExpColor__fSHBe.ExpColor--exp-color-yellow-50__x4D1V{color:var(--f73f81)}.ExpColor__fSHBe.ExpColor--exp-color-yellow-100__Mp3-h{color:var(--05c737)}.ExpColor__fSHBe.ExpColor--exp-color-yellow-200__dr309{color:var(--32d8a2)}.ExpColor__fSHBe.ExpColor--exp-color-yellow-300__4eqgg{color:var(--92f9a7)}.ExpColor__fSHBe.ExpColor--exp-color-yellow-400__7KEax{color:var(--4db3c1)}.ExpColor__fSHBe.ExpColor--exp-color-yellow-500__YFTaH{color:var(--2d6e08)}.ExpColor__fSHBe.ExpColor--exp-color-yellow-600__uioue{color:var(--2db5c2)}.ExpColor__fSHBe.ExpColor--exp-color-yellow-700__APgN0{color:var(--b31329)}.ExpColor__fSHBe.ExpColor--exp-color-yellow-800__iqZ5l{color:var(--66ebdf)}.ExpColor__fSHBe.ExpColor--exp-color-blue-50__9YSjB{color:var(--6ae6f0)}.ExpColor__fSHBe.ExpColor--exp-color-blue-100__msV5Z{color:var(--b916ba)}.ExpColor__fSHBe.ExpColor--exp-color-blue-200__0-B47{color:var(--c6fc9c)}.ExpColor__fSHBe.ExpColor--exp-color-blue-300__kBuCR{color:var(--b773b2)}.ExpColor__fSHBe.ExpColor--exp-color-blue-400__rug3Y{color:var(--e848c4)}.ExpColor__fSHBe.ExpColor--exp-color-blue-500__1zhad{color:var(--e57766)}.ExpColor__fSHBe.ExpColor--exp-color-blue-600__INDau{color:var(--fdf041)}.ExpColor__fSHBe.ExpColor--exp-color-blue-700__nKtQ-{color:var(--cd5904)}.ExpColor__fSHBe.ExpColor--exp-color-blue-800__AWAr2{color:var(--440fc3)}.ExpColor__fSHBe.ExpColor--exp-color-teal-50__7QmhW{color:var(--9fac3a)}.ExpColor__fSHBe.ExpColor--exp-color-teal-100__YLRdY{color:var(--32b0b3)}.ExpColor__fSHBe.ExpColor--exp-color-teal-200__aUMwT{color:var(--873ad3)}.ExpColor__fSHBe.ExpColor--exp-color-teal-300__wI000{color:var(--202011)}.ExpColor__fSHBe.ExpColor--exp-color-teal-400__uVmEI{color:var(--4f3eb4)}.ExpColor__fSHBe.ExpColor--exp-color-teal-500__HM2LK{color:var(--c47d0d)}.ExpColor__fSHBe.ExpColor--exp-color-teal-600__0PlFD{color:var(--985403)}.ExpColor__fSHBe.ExpColor--exp-color-teal-700__FVY4B{color:var(--2c9147)}.ExpColor__fSHBe.ExpColor--exp-color-teal-800__2dQ3c{color:var(--0d9ea5)}.ExpColor__fSHBe.ExpColor--exp-color-red-50__k0fHb{color:var(--f951e9)}.ExpColor__fSHBe.ExpColor--exp-color-red-100__PuJbY{color:var(--3aa891)}.ExpColor__fSHBe.ExpColor--exp-color-red-200__cumh2{color:var(--ba4c34)}.ExpColor__fSHBe.ExpColor--exp-color-red-300__dUiEM{color:var(--943cfc)}.ExpColor__fSHBe.ExpColor--exp-color-red-400__DBCU8{color:var(--8af651)}.ExpColor__fSHBe.ExpColor--exp-color-red-500__lIF6t{color:var(--f5bfe7)}.ExpColor__fSHBe.ExpColor--exp-color-red-600__NNabI{color:var(--1bd221)}.ExpColor__fSHBe.ExpColor--exp-color-red-700__9Tz3v{color:var(--38cd90)}.ExpColor__fSHBe.ExpColor--exp-color-red-800__HCek3{color:var(--e9fcc6)}
@@ -1,4 +1,4 @@
1
- import{j as o}from"./jsx-runtime-BTJTZTIL.js";import{useMDXComponents as n}from"./index-BN6VMYqa.js";import{M as m,S as s}from"./index-DRVMKRNe.js";import{ServerComponent as i}from"./Icon.stories-jVWnmDlZ.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-9Hj_MNfh.js";import"./index-BPrLDK9Y.js";import"./index-C7hTFOIV.js";import"./index-Cu4lwwaE.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";import"./TokyoUINotesWithPad-B-o4vu0Y.js";import"./Icon-DbIHupWZ.js";import"./text-accent-BMdpzlaC.js";import"./classNames-BUL1Zq7e.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./render-icon-BT0Aq7PA.js";import"./componentNames-Bwls0I02.js";import"./index-DdzHuZ-Y.js";import"./defaults-B1rzzf6M.js";import"./options-DSKYF8ow.js";function r(t){const e={code:"code",h1:"h1",p:"p",pre:"pre",...n(),...t.components};return o.jsxs(o.Fragment,{children:[o.jsx(m,{title:"components/Icon/Server Component"}),`
1
+ import{j as o}from"./jsx-runtime-BTJTZTIL.js";import{useMDXComponents as n}from"./index-BN6VMYqa.js";import{M as m,S as s}from"./index-Ba1GaWBz.js";import{ServerComponent as i}from"./Icon.stories-DzUVuQaU.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./iframe-C8qEtSwt.js";import"./index-BPrLDK9Y.js";import"./index-C7hTFOIV.js";import"./index-Cu4lwwaE.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";import"./TokyoUINotesWithPad-B-o4vu0Y.js";import"./Icon-Wpz7-Jvg.js";import"./text-accent-DZDDtpIt.js";import"./classNames-BUL1Zq7e.js";import"./filterHTMLAttributes-DYdLqcvH.js";import"./render-icon-BT0Aq7PA.js";import"./componentNames-Bwls0I02.js";import"./index-DdzHuZ-Y.js";import"./defaults-B1rzzf6M.js";import"./options-DSKYF8ow.js";function r(t){const e={code:"code",h1:"h1",p:"p",pre:"pre",...n(),...t.components};return o.jsxs(o.Fragment,{children:[o.jsx(m,{title:"components/Icon/Server Component"}),`
2
2
  `,o.jsx(e.h1,{id:"use-icon-as-react-server-component",children:"Use Icon as react server component"}),`
3
3
  `,o.jsxs(e.p,{children:["To use Icon as react server component, provide ",o.jsx(e.code,{children:"svg"})," as element:"]}),`
4
4
  `,o.jsx(s,{of:i}),`
@@ -0,0 +1,8 @@
1
+ import{j as b}from"./jsx-runtime-BTJTZTIL.js";import{r as w}from"./index-Cb9e4tly.js";import{g as I,a as k}from"./text-accent-DZDDtpIt.js";import{f as h}from"./filterHTMLAttributes-DYdLqcvH.js";import{r as N}from"./render-icon-BT0Aq7PA.js";import{m as n,s as z,b as V}from"./classNames-BUL1Zq7e.js";import{w as u}from"./componentNames-Bwls0I02.js";import{g as T}from"./index-DdzHuZ-Y.js";import{I as S}from"./defaults-B1rzzf6M.js";const P="Icon__EP3Vh",U={Icon:P,"Icon--size-2xs":"Icon--size-2xs__yN10Y","Icon--size-xs":"Icon--size-xs__6SXZ7","Icon--size-s":"Icon--size-s__NLRBu","Icon--size-m":"Icon--size-m__F6CqX","Icon--size-l":"Icon--size-l__aSKIx","Icon--size-16":"Icon--size-16__P716Z","Icon--size-24":"Icon--size-24__uOdtd","Icon--size-32":"Icon--size-32__zP8We","Icon--size-48":"Icon--size-48__-KHYK"},q="ExpColor__fSHBe",R={ExpColor:q,"ExpColor--exp-color-grey-0":"ExpColor--exp-color-grey-0__IQ8rz","ExpColor--exp-color-grey-50":"ExpColor--exp-color-grey-50__4wU8k","ExpColor--exp-color-grey-100":"ExpColor--exp-color-grey-100__idyQR","ExpColor--exp-color-grey-200":"ExpColor--exp-color-grey-200__bSfXM","ExpColor--exp-color-grey-300":"ExpColor--exp-color-grey-300__TAgB4","ExpColor--exp-color-grey-400":"ExpColor--exp-color-grey-400__8AFVk","ExpColor--exp-color-grey-500":"ExpColor--exp-color-grey-500__fFByn","ExpColor--exp-color-grey-600":"ExpColor--exp-color-grey-600__gRj6N","ExpColor--exp-color-grey-700":"ExpColor--exp-color-grey-700__3iGwa","ExpColor--exp-color-grey-800":"ExpColor--exp-color-grey-800__on7RX","ExpColor--exp-color-grey-900":"ExpColor--exp-color-grey-900__9T1OC","ExpColor--exp-color-pink-50":"ExpColor--exp-color-pink-50__3o0cC","ExpColor--exp-color-pink-100":"ExpColor--exp-color-pink-100__yBJxi","ExpColor--exp-color-pink-200":"ExpColor--exp-color-pink-200__Zff-J","ExpColor--exp-color-pink-300":"ExpColor--exp-color-pink-300__wWr90","ExpColor--exp-color-pink-400":"ExpColor--exp-color-pink-400__-C3Dw","ExpColor--exp-color-pink-500":"ExpColor--exp-color-pink-500__Kpw6U","ExpColor--exp-color-pink-600":"ExpColor--exp-color-pink-600__g4tqI","ExpColor--exp-color-pink-700":"ExpColor--exp-color-pink-700__5lL8W","ExpColor--exp-color-pink-800":"ExpColor--exp-color-pink-800__JdCoO","ExpColor--exp-color-yellow-50":"ExpColor--exp-color-yellow-50__x4D1V","ExpColor--exp-color-yellow-100":"ExpColor--exp-color-yellow-100__Mp3-h","ExpColor--exp-color-yellow-200":"ExpColor--exp-color-yellow-200__dr309","ExpColor--exp-color-yellow-300":"ExpColor--exp-color-yellow-300__4eqgg","ExpColor--exp-color-yellow-400":"ExpColor--exp-color-yellow-400__7KEax","ExpColor--exp-color-yellow-500":"ExpColor--exp-color-yellow-500__YFTaH","ExpColor--exp-color-yellow-600":"ExpColor--exp-color-yellow-600__uioue","ExpColor--exp-color-yellow-700":"ExpColor--exp-color-yellow-700__APgN0","ExpColor--exp-color-yellow-800":"ExpColor--exp-color-yellow-800__iqZ5l","ExpColor--exp-color-blue-50":"ExpColor--exp-color-blue-50__9YSjB","ExpColor--exp-color-blue-100":"ExpColor--exp-color-blue-100__msV5Z","ExpColor--exp-color-blue-200":"ExpColor--exp-color-blue-200__0-B47","ExpColor--exp-color-blue-300":"ExpColor--exp-color-blue-300__kBuCR","ExpColor--exp-color-blue-400":"ExpColor--exp-color-blue-400__rug3Y","ExpColor--exp-color-blue-500":"ExpColor--exp-color-blue-500__1zhad","ExpColor--exp-color-blue-600":"ExpColor--exp-color-blue-600__INDau","ExpColor--exp-color-blue-700":"ExpColor--exp-color-blue-700__nKtQ-","ExpColor--exp-color-blue-800":"ExpColor--exp-color-blue-800__AWAr2","ExpColor--exp-color-teal-50":"ExpColor--exp-color-teal-50__7QmhW","ExpColor--exp-color-teal-100":"ExpColor--exp-color-teal-100__YLRdY","ExpColor--exp-color-teal-200":"ExpColor--exp-color-teal-200__aUMwT","ExpColor--exp-color-teal-300":"ExpColor--exp-color-teal-300__wI000","ExpColor--exp-color-teal-400":"ExpColor--exp-color-teal-400__uVmEI","ExpColor--exp-color-teal-500":"ExpColor--exp-color-teal-500__HM2LK","ExpColor--exp-color-teal-600":"ExpColor--exp-color-teal-600__0PlFD","ExpColor--exp-color-teal-700":"ExpColor--exp-color-teal-700__FVY4B","ExpColor--exp-color-teal-800":"ExpColor--exp-color-teal-800__2dQ3c","ExpColor--exp-color-red-50":"ExpColor--exp-color-red-50__k0fHb","ExpColor--exp-color-red-100":"ExpColor--exp-color-red-100__PuJbY","ExpColor--exp-color-red-200":"ExpColor--exp-color-red-200__cumh2","ExpColor--exp-color-red-300":"ExpColor--exp-color-red-300__dUiEM","ExpColor--exp-color-red-400":"ExpColor--exp-color-red-400__DBCU8","ExpColor--exp-color-red-500":"ExpColor--exp-color-red-500__lIF6t","ExpColor--exp-color-red-600":"ExpColor--exp-color-red-600__NNabI","ExpColor--exp-color-red-700":"ExpColor--exp-color-red-700__9Tz3v","ExpColor--exp-color-red-800":"ExpColor--exp-color-red-800__HCek3"},A="ExpColor",D=o=>n(R,A,[z("exp-color",o)]),x=w.forwardRef(function({svg:r,size:e=S,accent:l,expColor:c,color:t,label:a,dataset:s,...i},v){const p=!Number.isNaN(Number(e)),C=p?{width:`${e}px`,height:`${e}px`}:{},_=n(U,u.Icon,[V(`size-${e}`,void 0,!p)]),E=l?void 0:t,d=I(!1,l),y=k(E),m=l?[]:D(c),g=[..._,...d,...y,...m],f={...h(i),className:g.join(" "),...T(s,{preplyDsComponent:u.Icon}),ref:v};if(!r)throw new Error("Icon prop svg is mandatory");return b.jsx("span",{...f,role:"img",style:C,"aria-hidden":!a,"aria-label":a,children:N(r,{"aria-hidden":"true",focusable:"false"})})});try{x.displayName="Icon",x.__docgenInfo={description:"",displayName:"Icon",props:{svg:{defaultValue:null,description:`The SVG icon to render.
2
+ @example import TokyoUINotesWithPad from '@preply/ds-media-icons/dist/24/TokyoUINotesWithPad.svg';
3
+
4
+ <Icon svg={TokyoUINotesWithPad} />
5
+ @example <caption>Using as react server component</caption>
6
+ import TokyoUINotesWithPad from '@preply/ds-media-icons/dist/24/TokyoUINotesWithPad.svg';
7
+
8
+ <Icon svg={<TokyoUINotesWithPad />} />`,name:"svg",required:!0,type:{name:"enum",value:[{value:"ComponentClass<SVGAttributes<SVGElement>, any>"},{value:"FunctionComponent<SVGAttributes<SVGElement>>"},{value:"ReactElement<any, string | JSXElementConstructor<any>>"}]}},size:{defaultValue:{value:"s"},description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"2xs"'},{value:'"16"'},{value:'"24"'},{value:'"32"'},{value:'"48"'}]}},accent:{defaultValue:null,description:"",name:"accent",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"critical"'},{value:'"inverted"'},{value:'"disabled"'},{value:'"selected"'},{value:'"accent"'},{value:'"accentDark"'},{value:'"placeholder"'},{value:'"positive"'},{value:'"info"'},{value:'"warning"'},{value:'"branded"'},{value:'"error"'}]}},expColor:{defaultValue:null,description:"If passed along with `accent`, `accent` takes precedence.",name:"expColor",required:!1,type:{name:"enum",value:[{value:'"grey-0"'},{value:'"grey-50"'},{value:'"grey-100"'},{value:'"grey-200"'},{value:'"grey-300"'},{value:'"grey-400"'},{value:'"grey-500"'},{value:'"grey-600"'},{value:'"grey-700"'},{value:'"grey-800"'},{value:'"grey-900"'},{value:'"pink-50"'},{value:'"pink-100"'},{value:'"pink-200"'},{value:'"pink-300"'},{value:'"pink-400"'},{value:'"pink-500"'},{value:'"pink-600"'},{value:'"pink-700"'},{value:'"pink-800"'},{value:'"yellow-50"'},{value:'"yellow-100"'},{value:'"yellow-200"'},{value:'"yellow-300"'},{value:'"yellow-400"'},{value:'"yellow-500"'},{value:'"yellow-600"'},{value:'"yellow-700"'},{value:'"yellow-800"'},{value:'"blue-50"'},{value:'"blue-100"'},{value:'"blue-200"'},{value:'"blue-300"'},{value:'"blue-400"'},{value:'"blue-500"'},{value:'"blue-600"'},{value:'"blue-700"'},{value:'"blue-800"'},{value:'"teal-50"'},{value:'"teal-100"'},{value:'"teal-200"'},{value:'"teal-300"'},{value:'"teal-400"'},{value:'"teal-500"'},{value:'"teal-600"'},{value:'"teal-700"'},{value:'"teal-800"'},{value:'"red-50"'},{value:'"red-100"'},{value:'"red-200"'},{value:'"red-300"'},{value:'"red-400"'},{value:'"red-500"'},{value:'"red-600"'},{value:'"red-700"'},{value:'"red-800"'}]}},color:{defaultValue:null,description:"@deprecated Use accent instead.",name:"color",required:!1,type:{name:"enum",value:[{value:'"yellow-100"'},{value:'"yellow-200"'},{value:'"yellow-300"'},{value:'"yellow-400"'},{value:'"yellow-500"'},{value:'"blue-100"'},{value:'"blue-200"'},{value:'"blue-300"'},{value:'"blue-400"'},{value:'"blue-500"'},{value:'"teal-100"'},{value:'"teal-200"'},{value:'"teal-300"'},{value:'"teal-400"'},{value:'"teal-500"'},{value:'"red-100"'},{value:'"red-200"'},{value:'"red-300"'},{value:'"red-400"'},{value:'"red-500"'},{value:'"white"'},{value:'"gray-100"'},{value:'"gray-200"'},{value:'"gray-300"'},{value:'"gray-400"'},{value:'"gray-500"'},{value:'"gray-600"'},{value:'"green-100"'},{value:'"green-200"'},{value:'"green-300"'},{value:'"green-400"'},{value:'"green-500"'},{value:'"magenta-100"'},{value:'"magenta-200"'},{value:'"magenta-300"'},{value:'"magenta-400"'},{value:'"magenta-500"'}]}},label:{defaultValue:null,description:"If using the icon without any adjacent descriptive text, use this prop to\nprovide an `aria-label` for assistive technologies.",name:"label",required:!1,type:{name:"enum",value:[{value:"string"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLSpanElement | null) => void"},{value:"RefObject<HTMLSpanElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{x 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-DbIHupWZ.js";import{E as h}from"./options-DSKYF8ow.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./text-accent-BMdpzlaC.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-Wpz7-Jvg.js";import{E as h}from"./options-DSKYF8ow.js";import"./index-ChsGqxH_.js";import"./index-Cb9e4tly.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./text-accent-DZDDtpIt.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-BCfmDQ_b.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:{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"'}]}},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>"}]}},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"}]}},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>"}]}},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"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},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: HTMLAnchorElement | HTMLButtonElement | null) => void"},{value:"RefObject<HTMLAnchorElement | HTMLButtonElement>"}]}},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-xV81xRaV.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:{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"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},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"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},hasError:{defaultValue:null,description:"",name:"hasError",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},"aria-describedby":{defaultValue:null,description:`Identifies the element (or elements) that describes the object.
2
+ @see aria-labelledby`,name:"aria-describedby",required:!1,type:{name:"enum",value:[{value:"string"}]}},"aria-disabled":{defaultValue:null,description:`Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
3
+ @see aria-hidden
4
+ @see aria-readonly.`,name:"aria-disabled",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},"aria-invalid":{defaultValue:null,description:`Indicates the entered value does not conform to the format expected by the application.
5
+ @see aria-errormessage.`,name:"aria-invalid",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'},{value:'"grammar"'},{value:'"spelling"'}]}},"aria-required":{defaultValue:null,description:"Indicates that user input is required on the element before a form may be submitted.",name:"aria-required",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:'"true"'},{value:'"false"'}]}},autoComplete:{defaultValue:null,description:"",name:"autoComplete",required:!1,type:{name:"enum",value:[{value:'"url"'},{value:'"name"'},{value:'"off"'},{value:'"on"'},{value:'"email"'},{value:'"username"'},{value:'"language"'},{value:'"tel"'},{value:'"new-password"'},{value:'"current-password"'}]}},maxLength:{defaultValue:null,description:"",name:"maxLength",required:!1,type:{name:"enum",value:[{value:"number"}]}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"enum",value:[{value:"string"}]}},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"}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"enum",value:[{value:"ChangeEventHandler<Element>"}]}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"enum",value:[{value:"FocusEventHandler<Element>"}]}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"enum",value:[{value:"FocusEventHandler<Element>"}]}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler<Element>"}]}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"enum",value:[{value:"KeyboardEventHandler<Element>"}]}},onCopy:{defaultValue:null,description:"",name:"onCopy",required:!1,type:{name:"enum",value:[{value:"ClipboardEventHandler<Element>"}]}},onPaste:{defaultValue:null,description:"",name:"onPaste",required:!1,type:{name:"enum",value:[{value:"ClipboardEventHandler<Element>"}]}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"}]}},type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"url"'},{value:'"search"'},{value:'"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-C63T27Fr.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-ed9bC4H4.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:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"2xs"'},{value:'"16"'},{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:'"20"'},{value:"ResponsiveProp<Spacing>"}]}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:"enum",value:[{value:'"xs"'},{value:'"s"'},{value:'"m"'},{value:'"l"'},{value:'"xl"'},{value:'"2xs"'},{value:'"16"'},{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:'"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:'"p"'},{value:'"div"'},{value:'"span"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},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-DIaUqnvq-DH_OPu7E.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-1z75aSwo-DNAR_Nv2.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
+ .LayoutFlexItem__dKOq-{padding:0;margin:0;list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0}.LayoutFlexItem--stretch__iab5M{flex:1}.LayoutFlexItem--no-stretch__-1TuH{flex:none}@media (min-width: 400px){.LayoutFlexItem--narrow-l--stretch__3ll6c{flex:1}.LayoutFlexItem--narrow-l--no-stretch__ObDkL{flex:none}}@media (min-width: 700px){.LayoutFlexItem--medium-s--stretch__3Ry1a{flex:1}.LayoutFlexItem--medium-s--no-stretch__KB7hy{flex:none}}@media (min-width: 880px){.LayoutFlexItem--medium-l--stretch__roskH{flex:1}.LayoutFlexItem--medium-l--no-stretch__g5WGB{flex:none}}@media (min-width: 1200px){.LayoutFlexItem--wide-s--stretch__xMSyv{flex:1}.LayoutFlexItem--wide-s--no-stretch__3voIB{flex:none}}@media (min-width: 1900px){.LayoutFlexItem--wide-l--stretch__AfLMQ{flex:1}.LayoutFlexItem--wide-l--no-stretch__LA45O{flex:none}}
@@ -0,0 +1 @@
1
+ import{j as x}from"./jsx-runtime-BTJTZTIL.js";import{r as _}from"./index-Cb9e4tly.js";import{g as I,a as F,b as g}from"./layout-relative-BpJIh3YK.js";import{f as w}from"./filterHTMLAttributes-DYdLqcvH.js";import{m as b,b as C}from"./classNames-BUL1Zq7e.js";import{w as e}from"./componentNames-Bwls0I02.js";import{g as N}from"./index-DdzHuZ-Y.js";import{L as R}from"./defaults-B1rzzf6M.js";const q="LayoutFlexItem__dKOq-",A={LayoutFlexItem:q,"LayoutFlexItem--stretch":"LayoutFlexItem--stretch__iab5M","LayoutFlexItem--no-stretch":"LayoutFlexItem--no-stretch__-1TuH","LayoutFlexItem--narrow-l--stretch":"LayoutFlexItem--narrow-l--stretch__3ll6c","LayoutFlexItem--narrow-l--no-stretch":"LayoutFlexItem--narrow-l--no-stretch__ObDkL","LayoutFlexItem--medium-s--stretch":"LayoutFlexItem--medium-s--stretch__3Ry1a","LayoutFlexItem--medium-s--no-stretch":"LayoutFlexItem--medium-s--no-stretch__KB7hy","LayoutFlexItem--medium-l--stretch":"LayoutFlexItem--medium-l--stretch__roskH","LayoutFlexItem--medium-l--no-stretch":"LayoutFlexItem--medium-l--no-stretch__g5WGB","LayoutFlexItem--wide-s--stretch":"LayoutFlexItem--wide-s--stretch__xMSyv","LayoutFlexItem--wide-s--no-stretch":"LayoutFlexItem--wide-s--no-stretch__3voIB","LayoutFlexItem--wide-l--stretch":"LayoutFlexItem--wide-l--stretch__AfLMQ","LayoutFlexItem--wide-l--no-stretch":"LayoutFlexItem--wide-l--no-stretch__LA45O"},t=_.forwardRef(function({children:l,alignSelf:s,stretch:u=!1,tag:o,hide:r,relative:n,dataset:m,...i},c){const v=b(A,e.LayoutFlexItem,C("stretch","no-stretch",u)),d=I(s),p=F(r),f=g(n),y=[...v,...d,...p,...f],L=o??R,h={...w(i),ref:c,className:y.join(" "),...N(m,{preplyDsComponent:e.LayoutFlexItem})};return x.jsx(L,{...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:'"p"'},{value:'"div"'},{value:'"span"'},{value:'"main"'},{value:'"header"'},{value:'"footer"'},{value:'"article"'},{value:'"section"'},{value:'"ul"'},{value:'"ol"'},{value:'"li"'},{value:'"fieldset"'},{value:'"table"'},{value:'"th"'},{value:'"tr"'},{value:'"td"'},{value:'"thead"'},{value:'"tfoot"'},{value:'"tbody"'},{value:'"caption"'},{value:'"figure"'},{value:'"figcaption"'}]}},hide:{defaultValue:null,description:"",name:"hide",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},relative:{defaultValue:null,description:"",name:"relative",required:!1,type:{name:"enum",value:[{value:"false"},{value:"true"},{value:"ResponsiveProp<boolean>"}]}},dataset:{defaultValue:null,description:"",name:"dataset",required:!1,type:{name:"enum",value:[{value:"Dataset"}]}},ref:{defaultValue:null,description:"Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",name:"ref",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"(instance: HTMLElement | null) => void"},{value:"RefObject<HTMLElement>"}]}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"enum",value:[{value:"null"},{value:"string"},{value:"number"},{value:"bigint"}]}}}}}catch{}export{t as L};
@@ -0,0 +1 @@
1
+ import{j as w}from"./jsx-runtime-BTJTZTIL.js";import{r as g}from"./index-Cb9e4tly.js";import{m as o,b as G,a as p,s as u}from"./classNames-BUL1Zq7e.js";import{B as b}from"./breakpoints-BfMlrtxE.js";import{a as A,b as h,s as C,g as N}from"./layout-relative.module-1z75aSwo-DNAR_Nv2.js";import{L as T}from"./constants-DYYVurUY.js";import{k as v,f as U,L as R}from"./defaults-B1rzzf6M.js";import{f as O}from"./filterHTMLAttributes-UOns5Q7s.js";import{g as E}from"./index-DdzHuZ-Y.js";import{w as I}from"./componentNames-Bwls0I02.js";const k="LayoutHide",x=(t,i=T)=>o(A,k,[G("hide",i,t)]),D="LayoutRelative",Y=t=>o(h,D,[G("relative",void 0,t)]),Q="LayoutGrid__-dslt",_={LayoutGrid:Q,"LayoutGrid--justify-content-center":"LayoutGrid--justify-content-center__rwmoB","LayoutGrid--justify-content-start":"LayoutGrid--justify-content-start__7v-Km","LayoutGrid--justify-content-end":"LayoutGrid--justify-content-end__kG5-O","LayoutGrid--justify-content-space-between":"LayoutGrid--justify-content-space-between__OUUgn","LayoutGrid--justify-content-space-around":"LayoutGrid--justify-content-space-around__m3Ggq","LayoutGrid--justify-content-space-evenly":"LayoutGrid--justify-content-space-evenly__WWIsT","LayoutGrid--narrow-l--justify-content-center":"LayoutGrid--narrow-l--justify-content-center__m7jv9","LayoutGrid--narrow-l--justify-content-start":"LayoutGrid--narrow-l--justify-content-start__6tHPx","LayoutGrid--narrow-l--justify-content-end":"LayoutGrid--narrow-l--justify-content-end__afk9H","LayoutGrid--narrow-l--justify-content-space-between":"LayoutGrid--narrow-l--justify-content-space-between__RgYaV","LayoutGrid--narrow-l--justify-content-space-around":"LayoutGrid--narrow-l--justify-content-space-around__LJwHL","LayoutGrid--narrow-l--justify-content-space-evenly":"LayoutGrid--narrow-l--justify-content-space-evenly__RQJez","LayoutGrid--medium-s--justify-content-center":"LayoutGrid--medium-s--justify-content-center__-dA3F","LayoutGrid--medium-s--justify-content-start":"LayoutGrid--medium-s--justify-content-start__fmsIg","LayoutGrid--medium-s--justify-content-end":"LayoutGrid--medium-s--justify-content-end__pMkvR","LayoutGrid--medium-s--justify-content-space-between":"LayoutGrid--medium-s--justify-content-space-between__sOUof","LayoutGrid--medium-s--justify-content-space-around":"LayoutGrid--medium-s--justify-content-space-around__eJIi-","LayoutGrid--medium-s--justify-content-space-evenly":"LayoutGrid--medium-s--justify-content-space-evenly__jLcAz","LayoutGrid--medium-l--justify-content-center":"LayoutGrid--medium-l--justify-content-center__Q9TxM","LayoutGrid--medium-l--justify-content-start":"LayoutGrid--medium-l--justify-content-start__CzzxC","LayoutGrid--medium-l--justify-content-end":"LayoutGrid--medium-l--justify-content-end__FBAN7","LayoutGrid--medium-l--justify-content-space-between":"LayoutGrid--medium-l--justify-content-space-between__f5lsd","LayoutGrid--medium-l--justify-content-space-around":"LayoutGrid--medium-l--justify-content-space-around__ring-","LayoutGrid--medium-l--justify-content-space-evenly":"LayoutGrid--medium-l--justify-content-space-evenly__NZ5rM","LayoutGrid--wide-s--justify-content-center":"LayoutGrid--wide-s--justify-content-center__wqUGl","LayoutGrid--wide-s--justify-content-start":"LayoutGrid--wide-s--justify-content-start__XQkqA","LayoutGrid--wide-s--justify-content-end":"LayoutGrid--wide-s--justify-content-end__-tCcn","LayoutGrid--wide-s--justify-content-space-between":"LayoutGrid--wide-s--justify-content-space-between__kBkZm","LayoutGrid--wide-s--justify-content-space-around":"LayoutGrid--wide-s--justify-content-space-around__flpk0","LayoutGrid--wide-s--justify-content-space-evenly":"LayoutGrid--wide-s--justify-content-space-evenly__rSh2w","LayoutGrid--wide-l--justify-content-center":"LayoutGrid--wide-l--justify-content-center__b3scW","LayoutGrid--wide-l--justify-content-start":"LayoutGrid--wide-l--justify-content-start__N9skE","LayoutGrid--wide-l--justify-content-end":"LayoutGrid--wide-l--justify-content-end__7j5o6","LayoutGrid--wide-l--justify-content-space-between":"LayoutGrid--wide-l--justify-content-space-between__fLeCp","LayoutGrid--wide-l--justify-content-space-around":"LayoutGrid--wide-l--justify-content-space-around__mbpQE","LayoutGrid--wide-l--justify-content-space-evenly":"LayoutGrid--wide-l--justify-content-space-evenly__524dM","LayoutGrid--align-items-center":"LayoutGrid--align-items-center__RVwSt","LayoutGrid--align-items-start":"LayoutGrid--align-items-start__E8uxU","LayoutGrid--align-items-end":"LayoutGrid--align-items-end__4Nt2r","LayoutGrid--align-items-stretch":"LayoutGrid--align-items-stretch__A9ams","LayoutGrid--align-items-baseline":"LayoutGrid--align-items-baseline__0-yUW","LayoutGrid--narrow-l--align-items-center":"LayoutGrid--narrow-l--align-items-center__uwELy","LayoutGrid--narrow-l--align-items-start":"LayoutGrid--narrow-l--align-items-start__bgO2N","LayoutGrid--narrow-l--align-items-end":"LayoutGrid--narrow-l--align-items-end__Rswst","LayoutGrid--narrow-l--align-items-stretch":"LayoutGrid--narrow-l--align-items-stretch__j1L58","LayoutGrid--narrow-l--align-items-baseline":"LayoutGrid--narrow-l--align-items-baseline__kVArA","LayoutGrid--medium-s--align-items-center":"LayoutGrid--medium-s--align-items-center__fNix8","LayoutGrid--medium-s--align-items-start":"LayoutGrid--medium-s--align-items-start__UKPQt","LayoutGrid--medium-s--align-items-end":"LayoutGrid--medium-s--align-items-end__jaF0X","LayoutGrid--medium-s--align-items-stretch":"LayoutGrid--medium-s--align-items-stretch__jCz1x","LayoutGrid--medium-s--align-items-baseline":"LayoutGrid--medium-s--align-items-baseline__XE4bX","LayoutGrid--medium-l--align-items-center":"LayoutGrid--medium-l--align-items-center__VhrYE","LayoutGrid--medium-l--align-items-start":"LayoutGrid--medium-l--align-items-start__r8cjo","LayoutGrid--medium-l--align-items-end":"LayoutGrid--medium-l--align-items-end__s1gpS","LayoutGrid--medium-l--align-items-stretch":"LayoutGrid--medium-l--align-items-stretch__ItEfq","LayoutGrid--medium-l--align-items-baseline":"LayoutGrid--medium-l--align-items-baseline__nZ7fR","LayoutGrid--wide-s--align-items-center":"LayoutGrid--wide-s--align-items-center__mrOx2","LayoutGrid--wide-s--align-items-start":"LayoutGrid--wide-s--align-items-start__cQBTK","LayoutGrid--wide-s--align-items-end":"LayoutGrid--wide-s--align-items-end__mahG6","LayoutGrid--wide-s--align-items-stretch":"LayoutGrid--wide-s--align-items-stretch__0PTob","LayoutGrid--wide-s--align-items-baseline":"LayoutGrid--wide-s--align-items-baseline__3W7pd","LayoutGrid--wide-l--align-items-center":"LayoutGrid--wide-l--align-items-center__BOrH6","LayoutGrid--wide-l--align-items-start":"LayoutGrid--wide-l--align-items-start__4V23L","LayoutGrid--wide-l--align-items-end":"LayoutGrid--wide-l--align-items-end__zVwxu","LayoutGrid--wide-l--align-items-stretch":"LayoutGrid--wide-l--align-items-stretch__Jdna5","LayoutGrid--wide-l--align-items-baseline":"LayoutGrid--wide-l--align-items-baseline__02lpK","LayoutGrid--justify-items-stretch":"LayoutGrid--justify-items-stretch__U4vSC","LayoutGrid--justify-items-center":"LayoutGrid--justify-items-center__VARQR","LayoutGrid--justify-items-start":"LayoutGrid--justify-items-start__NLAeT","LayoutGrid--justify-items-end":"LayoutGrid--justify-items-end__w0moy","LayoutGrid--narrow-l--justify-items-stretch":"LayoutGrid--narrow-l--justify-items-stretch__hKJSX","LayoutGrid--narrow-l--justify-items-center":"LayoutGrid--narrow-l--justify-items-center__b7Xid","LayoutGrid--narrow-l--justify-items-start":"LayoutGrid--narrow-l--justify-items-start__6cBmQ","LayoutGrid--narrow-l--justify-items-end":"LayoutGrid--narrow-l--justify-items-end__1A84y","LayoutGrid--medium-s--justify-items-stretch":"LayoutGrid--medium-s--justify-items-stretch__V9kwQ","LayoutGrid--medium-s--justify-items-center":"LayoutGrid--medium-s--justify-items-center__ZWr9D","LayoutGrid--medium-s--justify-items-start":"LayoutGrid--medium-s--justify-items-start__NjFpt","LayoutGrid--medium-s--justify-items-end":"LayoutGrid--medium-s--justify-items-end__ERiPY","LayoutGrid--medium-l--justify-items-stretch":"LayoutGrid--medium-l--justify-items-stretch__O1l7k","LayoutGrid--medium-l--justify-items-center":"LayoutGrid--medium-l--justify-items-center__QDO0p","LayoutGrid--medium-l--justify-items-start":"LayoutGrid--medium-l--justify-items-start__2N9qj","LayoutGrid--medium-l--justify-items-end":"LayoutGrid--medium-l--justify-items-end__BSgLt","LayoutGrid--wide-s--justify-items-stretch":"LayoutGrid--wide-s--justify-items-stretch__QvGpc","LayoutGrid--wide-s--justify-items-center":"LayoutGrid--wide-s--justify-items-center__CbWJj","LayoutGrid--wide-s--justify-items-start":"LayoutGrid--wide-s--justify-items-start__tBgMR","LayoutGrid--wide-s--justify-items-end":"LayoutGrid--wide-s--justify-items-end__mgyU3","LayoutGrid--wide-l--justify-items-stretch":"LayoutGrid--wide-l--justify-items-stretch__x0UMz","LayoutGrid--wide-l--justify-items-center":"LayoutGrid--wide-l--justify-items-center__Q6DqC","LayoutGrid--wide-l--justify-items-start":"LayoutGrid--wide-l--justify-items-start__jIMRB","LayoutGrid--wide-l--justify-items-end":"LayoutGrid--wide-l--justify-items-end__gZTXq","LayoutGrid--columns":"LayoutGrid--columns__kFwZC","LayoutGrid--columns-narrow-l":"LayoutGrid--columns-narrow-l__7Vb8x","LayoutGrid--columns-medium-s":"LayoutGrid--columns-medium-s__V-iwq","LayoutGrid--columns-medium-l":"LayoutGrid--columns-medium-l__pzkhg","LayoutGrid--columns-wide-s":"LayoutGrid--columns-wide-s__4uJPp","LayoutGrid--columns-wide-l":"LayoutGrid--columns-wide-l__ZwkSC"},V="LayoutGrid",z=Object.keys(b),c=t=>typeof t=="number"?`repeat(${t}, 1fr)`:t.join(" "),P=t=>typeof t=="object"&&!Array.isArray(t)?Object.entries(t).reduce((i,[a,e])=>({...i,...e?{[a]:c(e)}:{}}),{_:c(t._)}):{_:c(t)},B=t=>{if(!t)return{classNames:[],style:{}};const i=P(t),a=z.filter(s=>i[s]),e=p(_,V,["columns",...a.map(s=>`columns-${s}`)]),n=a.reduce((s,r)=>({...s,[`--columns-${r}`]:i[r]}),{"--columns":i._});return{classNames:e,style:n}},S="LayoutGap",F=t=>o(C,S,[u("gap",t)]),q="LayoutGrid",H=(t,i)=>{const{gap:a=v,padding:e=U,justifyContent:n,alignItems:s,justifyItems:r,hide:d,relative:y}=i||{},m=o(_,q,[u("justify-content",n),u("align-items",s),u("justify-items",r)]),l=F(a),L=N(e),f=x(d,"grid"),j=Y(y);return[...m,...l,...L,...f,...j]},M=g.forwardRef(function({dataset:i,children:a,...e},n){const{tag:s=R,columns:r}=e,d=H("grid",e),{style:y,classNames:m}=B(r),l=[...d,...m],L={...O(e),ref:n,className:l.join(" "),style:y,...E(i,{preplyDsComponent:I.LayoutGrid})};return w.jsx(s,{...L,children:a})});M.__docgenInfo={description:"",methods:[],displayName:"LayoutGrid"};export{M as L,Y as a,x as g};
@@ -0,0 +1 @@
1
+ .LayoutGrid__-dslt{list-style:none;font-weight:inherit;border:none;text-align:inherit;border-spacing:0;margin:0;padding:0;display:grid}.LayoutGrid--justify-content-center__rwmoB{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.LayoutGrid--justify-content-start__7v-Km{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}.LayoutGrid--justify-content-end__kG5-O{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}.LayoutGrid--justify-content-space-between__OUUgn{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.LayoutGrid--justify-content-space-around__m3Ggq{-ms-flex-pack:distribute;justify-content:space-around}.LayoutGrid--justify-content-space-evenly__WWIsT{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}@media (min-width: 400px){.LayoutGrid--narrow-l--justify-content-center__m7jv9{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.LayoutGrid--narrow-l--justify-content-start__6tHPx{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}.LayoutGrid--narrow-l--justify-content-end__afk9H{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}.LayoutGrid--narrow-l--justify-content-space-between__RgYaV{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.LayoutGrid--narrow-l--justify-content-space-around__LJwHL{-ms-flex-pack:distribute;justify-content:space-around}.LayoutGrid--narrow-l--justify-content-space-evenly__RQJez{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 700px){.LayoutGrid--medium-s--justify-content-center__-dA3F{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.LayoutGrid--medium-s--justify-content-start__fmsIg{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}.LayoutGrid--medium-s--justify-content-end__pMkvR{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}.LayoutGrid--medium-s--justify-content-space-between__sOUof{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.LayoutGrid--medium-s--justify-content-space-around__eJIi-{-ms-flex-pack:distribute;justify-content:space-around}.LayoutGrid--medium-s--justify-content-space-evenly__jLcAz{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 880px){.LayoutGrid--medium-l--justify-content-center__Q9TxM{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.LayoutGrid--medium-l--justify-content-start__CzzxC{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}.LayoutGrid--medium-l--justify-content-end__FBAN7{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}.LayoutGrid--medium-l--justify-content-space-between__f5lsd{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.LayoutGrid--medium-l--justify-content-space-around__ring-{-ms-flex-pack:distribute;justify-content:space-around}.LayoutGrid--medium-l--justify-content-space-evenly__NZ5rM{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 1200px){.LayoutGrid--wide-s--justify-content-center__wqUGl{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.LayoutGrid--wide-s--justify-content-start__XQkqA{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}.LayoutGrid--wide-s--justify-content-end__-tCcn{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}.LayoutGrid--wide-s--justify-content-space-between__kBkZm{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.LayoutGrid--wide-s--justify-content-space-around__flpk0{-ms-flex-pack:distribute;justify-content:space-around}.LayoutGrid--wide-s--justify-content-space-evenly__rSh2w{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}@media (min-width: 1900px){.LayoutGrid--wide-l--justify-content-center__b3scW{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.LayoutGrid--wide-l--justify-content-start__N9skE{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}.LayoutGrid--wide-l--justify-content-end__7j5o6{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}.LayoutGrid--wide-l--justify-content-space-between__fLeCp{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.LayoutGrid--wide-l--justify-content-space-around__mbpQE{-ms-flex-pack:distribute;justify-content:space-around}.LayoutGrid--wide-l--justify-content-space-evenly__524dM{-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}}.LayoutGrid--align-items-center__RVwSt{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.LayoutGrid--align-items-start__E8uxU{-webkit-box-align:start;-ms-flex-align:start;align-items:start}.LayoutGrid--align-items-end__4Nt2r{-webkit-box-align:end;-ms-flex-align:end;align-items:end}.LayoutGrid--align-items-stretch__A9ams{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.LayoutGrid--align-items-baseline__0-yUW{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}@media (min-width: 400px){.LayoutGrid--narrow-l--align-items-center__uwELy{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.LayoutGrid--narrow-l--align-items-start__bgO2N{-webkit-box-align:start;-ms-flex-align:start;align-items:start}.LayoutGrid--narrow-l--align-items-end__Rswst{-webkit-box-align:end;-ms-flex-align:end;align-items:end}.LayoutGrid--narrow-l--align-items-stretch__j1L58{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.LayoutGrid--narrow-l--align-items-baseline__kVArA{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 700px){.LayoutGrid--medium-s--align-items-center__fNix8{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.LayoutGrid--medium-s--align-items-start__UKPQt{-webkit-box-align:start;-ms-flex-align:start;align-items:start}.LayoutGrid--medium-s--align-items-end__jaF0X{-webkit-box-align:end;-ms-flex-align:end;align-items:end}.LayoutGrid--medium-s--align-items-stretch__jCz1x{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.LayoutGrid--medium-s--align-items-baseline__XE4bX{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 880px){.LayoutGrid--medium-l--align-items-center__VhrYE{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.LayoutGrid--medium-l--align-items-start__r8cjo{-webkit-box-align:start;-ms-flex-align:start;align-items:start}.LayoutGrid--medium-l--align-items-end__s1gpS{-webkit-box-align:end;-ms-flex-align:end;align-items:end}.LayoutGrid--medium-l--align-items-stretch__ItEfq{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.LayoutGrid--medium-l--align-items-baseline__nZ7fR{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 1200px){.LayoutGrid--wide-s--align-items-center__mrOx2{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.LayoutGrid--wide-s--align-items-start__cQBTK{-webkit-box-align:start;-ms-flex-align:start;align-items:start}.LayoutGrid--wide-s--align-items-end__mahG6{-webkit-box-align:end;-ms-flex-align:end;align-items:end}.LayoutGrid--wide-s--align-items-stretch__0PTob{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.LayoutGrid--wide-s--align-items-baseline__3W7pd{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}@media (min-width: 1900px){.LayoutGrid--wide-l--align-items-center__BOrH6{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.LayoutGrid--wide-l--align-items-start__4V23L{-webkit-box-align:start;-ms-flex-align:start;align-items:start}.LayoutGrid--wide-l--align-items-end__zVwxu{-webkit-box-align:end;-ms-flex-align:end;align-items:end}.LayoutGrid--wide-l--align-items-stretch__Jdna5{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.LayoutGrid--wide-l--align-items-baseline__02lpK{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}}.LayoutGrid--justify-items-stretch__U4vSC{justify-items:stretch}.LayoutGrid--justify-items-center__VARQR{justify-items:center}.LayoutGrid--justify-items-start__NLAeT{justify-items:start}.LayoutGrid--justify-items-end__w0moy{justify-items:end}@media (min-width: 400px){.LayoutGrid--narrow-l--justify-items-stretch__hKJSX{justify-items:stretch}.LayoutGrid--narrow-l--justify-items-center__b7Xid{justify-items:center}.LayoutGrid--narrow-l--justify-items-start__6cBmQ{justify-items:start}.LayoutGrid--narrow-l--justify-items-end__1A84y{justify-items:end}}@media (min-width: 700px){.LayoutGrid--medium-s--justify-items-stretch__V9kwQ{justify-items:stretch}.LayoutGrid--medium-s--justify-items-center__ZWr9D{justify-items:center}.LayoutGrid--medium-s--justify-items-start__NjFpt{justify-items:start}.LayoutGrid--medium-s--justify-items-end__ERiPY{justify-items:end}}@media (min-width: 880px){.LayoutGrid--medium-l--justify-items-stretch__O1l7k{justify-items:stretch}.LayoutGrid--medium-l--justify-items-center__QDO0p{justify-items:center}.LayoutGrid--medium-l--justify-items-start__2N9qj{justify-items:start}.LayoutGrid--medium-l--justify-items-end__BSgLt{justify-items:end}}@media (min-width: 1200px){.LayoutGrid--wide-s--justify-items-stretch__QvGpc{justify-items:stretch}.LayoutGrid--wide-s--justify-items-center__CbWJj{justify-items:center}.LayoutGrid--wide-s--justify-items-start__tBgMR{justify-items:start}.LayoutGrid--wide-s--justify-items-end__mgyU3{justify-items:end}}@media (min-width: 1900px){.LayoutGrid--wide-l--justify-items-stretch__x0UMz{justify-items:stretch}.LayoutGrid--wide-l--justify-items-center__Q6DqC{justify-items:center}.LayoutGrid--wide-l--justify-items-start__jIMRB{justify-items:start}.LayoutGrid--wide-l--justify-items-end__gZTXq{justify-items:end}}.LayoutGrid--columns__kFwZC{grid-template-columns:var(--columns)}@media (min-width: 400px){.LayoutGrid--columns-narrow-l__7Vb8x{grid-template-columns:var(--columns-narrow-l)}}@media (min-width: 700px){.LayoutGrid--columns-medium-s__V-iwq{grid-template-columns:var(--columns-medium-s)}}@media (min-width: 880px){.LayoutGrid--columns-medium-l__pzkhg{grid-template-columns:var(--columns-medium-l)}}@media (min-width: 1200px){.LayoutGrid--columns-wide-s__4uJPp{grid-template-columns:var(--columns-wide-s)}}@media (min-width: 1900px){.LayoutGrid--columns-wide-l__ZwkSC{grid-template-columns:var(--columns-wide-l)}}