@synergy-design-system/components 1.25.0 → 1.26.1
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/dist/chunks/{chunk.KPIFYZIW.js → chunk.2SLLQNCI.js} +2 -2
- package/dist/chunks/chunk.32CYREEV.js +10 -0
- package/dist/chunks/chunk.32CYREEV.js.map +7 -0
- package/dist/chunks/{chunk.B3MZC6CJ.js → chunk.3RAIY6BO.js} +2 -2
- package/dist/chunks/{chunk.PTBISDTR.js → chunk.4SLBZWL7.js} +2 -2
- package/dist/chunks/chunk.4VXSAOYR.js +114 -0
- package/dist/chunks/chunk.4VXSAOYR.js.map +7 -0
- package/dist/chunks/{chunk.L6BR5LAL.js → chunk.52GYQMTA.js} +2 -2
- package/dist/chunks/{chunk.DCUFJIWA.js → chunk.5EMA45FL.js} +2 -2
- package/dist/chunks/{chunk.3W4XH7AG.js → chunk.5Q3DC5P2.js} +2 -2
- package/dist/chunks/{chunk.FUTC5UNF.js → chunk.5U4H7R65.js} +2 -2
- package/dist/chunks/{chunk.66VRELGR.js → chunk.5V5RLPZU.js} +6 -6
- package/dist/chunks/{chunk.3C3CYLWF.js → chunk.6MN7CLQ2.js} +6 -6
- package/dist/chunks/{chunk.5GJBOJOJ.js → chunk.6QON4YFH.js} +2 -2
- package/dist/chunks/chunk.6UHKPGDY.js +92 -0
- package/dist/chunks/chunk.6UHKPGDY.js.map +7 -0
- package/dist/chunks/{chunk.CU6YTDF3.js → chunk.6UZ4C5ZH.js} +6 -6
- package/dist/chunks/{chunk.JLK4L5FX.js → chunk.7DANOEZZ.js} +2 -2
- package/dist/chunks/{chunk.YSCN2H4J.js → chunk.A2X34V34.js} +3 -3
- package/dist/chunks/{chunk.EAK2CZN5.js → chunk.AF6Q3PJ4.js} +3 -3
- package/dist/chunks/{chunk.G74PTGLR.js → chunk.B3I4MF4Y.js} +6 -6
- package/dist/chunks/{chunk.MZB3A2PC.js → chunk.BY4LQMHJ.js} +2 -2
- package/dist/chunks/{chunk.YZB77DYM.js → chunk.C4BFJ64D.js} +2 -2
- package/dist/chunks/{chunk.DYZA2PWP.js → chunk.C665PZDC.js} +2 -2
- package/dist/chunks/{chunk.I7LMJIVB.js → chunk.DD3FPXAX.js} +2 -2
- package/dist/chunks/{chunk.KPD7UXYG.js → chunk.DOZ7HUS3.js} +6 -6
- package/dist/chunks/{chunk.JMFYRM3W.js → chunk.H4UPYHXO.js} +10 -10
- package/dist/chunks/chunk.HPHMQ2QU.js +12 -0
- package/dist/chunks/chunk.HPHMQ2QU.js.map +7 -0
- package/dist/chunks/{chunk.P5AMPKUK.js → chunk.IEMCAILG.js} +5 -5
- package/dist/chunks/{chunk.MHORC52J.js → chunk.K4UTYJJB.js} +2 -2
- package/dist/chunks/{chunk.LV2RVNPJ.js → chunk.KB7ZUMZ5.js} +2 -2
- package/dist/chunks/chunk.KLDQHER5.js +92 -0
- package/dist/chunks/chunk.KLDQHER5.js.map +7 -0
- package/dist/chunks/{chunk.E5BS6NQR.js → chunk.LQBDPOHQ.js} +3 -3
- package/dist/chunks/{chunk.E5BS6NQR.js.map → chunk.LQBDPOHQ.js.map} +1 -1
- package/dist/chunks/{chunk.SLFJNIBJ.js → chunk.LTYQKBAV.js} +2 -2
- package/dist/chunks/{chunk.QHMHHBTQ.js → chunk.LUA435HM.js} +2 -2
- package/dist/chunks/{chunk.FGXZP3MQ.js → chunk.MJV4AVM5.js} +2 -2
- package/dist/chunks/{chunk.DXCVWKBW.js → chunk.MVLYGO2H.js} +2 -2
- package/dist/chunks/chunk.NGIGPLN2.js +79 -0
- package/dist/chunks/chunk.NGIGPLN2.js.map +7 -0
- package/dist/chunks/{chunk.SERPKHH2.js → chunk.NQNJCY5E.js} +7 -7
- package/dist/chunks/{chunk.LQD2V7B3.js → chunk.NUC3RDFP.js} +2 -2
- package/dist/chunks/chunk.NXSYAHSP.js +12 -0
- package/dist/chunks/chunk.NXSYAHSP.js.map +7 -0
- package/dist/chunks/{chunk.4NDJ3XJZ.js → chunk.OGGIADUN.js} +6 -6
- package/dist/chunks/{chunk.MBKQEZ6Y.js → chunk.ORRYG353.js} +2 -2
- package/dist/chunks/{chunk.5G7ZZRTT.js → chunk.OSGMGU2W.js} +2 -2
- package/dist/chunks/{chunk.YZLJINMN.js → chunk.OWEEGWLX.js} +3 -3
- package/dist/chunks/{chunk.WQ5RJNWY.js → chunk.OZHNCBUB.js} +7 -7
- package/dist/chunks/{chunk.2AMQXMBJ.js → chunk.PLENJSLV.js} +2 -2
- package/dist/chunks/{chunk.DFCOMA3V.js → chunk.PWPAKHYH.js} +2 -2
- package/dist/chunks/{chunk.U7BPATGD.js → chunk.QFJ2A5GP.js} +2 -2
- package/dist/chunks/{chunk.MIFF5ON5.js → chunk.QZ5UGXJU.js} +2 -2
- package/dist/chunks/{chunk.TMI6TXDF.js → chunk.R5VGIXPS.js} +2 -2
- package/dist/chunks/{chunk.FKALWRPK.js → chunk.REYNJYOU.js} +6 -6
- package/dist/chunks/{chunk.CFK6ZZWP.js → chunk.SDTUEFTZ.js} +2 -2
- package/dist/chunks/{chunk.FKHRK3AJ.js → chunk.SEEME2EL.js} +6 -6
- package/dist/chunks/{chunk.WNMVQDJ4.js → chunk.SGQ3VJXU.js} +2 -2
- package/dist/chunks/{chunk.6PXGQJCH.js → chunk.SKFC2FVV.js} +2 -2
- package/dist/chunks/{chunk.43GHTB73.js → chunk.SPAKHEIY.js} +6 -6
- package/dist/chunks/{chunk.T5SDGJLN.js → chunk.SUYDJI4V.js} +5 -5
- package/dist/chunks/{chunk.NQIAPJ5P.js → chunk.T34BWWC4.js} +3 -3
- package/dist/chunks/{chunk.CNBK6BXB.js → chunk.TMB54LQV.js} +2 -2
- package/dist/chunks/{chunk.C36IBP2Y.js → chunk.TQIY3GTG.js} +9 -9
- package/dist/chunks/{chunk.UTEBBE3R.js → chunk.TQRF7O4P.js} +2 -2
- package/dist/chunks/{chunk.2LJHON6S.js → chunk.U2FDLWWA.js} +2 -2
- package/dist/chunks/{chunk.MTBPYPAK.js → chunk.U3WYQ3BM.js} +5 -5
- package/dist/chunks/{chunk.7YHPAFBY.js → chunk.UAYKB3QP.js} +9 -9
- package/dist/chunks/{chunk.SWOWQOZD.js → chunk.UHXYQZ5J.js} +2 -2
- package/dist/chunks/{chunk.VPY4H4BH.js → chunk.UJZBDOJ3.js} +2 -2
- package/dist/chunks/{chunk.RTMMKZQC.js → chunk.V3PJL4UY.js} +10 -10
- package/dist/chunks/{chunk.FFTKB5DB.js → chunk.VM4RZXJR.js} +6 -6
- package/dist/chunks/{chunk.QABH4GYW.js → chunk.VUDPCDKX.js} +2 -2
- package/dist/chunks/{chunk.R63SNGSK.js → chunk.W2N7TQZZ.js} +2 -2
- package/dist/chunks/{chunk.VLWMUFDA.js → chunk.XD2IVWNY.js} +2 -2
- package/dist/chunks/{chunk.Q7UHNN5N.js → chunk.XKR2A5AP.js} +2 -2
- package/dist/chunks/{chunk.Q7UHNN5N.js.map → chunk.XKR2A5AP.js.map} +1 -1
- package/dist/chunks/{chunk.TC5MUZDT.js → chunk.XLHSKNN3.js} +2 -2
- package/dist/chunks/{chunk.OL27RSKJ.js → chunk.YBSQMBDK.js} +2 -2
- package/dist/chunks/{chunk.4HGLQO32.js → chunk.YEINV5KS.js} +2 -2
- package/dist/chunks/{chunk.7JQ75RUY.js → chunk.YN3AAOQ7.js} +5 -5
- package/dist/chunks/{chunk.VEUZWIWS.js → chunk.YYUOWZHL.js} +6 -6
- package/dist/chunks/chunk.Z6T7VV4R.js +15 -0
- package/dist/chunks/chunk.Z6T7VV4R.js.map +7 -0
- package/dist/chunks/{chunk.AR7MDJE4.js → chunk.ZNK2SYOY.js} +2 -2
- package/dist/chunks/{chunk.HQZ3BXPQ.js → chunk.ZU2RL5SI.js} +2 -2
- package/dist/components/alert/alert.component.js +9 -9
- package/dist/components/alert/alert.js +10 -10
- package/dist/components/badge/badge.component.js +3 -3
- package/dist/components/badge/badge.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.component.d.ts +34 -0
- package/dist/components/breadcrumb/breadcrumb.component.js +21 -0
- package/dist/components/breadcrumb/breadcrumb.component.js.map +7 -0
- package/dist/components/breadcrumb/breadcrumb.custom.styles.d.ts +2 -0
- package/dist/components/breadcrumb/breadcrumb.custom.styles.js +8 -0
- package/dist/components/breadcrumb/breadcrumb.custom.styles.js.map +7 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +8 -0
- package/dist/components/breadcrumb/breadcrumb.js +22 -0
- package/dist/components/breadcrumb/breadcrumb.js.map +7 -0
- package/dist/components/breadcrumb/breadcrumb.styles.d.ts +2 -0
- package/dist/components/breadcrumb/breadcrumb.styles.js +8 -0
- package/dist/components/breadcrumb/breadcrumb.styles.js.map +7 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.component.d.ts +39 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +13 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js.map +7 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.custom.styles.d.ts +2 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.custom.styles.js +8 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.custom.styles.js.map +7 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +8 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.js +14 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.js.map +7 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.d.ts +2 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +8 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.js.map +7 -0
- package/dist/components/button/button.component.js +7 -7
- package/dist/components/button/button.js +8 -8
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/dialog/dialog.component.js +7 -7
- package/dist/components/dialog/dialog.js +8 -8
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +7 -7
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/header/header.component.js +7 -7
- package/dist/components/header/header.js +8 -8
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/input/input.component.js +7 -7
- package/dist/components/input/input.js +8 -8
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +8 -8
- package/dist/components/menu-item/menu-item.js +9 -9
- package/dist/components/menu-label/menu-label.component.js +3 -3
- package/dist/components/menu-label/menu-label.js +4 -4
- package/dist/components/nav-item/nav-item.component.js +5 -5
- package/dist/components/nav-item/nav-item.js +6 -6
- package/dist/components/nav-item/nav-item.styles.js +1 -1
- package/dist/components/optgroup/optgroup.component.js +4 -4
- package/dist/components/optgroup/optgroup.js +5 -5
- package/dist/components/option/option.component.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/prio-nav/prio-nav.component.js +12 -12
- package/dist/components/prio-nav/prio-nav.js +13 -13
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +3 -3
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/select/select.component.js +9 -9
- package/dist/components/select/select.js +10 -10
- package/dist/components/side-nav/side-nav.component.js +9 -9
- package/dist/components/side-nav/side-nav.js +10 -10
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/switch/switch.component.js +3 -3
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/tag/tag.component.js +6 -6
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.component.js +3 -3
- package/dist/components/textarea/textarea.js +4 -4
- package/dist/components/tooltip/tooltip.component.js +4 -4
- package/dist/components/tooltip/tooltip.js +5 -5
- package/dist/custom-elements.json +287 -1
- package/dist/synergy.d.ts +2 -0
- package/dist/synergy.js +92 -78
- package/dist/vscode.html-custom-data.json +49 -0
- package/package.json +2 -2
- /package/dist/chunks/{chunk.KPIFYZIW.js.map → chunk.2SLLQNCI.js.map} +0 -0
- /package/dist/chunks/{chunk.B3MZC6CJ.js.map → chunk.3RAIY6BO.js.map} +0 -0
- /package/dist/chunks/{chunk.PTBISDTR.js.map → chunk.4SLBZWL7.js.map} +0 -0
- /package/dist/chunks/{chunk.L6BR5LAL.js.map → chunk.52GYQMTA.js.map} +0 -0
- /package/dist/chunks/{chunk.DCUFJIWA.js.map → chunk.5EMA45FL.js.map} +0 -0
- /package/dist/chunks/{chunk.3W4XH7AG.js.map → chunk.5Q3DC5P2.js.map} +0 -0
- /package/dist/chunks/{chunk.FUTC5UNF.js.map → chunk.5U4H7R65.js.map} +0 -0
- /package/dist/chunks/{chunk.66VRELGR.js.map → chunk.5V5RLPZU.js.map} +0 -0
- /package/dist/chunks/{chunk.3C3CYLWF.js.map → chunk.6MN7CLQ2.js.map} +0 -0
- /package/dist/chunks/{chunk.5GJBOJOJ.js.map → chunk.6QON4YFH.js.map} +0 -0
- /package/dist/chunks/{chunk.CU6YTDF3.js.map → chunk.6UZ4C5ZH.js.map} +0 -0
- /package/dist/chunks/{chunk.JLK4L5FX.js.map → chunk.7DANOEZZ.js.map} +0 -0
- /package/dist/chunks/{chunk.YSCN2H4J.js.map → chunk.A2X34V34.js.map} +0 -0
- /package/dist/chunks/{chunk.EAK2CZN5.js.map → chunk.AF6Q3PJ4.js.map} +0 -0
- /package/dist/chunks/{chunk.G74PTGLR.js.map → chunk.B3I4MF4Y.js.map} +0 -0
- /package/dist/chunks/{chunk.MZB3A2PC.js.map → chunk.BY4LQMHJ.js.map} +0 -0
- /package/dist/chunks/{chunk.YZB77DYM.js.map → chunk.C4BFJ64D.js.map} +0 -0
- /package/dist/chunks/{chunk.DYZA2PWP.js.map → chunk.C665PZDC.js.map} +0 -0
- /package/dist/chunks/{chunk.I7LMJIVB.js.map → chunk.DD3FPXAX.js.map} +0 -0
- /package/dist/chunks/{chunk.KPD7UXYG.js.map → chunk.DOZ7HUS3.js.map} +0 -0
- /package/dist/chunks/{chunk.JMFYRM3W.js.map → chunk.H4UPYHXO.js.map} +0 -0
- /package/dist/chunks/{chunk.P5AMPKUK.js.map → chunk.IEMCAILG.js.map} +0 -0
- /package/dist/chunks/{chunk.MHORC52J.js.map → chunk.K4UTYJJB.js.map} +0 -0
- /package/dist/chunks/{chunk.LV2RVNPJ.js.map → chunk.KB7ZUMZ5.js.map} +0 -0
- /package/dist/chunks/{chunk.SLFJNIBJ.js.map → chunk.LTYQKBAV.js.map} +0 -0
- /package/dist/chunks/{chunk.QHMHHBTQ.js.map → chunk.LUA435HM.js.map} +0 -0
- /package/dist/chunks/{chunk.FGXZP3MQ.js.map → chunk.MJV4AVM5.js.map} +0 -0
- /package/dist/chunks/{chunk.DXCVWKBW.js.map → chunk.MVLYGO2H.js.map} +0 -0
- /package/dist/chunks/{chunk.SERPKHH2.js.map → chunk.NQNJCY5E.js.map} +0 -0
- /package/dist/chunks/{chunk.LQD2V7B3.js.map → chunk.NUC3RDFP.js.map} +0 -0
- /package/dist/chunks/{chunk.4NDJ3XJZ.js.map → chunk.OGGIADUN.js.map} +0 -0
- /package/dist/chunks/{chunk.MBKQEZ6Y.js.map → chunk.ORRYG353.js.map} +0 -0
- /package/dist/chunks/{chunk.5G7ZZRTT.js.map → chunk.OSGMGU2W.js.map} +0 -0
- /package/dist/chunks/{chunk.YZLJINMN.js.map → chunk.OWEEGWLX.js.map} +0 -0
- /package/dist/chunks/{chunk.WQ5RJNWY.js.map → chunk.OZHNCBUB.js.map} +0 -0
- /package/dist/chunks/{chunk.2AMQXMBJ.js.map → chunk.PLENJSLV.js.map} +0 -0
- /package/dist/chunks/{chunk.DFCOMA3V.js.map → chunk.PWPAKHYH.js.map} +0 -0
- /package/dist/chunks/{chunk.U7BPATGD.js.map → chunk.QFJ2A5GP.js.map} +0 -0
- /package/dist/chunks/{chunk.MIFF5ON5.js.map → chunk.QZ5UGXJU.js.map} +0 -0
- /package/dist/chunks/{chunk.TMI6TXDF.js.map → chunk.R5VGIXPS.js.map} +0 -0
- /package/dist/chunks/{chunk.FKALWRPK.js.map → chunk.REYNJYOU.js.map} +0 -0
- /package/dist/chunks/{chunk.CFK6ZZWP.js.map → chunk.SDTUEFTZ.js.map} +0 -0
- /package/dist/chunks/{chunk.FKHRK3AJ.js.map → chunk.SEEME2EL.js.map} +0 -0
- /package/dist/chunks/{chunk.WNMVQDJ4.js.map → chunk.SGQ3VJXU.js.map} +0 -0
- /package/dist/chunks/{chunk.6PXGQJCH.js.map → chunk.SKFC2FVV.js.map} +0 -0
- /package/dist/chunks/{chunk.43GHTB73.js.map → chunk.SPAKHEIY.js.map} +0 -0
- /package/dist/chunks/{chunk.T5SDGJLN.js.map → chunk.SUYDJI4V.js.map} +0 -0
- /package/dist/chunks/{chunk.NQIAPJ5P.js.map → chunk.T34BWWC4.js.map} +0 -0
- /package/dist/chunks/{chunk.CNBK6BXB.js.map → chunk.TMB54LQV.js.map} +0 -0
- /package/dist/chunks/{chunk.C36IBP2Y.js.map → chunk.TQIY3GTG.js.map} +0 -0
- /package/dist/chunks/{chunk.UTEBBE3R.js.map → chunk.TQRF7O4P.js.map} +0 -0
- /package/dist/chunks/{chunk.2LJHON6S.js.map → chunk.U2FDLWWA.js.map} +0 -0
- /package/dist/chunks/{chunk.MTBPYPAK.js.map → chunk.U3WYQ3BM.js.map} +0 -0
- /package/dist/chunks/{chunk.7YHPAFBY.js.map → chunk.UAYKB3QP.js.map} +0 -0
- /package/dist/chunks/{chunk.SWOWQOZD.js.map → chunk.UHXYQZ5J.js.map} +0 -0
- /package/dist/chunks/{chunk.VPY4H4BH.js.map → chunk.UJZBDOJ3.js.map} +0 -0
- /package/dist/chunks/{chunk.RTMMKZQC.js.map → chunk.V3PJL4UY.js.map} +0 -0
- /package/dist/chunks/{chunk.FFTKB5DB.js.map → chunk.VM4RZXJR.js.map} +0 -0
- /package/dist/chunks/{chunk.QABH4GYW.js.map → chunk.VUDPCDKX.js.map} +0 -0
- /package/dist/chunks/{chunk.R63SNGSK.js.map → chunk.W2N7TQZZ.js.map} +0 -0
- /package/dist/chunks/{chunk.VLWMUFDA.js.map → chunk.XD2IVWNY.js.map} +0 -0
- /package/dist/chunks/{chunk.TC5MUZDT.js.map → chunk.XLHSKNN3.js.map} +0 -0
- /package/dist/chunks/{chunk.OL27RSKJ.js.map → chunk.YBSQMBDK.js.map} +0 -0
- /package/dist/chunks/{chunk.4HGLQO32.js.map → chunk.YEINV5KS.js.map} +0 -0
- /package/dist/chunks/{chunk.7JQ75RUY.js.map → chunk.YN3AAOQ7.js.map} +0 -0
- /package/dist/chunks/{chunk.VEUZWIWS.js.map → chunk.YYUOWZHL.js.map} +0 -0
- /package/dist/chunks/{chunk.AR7MDJE4.js.map → chunk.ZNK2SYOY.js.map} +0 -0
- /package/dist/chunks/{chunk.HQZ3BXPQ.js.map → chunk.ZU2RL5SI.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SynergyElement,
|
|
6
6
|
component_styles_default
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.XKR2A5AP.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass,
|
|
10
10
|
__spreadProps,
|
|
@@ -409,4 +409,4 @@ __decorateClass([
|
|
|
409
409
|
export {
|
|
410
410
|
SynPopup
|
|
411
411
|
};
|
|
412
|
-
//# sourceMappingURL=chunk.
|
|
412
|
+
//# sourceMappingURL=chunk.2SLLQNCI.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// src/components/breadcrumb/breadcrumb.custom.styles.ts
|
|
2
|
+
import { css } from "lit";
|
|
3
|
+
var breadcrumb_custom_styles_default = css`
|
|
4
|
+
/* Write custom CSS here */
|
|
5
|
+
`;
|
|
6
|
+
|
|
7
|
+
export {
|
|
8
|
+
breadcrumb_custom_styles_default
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=chunk.32CYREEV.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/breadcrumb/breadcrumb.custom.styles.ts"],
|
|
4
|
+
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n /* Write custom CSS here */\n`;\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,mCAAQ;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDropdown
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.SPAKHEIY.js";
|
|
4
4
|
|
|
5
5
|
// src/components/dropdown/dropdown.ts
|
|
6
6
|
var dropdown_default = SynDropdown;
|
|
@@ -9,4 +9,4 @@ SynDropdown.define("syn-dropdown");
|
|
|
9
9
|
export {
|
|
10
10
|
dropdown_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.3RAIY6BO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.V3PJL4UY.js";
|
|
4
4
|
|
|
5
5
|
// src/components/select/select.ts
|
|
6
6
|
var select_default = SynSelect;
|
|
@@ -9,4 +9,4 @@ SynSelect.define("syn-select");
|
|
|
9
9
|
export {
|
|
10
10
|
select_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.4SLBZWL7.js.map
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import {
|
|
2
|
+
breadcrumb_item_styles_default
|
|
3
|
+
} from "./chunk.KLDQHER5.js";
|
|
4
|
+
import {
|
|
5
|
+
breadcrumb_item_custom_styles_default
|
|
6
|
+
} from "./chunk.NGIGPLN2.js";
|
|
7
|
+
import {
|
|
8
|
+
HasSlotController
|
|
9
|
+
} from "./chunk.66WXVGAW.js";
|
|
10
|
+
import {
|
|
11
|
+
watch
|
|
12
|
+
} from "./chunk.AVTU2BGE.js";
|
|
13
|
+
import {
|
|
14
|
+
SynergyElement,
|
|
15
|
+
component_styles_default
|
|
16
|
+
} from "./chunk.XKR2A5AP.js";
|
|
17
|
+
import {
|
|
18
|
+
__decorateClass
|
|
19
|
+
} from "./chunk.QNDC5KWA.js";
|
|
20
|
+
|
|
21
|
+
// src/components/breadcrumb-item/breadcrumb-item.component.ts
|
|
22
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
23
|
+
import { html } from "lit";
|
|
24
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
25
|
+
import { property, query, state } from "lit/decorators.js";
|
|
26
|
+
var SynBreadcrumbItem = class extends SynergyElement {
|
|
27
|
+
constructor() {
|
|
28
|
+
super(...arguments);
|
|
29
|
+
this.hasSlotController = new HasSlotController(this, "prefix", "suffix");
|
|
30
|
+
this.renderType = "button";
|
|
31
|
+
this.rel = "noreferrer noopener";
|
|
32
|
+
}
|
|
33
|
+
setRenderType() {
|
|
34
|
+
const hasDropdown = this.defaultSlot.assignedElements({ flatten: true }).filter((i) => i.tagName.toLowerCase() === "syn-dropdown").length > 0;
|
|
35
|
+
this.renderType = this.href ? "link" : hasDropdown ? "drop-down" : "button";
|
|
36
|
+
}
|
|
37
|
+
hrefChanged() {
|
|
38
|
+
this.setRenderType();
|
|
39
|
+
}
|
|
40
|
+
handleSlotChange() {
|
|
41
|
+
this.setRenderType();
|
|
42
|
+
}
|
|
43
|
+
render() {
|
|
44
|
+
return html`
|
|
45
|
+
<div
|
|
46
|
+
part="base"
|
|
47
|
+
class=${classMap({
|
|
48
|
+
"breadcrumb-item": true,
|
|
49
|
+
"breadcrumb-item--has-prefix": this.hasSlotController.test("prefix"),
|
|
50
|
+
"breadcrumb-item--has-suffix": this.hasSlotController.test("suffix")
|
|
51
|
+
})}
|
|
52
|
+
>
|
|
53
|
+
<span part="prefix" class="breadcrumb-item__prefix">
|
|
54
|
+
<slot name="prefix"></slot>
|
|
55
|
+
</span>
|
|
56
|
+
|
|
57
|
+
${this.renderType === "link" ? html`
|
|
58
|
+
<a
|
|
59
|
+
part="label"
|
|
60
|
+
class="breadcrumb-item__label breadcrumb-item__label--link"
|
|
61
|
+
href="${this.href}"
|
|
62
|
+
target="${ifDefined(this.target ? this.target : void 0)}"
|
|
63
|
+
rel=${ifDefined(this.target ? this.rel : void 0)}
|
|
64
|
+
>
|
|
65
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
66
|
+
</a>
|
|
67
|
+
` : ""}
|
|
68
|
+
${this.renderType === "button" ? html`
|
|
69
|
+
<button part="label" type="button" class="breadcrumb-item__label breadcrumb-item__label--button">
|
|
70
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
71
|
+
</button>
|
|
72
|
+
` : ""}
|
|
73
|
+
|
|
74
|
+
${this.renderType === "drop-down" ? html`
|
|
75
|
+
<div part="label" class="breadcrumb-item__label breadcrumb-item__label--drop-down">
|
|
76
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
77
|
+
</div>
|
|
78
|
+
` : ""}
|
|
79
|
+
|
|
80
|
+
<span part="suffix" class="breadcrumb-item__suffix">
|
|
81
|
+
<slot name="suffix"></slot>
|
|
82
|
+
</span>
|
|
83
|
+
|
|
84
|
+
<span part="separator" class="breadcrumb-item__separator" aria-hidden="true">
|
|
85
|
+
<slot name="separator"></slot>
|
|
86
|
+
</span>
|
|
87
|
+
</div>
|
|
88
|
+
`;
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
SynBreadcrumbItem.styles = [component_styles_default, breadcrumb_item_styles_default, breadcrumb_item_custom_styles_default];
|
|
92
|
+
__decorateClass([
|
|
93
|
+
query("slot:not([name])")
|
|
94
|
+
], SynBreadcrumbItem.prototype, "defaultSlot", 2);
|
|
95
|
+
__decorateClass([
|
|
96
|
+
state()
|
|
97
|
+
], SynBreadcrumbItem.prototype, "renderType", 2);
|
|
98
|
+
__decorateClass([
|
|
99
|
+
property()
|
|
100
|
+
], SynBreadcrumbItem.prototype, "href", 2);
|
|
101
|
+
__decorateClass([
|
|
102
|
+
property()
|
|
103
|
+
], SynBreadcrumbItem.prototype, "target", 2);
|
|
104
|
+
__decorateClass([
|
|
105
|
+
property()
|
|
106
|
+
], SynBreadcrumbItem.prototype, "rel", 2);
|
|
107
|
+
__decorateClass([
|
|
108
|
+
watch("href", { waitUntilFirstUpdate: true })
|
|
109
|
+
], SynBreadcrumbItem.prototype, "hrefChanged", 1);
|
|
110
|
+
|
|
111
|
+
export {
|
|
112
|
+
SynBreadcrumbItem
|
|
113
|
+
};
|
|
114
|
+
//# sourceMappingURL=chunk.4VXSAOYR.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/breadcrumb-item/breadcrumb-item.component.ts"],
|
|
4
|
+
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './breadcrumb-item.styles.js';\nimport customStyles from './breadcrumb-item.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n * @documentation https://synergy.style/components/breadcrumb-item\n * @status stable\n * @since 2.0\n *\n * @slot - The breadcrumb item's label.\n * @slot prefix - An optional prefix, usually an icon or icon button.\n * @slot suffix - An optional suffix, usually an icon or icon button.\n * @slot separator - The separator to use for the breadcrumb item. This will only change the separator for this item. If\n * you want to change it for all items in the group, set the separator on `<syn-breadcrumb>` instead.\n *\n * @csspart base - The component's base wrapper.\n * @csspart label - The breadcrumb item's label.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart separator - The container that wraps the separator.\n */\nexport default class SynBreadcrumbItem extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private readonly hasSlotController = new HasSlotController(this, 'prefix', 'suffix');\n\n @query('slot:not([name])') defaultSlot: HTMLSlotElement;\n\n @state() private renderType: 'button' | 'link' | 'drop-down' = 'button';\n\n /**\n * Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\n * internally. When unset, a button will be rendered instead.\n */\n @property() href?: string;\n\n /** Tells the browser where to open the link. Only used when `href` is set. */\n @property() target?: '_blank' | '_parent' | '_self' | '_top';\n\n /** The `rel` attribute to use on the link. Only used when `href` is set. */\n @property() rel = 'noreferrer noopener';\n\n private setRenderType() {\n const hasDropdown =\n this.defaultSlot.assignedElements({ flatten: true }).filter(i => i.tagName.toLowerCase() === 'syn-dropdown')\n .length > 0;\n\n this.renderType = this.href ? 'link' : hasDropdown ? 'drop-down' : 'button';\n }\n\n @watch('href', { waitUntilFirstUpdate: true })\n hrefChanged() {\n this.setRenderType();\n }\n\n handleSlotChange() {\n this.setRenderType();\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n 'breadcrumb-item': true,\n 'breadcrumb-item--has-prefix': this.hasSlotController.test('prefix'),\n 'breadcrumb-item--has-suffix': this.hasSlotController.test('suffix')\n })}\n >\n <span part=\"prefix\" class=\"breadcrumb-item__prefix\">\n <slot name=\"prefix\"></slot>\n </span>\n\n ${this.renderType === 'link'\n ? html`\n <a\n part=\"label\"\n class=\"breadcrumb-item__label breadcrumb-item__label--link\"\n href=\"${this.href!}\"\n target=\"${ifDefined(this.target ? this.target : undefined)}\"\n rel=${ifDefined(this.target ? this.rel : undefined)}\n >\n <slot @slotchange=${this.handleSlotChange}></slot>\n </a>\n `\n : ''}\n ${this.renderType === 'button' ? html`\n <button part=\"label\" type=\"button\" class=\"breadcrumb-item__label breadcrumb-item__label--button\">\n <slot @slotchange=${this.handleSlotChange}></slot>\n </button>\n ` : ''}\n\n ${this.renderType === 'drop-down'\n ? html`\n <div part=\"label\" class=\"breadcrumb-item__label breadcrumb-item__label--drop-down\">\n <slot @slotchange=${this.handleSlotChange}></slot>\n </div>\n `\n : ''}\n\n <span part=\"suffix\" class=\"breadcrumb-item__suffix\">\n <slot name=\"suffix\"></slot>\n </span>\n\n <span part=\"separator\" class=\"breadcrumb-item__separator\" aria-hidden=\"true\">\n <slot name=\"separator\"></slot>\n </span>\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAMA,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,SAAS,UAAU,OAAO,aAAa;AA0BvC,IAAqB,oBAArB,cAA+C,eAAe;AAAA,EAA9D;AAAA;AAGE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,UAAU,QAAQ;AAI1E,SAAQ,aAA8C;AAYnD,eAAM;AAAA;AAAA,EAEV,gBAAgB;AACtB,UAAM,cACJ,KAAK,YAAY,iBAAiB,EAAE,SAAS,KAAK,CAAC,EAAE,OAAO,OAAK,EAAE,QAAQ,YAAY,MAAM,cAAc,EACxG,SAAS;AAEd,SAAK,aAAa,KAAK,OAAO,SAAS,cAAc,cAAc;AAAA,EACrE;AAAA,EAGA,cAAc;AACZ,SAAK,cAAc;AAAA,EACrB;AAAA,EAEA,mBAAmB;AACjB,SAAK,cAAc;AAAA,EACrB;AAAA,EAEA,SAAS;AACP,WAAO;AAAA;AAAA;AAAA,gBAGK,SAAS;AAAA,MACf,mBAAmB;AAAA,MACnB,+BAA+B,KAAK,kBAAkB,KAAK,QAAQ;AAAA,MACnE,+BAA+B,KAAK,kBAAkB,KAAK,QAAQ;AAAA,IACrE,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,UAMA,KAAK,eAAe,SAClB;AAAA;AAAA;AAAA;AAAA,wBAIY,KAAK,IAAK;AAAA,0BACR,UAAU,KAAK,SAAS,KAAK,SAAS,MAAS,CAAC;AAAA,sBACpD,UAAU,KAAK,SAAS,KAAK,MAAM,MAAS,CAAC;AAAA;AAAA,oCAE/B,KAAK,gBAAgB;AAAA;AAAA,gBAG7C,EAAE;AAAA,YACF,KAAK,eAAe,WAAW;AAAA;AAAA,oCAEP,KAAK,gBAAgB;AAAA;AAAA,gBAEzC,EAAE;AAAA;AAAA,YAEN,KAAK,eAAe,cAClB;AAAA;AAAA,sCAEwB,KAAK,gBAAgB;AAAA;AAAA,kBAG7C,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWd;AACF;AAzFqB,kBACZ,SAAyB,CAAC,0BAAiB,gCAAQ,qCAAY;AAI3C;AAAA,EAA1B,MAAM,kBAAkB;AAAA,GALN,kBAKQ;AAEV;AAAA,EAAhB,MAAM;AAAA,GAPY,kBAOF;AAML;AAAA,EAAX,SAAS;AAAA,GAbS,kBAaP;AAGA;AAAA,EAAX,SAAS;AAAA,GAhBS,kBAgBP;AAGA;AAAA,EAAX,SAAS;AAAA,GAnBS,kBAmBP;AAWZ;AAAA,EADC,MAAM,QAAQ,EAAE,sBAAsB,KAAK,CAAC;AAAA,GA7B1B,kBA8BnB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynProgressBar
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UJZBDOJ3.js";
|
|
4
4
|
|
|
5
5
|
// src/components/progress-bar/progress-bar.ts
|
|
6
6
|
var progress_bar_default = SynProgressBar;
|
|
@@ -9,4 +9,4 @@ SynProgressBar.define("syn-progress-bar");
|
|
|
9
9
|
export {
|
|
10
10
|
progress_bar_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.52GYQMTA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButtonGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.QFJ2A5GP.js";
|
|
4
4
|
|
|
5
5
|
// src/components/button-group/button-group.ts
|
|
6
6
|
var button_group_default = SynButtonGroup;
|
|
@@ -9,4 +9,4 @@ SynButtonGroup.define("syn-button-group");
|
|
|
9
9
|
export {
|
|
10
10
|
button_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.5EMA45FL.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynPrioNav
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.OGGIADUN.js";
|
|
4
4
|
|
|
5
5
|
// src/components/prio-nav/prio-nav.ts
|
|
6
6
|
var prio_nav_default = SynPrioNav;
|
|
@@ -9,4 +9,4 @@ SynPrioNav.define("syn-prio-nav");
|
|
|
9
9
|
export {
|
|
10
10
|
prio_nav_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.5Q3DC5P2.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.XKR2A5AP.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -41,4 +41,4 @@ __decorateClass([
|
|
|
41
41
|
export {
|
|
42
42
|
SynDivider
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk.
|
|
44
|
+
//# sourceMappingURL=chunk.5U4H7R65.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk.RIJKFEYZ.js";
|
|
14
14
|
import {
|
|
15
15
|
SynIconButton
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.OWEEGWLX.js";
|
|
17
17
|
import {
|
|
18
18
|
animateTo,
|
|
19
19
|
stopAnimations,
|
|
@@ -23,19 +23,19 @@ import {
|
|
|
23
23
|
getAnimation,
|
|
24
24
|
setDefaultAnimation
|
|
25
25
|
} from "./chunk.QAUTITK3.js";
|
|
26
|
-
import {
|
|
27
|
-
watch
|
|
28
|
-
} from "./chunk.AVTU2BGE.js";
|
|
29
26
|
import {
|
|
30
27
|
HasSlotController
|
|
31
28
|
} from "./chunk.66WXVGAW.js";
|
|
32
29
|
import {
|
|
33
30
|
LocalizeController
|
|
34
31
|
} from "./chunk.GEHO4WRP.js";
|
|
32
|
+
import {
|
|
33
|
+
watch
|
|
34
|
+
} from "./chunk.AVTU2BGE.js";
|
|
35
35
|
import {
|
|
36
36
|
SynergyElement,
|
|
37
37
|
component_styles_default
|
|
38
|
-
} from "./chunk.
|
|
38
|
+
} from "./chunk.XKR2A5AP.js";
|
|
39
39
|
import {
|
|
40
40
|
__decorateClass
|
|
41
41
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -391,4 +391,4 @@ setDefaultAnimation("drawer.overlay.hide", {
|
|
|
391
391
|
export {
|
|
392
392
|
SynDrawer
|
|
393
393
|
};
|
|
394
|
-
//# sourceMappingURL=chunk.
|
|
394
|
+
//# sourceMappingURL=chunk.5V5RLPZU.js.map
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk.KG52EHDB.js";
|
|
4
4
|
import {
|
|
5
5
|
SynDivider
|
|
6
|
-
} from "./chunk.
|
|
7
|
-
import {
|
|
8
|
-
watch
|
|
9
|
-
} from "./chunk.AVTU2BGE.js";
|
|
6
|
+
} from "./chunk.5U4H7R65.js";
|
|
10
7
|
import {
|
|
11
8
|
HasSlotController
|
|
12
9
|
} from "./chunk.66WXVGAW.js";
|
|
10
|
+
import {
|
|
11
|
+
watch
|
|
12
|
+
} from "./chunk.AVTU2BGE.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.XKR2A5AP.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -93,4 +93,4 @@ __decorateClass([
|
|
|
93
93
|
export {
|
|
94
94
|
SynOptgroup
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=chunk.
|
|
96
|
+
//# sourceMappingURL=chunk.6MN7CLQ2.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.XKR2A5AP.js";
|
|
14
14
|
|
|
15
15
|
// src/components/spinner/spinner.component.ts
|
|
16
16
|
import { html } from "lit";
|
|
@@ -33,4 +33,4 @@ SynSpinner.styles = [component_styles_default, spinner_styles_default, spinner_c
|
|
|
33
33
|
export {
|
|
34
34
|
SynSpinner
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk.
|
|
36
|
+
//# sourceMappingURL=chunk.6QON4YFH.js.map
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import {
|
|
2
|
+
breadcrumb_styles_default
|
|
3
|
+
} from "./chunk.Z6T7VV4R.js";
|
|
4
|
+
import {
|
|
5
|
+
SynIcon
|
|
6
|
+
} from "./chunk.YBSQMBDK.js";
|
|
7
|
+
import {
|
|
8
|
+
LocalizeController
|
|
9
|
+
} from "./chunk.GEHO4WRP.js";
|
|
10
|
+
import {
|
|
11
|
+
SynergyElement,
|
|
12
|
+
component_styles_default
|
|
13
|
+
} from "./chunk.XKR2A5AP.js";
|
|
14
|
+
import {
|
|
15
|
+
breadcrumb_custom_styles_default
|
|
16
|
+
} from "./chunk.32CYREEV.js";
|
|
17
|
+
import {
|
|
18
|
+
__decorateClass
|
|
19
|
+
} from "./chunk.QNDC5KWA.js";
|
|
20
|
+
|
|
21
|
+
// src/components/breadcrumb/breadcrumb.component.ts
|
|
22
|
+
import { html } from "lit";
|
|
23
|
+
import { property, query } from "lit/decorators.js";
|
|
24
|
+
var SynBreadcrumb = class extends SynergyElement {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments);
|
|
27
|
+
this.localize = new LocalizeController(this);
|
|
28
|
+
this.separatorDir = this.localize.dir();
|
|
29
|
+
this.label = "";
|
|
30
|
+
}
|
|
31
|
+
// Generates a clone of the separator element to use for each breadcrumb item
|
|
32
|
+
getSeparator() {
|
|
33
|
+
const separator = this.separatorSlot.assignedElements({ flatten: true })[0];
|
|
34
|
+
const clone = separator.cloneNode(true);
|
|
35
|
+
[clone, ...clone.querySelectorAll("[id]")].forEach((el) => el.removeAttribute("id"));
|
|
36
|
+
clone.setAttribute("data-default", "");
|
|
37
|
+
clone.slot = "separator";
|
|
38
|
+
return clone;
|
|
39
|
+
}
|
|
40
|
+
handleSlotChange() {
|
|
41
|
+
const items = [...this.defaultSlot.assignedElements({ flatten: true })].filter(
|
|
42
|
+
(item) => item.tagName.toLowerCase() === "syn-breadcrumb-item"
|
|
43
|
+
);
|
|
44
|
+
items.forEach((item, index) => {
|
|
45
|
+
const separator = item.querySelector('[slot="separator"]');
|
|
46
|
+
if (separator === null) {
|
|
47
|
+
item.append(this.getSeparator());
|
|
48
|
+
} else if (separator.hasAttribute("data-default")) {
|
|
49
|
+
separator.replaceWith(this.getSeparator());
|
|
50
|
+
} else {
|
|
51
|
+
}
|
|
52
|
+
if (index === items.length - 1) {
|
|
53
|
+
item.setAttribute("aria-current", "page");
|
|
54
|
+
} else {
|
|
55
|
+
item.removeAttribute("aria-current");
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
render() {
|
|
60
|
+
if (this.separatorDir !== this.localize.dir()) {
|
|
61
|
+
this.separatorDir = this.localize.dir();
|
|
62
|
+
this.updateComplete.then(() => this.handleSlotChange());
|
|
63
|
+
}
|
|
64
|
+
return html`
|
|
65
|
+
<nav part="base" class="breadcrumb" aria-label=${this.label}>
|
|
66
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
67
|
+
</nav>
|
|
68
|
+
|
|
69
|
+
<span hidden aria-hidden="true">
|
|
70
|
+
<slot name="separator">
|
|
71
|
+
<syn-icon name="chevron-down" library="system" class=${this.localize.dir()}></syn-icon>
|
|
72
|
+
</slot>
|
|
73
|
+
</span>
|
|
74
|
+
`;
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
SynBreadcrumb.styles = [component_styles_default, breadcrumb_styles_default, breadcrumb_custom_styles_default];
|
|
78
|
+
SynBreadcrumb.dependencies = { "syn-icon": SynIcon };
|
|
79
|
+
__decorateClass([
|
|
80
|
+
query("slot")
|
|
81
|
+
], SynBreadcrumb.prototype, "defaultSlot", 2);
|
|
82
|
+
__decorateClass([
|
|
83
|
+
query('slot[name="separator"]')
|
|
84
|
+
], SynBreadcrumb.prototype, "separatorSlot", 2);
|
|
85
|
+
__decorateClass([
|
|
86
|
+
property()
|
|
87
|
+
], SynBreadcrumb.prototype, "label", 2);
|
|
88
|
+
|
|
89
|
+
export {
|
|
90
|
+
SynBreadcrumb
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=chunk.6UHKPGDY.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/breadcrumb/breadcrumb.component.ts"],
|
|
4
|
+
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIcon from '../icon/icon.component.js';\nimport styles from './breadcrumb.styles.js';\nimport customStyles from './breadcrumb.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport type SynBreadcrumbItem from '../breadcrumb-item/breadcrumb-item.js';\n\n/**\n * @summary Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n * @documentation https://synergy.style/components/breadcrumb\n * @status stable\n * @since 2.0\n *\n * @slot - One or more breadcrumb items to display.\n * @slot separator - The separator to use between breadcrumb items. Works best with `<syn-icon>`.\n *\n * @dependency syn-icon\n *\n * @csspart base - The component's base wrapper.\n */\nexport default class SynBreadcrumb extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon': SynIcon };\n\n private readonly localize = new LocalizeController(this);\n private separatorDir = this.localize.dir();\n\n @query('slot') defaultSlot: HTMLSlotElement;\n @query('slot[name=\"separator\"]') separatorSlot: HTMLSlotElement;\n\n /**\n * The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\n * screen readers and other assistive devices to provide more context for users.\n */\n @property() label = '';\n\n // Generates a clone of the separator element to use for each breadcrumb item\n private getSeparator() {\n const separator = this.separatorSlot.assignedElements({ flatten: true })[0] as HTMLElement;\n\n // Clone it, remove ids, and slot it\n const clone = separator.cloneNode(true) as HTMLElement;\n [clone, ...clone.querySelectorAll('[id]')].forEach(el => el.removeAttribute('id'));\n clone.setAttribute('data-default', '');\n clone.slot = 'separator';\n\n return clone;\n }\n\n private handleSlotChange() {\n const items = [...this.defaultSlot.assignedElements({ flatten: true })].filter(\n item => item.tagName.toLowerCase() === 'syn-breadcrumb-item'\n ) as SynBreadcrumbItem[];\n\n items.forEach((item, index) => {\n // Append separators to each item if they don't already have one\n const separator = item.querySelector('[slot=\"separator\"]');\n if (separator === null) {\n // No separator exists, add one\n item.append(this.getSeparator());\n } else if (separator.hasAttribute('data-default')) {\n // A default separator exists, replace it\n separator.replaceWith(this.getSeparator());\n } else {\n // The user provided a custom separator, leave it alone\n }\n\n // The last breadcrumb item is the \"current page\"\n if (index === items.length - 1) {\n item.setAttribute('aria-current', 'page');\n } else {\n item.removeAttribute('aria-current');\n }\n });\n }\n\n render() {\n // We clone the separator and inject them into breadcrumb items, so we need to regenerate the default ones when\n // directionality changes. We do this by storing the current separator direction, waiting for render, then calling\n // the function that regenerates them.\n if (this.separatorDir !== this.localize.dir()) {\n this.separatorDir = this.localize.dir();\n this.updateComplete.then(() => this.handleSlotChange());\n }\n\n return html`\n <nav part=\"base\" class=\"breadcrumb\" aria-label=${this.label}>\n <slot @slotchange=${this.handleSlotChange}></slot>\n </nav>\n\n <span hidden aria-hidden=\"true\">\n <slot name=\"separator\">\n <syn-icon name=\"chevron-down\" library=\"system\" class=${this.localize.dir()}></syn-icon>\n </slot>\n </span>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAMA,SAAS,YAAY;AAErB,SAAS,UAAU,aAAa;AAsBhC,IAAqB,gBAArB,cAA2C,eAAe;AAAA,EAA1D;AAAA;AAIE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AACvD,SAAQ,eAAe,KAAK,SAAS,IAAI;AAS7B,iBAAQ;AAAA;AAAA;AAAA,EAGZ,eAAe;AACrB,UAAM,YAAY,KAAK,cAAc,iBAAiB,EAAE,SAAS,KAAK,CAAC,EAAE,CAAC;AAG1E,UAAM,QAAQ,UAAU,UAAU,IAAI;AACtC,KAAC,OAAO,GAAG,MAAM,iBAAiB,MAAM,CAAC,EAAE,QAAQ,QAAM,GAAG,gBAAgB,IAAI,CAAC;AACjF,UAAM,aAAa,gBAAgB,EAAE;AACrC,UAAM,OAAO;AAEb,WAAO;AAAA,EACT;AAAA,EAEQ,mBAAmB;AACzB,UAAM,QAAQ,CAAC,GAAG,KAAK,YAAY,iBAAiB,EAAE,SAAS,KAAK,CAAC,CAAC,EAAE;AAAA,MACtE,UAAQ,KAAK,QAAQ,YAAY,MAAM;AAAA,IACzC;AAEA,UAAM,QAAQ,CAAC,MAAM,UAAU;AAE7B,YAAM,YAAY,KAAK,cAAc,oBAAoB;AACzD,UAAI,cAAc,MAAM;AAEtB,aAAK,OAAO,KAAK,aAAa,CAAC;AAAA,MACjC,WAAW,UAAU,aAAa,cAAc,GAAG;AAEjD,kBAAU,YAAY,KAAK,aAAa,CAAC;AAAA,MAC3C,OAAO;AAAA,MAEP;AAGA,UAAI,UAAU,MAAM,SAAS,GAAG;AAC9B,aAAK,aAAa,gBAAgB,MAAM;AAAA,MAC1C,OAAO;AACL,aAAK,gBAAgB,cAAc;AAAA,MACrC;AAAA,IACF,CAAC;AAAA,EACH;AAAA,EAEA,SAAS;AAIP,QAAI,KAAK,iBAAiB,KAAK,SAAS,IAAI,GAAG;AAC7C,WAAK,eAAe,KAAK,SAAS,IAAI;AACtC,WAAK,eAAe,KAAK,MAAM,KAAK,iBAAiB,CAAC;AAAA,IACxD;AAEA,WAAO;AAAA,uDAC4C,KAAK,KAAK;AAAA,4BACrC,KAAK,gBAAgB;AAAA;AAAA;AAAA;AAAA;AAAA,iEAKgB,KAAK,SAAS,IAAI,CAAC;AAAA;AAAA;AAAA;AAAA,EAIlF;AACF;AA7EqB,cACZ,SAAyB,CAAC,0BAAiB,2BAAQ,gCAAY;AADnD,cAEZ,eAAe,EAAE,YAAY,QAAQ;AAK7B;AAAA,EAAd,MAAM,MAAM;AAAA,GAPM,cAOJ;AACkB;AAAA,EAAhC,MAAM,wBAAwB;AAAA,GARZ,cAQc;AAMrB;AAAA,EAAX,SAAS;AAAA,GAdS,cAcP;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
} from "./chunk.GVNVZMMM.js";
|
|
4
4
|
import {
|
|
5
5
|
icon_default
|
|
6
|
-
} from "./chunk.
|
|
7
|
-
import {
|
|
8
|
-
watch
|
|
9
|
-
} from "./chunk.AVTU2BGE.js";
|
|
6
|
+
} from "./chunk.MVLYGO2H.js";
|
|
10
7
|
import {
|
|
11
8
|
HasSlotController
|
|
12
9
|
} from "./chunk.66WXVGAW.js";
|
|
13
10
|
import {
|
|
14
11
|
LocalizeController
|
|
15
12
|
} from "./chunk.GEHO4WRP.js";
|
|
13
|
+
import {
|
|
14
|
+
watch
|
|
15
|
+
} from "./chunk.AVTU2BGE.js";
|
|
16
16
|
import {
|
|
17
17
|
SynergyElement,
|
|
18
18
|
component_styles_default
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.XKR2A5AP.js";
|
|
20
20
|
import {
|
|
21
21
|
__decorateClass
|
|
22
22
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -163,4 +163,4 @@ __decorateClass([
|
|
|
163
163
|
export {
|
|
164
164
|
SynHeader
|
|
165
165
|
};
|
|
166
|
-
//# sourceMappingURL=chunk.
|
|
166
|
+
//# sourceMappingURL=chunk.6UZ4C5ZH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadio
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.T34BWWC4.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio/radio.ts
|
|
6
6
|
var radio_default = SynRadio;
|
|
@@ -9,4 +9,4 @@ SynRadio.define("syn-radio");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.7DANOEZZ.js.map
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "./chunk.3FOVDOJX.js";
|
|
7
7
|
import {
|
|
8
8
|
SynDivider
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.5U4H7R65.js";
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.XKR2A5AP.js";
|
|
14
14
|
|
|
15
15
|
// src/components/menu-label/menu-label.component.ts
|
|
16
16
|
import { html } from "lit";
|
|
@@ -32,4 +32,4 @@ SynMenuLabel.dependencies = {
|
|
|
32
32
|
export {
|
|
33
33
|
SynMenuLabel
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=chunk.
|
|
35
|
+
//# sourceMappingURL=chunk.A2X34V34.js.map
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk.BGHK4NQA.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIconButton
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.OWEEGWLX.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
12
|
} from "./chunk.GEHO4WRP.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement,
|
|
15
15
|
component_styles_default
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.XKR2A5AP.js";
|
|
17
17
|
import {
|
|
18
18
|
__decorateClass
|
|
19
19
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -76,4 +76,4 @@ __decorateClass([
|
|
|
76
76
|
export {
|
|
77
77
|
SynTag
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=chunk.
|
|
79
|
+
//# sourceMappingURL=chunk.AF6Q3PJ4.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.YHRXL2XR.js";
|
|
7
7
|
import {
|
|
8
8
|
SynPopup
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.2SLLQNCI.js";
|
|
10
10
|
import {
|
|
11
11
|
animateTo,
|
|
12
12
|
parseDuration,
|
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
getAnimation,
|
|
18
18
|
setDefaultAnimation
|
|
19
19
|
} from "./chunk.QAUTITK3.js";
|
|
20
|
-
import {
|
|
21
|
-
watch
|
|
22
|
-
} from "./chunk.AVTU2BGE.js";
|
|
23
20
|
import {
|
|
24
21
|
LocalizeController
|
|
25
22
|
} from "./chunk.GEHO4WRP.js";
|
|
23
|
+
import {
|
|
24
|
+
watch
|
|
25
|
+
} from "./chunk.AVTU2BGE.js";
|
|
26
26
|
import {
|
|
27
27
|
SynergyElement,
|
|
28
28
|
component_styles_default
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.XKR2A5AP.js";
|
|
30
30
|
import {
|
|
31
31
|
__decorateClass
|
|
32
32
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -270,4 +270,4 @@ setDefaultAnimation("tooltip.hide", {
|
|
|
270
270
|
export {
|
|
271
271
|
SynTooltip
|
|
272
272
|
};
|
|
273
|
-
//# sourceMappingURL=chunk.
|
|
273
|
+
//# sourceMappingURL=chunk.B3I4MF4Y.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynBadge
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.IEMCAILG.js";
|
|
4
4
|
|
|
5
5
|
// src/components/badge/badge.ts
|
|
6
6
|
var badge_default = SynBadge;
|
|
@@ -9,4 +9,4 @@ SynBadge.define("syn-badge");
|
|
|
9
9
|
export {
|
|
10
10
|
badge_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.BY4LQMHJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDivider
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.5U4H7R65.js";
|
|
4
4
|
|
|
5
5
|
// src/components/divider/divider.ts
|
|
6
6
|
var divider_default = SynDivider;
|
|
@@ -9,4 +9,4 @@ SynDivider.define("syn-divider");
|
|
|
9
9
|
export {
|
|
10
10
|
divider_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.C4BFJ64D.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenuLabel
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.A2X34V34.js";
|
|
4
4
|
|
|
5
5
|
// src/components/menu-label/menu-label.ts
|
|
6
6
|
var menu_label_default = SynMenuLabel;
|
|
@@ -9,4 +9,4 @@ SynMenuLabel.define("syn-menu-label");
|
|
|
9
9
|
export {
|
|
10
10
|
menu_label_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.C665PZDC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UAYKB3QP.js";
|
|
4
4
|
|
|
5
5
|
// src/components/button/button.ts
|
|
6
6
|
var button_default = SynButton;
|
|
@@ -9,4 +9,4 @@ SynButton.define("syn-button");
|
|
|
9
9
|
export {
|
|
10
10
|
button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.DD3FPXAX.js.map
|