@ebrains/vue 2.4.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{color-primary-palette_6.entry-Bu_NLVB8.mjs → color-primary-palette_6.entry-DLM8AbQ4.mjs} +15 -15
- package/color-primary-palette_6.entry-g0jXU2Ob.js +1 -0
- package/{components-section.entry-DH6-Re45.js → components-section.entry-D3Cs3rKx.js} +2 -2
- package/{components-section.entry-D_miX_kF.mjs → components-section.entry-Di2VXgMA.mjs} +2 -2
- package/{correct-use-of-colors.entry-atuVKYhV.mjs → correct-use-of-colors.entry-BO20319L.mjs} +2 -2
- package/correct-use-of-colors.entry-D6EyksAq.js +1 -0
- package/{docs-palettes.entry-DIGw3y0-.mjs → docs-palettes.entry-BdmohcUb.mjs} +2 -2
- package/{docs-palettes.entry-Dq183o_C.js → docs-palettes.entry-CMeJkYSH.js} +1 -1
- package/{docs-tokens.entry-C-jQouTP.js → docs-tokens.entry-CNGoSG29.js} +1 -1
- package/{docs-tokens.entry-C3SVC1fp.mjs → docs-tokens.entry-CWOYs_8-.mjs} +2 -2
- package/{eds-accordion_37.entry-iqVtN8HO.mjs → eds-accordion_53.entry-B-Wyebqm.mjs} +5127 -1936
- package/eds-accordion_53.entry-B5ZXKAjG.js +10939 -0
- package/{eds-app-root.entry-CeX99_k5.mjs → eds-app-root.entry-BIOnfrHA.mjs} +4 -4
- package/eds-app-root.entry-K5aPf66w.js +1 -0
- package/eds-cookies-preference.entry-CVcAao_J.js +1 -0
- package/{eds-cookies-preference.entry-orfJ6v1-.mjs → eds-cookies-preference.entry-WYgccA0t.mjs} +3 -3
- package/{eds-feedback.entry-IiD44v5J.mjs → eds-feedback.entry-BpRZtSfF.mjs} +7 -7
- package/{eds-feedback.entry-CENTWWmw.js → eds-feedback.entry-D5Ouctg6.js} +1 -1
- package/eds-frame.entry-B4p00bwc.mjs +67 -0
- package/eds-frame.entry-DR1xGJst.js +1 -0
- package/eds-gauge.entry-B_w5n0cW.js +1 -0
- package/eds-gauge.entry-DgEkwl17.mjs +29 -0
- package/eds-gitlab-contributors.entry-B1AEl-u7.mjs +161 -0
- package/eds-gitlab-contributors.entry-zWK0Z2kn.js +1 -0
- package/eds-icon-bluesky.entry-TCr9yCHs.mjs +13 -0
- package/{eds-icon-bluesky.entry-CCCEjd-y.js → eds-icon-bluesky.entry-pDbXLbWF.js} +1 -1
- package/eds-icon-eu.entry-CTBu76k-.js +1 -0
- package/eds-icon-eu.entry-DuKnYzW-.mjs +13 -0
- package/eds-icon-facebook.entry-B1moHgT8.mjs +13 -0
- package/{eds-icon-facebook.entry-MP23ghjh.js → eds-icon-facebook.entry-CVymbjZx.js} +1 -1
- package/{eds-icon-gitlab.entry-CBbCyPR8.mjs → eds-icon-gitlab.entry-B51la_co.mjs} +2 -2
- package/eds-icon-gitlab.entry-BeJh3EES.js +1 -0
- package/eds-icon-linkedin.entry-D8aMAhFL.mjs +13 -0
- package/{eds-icon-linkedin.entry-DrvBbCUX.js → eds-icon-linkedin.entry-DzZnyxAm.js} +1 -1
- package/{eds-icon-mastodon.entry-D9Dfmjcx.js → eds-icon-mastodon.entry-8MO-blJh.js} +1 -1
- package/eds-icon-mastodon.entry-DrOJJ5Kz.mjs +13 -0
- package/eds-icon-twitter.entry-B59MqkyR.mjs +13 -0
- package/eds-icon-twitter.entry-D1GOytI5.js +1 -0
- package/{eds-icon-youtube.entry-CHsnJLcZ.js → eds-icon-youtube.entry-BnxPIc3O.js} +1 -1
- package/eds-icon-youtube.entry-CzNnNcEj.mjs +13 -0
- package/eds-input-search.entry-C-8KBUCs.mjs +51 -0
- package/eds-input-search.entry-CtZHtmS4.js +1 -0
- package/eds-modal.entry-3OECayey.js +1 -0
- package/eds-modal.entry-CRVpxuBW.mjs +143 -0
- package/eds-pie.entry-BPCyYhUQ.mjs +86 -0
- package/eds-pie.entry-CQmET1EH.js +1 -0
- package/{eds-section-core_2.entry-DYLrsiab.js → eds-section-core_2.entry-29cp2-oK.js} +1 -1
- package/{eds-section-core_2.entry-CU4wFaLD.mjs → eds-section-core_2.entry-nuk5XXsS.mjs} +4 -4
- package/eds-splash-screen.entry-6LjvQMdi.js +1 -0
- package/{eds-splash-screen.entry-Bnvw1i76.mjs → eds-splash-screen.entry-ysMrUnNU.mjs} +5 -5
- package/{eds-timeline.entry-MZBjYarp.mjs → eds-timeline.entry-DKpKHB5k.mjs} +4 -4
- package/{eds-timeline.entry-D-KKP95A.js → eds-timeline.entry-DMH1Ms5n.js} +1 -1
- package/{eds-toast-manager.entry-O_hdV6wU.mjs → eds-toast-manager.entry-DVXxUD8d.mjs} +2 -2
- package/{eds-toast-manager.entry-31iHKHvJ.js → eds-toast-manager.entry-DnCELf2f.js} +1 -1
- package/eds-trl-badge.entry-D7q4hgde.js +1 -0
- package/eds-trl-badge.entry-DCmmqQHB.mjs +73 -0
- package/eu-8ac3e99c-CQxZpMa1.mjs +8 -0
- package/eu-8ac3e99c-vr227q5X.js +5 -0
- package/generated/components.d.ts +11 -2
- package/{incorrect-use-of-colors.entry-Bo4jLbkN.mjs → incorrect-use-of-colors.entry-BSLfYKUb.mjs} +2 -2
- package/incorrect-use-of-colors.entry-DHqHOdH0.js +1 -0
- package/{index-CIU5mTWe.mjs → index-DL15mWAH.mjs} +718 -800
- package/index-WyhGZcXS.js +21 -0
- package/index.js +1 -1
- package/index.mjs +49 -40
- package/logo-space.entry-DojbLxT4.js +6 -0
- package/logo-space.entry-iQSqRbq9.mjs +18 -0
- package/{logo-variations-horizontal_2.entry-CEtudMmO.js → logo-variations-horizontal_2.entry-BxLg0D44.js} +3 -3
- package/{logo-variations-horizontal_2.entry-DexMRkpk.mjs → logo-variations-horizontal_2.entry-DNcdxqUe.mjs} +14 -14
- package/{logo-variations-tabs.entry-BQxBA6af.js → logo-variations-tabs.entry-C6mpER1C.js} +1 -1
- package/{logo-variations-tabs.entry-BY-IWquf.mjs → logo-variations-tabs.entry-DRT8k7pQ.mjs} +6 -6
- package/{logo-wrong-usage.entry-M2L7POvI.mjs → logo-wrong-usage.entry-DHJIJsVZ.mjs} +6 -6
- package/logo-wrong-usage.entry-DTRzJDQo.js +1 -0
- package/negative-84eec72e-C5p0bd7Z.mjs +105 -0
- package/negative-84eec72e-CYj66efO.js +102 -0
- package/package.json +1 -1
- package/positive-cc986d7c-5QAxRLUF.mjs +66 -0
- package/positive-cc986d7c-bcR8gHIm.js +63 -0
- package/svg-repository.entry-DZc3Ej9y.js +9 -0
- package/svg-repository.entry-DZfvxxeh.mjs +62 -0
- package/{token-list_3.entry-Bi4T4TzA.mjs → token-list_3.entry-CuNhLZNv.mjs} +95 -64
- package/token-list_3.entry-ve9r960B.js +1 -0
- package/{token-ratios.entry-CQR23PF9.js → token-ratios.entry-BgWROZuw.js} +1 -1
- package/{token-ratios.entry-RrS5TAyw.mjs → token-ratios.entry-D5YiyMvt.mjs} +2 -2
- package/token-spacing.entry-BchYKWuE.js +1 -0
- package/token-spacing.entry-CSkx5neb.mjs +12 -0
- package/token-typography.entry-C_NmBPt2.mjs +244 -0
- package/token-typography.entry-DEuXeYSY.js +2 -0
- package/arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs +0 -4
- package/arrow-diagonal-black-8f0494c3-DqsB6ni-.js +0 -1
- package/arrow-right-9322ba8a-DBcxNU_p.js +0 -3
- package/arrow-right-9322ba8a-DHq-_PPe.mjs +0 -6
- package/bin-37cad2f0-BqMIoPCV.mjs +0 -4
- package/bin-37cad2f0-Bvf97PEl.js +0 -1
- package/bookmark-c200037c-CIcZ51ZQ.js +0 -14
- package/bookmark-c200037c-ClkCtyRY.mjs +0 -17
- package/chevron-down-6144c823-DWGlv9eV.mjs +0 -13
- package/chevron-down-6144c823-D_8976Ke.js +0 -10
- package/chevron-left-ca6c66e1-DANhLw_T.mjs +0 -12
- package/chevron-left-ca6c66e1-uCH5SUhm.js +0 -9
- package/chevron-right-b88ed2d4-C7dkTMvP.js +0 -3
- package/chevron-right-b88ed2d4-CgEZBvy7.mjs +0 -6
- package/chevron-up-c66bd477-ByW7R48t.js +0 -10
- package/chevron-up-c66bd477-CETJkshq.mjs +0 -13
- package/clone-dab56639-CA90NNP5.mjs +0 -4
- package/clone-dab56639-DhCcTb4A.js +0 -1
- package/close-87fc0d63-Cbd-ScJr.js +0 -3
- package/close-87fc0d63-DtDU2HIU.mjs +0 -6
- package/color-primary-palette_6.entry-D_UPeprg.js +0 -1
- package/copy-03b72cb6-B_WCNQrG.mjs +0 -6
- package/copy-03b72cb6-CZAFAegx.js +0 -3
- package/correct-use-of-colors.entry-Bhx9MLwE.js +0 -1
- package/download-47746956-CSto0o7c.mjs +0 -19
- package/download-47746956-DbC-y8R6.js +0 -16
- package/draft-dd5dada2-AqzrhEzA.js +0 -1
- package/draft-dd5dada2-DEIzQoXJ.mjs +0 -4
- package/edit-3893a517-D_Sgle6i.js +0 -1
- package/edit-3893a517-rsZs4NLF.mjs +0 -4
- package/eds-accordion_37.entry-BiVSln-D.js +0 -10399
- package/eds-app-root.entry-CeUeBKtA.js +0 -1
- package/eds-card-desc_2.entry-47f99PgL.mjs +0 -53
- package/eds-card-desc_2.entry-DVhpMDCC.js +0 -1
- package/eds-card-generic.entry-BN0cAIjx.mjs +0 -56
- package/eds-card-generic.entry-C7dumh_d.js +0 -1
- package/eds-card-project.entry-Bs6HDiv5.js +0 -1
- package/eds-card-project.entry-CIle50ek.mjs +0 -170
- package/eds-card-section.entry-B0gx3iBP.js +0 -1
- package/eds-card-section.entry-DcJjEWy4.mjs +0 -30
- package/eds-card-tags.entry-BvjgMZHS.js +0 -1
- package/eds-card-tags.entry-CrCmugvS.mjs +0 -13
- package/eds-card-tool.entry-BLHrGC24.mjs +0 -56
- package/eds-card-tool.entry-CRo_PlMg.js +0 -1
- package/eds-cookies-preference.entry-BlhfUQGP.js +0 -1
- package/eds-footer.entry-BrdeRRWG.js +0 -1
- package/eds-footer.entry-CedTdwJJ.mjs +0 -41
- package/eds-frame.entry-DGIky_UQ.js +0 -1
- package/eds-frame.entry-Dm2AoUjK.mjs +0 -67
- package/eds-fullscreen-menu.entry-DEInQhVD.js +0 -1
- package/eds-fullscreen-menu.entry-H3BfixzP.mjs +0 -73
- package/eds-gauge.entry-CSQjNE8G.js +0 -1
- package/eds-gauge.entry-CegaC4T5.mjs +0 -30
- package/eds-icon-arrow-diagonal.entry-DCeVPrzI.js +0 -1
- package/eds-icon-arrow-diagonal.entry-DUBT5gmZ.mjs +0 -13
- package/eds-icon-arrow-right.entry-DeeJz26V.js +0 -1
- package/eds-icon-arrow-right.entry-ys90lkId.mjs +0 -13
- package/eds-icon-bin.entry-BqKuRtcB.js +0 -1
- package/eds-icon-bin.entry-Diuv79fG.mjs +0 -13
- package/eds-icon-bluesky.entry-DPcbyQIX.mjs +0 -13
- package/eds-icon-bookmark.entry-CNi2eOQP.js +0 -1
- package/eds-icon-bookmark.entry-DqaUoSk8.mjs +0 -13
- package/eds-icon-chevron-down.entry-CAfN7jv8.js +0 -1
- package/eds-icon-chevron-down.entry-DpWqEoSw.mjs +0 -13
- package/eds-icon-chevron-left.entry-B3-89dPa.mjs +0 -13
- package/eds-icon-chevron-left.entry-DXy-uPJ6.js +0 -1
- package/eds-icon-chevron-right.entry-B2deV1ft.mjs +0 -13
- package/eds-icon-chevron-right.entry-Q6NB8--v.js +0 -1
- package/eds-icon-chevron-up.entry-CVuCOpxj.js +0 -1
- package/eds-icon-chevron-up.entry-Cd9KapmF.mjs +0 -13
- package/eds-icon-clone.entry-DOvIaPJe.js +0 -1
- package/eds-icon-clone.entry-H4Wvfws-.mjs +0 -13
- package/eds-icon-close.entry-C-xtrS5I.js +0 -1
- package/eds-icon-close.entry-CBg4VZtg.mjs +0 -13
- package/eds-icon-copy.entry-BZeL-13N.mjs +0 -13
- package/eds-icon-copy.entry-DZTBQzL5.js +0 -1
- package/eds-icon-download.entry-BT4ZoH91.js +0 -1
- package/eds-icon-download.entry-DwZLr47B.mjs +0 -13
- package/eds-icon-draft.entry-4_H4nfUM.mjs +0 -13
- package/eds-icon-draft.entry-BVMefQgn.js +0 -1
- package/eds-icon-edit.entry-gGJ6H4K1.mjs +0 -13
- package/eds-icon-edit.entry-smkFgw3g.js +0 -1
- package/eds-icon-eu.entry-CatpU-Lw.js +0 -1
- package/eds-icon-eu.entry-D6StNwBO.mjs +0 -13
- package/eds-icon-external.entry-C6lH5vga.js +0 -1
- package/eds-icon-external.entry-DnKkZ-rL.mjs +0 -13
- package/eds-icon-facebook.entry-Csd3tQkO.mjs +0 -13
- package/eds-icon-gitlab.entry-bAaZiq_9.js +0 -1
- package/eds-icon-linkedin.entry-D-lzxn5S.mjs +0 -13
- package/eds-icon-loader.entry-Bn_y-oQY.mjs +0 -13
- package/eds-icon-loader.entry-DkDFBZWo.js +0 -1
- package/eds-icon-mastodon.entry-XCwW01ia.mjs +0 -13
- package/eds-icon-menu.entry-BgYdenVL.js +0 -1
- package/eds-icon-menu.entry-DR9cg1LH.mjs +0 -13
- package/eds-icon-minus.entry-B1ORC3G4.js +0 -1
- package/eds-icon-minus.entry-CmsuYKRr.mjs +0 -13
- package/eds-icon-more.entry-CBzKZ-hP.mjs +0 -13
- package/eds-icon-more.entry-CWeMvkHw.js +0 -1
- package/eds-icon-paper.entry-DQPGEFLb.mjs +0 -13
- package/eds-icon-paper.entry-a5wd3Gm_.js +0 -1
- package/eds-icon-plus.entry-CwqfoxfE.mjs +0 -13
- package/eds-icon-plus.entry-FtgdBolw.js +0 -1
- package/eds-icon-portal.entry-Cvrsd6Z9.js +0 -1
- package/eds-icon-portal.entry-DEpCX6WM.mjs +0 -13
- package/eds-icon-private.entry-B7qVRLBM.js +0 -1
- package/eds-icon-private.entry-tRLd5XA9.mjs +0 -13
- package/eds-icon-public.entry-BsbSjJmd.mjs +0 -13
- package/eds-icon-public.entry-Co7iCe6S.js +0 -1
- package/eds-icon-search.entry-BE7IvjFK.mjs +0 -13
- package/eds-icon-search.entry-CTM32yZu.js +0 -1
- package/eds-icon-star.entry-ByW2sBEI.mjs +0 -13
- package/eds-icon-star.entry-TMeFG-1o.js +0 -1
- package/eds-icon-start.entry-CKAV9_OO.js +0 -1
- package/eds-icon-start.entry-DlOqxc0b.mjs +0 -13
- package/eds-icon-success.entry-Yn6PK4Zw.mjs +0 -13
- package/eds-icon-success.entry-fqtMu_34.js +0 -1
- package/eds-icon-thumbs-down.entry-CTASn1on.js +0 -1
- package/eds-icon-thumbs-down.entry-ClgZLWjR.mjs +0 -13
- package/eds-icon-thumbs-up.entry-B8YfZp04.mjs +0 -13
- package/eds-icon-thumbs-up.entry-C3NvXsfN.js +0 -1
- package/eds-icon-tutorial.entry-9BzYYDml.js +0 -1
- package/eds-icon-tutorial.entry-BL0YtLk5.mjs +0 -13
- package/eds-icon-twitter.entry-DvOhv-Zv.mjs +0 -13
- package/eds-icon-twitter.entry-DvWltZ0l.js +0 -1
- package/eds-icon-unknown.entry-BkbijHAz.js +0 -1
- package/eds-icon-unknown.entry-RV9lGwVw.mjs +0 -13
- package/eds-icon-updown.entry--bSjaAr9.js +0 -1
- package/eds-icon-updown.entry-BOMR6G6W.mjs +0 -13
- package/eds-icon-user.entry-BTA7pRtV.mjs +0 -13
- package/eds-icon-user.entry-CGRmPtP9.js +0 -1
- package/eds-icon-view.entry-BEUJmkpH.mjs +0 -13
- package/eds-icon-view.entry-DxxsBmgu.js +0 -1
- package/eds-icon-youtube.entry-CCxg5AfC.mjs +0 -13
- package/eds-modal.entry-BO6fBn7S.mjs +0 -114
- package/eds-modal.entry-N_75WknZ.js +0 -1
- package/eds-pie.entry-B7D4RpIu.js +0 -1
- package/eds-pie.entry-CV158hnV.mjs +0 -68
- package/eds-progress-bar.entry-DHhah3DK.mjs +0 -39
- package/eds-progress-bar.entry-DmBZPxp5.js +0 -1
- package/eds-social-networks.entry-D4eMtN7o.js +0 -1
- package/eds-social-networks.entry-DqDyiMFN.mjs +0 -48
- package/eds-splash-screen.entry-Bbfx70O2.js +0 -1
- package/eds-trl.entry-CHjA17at.mjs +0 -34
- package/eds-trl.entry-QhZ_qlNx.js +0 -1
- package/eu-9ddde93a-BFtIQw9B.js +0 -28
- package/eu-9ddde93a-ft4szvR5.mjs +0 -31
- package/incorrect-use-of-colors.entry-B1L0v9B4.js +0 -1
- package/index-39c58238-BwYCDOHZ.mjs +0 -44
- package/index-39c58238-SQ-JC-LH.js +0 -1
- package/index-BkPrVkIG.js +0 -21
- package/loader-c9628637-ChpnbJkv.mjs +0 -31
- package/loader-c9628637-Vj8Wt1e8.js +0 -28
- package/logo-color-7f1fd803-CFgbXdt8.mjs +0 -116
- package/logo-color-7f1fd803-DRD3vZVn.js +0 -113
- package/logo-color-margins-ff8ce71b-B9nMsY9Q.mjs +0 -119
- package/logo-color-margins-ff8ce71b-Dk06zr1Z.js +0 -116
- package/logo-space.entry-BGc6pgeF.js +0 -6
- package/logo-space.entry-BLMhmFmG.mjs +0 -19
- package/logo-white-no-bg-f382f86f-DXYn3NwV.js +0 -1011
- package/logo-white-no-bg-f382f86f-YhfmNmGG.mjs +0 -1022
- package/logo-wrong-usage.entry-CPVPtAaZ.js +0 -1
- package/menu-340ea948-BpnYX3gY.mjs +0 -12
- package/menu-340ea948-ZdelWVw3.js +0 -9
- package/minus-b30a7c71-BPAvqHzH.mjs +0 -12
- package/minus-b30a7c71-DqCTe6Qh.js +0 -9
- package/more-4449d549-D4HA1cRq.js +0 -11
- package/more-4449d549-rI9hOpEp.mjs +0 -14
- package/paper-8e74ea31-BvGrc1Vo.mjs +0 -16
- package/paper-8e74ea31-C4CV6tlB.js +0 -13
- package/plus-89c07be2-BTXnjg5K.js +0 -10
- package/plus-89c07be2-DyT9I4-L.mjs +0 -13
- package/portal-d6c8ce56-Cj61ldo8.mjs +0 -19
- package/portal-d6c8ce56-NpSrdNZ_.js +0 -16
- package/private-1c25ff8e-D3Fo36q6.js +0 -23
- package/private-1c25ff8e-Dz82_Xf8.mjs +0 -26
- package/public-d4d8c585-BJKDD5F6.mjs +0 -17
- package/public-d4d8c585-lV6QxdPw.js +0 -14
- package/search-fbcd79c2-BMxCaeEk.js +0 -10
- package/search-fbcd79c2-rfV0PlHP.mjs +0 -13
- package/star-0da9b5e9-B3-jr0yE.js +0 -3
- package/star-0da9b5e9-DX8_iFmu.mjs +0 -6
- package/start-65126a4f-D1LeCi_N.js +0 -1
- package/start-65126a4f-mQSjIlRh.mjs +0 -4
- package/success-443809da-BD23vltm.mjs +0 -19
- package/success-443809da-BUEhLsAD.js +0 -16
- package/svg-repository.entry-CqUFAuPA.mjs +0 -299
- package/svg-repository.entry-nY39Z0hv.js +0 -158
- package/thumbs-down-a18fd049-CzuBAj99.mjs +0 -6
- package/thumbs-down-a18fd049-DTNIbYbm.js +0 -3
- package/thumbs-up-c19a71bc-CjLv5Wgw.mjs +0 -7
- package/thumbs-up-c19a71bc-w8Z8gegt.js +0 -4
- package/token-list_3.entry-BDvROoe2.js +0 -1
- package/token-spacing.entry-B1bI3Gg9.mjs +0 -12
- package/token-spacing.entry-D7J3g9Gs.js +0 -1
- package/token-typography.entry-BK0pYTtQ.js +0 -2
- package/token-typography.entry-CKSwl8jj.mjs +0 -213
- package/tutotial-150ee1fd-DFdyoHVA.mjs +0 -28
- package/tutotial-150ee1fd-DjN_JBL5.js +0 -25
- package/unknown-ed01a24c-B0AcMuip.js +0 -20
- package/unknown-ed01a24c-DonOUpIC.mjs +0 -23
- package/up-and-down-8b69ca97-D7g6H0T0.mjs +0 -13
- package/up-and-down-8b69ca97-DOjnLWEi.js +0 -10
- package/user-71ebdc15-BBKQbcQD.js +0 -14
- package/user-71ebdc15-CoHlCtJg.mjs +0 -17
- package/view-e900f2d4-DsFtaZYM.mjs +0 -4
- package/view-e900f2d4-RAKf504j.js +0 -1
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
import { r as d, h as e } from "./index-
|
|
1
|
+
import { r as d, h as e } from "./index-DL15mWAH.mjs";
|
|
2
2
|
const l = {
|
|
3
3
|
tokens: {
|
|
4
|
-
//
|
|
4
|
+
// Brand Colors - New EBRAINS Visual System
|
|
5
|
+
"brand-black": "#07140D",
|
|
6
|
+
"brand-green": "#00FF9D",
|
|
7
|
+
"brand-green-dark": "#00C87B",
|
|
8
|
+
// Neutrals
|
|
9
|
+
"grey-light": "#ECECEC",
|
|
10
|
+
"grey-dark": "#7A7B7A",
|
|
11
|
+
// Base
|
|
12
|
+
black: "#000000",
|
|
13
|
+
white: "#FFFFFF",
|
|
14
|
+
transparent: "transparent",
|
|
15
|
+
current: "currentColor",
|
|
16
|
+
// Legacy grey scale (keeping for gradual migration)
|
|
5
17
|
"grey-100": "#f8f8f8",
|
|
6
18
|
"grey-200": "#f2f2f2",
|
|
7
19
|
"grey-300": "#e6e6e6",
|
|
@@ -11,7 +23,8 @@ const l = {
|
|
|
11
23
|
"grey-700": "#666666",
|
|
12
24
|
"grey-800": "#4d4d4d",
|
|
13
25
|
"grey-900": "#242424",
|
|
14
|
-
//
|
|
26
|
+
// Secondary colors (de-emphasized but available if needed)
|
|
27
|
+
// Green variants
|
|
15
28
|
"green-100": "#eaffee",
|
|
16
29
|
"green-200": "#d3ffdc",
|
|
17
30
|
"green-300": "#9dffb4",
|
|
@@ -21,7 +34,7 @@ const l = {
|
|
|
21
34
|
"green-700": "#009d45",
|
|
22
35
|
"green-800": "#007734",
|
|
23
36
|
"green-900": "#004f23",
|
|
24
|
-
//
|
|
37
|
+
// Yellow
|
|
25
38
|
"yellow-100": "#fefee5",
|
|
26
39
|
"yellow-200": "#ffffcb",
|
|
27
40
|
"yellow-300": "#fdfdaa",
|
|
@@ -31,7 +44,7 @@ const l = {
|
|
|
31
44
|
"yellow-700": "#d7d72b",
|
|
32
45
|
"yellow-800": "#9a9a1e",
|
|
33
46
|
"yellow-900": "#636313",
|
|
34
|
-
//
|
|
47
|
+
// Orange
|
|
35
48
|
"orange-100": "#fff4ee",
|
|
36
49
|
"orange-200": "#ffeade",
|
|
37
50
|
"orange-300": "#ffdcc5",
|
|
@@ -41,7 +54,7 @@ const l = {
|
|
|
41
54
|
"orange-700": "#cb7f28",
|
|
42
55
|
"orange-800": "#995f1e",
|
|
43
56
|
"orange-900": "#653f14",
|
|
44
|
-
//
|
|
57
|
+
// Red
|
|
45
58
|
"red-100": "#feefef",
|
|
46
59
|
"red-200": "#ffe0e1",
|
|
47
60
|
"red-300": "#ffc7c9",
|
|
@@ -51,7 +64,7 @@ const l = {
|
|
|
51
64
|
"red-700": "#d01111",
|
|
52
65
|
"red-800": "#a3001a",
|
|
53
66
|
"red-900": "#6f0011",
|
|
54
|
-
//
|
|
67
|
+
// Purple
|
|
55
68
|
"purple-100": "#f9f3ff",
|
|
56
69
|
"purple-200": "#f4e8ff",
|
|
57
70
|
"purple-300": "#e9ceff",
|
|
@@ -61,7 +74,7 @@ const l = {
|
|
|
61
74
|
"purple-700": "#af56e4",
|
|
62
75
|
"purple-800": "#8337b1",
|
|
63
76
|
"purple-900": "#3d1e4f",
|
|
64
|
-
//
|
|
77
|
+
// Blue
|
|
65
78
|
"blue-100": "#eff0ff",
|
|
66
79
|
"blue-200": "#dee0ff",
|
|
67
80
|
"blue-300": "#caceff",
|
|
@@ -71,7 +84,7 @@ const l = {
|
|
|
71
84
|
"blue-700": "#0034cb",
|
|
72
85
|
"blue-800": "#002799",
|
|
73
86
|
"blue-900": "#001a65",
|
|
74
|
-
//
|
|
87
|
+
// Cyan
|
|
75
88
|
"cyan-100": "#E0EEFF",
|
|
76
89
|
"cyan-200": "#D3E6FF",
|
|
77
90
|
"cyan-300": "#B5D8FF",
|
|
@@ -80,56 +93,53 @@ const l = {
|
|
|
80
93
|
"cyan-600": "#3FA9F5",
|
|
81
94
|
"cyan-700": "#267FBE",
|
|
82
95
|
"cyan-800": "#1F689B",
|
|
83
|
-
"cyan-900": "#15496D"
|
|
84
|
-
// Generics
|
|
85
|
-
black: "#000000",
|
|
86
|
-
white: "#ffffff",
|
|
87
|
-
transparent: "transparent",
|
|
88
|
-
current: "currentColor"
|
|
96
|
+
"cyan-900": "#15496D"
|
|
89
97
|
},
|
|
90
98
|
border: {
|
|
91
|
-
default: "black",
|
|
99
|
+
default: "brand-black",
|
|
92
100
|
inverse: "white",
|
|
93
101
|
"inverse-soft": "rgba(255, 255, 255, 0.3)",
|
|
94
102
|
"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
|
|
103
|
+
soft: "rgba(0, 0, 0, .15)",
|
|
104
|
+
softer: "rgba(0, 0, 0, .1)",
|
|
105
|
+
softest: "rgba(0, 0, 0, .05)",
|
|
106
|
+
accent: "brand-green",
|
|
107
|
+
"accent-dark": "brand-green-dark",
|
|
99
108
|
error: "red-700",
|
|
100
109
|
current: "currentColor",
|
|
101
|
-
transparent: "transparent"
|
|
110
|
+
transparent: "transparent",
|
|
111
|
+
grey: "grey-light",
|
|
112
|
+
"grey-dark": "grey-dark"
|
|
102
113
|
},
|
|
103
114
|
text: {
|
|
115
|
+
default: "brand-black",
|
|
104
116
|
inverse: "white",
|
|
105
|
-
default: "black",
|
|
106
117
|
current: "currentColor",
|
|
107
118
|
transparent: "transparent",
|
|
108
|
-
light: "grey-
|
|
109
|
-
lighter: "grey-
|
|
119
|
+
light: "grey-dark",
|
|
120
|
+
lighter: "grey-light",
|
|
110
121
|
lightest: "grey-500",
|
|
111
122
|
"extra-light": "grey-300",
|
|
112
123
|
success: "green-800",
|
|
113
124
|
warning: "yellow-900",
|
|
114
125
|
error: "red-700",
|
|
115
|
-
accent: "green
|
|
116
|
-
"
|
|
126
|
+
accent: "brand-green",
|
|
127
|
+
"accent-dark": "brand-green-dark",
|
|
128
|
+
"on-gradient": "rgba(0, 0, 0, 0.55)",
|
|
129
|
+
"on-dark": "white"
|
|
117
130
|
},
|
|
118
131
|
background: {
|
|
119
|
-
default: "
|
|
132
|
+
default: "brand-black",
|
|
120
133
|
inverse: "white",
|
|
121
|
-
"inverse-soft": "rgba(
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
darker: "grey-400",
|
|
134
|
+
"inverse-soft": "rgba(0, 0, 0, .05)",
|
|
135
|
+
dark: "grey-light",
|
|
136
|
+
darker: "grey-dark",
|
|
125
137
|
strong: "grey-700",
|
|
126
138
|
"strong-dark": "grey-800",
|
|
127
139
|
stronger: "grey-900",
|
|
128
|
-
strongest: "black",
|
|
129
|
-
|
|
130
|
-
accent: "green-
|
|
131
|
-
"accent-dark": "green-600",
|
|
132
|
-
"accent-darker": "green-800",
|
|
140
|
+
strongest: "brand-black",
|
|
141
|
+
accent: "brand-green",
|
|
142
|
+
"accent-dark": "brand-green-dark",
|
|
133
143
|
success: "green-200",
|
|
134
144
|
warning: "yellow-200",
|
|
135
145
|
error: "red-200",
|
|
@@ -140,13 +150,18 @@ const l = {
|
|
|
140
150
|
"on-dark": "rgba(255, 255, 255, 0.2)"
|
|
141
151
|
},
|
|
142
152
|
underline: {
|
|
143
|
-
accent: "green
|
|
144
|
-
|
|
153
|
+
accent: "brand-green",
|
|
154
|
+
"accent-dark": "brand-green-dark",
|
|
155
|
+
light: "grey-dark",
|
|
145
156
|
lighter: "grey-600",
|
|
146
157
|
lightest: "grey-500",
|
|
147
158
|
"extra-light": "grey-300"
|
|
148
159
|
},
|
|
149
|
-
outline: {
|
|
160
|
+
outline: {
|
|
161
|
+
default: "brand-black",
|
|
162
|
+
accent: "brand-green",
|
|
163
|
+
"accent-dark": "brand-green-dark"
|
|
164
|
+
},
|
|
150
165
|
/**
|
|
151
166
|
* Gradients token are created manually inside gradients.css utility file.
|
|
152
167
|
* This mapping is here to generate gradients view inside storybook
|
|
@@ -168,11 +183,11 @@ const l = {
|
|
|
168
183
|
}
|
|
169
184
|
getTextColor(r) {
|
|
170
185
|
if (r.startsWith("rgba") || r.startsWith("rgb")) {
|
|
171
|
-
const t = r.replace(/rgba?\(/, "").replace(")", "").split(",").map((c) => parseFloat(c.trim())),
|
|
172
|
-
return (0.299 *
|
|
186
|
+
const t = r.replace(/rgba?\(/, "").replace(")", "").split(",").map((c) => parseFloat(c.trim())), a = t[0], n = t[1], s = t[2];
|
|
187
|
+
return (0.299 * a + 0.587 * n + 0.114 * s) / 255 > 0.5 ? "text-default" : "text-inverse";
|
|
173
188
|
} else if (r.startsWith("#")) {
|
|
174
|
-
const t = r.replace("#", ""),
|
|
175
|
-
return (0.299 *
|
|
189
|
+
const t = r.replace("#", ""), a = parseInt(t.substring(0, 2), 16), n = parseInt(t.substring(2, 4), 16), s = parseInt(t.substring(4, 6), 16);
|
|
190
|
+
return (0.299 * a + 0.587 * n + 0.114 * s) / 255 > 0.5 ? "text-default" : "text-inverse";
|
|
176
191
|
}
|
|
177
192
|
return "text-default";
|
|
178
193
|
}
|
|
@@ -181,29 +196,29 @@ const l = {
|
|
|
181
196
|
}
|
|
182
197
|
renderSection(r, t) {
|
|
183
198
|
if (r === "tokens") {
|
|
184
|
-
const
|
|
185
|
-
return Object.entries(
|
|
186
|
-
const
|
|
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` },
|
|
199
|
+
const a = this.groupTokensByCategory(t);
|
|
200
|
+
return Object.entries(a).map(([, n]) => e("ul", { class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, n.map((s) => {
|
|
201
|
+
const o = Object.keys(s)[0], c = this.resolveColor(s[o]), g = this.getTextColor(c);
|
|
202
|
+
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` }, o), 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(--${o})`, 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` }, o), e("div", { class: "inline block" }, e("eds-code-block", { code: c, class: "min-w-[210px] mb-4" }), e("eds-code-block", { code: `var(--${o})`, class: "min-w-[210px]" }))));
|
|
188
203
|
})));
|
|
189
204
|
}
|
|
190
|
-
return e("ul", { class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(t).map(([
|
|
191
|
-
const
|
|
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: `${
|
|
205
|
+
return e("ul", { class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(t).map(([a, n]) => {
|
|
206
|
+
const s = this.resolveColor(n), o = this.getTextColor(s), c = s.startsWith("#") || s.startsWith("rgb") ? { backgroundColor: s } : { border: `2px solid ${s}` };
|
|
207
|
+
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: `${o} mr-auto font-bold` }, a), e("span", { class: `${o} ml-auto mr-4 font-bold` }, n)), e("span", { class: `${o}` }, r === "background" ? e("eds-code-block", { code: `bg-${a}`, class: "min-w-[210px] mr-4" }) : e("eds-code-block", { code: `${r}-${a}`, class: r === "border" ? "min-w-[250px] mr-4" : "min-w-[210px] mr-4" }))));
|
|
193
208
|
}));
|
|
194
209
|
}
|
|
195
210
|
groupTokensByCategory(r) {
|
|
196
211
|
const t = {};
|
|
197
|
-
return Object.entries(r).forEach(([
|
|
198
|
-
const
|
|
199
|
-
t[
|
|
212
|
+
return Object.entries(r).forEach(([a, n]) => {
|
|
213
|
+
const s = a.split("-")[0];
|
|
214
|
+
t[s] || (t[s] = []), t[s].push({ [a]: n });
|
|
200
215
|
}), t;
|
|
201
216
|
}
|
|
202
217
|
render() {
|
|
203
218
|
const r = this.show ? { [this.show]: l[this.show] } : l;
|
|
204
|
-
return e("section", { key: "
|
|
219
|
+
return e("section", { key: "19a7dd76a980e2815f8df3ee0cb083b2c77cafa4", class: "w-full mt-28" }, Object.entries(r).map(([t, a]) => (
|
|
205
220
|
// Only render sections that exist in `colors`
|
|
206
|
-
|
|
221
|
+
a ? this.renderSection(t, a) : null
|
|
207
222
|
)));
|
|
208
223
|
}
|
|
209
224
|
}, f = {
|
|
@@ -218,17 +233,33 @@ const l = {
|
|
|
218
233
|
d(this, r);
|
|
219
234
|
}
|
|
220
235
|
render() {
|
|
221
|
-
return e("section", { key: "
|
|
236
|
+
return e("section", { key: "80a475b807538a7c9c1186d0f167a793858ad439", class: "w-full mt-28" }, e("ul", { key: "e3fa97c0f627f2094c7eae87eb9f7079df2b35f2", 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
237
|
}
|
|
223
238
|
}, i = {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
239
|
+
// Subtle elevation for cards and containers
|
|
240
|
+
small: "0px 1px 3px rgba(7, 20, 13, 0.1)",
|
|
241
|
+
// Medium elevation for dropdowns, modals
|
|
242
|
+
medium: "0px 4px 12px rgba(7, 20, 13, 0.15)",
|
|
243
|
+
// Hover state for interactive elements
|
|
244
|
+
hover: "0px 8px 24px rgba(7, 20, 13, 0.2)",
|
|
245
|
+
// Accent shadow with brand green glow
|
|
246
|
+
accent: "0px 0px 16px rgba(0, 255, 157, 0.5)",
|
|
247
|
+
// Green accent for focus states
|
|
248
|
+
"accent-focus": "0 0 0 3px rgba(0, 255, 157, 0.3)",
|
|
249
|
+
// Subtle border-like shadow
|
|
250
|
+
border: "0 1px 3px rgba(7, 20, 13, 0.1)",
|
|
251
|
+
"border-top": "0 -1px 3px rgba(7, 20, 13, 0.1)",
|
|
252
|
+
// For elevated components (navigation, sticky headers)
|
|
253
|
+
elevated: "0px 2px 8px rgba(7, 20, 13, 0.12)",
|
|
254
|
+
// Strong shadow for modals/overlays
|
|
255
|
+
overlay: "0px 16px 48px rgba(7, 20, 13, 0.3)",
|
|
256
|
+
// None - for flat design elements
|
|
257
|
+
none: "none"
|
|
230
258
|
}, p = {
|
|
231
|
-
small: "0px
|
|
259
|
+
small: "0px 2px 8px rgba(7, 20, 13, 0.15)",
|
|
260
|
+
medium: "0px 4px 16px rgba(7, 20, 13, 0.2)",
|
|
261
|
+
// Green glow for images/icons
|
|
262
|
+
"accent-glow": "0px 0px 24px rgba(0, 255, 157, 0.6)"
|
|
232
263
|
}, b = {
|
|
233
264
|
shadows: i,
|
|
234
265
|
dropShadows: p
|
|
@@ -237,7 +268,7 @@ const l = {
|
|
|
237
268
|
d(this, r);
|
|
238
269
|
}
|
|
239
270
|
render() {
|
|
240
|
-
return e("section", { key: "
|
|
271
|
+
return e("section", { key: "0316f767a182da2f2e96c137034d84794947102a", class: "w-full mt-28" }, e("ul", { key: "16586b6a4d565ee58f4ea2465d54d527390d41ca", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(b).map(([r, t]) => Object.entries(t).map(([a, n]) => 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: n } }, e("eds-code-block", { code: `${r}-${a}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), e("eds-code-block", { code: `${n}`, language: "css", class: "ml-auto min-w-[200px]" })))))));
|
|
241
272
|
}
|
|
242
273
|
};
|
|
243
274
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),l={tokens:{"brand-black":"#07140D","brand-green":"#00FF9D","brand-green-dark":"#00C87B","grey-light":"#ECECEC","grey-dark":"#7A7B7A",black:"#000000",white:"#FFFFFF",transparent:"transparent",current:"currentColor","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"},border:{default:"brand-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:"brand-green","accent-dark":"brand-green-dark",error:"red-700",current:"currentColor",transparent:"transparent",grey:"grey-light","grey-dark":"grey-dark"},text:{default:"brand-black",inverse:"white",current:"currentColor",transparent:"transparent",light:"grey-dark",lighter:"grey-light",lightest:"grey-500","extra-light":"grey-300",success:"green-800",warning:"yellow-900",error:"red-700",accent:"brand-green","accent-dark":"brand-green-dark","on-gradient":"rgba(0, 0, 0, 0.55)","on-dark":"white"},background:{default:"brand-black",inverse:"white","inverse-soft":"rgba(0, 0, 0, .05)",dark:"grey-light",darker:"grey-dark",strong:"grey-700","strong-dark":"grey-800",stronger:"grey-900",strongest:"brand-black",accent:"brand-green","accent-dark":"brand-green-dark",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:"brand-green","accent-dark":"brand-green-dark",light:"grey-dark",lighter:"grey-600",lightest:"grey-500","extra-light":"grey-300"},outline:{default:"brand-black",accent:"brand-green","accent-dark":"brand-green-dark"},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())),a=t[0],n=t[1],s=t[2];return(.299*a+.587*n+.114*s)/255>.5?"text-default":"text-inverse"}else if(r.startsWith("#")){const t=r.replace("#",""),a=parseInt(t.substring(0,2),16),n=parseInt(t.substring(2,4),16),s=parseInt(t.substring(4,6),16);return(.299*a+.587*n+.114*s)/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 a=this.groupTokensByCategory(t);return Object.entries(a).map(([,n])=>e.h("ul",{class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},n.map(s=>{const o=Object.keys(s)[0],c=this.resolveColor(s[o]),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`},o),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(--${o})`,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`},o),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(--${o})`,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(([a,n])=>{const s=this.resolveColor(n),o=this.getTextColor(s),c=s.startsWith("#")||s.startsWith("rgb")?{backgroundColor:s}:{border:`2px solid ${s}`};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:`${o} mr-auto font-bold`},a),e.h("span",{class:`${o} ml-auto mr-4 font-bold`},n)),e.h("span",{class:`${o}`},r==="background"?e.h("eds-code-block",{code:`bg-${a}`,class:"min-w-[210px] mr-4"}):e.h("eds-code-block",{code:`${r}-${a}`,class:r==="border"?"min-w-[250px] mr-4":"min-w-[210px] mr-4"}))))}))}groupTokensByCategory(r){const t={};return Object.entries(r).forEach(([a,n])=>{const s=a.split("-")[0];t[s]||(t[s]=[]),t[s].push({[a]:n})}),t}render(){const r=this.show?{[this.show]:l[this.show]}:l;return e.h("section",{key:"19a7dd76a980e2815f8df3ee0cb083b2c77cafa4",class:"w-full mt-28"},Object.entries(r).map(([t,a])=>a?this.renderSection(t,a):null))}},i={xxs:"2px",xs:"4px",sm:"8px",md:"12px",lg:"16px",pill:"100px"},f=class{constructor(r){e.registerInstance(this,r)}render(){return e.h("section",{key:"80a475b807538a7c9c1186d0f167a793858ad439",class:"w-full mt-28"},e.h("ul",{key:"e3fa97c0f627f2094c7eae87eb9f7079df2b35f2",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(i).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"}))))))}},b={small:"0px 1px 3px rgba(7, 20, 13, 0.1)",medium:"0px 4px 12px rgba(7, 20, 13, 0.15)",hover:"0px 8px 24px rgba(7, 20, 13, 0.2)",accent:"0px 0px 16px rgba(0, 255, 157, 0.5)","accent-focus":"0 0 0 3px rgba(0, 255, 157, 0.3)",border:"0 1px 3px rgba(7, 20, 13, 0.1)","border-top":"0 -1px 3px rgba(7, 20, 13, 0.1)",elevated:"0px 2px 8px rgba(7, 20, 13, 0.12)",overlay:"0px 16px 48px rgba(7, 20, 13, 0.3)",none:"none"},p={small:"0px 2px 8px rgba(7, 20, 13, 0.15)",medium:"0px 4px 16px rgba(7, 20, 13, 0.2)","accent-glow":"0px 0px 24px rgba(0, 255, 157, 0.6)"},u={shadows:b,dropShadows:p},h=class{constructor(r){e.registerInstance(this,r)}render(){return e.h("section",{key:"0316f767a182da2f2e96c137034d84794947102a",class:"w-full mt-28"},e.h("ul",{key:"16586b6a4d565ee58f4ea2465d54d527390d41ca",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(u).map(([r,t])=>Object.entries(t).map(([a,n])=>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:n}},e.h("eds-code-block",{code:`${r}-${a}`,language:"Utility Class",class:"mr-auto sm:mb-4 min-w-[200px]"}),e.h("eds-code-block",{code:`${n}`,language:"css",class:"ml-auto min-w-[200px]"})))))))}};exports.token_list=g;exports.token_radii=f;exports.token_shadows=h;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),a={"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:"d95a7a36fc37fb829c74e336d16de79f57ec1b83",class:"w-full"},e.h("eds-section-core",{key:"1e2fbe9a818a162d6acd148804a61b87f919eda5",tag:"div","section-title":"Aspect Ratios","heading-level":"h3"},e.h("ul",{key:"a2429b25e2aef59bde0185115dc2ff908b075db5",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(a).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=c;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as a, h as e } from "./index-
|
|
1
|
+
import { r as a, h as e } from "./index-DL15mWAH.mjs";
|
|
2
2
|
const c = {
|
|
3
3
|
"1x1": "1/1",
|
|
4
4
|
"21x9": "21/9",
|
|
@@ -11,7 +11,7 @@ const c = {
|
|
|
11
11
|
a(this, t);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return e("section", { key: "
|
|
14
|
+
return e("section", { key: "d95a7a36fc37fb829c74e336d16de79f57ec1b83", class: "w-full" }, e("eds-section-core", { key: "1e2fbe9a818a162d6acd148804a61b87f919eda5", tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, e("ul", { key: "a2429b25e2aef59bde0185115dc2ff908b075db5", 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
15
|
aspectRatio: s.replace("/", ":"),
|
|
16
16
|
// Cast to string to resolve TypeScript error
|
|
17
17
|
width: "100%",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-WyhGZcXS.js"),a=class{constructor(c){e.registerInstance(this,c)}render(){return e.h("div",{key:"857d52883315b5be7edb90c89602b29f258cabda",class:"w-full"},e.h("ul",{key:"e1dbf5d8e227c9014183c2465bf281e554f7e35b",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},e.h("li",{key:"85795c6c4ad2c4fc05cda1183a06dadc78521b45",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{key:"e0d6a8712ab4d47dca6ca275c09592b8af381b20",class:"container p-8 item-center border-2 border-soft"},e.h("div",{key:"cbfc5e4dcb4040b375d195246626d833d5b33057",class:"spacing-sample m-16 bg-strong"},e.h("span",{key:"8aa060bb7da7ffdbcd343c849f5e62c6db648fd7",class:"f-body-01 text-inverse"},"Margin: 1rem / m-16")))),e.h("li",{key:"f4e5e7a4eedac3a350f8c68adc5cdc8ba742166a",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{key:"de4ce6ca17ba9c0a20a794e1ec55f2fcc1f0c440",class:"container p-8 item-center border-2 border-soft"},e.h("div",{key:"52766704ac7cb4b1336d4283991c5204c7dece18",class:"spacing-sample ml-64 bg-strong"},e.h("span",{key:"60c2b72b390ac0b204cf10cf2c01907915e0b3a1",class:"f-body-01 text-inverse"},"Margin Left: 4rem / ml-64")))),e.h("li",{key:"1b7922c2a246a1a95e2e26e455b55ea7b5a2a3e9",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{key:"7d43b9c4bc7ebd4883d9d7871b9fb02a2cece586",class:"container p-8 item-center border-2 border-soft"},e.h("div",{key:"7afeb3b0db7c70f11e09b5df2d396ebfc4454f00",class:"spacing-sample mt-32 bg-strong"},e.h("span",{key:"3bccca0e93ad8accb3da8ce64c86ee70d2a6f255",class:"f-body-01 text-inverse"},"Margin Top: 2rem / mt-32")))),e.h("li",{key:"7cbdb2d1b0cd2f91c1b7a05d6654e89a26f74340",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{key:"a47cb7cce3d8947d07ceff06fea30e19df12c6ec",class:"container p-8 item-center border-2 border-soft"},e.h("div",{key:"2ee8dc2c52d8a689c12f0333cf7a4d0b36e572f7",class:"spacing-sample p-32 bg-strong"},e.h("span",{key:"2c19bbed58312c84d15ef45fc4bd5a699718b259",class:"f-body-01 text-inverse"},"Padding: 2rem / p-32")))),e.h("li",{key:"89283aab1c8e84f4d692e290e227d5b91e88cd56",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{key:"e341336d74199f51d440ad01217816939b4877eb",class:"container p-8 item-center border-2 border-soft"},e.h("div",{key:"6d59ec419924101b4b2d4daf1fa385cd7d921c2e",class:"spacing-sample pt-32 bg-strong"},e.h("span",{key:"378293318a5aa7c0c9fecb575e533aa97c7b0ecf",class:"f-body-01 text-inverse"},"Padding Top: 2rem / pt-32")))),e.h("li",{key:"a8e4328bb418b7b878aebfdfe4022e3054b5167e",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},e.h("div",{key:"421adc7f90db876dca2304f0c0f794c2b93b4536",class:"container p-8 item-center border-2 border-soft"},e.h("div",{key:"ebb689a6011c3da5282eb3bb1cc1a0581af86e90",class:"spacing-sample pl-32 bg-strong"},e.h("span",{key:"8924318c5edcb5d78c37dc1a768e1b3e0fa775ed",class:"f-body-01 text-inverse"},"Padding Left: 2rem / pl-32"))))))}};exports.token_spacing=a;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { r as a, h as e } from "./index-DL15mWAH.mjs";
|
|
2
|
+
const s = class {
|
|
3
|
+
constructor(c) {
|
|
4
|
+
a(this, c);
|
|
5
|
+
}
|
|
6
|
+
render() {
|
|
7
|
+
return e("div", { key: "857d52883315b5be7edb90c89602b29f258cabda", class: "w-full" }, e("ul", { key: "e1dbf5d8e227c9014183c2465bf281e554f7e35b", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, e("li", { key: "85795c6c4ad2c4fc05cda1183a06dadc78521b45", class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { key: "e0d6a8712ab4d47dca6ca275c09592b8af381b20", class: "container p-8 item-center border-2 border-soft" }, e("div", { key: "cbfc5e4dcb4040b375d195246626d833d5b33057", class: "spacing-sample m-16 bg-strong" }, e("span", { key: "8aa060bb7da7ffdbcd343c849f5e62c6db648fd7", class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), e("li", { key: "f4e5e7a4eedac3a350f8c68adc5cdc8ba742166a", class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { key: "de4ce6ca17ba9c0a20a794e1ec55f2fcc1f0c440", class: "container p-8 item-center border-2 border-soft" }, e("div", { key: "52766704ac7cb4b1336d4283991c5204c7dece18", class: "spacing-sample ml-64 bg-strong" }, e("span", { key: "60c2b72b390ac0b204cf10cf2c01907915e0b3a1", class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), e("li", { key: "1b7922c2a246a1a95e2e26e455b55ea7b5a2a3e9", class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { key: "7d43b9c4bc7ebd4883d9d7871b9fb02a2cece586", class: "container p-8 item-center border-2 border-soft" }, e("div", { key: "7afeb3b0db7c70f11e09b5df2d396ebfc4454f00", class: "spacing-sample mt-32 bg-strong" }, e("span", { key: "3bccca0e93ad8accb3da8ce64c86ee70d2a6f255", class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), e("li", { key: "7cbdb2d1b0cd2f91c1b7a05d6654e89a26f74340", class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { key: "a47cb7cce3d8947d07ceff06fea30e19df12c6ec", class: "container p-8 item-center border-2 border-soft" }, e("div", { key: "2ee8dc2c52d8a689c12f0333cf7a4d0b36e572f7", class: "spacing-sample p-32 bg-strong" }, e("span", { key: "2c19bbed58312c84d15ef45fc4bd5a699718b259", class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), e("li", { key: "89283aab1c8e84f4d692e290e227d5b91e88cd56", class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { key: "e341336d74199f51d440ad01217816939b4877eb", class: "container p-8 item-center border-2 border-soft" }, e("div", { key: "6d59ec419924101b4b2d4daf1fa385cd7d921c2e", class: "spacing-sample pt-32 bg-strong" }, e("span", { key: "378293318a5aa7c0c9fecb575e533aa97c7b0ecf", class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), e("li", { key: "a8e4328bb418b7b878aebfdfe4022e3054b5167e", class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, e("div", { key: "421adc7f90db876dca2304f0c0f794c2b93b4536", class: "container p-8 item-center border-2 border-soft" }, e("div", { key: "ebb689a6011c3da5282eb3bb1cc1a0581af86e90", class: "spacing-sample pl-32 bg-strong" }, e("span", { key: "8924318c5edcb5d78c37dc1a768e1b3e0fa775ed", class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32"))))));
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
s as token_spacing
|
|
12
|
+
};
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { r as l, h as i } from "./index-DL15mWAH.mjs";
|
|
2
|
+
const f = {
|
|
3
|
+
"heading-01": {
|
|
4
|
+
sm: {
|
|
5
|
+
fontFamily: "var(--inter)",
|
|
6
|
+
fontWeight: 300,
|
|
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(--inter)",
|
|
24
|
+
fontWeight: 300,
|
|
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(--inter)",
|
|
39
|
+
fontWeight: 300,
|
|
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(--inter)",
|
|
51
|
+
fontWeight: 300,
|
|
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(--inter)",
|
|
63
|
+
fontWeight: 300,
|
|
64
|
+
fontSize: "28px",
|
|
65
|
+
lineHeight: "110%",
|
|
66
|
+
letterSpacing: "-0.01em"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"heading-06": {
|
|
70
|
+
sm: {
|
|
71
|
+
fontFamily: "var(--inter)",
|
|
72
|
+
fontWeight: 300,
|
|
73
|
+
fontSize: "22px",
|
|
74
|
+
lineHeight: "120%"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}, s = {
|
|
78
|
+
"body-01": {
|
|
79
|
+
sm: {
|
|
80
|
+
fontFamily: "var(--plex-sans)",
|
|
81
|
+
fontWeight: 400,
|
|
82
|
+
fontSize: "20px",
|
|
83
|
+
lineHeight: "140%",
|
|
84
|
+
letterSpacing: "-0.01em"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"body-02": {
|
|
88
|
+
sm: {
|
|
89
|
+
fontFamily: "var(--plex-sans)",
|
|
90
|
+
fontWeight: 400,
|
|
91
|
+
fontSize: "17px",
|
|
92
|
+
lineHeight: "150%"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"body-03": {
|
|
96
|
+
sm: {
|
|
97
|
+
fontFamily: "var(--plex-sans)",
|
|
98
|
+
fontWeight: 400,
|
|
99
|
+
fontSize: "17px",
|
|
100
|
+
lineHeight: "150%"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}, g = {
|
|
104
|
+
"ui-01": {
|
|
105
|
+
sm: {
|
|
106
|
+
fontFamily: "var(--plex-sans)",
|
|
107
|
+
fontWeight: 400,
|
|
108
|
+
fontSize: "18px",
|
|
109
|
+
lineHeight: "110%",
|
|
110
|
+
letterSpacing: "-0.01em"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"ui-02": {
|
|
114
|
+
sm: {
|
|
115
|
+
fontFamily: "var(--plex-sans)",
|
|
116
|
+
fontWeight: 400,
|
|
117
|
+
fontSize: "16px",
|
|
118
|
+
lineHeight: "110%",
|
|
119
|
+
letterSpacing: "-0.01em"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"ui-02-light": {
|
|
123
|
+
sm: {
|
|
124
|
+
fontFamily: "var(--plex-sans)",
|
|
125
|
+
fontWeight: 400,
|
|
126
|
+
fontSize: "16px",
|
|
127
|
+
lineHeight: "110%",
|
|
128
|
+
letterSpacing: "-0.01em"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"ui-03": {
|
|
132
|
+
sm: {
|
|
133
|
+
fontFamily: "var(--plex-sans)",
|
|
134
|
+
fontWeight: 400,
|
|
135
|
+
fontSize: "14px",
|
|
136
|
+
lineHeight: "110%",
|
|
137
|
+
letterSpacing: "-0.01em"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"ui-03-light": {
|
|
141
|
+
sm: {
|
|
142
|
+
fontFamily: "var(--plex-sans)",
|
|
143
|
+
fontWeight: 400,
|
|
144
|
+
fontSize: "14px",
|
|
145
|
+
lineHeight: "130%",
|
|
146
|
+
letterSpacing: "-0.01em"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"ui-04": {
|
|
150
|
+
sm: {
|
|
151
|
+
fontFamily: "var(--plex-sans)",
|
|
152
|
+
fontWeight: 400,
|
|
153
|
+
fontSize: "12px",
|
|
154
|
+
lineHeight: "100%",
|
|
155
|
+
letterSpacing: "-0.01em"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"ui-05": {
|
|
159
|
+
sm: {
|
|
160
|
+
fontFamily: "var(--plex-sans)",
|
|
161
|
+
fontWeight: 400,
|
|
162
|
+
fontSize: "10px",
|
|
163
|
+
lineHeight: "110%",
|
|
164
|
+
letterSpacing: "-0.01em"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
caption: {
|
|
168
|
+
sm: {
|
|
169
|
+
fontFamily: "var(--plex-sans)",
|
|
170
|
+
fontWeight: 400,
|
|
171
|
+
fontSize: "12px",
|
|
172
|
+
lineHeight: "120%"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
code: {
|
|
176
|
+
sm: {
|
|
177
|
+
fontFamily: "var(--plex-mono)",
|
|
178
|
+
fontWeight: 400,
|
|
179
|
+
fontSize: "14px",
|
|
180
|
+
lineHeight: "140%"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}, r = {
|
|
184
|
+
"display-01": {
|
|
185
|
+
sm: {
|
|
186
|
+
fontFamily: "var(--inter)",
|
|
187
|
+
fontWeight: 300,
|
|
188
|
+
fontSize: "120px",
|
|
189
|
+
lineHeight: "100%",
|
|
190
|
+
letterSpacing: "-0.01em"
|
|
191
|
+
},
|
|
192
|
+
lg: {
|
|
193
|
+
fontSize: "150px"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"display-02": {
|
|
197
|
+
sm: {
|
|
198
|
+
fontFamily: "var(--inter)",
|
|
199
|
+
fontWeight: 300,
|
|
200
|
+
fontSize: "120px",
|
|
201
|
+
lineHeight: "100%",
|
|
202
|
+
letterSpacing: "-0.02em"
|
|
203
|
+
},
|
|
204
|
+
lg: {
|
|
205
|
+
fontSize: "150px"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}, o = {
|
|
209
|
+
families: {
|
|
210
|
+
inter: "Inter, Helvetica, Arial, sans-serif",
|
|
211
|
+
"plex-sans": '"IBM Plex Sans", Inter, Helvetica, Arial, sans-serif',
|
|
212
|
+
"plex-mono": '"IBM Plex Mono", "Courier New", Courier, monospace'
|
|
213
|
+
},
|
|
214
|
+
typesets: {
|
|
215
|
+
...f,
|
|
216
|
+
...s,
|
|
217
|
+
...g,
|
|
218
|
+
...r
|
|
219
|
+
}
|
|
220
|
+
}, m = class {
|
|
221
|
+
constructor(t) {
|
|
222
|
+
l(this, t);
|
|
223
|
+
}
|
|
224
|
+
render() {
|
|
225
|
+
return i("section", { key: "ce7e291884a4b1bef85050a04c798a365287a131", class: "w-full" }, i("ul", { key: "070567197ed557c07284ebe733c4f9f3246c60d7", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(o.typesets).filter(([t]) => t !== "displays").flatMap(([t, a]) => Object.entries(a).map(([n, e]) => i("li", { class: "grid-col-span-12 flex flex-col mt-16" }, i("div", { class: "w-full p-16 border border-soft rounded", style: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "1.5rem", alignItems: "center" } }, i("div", { style: {
|
|
226
|
+
fontFamily: e.fontFamily || o.families["plex-sans"],
|
|
227
|
+
fontWeight: e.fontWeight,
|
|
228
|
+
fontSize: e.fontSize,
|
|
229
|
+
lineHeight: e.lineHeight,
|
|
230
|
+
letterSpacing: e.letterSpacing
|
|
231
|
+
} }, i("span", { class: "text-default" }, `${t}`), i("div", { style: { fontSize: "12px", fontWeight: "400", color: "#7A7B7A", marginTop: "4px", fontFamily: '"IBM Plex Mono", monospace' } }, n, " · class: f-", t)), i("div", null, i("eds-code-block", { code: [
|
|
232
|
+
`/* Utility: f-${t} | Screen: ${n}:f-${t} */`,
|
|
233
|
+
e.fontSize && `font-size: ${e.fontSize};`,
|
|
234
|
+
e.lineHeight && `line-height: ${e.lineHeight};`,
|
|
235
|
+
e.letterSpacing && `letter-spacing: ${e.letterSpacing};`,
|
|
236
|
+
e.fontWeight && `font-weight: ${e.fontWeight};`,
|
|
237
|
+
'font-family: "IBM Plex Sans", sans-serif;'
|
|
238
|
+
].filter(Boolean).join(`
|
|
239
|
+
`), language: "css" }))))))));
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
export {
|
|
243
|
+
m as token_typography
|
|
244
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-WyhGZcXS.js"),l={"heading-01":{sm:{fontFamily:"var(--inter)",fontWeight:300,fontSize:"42px",lineHeight:"100%",letterSpacing:"-0.01em"},md:{fontSize:"48px"},lg:{fontSize:"72px"},xl:{fontSize:"83px"}},"heading-02":{sm:{fontFamily:"var(--inter)",fontWeight:300,fontSize:"36px",lineHeight:"100%",letterSpacing:"-0.01em"},lg:{fontSize:"48px"},xl:{fontSize:"60px"}},"heading-03":{sm:{fontFamily:"var(--inter)",fontWeight:300,fontSize:"36px",lineHeight:"100%",letterSpacing:"-0.01em"},xl:{fontSize:"42px"}},"heading-04":{sm:{fontFamily:"var(--inter)",fontWeight:300,fontSize:"28px",lineHeight:"100%",letterSpacing:"-0.01em"},xl:{fontSize:"36px"}},"heading-05":{sm:{fontFamily:"var(--inter)",fontWeight:300,fontSize:"28px",lineHeight:"110%",letterSpacing:"-0.01em"}},"heading-06":{sm:{fontFamily:"var(--inter)",fontWeight:300,fontSize:"22px",lineHeight:"120%"}}},f={"body-01":{sm:{fontFamily:"var(--plex-sans)",fontWeight:400,fontSize:"20px",lineHeight:"140%",letterSpacing:"-0.01em"}},"body-02":{sm:{fontFamily:"var(--plex-sans)",fontWeight:400,fontSize:"17px",lineHeight:"150%"}},"body-03":{sm:{fontFamily:"var(--plex-sans)",fontWeight:400,fontSize:"17px",lineHeight:"150%"}}},s={"ui-01":{sm:{fontFamily:"var(--plex-sans)",fontWeight:400,fontSize:"18px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-02":{sm:{fontFamily:"var(--plex-sans)",fontWeight:400,fontSize:"16px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-02-light":{sm:{fontFamily:"var(--plex-sans)",fontWeight:400,fontSize:"16px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-03":{sm:{fontFamily:"var(--plex-sans)",fontWeight:400,fontSize:"14px",lineHeight:"110%",letterSpacing:"-0.01em"}},"ui-03-light":{sm:{fontFamily:"var(--plex-sans)",fontWeight:400,fontSize:"14px",lineHeight:"130%",letterSpacing:"-0.01em"}},"ui-04":{sm:{fontFamily:"var(--plex-sans)",fontWeight:400,fontSize:"12px",lineHeight:"100%",letterSpacing:"-0.01em"}},"ui-05":{sm:{fontFamily:"var(--plex-sans)",fontWeight:400,fontSize:"10px",lineHeight:"110%",letterSpacing:"-0.01em"}},caption:{sm:{fontFamily:"var(--plex-sans)",fontWeight:400,fontSize:"12px",lineHeight:"120%"}},code:{sm:{fontFamily:"var(--plex-mono)",fontWeight:400,fontSize:"14px",lineHeight:"140%"}}},g={"display-01":{sm:{fontFamily:"var(--inter)",fontWeight:300,fontSize:"120px",lineHeight:"100%",letterSpacing:"-0.01em"},lg:{fontSize:"150px"}},"display-02":{sm:{fontFamily:"var(--inter)",fontWeight:300,fontSize:"120px",lineHeight:"100%",letterSpacing:"-0.02em"},lg:{fontSize:"150px"}}},o={families:{inter:"Inter, Helvetica, Arial, sans-serif","plex-sans":'"IBM Plex Sans", Inter, Helvetica, Arial, sans-serif',"plex-mono":'"IBM Plex Mono", "Courier New", Courier, monospace'},typesets:{...l,...f,...s,...g}},r=class{constructor(t){i.registerInstance(this,t)}render(){return i.h("section",{key:"ce7e291884a4b1bef85050a04c798a365287a131",class:"w-full"},i.h("ul",{key:"070567197ed557c07284ebe733c4f9f3246c60d7",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(o.typesets).filter(([t])=>t!=="displays").flatMap(([t,a])=>Object.entries(a).map(([n,e])=>i.h("li",{class:"grid-col-span-12 flex flex-col mt-16"},i.h("div",{class:"w-full p-16 border border-soft rounded",style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"1.5rem",alignItems:"center"}},i.h("div",{style:{fontFamily:e.fontFamily||o.families["plex-sans"],fontWeight:e.fontWeight,fontSize:e.fontSize,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}},i.h("span",{class:"text-default"},`${t}`),i.h("div",{style:{fontSize:"12px",fontWeight:"400",color:"#7A7B7A",marginTop:"4px",fontFamily:'"IBM Plex Mono", monospace'}},n," · class: f-",t)),i.h("div",null,i.h("eds-code-block",{code:[`/* Utility: f-${t} | Screen: ${n}:f-${t} */`,e.fontSize&&`font-size: ${e.fontSize};`,e.lineHeight&&`line-height: ${e.lineHeight};`,e.letterSpacing&&`letter-spacing: ${e.letterSpacing};`,e.fontWeight&&`font-weight: ${e.fontWeight};`,'font-family: "IBM Plex Sans", sans-serif;'].filter(Boolean).join(`
|
|
2
|
+
`),language:"css"}))))))))}};exports.token_typography=r;
|