@swisspost/design-system-components 9.0.0-next.13 → 9.0.0-next.15
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/{index-f1b08cdb.js → index-0ee3ab4a.js} +334 -152
- package/dist/cjs/index.cjs.js +22 -20
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-60e57542.js → package-da5224f8.js} +1 -1
- package/dist/cjs/{post-accordion-1e495c23.js → post-accordion-412a5841.js} +11 -5
- package/dist/cjs/{post-accordion-item-86b6950a.js → post-accordion-item-0bcc2d1d.js} +15 -8
- package/dist/cjs/post-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/post-accordion.cjs.entry.js +3 -3
- package/dist/cjs/{post-avatar-067c033b.js → post-avatar-8c349298.js} +23 -11
- package/dist/cjs/post-avatar.cjs.entry.js +3 -3
- package/dist/cjs/post-back-to-top-56f1cc8e.js +80 -0
- package/dist/cjs/post-back-to-top.cjs.entry.js +3 -3
- package/dist/cjs/post-banner-6295a2a0.js +110 -0
- package/dist/cjs/post-banner.cjs.entry.js +3 -3
- package/dist/cjs/{post-breadcrumb-b33abf67.js → post-breadcrumb-507266b2.js} +15 -9
- package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +3 -3
- package/dist/cjs/post-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/{post-card-control-7867a104.js → post-card-control-d7eabec9.js} +45 -14
- package/dist/cjs/post-card-control.cjs.entry.js +3 -3
- package/dist/cjs/post-closebutton_15.cjs.entry.js +3 -3
- package/dist/cjs/{post-collapsible-trigger-6affdc02.js → post-collapsible-trigger-0ee4d82a.js} +11 -5
- package/dist/cjs/post-collapsible_2.cjs.entry.js +3 -3
- package/dist/cjs/post-components.cjs.js +3 -3
- package/dist/cjs/{post-footer-330e8999.js → post-footer-2bac2420.js} +8 -5
- package/dist/cjs/post-footer.cjs.entry.js +3 -3
- package/dist/cjs/post-linkarea-fc2f9c72.js +32 -0
- package/dist/cjs/post-linkarea.cjs.entry.js +11 -0
- package/dist/cjs/{post-menu-item-48191dfd.js → post-menu-item-709448cc.js} +8 -5
- package/dist/cjs/{post-popover-27f3e9aa.js → post-popover-0a247c47.js} +18 -6
- package/dist/cjs/post-popover.cjs.entry.js +3 -3
- package/dist/cjs/{post-rating-28904e91.js → post-rating-e09b9243.js} +21 -8
- package/dist/cjs/post-rating.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-header-86b129ab.js → post-tab-header-7fb08fb1.js} +8 -5
- package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-panel-94333a7e.js → post-tab-panel-e35b6f6d.js} +8 -5
- package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/{post-tabs-f8581050.js → post-tabs-3967f88b.js} +10 -4
- package/dist/cjs/post-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{post-tag-3a24c574.js → post-tag-07461a94.js} +18 -7
- package/dist/cjs/post-tag.cjs.entry.js +3 -3
- package/dist/cjs/{post-togglebutton-e7d697bf.js → post-togglebutton-675dccb0.js} +516 -133
- package/dist/cjs/{post-tooltip-8c87dfe3.js → post-tooltip-1c754653.js} +17 -6
- package/dist/cjs/post-tooltip.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/post-accordion/post-accordion.js +13 -5
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +17 -8
- package/dist/collection/components/post-avatar/post-avatar.js +29 -11
- package/dist/collection/components/post-back-to-top/post-back-to-top.css +1 -1
- package/dist/collection/components/post-back-to-top/post-back-to-top.js +9 -5
- package/dist/collection/components/post-banner/post-banner.css +1 -1
- package/dist/collection/components/post-banner/post-banner.js +34 -14
- package/dist/collection/components/post-breadcrumb/post-breadcrumb.js +17 -9
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +7 -4
- package/dist/collection/components/post-card-control/post-card-control.js +61 -12
- package/dist/collection/components/post-closebutton/post-closebutton.js +1 -1
- package/dist/collection/components/post-collapsible/post-collapsible.js +7 -4
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +6 -3
- package/dist/collection/components/post-footer/post-footer.js +8 -5
- package/dist/collection/components/post-header/post-header.css +1 -1
- package/dist/collection/components/post-header/post-header.js +82 -8
- package/dist/collection/components/post-icon/post-icon.js +43 -10
- package/dist/collection/components/post-language-option/post-language-option.js +32 -8
- package/dist/collection/components/post-language-switch/post-language-switch.css +1 -1
- package/dist/collection/components/post-language-switch/post-language-switch.js +23 -7
- package/dist/collection/components/post-linkarea/post-linkarea.css +1 -0
- package/dist/collection/components/post-linkarea/post-linkarea.js +32 -0
- package/dist/collection/components/post-list/post-list.js +17 -6
- package/dist/collection/components/post-list-item/post-list-item.js +1 -1
- package/dist/collection/components/post-logo/post-logo.js +7 -4
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.css +1 -1
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +193 -19
- package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -1
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +124 -66
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +1 -1
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +12 -6
- package/dist/collection/components/post-menu/post-menu.js +15 -5
- package/dist/collection/components/post-menu-item/post-menu-item.js +1 -1
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +11 -5
- package/dist/collection/components/post-popover/post-popover.js +22 -4
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +46 -8
- package/dist/collection/components/post-rating/post-rating.js +27 -6
- package/dist/collection/components/post-tab-header/post-tab-header.js +8 -5
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +8 -5
- package/dist/collection/components/post-tabs/post-tabs.js +10 -4
- package/dist/collection/components/post-tag/post-tag.js +22 -5
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +7 -4
- package/dist/collection/components/post-tooltip/post-tooltip.js +21 -6
- package/dist/collection/index.js +1 -0
- package/dist/components/index.js +36 -35
- package/dist/components/{post-collapsible2.js → p-10c1a15a.js} +9 -6
- package/dist/components/{post-menu-trigger2.js → p-15877641.js} +14 -8
- package/dist/components/{post-breadcrumb2.js → p-23b12eda.js} +26 -20
- package/dist/components/p-2e509a60.js +237 -0
- package/dist/components/{post-tab-header2.js → p-32b7a0a8.js} +11 -8
- package/dist/components/{post-togglebutton2.js → p-3385af29.js} +9 -6
- package/dist/components/p-3aba7629.js +29 -0
- package/dist/components/p-3e8554e7.js +1646 -0
- package/dist/components/p-46a6c5ec.js +168 -0
- package/dist/components/{post-tooltip2.js → p-477784a7.js} +21 -10
- package/dist/components/{post-megadropdown-trigger2.js → p-4b60e5f8.js} +15 -9
- package/{loaders/post-menu-item2.js → dist/components/p-4bbdde2b.js} +4 -4
- package/dist/components/{post-avatar2.js → p-4f60823b.js} +25 -13
- package/dist/components/{post-collapsible-trigger2.js → p-5366ff92.js} +11 -8
- package/dist/components/p-54e097c7.js +199 -0
- package/dist/components/{post-language-switch2.js → p-61419ecc.js} +28 -16
- package/dist/components/{post-popover2.js → p-621f6dce.js} +21 -9
- package/dist/components/{post-card-control2.js → p-6d591e1c.js} +49 -18
- package/dist/components/{post-logo2.js → p-70e8b74f.js} +9 -6
- package/{loaders/post-menu2.js → dist/components/p-7202d5d4.js} +19 -36
- package/dist/components/p-74e13cb1.js +3 -0
- package/dist/components/{post-breadcrumb-item2.js → p-80478535.js} +10 -7
- package/dist/components/{post-back-to-top2.js → p-8b750ccb.js} +15 -11
- package/dist/components/p-9a726750.js +44 -0
- package/dist/components/{post-list-item2.js → p-9e4b1f10.js} +3 -3
- package/dist/components/{post-language-option2.js → p-a07e1562.js} +27 -11
- package/dist/components/{post-list2.js → p-a3711af3.js} +17 -8
- package/dist/components/{check-non-empty.js → p-b095519d.js} +1 -1
- package/dist/components/{post-accordion2.js → p-cf4cb17f.js} +14 -8
- package/dist/components/{post-rating2.js → p-d343757a.js} +23 -10
- package/dist/components/{post-footer2.js → p-d428a69c.js} +13 -10
- package/dist/components/{post-tab-panel2.js → p-db9fa77d.js} +10 -7
- package/dist/components/{post-tag2.js → p-e482b539.js} +20 -9
- package/dist/components/{index2.js → p-eabb09ad.js} +3 -3
- package/dist/components/{post-tabs2.js → p-efc1bc9c.js} +12 -6
- package/dist/components/{post-closebutton2.js → p-f5433ff7.js} +5 -5
- package/dist/components/p-f566dbe4.js +145 -0
- package/{loaders/post-popovercontainer2.js → dist/components/p-f59c8544.js} +25 -10
- package/{loaders/post-accordion-item2.js → dist/components/p-f60c925d.js} +22 -15
- package/dist/components/p-f7b9f90a.js +135 -0
- package/dist/components/{post-icon2.js → p-fcec301c.js} +35 -14
- package/dist/components/post-accordion-item.js +1 -1
- package/dist/components/post-accordion.js +1 -1
- package/dist/components/post-avatar.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-breadcrumb.js +1 -1
- package/dist/components/post-card-control.js +1 -1
- package/dist/components/post-closebutton.js +1 -1
- package/dist/components/post-collapsible-trigger.js +1 -1
- package/dist/components/post-collapsible.js +1 -1
- package/dist/components/post-footer.js +1 -1
- package/dist/components/post-header.js +1 -1
- package/dist/components/post-icon.js +1 -1
- package/dist/components/post-language-option.js +1 -1
- package/dist/components/post-language-switch.js +1 -1
- package/dist/components/post-linkarea.d.ts +11 -0
- package/dist/components/post-linkarea.js +6 -0
- package/dist/components/post-list-item.js +1 -1
- package/dist/components/post-list.js +1 -1
- package/dist/components/post-logo.js +1 -1
- package/dist/components/post-mainnavigation.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-item.js +1 -1
- package/dist/components/post-menu-trigger.js +1 -1
- package/dist/components/post-menu.js +1 -1
- package/dist/components/post-popover.js +1 -1
- package/dist/components/post-popovercontainer.js +1 -1
- package/dist/components/post-rating.js +1 -1
- package/dist/components/post-tab-header.js +1 -1
- package/dist/components/post-tab-panel.js +1 -1
- package/dist/components/post-tabs.js +1 -1
- package/dist/components/post-tag.js +1 -1
- package/dist/components/post-togglebutton.js +1 -1
- package/dist/components/post-tooltip.js +1 -1
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +333 -149
- package/dist/esm/{index-6bfe6554.js → index-2c232bf2.js} +334 -152
- package/dist/esm/index.js +21 -20
- package/dist/esm/loader.js +3 -3
- package/dist/esm/package-fe605ce2.js +3 -0
- package/dist/esm/{post-accordion-48eb17c3.js → post-accordion-27faacb3.js} +11 -5
- package/dist/esm/{post-accordion-item-e0893bb3.js → post-accordion-item-518d7bd0.js} +15 -8
- package/dist/esm/post-accordion-item.entry.js +3 -3
- package/dist/esm/post-accordion.entry.js +3 -3
- package/dist/esm/{post-avatar-20cde806.js → post-avatar-80b061df.js} +23 -11
- package/dist/esm/post-avatar.entry.js +3 -3
- package/dist/esm/post-back-to-top-531e1376.js +78 -0
- package/dist/esm/post-back-to-top.entry.js +3 -3
- package/dist/esm/post-banner-e10a3101.js +108 -0
- package/dist/esm/post-banner.entry.js +3 -3
- package/dist/esm/{post-breadcrumb-39203792.js → post-breadcrumb-54bac634.js} +15 -9
- package/dist/esm/post-breadcrumb-item_2.entry.js +3 -3
- package/dist/esm/post-breadcrumb.entry.js +3 -3
- package/dist/esm/{post-card-control-d2c25c96.js → post-card-control-ba354a50.js} +45 -14
- package/dist/esm/post-card-control.entry.js +3 -3
- package/dist/esm/post-closebutton_15.entry.js +3 -3
- package/dist/esm/{post-collapsible-trigger-2f9ad9a5.js → post-collapsible-trigger-3dbedd6e.js} +11 -5
- package/dist/esm/post-collapsible_2.entry.js +3 -3
- package/dist/esm/post-components.js +4 -4
- package/dist/esm/{post-footer-e804a967.js → post-footer-c73c4669.js} +8 -5
- package/dist/esm/post-footer.entry.js +3 -3
- package/dist/esm/post-linkarea-65638949.js +30 -0
- package/dist/esm/post-linkarea.entry.js +3 -0
- package/dist/esm/{post-menu-item-f9793958.js → post-menu-item-fb5afbfe.js} +8 -5
- package/dist/esm/{post-popover-8205412a.js → post-popover-50930237.js} +18 -6
- package/dist/esm/post-popover.entry.js +3 -3
- package/dist/esm/{post-rating-95ecb434.js → post-rating-3077bc2d.js} +21 -8
- package/dist/esm/post-rating.entry.js +3 -3
- package/dist/esm/{post-tab-header-d520b99a.js → post-tab-header-359fe858.js} +8 -5
- package/dist/esm/post-tab-header.entry.js +3 -3
- package/dist/esm/{post-tab-panel-8c8d2332.js → post-tab-panel-1209fd6f.js} +8 -5
- package/dist/esm/post-tab-panel.entry.js +3 -3
- package/dist/esm/{post-tabs-dd6dfe43.js → post-tabs-3a9acd87.js} +10 -4
- package/dist/esm/post-tabs.entry.js +3 -3
- package/dist/esm/{post-tag-593813a4.js → post-tag-c8c9b213.js} +18 -7
- package/dist/esm/post-tag.entry.js +3 -3
- package/dist/esm/{post-togglebutton-120df903.js → post-togglebutton-1e02ab7c.js} +516 -133
- package/dist/esm/{post-tooltip-a13d6fbb.js → post-tooltip-65892d5f.js} +17 -6
- package/dist/esm/post-tooltip.entry.js +3 -3
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-05d809f2.entry.js +1 -0
- package/dist/post-components/p-122f969e.js +1 -0
- package/dist/post-components/p-16c08e07.entry.js +1 -0
- package/dist/post-components/p-16f883f9.entry.js +1 -0
- package/dist/post-components/p-23a94c36.entry.js +1 -0
- package/dist/post-components/p-2ea6e06e.js +1 -0
- package/dist/post-components/p-36527185.js +1 -0
- package/dist/post-components/p-368cee4c.js +1 -0
- package/dist/post-components/p-3a408d41.entry.js +1 -0
- package/dist/post-components/p-43caa6b0.js +1 -0
- package/dist/post-components/{p-4fc83a1c.js → p-458d4560.js} +3 -3
- package/dist/post-components/p-52508346.entry.js +1 -0
- package/dist/post-components/p-54ae1f02.js +1 -0
- package/dist/post-components/p-55139ed4.js +1 -0
- package/dist/post-components/p-5a051654.entry.js +1 -0
- package/dist/post-components/p-5b058c27.entry.js +1 -0
- package/dist/post-components/p-5be385f2.js +1 -0
- package/dist/post-components/p-5cc36eb9.entry.js +1 -0
- package/dist/post-components/p-61ebfb27.js +1 -0
- package/dist/post-components/p-66552bf5.entry.js +1 -0
- package/dist/post-components/{p-a72cb18c.js → p-68defca9.js} +1 -1
- package/dist/post-components/p-74dbfcd3.js +1 -0
- package/dist/post-components/p-74e13cb1.js +1 -0
- package/dist/post-components/p-8abc347f.js +1 -0
- package/dist/post-components/p-8fe69fae.js +1 -0
- package/dist/post-components/p-902e52fb.entry.js +1 -0
- package/dist/post-components/p-9bf305da.entry.js +1 -0
- package/dist/post-components/{p-d6449a93.entry.js → p-a680d8b0.entry.js} +1 -1
- package/dist/post-components/p-a7199df3.js +1 -0
- package/dist/post-components/p-a7683dcd.entry.js +1 -0
- package/dist/post-components/p-aaef3917.js +1 -0
- package/dist/post-components/p-ad2a716a.entry.js +1 -0
- package/dist/post-components/p-b5758f64.js +1 -0
- package/dist/post-components/{p-92f8803c.entry.js → p-b64f5ba4.entry.js} +1 -1
- package/dist/post-components/p-ce4a94d4.entry.js +1 -0
- package/dist/post-components/p-d9833667.js +2 -0
- package/dist/post-components/p-dc8a4c6f.js +1 -0
- package/dist/post-components/p-e725b6f4.js +1 -0
- package/dist/post-components/p-ecc6a8fa.entry.js +1 -0
- package/dist/post-components/p-fed91ff7.entry.js +1 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-header/post-header.d.ts +11 -2
- package/dist/types/components/post-language-switch/post-language-switch.d.ts +1 -1
- package/dist/types/components/post-linkarea/post-linkarea.d.ts +5 -0
- package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +57 -3
- package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +26 -12
- package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +4 -0
- package/dist/types/components.d.ts +49 -23
- package/dist/types/index.d.ts +3 -2
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/loaders/index.d.ts +2 -0
- package/loaders/index.js +3 -2
- package/loaders/{post-menu-trigger2.js → p-15877641.js} +14 -8
- package/loaders/p-3aba7629.js +29 -0
- package/loaders/p-3e8554e7.js +1646 -0
- package/{dist/components/post-menu-item2.js → loaders/p-4bbdde2b.js} +4 -4
- package/loaders/{post-icon2.js → p-51b50ca3.js} +35 -14
- package/loaders/{post-collapsible-trigger2.js → p-5366ff92.js} +11 -8
- package/loaders/{index2.js → p-56ad4838.js} +3 -3
- package/{dist/components/post-menu2.js → loaders/p-7202d5d4.js} +19 -36
- package/loaders/p-74e13cb1.js +3 -0
- package/loaders/{post-breadcrumb-item2.js → p-9e7120c3.js} +10 -7
- package/loaders/{check-non-empty.js → p-b095519d.js} +1 -1
- package/loaders/{post-collapsible2.js → p-c2033fcd.js} +9 -6
- package/{dist/components/post-accordion-item2.js → loaders/p-e57c041b.js} +22 -15
- package/{dist/components/post-popovercontainer2.js → loaders/p-f59c8544.js} +25 -10
- package/loaders/p-f7b9f90a.js +135 -0
- package/loaders/post-accordion-item.js +1 -1
- package/loaders/post-accordion.js +14 -8
- package/loaders/post-avatar.js +25 -13
- package/loaders/post-back-to-top.js +15 -11
- package/loaders/post-banner.js +36 -22
- package/loaders/post-breadcrumb-item.js +1 -1
- package/loaders/post-breadcrumb.js +26 -20
- package/loaders/post-card-control.js +49 -18
- package/loaders/post-closebutton.js +5 -5
- package/loaders/post-collapsible-trigger.js +1 -1
- package/loaders/post-collapsible.js +1 -1
- package/loaders/post-footer.js +13 -10
- package/loaders/post-header.js +65 -145
- package/loaders/post-icon.js +1 -1
- package/loaders/post-language-option.js +27 -11
- package/loaders/post-language-switch.js +28 -16
- package/loaders/post-linkarea.d.ts +11 -0
- package/loaders/post-linkarea.js +47 -0
- package/loaders/post-list-item.js +3 -3
- package/loaders/post-list.js +17 -8
- package/loaders/post-logo.js +9 -6
- package/loaders/post-mainnavigation.js +193 -9
- package/loaders/post-megadropdown-trigger.js +15 -9
- package/loaders/post-megadropdown.js +108 -51
- package/loaders/post-menu-item.js +1 -1
- package/loaders/post-menu-trigger.js +1 -1
- package/loaders/post-menu.js +1 -1
- package/loaders/post-popover.js +21 -9
- package/loaders/post-popovercontainer.js +1 -1
- package/loaders/post-rating.js +23 -10
- package/loaders/post-tab-header.js +11 -8
- package/loaders/post-tab-panel.js +10 -7
- package/loaders/post-tabs.js +12 -6
- package/loaders/post-tag.js +20 -9
- package/loaders/post-togglebutton.js +9 -6
- package/loaders/post-tooltip.js +21 -10
- package/package.json +10 -11
- package/dist/cjs/post-back-to-top-7efd1066.js +0 -76
- package/dist/cjs/post-banner-a6808d7d.js +0 -96
- package/dist/components/package.js +0 -3
- package/dist/components/post-banner2.js +0 -131
- package/dist/components/post-header2.js +0 -279
- package/dist/components/post-mainnavigation2.js +0 -53
- package/dist/components/post-megadropdown2.js +0 -111
- package/dist/esm/package-495dba42.js +0 -3
- package/dist/esm/post-back-to-top-e422c426.js +0 -74
- package/dist/esm/post-banner-7385397e.js +0 -94
- package/dist/post-components/p-0b613350.js +0 -1
- package/dist/post-components/p-0e216cc4.js +0 -2
- package/dist/post-components/p-20e1b680.js +0 -1
- package/dist/post-components/p-29bc8ddc.entry.js +0 -1
- package/dist/post-components/p-2b4c7ec7.entry.js +0 -1
- package/dist/post-components/p-2f327006.entry.js +0 -1
- package/dist/post-components/p-3632ace7.js +0 -1
- package/dist/post-components/p-3a978ea9.entry.js +0 -1
- package/dist/post-components/p-3d4fdde0.js +0 -1
- package/dist/post-components/p-427132e3.entry.js +0 -1
- package/dist/post-components/p-445dfa96.js +0 -1
- package/dist/post-components/p-4c0c13a9.js +0 -1
- package/dist/post-components/p-5384e6f4.js +0 -1
- package/dist/post-components/p-5630677a.entry.js +0 -1
- package/dist/post-components/p-5e5ee06d.entry.js +0 -1
- package/dist/post-components/p-68c43ef0.entry.js +0 -1
- package/dist/post-components/p-6e39bb59.entry.js +0 -1
- package/dist/post-components/p-6fede961.js +0 -1
- package/dist/post-components/p-72a5ee9b.js +0 -1
- package/dist/post-components/p-72d9d594.entry.js +0 -1
- package/dist/post-components/p-85bf673e.entry.js +0 -1
- package/dist/post-components/p-8decb072.entry.js +0 -1
- package/dist/post-components/p-9596c7d6.js +0 -1
- package/dist/post-components/p-975b30f5.js +0 -1
- package/dist/post-components/p-9a50697e.entry.js +0 -1
- package/dist/post-components/p-aaca7ca7.js +0 -1
- package/dist/post-components/p-ac2189b7.js +0 -1
- package/dist/post-components/p-afe3b28e.js +0 -1
- package/dist/post-components/p-b129c166.js +0 -1
- package/dist/post-components/p-bd49bb7e.entry.js +0 -1
- package/dist/post-components/p-c043686c.entry.js +0 -1
- package/dist/post-components/p-c8544b65.js +0 -1
- package/dist/post-components/p-c9f65844.entry.js +0 -1
- package/dist/post-components/p-f7c5b0c2.js +0 -1
- package/loaders/package.js +0 -3
- /package/dist/components/{heading-levels.js → p-247a1668.js} +0 -0
- /package/dist/components/{constants.js → p-440193f4.js} +0 -0
- /package/dist/components/{slide.js → p-4af6dbed.js} +0 -0
- /package/dist/components/{index.browser.js → p-5959f2bd.js} +0 -0
- /package/dist/components/{fade.js → p-64e3de38.js} +0 -0
- /package/dist/components/{check-type.js → p-8562c7dc.js} +0 -0
- /package/dist/components/{attribute-observer.js → p-9748a355.js} +0 -0
- /package/dist/components/{check-one-of.js → p-bacd3e2c.js} +0 -0
- /package/dist/components/{debounce.js → p-e1baac59.js} +0 -0
- /package/dist/components/{get-root.js → p-fc91cbc2.js} +0 -0
- /package/loaders/{heading-levels.js → p-247a1668.js} +0 -0
- /package/loaders/{constants.js → p-440193f4.js} +0 -0
- /package/loaders/{slide.js → p-4af6dbed.js} +0 -0
- /package/loaders/{index.browser.js → p-5959f2bd.js} +0 -0
- /package/loaders/{fade.js → p-64e3de38.js} +0 -0
- /package/loaders/{check-type.js → p-8562c7dc.js} +0 -0
- /package/loaders/{attribute-observer.js → p-9748a355.js} +0 -0
- /package/loaders/{check-one-of.js → p-bacd3e2c.js} +0 -0
- /package/loaders/{debounce.js → p-e1baac59.js} +0 -0
- /package/loaders/{get-root.js → p-fc91cbc2.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-3e8554e7.js';
|
|
2
2
|
|
|
3
3
|
const postListItemCss = ":host{display:flex}";
|
|
4
4
|
const PostListItemStyle0 = postListItemCss;
|
|
5
5
|
|
|
6
|
-
const PostListItem = /*@__PURE__*/ proxyCustomElement(class PostListItem extends
|
|
6
|
+
const PostListItem = /*@__PURE__*/ proxyCustomElement(class PostListItem extends H {
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
@@ -14,7 +14,7 @@ const PostListItem = /*@__PURE__*/ proxyCustomElement(class PostListItem extends
|
|
|
14
14
|
this.host.setAttribute('slot', 'post-list-item');
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '8e209e77859bd05d62cae41aec9dec6fb2e820cb', role: "listitem", slot: "post-list-item" }, h("slot", { key: 'ce79a335e80401465b74208957e22983d6df4ce0' })));
|
|
18
18
|
}
|
|
19
19
|
static get style() { return PostListItemStyle0; }
|
|
20
20
|
}, [1, "post-list-item"]);
|
|
@@ -1,32 +1,48 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { e as checkEmptyOrType } from './
|
|
3
|
-
import { v as version } from './
|
|
4
|
-
import { c as checkType } from './
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-3e8554e7.js';
|
|
2
|
+
import { e as checkEmptyOrType } from './p-eabb09ad.js';
|
|
3
|
+
import { v as version } from './p-74e13cb1.js';
|
|
4
|
+
import { c as checkType } from './p-8562c7dc.js';
|
|
5
5
|
|
|
6
6
|
const postLanguageOptionCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */post-language-option{display:inline-block}post-language-option button{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}post-language-option a{color:inherit;text-decoration:none}post-language-option :is(a,button){cursor:pointer;display:flex;align-items:center;justify-content:center;height:100%;width:100%;padding:var(--post-language-option-padding);border-radius:2px}post-language-option :is(a,button){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}post-language-option :is(a,button):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){post-language-option :is(a,button):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-language-option :is(a,button):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){post-language-option :is(a,button):is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}post-language-option:where([variant=list]) :is(a,button){width:40px;height:40px}post-language-option:where([variant=list]) :is(a,button):hover{color:#504f4b}post-language-option:where([variant=list]) :is(a,button)[aria-current=true],post-language-option:where([variant=list]) :is(a,button)[aria-current=page]{background-color:#050400;color:#fff}post-language-option:where([variant=list]) :is(a,button)[aria-current=true]:hover,post-language-option:where([variant=list]) :is(a,button)[aria-current=page]:hover{background-color:#504f4b}post-language-option:where([variant=menu]){width:100%}post-language-option:where([variant=menu]) :is(a,button){padding-block:13px;padding-inline:24px;box-sizing:border-box;position:relative;left:-1px;width:calc(100% + 2px)}post-language-option:where([variant=menu]) :is(a,button)[aria-current=true]::after,post-language-option:where([variant=menu]) :is(a,button)[aria-current=page]::after{content:\"\";left:0;height:3px;background-color:#050400;width:100%;display:block;position:absolute;bottom:3px}post-language-option:where([variant=menu]) :is(a,button)[aria-current=true]:hover::after,post-language-option:where([variant=menu]) :is(a,button)[aria-current=page]:hover::after{background-color:#504f4b}post-language-option:where([variant=menu]) :is(a,button):hover{color:#504f4b}";
|
|
7
7
|
const PostLanguageOptionStyle0 = postLanguageOptionCss;
|
|
8
8
|
|
|
9
|
-
const PostLanguageOption = /*@__PURE__*/ proxyCustomElement(class PostLanguageOption extends
|
|
9
|
+
const PostLanguageOption = /*@__PURE__*/ proxyCustomElement(class PostLanguageOption extends H {
|
|
10
10
|
constructor() {
|
|
11
11
|
super();
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.postChange = createEvent(this, "postChange", 7);
|
|
14
|
-
this.code = undefined;
|
|
15
|
-
this.active = undefined;
|
|
16
|
-
this.variant = undefined;
|
|
17
|
-
this.name = undefined;
|
|
18
|
-
this.url = undefined;
|
|
19
14
|
}
|
|
20
15
|
get host() { return this; }
|
|
16
|
+
/**
|
|
17
|
+
* The ISO 639 language code, formatted according to [RFC 5646 (also known as BCP 47)](https://datatracker.ietf.org/doc/html/rfc5646). For example, "de".
|
|
18
|
+
*/
|
|
19
|
+
code;
|
|
21
20
|
validateCode(value = this.code) {
|
|
22
21
|
checkType(value, 'string', 'The "code" property of the post-language-option component must be a string.');
|
|
23
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* If set to `true`, the language option is considered the current language for the page.
|
|
25
|
+
*/
|
|
26
|
+
active;
|
|
24
27
|
validateActiveProp(value = this.active) {
|
|
25
28
|
checkEmptyOrType(value, 'boolean', 'The "active" property of the post-language-option component must be a boolean value.');
|
|
26
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* The variant of the post-language-switch parent (dynamically set by the parent)
|
|
32
|
+
*/
|
|
33
|
+
variant;
|
|
34
|
+
/**
|
|
35
|
+
* The full name of the language. For example, "Deutsch".
|
|
36
|
+
*/
|
|
37
|
+
name;
|
|
27
38
|
validateName(value = this.name) {
|
|
28
39
|
checkEmptyOrType(value, 'string', 'The "name" property of the post-language-option component must be a string.');
|
|
29
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* The URL used for the href attribute of the internal anchor.
|
|
43
|
+
* This field is optional; if not provided, a button will be used internally instead of an anchor.
|
|
44
|
+
*/
|
|
45
|
+
url;
|
|
30
46
|
validateUrl(value = this.url) {
|
|
31
47
|
checkEmptyOrType(value, 'string', 'The "url" property of the post-language-option component must be a valid URL.');
|
|
32
48
|
}
|
|
@@ -63,7 +79,7 @@ const PostLanguageOption = /*@__PURE__*/ proxyCustomElement(class PostLanguageOp
|
|
|
63
79
|
this.emitChange();
|
|
64
80
|
}
|
|
65
81
|
};
|
|
66
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: 'eff35e907ca174aa239604d8e3c937309d306cd1', "data-version": version, role: this.variant ? `${this.variant}item` : null }, this.url ? (h("a", { "aria-current": this.active ? 'page' : undefined, "aria-label": this.name, href: this.url, hrefLang: lang, lang: lang, onClick: () => this.emitChange(), onKeyDown: emitOnKeyDown }, h("slot", null))) : (h("button", { "aria-current": this.active ? 'true' : undefined, "aria-label": this.name, lang: lang, onClick: () => this.emitChange(), onKeyDown: emitOnKeyDown }, h("slot", null)))));
|
|
67
83
|
}
|
|
68
84
|
static get watchers() { return {
|
|
69
85
|
"code": ["validateCode"],
|
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { n as nanoid } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-3e8554e7.js';
|
|
2
|
+
import { v as version } from './p-74e13cb1.js';
|
|
3
|
+
import { n as nanoid } from './p-5959f2bd.js';
|
|
4
4
|
|
|
5
5
|
const postListCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */post-list{display:flex;flex-direction:column;gap:var(--post-list-title-gap, 0)}post-list>[role=list]{display:flex;flex-direction:column;gap:var(--post-list-item-gap, 0)}post-list:where([horizontal]:not([horizontal=false])){flex-direction:row;align-items:center}post-list:where([horizontal]:not([horizontal=false]))>[role=list]{flex-direction:row;align-items:center}post-list>.list-title.visually-hidden{width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}post-list>.list-title.visually-hidden:not(caption){position:absolute !important}";
|
|
6
6
|
const PostListStyle0 = postListCss;
|
|
7
7
|
|
|
8
|
-
const PostList = /*@__PURE__*/ proxyCustomElement(class PostList extends
|
|
8
|
+
const PostList = /*@__PURE__*/ proxyCustomElement(class PostList extends H {
|
|
9
9
|
constructor() {
|
|
10
10
|
super();
|
|
11
11
|
this.__registerHost();
|
|
12
|
-
this.titleId = undefined;
|
|
13
|
-
this.titleHidden = false;
|
|
14
|
-
this.horizontal = false;
|
|
15
12
|
}
|
|
16
13
|
get host() { return this; }
|
|
14
|
+
/**
|
|
15
|
+
* The unique title of the list that is also referenced in the labelledby
|
|
16
|
+
*/
|
|
17
|
+
titleId;
|
|
18
|
+
/**
|
|
19
|
+
* If `true`, the list title will be hidden. Otherwise, it will be displayed.`
|
|
20
|
+
*/
|
|
21
|
+
titleHidden = false;
|
|
22
|
+
/**
|
|
23
|
+
* The list can become horizontal by setting `horizontal="true"` or just `horizontal`
|
|
24
|
+
*/
|
|
25
|
+
horizontal = false;
|
|
17
26
|
titleEl;
|
|
18
27
|
componentWillLoad() {
|
|
19
28
|
/**
|
|
@@ -30,7 +39,7 @@ const PostList = /*@__PURE__*/ proxyCustomElement(class PostList extends HTMLEle
|
|
|
30
39
|
}
|
|
31
40
|
}
|
|
32
41
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: 'bdd973098d8b2a74635d489dca8f0f6825e31c51', "data-version": version }, h("div", { key: '9dcd6ca7069658c3e7f0d14fc130d18ebe522acb', ref: el => (this.titleEl = el), id: this.titleId, class: `list-title${this.titleHidden ? ' visually-hidden' : ''}` }, h("slot", { key: 'ad51f345b2c120796d02dbc3d6815a58addc7fb4' })), h("div", { key: '47fddd7b977c85c195757f461c0ec009270cdb8b', role: "list", "aria-labelledby": this.titleId }, h("slot", { key: '176662b40ca47b6aeeded26256bc84bdee6483a6', name: "post-list-item" }))));
|
|
34
43
|
}
|
|
35
44
|
static get style() { return PostListStyle0; }
|
|
36
45
|
}, [4, "post-list", {
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { H as HEADING_LEVELS } from './
|
|
4
|
-
import { c as checkOneOf } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-3e8554e7.js';
|
|
2
|
+
import { v as version } from './p-74e13cb1.js';
|
|
3
|
+
import { H as HEADING_LEVELS } from './p-247a1668.js';
|
|
4
|
+
import { c as checkOneOf } from './p-bacd3e2c.js';
|
|
5
5
|
|
|
6
6
|
const postAccordionCss = ":host{display:block}::slotted(post-accordion-item){display:block}::slotted(post-accordion-item:not(:only-of-type:first-of-type)){margin-top:calc(var(--post-device-border-width-default)*-1)}::slotted(post-accordion-item:not(:only-of-type):first-of-type){--post-accordion-button-border-top:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}";
|
|
7
7
|
const PostAccordionStyle0 = postAccordionCss;
|
|
8
8
|
|
|
9
|
-
const PostAccordion = /*@__PURE__*/ proxyCustomElement(class PostAccordion extends
|
|
9
|
+
const PostAccordion = /*@__PURE__*/ proxyCustomElement(class PostAccordion extends H {
|
|
10
10
|
constructor() {
|
|
11
11
|
super();
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.__attachShadow();
|
|
14
|
-
this.headingLevel = undefined;
|
|
15
|
-
this.multiple = false;
|
|
16
14
|
}
|
|
17
15
|
accordionItems;
|
|
18
16
|
expandedItems = new Set();
|
|
19
17
|
get host() { return this; }
|
|
18
|
+
/**
|
|
19
|
+
* Defines the hierarchical level of the `post-accordion-item` headers within the headings structure.
|
|
20
|
+
*/
|
|
21
|
+
headingLevel;
|
|
20
22
|
validateHeadingLevel(newValue = this.headingLevel) {
|
|
21
23
|
if (!newValue)
|
|
22
24
|
return;
|
|
@@ -25,6 +27,10 @@ const PostAccordion = /*@__PURE__*/ proxyCustomElement(class PostAccordion exten
|
|
|
25
27
|
item.setAttribute('heading-level', String(newValue));
|
|
26
28
|
});
|
|
27
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* If `true`, multiple `post-accordion-item` can be open at the same time.
|
|
32
|
+
*/
|
|
33
|
+
multiple = false;
|
|
28
34
|
componentWillLoad() {
|
|
29
35
|
this.registerAccordionItems();
|
|
30
36
|
this.validateHeadingLevel();
|
|
@@ -96,7 +102,7 @@ const PostAccordion = /*@__PURE__*/ proxyCustomElement(class PostAccordion exten
|
|
|
96
102
|
});
|
|
97
103
|
}
|
|
98
104
|
render() {
|
|
99
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '8c3ff1ccd37541dd906f9f7dddfdad241f9a29ee', "data-version": version }, h("div", { key: '331a8c56a9b2e4497cf6b7e7a7c80f6eb500bf7f', class: "accordion" }, h("slot", { key: 'a59cab01203187c5ed9b0766f5181aef8e1baf63', onSlotchange: () => this.registerAccordionItems() }))));
|
|
100
106
|
}
|
|
101
107
|
static get watchers() { return {
|
|
102
108
|
"headingLevel": ["validateHeadingLevel"]
|
|
@@ -1,13 +1,31 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { d as defineCustomElement$1 } from './
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-3e8554e7.js';
|
|
2
|
+
import { v as version } from './p-74e13cb1.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-fcec301c.js';
|
|
4
4
|
|
|
5
5
|
const postRatingCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:inline-block}.rating{display:flex;flex-wrap:wrap;overflow:hidden;margin:0 calc(var(--post-core-dimension-4)*-1);border-radius:4px}.rating .star{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fff;position:relative;width:2rem;height:2rem;cursor:pointer}.rating .star .stroke,.rating .star .fill{display:block;width:100%;height:100%;transition:all ease 100ms}.rating .star .stroke{position:absolute;inset:auto;z-index:1;color:var(--post-rating-star-stroke)}.rating .star .fill{margin:1px;width:calc(100% - 2px);height:calc(100% - 2px);color:var(--post-rating-star-fill)}.rating .star.before-hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.active{--post-rating-star-stroke:hsl(0, 0%, 20%);--post-rating-star-fill:#fc0}.rating .star.hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.after-active{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:hsl(0, 0%, 80%)}.rating :focus{outline:none}.rating:focus-visible{outline-offset:var(--post-core-dimension-2);outline:var(--post-core-dimension-2) solid #1976c8}.rating[aria-readonly=true] .star,.rating[aria-disabled=true] .star{cursor:default}.rating[aria-disabled=true] .star{--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:#fff}.rating[aria-disabled=true] .star.active{cursor:default;--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:hsl(0, 0%, 90%)}";
|
|
6
6
|
const PostRatingStyle0 = postRatingCss;
|
|
7
7
|
|
|
8
|
-
const PostRating = /*@__PURE__*/ proxyCustomElement(class PostRating extends
|
|
8
|
+
const PostRating = /*@__PURE__*/ proxyCustomElement(class PostRating extends H {
|
|
9
9
|
hasChanged = false;
|
|
10
10
|
get host() { return this; }
|
|
11
|
+
hoveredIndex;
|
|
12
|
+
/**
|
|
13
|
+
* Defines a hidden label for the component.
|
|
14
|
+
*/
|
|
15
|
+
label = 'Rating';
|
|
16
|
+
/**
|
|
17
|
+
* Defines the total amount of stars rendered in the component.
|
|
18
|
+
*/
|
|
19
|
+
stars = 5;
|
|
20
|
+
/**
|
|
21
|
+
* Defines the rating that the component should show.
|
|
22
|
+
*/
|
|
23
|
+
currentRating = 0;
|
|
24
|
+
/**
|
|
25
|
+
* Defines if the component is readonly or not.
|
|
26
|
+
* This usually should be used together with the `currentRating` property.
|
|
27
|
+
*/
|
|
28
|
+
readonly = false;
|
|
11
29
|
/**
|
|
12
30
|
* An event emitted whenever the component's value has changed (on input).
|
|
13
31
|
* The event payload can be used like so: `event.detail.value`.
|
|
@@ -24,11 +42,6 @@ const PostRating = /*@__PURE__*/ proxyCustomElement(class PostRating extends HTM
|
|
|
24
42
|
this.__attachShadow();
|
|
25
43
|
this.postInput = createEvent(this, "postInput", 7);
|
|
26
44
|
this.postChange = createEvent(this, "postChange", 7);
|
|
27
|
-
this.hoveredIndex = undefined;
|
|
28
|
-
this.label = 'Rating';
|
|
29
|
-
this.stars = 5;
|
|
30
|
-
this.currentRating = 0;
|
|
31
|
-
this.readonly = false;
|
|
32
45
|
this.keydownHandler = this.keydownHandler.bind(this);
|
|
33
46
|
this.blurHandler = this.blurHandler.bind(this);
|
|
34
47
|
this.hoverHandler = this.hoverHandler.bind(this);
|
|
@@ -85,7 +98,7 @@ const PostRating = /*@__PURE__*/ proxyCustomElement(class PostRating extends HTM
|
|
|
85
98
|
}
|
|
86
99
|
}
|
|
87
100
|
render() {
|
|
88
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: '64891ff9f0ef8f7bc2be5df9e989577830b35ffc', "data-version": version }, h("div", { key: 'b4e7050864265e33e08b88fc3d5c8eea3cf6ab0e', role: "slider", class: "rating", tabindex: "0", "aria-label": this.label, "aria-valuemin": "0", "aria-valuemax": this.stars, "aria-valuenow": this.currentRating, "aria-valuetext": `${this.currentRating} out of ${this.stars}`, "aria-readonly": this.readonly ? 'true' : 'false', onKeyDown: this.keydownHandler, onBlur: this.blurHandler }, Array.from({ length: this.stars }).map((v, i) => (h("div", { key: `star-${v}`, "aria-hidden": "true", class: {
|
|
89
102
|
'star': true,
|
|
90
103
|
'before-hover': i < this.hoveredIndex,
|
|
91
104
|
'active': i < Math.round(this.currentRating),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { d as defineCustomElement$4 } from './
|
|
4
|
-
import { d as defineCustomElement$3 } from './
|
|
5
|
-
import { d as defineCustomElement$2 } from './
|
|
6
|
-
import { d as defineCustomElement$1 } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-3e8554e7.js';
|
|
2
|
+
import { v as version } from './p-74e13cb1.js';
|
|
3
|
+
import { d as defineCustomElement$4 } from './p-f60c925d.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './p-10c1a15a.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './p-5366ff92.js';
|
|
6
|
+
import { d as defineCustomElement$1 } from './p-fcec301c.js';
|
|
7
7
|
|
|
8
8
|
class Breakpoint {
|
|
9
9
|
breakpointMap;
|
|
@@ -58,15 +58,18 @@ const breakpoint = new Breakpoint();
|
|
|
58
58
|
const postFooterCss = ":host{display:block}footer{background-color:#fc0;--post-footer-container-padding-block:32px;--post-footer-container-padding-inline:16px;--post-footer-container-max-width:1200px;--post-footer-grid-template:auto / auto;--post-footer-grid-row-gap:0;--post-footer-grid-column-gap:0;--post-footer-grid-margin-block-end:24px;--post-footer-grid-padding-block-end:0;--post-footer-column-flex-direction:column;--post-footer-column-align-items:start;--post-footer-column-gap:0;--post-footer-post-list-flex-direction:column;--post-footer-post-list-gap:8px;--post-footer-post-list-align-items:start;--post-footer-socialmedia-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-app-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-businesssectors-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-meta-margin-block-end:16px;--post-footer-meta-font-size:inherit;--post-footer-copyright-font-size:var(--post-footer-meta-font-size)}@media screen and (min-width: 600px){footer{--post-footer-container-padding-block:40px;--post-footer-grid-template:repeat(2, auto) / repeat(2, auto);--post-footer-grid-row-gap:32px;--post-footer-grid-column-gap:16px;--post-footer-grid-margin-block-end:32px;--post-footer-grid-padding-block-end:32px;--post-footer-post-list-flex-direction:row;--post-footer-post-list-gap:16px;--post-footer-post-list-align-items:center;--post-footer-meta-margin-block-end:8px}}@media screen and (min-width: 780px){footer{--post-footer-container-padding-inline:40px}}@media screen and (min-width: 1024px){footer{--post-footer-container-padding-block:56px;--post-footer-grid-template:auto / repeat(4, auto);--post-footer-grid-row-gap:0;--post-footer-grid-column-gap:24px;--post-footer-grid-margin-block-end:40px;--post-footer-column-flex-direction:row;--post-footer-column-align-items:center;--post-footer-column-gap:32px;--post-footer-post-list-gap:24px;--post-footer-businesssectors-margin-block-end:24px;--post-footer-meta-font-size:16px}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.footer-container{box-sizing:content-box;margin:0 auto;padding:var(--post-footer-container-padding-block) var(--post-footer-container-padding-inline);max-width:var(--post-footer-container-max-width)}.footer-grid{display:grid;grid-template:var(--post-footer-grid-template);row-gap:var(--post-footer-grid-row-gap);column-gap:var(--post-footer-grid-column-gap);margin-block-end:var(--post-footer-grid-margin-block-end);padding-block-end:var(--post-footer-grid-padding-block-end)}.footer-grid ::part(button),.footer-grid ::part(body){padding-inline:0}.footer-column{display:flex;flex-direction:var(--post-footer-column-flex-direction);flex-wrap:wrap;justify-content:space-between;align-items:var(--post-footer-column-align-items);column-gap:var(--post-footer-column-gap)}.footer-socialmedia ::slotted(post-list),.footer-app ::slotted(post-list),.footer-businesssectors ::slotted(post-list),.footer-meta ::slotted(post-list){display:flex !important;flex-direction:var(--post-footer-post-list-flex-direction) !important;gap:var(--post-footer-post-list-gap) !important;align-items:var(--post-footer-post-list-align-items) !important}.footer-socialmedia{margin-block-end:var(--post-footer-socialmedia-margin-block-end)}.footer-app{margin-block-end:var(--post-footer-app-margin-block-end)}.footer-businesssectors{margin-block-end:var(--post-footer-businesssectors-margin-block-end)}.footer-meta{margin-block-end:var(--post-footer-meta-margin-block-end);font-size:var(--post-footer-meta-font-size)}.footer-copyright{display:flex;flex-wrap:wrap;column-gap:.5rem;font-size:var(--post-footer-copyright-font-size)}";
|
|
59
59
|
const PostFooterStyle0 = postFooterCss;
|
|
60
60
|
|
|
61
|
-
const PostFooter = /*@__PURE__*/ proxyCustomElement(class PostFooter extends
|
|
61
|
+
const PostFooter = /*@__PURE__*/ proxyCustomElement(class PostFooter extends H {
|
|
62
62
|
constructor() {
|
|
63
63
|
super();
|
|
64
64
|
this.__registerHost();
|
|
65
65
|
this.__attachShadow();
|
|
66
|
-
this.label = undefined;
|
|
67
|
-
this.isMobile = breakpoint.get('name') === 'mobile';
|
|
68
66
|
}
|
|
69
67
|
get host() { return this; }
|
|
68
|
+
/**
|
|
69
|
+
* The label to add to the footer (visually hidden).
|
|
70
|
+
*/
|
|
71
|
+
label;
|
|
72
|
+
isMobile = breakpoint.get('name') === 'mobile';
|
|
70
73
|
connectedCallback() {
|
|
71
74
|
window.addEventListener('postBreakpoint:name', this.breakpointChange.bind(this));
|
|
72
75
|
}
|
|
@@ -80,7 +83,7 @@ const PostFooter = /*@__PURE__*/ proxyCustomElement(class PostFooter extends HTM
|
|
|
80
83
|
return (h("div", { class: "footer-grid" }, h("div", null, h("slot", { name: "grid-1" })), h("div", null, h("slot", { name: "grid-2" })), h("div", null, h("slot", { name: "grid-3" })), h("div", null, h("slot", { name: "grid-4" }))));
|
|
81
84
|
}
|
|
82
85
|
render() {
|
|
83
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: '14370a1cfd730a0b0353c88c95f265aefb57c480', "data-version": version }, h("footer", { key: '7208e9d465eb0b469887e7cfae66674db2092dbd' }, h("h2", { key: 'b392c866326374ae27704baaba0dd28c3001ee62', class: "visually-hidden" }, this.label), h("div", { key: '13411ad6e0b55ee17cf9bf77b155aa1c2810f057', class: "footer-container" }, this.isMobile ? this.renderAccordion() : this.renderGrid(), h("div", { key: '4815ae94cd43eca92482ad3c93f107243b26890e', class: "footer-column" }, h("div", { key: 'edc787dc5fc96169c323f15254b6088024a6f19d', class: "footer-socialmedia" }, h("slot", { key: '0971e342ac6f3913c408a535ce0746080e3f57af', name: "socialmedia" })), h("div", { key: 'da583c9ed819181bf2732277f4e6ee22df2e3022', class: "footer-app" }, h("slot", { key: 'b6dab5cfa1f4dc9c049f24d3e08416ef5a27e0aa', name: "app" }))), h("div", { key: '53a5c04129d24dfb64eedd46e95b5c78142a3fd7', class: "footer-businesssectors" }, h("slot", { key: '470f4294778b8978bf6eb168e2b47ff29ef43d07', name: "businesssectors" })), h("div", { key: '45d734ded794352b951f2891bbdba081e05a99d5', class: "footer-meta" }, h("slot", { key: '4d0da53c2eb79e111f0f05278a0972f046eebfa9', name: "meta" })), h("div", { key: 'f95fb7ed3cc09218a3d4a554c619b6f379d5135d', class: "footer-copyright" }, h("slot", { key: '9cdcec805152413693dced0f0d55ac1b1121c70e', name: "copyright" }))))));
|
|
84
87
|
}
|
|
85
88
|
disconnectedCallback() {
|
|
86
89
|
window.removeEventListener('postBreakpoint:name', this.breakpointChange.bind(this));
|
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { n as nanoid } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-3e8554e7.js';
|
|
2
|
+
import { v as version } from './p-74e13cb1.js';
|
|
3
|
+
import { n as nanoid } from './p-5959f2bd.js';
|
|
4
4
|
|
|
5
5
|
const postTabPanelCss = ":host{display:none}";
|
|
6
6
|
const PostTabPanelStyle0 = postTabPanelCss;
|
|
7
7
|
|
|
8
|
-
const PostTabPanel = /*@__PURE__*/ proxyCustomElement(class PostTabPanel extends
|
|
8
|
+
const PostTabPanel = /*@__PURE__*/ proxyCustomElement(class PostTabPanel extends H {
|
|
9
9
|
constructor() {
|
|
10
10
|
super();
|
|
11
11
|
this.__registerHost();
|
|
12
12
|
this.__attachShadow();
|
|
13
|
-
this.panelId = undefined;
|
|
14
|
-
this.name = undefined;
|
|
15
13
|
}
|
|
16
14
|
get host() { return this; }
|
|
15
|
+
panelId;
|
|
16
|
+
/**
|
|
17
|
+
* The name of the panel, used to associate it with a tab header.
|
|
18
|
+
*/
|
|
19
|
+
name;
|
|
17
20
|
componentWillLoad() {
|
|
18
21
|
// get the id set on the host element or use a random id by default
|
|
19
22
|
this.panelId = `panel-${this.host.id || nanoid(6)}`;
|
|
20
23
|
}
|
|
21
24
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '9d35c9ceec54f1c2983600342e5e63a49ca93aef', "data-version": version, id: this.panelId, role: "tabpanel" }, h("slot", { key: '8db185ca7a2030343df512962126a91f64840a64' })));
|
|
23
26
|
}
|
|
24
27
|
static get style() { return PostTabPanelStyle0; }
|
|
25
28
|
}, [1, "post-tab-panel", {
|
|
@@ -1,20 +1,31 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { d as defineCustomElement$1 } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-3e8554e7.js';
|
|
2
|
+
import { v as version } from './p-74e13cb1.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-fcec301c.js';
|
|
4
4
|
|
|
5
5
|
const postTagCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.tag,.tag:where(:has(:not(pre))){--post-tag-bg:hsl(0, 0%, 90%);--post-tag-fg:#000;display:inline-flex;align-items:center;gap:var(--post-core-dimension-4);padding:0 var(--post-core-dimension-8);max-width:100%;background-color:var(--post-tag-bg);border:var(--post-core-dimension-1) solid rgba(0,0,0,0);border-radius:var(--post-core-dimension-4);font-size:1rem;line-height:calc(var(--post-core-dimension-32) - var(--post-core-dimension-1)*2);white-space:nowrap;color:var(--post-tag-fg)}.tag post-icon,.tag:where(:has(:not(pre))) post-icon{flex:0 0 auto;width:1.25rem;height:1.25rem}.tag .tag-text,.tag:where(:has(:not(pre))) .tag-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag .tag-text svg,.tag .tag-text img,.tag:where(:has(:not(pre))) .tag-text svg,.tag:where(:has(:not(pre))) .tag-text img{display:inline-block;height:1.25rem !important;vertical-align:text-top}.tag.tag-sm,.tag:where(:has(:not(pre))).tag-sm{line-height:var(--post-core-dimension-24)}.tag.tag-sm .tag-icon,.tag:where(:has(:not(pre))).tag-sm .tag-icon{width:1rem;height:1rem}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{--post-tag-bg:#fff;--post-tag-fg:#000}.tag.tag-yellow,.tag:where(:has(:not(pre))).tag-yellow{--post-tag-bg:#fc0;--post-tag-fg:#000}.tag.tag-success,.tag:where(:has(:not(pre))).tag-success{--post-tag-bg:#2c871d;--post-tag-fg:#fff}.tag.tag-warning,.tag:where(:has(:not(pre))).tag-warning{--post-tag-bg:#f49e00;--post-tag-fg:#000}.tag.tag-danger,.tag:where(:has(:not(pre))).tag-danger{--post-tag-bg:#a51728;--post-tag-fg:#fff}.tag.tag-info,.tag:where(:has(:not(pre))).tag-info{--post-tag-bg:#cce4ee;--post-tag-fg:#000}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{border-color:#000}pre .tag,pre .tag:where(:has(:not(pre))){display:inline;padding:initial;max-width:initial;background:initial;border:initial;border-radius:initial;font-size:inherit;line-height:inherit;white-space:unset}*,*:before,*:after{box-sizing:border-box}.tag-text ::slotted(svg),.tag-text ::slotted(img){display:inline-block !important;height:1.25rem !important;vertical-align:text-top !important}";
|
|
6
6
|
const PostTagStyle0 = postTagCss;
|
|
7
7
|
|
|
8
|
-
const PostTag = /*@__PURE__*/ proxyCustomElement(class PostTag extends
|
|
8
|
+
const PostTag = /*@__PURE__*/ proxyCustomElement(class PostTag extends H {
|
|
9
9
|
get host() { return this; }
|
|
10
|
+
classes;
|
|
11
|
+
/**
|
|
12
|
+
* Defines the color variant of the component.
|
|
13
|
+
*/
|
|
14
|
+
variant;
|
|
15
|
+
/**
|
|
16
|
+
* Defines the size of the component.
|
|
17
|
+
*/
|
|
18
|
+
size = null;
|
|
19
|
+
/**
|
|
20
|
+
* Defines the icon `name` inside of the component.
|
|
21
|
+
* <span className="banner banner-sm banner-info">If not set the icon will not show up.</span>
|
|
22
|
+
* To learn which icons are available, please visit our <a href="/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs">icon library</a>.
|
|
23
|
+
*/
|
|
24
|
+
icon = null;
|
|
10
25
|
constructor() {
|
|
11
26
|
super();
|
|
12
27
|
this.__registerHost();
|
|
13
28
|
this.__attachShadow();
|
|
14
|
-
this.classes = undefined;
|
|
15
|
-
this.variant = undefined;
|
|
16
|
-
this.size = null;
|
|
17
|
-
this.icon = null;
|
|
18
29
|
this.setClasses = this.setClasses.bind(this);
|
|
19
30
|
}
|
|
20
31
|
variantChanged() {
|
|
@@ -36,7 +47,7 @@ const PostTag = /*@__PURE__*/ proxyCustomElement(class PostTag extends HTMLEleme
|
|
|
36
47
|
this.setClasses();
|
|
37
48
|
}
|
|
38
49
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'fd03781bfdcfaa3776677f8d95e8b1a74de24c1e', "data-version": version }, h("div", { key: '0a22b98ea9c75d4a09680e2abe980bd0e4935172', class: this.classes }, this.icon ? h("post-icon", { name: this.icon }) : null, h("div", { key: 'ddda0c15ce644e311b8061283d83619667264ec4', class: "tag-text" }, h("slot", { key: '30fb04c5e80f46e7cb560f9489791d8bcd7b45b0' })))));
|
|
40
51
|
}
|
|
41
52
|
static get watchers() { return {
|
|
42
53
|
"variant": ["variantChanged"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as EMPTY_VALUES } from './
|
|
2
|
-
import { c as checkOneOf } from './
|
|
3
|
-
import { c as checkType } from './
|
|
1
|
+
import { E as EMPTY_VALUES } from './p-440193f4.js';
|
|
2
|
+
import { c as checkOneOf } from './p-bacd3e2c.js';
|
|
3
|
+
import { c as checkType } from './p-8562c7dc.js';
|
|
4
4
|
|
|
5
5
|
function emptyOr(check) {
|
|
6
6
|
return (...args) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { f as fadeOut, a as fadeIn } from './
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-3e8554e7.js';
|
|
2
|
+
import { v as version } from './p-74e13cb1.js';
|
|
3
|
+
import { f as fadeOut, a as fadeIn } from './p-64e3de38.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Invoke the `componentOnReady` method if it is available, simulate it otherwise
|
|
@@ -26,13 +26,12 @@ function customOnReady(callback) {
|
|
|
26
26
|
const postTabsCss = ".tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(0,0,0,.02)}.tabs-wrapper::after{content:\"\";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}.tabs::after{content:\"\";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}:host{display:block}";
|
|
27
27
|
const PostTabsStyle0 = postTabsCss;
|
|
28
28
|
|
|
29
|
-
const PostTabs = /*@__PURE__*/ proxyCustomElement(class PostTabs extends
|
|
29
|
+
const PostTabs = /*@__PURE__*/ proxyCustomElement(class PostTabs extends H {
|
|
30
30
|
constructor() {
|
|
31
31
|
super();
|
|
32
32
|
this.__registerHost();
|
|
33
33
|
this.__attachShadow();
|
|
34
34
|
this.postChange = createEvent(this, "postChange", 7);
|
|
35
|
-
this.activePanel = undefined;
|
|
36
35
|
}
|
|
37
36
|
activeTab;
|
|
38
37
|
showing;
|
|
@@ -42,6 +41,13 @@ const PostTabs = /*@__PURE__*/ proxyCustomElement(class PostTabs extends HTMLEle
|
|
|
42
41
|
return Array.from(this.host.querySelectorAll('post-tab-header')).filter(tab => tab.closest('post-tabs') === this.host);
|
|
43
42
|
}
|
|
44
43
|
get host() { return this; }
|
|
44
|
+
/**
|
|
45
|
+
* The name of the panel that is initially shown.
|
|
46
|
+
* If not specified, it defaults to the panel associated with the first tab.
|
|
47
|
+
*
|
|
48
|
+
* **Changing this value after initialization has no effect.**
|
|
49
|
+
*/
|
|
50
|
+
activePanel;
|
|
45
51
|
/**
|
|
46
52
|
* An event emitted after the active tab changes, when the fade in transition of its associated panel is finished.
|
|
47
53
|
* The payload is the name of the newly shown panel.
|
|
@@ -172,7 +178,7 @@ const PostTabs = /*@__PURE__*/ proxyCustomElement(class PostTabs extends HTMLEle
|
|
|
172
178
|
nextTab.focus();
|
|
173
179
|
}
|
|
174
180
|
render() {
|
|
175
|
-
return (h(Host, { key: '
|
|
181
|
+
return (h(Host, { key: '7c81cd091603a01d960ecc2aed9653d0031dd16e', "data-version": version }, h("div", { key: '716a9f1e05a7ffeca8459e6a88ce4b56364b50ec', class: "tabs-wrapper", part: "tabs" }, h("div", { key: 'b41b35b26e0e1ef1e285719975841aefbdc4a8e1', class: "tabs", role: "tablist" }, h("slot", { key: '065b3a6ecfba2710a344b44cc6d5e73beb0655df', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: 'f30ce2c568071c8f144ba50e62b48a1294207c63', class: "tab-content", part: "content" }, h("slot", { key: 'c71155abdf95343990b2ee85592e7a995f58d05e', onSlotchange: () => this.moveMisplacedTabs() }))));
|
|
176
182
|
}
|
|
177
183
|
static get style() { return PostTabsStyle0; }
|
|
178
184
|
}, [1, "post-tabs", {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { proxyCustomElement,
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { d as defineCustomElement$1 } from './
|
|
1
|
+
import { p as proxyCustomElement, H, h, c as Host } from './p-3e8554e7.js';
|
|
2
|
+
import { v as version } from './p-74e13cb1.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-fcec301c.js';
|
|
4
4
|
|
|
5
|
-
const PostClosebutton = /*@__PURE__*/ proxyCustomElement(class PostClosebutton extends
|
|
5
|
+
const PostClosebutton = /*@__PURE__*/ proxyCustomElement(class PostClosebutton extends H {
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
9
|
}
|
|
10
10
|
get host() { return this; }
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'c03f50379252ba13992bc3d021989ac07dba9f79', "data-version": version }, h("button", { key: 'e97a86bb6e1eace89a1a3a78fb231047f065dd5e', class: "btn btn-icon-close", type: "button" }, h("post-icon", { key: 'aca522d4c251a8183c91c2bd4d810d0716a2fe13', "aria-hidden": "true", name: "closex" }), h("span", { key: '6873522961b1683d1261163b07ee022f93eed836', class: "visually-hidden" }, h("slot", { key: 'bf4b13356c9a0164f1481d1fedc3a78a53e5f8e0' })))));
|
|
13
13
|
}
|
|
14
14
|
}, [4, "post-closebutton"]);
|
|
15
15
|
function defineCustomElement() {
|