@ebrains/vue 0.9.2-beta → 0.9.3-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.
- package/analytics-44b1416b-3vYuu4Xs.mjs +28 -0
- package/analytics-44b1416b-ol77SdQE.js +1 -0
- package/arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs +4 -0
- package/arrow-diagonal-black-8f0494c3-DqsB6ni-.js +1 -0
- package/arrow-right-9322ba8a-DBcxNU_p.js +3 -0
- package/arrow-right-9322ba8a-DHq-_PPe.mjs +6 -0
- package/bluesky-cc5edd2d-DaFQc-pr.js +12 -0
- package/bluesky-cc5edd2d-DfuDDO5h.mjs +15 -0
- package/bookmark-c200037c-CIcZ51ZQ.js +14 -0
- package/bookmark-c200037c-ClkCtyRY.mjs +17 -0
- package/chevron-down-6144c823-DWGlv9eV.mjs +13 -0
- package/chevron-down-6144c823-D_8976Ke.js +10 -0
- package/chevron-left-ca6c66e1-DANhLw_T.mjs +12 -0
- package/chevron-left-ca6c66e1-uCH5SUhm.js +9 -0
- package/chevron-right-b88ed2d4-C7dkTMvP.js +3 -0
- package/chevron-right-b88ed2d4-CgEZBvy7.mjs +6 -0
- package/chevron-up-c66bd477-ByW7R48t.js +10 -0
- package/chevron-up-c66bd477-CETJkshq.mjs +13 -0
- package/close-87fc0d63-Cbd-ScJr.js +3 -0
- package/close-87fc0d63-DtDU2HIU.mjs +6 -0
- package/color-2554aad6-CCcV5UJZ.mjs +131 -0
- package/color-2554aad6-D1hFGX4H.js +1 -0
- package/color-primary-palette_6.entry-CloKiAKI.mjs +300 -0
- package/color-primary-palette_6.entry-DnBuZqiu.js +1 -0
- package/components-section.entry-BZl-upvI.js +162 -0
- package/components-section.entry-DEtf0V8r.mjs +351 -0
- package/copy-03b72cb6-B_WCNQrG.mjs +6 -0
- package/copy-03b72cb6-CZAFAegx.js +3 -0
- package/correct-use-of-colors.entry-CvrVVhIA.mjs +59 -0
- package/correct-use-of-colors.entry-ajROARV6.js +1 -0
- package/docs-palettes.entry-CegYRhKo.js +1 -0
- package/docs-palettes.entry-OWUmgE8-.mjs +22 -0
- package/docs-tokens.entry-BIwcLv8t.js +1 -0
- package/docs-tokens.entry-D720jRIB.mjs +30 -0
- package/eds-accordion.entry-Ct4upGzD.mjs +48 -0
- package/eds-accordion.entry-D5Qn9bWB.js +4 -0
- package/eds-alert.entry-D9ClanEp.js +739 -0
- package/eds-alert.entry-D9R2BeLM.mjs +825 -0
- package/eds-app-root.entry-C-CwU-8Y.js +1 -0
- package/eds-app-root.entry-DPM5X6uN.mjs +25 -0
- package/eds-avatar_27.entry-7vAHtj7m.mjs +33545 -0
- package/eds-avatar_27.entry-CnmtSNAS.js +31838 -0
- package/eds-card-desc_2.entry-1GoZmzeQ.mjs +53 -0
- package/eds-card-desc_2.entry-BfOXVZi0.js +1 -0
- package/eds-card-generic.entry-BKpFgWlR.js +1 -0
- package/eds-card-generic.entry-CT7jqo3p.mjs +56 -0
- package/eds-card-project.entry-BbLZfxAE.js +1 -0
- package/eds-card-project.entry-O11d3day.mjs +44 -0
- package/eds-card-section.entry-BWDrARpV.js +1 -0
- package/eds-card-section.entry-CXFOGMeJ.mjs +30 -0
- package/eds-card-tags.entry-Debtxwjy.mjs +13 -0
- package/eds-card-tags.entry-Do7oGWtS.js +1 -0
- package/eds-card-tool.entry-CXluEgpO.mjs +56 -0
- package/eds-card-tool.entry-kxsYfCOl.js +1 -0
- package/eds-card-wrapper.entry-DnHxiCgs.js +1 -0
- package/eds-card-wrapper.entry-Dyrfqp6K.mjs +24 -0
- package/eds-code-block.entry-B2tVEczx.js +9 -0
- package/eds-code-block.entry-BIGwear1.mjs +1623 -0
- package/eds-cookies-preference.entry-BwTBWuc7.mjs +20 -0
- package/eds-cookies-preference.entry-mbjVkbaf.js +1 -0
- package/eds-feedback.entry-CxE8Mda2.js +1 -0
- package/eds-feedback.entry-DQZP2iFN.mjs +53 -0
- package/eds-frame.entry-BzGgy3Ya.mjs +67 -0
- package/eds-frame.entry-CGFInzxQ.js +1 -0
- package/eds-icon-arrow-diagonal.entry-BzMthIH3.js +1 -0
- package/eds-icon-arrow-diagonal.entry-D0nObc1G.mjs +13 -0
- package/eds-icon-arrow-right.entry-BGLDpWIT.mjs +13 -0
- package/eds-icon-arrow-right.entry-DPLcd0Dg.js +1 -0
- package/eds-icon-bluesky.entry-ZXTtFyYw.mjs +13 -0
- package/eds-icon-bluesky.entry-bnwTCSoD.js +1 -0
- package/eds-icon-bookmark.entry-BV8nKCLz.mjs +13 -0
- package/eds-icon-bookmark.entry-vBTnOEht.js +1 -0
- package/eds-icon-chevron-down.entry-9YeZRA_B.mjs +13 -0
- package/eds-icon-chevron-down.entry-BNSIoEMh.js +1 -0
- package/eds-icon-chevron-left.entry-BBKqN2RH.js +1 -0
- package/eds-icon-chevron-left.entry-Bm5LaJAt.mjs +13 -0
- package/eds-icon-chevron-right.entry-ChbDkmms.mjs +13 -0
- package/eds-icon-chevron-right.entry-CieI-tuC.js +1 -0
- package/eds-icon-chevron-up.entry-BqkKRoL-.js +1 -0
- package/eds-icon-chevron-up.entry-D3DkXrLO.mjs +13 -0
- package/eds-icon-close.entry-4xYgUnOY.js +1 -0
- package/eds-icon-close.entry-DQv18xqh.mjs +13 -0
- package/eds-icon-copy.entry-C7-kaujN.mjs +13 -0
- package/eds-icon-copy.entry-DQl13_LK.js +1 -0
- package/eds-icon-eu.entry-B8fNjCUv.js +1 -0
- package/eds-icon-eu.entry-DR5lezcj.mjs +13 -0
- package/eds-icon-external.entry-BaIofxzF.js +1 -0
- package/eds-icon-external.entry-DvY_6Ld0.mjs +13 -0
- package/eds-icon-facebook.entry-D7FANZCQ.mjs +13 -0
- package/eds-icon-facebook.entry-Do2GEkmS.js +1 -0
- package/eds-icon-gitlab.entry-D7FC3Vn4.mjs +13 -0
- package/eds-icon-gitlab.entry-p78Zzlxs.js +1 -0
- package/eds-icon-linkedin.entry-BYQGxGkX.js +1 -0
- package/eds-icon-linkedin.entry-CchbiOIO.mjs +13 -0
- package/eds-icon-loader.entry-C8zfXt5G.mjs +13 -0
- package/eds-icon-loader.entry-Cw7oYrm3.js +1 -0
- package/eds-icon-mastodon.entry-BOgFKnbj.mjs +13 -0
- package/eds-icon-mastodon.entry-C_TXVQJB.js +1 -0
- package/eds-icon-menu.entry-BtdrFvM4.js +1 -0
- package/eds-icon-menu.entry-Dl7Xqhc3.mjs +13 -0
- package/eds-icon-minus.entry-BA5Al4_F.js +1 -0
- package/eds-icon-minus.entry-Bfm78Q48.mjs +13 -0
- package/eds-icon-more.entry-CHzRpt-L.mjs +13 -0
- package/eds-icon-more.entry-mAUgJoHF.js +1 -0
- package/eds-icon-paper.entry-DEiOlvnw.mjs +13 -0
- package/eds-icon-paper.entry-DtE79_lg.js +1 -0
- package/eds-icon-plus.entry-BCc2gk-Y.js +1 -0
- package/eds-icon-plus.entry-DxdfImnp.mjs +13 -0
- package/eds-icon-portal.entry-DgJxnehb.js +1 -0
- package/eds-icon-portal.entry-DygPWj8q.mjs +13 -0
- package/eds-icon-private.entry-BtxnzDjj.js +1 -0
- package/eds-icon-private.entry-ClDqtUa4.mjs +13 -0
- package/eds-icon-public.entry-BKL5QMPS.js +1 -0
- package/eds-icon-public.entry-D0qOA8dF.mjs +13 -0
- package/eds-icon-search.entry-BPeHLF3h.js +1 -0
- package/eds-icon-search.entry-iegCSWzH.mjs +13 -0
- package/eds-icon-star.entry-BP6oBKRH.mjs +13 -0
- package/eds-icon-star.entry-DSHqvj6t.js +1 -0
- package/eds-icon-success.entry-B2vqFpAU.mjs +13 -0
- package/eds-icon-success.entry-DoaW0KlM.js +1 -0
- package/eds-icon-thumbs-down.entry-CFMyu-CY.js +1 -0
- package/eds-icon-thumbs-down.entry-CmV8Km2F.mjs +13 -0
- package/eds-icon-thumbs-up.entry-8RPnzfnW.js +1 -0
- package/eds-icon-thumbs-up.entry-DhfFxKPT.mjs +13 -0
- package/eds-icon-tutorial.entry-B3NRKCnl.mjs +13 -0
- package/eds-icon-tutorial.entry-ImfBSV9b.js +1 -0
- package/eds-icon-twitter.entry-BLvpOiN-.js +1 -0
- package/eds-icon-twitter.entry-Da3X1sWO.mjs +13 -0
- package/eds-icon-unknown.entry--9_uerA-.js +1 -0
- package/eds-icon-unknown.entry-DH3YcJSO.mjs +13 -0
- package/eds-icon-updown.entry-BU4FzzAC.js +1 -0
- package/eds-icon-updown.entry-D6t6TWtG.mjs +13 -0
- package/eds-icon-user.entry-pb-JM7tE.mjs +13 -0
- package/eds-icon-user.entry-yNOw7Z1J.js +1 -0
- package/eds-icon-youtube.entry-CIx5D-1i.mjs +13 -0
- package/eds-icon-youtube.entry-CNH9Mxfw.js +1 -0
- package/eds-login_2.entry-shWfmpH4.mjs +981 -0
- package/eds-login_2.entry-swrZnwUp.js +9 -0
- package/eds-matomo-notice.entry-DD0R8UUN.mjs +90 -0
- package/eds-matomo-notice.entry-cucI3F6F.js +1 -0
- package/eds-pagination_2.entry-Cmqe9RbB.mjs +258 -0
- package/eds-pagination_2.entry-DFO92YFs.js +1 -0
- package/eds-progress-bar.entry-CIkJEHf9.mjs +21 -0
- package/eds-progress-bar.entry-CUoQ0OmO.js +1 -0
- package/eds-rating.entry-BJZaV3ft.js +1 -0
- package/eds-rating.entry-BaneuoOA.mjs +61 -0
- package/eds-section-core_2.entry-dmjdE4gJ.mjs +39 -0
- package/eds-section-core_2.entry-wnSqKsfm.js +1 -0
- package/eds-spinner.entry-BwIR2ZO2.mjs +36 -0
- package/eds-spinner.entry-Cdu4PTNJ.js +1 -0
- package/eds-switch.entry-8g9JkW0c.js +1 -0
- package/eds-switch.entry-BOxsYeYC.mjs +20 -0
- package/eds-tabs.entry-CdlLmrmB.js +7794 -0
- package/eds-tabs.entry-DRJv1vVW.mjs +7897 -0
- package/eds-timeline.entry-AsApD57a.mjs +7839 -0
- package/eds-timeline.entry-MDj5oqZG.js +7794 -0
- package/eds-toast-manager.entry-Bri3h_MP.mjs +36 -0
- package/eds-toast-manager.entry-zrDxthPz.js +1 -0
- package/eds-toast.entry-B1RS9m4v.js +3 -0
- package/eds-toast.entry-BNYlJ84c.mjs +61 -0
- package/eds-tooltip.entry-B6UpJ0wf.js +1 -0
- package/eds-tooltip.entry-Ci5te9B_.mjs +77 -0
- package/eds-trl.entry-CuUDfGYw.js +1 -0
- package/eds-trl.entry-Dz7LP4G1.mjs +34 -0
- package/eu-9ddde93a-BFtIQw9B.js +28 -0
- package/eu-9ddde93a-ft4szvR5.mjs +31 -0
- package/facebook-9cb5c17f-BcUhbrj6.mjs +15 -0
- package/facebook-9cb5c17f-Y_gvQ682.js +12 -0
- package/generated/components.d.ts +40 -0
- package/generated/vue-component-lib/utils.d.ts +16 -0
- package/incorrect-use-of-colors.entry-CYXsk3TR.mjs +42 -0
- package/incorrect-use-of-colors.entry-CfmdbA7l.js +1 -0
- package/index-39c58238-BwYCDOHZ.mjs +44 -0
- package/index-39c58238-SQ-JC-LH.js +1 -0
- package/index-7ljGsgwC.js +21 -0
- package/index-l365C9dI.mjs +3617 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.mjs +42 -0
- package/linkedin-e8650abb-BkDrkjzY.js +26 -0
- package/linkedin-e8650abb-DYMdsale.mjs +29 -0
- package/loader-c9628637-ChpnbJkv.mjs +31 -0
- package/loader-c9628637-Vj8Wt1e8.js +28 -0
- package/logo-color-7f1fd803-CFgbXdt8.mjs +116 -0
- package/logo-color-7f1fd803-DRD3vZVn.js +113 -0
- package/logo-color-margins-ff8ce71b-B9nMsY9Q.mjs +119 -0
- package/logo-color-margins-ff8ce71b-Dk06zr1Z.js +116 -0
- package/logo-space.entry-DxZ7v-wS.js +6 -0
- package/logo-space.entry-GOUZQmu9.mjs +19 -0
- package/logo-variations-horizontal_2.entry-CRdycvC5.js +7 -0
- package/logo-variations-horizontal_2.entry-DimbU2IU.mjs +29 -0
- package/logo-variations-tabs.entry-5kLk6tXo.js +1 -0
- package/logo-variations-tabs.entry-Uc3TLufg.mjs +22 -0
- package/logo-white-no-bg-f382f86f-DXYn3NwV.js +1011 -0
- package/logo-white-no-bg-f382f86f-YhfmNmGG.mjs +1022 -0
- package/logo-wrong-usage.entry-13RSC-bu.js +1 -0
- package/logo-wrong-usage.entry-CYcqaVbn.mjs +14 -0
- package/mastodon-3703ec61-C7iI4Hk0.mjs +15 -0
- package/mastodon-3703ec61-C9v6Olc-.js +12 -0
- package/menu-340ea948-BpnYX3gY.mjs +12 -0
- package/menu-340ea948-ZdelWVw3.js +9 -0
- package/minus-b30a7c71-BPAvqHzH.mjs +12 -0
- package/minus-b30a7c71-DqCTe6Qh.js +9 -0
- package/mono-53f70232-DGi2XDlR.mjs +12 -0
- package/mono-53f70232-DgAsWvoQ.js +9 -0
- package/more-4449d549-D4HA1cRq.js +11 -0
- package/more-4449d549-rI9hOpEp.mjs +14 -0
- package/package.json +1 -1
- package/paper-8e74ea31-BvGrc1Vo.mjs +16 -0
- package/paper-8e74ea31-C4CV6tlB.js +13 -0
- package/plus-89c07be2-BTXnjg5K.js +10 -0
- package/plus-89c07be2-DyT9I4-L.mjs +13 -0
- package/portal-d6c8ce56-Cj61ldo8.mjs +19 -0
- package/portal-d6c8ce56-NpSrdNZ_.js +16 -0
- package/private-1c25ff8e-D3Fo36q6.js +23 -0
- package/private-1c25ff8e-Dz82_Xf8.mjs +26 -0
- package/public-d4d8c585-BJKDD5F6.mjs +17 -0
- package/public-d4d8c585-lV6QxdPw.js +14 -0
- package/search-fbcd79c2-BMxCaeEk.js +10 -0
- package/search-fbcd79c2-rfV0PlHP.mjs +13 -0
- package/sharedUtils-a550989c-Ci3Tx3jc.mjs +15 -0
- package/sharedUtils-a550989c-m4pF1Vqy.js +1 -0
- package/star-0da9b5e9-B3-jr0yE.js +3 -0
- package/star-0da9b5e9-DX8_iFmu.mjs +6 -0
- package/success-443809da-BD23vltm.mjs +19 -0
- package/success-443809da-BUEhLsAD.js +16 -0
- package/svg-repository.entry-Ck1z1CpA.js +173 -0
- package/svg-repository.entry-IIRiiFbB.mjs +301 -0
- package/thumbs-down-a18fd049-CzuBAj99.mjs +6 -0
- package/thumbs-down-a18fd049-DTNIbYbm.js +3 -0
- package/thumbs-up-c19a71bc-CjLv5Wgw.mjs +7 -0
- package/thumbs-up-c19a71bc-w8Z8gegt.js +4 -0
- package/toastManager-d9eee791-CEYNwx25.mjs +30 -0
- package/toastManager-d9eee791-DvR_vUPI.js +1 -0
- package/token-list_3.entry-CLlUT7ge.js +1 -0
- package/token-list_3.entry-CQ9aUIVd.mjs +247 -0
- package/token-ratios.entry-DkgSpwqw.mjs +25 -0
- package/token-ratios.entry-Dtrkv16c.js +1 -0
- package/token-typography.entry-CgJdJgCR.js +2 -0
- package/token-typography.entry-CrMCS1R0.mjs +213 -0
- package/tutotial-150ee1fd-DFdyoHVA.mjs +28 -0
- package/tutotial-150ee1fd-DjN_JBL5.js +25 -0
- package/twitter-ac21b505-CGWVGWM9.mjs +15 -0
- package/twitter-ac21b505-DDdHS4hB.js +12 -0
- package/unknown-ed01a24c-B0AcMuip.js +20 -0
- package/unknown-ed01a24c-DonOUpIC.mjs +23 -0
- package/up-and-down-d747abee-CWoZjUyq.js +10 -0
- package/up-and-down-d747abee-D7g6H0T0.mjs +13 -0
- package/user-71ebdc15-BBKQbcQD.js +14 -0
- package/user-71ebdc15-CoHlCtJg.mjs +17 -0
- package/youtube-efbfbdc4-BLTH1Jl9.js +12 -0
- package/youtube-efbfbdc4-BfySbfjR.mjs +15 -0
- package/.eslintrc.json +0 -18
- package/project.json +0 -9
- package/src/generated/components.ts +0 -374
- package/src/generated/vue-component-lib/utils.ts +0 -236
- package/src/index.ts +0 -1
- package/src/vue-shims.d.ts +0 -5
- package/tsconfig.json +0 -18
- package/tsconfig.lib.json +0 -27
- package/vite.config.ts +0 -71
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import { r as d, h as e } from "./index-l365C9dI.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: "61b0561443787bdc5d1fdf6db0bed0bebe8ba6cb", 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: "f6e277d8d84957ad05f027a7a151f2dd0b5c6e21", class: "w-full mt-28" }, e("ul", { key: "feeef0a573d704dc010b76fc94a5ac9a9a05f0da", 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: "0d61c0eee38fbcffe111031da0829b3a9050bc8d", class: "w-full mt-28" }, e("ul", { key: "587c263280d086c23351c6bbeaf01f37c307ce65", 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
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { r as s, h as e } from "./index-l365C9dI.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
|
+
s(this, t);
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return e("section", { key: "c4348ae18a2c7644f7a191aa5190ac3b98b5ccb9", class: "w-full" }, e("eds-section-core", { key: "6f148fc0c0ebbaef05761fa1a773cf026e308517", tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, e("ul", { key: "eb932db069683046fcda8ea950bac277e1387c33", class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(c).map(([t, a]) => 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: a.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" }, a)))))));
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
r as token_ratios
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-7ljGsgwC.js"),s={"1x1":"1/1","21x9":"21/9","16x9":"16/9","3x2":"3/2","4x3":"4/3","4x5":"4/5"},c=class{constructor(t){e.registerInstance(this,t)}render(){return e.h("section",{key:"c4348ae18a2c7644f7a191aa5190ac3b98b5ccb9",class:"w-full"},e.h("eds-section-core",{key:"6f148fc0c0ebbaef05761fa1a773cf026e308517",tag:"div","section-title":"Aspect Ratios","heading-level":"h3"},e.h("ul",{key:"eb932db069683046fcda8ea950bac277e1387c33",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(s).map(([t,a])=>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:a.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"},a)))))))}};exports.token_ratios=c;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-7ljGsgwC.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%"}}},g={"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,...g}},c=class{constructor(t){e.registerInstance(this,t)}render(){return e.h("section",{key:"2448267dd93e815f2def0a4b711f28325d906d61",class:"w-full"},e.h("ul",{key:"ac73af17e45045d2122d54dd357f1141b3a5bad7",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=c;
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { r as s, h as e } from "./index-l365C9dI.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: "2448267dd93e815f2def0a4b711f28325d906d61", class: "w-full" }, e("ul", { key: "ac73af17e45045d2122d54dd357f1141b3a5bad7", 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
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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;
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
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;
|
|
@@ -0,0 +1,20 @@
|
|
|
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;
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
<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>`;
|
|
21
|
+
export {
|
|
22
|
+
C as u
|
|
23
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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 d="M10 3L15 8L5 8L10 3Z" fill="currentColor" />
|
|
9
|
+
<path d="M10 17L5 12L15 12L10 17Z" fill="currentColor" />
|
|
10
|
+
</svg>`;exports.upDonw=t;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const o = ` <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 d="M10 3L15 8L5 8L10 3Z" fill="currentColor" />
|
|
9
|
+
<path d="M10 17L5 12L15 12L10 17Z" fill="currentColor" />
|
|
10
|
+
</svg>`;
|
|
11
|
+
export {
|
|
12
|
+
o as u
|
|
13
|
+
};
|