@ebrains/vue 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clone-dab56639-CA90NNP5.mjs +4 -0
- package/clone-dab56639-DhCcTb4A.js +1 -0
- package/color-primary-palette_6.entry-BXemwFsT.js +1 -0
- package/{color-primary-palette_6.entry-Dx0sxiGl.mjs → color-primary-palette_6.entry-DT6y6FEy.mjs} +19 -19
- package/{components-section.entry-DlSK2XQH.js → components-section.entry-DUk1tQHE.js} +2 -2
- package/{components-section.entry-CunkKxAI.mjs → components-section.entry-yX3kMkgT.mjs} +2 -2
- package/{correct-use-of-colors.entry-CEWf34uE.js → correct-use-of-colors.entry-B8pPJm38.js} +1 -1
- package/{correct-use-of-colors.entry-DCSZZlrZ.mjs → correct-use-of-colors.entry-qD6fSpYF.mjs} +2 -2
- package/{docs-palettes.entry-DcN9LWvY.js → docs-palettes.entry-BMNsh6gh.js} +1 -1
- package/{docs-palettes.entry-BNFu_gbi.mjs → docs-palettes.entry-M87-ULxr.mjs} +4 -4
- package/{docs-tokens.entry-B3fO_wav.js → docs-tokens.entry-CjGpfZ1N.js} +1 -1
- package/{docs-tokens.entry-BMB3774g.mjs → docs-tokens.entry-DTMTLW6z.mjs} +2 -2
- package/edit-3893a517-D_Sgle6i.js +1 -0
- package/edit-3893a517-rsZs4NLF.mjs +4 -0
- package/{eds-avatar_26.entry-BQ34MNWx.mjs → eds-accordion_33.entry-CH6A78x3.mjs} +2839 -523
- package/{eds-avatar_26.entry-t5Dh1R-T.js → eds-accordion_33.entry-_Zc7vKFf.js} +192 -13
- package/eds-app-root.entry-COSmczak.mjs +25 -0
- package/eds-app-root.entry-DIHavIUM.js +1 -0
- package/{eds-card-desc_2.entry-BhqAsb3U.js → eds-card-desc_2.entry-D5GUottX.js} +1 -1
- package/{eds-card-desc_2.entry-D_GE153d.mjs → eds-card-desc_2.entry-YL4OVWD3.mjs} +6 -6
- package/{eds-card-generic.entry-B9M3v5vo.mjs → eds-card-generic.entry-Chm2AUtp.mjs} +1 -1
- package/{eds-card-generic.entry-DNr8lsia.js → eds-card-generic.entry-Diq4dtrs.js} +1 -1
- package/{eds-card-project.entry-CtwByu-b.mjs → eds-card-project.entry-CPqHqPOm.mjs} +6 -6
- package/{eds-card-project.entry-DDVZxmW4.js → eds-card-project.entry-JFVjbS0l.js} +1 -1
- package/{eds-card-section.entry-DQfUs62H.mjs → eds-card-section.entry-DpMTJ8Kn.mjs} +1 -1
- package/{eds-card-section.entry-Dq80ib2D.js → eds-card-section.entry-JZFsrwn5.js} +1 -1
- package/eds-card-tags.entry-DnNdxAaA.mjs +13 -0
- package/eds-card-tags.entry-DylnM44o.js +1 -0
- package/{eds-card-tool.entry-CNxFGROK.js → eds-card-tool.entry-CdtWr6SE.js} +1 -1
- package/{eds-card-tool.entry-D1HR_5K1.mjs → eds-card-tool.entry-DPWvJcI1.mjs} +5 -5
- package/{eds-cookies-preference.entry-CVk-5TmL.mjs → eds-cookies-preference.entry-CGit10s-.mjs} +5 -5
- package/{eds-cookies-preference.entry-D3iYnclm.js → eds-cookies-preference.entry-RT9hWQNy.js} +1 -1
- package/{eds-feedback.entry-mYb4amQb.js → eds-feedback.entry-B7PDcHGI.js} +1 -1
- package/{eds-feedback.entry-B1yQSCpz.mjs → eds-feedback.entry-DVqpmSiS.mjs} +2 -2
- package/{eds-footer.entry-DMUzB4MR.js → eds-footer.entry-BzcdvTWO.js} +1 -1
- package/{eds-footer.entry-C93DGupd.mjs → eds-footer.entry-D-ITdNTf.mjs} +11 -9
- package/{eds-frame.entry-n9qJhfsP.mjs → eds-frame.entry-C2Ldr3c9.mjs} +4 -4
- package/{eds-frame.entry-eqZLv-6q.js → eds-frame.entry-tcZQdrbE.js} +1 -1
- package/{eds-fullscreen-menu.entry-CUitgYea.mjs → eds-fullscreen-menu.entry-BGFJIgQP.mjs} +1 -1
- package/{eds-fullscreen-menu.entry-DKAdy3Bn.js → eds-fullscreen-menu.entry-BPbeGaPc.js} +1 -1
- package/{eds-gauge.entry-CrqkvnWf.mjs → eds-gauge.entry-Lu0hJx9p.mjs} +4 -4
- package/{eds-gauge.entry-Bjp3cj0S.js → eds-gauge.entry-pvfbXYgB.js} +1 -1
- package/eds-icon-arrow-diagonal.entry-B6IRXDMe.js +1 -0
- package/eds-icon-arrow-diagonal.entry-COlE8H7P.mjs +13 -0
- package/eds-icon-arrow-right.entry-BDHsQpfx.js +1 -0
- package/eds-icon-arrow-right.entry-Diznub_E.mjs +13 -0
- package/eds-icon-bin.entry-Bfl68q7b.mjs +13 -0
- package/eds-icon-bin.entry-ultyoyMK.js +1 -0
- package/eds-icon-bluesky.entry-Dzx9WU3j.mjs +13 -0
- package/{eds-icon-bluesky.entry-DJCdYrfU.js → eds-icon-bluesky.entry-QLpKGRxg.js} +1 -1
- package/eds-icon-bookmark.entry-CaBpzM1Z.js +1 -0
- package/eds-icon-bookmark.entry-CqikyWZl.mjs +13 -0
- package/eds-icon-chevron-down.entry-C-Z3ai4m.mjs +13 -0
- package/{eds-icon-chevron-down.entry-B__d09rD.js → eds-icon-chevron-down.entry-CzxQpRMw.js} +1 -1
- package/eds-icon-chevron-left.entry-BnE13pkI.mjs +13 -0
- package/eds-icon-chevron-left.entry-DcS5XbLe.js +1 -0
- package/eds-icon-chevron-right.entry-D4MlgSyJ.js +1 -0
- package/{eds-icon-chevron-right.entry-C0dfqwMy.mjs → eds-icon-chevron-right.entry-nJd-cRnH.mjs} +2 -2
- package/eds-icon-chevron-up.entry-DRT2Ubhe.mjs +13 -0
- package/eds-icon-chevron-up.entry-wQck5opp.js +1 -0
- package/eds-icon-clone.entry-BXVQstwR.mjs +13 -0
- package/eds-icon-clone.entry-DT1LJrsq.js +1 -0
- package/{eds-icon-close.entry-D09Q-ylx.js → eds-icon-close.entry-BadFYgtq.js} +1 -1
- package/eds-icon-close.entry-D2oFO-Qa.mjs +13 -0
- package/eds-icon-copy.entry-FRGQGwF-.mjs +13 -0
- package/eds-icon-copy.entry-lr2PVIPY.js +1 -0
- package/{eds-icon-draft.entry-TMbsQxNO.js → eds-icon-draft.entry-B9bUr2sw.js} +1 -1
- package/eds-icon-draft.entry-BwIwH62i.mjs +13 -0
- package/eds-icon-edit.entry-CvVY2UCN.mjs +13 -0
- package/eds-icon-edit.entry-sr_B_lUk.js +1 -0
- package/eds-icon-eu.entry-CWqu1Rr1.mjs +13 -0
- package/eds-icon-eu.entry-DDO74t4u.js +1 -0
- package/{eds-icon-external.entry-DjuhhmIA.js → eds-icon-external.entry-BqrklnFa.js} +1 -1
- package/eds-icon-external.entry-CcbC-mfi.mjs +13 -0
- package/eds-icon-facebook.entry-BtsECcJC.mjs +13 -0
- package/{eds-icon-facebook.entry-BdzYJmXP.js → eds-icon-facebook.entry-j4DS-WX4.js} +1 -1
- package/{eds-icon-gitlab.entry-CeKDBPdQ.mjs → eds-icon-gitlab.entry-BNblqbEX.mjs} +2 -2
- package/{eds-icon-gitlab.entry-BE8qLkYR.js → eds-icon-gitlab.entry-sQHBONNM.js} +1 -1
- package/{eds-icon-linkedin.entry-C4GaDa_x.js → eds-icon-linkedin.entry-Bs23nlsd.js} +1 -1
- package/eds-icon-linkedin.entry-CW-eurxB.mjs +13 -0
- package/{eds-icon-loader.entry-BzyS9rwg.js → eds-icon-loader.entry-CTnsFpV3.js} +1 -1
- package/eds-icon-loader.entry-J7Ane02R.mjs +13 -0
- package/{eds-icon-mastodon.entry-D_cz6_YV.js → eds-icon-mastodon.entry-B-ep-Tof.js} +1 -1
- package/eds-icon-mastodon.entry-BI2ATALp.mjs +13 -0
- package/eds-icon-menu.entry-CyhJAZL1.mjs +13 -0
- package/eds-icon-menu.entry-U1p7j7fy.js +1 -0
- package/{eds-icon-minus.entry-DPNNp66u.js → eds-icon-minus.entry-BdZZH0nX.js} +1 -1
- package/eds-icon-minus.entry-CgX27qzW.mjs +13 -0
- package/eds-icon-more.entry-D9S9kaWH.js +1 -0
- package/eds-icon-more.entry-DIQAQUHB.mjs +13 -0
- package/{eds-icon-paper.entry-CGeDyZ2Q.js → eds-icon-paper.entry-5re06zkj.js} +1 -1
- package/{eds-icon-paper.entry-BLYcxhYh.mjs → eds-icon-paper.entry-Bkx17qOK.mjs} +2 -2
- package/eds-icon-plus.entry-BzkeCu8f.mjs +13 -0
- package/eds-icon-plus.entry-CCZPj6w9.js +1 -0
- package/{eds-icon-portal.entry-YF8r9Y0s.js → eds-icon-portal.entry--FIUk_KW.js} +1 -1
- package/{eds-icon-portal.entry-Br9nR5tb.mjs → eds-icon-portal.entry-B_e1recN.mjs} +2 -2
- package/eds-icon-private.entry-BBt40biA.mjs +13 -0
- package/{eds-icon-private.entry-DGy28MBj.js → eds-icon-private.entry-CaeaHY9B.js} +1 -1
- package/eds-icon-public.entry-B1nkVESn.js +1 -0
- package/eds-icon-public.entry-C4XFHe13.mjs +13 -0
- package/eds-icon-search.entry-C8nsE_QJ.js +1 -0
- package/eds-icon-search.entry-jhUWh3yI.mjs +13 -0
- package/eds-icon-star.entry-BZwxie0S.mjs +13 -0
- package/eds-icon-star.entry-i4E24D7i.js +1 -0
- package/{eds-icon-start.entry-EmqNVYVq.mjs → eds-icon-start.entry-DDR6VjFj.mjs} +2 -2
- package/{eds-icon-start.entry-gFD3CneX.js → eds-icon-start.entry-XPXm0_E-.js} +1 -1
- package/eds-icon-success.entry-DDNbMpuL.js +1 -0
- package/eds-icon-success.entry-iYFlRYkD.mjs +13 -0
- package/eds-icon-thumbs-down.entry-B1pz46Mt.mjs +13 -0
- package/{eds-icon-thumbs-down.entry-BA_isKQz.js → eds-icon-thumbs-down.entry-CXPSaKje.js} +1 -1
- package/eds-icon-thumbs-up.entry-DKAME_Ra.js +1 -0
- package/eds-icon-thumbs-up.entry-DiGUetz-.mjs +13 -0
- package/eds-icon-tutorial.entry-BJ2VttuA.mjs +13 -0
- package/{eds-icon-tutorial.entry-DReMsj7W.js → eds-icon-tutorial.entry-CjbYvKJv.js} +1 -1
- package/eds-icon-twitter.entry-CRXixMx5.mjs +13 -0
- package/{eds-icon-twitter.entry-CZo7HVCl.js → eds-icon-twitter.entry-D_pH9RWV.js} +1 -1
- package/eds-icon-unknown.entry-B3C3gOfb.mjs +13 -0
- package/eds-icon-unknown.entry-Bh31uRll.js +1 -0
- package/{eds-icon-updown.entry-f_pOMD8D.js → eds-icon-updown.entry-B4iGaDou.js} +1 -1
- package/eds-icon-updown.entry-DTJ9wPMo.mjs +13 -0
- package/eds-icon-user.entry-C-Vuh8-f.js +1 -0
- package/eds-icon-user.entry-CGqSkZpC.mjs +13 -0
- package/eds-icon-view.entry-CjMq3fA0.mjs +13 -0
- package/eds-icon-view.entry-z8bJhMBL.js +1 -0
- package/eds-icon-youtube.entry-DSxMazqf.mjs +13 -0
- package/{eds-icon-youtube.entry-BUryZYQc.js → eds-icon-youtube.entry-DhBiT8kG.js} +1 -1
- package/{eds-modal.entry-DuG9A0QH.mjs → eds-modal.entry-B0n5tknG.mjs} +4 -4
- package/{eds-modal.entry-Cjj4QVEc.js → eds-modal.entry-D_Lwb__Q.js} +1 -1
- package/{eds-pie.entry-BU0NzwvU.mjs → eds-pie.entry-BuVtNs7I.mjs} +1 -1
- package/{eds-pie.entry-BiQyGOJw.js → eds-pie.entry-klP-etSw.js} +1 -1
- package/{eds-progress-bar.entry-BoQmuoGC.mjs → eds-progress-bar.entry-D2JI1D-e.mjs} +2 -2
- package/{eds-progress-bar.entry-BfV2jWgV.js → eds-progress-bar.entry-Ro89l7BR.js} +1 -1
- package/eds-section-core_2.entry-Bc9axwtz.js +1 -0
- package/{eds-section-core_2.entry-D2OlT6Zh.mjs → eds-section-core_2.entry-Cz99NRlc.mjs} +9 -9
- package/{eds-social-networks.entry-0Q7OwcYS.js → eds-social-networks.entry-CaNhyMcu.js} +1 -1
- package/{eds-social-networks.entry-CWPTBmxN.mjs → eds-social-networks.entry-DD-vQy71.mjs} +2 -2
- package/{eds-spinner.entry-dAJHt3cE.mjs → eds-spinner.entry-BB5fBr88.mjs} +2 -2
- package/{eds-spinner.entry-BKjbNwEi.js → eds-spinner.entry-zSti41IG.js} +1 -1
- package/{eds-splash-screen.entry-DOmRKV_v.mjs → eds-splash-screen.entry-BUnIKxtD.mjs} +1 -1
- package/{eds-splash-screen.entry-D3_EbR0-.js → eds-splash-screen.entry-Dw0Ji6bZ.js} +1 -1
- package/{eds-timeline.entry-BSozjnyo.mjs → eds-timeline.entry-BMaUPN_o.mjs} +5 -5
- package/{eds-timeline.entry-CFhtSoZc.js → eds-timeline.entry-DHGMZu2-.js} +1 -1
- package/{eds-toast-manager.entry-CWvJ6hUh.js → eds-toast-manager.entry-Bv30X8tV.js} +1 -1
- package/{eds-toast-manager.entry-Bj-xEHAg.mjs → eds-toast-manager.entry-XryfFnO2.mjs} +2 -2
- package/{eds-tooltip.entry-B5DXjEqa.js → eds-tooltip.entry-BFyPuNDr.js} +1 -1
- package/{eds-tooltip.entry-DJZDeWm0.mjs → eds-tooltip.entry-rMFVtJBN.mjs} +4 -4
- package/{eds-trl.entry-CMwFX2VA.js → eds-trl.entry-BKzMfF-8.js} +1 -1
- package/{eds-trl.entry-DWE3RZnq.mjs → eds-trl.entry-NW2Zpg0k.mjs} +2 -2
- package/generated/components.d.ts +1 -0
- package/{incorrect-use-of-colors.entry-C0MGEaLB.mjs → incorrect-use-of-colors.entry-CCB_JH3R.mjs} +9 -9
- package/incorrect-use-of-colors.entry-Dq7AmLvI.js +1 -0
- package/index-DM535IHr.js +21 -0
- package/{index-BW6yUYdy.mjs → index-UwPjPR0d.mjs} +530 -540
- package/index.js +1 -1
- package/index.mjs +12 -11
- package/{logo-space.entry-Cq0tziVn.js → logo-space.entry-B1Swm7_s.js} +2 -2
- package/{logo-space.entry-C5_FS_1e.mjs → logo-space.entry-sagbhmap.mjs} +7 -7
- package/{logo-variations-horizontal_2.entry-Bx8geXjs.mjs → logo-variations-horizontal_2.entry-Bo9dz9bE.mjs} +7 -7
- package/{logo-variations-horizontal_2.entry-CQW41pP-.js → logo-variations-horizontal_2.entry-DEm05l2M.js} +3 -3
- package/{logo-variations-tabs.entry-CfkXBk5k.js → logo-variations-tabs.entry-Dr6pNuIm.js} +1 -1
- package/{logo-variations-tabs.entry-DgYru0Zn.mjs → logo-variations-tabs.entry-v9gzHb2S.mjs} +3 -3
- package/{logo-wrong-usage.entry-B2LU9hBv.js → logo-wrong-usage.entry-Cb2OzANv.js} +1 -1
- package/{logo-wrong-usage.entry-BdBfaWtI.mjs → logo-wrong-usage.entry-DiAAZlws.mjs} +7 -7
- package/package.json +1 -1
- package/{svg-repository.entry-C8PnrvxA.js → svg-repository.entry-Bl6IMNNr.js} +12 -12
- package/{svg-repository.entry-PcURnvgb.mjs → svg-repository.entry-DENznUDI.mjs} +43 -39
- package/{token-list_3.entry-B4ClAGZQ.mjs → token-list_3.entry-BBS0BioQ.mjs} +12 -12
- package/{token-list_3.entry-CnPtT_DH.js → token-list_3.entry-HXbPQp0w.js} +1 -1
- package/{token-ratios.entry-DU33V_Fx.mjs → token-ratios.entry-BomK7oM-.mjs} +2 -2
- package/{token-ratios.entry-BoaLF_aM.js → token-ratios.entry-Cz3StGLv.js} +1 -1
- package/token-spacing.entry-4mnRkK32.mjs +12 -0
- package/token-spacing.entry-BgDT6uk3.js +1 -0
- package/{token-typography.entry-WBbs4fXw.mjs → token-typography.entry-DDfSupWC.mjs} +6 -6
- package/{token-typography.entry-DFu3h1rd.js → token-typography.entry-DTzyoov1.js} +2 -2
- package/view-e900f2d4-DsFtaZYM.mjs +4 -0
- package/view-e900f2d4-RAKf504j.js +1 -0
- package/color-primary-palette_6.entry-CLPwqXYN.js +0 -1
- package/edit-1dc8d11b-Bf2mkSUV.js +0 -1
- package/edit-1dc8d11b-CamcJGHE.mjs +0 -4
- package/eds-accordion.entry-Cniy--Pf.mjs +0 -48
- package/eds-accordion.entry-DqsJjt8n.js +0 -4
- package/eds-alert.entry-1Mmo8pXz.js +0 -165
- package/eds-alert.entry-DzO39nFn.mjs +0 -251
- package/eds-app-root.entry-Br_qdv7x.mjs +0 -25
- package/eds-app-root.entry-CuHAu5oB.js +0 -1
- package/eds-breadcrumb.entry-DoRU-2U8.mjs +0 -104
- package/eds-breadcrumb.entry-WWpJ_3D5.js +0 -1
- package/eds-card-tags.entry-CSuzFzX-.js +0 -1
- package/eds-card-tags.entry-DrWAV-ko.mjs +0 -13
- package/eds-code-block.entry-DGIrW97_.mjs +0 -1623
- package/eds-code-block.entry-JdJJLE4a.js +0 -9
- package/eds-icon-arrow-diagonal.entry-B8-jArDT.js +0 -1
- package/eds-icon-arrow-diagonal.entry-DACKEZ7o.mjs +0 -13
- package/eds-icon-arrow-right.entry-BP77Fhx8.js +0 -1
- package/eds-icon-arrow-right.entry-BvPrrid_.mjs +0 -13
- package/eds-icon-bin.entry-B54EXA_6.mjs +0 -13
- package/eds-icon-bin.entry-C7Jo_DW-.js +0 -1
- package/eds-icon-bluesky.entry-Bx-UDdty.mjs +0 -13
- package/eds-icon-bookmark.entry-B5IinWaZ.mjs +0 -13
- package/eds-icon-bookmark.entry-Dhvd8veD.js +0 -1
- package/eds-icon-chevron-down.entry-P4xqCoWP.mjs +0 -13
- package/eds-icon-chevron-left.entry-CuBl_BGv.mjs +0 -13
- package/eds-icon-chevron-left.entry-ZkPovDlT.js +0 -1
- package/eds-icon-chevron-right.entry-5h2qhFR-.js +0 -1
- package/eds-icon-chevron-up.entry-D0353BVJ.js +0 -1
- package/eds-icon-chevron-up.entry-UAZdu3Df.mjs +0 -13
- package/eds-icon-close.entry-uJAE-Wjb.mjs +0 -13
- package/eds-icon-copy.entry-BtI5KVDq.mjs +0 -13
- package/eds-icon-copy.entry-CECbryXM.js +0 -1
- package/eds-icon-draft.entry-LmdchYUq.mjs +0 -13
- package/eds-icon-edit.entry-R36lCJ2A.mjs +0 -13
- package/eds-icon-edit.entry-l8L__tUR.js +0 -1
- package/eds-icon-eu.entry--K0Tu14T.js +0 -1
- package/eds-icon-eu.entry-yv7nc0gr.mjs +0 -13
- package/eds-icon-external.entry-DdbbUm2H.mjs +0 -13
- package/eds-icon-facebook.entry-CrssRpWE.mjs +0 -13
- package/eds-icon-linkedin.entry-DTormNBK.mjs +0 -13
- package/eds-icon-loader.entry-BOxUhqUI.mjs +0 -13
- package/eds-icon-mastodon.entry-Cb_b8WxS.mjs +0 -13
- package/eds-icon-menu.entry-DN8ArM1E.js +0 -1
- package/eds-icon-menu.entry-c9wghxje.mjs +0 -13
- package/eds-icon-minus.entry-zF5hDaP1.mjs +0 -13
- package/eds-icon-more.entry-C9Qqow2i.js +0 -1
- package/eds-icon-more.entry-VvMJWQBC.mjs +0 -13
- package/eds-icon-plus.entry-DrhM4x_H.mjs +0 -13
- package/eds-icon-plus.entry-P2gRynxf.js +0 -1
- package/eds-icon-private.entry-C-VoEd-k.mjs +0 -13
- package/eds-icon-public.entry-JRATi6FK.mjs +0 -13
- package/eds-icon-public.entry-VrKUyRn4.js +0 -1
- package/eds-icon-search.entry-BFfawTmF.js +0 -1
- package/eds-icon-search.entry-D3nOAH3d.mjs +0 -13
- package/eds-icon-star.entry-CfxlHoON.mjs +0 -13
- package/eds-icon-star.entry-D_o_p4FR.js +0 -1
- package/eds-icon-success.entry-D4rmUwOz.js +0 -1
- package/eds-icon-success.entry-asuFd1wn.mjs +0 -13
- package/eds-icon-thumbs-down.entry-5IoOfXYg.mjs +0 -13
- package/eds-icon-thumbs-up.entry-B90KeLnV.mjs +0 -13
- package/eds-icon-thumbs-up.entry-CBiv69dB.js +0 -1
- package/eds-icon-tutorial.entry-BMlnAYBS.mjs +0 -13
- package/eds-icon-twitter.entry-BwOIf0Bv.mjs +0 -13
- package/eds-icon-unknown.entry-C6uw3X-q.js +0 -1
- package/eds-icon-unknown.entry-U2OwdtDM.mjs +0 -13
- package/eds-icon-updown.entry-D-ktiRgn.mjs +0 -13
- package/eds-icon-user.entry-DlnnIhcq.js +0 -1
- package/eds-icon-user.entry-aELakb9j.mjs +0 -13
- package/eds-icon-youtube.entry-HRKBTy8P.mjs +0 -13
- package/eds-matomo-notice.entry-B0xxpHZr.js +0 -1
- package/eds-matomo-notice.entry-NBKdUOFY.mjs +0 -92
- package/eds-section-core_2.entry-Jw_e-l_h.js +0 -1
- package/eds-switch.entry-DeWyzUU9.mjs +0 -29
- package/eds-switch.entry-qYhLXAv2.js +0 -1
- package/incorrect-use-of-colors.entry-CzcQmvFc.js +0 -1
- package/index-ECY2yg1E.js +0 -21
- package/token-spacing.entry-B6e3-GJR.js +0 -1
- package/token-spacing.entry-DuYrBWKx.mjs +0 -12
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { r as n, c as o, h as e, g as r } from "./index-BW6yUYdy.mjs";
|
|
2
|
-
import { s as a } from "./analytics-d99780e3-Bay18Oil.mjs";
|
|
3
|
-
const d = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}", s = d, l = class {
|
|
4
|
-
constructor(t) {
|
|
5
|
-
n(this, t), this.accordion = o(this, "accordion", 7), this.handleClick = () => {
|
|
6
|
-
var i;
|
|
7
|
-
this.isExpanded = !this.isExpanded, this.accordion.emit(this.isExpanded), this.setPanelHeight(), a({
|
|
8
|
-
category: "ui-component",
|
|
9
|
-
parentContext: null,
|
|
10
|
-
tag: this.el.tagName.toLowerCase(),
|
|
11
|
-
name: ((i = this.heading) === null || i === void 0 ? void 0 : i.toLowerCase()) || "",
|
|
12
|
-
action: this.isExpanded ? "expanded" : "collapsed"
|
|
13
|
-
});
|
|
14
|
-
}, this.setPanelHeight = () => {
|
|
15
|
-
this.childContentRef && (this.shortContent = this.wrapperRef.scrollWidth > 830 && !this.description ? this.childContentRef.scrollHeight <= 80 : this.childContentRef.scrollHeight <= 20, this.panelHeight = this.isExpanded && !this.shortContent ? this.childContentRef.scrollHeight : 0), this.headerRef && (this.headerHeight = this.headerRef.scrollHeight - 30);
|
|
16
|
-
}, this.heading = void 0, this.description = void 0, this.switchBg = !0, this.expanded = !1, this.clampText = !0, this.buttonIntent = "tertiary", this.isExpanded = this.expanded, this.panelHeight = 0, this.shortContent = !1, this.headerHeight = 0;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Lifecycle method that sets up the initial panel height and adds a resize event listener
|
|
20
|
-
* to recalculate height on window resize.
|
|
21
|
-
*/
|
|
22
|
-
componentDidLoad() {
|
|
23
|
-
this.setPanelHeight(), window.addEventListener("resize", this.setPanelHeight);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Lifecycle method that cleans up the resize event listener when the component is removed.
|
|
27
|
-
*/
|
|
28
|
-
disconnectedCallback() {
|
|
29
|
-
window.removeEventListener("resize", this.setPanelHeight);
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Renders the accordion structure, including header, content, description, and any slotted content.
|
|
33
|
-
* Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
|
|
34
|
-
*/
|
|
35
|
-
render() {
|
|
36
|
-
return e("div", { key: "1abfd8bfea763bc10e6f17148dbc252d0c3ffdea", ref: (t) => this.wrapperRef = t, class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
37
|
-
${this.switchBg && this.isExpanded ? "bg-inverse" : "bg-default"}
|
|
38
|
-
${this.switchBg ? "hover:bg-inverse" : ""}
|
|
39
|
-
${this.description ? "min-h-56" : ""}` }, e("h3", { key: "137a3311195d51f46c6677558219828e5f4d06b5", ref: (t) => this.headerRef = t, class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), e("div", { key: "0fc6d493fd61726a53a8c4311bd183eb3ad5b270", class: "ml-auto" }, e("eds-button", { key: "61e5e7727de895a9dc9d4a9d909cabea3b82e709", id: "toggleAccordion", intent: this.buttonIntent, "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: "effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none", onClick: this.handleClick, icon: "chevron-down" })), e("div", { key: "659ad4db8fd78dea0604afce003124a7c19987dc", class: "w-full", style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? e("span", { class: `text-light ${!this.isExpanded && this.clampText ? "line-clamp-1" : ""}` }, this.description) : null, e("section", { key: "0b463bb9d634b9dd1aa6c512e072bf8004e54db5", id: "accordionSection", role: "region", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? "overflow-hidden" : ""}`, style: { height: this.isExpanded ? "auto" : "0" } }, e("div", { key: "7f2eb016e377e3f2c08fd042e903291ad67bd20b", ref: (t) => this.childContentRef = t, class: "accordion-content effect-color pt-4", "aria-hidden": !this.isExpanded }, e("span", { key: "25be3a617a42699e2adeb1c9fc711e5a55ce69ea", class: `${!this.isExpanded && this.clampText ? "line-clamp-2" : ""}` }, e("slot", { key: "de7e5481940295571543c43f4b65f97dc7cec62c" }))))));
|
|
40
|
-
}
|
|
41
|
-
get el() {
|
|
42
|
-
return r(this);
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
l.style = s;
|
|
46
|
-
export {
|
|
47
|
-
l as eds_accordion
|
|
48
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-ECY2yg1E.js"),o=require("./analytics-d99780e3-DgvAss6l.js"),r="blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}",a=r,n=class{constructor(t){e.registerInstance(this,t),this.accordion=e.createEvent(this,"accordion",7),this.handleClick=()=>{var i;this.isExpanded=!this.isExpanded,this.accordion.emit(this.isExpanded),this.setPanelHeight(),o.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:((i=this.heading)===null||i===void 0?void 0:i.toLowerCase())||"",action:this.isExpanded?"expanded":"collapsed"})},this.setPanelHeight=()=>{this.childContentRef&&(this.shortContent=this.wrapperRef.scrollWidth>830&&!this.description?this.childContentRef.scrollHeight<=80:this.childContentRef.scrollHeight<=20,this.panelHeight=this.isExpanded&&!this.shortContent?this.childContentRef.scrollHeight:0),this.headerRef&&(this.headerHeight=this.headerRef.scrollHeight-30)},this.heading=void 0,this.description=void 0,this.switchBg=!0,this.expanded=!1,this.clampText=!0,this.buttonIntent="tertiary",this.isExpanded=this.expanded,this.panelHeight=0,this.shortContent=!1,this.headerHeight=0}componentDidLoad(){this.setPanelHeight(),window.addEventListener("resize",this.setPanelHeight)}disconnectedCallback(){window.removeEventListener("resize",this.setPanelHeight)}render(){return e.h("div",{key:"1abfd8bfea763bc10e6f17148dbc252d0c3ffdea",ref:t=>this.wrapperRef=t,class:`flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
2
|
-
${this.switchBg&&this.isExpanded?"bg-inverse":"bg-default"}
|
|
3
|
-
${this.switchBg?"hover:bg-inverse":""}
|
|
4
|
-
${this.description?"min-h-56":""}`},e.h("h3",{key:"137a3311195d51f46c6677558219828e5f4d06b5",ref:t=>this.headerRef=t,class:"mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40"},this.heading),e.h("div",{key:"0fc6d493fd61726a53a8c4311bd183eb3ad5b270",class:"ml-auto"},e.h("eds-button",{key:"61e5e7727de895a9dc9d4a9d909cabea3b82e709",id:"toggleAccordion",intent:this.buttonIntent,"aria-expanded":this.isExpanded||this.shortContent,"aria-label":"Toggle accordion","aria-controls":"accordionSection",class:"effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none",onClick:this.handleClick,icon:"chevron-down"})),e.h("div",{key:"659ad4db8fd78dea0604afce003124a7c19987dc",class:"w-full",style:Number.isFinite(this.headerHeight)?{marginTop:`${this.headerHeight}px`}:{}},this.description?e.h("span",{class:`text-light ${!this.isExpanded&&this.clampText?"line-clamp-1":""}`},this.description):null,e.h("section",{key:"0b463bb9d634b9dd1aa6c512e072bf8004e54db5",id:"accordionSection",role:"region","aria-labelledby":"accordionHeader","aria-hidden":!this.isExpanded,class:`z-1 effect-height relative h-0 w-full ${!this.isExpanded&&this.clampText?"overflow-hidden":""}`,style:{height:this.isExpanded?"auto":"0"}},e.h("div",{key:"7f2eb016e377e3f2c08fd042e903291ad67bd20b",ref:t=>this.childContentRef=t,class:"accordion-content effect-color pt-4","aria-hidden":!this.isExpanded},e.h("span",{key:"25be3a617a42699e2adeb1c9fc711e5a55ce69ea",class:`${!this.isExpanded&&this.clampText?"line-clamp-2":""}`},e.h("slot",{key:"de7e5481940295571543c43f4b65f97dc7cec62c"}))))))}get el(){return e.getElement(this)}};n.style=a;exports.eds_accordion=n;
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-ECY2yg1E.js"),i=require("./index-39c58238-SQ-JC-LH.js"),a=`*,
|
|
2
|
-
::before,
|
|
3
|
-
::after {
|
|
4
|
-
box-sizing: border-box;
|
|
5
|
-
border-width: 0;
|
|
6
|
-
border-style: solid;
|
|
7
|
-
border-color: currentColor;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
p {
|
|
11
|
-
margin: 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.f-ui-01 {
|
|
15
|
-
font-family: var(--f-ui-01-fontFamily);
|
|
16
|
-
font-weight: var(--f-ui-01-fontWeight);
|
|
17
|
-
font-size: var(--f-ui-01-fontSize);
|
|
18
|
-
line-height: var(--f-ui-01-lineHeight);
|
|
19
|
-
letter-spacing: var(--f-ui-01-letterSpacing);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.border-inside {
|
|
23
|
-
position: relative;
|
|
24
|
-
|
|
25
|
-
&::after {
|
|
26
|
-
pointer-events: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&::after {
|
|
30
|
-
position: absolute;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&::after {
|
|
34
|
-
inset: 0rem;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&::after {
|
|
38
|
-
z-index: 1;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&::after {
|
|
42
|
-
border-radius: 8px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&::after {
|
|
46
|
-
border-width: 1px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&::after {
|
|
50
|
-
border-width: 2px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&::after {
|
|
54
|
-
border-color: rgba(0, 0, 0, .1);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&::after {
|
|
58
|
-
content: '';
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.flex {
|
|
63
|
-
display: flex;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.w-full {
|
|
67
|
-
width: 100%;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.flex-row {
|
|
71
|
-
flex-direction: row;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.items-center {
|
|
75
|
-
align-items: center;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.justify-between {
|
|
79
|
-
justify-content: space-between;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.gap-x-12 {
|
|
83
|
-
-moz-column-gap: 0.75rem;
|
|
84
|
-
column-gap: 0.75rem;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.space-y-12> :not([hidden])~ :not([hidden]) {
|
|
88
|
-
--tw-space-y-reverse: 0;
|
|
89
|
-
margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
|
|
90
|
-
margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.rounded-lg {
|
|
94
|
-
border-radius: 16px;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.bg-dark {
|
|
98
|
-
background-color: var(--grey-300);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.bg-error {
|
|
102
|
-
background-color: var(--red-200);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.bg-success {
|
|
106
|
-
background-color: var(--green-200);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.bg-warning {
|
|
110
|
-
background-color: var(--yellow-200);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.p-16 {
|
|
114
|
-
padding: 1rem;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.p-20 {
|
|
118
|
-
padding: 1.25rem;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.px-12 {
|
|
122
|
-
padding-left: 0.75rem;
|
|
123
|
-
padding-right: 0.75rem;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.px-20 {
|
|
127
|
-
padding-left: 1.25rem;
|
|
128
|
-
padding-right: 1.25rem;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.py-12 {
|
|
132
|
-
padding-top: 0.75rem;
|
|
133
|
-
padding-bottom: 0.75rem;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.py-20 {
|
|
137
|
-
padding-top: 1.25rem;
|
|
138
|
-
padding-bottom: 1.25rem;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.py-8 {
|
|
142
|
-
padding-top: 0.5rem;
|
|
143
|
-
padding-bottom: 0.5rem;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.pr-12 {
|
|
147
|
-
padding-right: 0.75rem;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.shadow {
|
|
151
|
-
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
152
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
[class*=underline-] {
|
|
156
|
-
text-decoration-line: underline;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.after\\:rounded-lg::after {
|
|
160
|
-
border-radius: 16px;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.after\\:border-softest::after {
|
|
164
|
-
border-color: rgba(0, 0, 0, .05);
|
|
165
|
-
}`,o=a,s=i.cva(["w-full bg-dark"],{variants:{intent:{default:"",warning:"bg-warning",error:"bg-error",success:"bg-success"},brd:{rounded:"rounded-lg border-inside after:border-softest after:rounded-lg",normal:""},direction:{vertical:"space-y-12",horizontal:"flex flex-row items-center justify-between gap-x-12"},withBtn:{false:"",true:""}},compoundVariants:[{direction:"horizontal",withBtn:!0,class:"px-20 pr-12 py-12"},{direction:"horizontal",withBtn:!1,class:"p-20"},{direction:"vertical",withBtn:!0,class:"p-16"},{direction:"vertical",withBtn:!1,class:"px-12 py-20"}],defaultVariants:{intent:"default",brd:"rounded",direction:"horizontal"}}),r=class{constructor(n){e.registerInstance(this,n),this.message=void 0,this.pressableLabel=void 0,this.pressableUrl=void 0,this.direction="horizontal",this.intent="default",this.brd="rounded",this.withBtn=!1}componentWillLoad(){this.withBtn=!!this.pressableLabel}componentDidLoad(){var n;const t=(n=this.el.shadowRoot)===null||n===void 0?void 0:n.querySelector("eds-link");t&&this.emitContext(t)}emitContext(n){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});n.dispatchEvent(t)}render(){return e.h("div",{key:"5252aca583e87d8c3249c501e55368e340ef0d64",class:s({intent:this.intent,brd:this.brd,direction:this.direction,withBtn:this.withBtn}),role:"alert"},e.h("p",{key:"bb23c94e802ec5e287a2b8619277e83de173b498",class:"f-ui-01 py-8",innerHTML:this.message}),this.withBtn&&(this.pressableUrl?e.h("eds-link",{class:"eds-alert-link",label:this.pressableLabel,url:this.pressableUrl,intent:"secondary",external:!0}):null))}get el(){return e.getElement(this)}};r.style=o;exports.eds_alert=r;
|
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
import { r, h as t, g as i } from "./index-BW6yUYdy.mjs";
|
|
2
|
-
import { c as a } from "./index-39c58238-BwYCDOHZ.mjs";
|
|
3
|
-
const o = `*,
|
|
4
|
-
::before,
|
|
5
|
-
::after {
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
border-width: 0;
|
|
8
|
-
border-style: solid;
|
|
9
|
-
border-color: currentColor;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
p {
|
|
13
|
-
margin: 0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.f-ui-01 {
|
|
17
|
-
font-family: var(--f-ui-01-fontFamily);
|
|
18
|
-
font-weight: var(--f-ui-01-fontWeight);
|
|
19
|
-
font-size: var(--f-ui-01-fontSize);
|
|
20
|
-
line-height: var(--f-ui-01-lineHeight);
|
|
21
|
-
letter-spacing: var(--f-ui-01-letterSpacing);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.border-inside {
|
|
25
|
-
position: relative;
|
|
26
|
-
|
|
27
|
-
&::after {
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&::after {
|
|
32
|
-
position: absolute;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&::after {
|
|
36
|
-
inset: 0rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&::after {
|
|
40
|
-
z-index: 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&::after {
|
|
44
|
-
border-radius: 8px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&::after {
|
|
48
|
-
border-width: 1px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&::after {
|
|
52
|
-
border-width: 2px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&::after {
|
|
56
|
-
border-color: rgba(0, 0, 0, .1);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&::after {
|
|
60
|
-
content: '';
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.flex {
|
|
65
|
-
display: flex;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.w-full {
|
|
69
|
-
width: 100%;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.flex-row {
|
|
73
|
-
flex-direction: row;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.items-center {
|
|
77
|
-
align-items: center;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.justify-between {
|
|
81
|
-
justify-content: space-between;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.gap-x-12 {
|
|
85
|
-
-moz-column-gap: 0.75rem;
|
|
86
|
-
column-gap: 0.75rem;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.space-y-12> :not([hidden])~ :not([hidden]) {
|
|
90
|
-
--tw-space-y-reverse: 0;
|
|
91
|
-
margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
|
|
92
|
-
margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.rounded-lg {
|
|
96
|
-
border-radius: 16px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.bg-dark {
|
|
100
|
-
background-color: var(--grey-300);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.bg-error {
|
|
104
|
-
background-color: var(--red-200);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.bg-success {
|
|
108
|
-
background-color: var(--green-200);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.bg-warning {
|
|
112
|
-
background-color: var(--yellow-200);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.p-16 {
|
|
116
|
-
padding: 1rem;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.p-20 {
|
|
120
|
-
padding: 1.25rem;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.px-12 {
|
|
124
|
-
padding-left: 0.75rem;
|
|
125
|
-
padding-right: 0.75rem;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.px-20 {
|
|
129
|
-
padding-left: 1.25rem;
|
|
130
|
-
padding-right: 1.25rem;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.py-12 {
|
|
134
|
-
padding-top: 0.75rem;
|
|
135
|
-
padding-bottom: 0.75rem;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.py-20 {
|
|
139
|
-
padding-top: 1.25rem;
|
|
140
|
-
padding-bottom: 1.25rem;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.py-8 {
|
|
144
|
-
padding-top: 0.5rem;
|
|
145
|
-
padding-bottom: 0.5rem;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.pr-12 {
|
|
149
|
-
padding-right: 0.75rem;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.shadow {
|
|
153
|
-
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
154
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
[class*=underline-] {
|
|
158
|
-
text-decoration-line: underline;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.after\\:rounded-lg::after {
|
|
162
|
-
border-radius: 16px;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.after\\:border-softest::after {
|
|
166
|
-
border-color: rgba(0, 0, 0, .05);
|
|
167
|
-
}`, s = o, d = a(["w-full bg-dark"], {
|
|
168
|
-
variants: {
|
|
169
|
-
intent: {
|
|
170
|
-
default: "",
|
|
171
|
-
warning: "bg-warning",
|
|
172
|
-
error: "bg-error",
|
|
173
|
-
success: "bg-success"
|
|
174
|
-
},
|
|
175
|
-
brd: {
|
|
176
|
-
rounded: "rounded-lg border-inside after:border-softest after:rounded-lg",
|
|
177
|
-
normal: ""
|
|
178
|
-
},
|
|
179
|
-
direction: {
|
|
180
|
-
vertical: "space-y-12",
|
|
181
|
-
horizontal: "flex flex-row items-center justify-between gap-x-12"
|
|
182
|
-
},
|
|
183
|
-
withBtn: {
|
|
184
|
-
false: "",
|
|
185
|
-
true: ""
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
compoundVariants: [
|
|
189
|
-
{
|
|
190
|
-
direction: "horizontal",
|
|
191
|
-
withBtn: !0,
|
|
192
|
-
class: "px-20 pr-12 py-12"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
direction: "horizontal",
|
|
196
|
-
withBtn: !1,
|
|
197
|
-
class: "p-20"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
direction: "vertical",
|
|
201
|
-
withBtn: !0,
|
|
202
|
-
class: "p-16"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
direction: "vertical",
|
|
206
|
-
withBtn: !1,
|
|
207
|
-
class: "px-12 py-20"
|
|
208
|
-
}
|
|
209
|
-
],
|
|
210
|
-
defaultVariants: {
|
|
211
|
-
intent: "default",
|
|
212
|
-
brd: "rounded",
|
|
213
|
-
direction: "horizontal"
|
|
214
|
-
}
|
|
215
|
-
}), l = class {
|
|
216
|
-
constructor(n) {
|
|
217
|
-
r(this, n), this.message = void 0, this.pressableLabel = void 0, this.pressableUrl = void 0, this.direction = "horizontal", this.intent = "default", this.brd = "rounded", this.withBtn = !1;
|
|
218
|
-
}
|
|
219
|
-
componentWillLoad() {
|
|
220
|
-
this.withBtn = !!this.pressableLabel;
|
|
221
|
-
}
|
|
222
|
-
componentDidLoad() {
|
|
223
|
-
var n;
|
|
224
|
-
const e = (n = this.el.shadowRoot) === null || n === void 0 ? void 0 : n.querySelector("eds-link");
|
|
225
|
-
e && this.emitContext(e);
|
|
226
|
-
}
|
|
227
|
-
emitContext(n) {
|
|
228
|
-
const e = new CustomEvent("parentContext", {
|
|
229
|
-
detail: {
|
|
230
|
-
componentName: this.el.tagName.toLowerCase(),
|
|
231
|
-
identifier: null
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
n.dispatchEvent(e);
|
|
235
|
-
}
|
|
236
|
-
render() {
|
|
237
|
-
return t("div", { key: "5252aca583e87d8c3249c501e55368e340ef0d64", class: d({
|
|
238
|
-
intent: this.intent,
|
|
239
|
-
brd: this.brd,
|
|
240
|
-
direction: this.direction,
|
|
241
|
-
withBtn: this.withBtn
|
|
242
|
-
}), role: "alert" }, t("p", { key: "bb23c94e802ec5e287a2b8619277e83de173b498", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && (this.pressableUrl ? t("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: !0 }) : null));
|
|
243
|
-
}
|
|
244
|
-
get el() {
|
|
245
|
-
return i(this);
|
|
246
|
-
}
|
|
247
|
-
};
|
|
248
|
-
l.style = s;
|
|
249
|
-
export {
|
|
250
|
-
l as eds_alert
|
|
251
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { r as o, h as e } from "./index-BW6yUYdy.mjs";
|
|
2
|
-
const r = class {
|
|
3
|
-
constructor(a) {
|
|
4
|
-
o(this, a), this.isAuthenticated = !1;
|
|
5
|
-
}
|
|
6
|
-
componentWillLoad() {
|
|
7
|
-
const a = new Promise((i) => {
|
|
8
|
-
document.addEventListener("initKeycloak", (t) => {
|
|
9
|
-
i(t.detail);
|
|
10
|
-
}, { once: !0 });
|
|
11
|
-
}), n = new Promise((i) => {
|
|
12
|
-
document.addEventListener("authStatusChanged", (t) => {
|
|
13
|
-
var s;
|
|
14
|
-
this.isAuthenticated = (s = t.detail) === null || s === void 0 ? void 0 : s.authenticated, i(t.detail);
|
|
15
|
-
}, { once: !0 });
|
|
16
|
-
});
|
|
17
|
-
this.combinedInitPromise = Promise.all([a, n]);
|
|
18
|
-
}
|
|
19
|
-
render() {
|
|
20
|
-
return e("div", { key: "74be23fab63211137102b821a8928431d33714a3" }, e("eds-splash-screen", { key: "da5b931f1e3999fc36afa3d7dc66ef940a553d22", inverse: !0, initPromise: this.combinedInitPromise }), e("eds-login", { key: "eef7175edf257aabe1dd832f75e30d702ad5e96a", "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), e("main", { key: "bcd9363278ab653852aa0f39b57070a056b8b9ab" }, this.isAuthenticated ? e("h1", null, "Welcome, authenticated user!") : e("h1", null, "Please log in.")));
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
r as eds_app_root
|
|
25
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-ECY2yg1E.js"),o=class{constructor(a){e.registerInstance(this,a),this.isAuthenticated=!1}componentWillLoad(){const a=new Promise(i=>{document.addEventListener("initKeycloak",t=>{i(t.detail)},{once:!0})}),s=new Promise(i=>{document.addEventListener("authStatusChanged",t=>{var n;this.isAuthenticated=(n=t.detail)===null||n===void 0?void 0:n.authenticated,i(t.detail)},{once:!0})});this.combinedInitPromise=Promise.all([a,s])}render(){return e.h("div",{key:"74be23fab63211137102b821a8928431d33714a3"},e.h("eds-splash-screen",{key:"da5b931f1e3999fc36afa3d7dc66ef940a553d22",inverse:!0,initPromise:this.combinedInitPromise}),e.h("eds-login",{key:"eef7175edf257aabe1dd832f75e30d702ad5e96a","keycloak-url":"http://localhost:8080","keycloak-realm":"nigeor-realm","keycloak-client-id":"stencil-app"}),e.h("main",{key:"bcd9363278ab653852aa0f39b57070a056b8b9ab"},this.isAuthenticated?e.h("h1",null,"Welcome, authenticated user!"):e.h("h1",null,"Please log in.")))}};exports.eds_app_root=o;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { r, h as l, g as d } from "./index-BW6yUYdy.mjs";
|
|
2
|
-
import { p as c } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
|
|
3
|
-
const h = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}", m = h, o = class {
|
|
4
|
-
constructor(e) {
|
|
5
|
-
r(this, e), this.updateScreenSize = () => {
|
|
6
|
-
const t = window.innerWidth;
|
|
7
|
-
t < 769 ? this.maxVisibleItems = 3 : t <= 1024 ? this.maxVisibleItems = 3 : t <= 1280 ? this.maxVisibleItems = 3 : t <= 2200 ? this.maxVisibleItems = 4 : this.maxVisibleItems = 6;
|
|
8
|
-
}, this.items = [], this.intent = "ghost", this.parsedItems = [], this.isSmallScreen = !1, this.maxVisibleItems = 6;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Watches for changes to the `items` prop and parses it.
|
|
12
|
-
*/
|
|
13
|
-
parseItems(e) {
|
|
14
|
-
this.parsedItems = c(e);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Lifecycle method that runs when the component is about to be loaded.
|
|
18
|
-
* It parses the initial `items` prop value.
|
|
19
|
-
*/
|
|
20
|
-
componentWillLoad() {
|
|
21
|
-
this.parseItems(this.items), this.updateScreenSize(), window.addEventListener("resize", this.updateScreenSize);
|
|
22
|
-
}
|
|
23
|
-
disconnectedCallback() {
|
|
24
|
-
window.removeEventListener("resize", this.updateScreenSize);
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Lifecycle method that runs when the component has fully loaded.
|
|
28
|
-
* It emits a custom event for each `eds-link` element contained within the breadcrumb.
|
|
29
|
-
*/
|
|
30
|
-
componentDidLoad() {
|
|
31
|
-
var e;
|
|
32
|
-
const t = (e = this.el.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll("eds-link");
|
|
33
|
-
t == null || t.forEach((i) => {
|
|
34
|
-
this.emitContext(i);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
39
|
-
* This event provides context information about the breadcrumb component.
|
|
40
|
-
*
|
|
41
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
42
|
-
*/
|
|
43
|
-
emitContext(e) {
|
|
44
|
-
const t = new CustomEvent("parentContext", {
|
|
45
|
-
detail: {
|
|
46
|
-
componentName: this.el.tagName.toLowerCase(),
|
|
47
|
-
identifier: null
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
e.dispatchEvent(t);
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Returns breadcrumb items with potential truncation if there are too many.
|
|
54
|
-
* It inserts an ellipsis item where necessary.
|
|
55
|
-
*/
|
|
56
|
-
getTruncatedItems() {
|
|
57
|
-
const e = this.parsedItems.length, t = { label: "...", url: "", isHidden: !0 };
|
|
58
|
-
if (e > this.maxVisibleItems) {
|
|
59
|
-
const i = this.parsedItems[0], s = this.parsedItems.slice(-2);
|
|
60
|
-
if (this.maxVisibleItems === 3)
|
|
61
|
-
return [i, t, ...s];
|
|
62
|
-
if (this.maxVisibleItems === 4) {
|
|
63
|
-
const n = this.parsedItems[Math.floor(e / 2)];
|
|
64
|
-
return [i, n, t, ...s];
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
return this.parsedItems;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Helper to determine the display label and full label.
|
|
71
|
-
* If the label is longer than 15 characters and the item is not the current (last) item,
|
|
72
|
-
* we display a truncated version but use the full label for aria attributes.
|
|
73
|
-
*/
|
|
74
|
-
getLabels(e, t) {
|
|
75
|
-
return !t && e.label.length > 15 ? { displayLabel: `${e.label.slice(0, 15)}...`, fullLabel: e.label } : { displayLabel: e.label, fullLabel: e.label };
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Render method for the breadcrumb component.
|
|
79
|
-
* It creates a navigation element with an ordered list of breadcrumb links.
|
|
80
|
-
* The last link is marked as the current page.
|
|
81
|
-
*/
|
|
82
|
-
render() {
|
|
83
|
-
const e = this.getTruncatedItems();
|
|
84
|
-
return l("nav", { key: "db769320b42e627fffd71676c1e0551646f1de70", "aria-label": "Breadcrumb" }, l("ol", { key: "6cef8ed43cabcee73cb4ad4fb26f809d0690c0ec", class: "flex items-center space-x-2" }, e.map((t, i) => {
|
|
85
|
-
const s = i === e.length - 1;
|
|
86
|
-
return l("li", { class: "flex items-center" }, t.isHidden ? l("eds-link", { label: "...", url: "#", intent: "strong", current: !1, "aria-label": "...", size: "small", "icon-small": "false", icon: "chevron-right" }) : (() => {
|
|
87
|
-
const { fullLabel: n } = this.getLabels(t, s), a = s ? this.intent === "strong" ? "weak" : this.intent === "weak" ? "strong" : this.intent : this.intent;
|
|
88
|
-
return l("eds-link", Object.assign({ label: n, url: t.url, intent: a, disabled: s, current: s, "aria-label": n, size: "small", "icon-small": "false" }, s ? { "aria-current": "page" } : {}));
|
|
89
|
-
})(), !s && !t.isHidden && l("eds-icon-wrapper", { icon: "chevron-right", class: "w-20 h-20" }));
|
|
90
|
-
})));
|
|
91
|
-
}
|
|
92
|
-
get el() {
|
|
93
|
-
return d(this);
|
|
94
|
-
}
|
|
95
|
-
static get watchers() {
|
|
96
|
-
return {
|
|
97
|
-
items: ["parseItems"]
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
o.style = m;
|
|
102
|
-
export {
|
|
103
|
-
o as eds_breadcrumb
|
|
104
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-ECY2yg1E.js"),d=require("./sharedUtils-a550989c-m4pF1Vqy.js"),c="blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}",h=c,r=class{constructor(e){i.registerInstance(this,e),this.updateScreenSize=()=>{const t=window.innerWidth;t<769?this.maxVisibleItems=3:t<=1024?this.maxVisibleItems=3:t<=1280?this.maxVisibleItems=3:t<=2200?this.maxVisibleItems=4:this.maxVisibleItems=6},this.items=[],this.intent="ghost",this.parsedItems=[],this.isSmallScreen=!1,this.maxVisibleItems=6}parseItems(e){this.parsedItems=d.parseData(e)}componentWillLoad(){this.parseItems(this.items),this.updateScreenSize(),window.addEventListener("resize",this.updateScreenSize)}disconnectedCallback(){window.removeEventListener("resize",this.updateScreenSize)}componentDidLoad(){var e;const t=(e=this.el.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("eds-link");t==null||t.forEach(n=>{this.emitContext(n)})}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});e.dispatchEvent(t)}getTruncatedItems(){const e=this.parsedItems.length,t={label:"...",url:"",isHidden:!0};if(e>this.maxVisibleItems){const n=this.parsedItems[0],s=this.parsedItems.slice(-2);if(this.maxVisibleItems===3)return[n,t,...s];if(this.maxVisibleItems===4){const l=this.parsedItems[Math.floor(e/2)];return[n,l,t,...s]}}return this.parsedItems}getLabels(e,t){return!t&&e.label.length>15?{displayLabel:`${e.label.slice(0,15)}...`,fullLabel:e.label}:{displayLabel:e.label,fullLabel:e.label}}render(){const e=this.getTruncatedItems();return i.h("nav",{key:"db769320b42e627fffd71676c1e0551646f1de70","aria-label":"Breadcrumb"},i.h("ol",{key:"6cef8ed43cabcee73cb4ad4fb26f809d0690c0ec",class:"flex items-center space-x-2"},e.map((t,n)=>{const s=n===e.length-1;return i.h("li",{class:"flex items-center"},t.isHidden?i.h("eds-link",{label:"...",url:"#",intent:"strong",current:!1,"aria-label":"...",size:"small","icon-small":"false",icon:"chevron-right"}):(()=>{const{fullLabel:l}=this.getLabels(t,s),a=s?this.intent==="strong"?"weak":this.intent==="weak"?"strong":this.intent:this.intent;return i.h("eds-link",Object.assign({label:l,url:t.url,intent:a,disabled:s,current:s,"aria-label":l,size:"small","icon-small":"false"},s?{"aria-current":"page"}:{}))})(),!s&&!t.isHidden&&i.h("eds-icon-wrapper",{icon:"chevron-right",class:"w-20 h-20"}))})))}get el(){return i.getElement(this)}static get watchers(){return{items:["parseItems"]}}};r.style=h;exports.eds_breadcrumb=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-ECY2yg1E.js"),r=".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}",c=r,s=class{constructor(e){a.registerInstance(this,e),this.accent=!1,this.tags=[]}render(){return a.h("div",{key:"5da9fcbc472476a7b438451e563586643a818bc0",class:"flex flex-wrap gap-y-4"},this.tags.map((e,t)=>a.h("eds-tag",{key:t,intent:this.accent?"accent":"default",label:e})))}};s.style=c;exports.eds_card_tags=s;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { r as t, h as s } from "./index-BW6yUYdy.mjs";
|
|
2
|
-
const r = ".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}", c = r, l = class {
|
|
3
|
-
constructor(a) {
|
|
4
|
-
t(this, a), this.accent = !1, this.tags = [];
|
|
5
|
-
}
|
|
6
|
-
render() {
|
|
7
|
-
return s("div", { key: "5da9fcbc472476a7b438451e563586643a818bc0", class: "flex flex-wrap gap-y-4" }, this.tags.map((a, e) => s("eds-tag", { key: e, intent: this.accent ? "accent" : "default", label: a })));
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
l.style = c;
|
|
11
|
-
export {
|
|
12
|
-
l as eds_card_tags
|
|
13
|
-
};
|