@swisspost/internet-header 10.4.0 → 10.6.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/dist/cjs/{breakpoints-CI0Xuh1L.js → breakpoints-Kruvy8Dm.js} +11 -10
- package/dist/cjs/{event-from-CwMw19f8.js → event-from-CTcQxB9-.js} +19 -13
- package/dist/cjs/index-B5ypPkK3.js +4 -4
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-HZ6bBKwJ.js → package-D7UYFbVU.js} +1 -1
- package/dist/cjs/{package-CL8OSAS4.js → package-pKyFPwiA.js} +1 -1
- package/dist/cjs/post-accordion_4.cjs.entry.js +5 -5
- package/dist/cjs/post-autocomplete.cjs.entry.js +65 -50
- package/dist/cjs/post-avatar.cjs.entry.js +1 -1
- package/dist/cjs/post-back-to-top.cjs.entry.js +20 -8
- package/dist/cjs/post-banner.cjs.entry.js +2 -9
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +35 -5
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +215 -65
- package/dist/cjs/post-closebutton.cjs.entry.js +46 -8
- package/dist/cjs/post-date-picker.cjs.entry.js +13 -11
- package/dist/cjs/post-footer.cjs.entry.js +4 -5
- package/dist/cjs/post-header.cjs.entry.js +5 -5
- package/dist/cjs/post-icon.cjs.entry.js +2 -2
- package/dist/cjs/post-language-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/post-language-menu.cjs.entry.js +3 -3
- package/dist/cjs/post-linkarea.cjs.entry.js +2 -2
- package/dist/cjs/post-listbox-option.cjs.entry.js +3 -3
- package/dist/cjs/post-listbox.cjs.entry.js +4 -4
- package/dist/cjs/post-logo.cjs.entry.js +2 -2
- package/dist/cjs/post-mainnavigation.cjs.entry.js +2 -2
- package/dist/cjs/post-megadropdown-trigger.cjs.entry.js +3 -3
- package/dist/cjs/post-megadropdown.cjs.entry.js +5 -6
- package/dist/cjs/post-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/post-menu_2.cjs.entry.js +25 -10
- package/dist/cjs/post-number-input.cjs.entry.js +3 -3
- package/dist/cjs/post-pagination.cjs.entry.js +1 -1
- package/dist/cjs/post-popover-trigger.cjs.entry.js +4 -4
- package/dist/cjs/post-popover.cjs.entry.js +5 -5
- package/dist/cjs/post-popovercontainer.cjs.entry.js +341 -196
- package/dist/cjs/post-progressbar.cjs.entry.js +1 -1
- package/dist/cjs/post-rating.cjs.entry.js +2 -2
- package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +3 -3
- package/dist/cjs/post-side-navigation.cjs.entry.js +4 -5
- package/dist/cjs/post-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/post-stepper.cjs.entry.js +2 -2
- package/dist/cjs/post-tab-item.cjs.entry.js +2 -2
- package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/post-tabs.cjs.entry.js +4 -4
- package/dist/cjs/post-togglebutton.cjs.entry.js +2 -2
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +3 -3
- package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/swisspost-internet-footer.cjs.entry.js +3 -11
- package/dist/cjs/swisspost-internet-header.cjs.entry.js +51 -69
- package/dist/cjs/swisspost-internet-header.cjs.js +1 -1
- package/dist/collection/components/post-internet-footer/post-internet-footer.js +2 -10
- package/dist/collection/components/post-internet-header/post-internet-header.js +16 -66
- package/dist/collection/config/klp-urls.js +33 -0
- package/dist/collection/services/config.service.js +1 -2
- package/dist/collection/tests/setup-tests.js +1 -0
- package/dist/components/breakpoints.js +1 -1
- package/dist/components/event-from.js +1 -1
- package/dist/components/package.js +1 -1
- package/dist/components/package2.js +1 -1
- package/dist/components/post-autocomplete.js +1 -1
- package/dist/components/post-back-to-top.js +1 -1
- package/dist/components/post-banner.js +1 -1
- package/dist/components/post-breadcrumb-item.js +1 -1
- package/dist/components/post-breadcrumbs.js +1 -1
- package/dist/components/post-closebutton2.js +1 -1
- package/dist/components/post-collapsible-trigger2.js +1 -1
- package/dist/components/post-collapsible2.js +1 -1
- package/dist/components/post-date-picker.js +1 -1
- package/dist/components/post-footer2.js +1 -1
- package/dist/components/post-header2.js +1 -1
- package/dist/components/post-icon2.js +1 -1
- package/dist/components/post-linkarea.js +1 -1
- package/dist/components/post-listbox-option.js +1 -1
- package/dist/components/post-listbox.js +1 -1
- package/dist/components/post-logo2.js +1 -1
- package/dist/components/post-mainnavigation2.js +1 -1
- package/dist/components/post-megadropdown-trigger.js +1 -1
- package/dist/components/post-megadropdown.js +1 -1
- package/dist/components/post-menu-item2.js +1 -1
- package/dist/components/post-menu-trigger2.js +1 -1
- package/dist/components/post-menu2.js +1 -1
- package/dist/components/post-number-input.js +1 -1
- package/dist/components/post-popover-trigger.js +1 -1
- package/dist/components/post-popover.js +1 -1
- package/dist/components/post-popovercontainer2.js +1 -1
- package/dist/components/post-progressbar.js +1 -1
- package/dist/components/post-rating.js +1 -1
- package/dist/components/post-side-navigation-trigger.js +1 -1
- package/dist/components/post-side-navigation.js +1 -1
- package/dist/components/post-stepper-item.js +1 -1
- package/dist/components/post-stepper.js +1 -1
- package/dist/components/post-tab-item.js +1 -1
- package/dist/components/post-tab-panel.js +1 -1
- package/dist/components/post-tabs.js +1 -1
- package/dist/components/post-togglebutton2.js +1 -1
- package/dist/components/post-tooltip-trigger.js +1 -1
- package/dist/components/post-tooltip.js +1 -1
- package/dist/components/swisspost-internet-footer.js +1 -1
- package/dist/components/swisspost-internet-header.js +1 -1
- package/dist/docs.json +1 -1
- package/dist/esm/{breakpoints-C3jWktf-.js → breakpoints-I1j7a0bW.js} +11 -10
- package/dist/esm/{event-from-rEfV4v4a.js → event-from-BEcxHjuM.js} +19 -14
- package/dist/esm/index-h3opCZqH.js +4 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-B4lS4y6E.js → package-Dy8-dzD8.js} +1 -1
- package/dist/esm/{package-tTf1w3A9.js → package-T8T3po4z.js} +1 -1
- package/dist/esm/post-accordion_4.entry.js +5 -5
- package/dist/esm/post-autocomplete.entry.js +65 -50
- package/dist/esm/post-avatar.entry.js +1 -1
- package/dist/esm/post-back-to-top.entry.js +20 -8
- package/dist/esm/post-banner.entry.js +2 -9
- package/dist/esm/post-breadcrumb-item.entry.js +35 -5
- package/dist/esm/post-breadcrumbs.entry.js +215 -65
- package/dist/esm/post-closebutton.entry.js +46 -8
- package/dist/esm/post-date-picker.entry.js +13 -11
- package/dist/esm/post-footer.entry.js +4 -5
- package/dist/esm/post-header.entry.js +5 -5
- package/dist/esm/post-icon.entry.js +2 -2
- package/dist/esm/post-language-menu-item.entry.js +1 -1
- package/dist/esm/post-language-menu.entry.js +3 -3
- package/dist/esm/post-linkarea.entry.js +2 -2
- package/dist/esm/post-listbox-option.entry.js +3 -3
- package/dist/esm/post-listbox.entry.js +4 -4
- package/dist/esm/post-logo.entry.js +2 -2
- package/dist/esm/post-mainnavigation.entry.js +2 -2
- package/dist/esm/post-megadropdown-trigger.entry.js +3 -3
- package/dist/esm/post-megadropdown.entry.js +5 -6
- package/dist/esm/post-menu-item.entry.js +2 -2
- package/dist/esm/post-menu_2.entry.js +25 -10
- package/dist/esm/post-number-input.entry.js +3 -3
- package/dist/esm/post-pagination.entry.js +1 -1
- package/dist/esm/post-popover-trigger.entry.js +4 -4
- package/dist/esm/post-popover.entry.js +5 -5
- package/dist/esm/post-popovercontainer.entry.js +341 -196
- package/dist/esm/post-progressbar.entry.js +1 -1
- package/dist/esm/post-rating.entry.js +2 -2
- package/dist/esm/post-side-navigation-trigger.entry.js +3 -3
- package/dist/esm/post-side-navigation.entry.js +4 -5
- package/dist/esm/post-stepper-item.entry.js +2 -2
- package/dist/esm/post-stepper.entry.js +2 -2
- package/dist/esm/post-tab-item.entry.js +2 -2
- package/dist/esm/post-tab-panel.entry.js +2 -2
- package/dist/esm/post-tabs.entry.js +4 -4
- package/dist/esm/post-togglebutton.entry.js +2 -2
- package/dist/esm/post-tooltip-trigger.entry.js +3 -3
- package/dist/esm/post-tooltip.entry.js +2 -2
- package/dist/esm/swisspost-internet-footer.entry.js +3 -11
- package/dist/esm/swisspost-internet-header.entry.js +51 -69
- package/dist/esm/swisspost-internet-header.js +1 -1
- package/dist/esm-es5/breakpoints-I1j7a0bW.js +1 -0
- package/dist/esm-es5/event-from-BEcxHjuM.js +1 -0
- package/dist/esm-es5/index-h3opCZqH.js +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{package-B4lS4y6E.js → package-Dy8-dzD8.js} +1 -1
- package/dist/esm-es5/package-T8T3po4z.js +1 -0
- package/dist/esm-es5/post-accordion_4.entry.js +1 -1
- package/dist/esm-es5/post-autocomplete.entry.js +1 -1
- package/dist/esm-es5/post-avatar.entry.js +1 -1
- package/dist/esm-es5/post-back-to-top.entry.js +1 -1
- package/dist/esm-es5/post-banner.entry.js +1 -1
- package/dist/esm-es5/post-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/post-breadcrumbs.entry.js +1 -1
- package/dist/esm-es5/post-closebutton.entry.js +1 -1
- package/dist/esm-es5/post-date-picker.entry.js +1 -1
- package/dist/esm-es5/post-footer.entry.js +1 -1
- package/dist/esm-es5/post-header.entry.js +1 -1
- package/dist/esm-es5/post-icon.entry.js +1 -1
- package/dist/esm-es5/post-language-menu-item.entry.js +1 -1
- package/dist/esm-es5/post-language-menu.entry.js +1 -1
- package/dist/esm-es5/post-linkarea.entry.js +1 -1
- package/dist/esm-es5/post-listbox-option.entry.js +1 -1
- package/dist/esm-es5/post-listbox.entry.js +1 -1
- package/dist/esm-es5/post-logo.entry.js +1 -1
- package/dist/esm-es5/post-mainnavigation.entry.js +1 -1
- package/dist/esm-es5/post-megadropdown-trigger.entry.js +1 -1
- package/dist/esm-es5/post-megadropdown.entry.js +1 -1
- package/dist/esm-es5/post-menu-item.entry.js +1 -1
- package/dist/esm-es5/post-menu_2.entry.js +1 -1
- package/dist/esm-es5/post-number-input.entry.js +1 -1
- package/dist/esm-es5/post-pagination.entry.js +1 -1
- package/dist/esm-es5/post-popover-trigger.entry.js +1 -1
- package/dist/esm-es5/post-popover.entry.js +1 -1
- package/dist/esm-es5/post-popovercontainer.entry.js +1 -1
- package/dist/esm-es5/post-progressbar.entry.js +1 -1
- package/dist/esm-es5/post-rating.entry.js +1 -1
- package/dist/esm-es5/post-side-navigation-trigger.entry.js +1 -1
- package/dist/esm-es5/post-side-navigation.entry.js +1 -1
- package/dist/esm-es5/post-stepper-item.entry.js +1 -1
- package/dist/esm-es5/post-stepper.entry.js +1 -1
- package/dist/esm-es5/post-tab-item.entry.js +1 -1
- package/dist/esm-es5/post-tab-panel.entry.js +1 -1
- package/dist/esm-es5/post-tabs.entry.js +1 -1
- package/dist/esm-es5/post-togglebutton.entry.js +1 -1
- package/dist/esm-es5/post-tooltip-trigger.entry.js +1 -1
- package/dist/esm-es5/post-tooltip.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-footer.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.js +1 -1
- package/dist/swisspost-internet-header/index.esm.js +1 -1
- package/dist/swisspost-internet-header/{p-80993537.system.entry.js → p-000978a2.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-31f0de1e.entry.js → p-03587cd5.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-09d4521f.entry.js → p-068b1e2b.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-087b1e22.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-bc470741.entry.js → p-089412b9.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-f523050e.entry.js → p-094ef16a.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-ab97669b.system.entry.js → p-0c651391.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-0d4d5c56.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-bf2996de.system.entry.js → p-0f501e99.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-1502d221.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-d7e470ff.system.entry.js → p-155f5b00.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-161b1a45.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-16623b05.entry.js +1 -0
- package/dist/swisspost-internet-header/p-1780039a.entry.js +1 -0
- package/dist/swisspost-internet-header/p-1a18ac48.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-06de7983.entry.js → p-1b2b7af5.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-2196012d.entry.js +1 -0
- package/dist/swisspost-internet-header/p-2197ca9e.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-21e537be.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-25407470.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-79512699.entry.js → p-255b2067.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-2b0f93fb.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-c1e959fb.entry.js → p-2da6fba5.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-2e8c0f26.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-f7a9a615.system.entry.js → p-31af5cf2.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-35b6e07c.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-8e61f407.system.entry.js → p-39af32a0.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-3d38ab21.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-25a5281d.entry.js → p-3ff138ba.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-42806d60.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-658dd74d.entry.js → p-4557a744.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-4562d9d8.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-17a3d14a.system.entry.js → p-4bdbf9e9.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-53c33e94.entry.js +1 -0
- package/dist/swisspost-internet-header/p-5443664a.entry.js +1 -0
- package/dist/swisspost-internet-header/p-547d9572.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-52e305d7.system.entry.js → p-57f1f9e2.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-be97ff93.system.entry.js → p-586ee1e8.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-80cb2bdb.entry.js → p-599e94e7.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-f2ed3863.entry.js → p-613fa3a4.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-651b9efe.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-120a2867.entry.js → p-6d6fb84b.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-6f187e15.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-a9c5178f.system.entry.js → p-6f79a60d.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-1f30f235.system.entry.js → p-72377b16.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-0da236b6.system.entry.js → p-7ad0de4b.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-429f04bc.system.entry.js → p-81f34993.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-e3515572.entry.js → p-826d0669.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-de258c90.system.entry.js → p-84ebaf4b.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-8717e0ce.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-8f21a530.entry.js +1 -0
- package/dist/swisspost-internet-header/p-98d2dfb3.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-9b6c8533.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-756574fd.entry.js → p-9c5941a2.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-B4kfqOjJ.js → p-B-DGLCj0.js} +1 -1
- package/dist/swisspost-internet-header/p-BEcxHjuM.js +1 -0
- package/dist/swisspost-internet-header/p-BT1GO8tc.system.js +1 -0
- package/dist/swisspost-internet-header/{p-BhneAPKT.system.js → p-COm5Sc71.system.js} +1 -1
- package/dist/swisspost-internet-header/p-D1A3ltXC.system.js +1 -0
- package/dist/swisspost-internet-header/{p-CHYNOqn0.system.js → p-D_rLPX5e.system.js} +1 -1
- package/dist/swisspost-internet-header/p-I1j7a0bW.js +1 -0
- package/dist/swisspost-internet-header/p-R5BnOD0U.system.js +1 -1
- package/dist/swisspost-internet-header/p-T8T3po4z.js +1 -0
- package/dist/swisspost-internet-header/p-a435a51d.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-9b4f74a6.system.entry.js → p-a46ef8a8.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-a75d1e4f.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-db9eae5a.system.entry.js → p-a8b0c0ec.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-abe2eefe.entry.js +1 -0
- package/dist/swisspost-internet-header/p-b344fa82.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-4876e706.system.entry.js → p-b4de053e.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-b85fabc2.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-bb4c3ac1.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-36be5234.entry.js → p-bfc4a6a9.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-2501eb09.entry.js → p-c1e818d2.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-3c228ed0.system.entry.js → p-c96dbc97.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-9e57bd5a.entry.js → p-ca68b8cf.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-caed751e.entry.js +1 -0
- package/dist/swisspost-internet-header/p-cb52e42c.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-1801d35d.system.entry.js → p-cec19e1d.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-d45690b3.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-bda3094c.entry.js → p-d68a1179.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-0de83906.entry.js → p-d7c2cce3.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-2b04e974.system.entry.js → p-d7df13be.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-e5ebe099.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-e69e8fa4.entry.js +1 -0
- package/dist/swisspost-internet-header/p-e6ec5fa5.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-90e78f26.system.entry.js → p-ede58236.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-a204bb79.system.entry.js → p-f3e68437.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-f4489f68.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-7c53064b.entry.js → p-f4ce6247.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-f783b224.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-fe440b79.entry.js → p-fcfd3134.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-fdbcf065.entry.js +1 -0
- package/dist/swisspost-internet-header/p-iSGRM5O1.system.js +1 -0
- package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
- package/dist/types/config/klp-urls.d.ts +23 -0
- package/package.json +20 -23
- package/readme.md +2 -2
- package/dist/esm-es5/breakpoints-C3jWktf-.js +0 -1
- package/dist/esm-es5/event-from-rEfV4v4a.js +0 -1
- package/dist/esm-es5/package-tTf1w3A9.js +0 -1
- package/dist/swisspost-internet-header/p-16182f34.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-1a39c0c7.entry.js +0 -1
- package/dist/swisspost-internet-header/p-1aeb1d6c.entry.js +0 -1
- package/dist/swisspost-internet-header/p-1ec41382.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-1fe8276f.entry.js +0 -1
- package/dist/swisspost-internet-header/p-2738143c.entry.js +0 -1
- package/dist/swisspost-internet-header/p-2990978f.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-2ec721b4.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-3373f238.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-34259104.entry.js +0 -1
- package/dist/swisspost-internet-header/p-3c917e9d.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-42394464.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-48cace4d.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-4b44ce5f.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-4d3939eb.entry.js +0 -1
- package/dist/swisspost-internet-header/p-5efffa89.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-65cfb55b.entry.js +0 -1
- package/dist/swisspost-internet-header/p-7a66d431.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-7baa1968.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-805ee472.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-83410f32.entry.js +0 -1
- package/dist/swisspost-internet-header/p-85087a43.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-8b9c9fda.entry.js +0 -1
- package/dist/swisspost-internet-header/p-925c8906.entry.js +0 -1
- package/dist/swisspost-internet-header/p-92e0402a.entry.js +0 -1
- package/dist/swisspost-internet-header/p-999af688.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-C1pxTt7y.system.js +0 -1
- package/dist/swisspost-internet-header/p-CGtndO2e.system.js +0 -1
- package/dist/swisspost-internet-header/p-Ck6UMUSA.js +0 -1
- package/dist/swisspost-internet-header/p-D8meK6Dd.system.js +0 -1
- package/dist/swisspost-internet-header/p-acabba28.entry.js +0 -1
- package/dist/swisspost-internet-header/p-aefc1c4c.entry.js +0 -1
- package/dist/swisspost-internet-header/p-b05dd248.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-b8bb2c10.entry.js +0 -1
- package/dist/swisspost-internet-header/p-c546bebe.entry.js +0 -1
- package/dist/swisspost-internet-header/p-ca9c885e.entry.js +0 -1
- package/dist/swisspost-internet-header/p-e26d9136.entry.js +0 -1
- package/dist/swisspost-internet-header/p-e9582f72.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-ec06df2f.entry.js +0 -1
- package/dist/swisspost-internet-header/p-ec43767f.entry.js +0 -1
- package/dist/swisspost-internet-header/p-ec45ed63.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-ecb554c7.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-f32d49d7.entry.js +0 -1
- package/dist/swisspost-internet-header/p-f56fe63d.entry.js +0 -1
- package/dist/swisspost-internet-header/p-fe9ac5ca.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-rEfV4v4a.js +0 -1
- package/dist/swisspost-internet-header/p-tTf1w3A9.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-h3opCZqH.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-T8T3po4z.js';
|
|
3
3
|
import { d as debounce } from './debounce-C9hMpmsD.js';
|
|
4
4
|
import { R as Required } from './required-tHxh_hWW.js';
|
|
5
5
|
import { T as Type } from './type-Daxpt5v6.js';
|
|
@@ -28,37 +28,24 @@ const PostAutocomplete = class {
|
|
|
28
28
|
this.filterThreshold = 0;
|
|
29
29
|
/** Show or hide the clear button */
|
|
30
30
|
this.clearable = false;
|
|
31
|
-
|
|
32
|
-
this.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
/** Whether the listbox is currently expanded */
|
|
32
|
+
this.expanded = false;
|
|
33
|
+
/** The value of the last run query */
|
|
34
|
+
this.lastQuery = '';
|
|
35
|
+
/** The value of the selected listbox option */
|
|
36
|
+
this.selectedValue = null;
|
|
37
|
+
this.handleClick = async () => {
|
|
38
|
+
await this.runQuery('', true);
|
|
38
39
|
};
|
|
39
|
-
this.
|
|
40
|
-
this.
|
|
41
|
-
this.listBoxElement.filter('');
|
|
40
|
+
this.handleBlur = () => {
|
|
41
|
+
this.restoreSelectedValue();
|
|
42
42
|
this.hideListBox();
|
|
43
43
|
};
|
|
44
44
|
this.handleInput = async (event) => {
|
|
45
45
|
if (!this.listBoxElement)
|
|
46
46
|
return;
|
|
47
47
|
const value = event.target.value.trim();
|
|
48
|
-
|
|
49
|
-
// Allow for consuming parent to handle filtering (e.g. for async data) and prevent default filtering behavior
|
|
50
|
-
const { defaultPrevented } = this.postFilteringEvent.emit(query && query.length >= this.filterThreshold ? query : '');
|
|
51
|
-
if (defaultPrevented)
|
|
52
|
-
return;
|
|
53
|
-
await this.listBoxElement.filter(query);
|
|
54
|
-
if (query) {
|
|
55
|
-
this.showListBox();
|
|
56
|
-
this.announceCount();
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
this.inputValue = '';
|
|
60
|
-
this.clearAnnouncement();
|
|
61
|
-
}
|
|
48
|
+
await this.runQuery(value.length >= this.filterThreshold ? value : '');
|
|
62
49
|
};
|
|
63
50
|
this.handleKeyDown = (event) => {
|
|
64
51
|
const { key, altKey } = event;
|
|
@@ -100,8 +87,7 @@ const PostAutocomplete = class {
|
|
|
100
87
|
};
|
|
101
88
|
this.handleOptionSelected = (e) => {
|
|
102
89
|
const value = e.detail;
|
|
103
|
-
this.
|
|
104
|
-
this.inputValue = value;
|
|
90
|
+
this.updateSelectedValue(value);
|
|
105
91
|
this.hideListBox();
|
|
106
92
|
};
|
|
107
93
|
this.handleOptionActive = (e) => {
|
|
@@ -113,23 +99,9 @@ const PostAutocomplete = class {
|
|
|
113
99
|
this.inputElement.removeAttribute('aria-activedescendant');
|
|
114
100
|
}
|
|
115
101
|
};
|
|
116
|
-
this.
|
|
117
|
-
this.clearAnnouncement();
|
|
118
|
-
this.listBoxElement.hide();
|
|
119
|
-
this.inputElement.ariaExpanded = 'false';
|
|
120
|
-
this.host.removeAttribute('open');
|
|
121
|
-
this.inputElement.removeAttribute('aria-activedescendant');
|
|
122
|
-
};
|
|
123
|
-
this.showListBox = async () => {
|
|
124
|
-
await this.listBoxElement.show();
|
|
125
|
-
this.inputElement.ariaExpanded = 'true';
|
|
126
|
-
this.host.setAttribute('open', '');
|
|
127
|
-
this.announceCount();
|
|
128
|
-
};
|
|
129
|
-
this.clearInput = () => {
|
|
102
|
+
this.handleClear = () => {
|
|
130
103
|
if (this.inputElement) {
|
|
131
|
-
this.
|
|
132
|
-
this.inputValue = '';
|
|
104
|
+
this.updateSelectedValue(null);
|
|
133
105
|
this.listBoxElement.clearSelection();
|
|
134
106
|
this.hideListBox();
|
|
135
107
|
}
|
|
@@ -176,18 +148,16 @@ const PostAutocomplete = class {
|
|
|
176
148
|
if (this.inputElement) {
|
|
177
149
|
this.inputElement.addEventListener('input', this.debouncedHandleInput);
|
|
178
150
|
this.inputElement.addEventListener('keydown', this.handleKeyDown);
|
|
179
|
-
this.inputElement.addEventListener('blur', this.
|
|
180
|
-
this.inputElement.addEventListener('click', this.
|
|
181
|
-
this.inputElement.addEventListener('focus', this.handleFocus);
|
|
151
|
+
this.inputElement.addEventListener('blur', this.handleBlur);
|
|
152
|
+
this.inputElement.addEventListener('click', this.handleClick);
|
|
182
153
|
}
|
|
183
154
|
}
|
|
184
155
|
detachInputListeners() {
|
|
185
156
|
if (this.inputElement) {
|
|
186
157
|
this.inputElement.removeEventListener('input', this.debouncedHandleInput);
|
|
187
158
|
this.inputElement.removeEventListener('keydown', this.handleKeyDown);
|
|
188
|
-
this.inputElement.removeEventListener('blur', this.
|
|
189
|
-
this.inputElement.removeEventListener('click', this.
|
|
190
|
-
this.inputElement.removeEventListener('focus', this.handleFocus);
|
|
159
|
+
this.inputElement.removeEventListener('blur', this.handleBlur);
|
|
160
|
+
this.inputElement.removeEventListener('click', this.handleClick);
|
|
191
161
|
}
|
|
192
162
|
}
|
|
193
163
|
attachListboxListeners() {
|
|
@@ -212,8 +182,53 @@ const PostAutocomplete = class {
|
|
|
212
182
|
const count = this.listBoxElement.querySelectorAll('post-listbox-option:not([hidden])').length;
|
|
213
183
|
this.outputElement.textContent = this.textAvailableSuggestions.replace('{count}', String(count));
|
|
214
184
|
}
|
|
185
|
+
async showListBox() {
|
|
186
|
+
await this.listBoxElement.show();
|
|
187
|
+
this.expanded = true;
|
|
188
|
+
this.inputElement.ariaExpanded = 'true';
|
|
189
|
+
this.host.setAttribute('open', '');
|
|
190
|
+
this.announceCount();
|
|
191
|
+
}
|
|
192
|
+
async hideListBox() {
|
|
193
|
+
this.clearAnnouncement();
|
|
194
|
+
this.expanded = false;
|
|
195
|
+
this.host.removeAttribute('open');
|
|
196
|
+
this.inputElement.ariaExpanded = 'false';
|
|
197
|
+
this.inputElement.removeAttribute('aria-activedescendant');
|
|
198
|
+
await this.listBoxElement.hide();
|
|
199
|
+
}
|
|
200
|
+
updateSelectedValue(value) {
|
|
201
|
+
this.selectedValue = value;
|
|
202
|
+
this.inputElement.value = this.selectedValue ?? '';
|
|
203
|
+
}
|
|
204
|
+
/** Restores the input to the value of the selected option. */
|
|
205
|
+
restoreSelectedValue() {
|
|
206
|
+
this.inputElement.value = this.selectedValue ?? '';
|
|
207
|
+
}
|
|
208
|
+
/** Runs a query, filtering the listbox options and reflecting the outcome. */
|
|
209
|
+
async runQuery(query, alwaysExpand = false) {
|
|
210
|
+
// Prevent running the same query twice.
|
|
211
|
+
if (this.lastQuery !== (this.lastQuery = query)) {
|
|
212
|
+
await this.filterListBox(query);
|
|
213
|
+
}
|
|
214
|
+
// Always update the count if the listbox is expanded.
|
|
215
|
+
if (this.expanded) {
|
|
216
|
+
this.announceCount();
|
|
217
|
+
}
|
|
218
|
+
// Automatically show the listbox if the query is non-empty.
|
|
219
|
+
else if (alwaysExpand || query) {
|
|
220
|
+
await this.showListBox();
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
/** Filters the listbox options based on the query, delegating to the consuming parent when possible. */
|
|
224
|
+
async filterListBox(query) {
|
|
225
|
+
// Allow for consuming parent to handle filtering (e.g. for async data) and prevent default filtering behavior.
|
|
226
|
+
if (this.postFilteringEvent.emit(query).defaultPrevented)
|
|
227
|
+
return;
|
|
228
|
+
await this.listBoxElement?.filter(query);
|
|
229
|
+
}
|
|
215
230
|
render() {
|
|
216
|
-
return (h(Host, { key: '
|
|
231
|
+
return (h(Host, { key: '8b386930fe5484cd73395224b5f0c5daea867b33', "data-version": version }, h("slot", { key: '9aa5a34de2cf18c3d6342069fc2b4ce52baac0d3' }), this.clearable && this.selectedValue !== null && (h("button", { key: '90b459fffc29066667ca4656b6871275d061d3fd', type: "button", class: "autocomplete-clear", onClick: this.handleClear }, h("post-icon", { key: '419de2b608f1638b14aed086f8e2c6064ae634bc', "aria-hidden": "true", name: "closex" }))), h("post-icon", { key: '56b7dd986023a0e46d902020b923ae525c88bef1', "aria-hidden": "true", class: "autocomplete-icon", name: "chevronDown" }), h("output", { key: '6ef02d0baf03c7f562ba6d5c95918e4a7ae1214f', class: "visually-hidden", ref: el => (this.outputElement = el) })));
|
|
217
232
|
}
|
|
218
233
|
get host() { return getElement(this); }
|
|
219
234
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-h3opCZqH.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-T8T3po4z.js';
|
|
3
3
|
import { P as Pattern } from './pattern-Der2DK75.js';
|
|
4
4
|
import { R as Required } from './required-tHxh_hWW.js';
|
|
5
5
|
import { T as Type } from './type-Daxpt5v6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-h3opCZqH.js';
|
|
2
2
|
import { f as fadeSlide } from './fade-slide-CvOvauo9.js';
|
|
3
|
-
import { v as version } from './package-
|
|
3
|
+
import { v as version } from './package-T8T3po4z.js';
|
|
4
4
|
import { R as Required } from './required-tHxh_hWW.js';
|
|
5
5
|
import { T as Type } from './type-Daxpt5v6.js';
|
|
6
6
|
import './utils-CoDiS_Ik.js';
|
|
@@ -30,12 +30,23 @@ const PostBackToTop = class {
|
|
|
30
30
|
return window.scrollY > window.innerHeight;
|
|
31
31
|
}
|
|
32
32
|
/*Watch for changes in belowFold to show/hide the back to top button*/
|
|
33
|
-
watchBelowFold(newValue) {
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
async watchBelowFold(newValue) {
|
|
34
|
+
this.currentAnimation?.cancel();
|
|
35
|
+
// host needs to be visible before we can animate, in or out
|
|
36
|
+
// hidden state gets recalculated after the animation, based on belowFold
|
|
37
|
+
this.host.hidden = false;
|
|
38
|
+
this.currentAnimation = fadeSlide(this.host, newValue ? 'in' : 'out', {
|
|
39
|
+
translate: this.translateY,
|
|
40
|
+
fill: 'forwards',
|
|
41
|
+
});
|
|
42
|
+
try {
|
|
43
|
+
await this.currentAnimation.finished;
|
|
44
|
+
// only hide once the fade-out finished and we're still not below fold
|
|
45
|
+
if (!this.belowFold)
|
|
46
|
+
this.host.hidden = true;
|
|
36
47
|
}
|
|
37
|
-
|
|
38
|
-
|
|
48
|
+
catch {
|
|
49
|
+
// animation got canceled, nothing to do
|
|
39
50
|
}
|
|
40
51
|
}
|
|
41
52
|
scrollToTop() {
|
|
@@ -77,16 +88,17 @@ const PostBackToTop = class {
|
|
|
77
88
|
// Set the initial state
|
|
78
89
|
componentWillLoad() {
|
|
79
90
|
this.belowFold = this.isBelowFold();
|
|
91
|
+
this.host.hidden = !this.belowFold;
|
|
80
92
|
}
|
|
81
93
|
componentDidLoad() {
|
|
82
|
-
window.addEventListener('scroll', this.handleScroll,
|
|
94
|
+
window.addEventListener('scroll', this.handleScroll, { passive: true });
|
|
83
95
|
this.animateButton();
|
|
84
96
|
}
|
|
85
97
|
disconnectedCallback() {
|
|
86
98
|
window.removeEventListener('scroll', this.handleScroll);
|
|
87
99
|
}
|
|
88
100
|
render() {
|
|
89
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: '149a8afee36c12130b3e503c4da5cffdaa3f86b5', "data-version": version }, h("button", { key: '4e291c5cfaa55bb6a68f436af570d83377436a3a', class: "back-to-top", onClick: this.scrollToTop }, h("post-icon", { key: 'c25e8d12cf6f751b368010ad2d82534fa95adf86', "aria-hidden": "true", name: "arrowup" }), h("span", { key: 'e16d1247a5ab7e39629e4bec7307ee562c589f7e', class: "visually-hidden" }, this.textBackToTop))));
|
|
90
102
|
}
|
|
91
103
|
get host() { return getElement(this); }
|
|
92
104
|
static get watchers() { return {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-h3opCZqH.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-T8T3po4z.js';
|
|
3
3
|
import { f as fade } from './fade-DsgPYmAa.js';
|
|
4
4
|
import { O as OneOf } from './one-of-w2eXPAzD.js';
|
|
5
|
-
import { E as EventFrom } from './event-from-rEfV4v4a.js';
|
|
6
5
|
import './utils-CoDiS_Ik.js';
|
|
7
6
|
import './create-validator-decorator--a-qkYfP.js';
|
|
8
7
|
|
|
@@ -49,23 +48,17 @@ const PostBanner = class {
|
|
|
49
48
|
this.postDismissed.emit();
|
|
50
49
|
this.host.remove();
|
|
51
50
|
}
|
|
52
|
-
onCloseButtonClick() {
|
|
53
|
-
void this.dismiss();
|
|
54
|
-
}
|
|
55
51
|
checkContent() {
|
|
56
52
|
this.hasActions = this.host.querySelectorAll('[slot="actions"]').length > 0;
|
|
57
53
|
}
|
|
58
54
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '890eea914f07f31f64c9e1b01fca94e824a019bc', "data-version": version, role: "alert", "data-color-scheme": "light" }, h("slot", { key: 'd4ac9c3714979cde7bba7554fbe1886d2cf75701', name: "close-button" }), h("div", { key: 'a097570719b709a3b67aa7152701edbf1174ace0', class: "post-banner-content" }, h("slot", { key: 'df12b0e63ac4cf4152c196eaad071774be4d7b88', name: "heading" }), h("slot", { key: 'a5e376800525119dc47815b9977936fa3966e087' }), this.hasActions && (h("div", { key: '6a0cc7f82873bcfde5109ed9e6bfe8255e30b19c', class: "actions" }, h("slot", { key: '11b1d289705cb9d1d96b20b4fcea2b923bfd184a', name: "actions" }))))));
|
|
60
56
|
}
|
|
61
57
|
get host() { return getElement(this); }
|
|
62
58
|
};
|
|
63
59
|
__decorate([
|
|
64
60
|
OneOf(BANNER_TYPES)
|
|
65
61
|
], PostBanner.prototype, "type", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
EventFrom('post-closebutton', { allowDescendants: true })
|
|
68
|
-
], PostBanner.prototype, "onCloseButtonClick", null);
|
|
69
62
|
PostBanner.style = postBannerCss();
|
|
70
63
|
|
|
71
64
|
export { PostBanner as post_banner };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-h3opCZqH.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-T8T3po4z.js';
|
|
3
3
|
import { U as Url } from './url-B61rZU6Z.js';
|
|
4
4
|
import { T as Type } from './type-Daxpt5v6.js';
|
|
5
5
|
import { O as OneOf } from './one-of-w2eXPAzD.js';
|
|
@@ -8,7 +8,7 @@ import './create-validator-decorator--a-qkYfP.js';
|
|
|
8
8
|
|
|
9
9
|
const VARIANTS = ['listitem', 'menuitem'];
|
|
10
10
|
|
|
11
|
-
const postBreadcrumbItemCss = () => `a{-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline);border-radius:var(--post-device-border-radius-focus);color:var(--post-current-fg)}a:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}a{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){a:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){a:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){a,a:focus{color:LinkText !important}a:hover{text-decoration-thickness:2px}a:visited{color:VisitedText}a.btn:not(.btn-link){border-color:ButtonBorder !important}a.btn.btn-tertiary.px-0{border:0 !important}a.btn.btn-tertiary.px-0:not(:hover){text-decoration:underline}}:host(:not([variant=menuitem])){display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;padding-block:var(--post-device-spacing-padding-block-6);gap:var(--post-device-spacing-gap-inline-5)}:host(:not([variant=menuitem])) :is(button,a){display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;padding:unset;border:unset;color:var(--post-scheme-color-interactive-primary-enabled-fg1);border-radius:var(--post-device-border-radius-focus);-webkit-text-decoration:var(--post-core-text-decoration-none);text-decoration:var(--post-core-text-decoration-none)}:host(:not([variant=menuitem])) :is(button,a):not(:disabled):hover{text-decoration:none}:host(:not([variant=menuitem])) :is(button,a):disabled{border-style:var(--post-core-border-style-dash);cursor:unset}:host(:not([variant=menuitem])) :is(button,a){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host(:not([variant=menuitem])) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:not([variant=menuitem])) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host(:not([variant=menuitem])) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:not([variant=menuitem])) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:not([variant=menuitem])) :is(button,a){border-width:1px !important;-webkit-transition:none;transition:none}:host(:not([variant=menuitem])) :is(button,a):is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}:host(:not([variant=menuitem])) :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline)}:host(:not([variant=menuitem]))::before{-webkit-mask-image:var(--post-icon-chevronright);mask-image:var(--post-icon-chevronright);background-color:currentColor;-ms-flex:0 0 auto;flex:0 0 auto;content:"";display:block;height:var(--post-device-sizing-interactive-icon-size4);width:var(--post-device-sizing-interactive-icon-size4);margin-block:calc(var(--post-device-spacing-padding-35) - 1*var(--post-device-spacing-padding-block-6));margin-inline:var(--post-core-dimension-4)}:root,:host{--post-icon-chevronright:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hldnJvbnJpZ2h0Ij48c3ltYm9sIGlkPSJzMTYiIHZpZXd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d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZXZyb25yaWdodCIvPjwvZz48L3N2Zz4=")}:is(a,span){white-space:var(--post-breadcrumb-item-wrap, normal) !important;overflow-wrap:anywhere;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;line-break:strict}:host([selected]:not([selected=false])){display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;padding-block:var(--post-device-spacing-padding-block-6);gap:var(--post-device-spacing-gap-inline-5)}:host([selected]:not([selected=false])) :is(button,a){display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;padding:unset;border:unset;color:var(--post-scheme-color-interactive-primary-enabled-fg1);border-radius:var(--post-device-border-radius-focus);-webkit-text-decoration:var(--post-core-text-decoration-none);text-decoration:var(--post-core-text-decoration-none)}:host([selected]:not([selected=false])) :is(button,a):not(:disabled):hover{text-decoration:none}:host([selected]:not([selected=false])) :is(button,a):disabled{border-style:var(--post-core-border-style-dash);cursor:unset}:host([selected]:not([selected=false])) :is(button,a){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host([selected]:not([selected=false])) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host([selected]:not([selected=false])) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host([selected]:not([selected=false])) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host([selected]:not([selected=false])) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host([selected]:not([selected=false])) :is(button,a){border-width:1px !important;-webkit-transition:none;transition:none}:host([selected]:not([selected=false])) :is(button,a):is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}:host([selected]:not([selected=false])) :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline)}:host([selected]:not([selected=false]))::before{-webkit-mask-image:var(--post-icon-chevronright);mask-image:var(--post-icon-chevronright);background-color:currentColor;-ms-flex:0 0 auto;flex:0 0 auto;content:"";display:block;height:var(--post-device-sizing-interactive-icon-size4);width:var(--post-device-sizing-interactive-icon-size4);margin-block:calc(var(--post-device-spacing-padding-35) - 1*var(--post-device-spacing-padding-block-6));margin-inline:var(--post-core-dimension-4)}:root,:host{--post-icon-chevronright:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hldnJvbnJpZ2h0Ij48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTUuMzggMTRjLS4xOSAwLS4zOC0uMDctLjUzLS4yMmEuNzU0Ljc1NCAwIDAgMSAwLTEuMDZMOS41NyA4IDQuODUgMy4yOGMtLjI5LS4yOS0uMjktLjc3IDAtMS4wNnMuNzctLjI5IDEuMDYgMEwxMS42OSA4bC01Ljc4IDUuNzhjLS4xNS4xNS0uMzQuMjItLjUzLjIyIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik04LjA3IDIwLjcyYy0uMjIgMC0uNDUtLjA4LS42Mi0uMjZhLjg4Ljg4IDAgMCAxIDAtMS4yNGw3LjI2LTcuMjZMNy40NSA0LjdhLjg4Ljg4IDAgMCAxIDAtMS4yNGMuMzQtLjM0LjktLjM0IDEuMjQgMGw4LjUgOC41LTguNDkgOC40OWMtLjE3LjE3LS40LjI2LS42Mi4yNloiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTEwLjc2IDI3LjVjLS4yNiAwLS41MS0uMS0uNzEtLjI5YS45OTYuOTk2IDAgMCAxIDAtMS40MWw5Ljc5LTkuNzktOS43OS05LjgxYS45OTYuOTk2IDAgMSAxIDEuNDEtMS40MUwyMi42NyAxNiAxMS40NiAyNy4yMWMtLjIuMi0uNDUuMjktLjcxLjI5WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0a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1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZXZyb25yaWdodCIvPjwvZz48L3N2Zz4=")}:host([selected]:not([selected=false])) :is(a,span){color:var(--post-scheme-color-interactive-primary-selected-fg1);font-weight:var(--post-device-font-weight-bold);-webkit-text-decoration:var(--post-core-text-decoration-none);text-decoration:var(--post-core-text-decoration-none)}`;
|
|
11
|
+
const postBreadcrumbItemCss = () => `a{-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline);border-radius:var(--post-device-border-radius-focus);color:var(--post-current-fg)}a:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}a{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){a:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){a:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){a,a:focus{color:LinkText !important}a:hover{text-decoration-thickness:2px}a:visited{color:VisitedText}a.btn:not(.btn-link){border-color:ButtonBorder !important}a.btn.btn-tertiary.px-0{border:0 !important}a.btn.btn-tertiary.px-0:not(:hover){text-decoration:underline}}:host([variant=menuitem]) :is(a,span),:host([variant=menuitem]) ::slotted(a){white-space:normal;overflow-wrap:anywhere;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;line-break:strict}:host([variant=listitem]){display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;padding-block:var(--post-device-spacing-padding-block-6);gap:var(--post-device-spacing-gap-inline-5)}:host([variant=listitem]) :is(button,a){display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;overflow:hidden;-webkit-transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);-webkit-box-shadow:none;box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;font:inherit;padding:unset;border:unset;border-radius:var(--post-device-border-radius-focus);color:var(--post-scheme-color-interactive-primary-enabled-fg1);-webkit-text-decoration:var(--post-core-text-decoration-none);text-decoration:var(--post-core-text-decoration-none)}:host([variant=listitem]) :is(button,a):not(:disabled):hover{text-decoration:none}:host([variant=listitem]) :is(button,a):disabled{border-style:var(--post-core-border-style-dash);cursor:unset}:host([variant=listitem]) :is(button,a){outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host([variant=listitem]) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host([variant=listitem]) :is(button,a):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host([variant=listitem]) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host([variant=listitem]) :is(button,a):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host([variant=listitem]) :is(button,a){border-width:1px !important;-webkit-transition:none;transition:none}:host([variant=listitem]) :is(button,a):is(button){background-color:ButtonFace !important;border-color:ButtonBorder !important}}:host([variant=listitem]) :is(button,a):hover{color:var(--post-scheme-color-interactive-primary-hover-fg1);-webkit-text-decoration:var(--post-core-text-decoration-underline);text-decoration:var(--post-core-text-decoration-underline)}:host([variant=listitem])::before{-webkit-mask-image:var(--post-icon-chevronright);mask-image:var(--post-icon-chevronright);background-color:currentColor;-ms-flex:0 0 auto;flex:0 0 auto;content:"";display:block;height:var(--post-device-sizing-interactive-icon-size4);width:var(--post-device-sizing-interactive-icon-size4);margin-block:calc(var(--post-device-spacing-padding-35) - 1*var(--post-device-spacing-padding-block-6));margin-inline:var(--post-core-dimension-4)}:root,:host{--post-icon-chevronright:url("data:image/svg+xml;base64,PHN2Z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JkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZXZyb25yaWdodCIvPjwvZz48L3N2Zz4=")}:host([variant=listitem]):not([standalone]:not([standalone=false])) ::slotted(a){white-space:nowrap}:host([variant=listitem]):host([selected]:not([selected=false])){-ms-flex-negative:0;flex-shrink:0}:host([variant=listitem]):host([selected]:not([selected=false])) :is(a,span){color:var(--post-scheme-color-interactive-primary-selected-fg1);font-weight:var(--post-device-font-weight-bold);-webkit-text-decoration:var(--post-core-text-decoration-none);text-decoration:var(--post-core-text-decoration-none)}:host([variant=listitem]):host([standalone]:not([standalone=false])){-ms-flex-negative:1;flex-shrink:1}:host([variant=listitem]):host([standalone]:not([standalone=false])) :is(a,span),:host([variant=listitem]):host([standalone]:not([standalone=false])) ::slotted(a){white-space:normal;overflow-wrap:anywhere;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;line-break:strict}`;
|
|
12
12
|
|
|
13
13
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
14
14
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -23,6 +23,10 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
23
23
|
const PostBreadcrumbItem = class {
|
|
24
24
|
constructor(hostRef) {
|
|
25
25
|
registerInstance(this, hostRef);
|
|
26
|
+
/**
|
|
27
|
+
* Whether the consumer slotted their own <a>. When true, the component renders only the <slot>, leaving the slotted anchor untouched so the host app's router can handle clicks.
|
|
28
|
+
*/
|
|
29
|
+
this.hasSlottedAnchor = false;
|
|
26
30
|
/**
|
|
27
31
|
* Controls how the item is rendered, either as a standard list item or within an overflow menu.
|
|
28
32
|
*/
|
|
@@ -31,11 +35,33 @@ const PostBreadcrumbItem = class {
|
|
|
31
35
|
* Indicates that the item represents the current page, applying appropriate styling.
|
|
32
36
|
*/
|
|
33
37
|
this.selected = false;
|
|
38
|
+
/**
|
|
39
|
+
* Indicates that this is the only visible item, applying appropriate styling.
|
|
40
|
+
*/
|
|
41
|
+
this.standalone = false;
|
|
34
42
|
}
|
|
35
|
-
|
|
43
|
+
componentWillLoad() {
|
|
44
|
+
this.checkSlottedAnchor();
|
|
45
|
+
}
|
|
46
|
+
checkSlottedAnchor() {
|
|
47
|
+
this.hasSlottedAnchor = Array.from(this.host.children).some(child => child.tagName === 'A');
|
|
48
|
+
}
|
|
49
|
+
renderContent() {
|
|
50
|
+
const slot = h("slot", { onSlotchange: () => this.checkSlottedAnchor() });
|
|
36
51
|
const href = this.url instanceof URL ? this.url.href : this.url;
|
|
37
|
-
|
|
38
|
-
|
|
52
|
+
if (this.hasSlottedAnchor) {
|
|
53
|
+
return slot;
|
|
54
|
+
}
|
|
55
|
+
else if (!href) {
|
|
56
|
+
return h("span", null, slot);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
return (h("a", { href: href, "aria-current": this.selected ? 'page' : undefined, "aria-label": this.label, "aria-description": this.description }, slot));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
render() {
|
|
63
|
+
const content = this.renderContent();
|
|
64
|
+
return this.variant === 'listitem' || this.selected ? (h(Host, { "data-version": version, role: "listitem", slot: this.selected ? 'selected' : undefined }, content)) : (h(Host, { "data-version": version, slot: "menu" }, h("post-menu-item", null, content)));
|
|
39
65
|
}
|
|
40
66
|
get host() { return getElement(this); }
|
|
41
67
|
};
|
|
@@ -55,6 +81,10 @@ __decorate([
|
|
|
55
81
|
Required(),
|
|
56
82
|
Type('boolean')
|
|
57
83
|
], PostBreadcrumbItem.prototype, "selected", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
Required(),
|
|
86
|
+
Type('boolean')
|
|
87
|
+
], PostBreadcrumbItem.prototype, "standalone", void 0);
|
|
58
88
|
PostBreadcrumbItem.style = postBreadcrumbItemCss();
|
|
59
89
|
|
|
60
90
|
export { PostBreadcrumbItem as post_breadcrumb_item };
|