@ebrains/vue 0.9.0-beta → 0.9.2-beta

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 (267) hide show
  1. package/.eslintrc.json +18 -0
  2. package/LICENSE +21 -0
  3. package/README.md +5 -1
  4. package/package.json +1 -1
  5. package/project.json +9 -0
  6. package/src/generated/components.ts +374 -0
  7. package/src/generated/vue-component-lib/utils.ts +236 -0
  8. package/src/index.ts +1 -0
  9. package/src/vue-shims.d.ts +5 -0
  10. package/tsconfig.json +18 -0
  11. package/tsconfig.lib.json +27 -0
  12. package/vite.config.ts +71 -0
  13. package/analytics-44b1416b-3vYuu4Xs.mjs +0 -28
  14. package/analytics-44b1416b-ol77SdQE.js +0 -1
  15. package/arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs +0 -4
  16. package/arrow-diagonal-black-8f0494c3-DqsB6ni-.js +0 -1
  17. package/arrow-right-9322ba8a-DBcxNU_p.js +0 -3
  18. package/arrow-right-9322ba8a-DHq-_PPe.mjs +0 -6
  19. package/bluesky-cc5edd2d-DaFQc-pr.js +0 -12
  20. package/bluesky-cc5edd2d-DfuDDO5h.mjs +0 -15
  21. package/bookmark-c200037c-CIcZ51ZQ.js +0 -14
  22. package/bookmark-c200037c-ClkCtyRY.mjs +0 -17
  23. package/chevron-down-6144c823-DWGlv9eV.mjs +0 -13
  24. package/chevron-down-6144c823-D_8976Ke.js +0 -10
  25. package/chevron-left-ca6c66e1-DANhLw_T.mjs +0 -12
  26. package/chevron-left-ca6c66e1-uCH5SUhm.js +0 -9
  27. package/chevron-right-b88ed2d4-C7dkTMvP.js +0 -3
  28. package/chevron-right-b88ed2d4-CgEZBvy7.mjs +0 -6
  29. package/chevron-up-c66bd477-ByW7R48t.js +0 -10
  30. package/chevron-up-c66bd477-CETJkshq.mjs +0 -13
  31. package/close-87fc0d63-Cbd-ScJr.js +0 -3
  32. package/close-87fc0d63-DtDU2HIU.mjs +0 -6
  33. package/color-2554aad6-CCcV5UJZ.mjs +0 -131
  34. package/color-2554aad6-D1hFGX4H.js +0 -1
  35. package/color-primary-palette_6.entry-B00J5gKq.js +0 -1
  36. package/color-primary-palette_6.entry-DJl4iXuX.mjs +0 -300
  37. package/components-section.entry-Bp5Ot0Sn.js +0 -162
  38. package/components-section.entry-CMHPm3bn.mjs +0 -351
  39. package/copy-03b72cb6-B_WCNQrG.mjs +0 -6
  40. package/copy-03b72cb6-CZAFAegx.js +0 -3
  41. package/correct-use-of-colors.entry-BRM7osKs.js +0 -1
  42. package/correct-use-of-colors.entry-BcZ8MzKb.mjs +0 -59
  43. package/docs-palettes.entry-BoEjXr5K.js +0 -1
  44. package/docs-palettes.entry-CkVHcQbL.mjs +0 -22
  45. package/docs-tokens.entry-C22LSw0P.js +0 -1
  46. package/docs-tokens.entry-D38mtdPC.mjs +0 -30
  47. package/eds-accordion.entry-B25YfdGD.js +0 -4
  48. package/eds-accordion.entry-ivh1zjpt.mjs +0 -48
  49. package/eds-alert.entry-C0p3qeqh.js +0 -739
  50. package/eds-alert.entry-DOCbYqvG.mjs +0 -825
  51. package/eds-app-root.entry-AYVIYcb1.mjs +0 -25
  52. package/eds-app-root.entry-DfPrDdc_.js +0 -1
  53. package/eds-avatar_24.entry-BcY_4aZT.mjs +0 -33279
  54. package/eds-avatar_24.entry-DBYYqNco.js +0 -31821
  55. package/eds-breadcrumb.entry-BTYLNHlm.mjs +0 -104
  56. package/eds-breadcrumb.entry-Drb48V7S.js +0 -1
  57. package/eds-card-desc_3.entry-BlQBUPMR.js +0 -1
  58. package/eds-card-desc_3.entry-DtsrKQS6.mjs +0 -83
  59. package/eds-card-generic.entry-Dtfs4XKl.mjs +0 -56
  60. package/eds-card-generic.entry-w0E2hhjp.js +0 -1
  61. package/eds-card-project.entry-Cek2GMTn.js +0 -1
  62. package/eds-card-project.entry-Cy_NC5av.mjs +0 -44
  63. package/eds-card-section.entry-D1yKOTXz.mjs +0 -30
  64. package/eds-card-section.entry-DLE2WAV_.js +0 -1
  65. package/eds-card-tags.entry-CmRv-oB4.js +0 -1
  66. package/eds-card-tags.entry-Q9xxbeAG.mjs +0 -13
  67. package/eds-card-tool.entry-DF_jWDUL.js +0 -1
  68. package/eds-card-tool.entry-Dgi1G1RH.mjs +0 -56
  69. package/eds-card-wrapper.entry-DZZOVhcJ.js +0 -1
  70. package/eds-card-wrapper.entry-k-aNj4Ms.mjs +0 -24
  71. package/eds-code-block.entry-BjrDmUCm.mjs +0 -1623
  72. package/eds-code-block.entry-DoUacOW1.js +0 -9
  73. package/eds-cookies-preference.entry-B7gp0J-S.js +0 -1
  74. package/eds-cookies-preference.entry-DkA2HKmI.mjs +0 -20
  75. package/eds-feedback.entry-C9Ir38bt.mjs +0 -53
  76. package/eds-feedback.entry-GNZz9ODR.js +0 -1
  77. package/eds-frame.entry-CcmLaVze.mjs +0 -67
  78. package/eds-frame.entry-XyeUo6pB.js +0 -1
  79. package/eds-icon-arrow-diagonal.entry-B0dxbX_o.mjs +0 -13
  80. package/eds-icon-arrow-diagonal.entry-o5Ev_oO7.js +0 -1
  81. package/eds-icon-arrow-right.entry-DUHmdP-V.js +0 -1
  82. package/eds-icon-arrow-right.entry-DpdjX5aS.mjs +0 -13
  83. package/eds-icon-bluesky.entry-Bv0-EDnj.js +0 -1
  84. package/eds-icon-bluesky.entry-DkSAjnck.mjs +0 -13
  85. package/eds-icon-bookmark.entry-Bjzq8uze.js +0 -1
  86. package/eds-icon-bookmark.entry-C_0B6YJU.mjs +0 -13
  87. package/eds-icon-chevron-down.entry-BERHGaTB.js +0 -1
  88. package/eds-icon-chevron-down.entry-DnKTBqKv.mjs +0 -13
  89. package/eds-icon-chevron-left.entry-Bo8LqkIz.js +0 -1
  90. package/eds-icon-chevron-left.entry-DT2At_f6.mjs +0 -13
  91. package/eds-icon-chevron-right.entry-BFoMlLTp.mjs +0 -13
  92. package/eds-icon-chevron-right.entry-DyqeLE1B.js +0 -1
  93. package/eds-icon-chevron-up.entry-Bpy8lbif.js +0 -1
  94. package/eds-icon-chevron-up.entry-JSrFaEET.mjs +0 -13
  95. package/eds-icon-close.entry-CzIoe2p3.mjs +0 -13
  96. package/eds-icon-close.entry-cabdCuVg.js +0 -1
  97. package/eds-icon-copy.entry-C08qTrZl.mjs +0 -13
  98. package/eds-icon-copy.entry-CvpG2Kxo.js +0 -1
  99. package/eds-icon-eu.entry-ChZ09s02.mjs +0 -13
  100. package/eds-icon-eu.entry-H2skG2J6.js +0 -1
  101. package/eds-icon-external.entry-DKbmbXLG.mjs +0 -13
  102. package/eds-icon-external.entry-DVlEoMZl.js +0 -1
  103. package/eds-icon-facebook.entry-4bvKyXXu.mjs +0 -13
  104. package/eds-icon-facebook.entry-COSHMM4W.js +0 -1
  105. package/eds-icon-gitlab.entry-BXLfky5G.mjs +0 -13
  106. package/eds-icon-gitlab.entry-D_zX1Jsy.js +0 -1
  107. package/eds-icon-linkedin.entry-CjXcA0DQ.js +0 -1
  108. package/eds-icon-linkedin.entry-_3H4M1ch.mjs +0 -13
  109. package/eds-icon-loader.entry-BA-W8oxC.js +0 -1
  110. package/eds-icon-loader.entry-Cp3B6C_B.mjs +0 -13
  111. package/eds-icon-mastodon.entry-Bmb_O0hs.mjs +0 -13
  112. package/eds-icon-mastodon.entry-DUFdG1dJ.js +0 -1
  113. package/eds-icon-menu.entry-DOdmibhy.mjs +0 -13
  114. package/eds-icon-menu.entry-Qg4r_OkP.js +0 -1
  115. package/eds-icon-minus.entry-8htg5ASo.mjs +0 -13
  116. package/eds-icon-minus.entry-Diem-PL4.js +0 -1
  117. package/eds-icon-more.entry-BY-mI4ec.js +0 -1
  118. package/eds-icon-more.entry-DyWgD7vJ.mjs +0 -13
  119. package/eds-icon-paper.entry-BI3DMxCS.mjs +0 -13
  120. package/eds-icon-paper.entry-D2mmnsXf.js +0 -1
  121. package/eds-icon-plus.entry-B8KAaEGT.js +0 -1
  122. package/eds-icon-plus.entry-Ccr7jseH.mjs +0 -13
  123. package/eds-icon-portal.entry-BLhT9_Nz.js +0 -1
  124. package/eds-icon-portal.entry-D2iNYdZW.mjs +0 -13
  125. package/eds-icon-private.entry-CK2gzDym.mjs +0 -13
  126. package/eds-icon-private.entry-ToYtRpET.js +0 -1
  127. package/eds-icon-public.entry-BOnTLyd7.js +0 -1
  128. package/eds-icon-public.entry-N8tks7_E.mjs +0 -13
  129. package/eds-icon-search.entry-C9tMq1XC.js +0 -1
  130. package/eds-icon-search.entry-DuG-zesK.mjs +0 -13
  131. package/eds-icon-star.entry-B-PeifnZ.mjs +0 -13
  132. package/eds-icon-star.entry-CHoursjw.js +0 -1
  133. package/eds-icon-success.entry-BJm--l5m.mjs +0 -13
  134. package/eds-icon-success.entry-ED6eDDgi.js +0 -1
  135. package/eds-icon-thumbs-down.entry-BzEfZ1AX.mjs +0 -13
  136. package/eds-icon-thumbs-down.entry-zjkeVdJJ.js +0 -1
  137. package/eds-icon-thumbs-up.entry-CZJlAqFh.js +0 -1
  138. package/eds-icon-thumbs-up.entry-DutZ0Kki.mjs +0 -13
  139. package/eds-icon-tutorial.entry-DRMLIdl4.mjs +0 -13
  140. package/eds-icon-tutorial.entry-D_9AQ-6-.js +0 -1
  141. package/eds-icon-twitter.entry-CJhiAxNu.mjs +0 -13
  142. package/eds-icon-twitter.entry-DDsRqP6N.js +0 -1
  143. package/eds-icon-unknown.entry-57uXdegM.mjs +0 -13
  144. package/eds-icon-unknown.entry-7Mmqc2BG.js +0 -1
  145. package/eds-icon-updown.entry-BwdgdGgR.mjs +0 -13
  146. package/eds-icon-updown.entry-b0BvWM4f.js +0 -1
  147. package/eds-icon-user.entry-BJ7Wi5JO.mjs +0 -13
  148. package/eds-icon-user.entry-czB7LMt8.js +0 -1
  149. package/eds-icon-youtube.entry-BWP1dBVD.mjs +0 -13
  150. package/eds-icon-youtube.entry-v007UjBQ.js +0 -1
  151. package/eds-login_2.entry-BfzeZBGw.mjs +0 -981
  152. package/eds-login_2.entry-DmBDAFIz.js +0 -9
  153. package/eds-matomo-notice.entry-B-MlwGCp.mjs +0 -90
  154. package/eds-matomo-notice.entry-CCiq7z7U.js +0 -1
  155. package/eds-modal.entry-DU5qpx-i.js +0 -1
  156. package/eds-modal.entry-puAN0sn-.mjs +0 -96
  157. package/eds-pagination_2.entry-CuaStxZg.js +0 -1
  158. package/eds-pagination_2.entry-DWzfLRgF.mjs +0 -258
  159. package/eds-progress-bar.entry-BRTtAttw.mjs +0 -21
  160. package/eds-progress-bar.entry-qScp3MQj.js +0 -1
  161. package/eds-rating.entry-CEI0zBir.mjs +0 -61
  162. package/eds-rating.entry-DOTYJZZ6.js +0 -1
  163. package/eds-section-core_2.entry-BZpOdGAA.mjs +0 -39
  164. package/eds-section-core_2.entry-Cmly0OqW.js +0 -1
  165. package/eds-spinner.entry-C_3hil-u.js +0 -1
  166. package/eds-spinner.entry-DLqey9r7.mjs +0 -36
  167. package/eds-switch.entry-BPHya25S.mjs +0 -20
  168. package/eds-switch.entry-IoOUDh10.js +0 -1
  169. package/eds-tabs.entry-DEOntaY1.mjs +0 -7880
  170. package/eds-tabs.entry-lqdai_rD.js +0 -7777
  171. package/eds-timeline.entry-CC0zKwha.js +0 -7777
  172. package/eds-timeline.entry-c1YpsWVJ.mjs +0 -7822
  173. package/eds-toast-manager.entry-BvunvxZX.mjs +0 -36
  174. package/eds-toast-manager.entry-DMZSCFoE.js +0 -1
  175. package/eds-toast.entry-DW3toqwW.mjs +0 -61
  176. package/eds-toast.entry-rudQ7nhp.js +0 -3
  177. package/eds-tooltip.entry-CcGgCRMO.js +0 -1
  178. package/eds-tooltip.entry-CoHV78jm.mjs +0 -77
  179. package/eds-trl.entry-CQOb5dk-.mjs +0 -34
  180. package/eds-trl.entry-L0XqQYCq.js +0 -1
  181. package/eu-9ddde93a-BFtIQw9B.js +0 -28
  182. package/eu-9ddde93a-ft4szvR5.mjs +0 -31
  183. package/facebook-9cb5c17f-BcUhbrj6.mjs +0 -15
  184. package/facebook-9cb5c17f-Y_gvQ682.js +0 -12
  185. package/generated/components.d.ts +0 -41
  186. package/generated/vue-component-lib/utils.d.ts +0 -16
  187. package/incorrect-use-of-colors.entry-C1QG9658.js +0 -1
  188. package/incorrect-use-of-colors.entry-C3Qt3gSE.mjs +0 -42
  189. package/index-39c58238-BwYCDOHZ.mjs +0 -44
  190. package/index-39c58238-SQ-JC-LH.js +0 -1
  191. package/index-cHrGUVDM.js +0 -21
  192. package/index-xVeSZU9j.mjs +0 -3633
  193. package/index.d.ts +0 -1
  194. package/index.js +0 -1
  195. package/index.mjs +0 -43
  196. package/linkedin-e8650abb-BkDrkjzY.js +0 -26
  197. package/linkedin-e8650abb-DYMdsale.mjs +0 -29
  198. package/loader-c9628637-ChpnbJkv.mjs +0 -31
  199. package/loader-c9628637-Vj8Wt1e8.js +0 -28
  200. package/logo-color-7f1fd803-CFgbXdt8.mjs +0 -116
  201. package/logo-color-7f1fd803-DRD3vZVn.js +0 -113
  202. package/logo-color-margins-ff8ce71b-B9nMsY9Q.mjs +0 -119
  203. package/logo-color-margins-ff8ce71b-Dk06zr1Z.js +0 -116
  204. package/logo-space.entry-H3itdzkq.mjs +0 -19
  205. package/logo-space.entry-epl_-703.js +0 -6
  206. package/logo-variations-horizontal_2.entry-CKLOzzOx.mjs +0 -29
  207. package/logo-variations-horizontal_2.entry-k6KqYji6.js +0 -7
  208. package/logo-variations-tabs.entry-BpYl8Gpo.js +0 -1
  209. package/logo-variations-tabs.entry-Df5DuYk-.mjs +0 -22
  210. package/logo-white-no-bg-f382f86f-DXYn3NwV.js +0 -1011
  211. package/logo-white-no-bg-f382f86f-YhfmNmGG.mjs +0 -1022
  212. package/logo-wrong-usage.entry-Bkg9gp3h.mjs +0 -14
  213. package/logo-wrong-usage.entry-DhlWm8es.js +0 -1
  214. package/mastodon-3703ec61-C7iI4Hk0.mjs +0 -15
  215. package/mastodon-3703ec61-C9v6Olc-.js +0 -12
  216. package/menu-340ea948-BpnYX3gY.mjs +0 -12
  217. package/menu-340ea948-ZdelWVw3.js +0 -9
  218. package/minus-b30a7c71-BPAvqHzH.mjs +0 -12
  219. package/minus-b30a7c71-DqCTe6Qh.js +0 -9
  220. package/mono-53f70232-DGi2XDlR.mjs +0 -12
  221. package/mono-53f70232-DgAsWvoQ.js +0 -9
  222. package/more-4449d549-D4HA1cRq.js +0 -11
  223. package/more-4449d549-rI9hOpEp.mjs +0 -14
  224. package/paper-8e74ea31-BvGrc1Vo.mjs +0 -16
  225. package/paper-8e74ea31-C4CV6tlB.js +0 -13
  226. package/plus-89c07be2-BTXnjg5K.js +0 -10
  227. package/plus-89c07be2-DyT9I4-L.mjs +0 -13
  228. package/portal-d6c8ce56-Cj61ldo8.mjs +0 -19
  229. package/portal-d6c8ce56-NpSrdNZ_.js +0 -16
  230. package/private-1c25ff8e-D3Fo36q6.js +0 -23
  231. package/private-1c25ff8e-Dz82_Xf8.mjs +0 -26
  232. package/public-d4d8c585-BJKDD5F6.mjs +0 -17
  233. package/public-d4d8c585-lV6QxdPw.js +0 -14
  234. package/search-fbcd79c2-BMxCaeEk.js +0 -10
  235. package/search-fbcd79c2-rfV0PlHP.mjs +0 -13
  236. package/sharedUtils-a550989c-Ci3Tx3jc.mjs +0 -15
  237. package/sharedUtils-a550989c-m4pF1Vqy.js +0 -1
  238. package/star-0da9b5e9-B3-jr0yE.js +0 -3
  239. package/star-0da9b5e9-DX8_iFmu.mjs +0 -6
  240. package/success-443809da-BD23vltm.mjs +0 -19
  241. package/success-443809da-BUEhLsAD.js +0 -16
  242. package/svg-repository.entry-C1TKYvU7.mjs +0 -301
  243. package/svg-repository.entry-DxVwTMCv.js +0 -173
  244. package/thumbs-down-a18fd049-CzuBAj99.mjs +0 -6
  245. package/thumbs-down-a18fd049-DTNIbYbm.js +0 -3
  246. package/thumbs-up-c19a71bc-CjLv5Wgw.mjs +0 -7
  247. package/thumbs-up-c19a71bc-w8Z8gegt.js +0 -4
  248. package/toastManager-d9eee791-CEYNwx25.mjs +0 -30
  249. package/toastManager-d9eee791-DvR_vUPI.js +0 -1
  250. package/token-list_3.entry-CABw7-9O.mjs +0 -247
  251. package/token-list_3.entry-CawIyAia.js +0 -1
  252. package/token-ratios.entry-BGWJSHfY.mjs +0 -25
  253. package/token-ratios.entry-B_FOHsNq.js +0 -1
  254. package/token-typography.entry-BHvTpH4i.mjs +0 -213
  255. package/token-typography.entry-FXRD_KVv.js +0 -2
  256. package/tutotial-150ee1fd-DFdyoHVA.mjs +0 -28
  257. package/tutotial-150ee1fd-DjN_JBL5.js +0 -25
  258. package/twitter-ac21b505-CGWVGWM9.mjs +0 -15
  259. package/twitter-ac21b505-DDdHS4hB.js +0 -12
  260. package/unknown-ed01a24c-B0AcMuip.js +0 -20
  261. package/unknown-ed01a24c-DonOUpIC.mjs +0 -23
  262. package/up-and-down-d747abee-CWoZjUyq.js +0 -10
  263. package/up-and-down-d747abee-D7g6H0T0.mjs +0 -13
  264. package/user-71ebdc15-BBKQbcQD.js +0 -14
  265. package/user-71ebdc15-CoHlCtJg.mjs +0 -17
  266. package/youtube-efbfbdc4-BLTH1Jl9.js +0 -12
  267. package/youtube-efbfbdc4-BfySbfjR.mjs +0 -15
@@ -1,247 +0,0 @@
1
- import { r as d, h as e } from "./index-xVeSZU9j.mjs";
2
- const l = {
3
- tokens: {
4
- // grey
5
- "grey-100": "#f8f8f8",
6
- "grey-200": "#f2f2f2",
7
- "grey-300": "#e6e6e6",
8
- "grey-400": "#d8d8d8",
9
- "grey-500": "#8c8c8c",
10
- "grey-600": "#6e6e6e",
11
- "grey-700": "#666666",
12
- "grey-800": "#4d4d4d",
13
- "grey-900": "#242424",
14
- // green
15
- "green-100": "#eaffee",
16
- "green-200": "#d3ffdc",
17
- "green-300": "#9dffb4",
18
- "green-400": "#63fb92",
19
- "green-500": "#00e766",
20
- "green-600": "#00c959",
21
- "green-700": "#009d45",
22
- "green-800": "#007734",
23
- "green-900": "#004f23",
24
- // yellow
25
- "yellow-100": "#fefee5",
26
- "yellow-200": "#ffffcb",
27
- "yellow-300": "#fdfdaa",
28
- "yellow-400": "#ffff8b",
29
- "yellow-500": "#ffff51",
30
- "yellow-600": "#f3f30a",
31
- "yellow-700": "#d7d72b",
32
- "yellow-800": "#9a9a1e",
33
- "yellow-900": "#636313",
34
- // orange
35
- "orange-100": "#fff4ee",
36
- "orange-200": "#ffeade",
37
- "orange-300": "#ffdcc5",
38
- "orange-400": "#ffcca9",
39
- "orange-500": "#ffb87e",
40
- "orange-600": "#ffa543",
41
- "orange-700": "#cb7f28",
42
- "orange-800": "#995f1e",
43
- "orange-900": "#653f14",
44
- // red
45
- "red-100": "#feefef",
46
- "red-200": "#ffe0e1",
47
- "red-300": "#ffc7c9",
48
- "red-400": "#ff9ea2",
49
- "red-500": "#ff7a7f",
50
- "red-600": "#ff4d68",
51
- "red-700": "#d01111",
52
- "red-800": "#a3001a",
53
- "red-900": "#6f0011",
54
- // purple
55
- "purple-100": "#f9f3ff",
56
- "purple-200": "#f4e8ff",
57
- "purple-300": "#e9ceff",
58
- "purple-400": "#ddb1ff",
59
- "purple-500": "#d18fff",
60
- "purple-600": "#c461ff",
61
- "purple-700": "#af56e4",
62
- "purple-800": "#8337b1",
63
- "purple-900": "#3d1e4f",
64
- // blue
65
- "blue-100": "#eff0ff",
66
- "blue-200": "#dee0ff",
67
- "blue-300": "#caceff",
68
- "blue-400": "#b2b8ff",
69
- "blue-500": "#7a89f5",
70
- "blue-600": "#2b69fc",
71
- "blue-700": "#0034cb",
72
- "blue-800": "#002799",
73
- "blue-900": "#001a65",
74
- // cyan
75
- "cyan-100": "#E0EEFF",
76
- "cyan-200": "#D3E6FF",
77
- "cyan-300": "#B5D8FF",
78
- "cyan-400": "#92C8FF",
79
- "cyan-500": "#6CBFFE",
80
- "cyan-600": "#3FA9F5",
81
- "cyan-700": "#267FBE",
82
- "cyan-800": "#1F689B",
83
- "cyan-900": "#15496D",
84
- // Generics
85
- black: "#000000",
86
- white: "#ffffff",
87
- transparent: "transparent",
88
- current: "currentColor"
89
- },
90
- border: {
91
- default: "black",
92
- inverse: "white",
93
- "inverse-soft": "rgba(255, 255, 255, 0.3)",
94
- "inverse-softer": "rgba(255, 255, 255, 0.15)",
95
- soft: "rgba(0, 0, 0, .15 )",
96
- softer: "rgba(0, 0, 0, .1 )",
97
- softest: "rgba(0, 0, 0, .05 )",
98
- accent: "green-500",
99
- error: "red-700",
100
- current: "currentColor",
101
- transparent: "transparent"
102
- },
103
- text: {
104
- inverse: "white",
105
- default: "black",
106
- current: "currentColor",
107
- transparent: "transparent",
108
- light: "grey-700",
109
- lighter: "grey-600",
110
- lightest: "grey-500",
111
- "extra-light": "grey-300",
112
- success: "green-800",
113
- warning: "yellow-900",
114
- error: "red-700",
115
- accent: "green-500",
116
- "on-gradient": "rgba(0, 0, 0, 0.55)"
117
- },
118
- background: {
119
- default: "grey-200",
120
- inverse: "white",
121
- "inverse-soft": "rgba(255, 255, 255, .2)",
122
- "inverse-softer": "rgba(255, 255, 255, .15)",
123
- dark: "grey-300",
124
- darker: "grey-400",
125
- strong: "grey-700",
126
- "strong-dark": "grey-800",
127
- stronger: "grey-900",
128
- strongest: "black",
129
- "strongest-soft": "rgba(0, 0, 0, .05)",
130
- accent: "green-500",
131
- "accent-dark": "green-600",
132
- "accent-darker": "green-800",
133
- success: "green-200",
134
- warning: "yellow-200",
135
- error: "red-200",
136
- current: "currentColor",
137
- transparent: "transparent",
138
- overlay: "rgba(0, 0, 0, 0.25)",
139
- "on-gradient": "rgba(0, 0, 0, 0.1)",
140
- "on-dark": "rgba(255, 255, 255, 0.2)"
141
- },
142
- underline: {
143
- accent: "green-500",
144
- light: "grey-700",
145
- lighter: "grey-600",
146
- lightest: "grey-500",
147
- "extra-light": "grey-300"
148
- },
149
- outline: { default: "black", accent: "green-500" },
150
- /**
151
- * Gradients token are created manually inside gradients.css utility file.
152
- * This mapping is here to generate gradients view inside storybook
153
- * @file: ui-components/src/assets/styles/utilities/gradient.css
154
- */
155
- gradients: {
156
- "gradient-01-top": "gradient-01-top",
157
- "gradient-02-top": "gradient-02-top",
158
- "gradient-03-top": "gradient-03-top",
159
- "gradient-04-top": "gradient-04-top",
160
- "gradient-01-bottom": "gradient-01-bottom",
161
- "gradient-02-bottom": "gradient-02-bottom",
162
- "gradient-03-bottom": "gradient-03-bottom",
163
- "gradient-04-bottom": "gradient-04-bottom"
164
- }
165
- }, x = class {
166
- constructor(r) {
167
- d(this, r), this.show = void 0;
168
- }
169
- getTextColor(r) {
170
- if (r.startsWith("rgba") || r.startsWith("rgb")) {
171
- const t = r.replace(/rgba?\(/, "").replace(")", "").split(",").map((c) => parseFloat(c.trim())), s = t[0], a = t[1], o = t[2];
172
- return (0.299 * s + 0.587 * a + 0.114 * o) / 255 > 0.5 ? "text-default" : "text-inverse";
173
- } else if (r.startsWith("#")) {
174
- const t = r.replace("#", ""), s = parseInt(t.substring(0, 2), 16), a = parseInt(t.substring(2, 4), 16), o = parseInt(t.substring(4, 6), 16);
175
- return (0.299 * s + 0.587 * a + 0.114 * o) / 255 > 0.5 ? "text-default" : "text-inverse";
176
- }
177
- return "text-default";
178
- }
179
- resolveColor(r) {
180
- return l.tokens[r] ? l.tokens[r] : r;
181
- }
182
- renderSection(r, t) {
183
- if (r === "tokens") {
184
- const s = this.groupTokensByCategory(t);
185
- return Object.entries(s).map(([, a]) => e("ul", { class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, a.map((o) => {
186
- const n = Object.keys(o)[0], c = this.resolveColor(o[n]), g = this.getTextColor(c);
187
- return e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "effect-height items-center justify-between p-16 hidden lg:flex", style: { backgroundColor: c } }, e("span", { class: `${g} f-body-02` }, n), e("div", { class: "inline-flex" }, e("eds-code-block", { code: c, language: "hex", class: "min-w-[210px] mr-4" }), e("eds-code-block", { language: "css", code: `var(--${n})`, class: "min-w-[210px]" }))), e("div", { class: "effect-height items-center justify-between p-16 block lg:hidden", style: { backgroundColor: c } }, e("span", { class: `${g} f-body-02` }, n), e("div", { class: "inline block" }, e("eds-code-block", { code: c, class: "min-w-[210px] mb-4" }), e("eds-code-block", { code: `var(--${n})`, class: "min-w-[210px]" }))));
188
- })));
189
- }
190
- return e("ul", { class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(t).map(([s, a]) => {
191
- const o = this.resolveColor(a), n = this.getTextColor(o), c = o.startsWith("#") || o.startsWith("rgb") ? { backgroundColor: o } : { border: `2px solid ${o}` };
192
- return e("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col" }, e("div", { class: "effect-height block lg:flex items-center justify-between p-16", style: c }, e("div", { class: "w-full flex" }, e("span", { class: `${n} mr-auto font-bold` }, s), e("span", { class: `${n} ml-auto mr-4 font-bold` }, a)), e("span", { class: `${n}` }, r === "background" ? e("eds-code-block", { code: `bg-${s}`, class: "min-w-[210px] mr-4" }) : e("eds-code-block", { code: `${r}-${s}`, class: r === "border" ? "min-w-[250px] mr-4" : "min-w-[210px] mr-4" }))));
193
- }));
194
- }
195
- groupTokensByCategory(r) {
196
- const t = {};
197
- return Object.entries(r).forEach(([s, a]) => {
198
- const o = s.split("-")[0];
199
- t[o] || (t[o] = []), t[o].push({ [s]: a });
200
- }), t;
201
- }
202
- render() {
203
- const r = this.show ? { [this.show]: l[this.show] } : l;
204
- return e("section", { key: "8b81b207da80d0006bd14157e527932ca5305a93", class: "w-full mt-28" }, Object.entries(r).map(([t, s]) => (
205
- // Only render sections that exist in `colors`
206
- s ? this.renderSection(t, s) : null
207
- )));
208
- }
209
- }, f = {
210
- xxs: "2px",
211
- xs: "4px",
212
- sm: "8px",
213
- md: "12px",
214
- lg: "16px",
215
- pill: "100px"
216
- }, y = class {
217
- constructor(r) {
218
- d(this, r);
219
- }
220
- render() {
221
- return e("section", { key: "912af038957cf8b00443e72529d4929b7a508a0a", class: "w-full mt-28" }, e("ul", { key: "ffffacd1e6006a05a27d5e1248ce626c36abc73e", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(f).map(([r, t]) => e("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { class: `w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${r}` }, e("eds-code-block", { language: "Utility Class", code: `rounded-${r}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), e("eds-code-block", { code: `border-radius:${t}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))));
222
- }
223
- }, i = {
224
- small: "0px 1.5px 2px rgba(0, 0, 0, 0.1)",
225
- hover: "0px 0px 16px rgba(0, 0, 0, 0.2)",
226
- accent: "0px 0px 12px rgba(0, 201, 89, 0.6)",
227
- podium: "0px 0px 8px 8px rgb(0 0 0 / 25%);",
228
- border: "0 10px 10px rgba(0, 0, 0, 0.15);",
229
- "border-top": "0 -10px 10px rgba(0, 0, 0, 0.15);"
230
- }, p = {
231
- small: "0px 0px 16px rgba(0, 0, 0, 0.3)"
232
- }, b = {
233
- shadows: i,
234
- dropShadows: p
235
- }, m = class {
236
- constructor(r) {
237
- d(this, r);
238
- }
239
- render() {
240
- return e("section", { key: "af8f66e30d9115f920d483c02d1f7c2b718589f9", class: "w-full mt-28" }, e("ul", { key: "1588c580f981ab148ba23a76cd33b0c8b993822c", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(b).map(([r, t]) => Object.entries(t).map(([s, a]) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, e("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: a } }, e("eds-code-block", { code: `${r}-${s}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), e("eds-code-block", { code: `${a}`, language: "css", class: "ml-auto min-w-[200px]" })))))));
241
- }
242
- };
243
- export {
244
- x as token_list,
245
- y as token_radii,
246
- m as token_shadows
247
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),l={tokens:{"grey-100":"#f8f8f8","grey-200":"#f2f2f2","grey-300":"#e6e6e6","grey-400":"#d8d8d8","grey-500":"#8c8c8c","grey-600":"#6e6e6e","grey-700":"#666666","grey-800":"#4d4d4d","grey-900":"#242424","green-100":"#eaffee","green-200":"#d3ffdc","green-300":"#9dffb4","green-400":"#63fb92","green-500":"#00e766","green-600":"#00c959","green-700":"#009d45","green-800":"#007734","green-900":"#004f23","yellow-100":"#fefee5","yellow-200":"#ffffcb","yellow-300":"#fdfdaa","yellow-400":"#ffff8b","yellow-500":"#ffff51","yellow-600":"#f3f30a","yellow-700":"#d7d72b","yellow-800":"#9a9a1e","yellow-900":"#636313","orange-100":"#fff4ee","orange-200":"#ffeade","orange-300":"#ffdcc5","orange-400":"#ffcca9","orange-500":"#ffb87e","orange-600":"#ffa543","orange-700":"#cb7f28","orange-800":"#995f1e","orange-900":"#653f14","red-100":"#feefef","red-200":"#ffe0e1","red-300":"#ffc7c9","red-400":"#ff9ea2","red-500":"#ff7a7f","red-600":"#ff4d68","red-700":"#d01111","red-800":"#a3001a","red-900":"#6f0011","purple-100":"#f9f3ff","purple-200":"#f4e8ff","purple-300":"#e9ceff","purple-400":"#ddb1ff","purple-500":"#d18fff","purple-600":"#c461ff","purple-700":"#af56e4","purple-800":"#8337b1","purple-900":"#3d1e4f","blue-100":"#eff0ff","blue-200":"#dee0ff","blue-300":"#caceff","blue-400":"#b2b8ff","blue-500":"#7a89f5","blue-600":"#2b69fc","blue-700":"#0034cb","blue-800":"#002799","blue-900":"#001a65","cyan-100":"#E0EEFF","cyan-200":"#D3E6FF","cyan-300":"#B5D8FF","cyan-400":"#92C8FF","cyan-500":"#6CBFFE","cyan-600":"#3FA9F5","cyan-700":"#267FBE","cyan-800":"#1F689B","cyan-900":"#15496D",black:"#000000",white:"#ffffff",transparent:"transparent",current:"currentColor"},border:{default:"black",inverse:"white","inverse-soft":"rgba(255, 255, 255, 0.3)","inverse-softer":"rgba(255, 255, 255, 0.15)",soft:"rgba(0, 0, 0, .15 )",softer:"rgba(0, 0, 0, .1 )",softest:"rgba(0, 0, 0, .05 )",accent:"green-500",error:"red-700",current:"currentColor",transparent:"transparent"},text:{inverse:"white",default:"black",current:"currentColor",transparent:"transparent",light:"grey-700",lighter:"grey-600",lightest:"grey-500","extra-light":"grey-300",success:"green-800",warning:"yellow-900",error:"red-700",accent:"green-500","on-gradient":"rgba(0, 0, 0, 0.55)"},background:{default:"grey-200",inverse:"white","inverse-soft":"rgba(255, 255, 255, .2)","inverse-softer":"rgba(255, 255, 255, .15)",dark:"grey-300",darker:"grey-400",strong:"grey-700","strong-dark":"grey-800",stronger:"grey-900",strongest:"black","strongest-soft":"rgba(0, 0, 0, .05)",accent:"green-500","accent-dark":"green-600","accent-darker":"green-800",success:"green-200",warning:"yellow-200",error:"red-200",current:"currentColor",transparent:"transparent",overlay:"rgba(0, 0, 0, 0.25)","on-gradient":"rgba(0, 0, 0, 0.1)","on-dark":"rgba(255, 255, 255, 0.2)"},underline:{accent:"green-500",light:"grey-700",lighter:"grey-600",lightest:"grey-500","extra-light":"grey-300"},outline:{default:"black",accent:"green-500"},gradients:{"gradient-01-top":"gradient-01-top","gradient-02-top":"gradient-02-top","gradient-03-top":"gradient-03-top","gradient-04-top":"gradient-04-top","gradient-01-bottom":"gradient-01-bottom","gradient-02-bottom":"gradient-02-bottom","gradient-03-bottom":"gradient-03-bottom","gradient-04-bottom":"gradient-04-bottom"}},g=class{constructor(r){e.registerInstance(this,r),this.show=void 0}getTextColor(r){if(r.startsWith("rgba")||r.startsWith("rgb")){const t=r.replace(/rgba?\(/,"").replace(")","").split(",").map(c=>parseFloat(c.trim())),s=t[0],a=t[1],o=t[2];return(.299*s+.587*a+.114*o)/255>.5?"text-default":"text-inverse"}else if(r.startsWith("#")){const t=r.replace("#",""),s=parseInt(t.substring(0,2),16),a=parseInt(t.substring(2,4),16),o=parseInt(t.substring(4,6),16);return(.299*s+.587*a+.114*o)/255>.5?"text-default":"text-inverse"}return"text-default"}resolveColor(r){return l.tokens[r]?l.tokens[r]:r}renderSection(r,t){if(r==="tokens"){const s=this.groupTokensByCategory(t);return Object.entries(s).map(([,a])=>e.h("ul",{class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(o=>{const n=Object.keys(o)[0],c=this.resolveColor(o[n]),d=this.getTextColor(c);return e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"effect-height items-center justify-between p-16 hidden lg:flex",style:{backgroundColor:c}},e.h("span",{class:`${d} f-body-02`},n),e.h("div",{class:"inline-flex"},e.h("eds-code-block",{code:c,language:"hex",class:"min-w-[210px] mr-4"}),e.h("eds-code-block",{language:"css",code:`var(--${n})`,class:"min-w-[210px]"}))),e.h("div",{class:"effect-height items-center justify-between p-16 block lg:hidden",style:{backgroundColor:c}},e.h("span",{class:`${d} f-body-02`},n),e.h("div",{class:"inline block"},e.h("eds-code-block",{code:c,class:"min-w-[210px] mb-4"}),e.h("eds-code-block",{code:`var(--${n})`,class:"min-w-[210px]"}))))})))}return e.h("ul",{class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(t).map(([s,a])=>{const o=this.resolveColor(a),n=this.getTextColor(o),c=o.startsWith("#")||o.startsWith("rgb")?{backgroundColor:o}:{border:`2px solid ${o}`};return e.h("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col"},e.h("div",{class:"effect-height block lg:flex items-center justify-between p-16",style:c},e.h("div",{class:"w-full flex"},e.h("span",{class:`${n} mr-auto font-bold`},s),e.h("span",{class:`${n} ml-auto mr-4 font-bold`},a)),e.h("span",{class:`${n}`},r==="background"?e.h("eds-code-block",{code:`bg-${s}`,class:"min-w-[210px] mr-4"}):e.h("eds-code-block",{code:`${r}-${s}`,class:r==="border"?"min-w-[250px] mr-4":"min-w-[210px] mr-4"}))))}))}groupTokensByCategory(r){const t={};return Object.entries(r).forEach(([s,a])=>{const o=s.split("-")[0];t[o]||(t[o]=[]),t[o].push({[s]:a})}),t}render(){const r=this.show?{[this.show]:l[this.show]}:l;return e.h("section",{key:"8b81b207da80d0006bd14157e527932ca5305a93",class:"w-full mt-28"},Object.entries(r).map(([t,s])=>s?this.renderSection(t,s):null))}},f={xxs:"2px",xs:"4px",sm:"8px",md:"12px",lg:"16px",pill:"100px"},i=class{constructor(r){e.registerInstance(this,r)}render(){return e.h("section",{key:"912af038957cf8b00443e72529d4929b7a508a0a",class:"w-full mt-28"},e.h("ul",{key:"ffffacd1e6006a05a27d5e1248ce626c36abc73e",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(f).map(([r,t])=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{class:`w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${r}`},e.h("eds-code-block",{language:"Utility Class",code:`rounded-${r}`,class:"mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto"}),e.h("eds-code-block",{code:`border-radius:${t}`,language:"css",class:"mx-auto min-w-[200px] sm:max-w-[200px] ml-auto"}))))))}},p={small:"0px 1.5px 2px rgba(0, 0, 0, 0.1)",hover:"0px 0px 16px rgba(0, 0, 0, 0.2)",accent:"0px 0px 12px rgba(0, 201, 89, 0.6)",podium:"0px 0px 8px 8px rgb(0 0 0 / 25%);",border:"0 10px 10px rgba(0, 0, 0, 0.15);","border-top":"0 -10px 10px rgba(0, 0, 0, 0.15);"},b={small:"0px 0px 16px rgba(0, 0, 0, 0.3)"},u={shadows:p,dropShadows:b},h=class{constructor(r){e.registerInstance(this,r)}render(){return e.h("section",{key:"af8f66e30d9115f920d483c02d1f7c2b718589f9",class:"w-full mt-28"},e.h("ul",{key:"1588c580f981ab148ba23a76cd33b0c8b993822c",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(u).map(([r,t])=>Object.entries(t).map(([s,a])=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16"},e.h("div",{class:"w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft",style:{boxShadow:a}},e.h("eds-code-block",{code:`${r}-${s}`,language:"Utility Class",class:"mr-auto sm:mb-4 min-w-[200px]"}),e.h("eds-code-block",{code:`${a}`,language:"css",class:"ml-auto min-w-[200px]"})))))))}};exports.token_list=g;exports.token_radii=i;exports.token_shadows=h;
@@ -1,25 +0,0 @@
1
- import { r as a, h as e } from "./index-xVeSZU9j.mjs";
2
- const c = {
3
- "1x1": "1/1",
4
- "21x9": "21/9",
5
- "16x9": "16/9",
6
- "3x2": "3/2",
7
- "4x3": "4/3",
8
- "4x5": "4/5"
9
- }, r = class {
10
- constructor(t) {
11
- a(this, t);
12
- }
13
- render() {
14
- return e("section", { key: "595dc0d77e33bfb2109666d185933c9f5b23616e", class: "w-full" }, e("eds-section-core", { key: "a3217b7808a1bc810ff0b158c4e6547bc2a77b06", tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, e("ul", { key: "505f84a67b6eba8c33d1484c4cb0e94f4de68bc0", class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(c).map(([t, s]) => e("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
15
- aspectRatio: s.replace("/", ":"),
16
- // Cast to string to resolve TypeScript error
17
- width: "100%",
18
- // Full width to show the aspect ratio correctly
19
- maxWidth: "300px"
20
- } }, e("span", { class: "text-default font-bold mr-auto" }, "aspect-", t), e("span", { class: "mt-2 text-sm ml-auto" }, s)))))));
21
- }
22
- };
23
- export {
24
- r as token_ratios
25
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),c={"1x1":"1/1","21x9":"21/9","16x9":"16/9","3x2":"3/2","4x3":"4/3","4x5":"4/5"},a=class{constructor(t){e.registerInstance(this,t)}render(){return e.h("section",{key:"595dc0d77e33bfb2109666d185933c9f5b23616e",class:"w-full"},e.h("eds-section-core",{key:"a3217b7808a1bc810ff0b158c4e6547bc2a77b06",tag:"div","section-title":"Aspect Ratios","heading-level":"h3"},e.h("ul",{key:"505f84a67b6eba8c33d1484c4cb0e94f4de68bc0",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(c).map(([t,s])=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{class:"container ratio-box flex items-center justify-center text-center border-2 border-soft",style:{aspectRatio:s.replace("/",":"),width:"100%",maxWidth:"300px"}},e.h("span",{class:"text-default font-bold mr-auto"},"aspect-",t),e.h("span",{class:"mt-2 text-sm ml-auto"},s)))))))}};exports.token_ratios=a;
@@ -1,213 +0,0 @@
1
- import { r as s, h as e } from "./index-xVeSZU9j.mjs";
2
- const l = {
3
- "heading-01": {
4
- sm: {
5
- fontFamily: "var(--sans)",
6
- fontWeight: 800,
7
- fontSize: "42px",
8
- lineHeight: "100%",
9
- letterSpacing: "-0.01em"
10
- },
11
- md: {
12
- fontSize: "48px"
13
- },
14
- lg: {
15
- fontSize: "72px"
16
- },
17
- xl: {
18
- fontSize: "83px"
19
- }
20
- },
21
- "heading-02": {
22
- sm: {
23
- fontFamily: "var(--sans)",
24
- fontWeight: 800,
25
- fontSize: "36px",
26
- lineHeight: "100%",
27
- letterSpacing: "-0.01em"
28
- },
29
- lg: {
30
- fontSize: "48px"
31
- },
32
- xl: {
33
- fontSize: "60px"
34
- }
35
- },
36
- "heading-03": {
37
- sm: {
38
- fontFamily: "var(--sans)",
39
- fontWeight: 800,
40
- fontSize: "36px",
41
- lineHeight: "100%",
42
- letterSpacing: "-0.01em"
43
- },
44
- xl: {
45
- fontSize: "42px"
46
- }
47
- },
48
- "heading-04": {
49
- sm: {
50
- fontFamily: "var(--sans)",
51
- fontWeight: 800,
52
- fontSize: "28px",
53
- lineHeight: "100%",
54
- letterSpacing: "-0.01em"
55
- },
56
- xl: {
57
- fontSize: "36px"
58
- }
59
- },
60
- "heading-05": {
61
- sm: {
62
- fontFamily: "var(--sans)",
63
- fontWeight: 800,
64
- fontSize: "28px",
65
- lineHeight: "110%",
66
- letterSpacing: "-0.01em"
67
- }
68
- },
69
- "heading-06": {
70
- sm: {
71
- fontFamily: "var(--sans)",
72
- fontWeight: 800,
73
- fontSize: "22px",
74
- lineHeight: "120%"
75
- }
76
- }
77
- }, f = {
78
- "body-01": {
79
- sm: {
80
- fontFamily: "var(--sans)",
81
- fontWeight: 600,
82
- fontSize: "20px",
83
- lineHeight: "140%",
84
- letterSpacing: "-0.01em"
85
- }
86
- },
87
- "body-02": {
88
- sm: {
89
- fontFamily: "var(--sans)",
90
- fontWeight: 600,
91
- fontSize: "17px",
92
- lineHeight: "150%"
93
- }
94
- }
95
- }, g = {
96
- "ui-01": {
97
- sm: {
98
- fontFamily: "var(--sans)",
99
- fontWeight: 800,
100
- fontSize: "18px",
101
- lineHeight: "110%",
102
- letterSpacing: "-0.01em"
103
- }
104
- },
105
- "ui-02": {
106
- sm: {
107
- fontFamily: "var(--sans)",
108
- fontWeight: 800,
109
- fontSize: "16px",
110
- lineHeight: "110%",
111
- letterSpacing: "-0.01em"
112
- }
113
- },
114
- "ui-02-light": {
115
- sm: {
116
- fontFamily: "var(--sans)",
117
- fontWeight: 600,
118
- fontSize: "16px",
119
- lineHeight: "110%",
120
- letterSpacing: "-0.01em"
121
- }
122
- },
123
- "ui-03": {
124
- sm: {
125
- fontFamily: "var(--sans)",
126
- fontWeight: 800,
127
- fontSize: "14px",
128
- lineHeight: "110%",
129
- letterSpacing: "-0.01em"
130
- }
131
- },
132
- "ui-03-light": {
133
- sm: {
134
- fontFamily: "var(--sans)",
135
- fontWeight: 600,
136
- fontSize: "14px",
137
- lineHeight: "130%",
138
- letterSpacing: "-0.01em"
139
- }
140
- },
141
- "ui-04": {
142
- sm: {
143
- fontFamily: "var(--sans)",
144
- fontWeight: 800,
145
- fontSize: "12px",
146
- lineHeight: "100%",
147
- letterSpacing: "-0.01em"
148
- }
149
- },
150
- "ui-05": {
151
- sm: {
152
- fontFamily: "var(--sans)",
153
- fontWeight: 800,
154
- fontSize: "10px",
155
- lineHeight: "110%",
156
- letterSpacing: "-0.01em"
157
- }
158
- },
159
- caption: {
160
- sm: {
161
- fontFamily: "var(--sans)",
162
- fontWeight: 800,
163
- fontSize: "12px",
164
- lineHeight: "120%"
165
- }
166
- }
167
- }, c = {
168
- "display-01": {
169
- sm: {
170
- fontFamily: "var(--sans)",
171
- fontWeight: 800,
172
- fontSize: "120px",
173
- lineHeight: "100%",
174
- letterSpacing: "-0.01em"
175
- },
176
- lg: {
177
- fontSize: "150px"
178
- }
179
- }
180
- }, a = {
181
- families: {
182
- sans: "Inter, Helvetica, Arial, sans-serif"
183
- },
184
- typesets: {
185
- ...l,
186
- ...f,
187
- ...g,
188
- ...c
189
- }
190
- }, r = class {
191
- constructor(t) {
192
- s(this, t);
193
- }
194
- render() {
195
- return e("section", { key: "b2e3951c7419dccdd31e446898a9ad126e36398e", class: "w-full" }, e("ul", { key: "78ec896dad35353bcdc4d9f9d4b68873e1274933", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(a.typesets).filter(([t]) => t !== "displays").flatMap(([t, o]) => Object.entries(o).map(([n, i]) => e("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, e("div", { class: "mr-auto hidden lg:block", style: {
196
- fontFamily: a.families.sans,
197
- fontWeight: i.fontWeight,
198
- fontSize: i.fontSize,
199
- lineHeight: i.lineHeight,
200
- letterSpacing: i.letterSpacing
201
- } }, e("span", { class: "text-default font-bold" }, `${t} (${n})`)), e("div", { class: "mr-auto block lg:hidden p-4" }, e("span", { class: "text-default f-heading-05" }, `${t} (${n})`)), e("div", { class: "ml-auto" }, e("eds-code-block", { code: [
202
- i.fontSize && `font-size: ${i.fontSize};`,
203
- i.lineHeight && `line-height: ${i.lineHeight};`,
204
- i.letterSpacing && `letter-spacing: ${i.letterSpacing};`,
205
- i.fontWeight && `font-weight: ${i.fontWeight};`,
206
- i.fontFamily && `font-family: ${i.fontFamily};`
207
- ].filter(Boolean).join(`
208
- `), language: "css", class: "min-w-[250px] mb-4" }), e("eds-code-block", { code: `f-${t}`, language: "Utility Class", class: "min-w-[250px] mb-4" }), e("eds-code-block", { code: `${n}:f-${t}`, language: "Screen", class: "min-w-[250px] mb-4" }), e("eds-code-block", { code: `--var(--f-${t}-fontFamily)`, class: "min-w-[250px] mb-4" }), e("eds-code-block", { code: `--var(--f-${t}-fontWeight)`, class: "min-w-[250px] mb-4" }), e("eds-code-block", { code: `--var(--f-${t}-fontSize)`, class: "min-w-[250px] mb-4" }), e("eds-code-block", { code: `--var(--f-${t}-lineHeight)`, class: "min-w-[250px] mb-4" }), e("eds-code-block", { code: `--var(--f-${t}-letterSpacing)`, class: "min-w-[250px] mb-4" }), e("eds-code-block", { code: "--sans: Inter, Helvetica, Arial, sans-serif;", class: "min-w-[250px] mb-4" }))))))));
209
- }
210
- };
211
- export {
212
- r as token_typography
213
- };
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cHrGUVDM.js"),s={"heading-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"42px",lineHeight:"100%",letterSpacing:"-0.01em"},md:{fontSize:"48px"},lg:{fontSize:"72px"},xl:{fontSize:"83px"}},"heading-02":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"36px",lineHeight:"100%",letterSpacing:"-0.01em"},lg:{fontSize:"48px"},xl:{fontSize:"60px"}},"heading-03":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"36px",lineHeight:"100%",letterSpacing:"-0.01em"},xl:{fontSize:"42px"}},"heading-04":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"28px",lineHeight:"100%",letterSpacing:"-0.01em"},xl:{fontSize:"36px"}},"heading-05":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"28px",lineHeight:"110%",letterSpacing:"-0.01em"}},"heading-06":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"22px",lineHeight:"120%"}}},l={"body-01":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"20px",lineHeight:"140%",letterSpacing:"-0.01em"}},"body-02":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"17px",lineHeight:"150%"}}},f={"ui-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"18px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-02":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"16px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-02-light":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"16px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-03":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"14px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-03-light":{sm:{fontFamily:"var(--sans)",fontWeight:600,fontSize:"14px",lineHeight:"130%",letterSpacing:"-0.01em"}},"ui-04":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"12px",lineHeight:"100%",letterSpacing:"-0.01em"}},"ui-05":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"10px",lineHeight:"110%",letterSpacing:"-0.01em"}},caption:{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"12px",lineHeight:"120%"}}},c={"display-01":{sm:{fontFamily:"var(--sans)",fontWeight:800,fontSize:"120px",lineHeight:"100%",letterSpacing:"-0.01em"},lg:{fontSize:"150px"}}},a={families:{sans:"Inter, Helvetica, Arial, sans-serif"},typesets:{...s,...l,...f,...c}},g=class{constructor(t){e.registerInstance(this,t)}render(){return e.h("section",{key:"b2e3951c7419dccdd31e446898a9ad126e36398e",class:"w-full"},e.h("ul",{key:"78ec896dad35353bcdc4d9f9d4b68873e1274933",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(a.typesets).filter(([t])=>t!=="displays").flatMap(([t,o])=>Object.entries(o).map(([n,i])=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{class:"w-full p-4 block lg:flex items-center border border-soft rounded"},e.h("div",{class:"mr-auto hidden lg:block",style:{fontFamily:a.families.sans,fontWeight:i.fontWeight,fontSize:i.fontSize,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing}},e.h("span",{class:"text-default font-bold"},`${t} (${n})`)),e.h("div",{class:"mr-auto block lg:hidden p-4"},e.h("span",{class:"text-default f-heading-05"},`${t} (${n})`)),e.h("div",{class:"ml-auto"},e.h("eds-code-block",{code:[i.fontSize&&`font-size: ${i.fontSize};`,i.lineHeight&&`line-height: ${i.lineHeight};`,i.letterSpacing&&`letter-spacing: ${i.letterSpacing};`,i.fontWeight&&`font-weight: ${i.fontWeight};`,i.fontFamily&&`font-family: ${i.fontFamily};`].filter(Boolean).join(`
2
- `),language:"css",class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`f-${t}`,language:"Utility Class",class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`${n}:f-${t}`,language:"Screen",class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-fontFamily)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-fontWeight)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-fontSize)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-lineHeight)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:`--var(--f-${t}-letterSpacing)`,class:"min-w-[250px] mb-4"}),e.h("eds-code-block",{code:"--sans: Inter, Helvetica, Arial, sans-serif;",class:"min-w-[250px] mb-4"}))))))))}};exports.token_typography=g;
@@ -1,28 +0,0 @@
1
- const t = ` <svg
2
- width="20"
3
- height="20"
4
- viewBox="0 0 20 20"
5
- fill="none"
6
- xmlns="http://www.w3.org/2000/svg"
7
- >
8
- <path
9
- d="M3 7.5L10 3L17 7.5L10 12L3 7.5Z"
10
- stroke="currentColor"
11
- stroke-width="1.5"
12
- stroke-linecap="round"
13
- />
14
- <path
15
- d="M5 8.5V13.2L10 16.5L15 13.6667V8.5"
16
- stroke="currentColor"
17
- stroke-width="1.5"
18
- />
19
- <path
20
- fill-rule="evenodd"
21
- clip-rule="evenodd"
22
- d="M16.8896 13.4492V7.5H18.3896V12.6081L16.8896 13.4492Z"
23
- fill="currentColor"
24
- />
25
- </svg>`;
26
- export {
27
- t
28
- };
@@ -1,25 +0,0 @@
1
- "use strict";const t=` <svg
2
- width="20"
3
- height="20"
4
- viewBox="0 0 20 20"
5
- fill="none"
6
- xmlns="http://www.w3.org/2000/svg"
7
- >
8
- <path
9
- d="M3 7.5L10 3L17 7.5L10 12L3 7.5Z"
10
- stroke="currentColor"
11
- stroke-width="1.5"
12
- stroke-linecap="round"
13
- />
14
- <path
15
- d="M5 8.5V13.2L10 16.5L15 13.6667V8.5"
16
- stroke="currentColor"
17
- stroke-width="1.5"
18
- />
19
- <path
20
- fill-rule="evenodd"
21
- clip-rule="evenodd"
22
- d="M16.8896 13.4492V7.5H18.3896V12.6081L16.8896 13.4492Z"
23
- fill="currentColor"
24
- />
25
- </svg>`;exports.tutorial=t;
@@ -1,15 +0,0 @@
1
- const C = ` <svg
2
- width="20"
3
- height="20"
4
- viewBox="0 0 20 20"
5
- fill="none"
6
- xmlns="http://www.w3.org/2000/svg"
7
- >
8
- <path
9
- d="M7.03188 17C13.07 17 16.3718 11.999 16.3718 7.66246C16.3718 7.52041 16.3689 7.37901 16.3625 7.23824C17.0035 6.775 17.5606 6.1969 18 5.53882C17.4118 5.80019 16.7789 5.97615 16.1149 6.05549C16.7926 5.64919 17.313 5.00647 17.5584 4.24026C16.9242 4.61617 16.2217 4.88938 15.4739 5.03686C14.8748 4.39894 14.022 4 13.0777 4C11.2649 4 9.7948 5.46972 9.7948 7.28143C9.7948 7.53897 9.8236 7.78947 9.87992 8.02973C7.15157 7.89248 4.73235 6.58656 3.11345 4.60081C2.83153 5.08581 2.66897 5.64919 2.66897 6.25032C2.66897 7.38893 3.2485 8.39412 4.12978 8.98213C3.59122 8.9655 3.08529 8.81769 2.64305 8.57167C2.64257 8.58544 2.64257 8.59887 2.64257 8.61358C2.64257 10.203 3.7741 11.53 5.27619 11.8307C5.00035 11.9059 4.71011 11.9462 4.41059 11.9462C4.19938 11.9462 3.99362 11.9254 3.79362 11.887C4.21154 13.191 5.42339 14.1399 6.86021 14.1665C5.73668 15.0469 4.3213 15.5712 2.78305 15.5712C2.51841 15.5712 2.25696 15.5562 2 15.5258C3.45281 16.4568 5.17795 17 7.03205 17"
10
- fill="currentColor"
11
- />
12
- </svg>`;
13
- export {
14
- C as t
15
- };
@@ -1,12 +0,0 @@
1
- "use strict";const C=` <svg
2
- width="20"
3
- height="20"
4
- viewBox="0 0 20 20"
5
- fill="none"
6
- xmlns="http://www.w3.org/2000/svg"
7
- >
8
- <path
9
- d="M7.03188 17C13.07 17 16.3718 11.999 16.3718 7.66246C16.3718 7.52041 16.3689 7.37901 16.3625 7.23824C17.0035 6.775 17.5606 6.1969 18 5.53882C17.4118 5.80019 16.7789 5.97615 16.1149 6.05549C16.7926 5.64919 17.313 5.00647 17.5584 4.24026C16.9242 4.61617 16.2217 4.88938 15.4739 5.03686C14.8748 4.39894 14.022 4 13.0777 4C11.2649 4 9.7948 5.46972 9.7948 7.28143C9.7948 7.53897 9.8236 7.78947 9.87992 8.02973C7.15157 7.89248 4.73235 6.58656 3.11345 4.60081C2.83153 5.08581 2.66897 5.64919 2.66897 6.25032C2.66897 7.38893 3.2485 8.39412 4.12978 8.98213C3.59122 8.9655 3.08529 8.81769 2.64305 8.57167C2.64257 8.58544 2.64257 8.59887 2.64257 8.61358C2.64257 10.203 3.7741 11.53 5.27619 11.8307C5.00035 11.9059 4.71011 11.9462 4.41059 11.9462C4.19938 11.9462 3.99362 11.9254 3.79362 11.887C4.21154 13.191 5.42339 14.1399 6.86021 14.1665C5.73668 15.0469 4.3213 15.5712 2.78305 15.5712C2.51841 15.5712 2.25696 15.5562 2 15.5258C3.45281 16.4568 5.17795 17 7.03205 17"
10
- fill="currentColor"
11
- />
12
- </svg>`;exports.twitter=C;
@@ -1,20 +0,0 @@
1
- "use strict";const C=`<svg
2
- width="20"
3
- height="20"
4
- viewBox="0 0 20 20"
5
- fill="none"
6
- xmlns="http://www.w3.org/2000/svg"
7
- >
8
- <circle
9
- cx="10.0001"
10
- cy="10.0001"
11
- r="9.00007"
12
- fill="white"
13
- stroke="currentColor"
14
- stroke-width="2"
15
- />
16
- <path
17
- d="M8.78976 12.086V11.9135C8.79306 11.3215 8.8442 10.8495 8.94319 10.4977C9.04547 10.1458 9.19395 9.86167 9.38863 9.64515C9.5833 9.42864 9.81757 9.23242 10.0914 9.0565C10.296 8.92118 10.4791 8.78078 10.6408 8.63531C10.8025 8.48984 10.9312 8.32915 11.0268 8.15323C11.1225 7.97392 11.1704 7.77433 11.1704 7.55443C11.1704 7.321 11.1159 7.11632 11.0071 6.9404C10.8982 6.76448 10.7513 6.62916 10.5666 6.53444C10.3851 6.43971 10.1838 6.39235 9.96275 6.39235C9.74828 6.39235 9.54536 6.4414 9.35398 6.53951C9.16261 6.63424 9.00588 6.77632 8.8838 6.96578C8.76171 7.15184 8.69572 7.38358 8.68582 7.66099H6.6665C6.683 6.98438 6.84138 6.42618 7.14164 5.98638C7.4419 5.5432 7.83949 5.21336 8.33442 4.99684C8.82935 4.77694 9.37543 4.66699 9.97265 4.66699C10.6293 4.66699 11.21 4.77863 11.7148 5.00191C12.2196 5.22181 12.6156 5.54151 12.9026 5.96101C13.1897 6.38051 13.3332 6.88627 13.3332 7.47831C13.3332 7.87412 13.2689 8.22596 13.1402 8.53382C13.0148 8.83829 12.8383 9.10894 12.6106 9.34575C12.383 9.57918 12.114 9.79062 11.8039 9.98007C11.5432 10.1391 11.3288 10.3048 11.1605 10.4774C10.9955 10.6499 10.8718 10.8495 10.7893 11.0762C10.7101 11.3028 10.6688 11.5819 10.6655 11.9135V12.086H8.78976ZM9.76972 15.3338C9.43977 15.3338 9.15766 15.2153 8.92339 14.9785C8.69242 14.7383 8.57859 14.4508 8.58189 14.1159C8.57859 13.7843 8.69242 13.5001 8.92339 13.2633C9.15766 13.0265 9.43977 12.9081 9.76972 12.9081C10.0832 12.9081 10.3587 13.0265 10.5963 13.2633C10.8338 13.5001 10.9543 13.7843 10.9576 14.1159C10.9543 14.3391 10.8965 14.5438 10.7843 14.7299C10.6754 14.9126 10.5319 15.0597 10.3537 15.1714C10.1756 15.2796 9.98089 15.3338 9.76972 15.3338Z"
18
- fill="currentColor"
19
- />
20
- </svg>`;exports.unknown=C;