@swisspost/design-system-components 9.0.0-next.14 → 9.0.0-next.16
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/{check-url-1cf6fb0d.js → check-url-1ff4cf75.js} +2 -2
- package/dist/cjs/{index-0ee3ab4a.js → index-5acef487.js} +151 -325
- package/dist/cjs/{index-bea4ac42.js → index-f2eedfeb.js} +1 -1
- package/dist/cjs/index.cjs.js +23 -23
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-7d11b6ea.js → package-df497c3c.js} +1 -1
- package/dist/cjs/{post-accordion-29861d97.js → post-accordion-6f5ddd51.js} +4 -10
- package/dist/cjs/{post-accordion-item-0da0f7aa.js → post-accordion-item-ff9179d7.js} +7 -14
- package/dist/cjs/post-accordion-item.cjs.entry.js +5 -5
- package/dist/cjs/post-accordion.cjs.entry.js +3 -3
- package/dist/cjs/{post-avatar-01b9cd6d.js → post-avatar-7fde1cbe.js} +11 -23
- package/dist/cjs/post-avatar.cjs.entry.js +3 -3
- package/dist/cjs/{post-back-to-top-9a5647f7.js → post-back-to-top-5aeed9be.js} +4 -8
- package/dist/cjs/post-back-to-top.cjs.entry.js +3 -3
- package/dist/cjs/{post-banner-33929088.js → post-banner-c09c7292.js} +12 -26
- package/dist/cjs/post-banner.cjs.entry.js +5 -5
- package/dist/cjs/{post-breadcrumb-1384018e.js → post-breadcrumb-f661fea8.js} +8 -14
- package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +5 -5
- package/dist/cjs/post-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/{post-card-control-4c85eda3.js → post-card-control-d2b3647f.js} +12 -43
- package/dist/cjs/post-card-control.cjs.entry.js +3 -3
- package/dist/cjs/post-closebutton_15.cjs.entry.js +5 -5
- package/dist/cjs/{post-collapsible-trigger-0fb2596a.js → post-collapsible-trigger-d9b42b81.js} +5 -11
- package/dist/cjs/post-collapsible_2.cjs.entry.js +5 -5
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/{post-footer-f621a563.js → post-footer-1c85ec39.js} +4 -7
- package/dist/cjs/post-footer.cjs.entry.js +3 -3
- package/dist/cjs/{post-linkarea-865079c1.js → post-linkarea-d10a7588.js} +2 -2
- package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
- package/dist/cjs/{post-menu-item-ab3e2e7e.js → post-menu-item-ed70f804.js} +4 -7
- package/dist/cjs/{post-popover-a2ba9226.js → post-popover-73033a78.js} +5 -17
- package/dist/cjs/post-popover.cjs.entry.js +3 -3
- package/dist/cjs/{post-rating-c402c294.js → post-rating-5d7d52a2.js} +7 -20
- package/dist/cjs/post-rating.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-header-c819517d.js → post-tab-header-ae6a3dcd.js} +4 -7
- package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-panel-3cb207f3.js → post-tab-panel-f6127d6a.js} +4 -7
- package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/{post-tabs-b6fa39c3.js → post-tabs-977e62c3.js} +3 -9
- package/dist/cjs/post-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{post-tag-9c366519.js → post-tag-a7684644.js} +6 -17
- package/dist/cjs/post-tag.cjs.entry.js +3 -3
- package/dist/cjs/{post-togglebutton-d49bec2c.js → post-togglebutton-2fdebbc7.js} +70 -159
- package/dist/cjs/{post-tooltip-425c01ba.js → post-tooltip-261f3348.js} +6 -17
- package/dist/cjs/post-tooltip.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/post-accordion/post-accordion.js +4 -12
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +6 -15
- package/dist/collection/components/post-avatar/post-avatar.js +11 -29
- package/dist/collection/components/post-back-to-top/post-back-to-top.js +4 -8
- package/dist/collection/components/post-banner/post-banner.js +11 -31
- package/dist/collection/components/post-breadcrumb/post-breadcrumb.js +7 -15
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +3 -6
- package/dist/collection/components/post-card-control/post-card-control.js +10 -59
- package/dist/collection/components/post-collapsible/post-collapsible.js +3 -6
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +3 -6
- package/dist/collection/components/post-footer/post-footer.js +4 -7
- package/dist/collection/components/post-header/post-header.css +1 -1
- package/dist/collection/components/post-header/post-header.js +15 -5
- package/dist/collection/components/post-icon/post-icon.js +9 -42
- package/dist/collection/components/post-language-option/post-language-option.css +1 -1
- package/dist/collection/components/post-language-option/post-language-option.js +7 -31
- package/dist/collection/components/post-language-switch/post-language-switch.css +1 -1
- package/dist/collection/components/post-language-switch/post-language-switch.js +8 -24
- package/dist/collection/components/post-list/post-list.js +5 -16
- package/dist/collection/components/post-logo/post-logo.js +3 -6
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +5 -3
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +10 -11
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +4 -10
- package/dist/collection/components/post-menu/post-menu.js +4 -14
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +4 -10
- package/dist/collection/components/post-popover/post-popover.js +3 -21
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +6 -26
- package/dist/collection/components/post-rating/post-rating.js +5 -26
- package/dist/collection/components/post-tab-header/post-tab-header.js +4 -7
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +4 -7
- package/dist/collection/components/post-tabs/post-tabs.js +3 -9
- package/dist/collection/components/post-tag/post-tag.js +4 -21
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +3 -6
- package/dist/collection/components/post-tooltip/post-tooltip.js +5 -20
- package/dist/collection/utils/get-focusable-children.js +7 -1
- package/dist/collection/utils/property-checkers/check-url.js +2 -2
- package/{loaders/p-b095519d.js → dist/components/check-non-empty.js} +1 -1
- package/{loaders/p-3aba7629.js → dist/components/get-focusable-children.js} +7 -1
- package/dist/components/index.js +36 -36
- package/dist/components/{p-eabb09ad.js → index2.js} +5 -5
- package/dist/components/package.js +3 -0
- package/dist/components/post-accordion-item.js +1 -1
- package/{loaders/p-83baa315.js → dist/components/post-accordion-item2.js} +13 -20
- package/dist/components/post-accordion.js +1 -1
- package/dist/components/{p-a3a004e6.js → post-accordion2.js} +7 -13
- package/dist/components/post-avatar.js +1 -1
- package/dist/components/{p-d3fb70af.js → post-avatar2.js} +13 -25
- package/dist/components/post-back-to-top.js +1 -1
- package/dist/components/{p-e20366a6.js → post-back-to-top2.js} +9 -13
- package/dist/components/post-banner.js +1 -1
- package/dist/components/{p-4965cfe1.js → post-banner2.js} +18 -32
- package/dist/components/post-breadcrumb-item.js +1 -1
- package/{loaders/p-1beacb73.js → dist/components/post-breadcrumb-item2.js} +6 -9
- package/dist/components/post-breadcrumb.js +1 -1
- package/dist/components/{p-146677d1.js → post-breadcrumb2.js} +18 -24
- package/dist/components/post-card-control.js +1 -1
- package/dist/components/{p-38778a14.js → post-card-control2.js} +16 -47
- package/dist/components/post-closebutton.js +1 -1
- package/dist/components/{p-bf14d264.js → post-closebutton2.js} +4 -4
- package/dist/components/post-collapsible-trigger.js +1 -1
- package/{loaders/p-05590ac0.js → dist/components/post-collapsible-trigger2.js} +8 -11
- package/dist/components/post-collapsible.js +1 -1
- package/dist/components/{p-b018d864.js → post-collapsible2.js} +5 -8
- package/dist/components/post-footer.js +1 -1
- package/dist/components/{p-58878996.js → post-footer2.js} +9 -12
- package/dist/components/post-header.js +1 -1
- package/dist/components/{p-424d5ea9.js → post-header2.js} +21 -13
- package/dist/components/post-icon.js +1 -1
- package/dist/components/{p-91031e3b.js → post-icon2.js} +13 -34
- package/dist/components/post-language-option.js +1 -1
- package/dist/components/{p-d47bb5bf.js → post-language-option2.js} +11 -27
- package/dist/components/post-language-switch.js +1 -1
- package/dist/components/{p-f6d80d76.js → post-language-switch2.js} +17 -29
- package/dist/components/post-linkarea.js +1 -1
- package/dist/components/{p-5653923a.js → post-linkarea2.js} +3 -3
- package/dist/components/post-list-item.js +1 -1
- package/dist/components/{p-9e4b1f10.js → post-list-item2.js} +2 -2
- package/dist/components/post-list.js +1 -1
- package/dist/components/{p-536eba02.js → post-list2.js} +7 -16
- package/dist/components/post-logo.js +1 -1
- package/dist/components/{p-5f51ec58.js → post-logo2.js} +5 -8
- package/dist/components/post-mainnavigation.js +1 -1
- package/dist/components/{p-1ee1742f.js → post-mainnavigation2.js} +7 -7
- package/dist/components/post-megadropdown-trigger.js +1 -1
- package/dist/components/{p-27edc023.js → post-megadropdown-trigger2.js} +6 -12
- package/dist/components/post-megadropdown.js +1 -1
- package/dist/components/{p-46a6c5ec.js → post-megadropdown2.js} +12 -15
- package/dist/components/post-menu-item.js +1 -1
- package/{loaders/p-ccccf0c3.js → dist/components/post-menu-item2.js} +3 -3
- package/dist/components/post-menu-trigger.js +1 -1
- package/dist/components/{p-8b053fd5.js → post-menu-trigger2.js} +7 -13
- package/dist/components/post-menu.js +1 -1
- package/{loaders/p-91882483.js → dist/components/post-menu2.js} +8 -18
- package/dist/components/post-popover.js +1 -1
- package/dist/components/{p-af23f7de.js → post-popover2.js} +8 -20
- package/dist/components/post-popovercontainer.js +1 -1
- package/{loaders/p-60cf53cc.js → dist/components/post-popovercontainer2.js} +7 -21
- package/dist/components/post-rating.js +1 -1
- package/dist/components/{p-fc59de7c.js → post-rating2.js} +9 -22
- package/dist/components/post-tab-header.js +1 -1
- package/dist/components/{p-75b8b652.js → post-tab-header2.js} +7 -10
- package/dist/components/post-tab-panel.js +1 -1
- package/dist/components/{p-78e1d893.js → post-tab-panel2.js} +6 -9
- package/dist/components/post-tabs.js +1 -1
- package/dist/components/{p-ce854a7d.js → post-tabs2.js} +5 -11
- package/dist/components/post-tag.js +1 -1
- package/dist/components/{p-cab43cee.js → post-tag2.js} +8 -19
- package/dist/components/post-togglebutton.js +1 -1
- package/dist/components/{p-3cee636a.js → post-togglebutton2.js} +5 -8
- package/dist/components/post-tooltip.js +1 -1
- package/dist/components/{p-2d9b46b4.js → post-tooltip2.js} +9 -20
- package/dist/docs.d.ts +0 -8
- package/dist/docs.json +73 -213
- package/dist/esm/{check-url-0bd876f7.js → check-url-8ab230de.js} +2 -2
- package/dist/esm/{index-d1bbbd88.js → index-0aec278f.js} +1 -1
- package/dist/esm/{index-2c232bf2.js → index-40846676.js} +151 -325
- package/dist/esm/index.js +23 -23
- package/dist/esm/loader.js +2 -2
- package/dist/esm/package-2d498679.js +3 -0
- package/dist/esm/{post-accordion-49fba403.js → post-accordion-58353f4e.js} +4 -10
- package/dist/esm/{post-accordion-item-c516517a.js → post-accordion-item-d5de3401.js} +7 -14
- package/dist/esm/post-accordion-item.entry.js +5 -5
- package/dist/esm/post-accordion.entry.js +3 -3
- package/dist/esm/{post-avatar-b527ac63.js → post-avatar-15f11d92.js} +11 -23
- package/dist/esm/post-avatar.entry.js +3 -3
- package/dist/esm/{post-back-to-top-f514c1f0.js → post-back-to-top-9d976592.js} +4 -8
- package/dist/esm/post-back-to-top.entry.js +3 -3
- package/dist/esm/{post-banner-0ad7758b.js → post-banner-26fce014.js} +12 -26
- package/dist/esm/post-banner.entry.js +5 -5
- package/dist/esm/{post-breadcrumb-57bca9dd.js → post-breadcrumb-de7e3ac6.js} +8 -14
- package/dist/esm/post-breadcrumb-item_2.entry.js +5 -5
- package/dist/esm/post-breadcrumb.entry.js +4 -4
- package/dist/esm/{post-card-control-ea741f60.js → post-card-control-6b0100b5.js} +12 -43
- package/dist/esm/post-card-control.entry.js +3 -3
- package/dist/esm/post-closebutton_15.entry.js +5 -5
- package/dist/esm/{post-collapsible-trigger-31155750.js → post-collapsible-trigger-97fd8cb0.js} +5 -11
- package/dist/esm/post-collapsible_2.entry.js +5 -5
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/{post-footer-cdde2086.js → post-footer-82cbe9e1.js} +4 -7
- package/dist/esm/post-footer.entry.js +3 -3
- package/dist/esm/{post-linkarea-cad95623.js → post-linkarea-43614f09.js} +2 -2
- package/dist/esm/post-linkarea.entry.js +3 -3
- package/dist/esm/{post-menu-item-db732728.js → post-menu-item-c5b1cd29.js} +4 -7
- package/dist/esm/{post-popover-00f427ac.js → post-popover-21dea796.js} +5 -17
- package/dist/esm/post-popover.entry.js +3 -3
- package/dist/esm/{post-rating-cdcb2a1d.js → post-rating-907e5175.js} +7 -20
- package/dist/esm/post-rating.entry.js +3 -3
- package/dist/esm/{post-tab-header-1d4113cb.js → post-tab-header-0f5fd7d0.js} +4 -7
- package/dist/esm/post-tab-header.entry.js +3 -3
- package/dist/esm/{post-tab-panel-7a5c03ef.js → post-tab-panel-2bf324ae.js} +4 -7
- package/dist/esm/post-tab-panel.entry.js +3 -3
- package/dist/esm/{post-tabs-308190c0.js → post-tabs-52cf8ed7.js} +3 -9
- package/dist/esm/post-tabs.entry.js +3 -3
- package/dist/esm/{post-tag-aebbda10.js → post-tag-d53f4bc7.js} +6 -17
- package/dist/esm/post-tag.entry.js +3 -3
- package/dist/esm/{post-togglebutton-95ba85d2.js → post-togglebutton-6cf6dae6.js} +70 -159
- package/dist/esm/{post-tooltip-918d3a54.js → post-tooltip-f1f56486.js} +6 -17
- package/dist/esm/post-tooltip.entry.js +5 -5
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-100dc10a.js +1 -0
- package/dist/post-components/p-14738957.entry.js +1 -0
- package/dist/post-components/{p-ca41b899.entry.js → p-19e8b653.entry.js} +1 -1
- package/dist/post-components/p-1e737ab3.entry.js +1 -0
- package/dist/post-components/p-26e5d866.js +1 -0
- package/dist/post-components/p-29d56d5f.js +1 -0
- package/dist/post-components/p-3f79a7fa.entry.js +1 -0
- package/dist/post-components/p-4f9b0504.entry.js +1 -0
- package/dist/post-components/p-5753ae1e.entry.js +1 -0
- package/dist/post-components/p-59373941.js +1 -0
- package/dist/post-components/p-5a8f34ff.entry.js +1 -0
- package/dist/post-components/{p-7c9758fa.js → p-5d05f008.js} +1 -1
- package/dist/post-components/p-5ecb67d4.entry.js +1 -0
- package/dist/post-components/p-62e62248.js +1 -0
- package/dist/post-components/p-6a251a96.entry.js +1 -0
- package/dist/post-components/p-6a7ee274.js +1 -0
- package/dist/post-components/p-6af43aa2.js +1 -0
- package/dist/post-components/p-771e6deb.entry.js +1 -0
- package/dist/post-components/p-78d39bb1.entry.js +1 -0
- package/dist/post-components/p-7d9f4529.js +1 -0
- package/dist/post-components/p-816de06e.entry.js +1 -0
- package/dist/post-components/p-870920c5.js +1 -0
- package/dist/post-components/p-8bd50210.entry.js +1 -0
- package/dist/post-components/p-91ffc428.js +1 -0
- package/dist/post-components/p-9c8b4442.js +1 -0
- package/dist/post-components/p-a6476cb6.js +1 -0
- package/dist/post-components/p-a98c64e1.js +1 -0
- package/dist/post-components/p-ac04c807.js +1 -0
- package/dist/post-components/p-b19a9362.js +1 -0
- package/dist/post-components/p-b34d8f5f.entry.js +1 -0
- package/dist/post-components/p-b753fc35.entry.js +1 -0
- package/dist/post-components/p-cc9d8272.js +1 -0
- package/dist/post-components/p-d7cba03a.entry.js +1 -0
- package/dist/post-components/p-da85b951.entry.js +1 -0
- package/dist/post-components/{p-267f52a9.js → p-e7865717.js} +3 -3
- package/dist/post-components/p-f57363d3.entry.js +1 -0
- package/dist/post-components/{p-4ca79b52.js → p-f5d73dcc.js} +1 -1
- package/dist/post-components/p-f6e86d70.js +1 -0
- package/dist/post-components/p-f8e7cdec.js +1 -0
- package/dist/post-components/p-fb8f5195.js +1 -0
- package/dist/post-components/p-ff1fd4d8.entry.js +1 -0
- package/dist/post-components/p-ff95dcd3.js +2 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-header/post-header.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/dist/types/utils/get-focusable-children.d.ts +1 -1
- package/dist/types/utils/property-checkers/check-url.d.ts +1 -1
- package/dist/types/utils/property-checkers/index.d.ts +1 -1
- package/{dist/components/p-b095519d.js → loaders/check-non-empty.js} +1 -1
- package/{dist/components/p-3aba7629.js → loaders/get-focusable-children.js} +7 -1
- package/loaders/index.js +2 -2
- package/loaders/{p-56ad4838.js → index2.js} +5 -5
- package/loaders/package.js +3 -0
- package/loaders/post-accordion-item.js +1 -1
- package/{dist/components/p-68ecd276.js → loaders/post-accordion-item2.js} +13 -20
- package/loaders/post-accordion.js +7 -13
- package/loaders/post-avatar.js +13 -25
- package/loaders/post-back-to-top.js +9 -13
- package/loaders/post-banner.js +18 -32
- package/loaders/post-breadcrumb-item.js +1 -1
- package/{dist/components/p-c7c1d466.js → loaders/post-breadcrumb-item2.js} +6 -9
- package/loaders/post-breadcrumb.js +18 -24
- package/loaders/post-card-control.js +16 -47
- package/loaders/post-closebutton.js +4 -4
- package/loaders/post-collapsible-trigger.js +1 -1
- package/{dist/components/p-05590ac0.js → loaders/post-collapsible-trigger2.js} +8 -11
- package/loaders/post-collapsible.js +1 -1
- package/loaders/{p-9fac5d7d.js → post-collapsible2.js} +5 -8
- package/loaders/post-footer.js +9 -12
- package/loaders/post-header.js +21 -13
- package/loaders/post-icon.js +1 -1
- package/loaders/{p-f7177e26.js → post-icon2.js} +13 -34
- package/loaders/post-language-option.js +11 -27
- package/loaders/post-language-switch.js +17 -29
- package/loaders/post-linkarea.js +3 -3
- package/loaders/post-list-item.js +2 -2
- package/loaders/post-list.js +7 -16
- package/loaders/post-logo.js +5 -8
- package/loaders/post-mainnavigation.js +7 -7
- package/loaders/post-megadropdown-trigger.js +6 -12
- package/loaders/post-megadropdown.js +12 -15
- package/loaders/post-menu-item.js +1 -1
- package/{dist/components/p-ccccf0c3.js → loaders/post-menu-item2.js} +3 -3
- package/loaders/post-menu-trigger.js +1 -1
- package/loaders/{p-8b053fd5.js → post-menu-trigger2.js} +7 -13
- package/loaders/post-menu.js +1 -1
- package/{dist/components/p-91882483.js → loaders/post-menu2.js} +8 -18
- package/loaders/post-popover.js +8 -20
- package/loaders/post-popovercontainer.js +1 -1
- package/{dist/components/p-60cf53cc.js → loaders/post-popovercontainer2.js} +7 -21
- package/loaders/post-rating.js +9 -22
- package/loaders/post-tab-header.js +7 -10
- package/loaders/post-tab-panel.js +6 -9
- package/loaders/post-tabs.js +5 -11
- package/loaders/post-tag.js +8 -19
- package/loaders/post-togglebutton.js +5 -8
- package/loaders/post-tooltip.js +9 -20
- package/package.json +6 -6
- package/dist/components/p-2083ae2c.js +0 -3
- package/dist/components/p-3e8554e7.js +0 -1646
- package/dist/esm/package-8c98af5e.js +0 -3
- package/dist/post-components/p-037d6ef2.entry.js +0 -1
- package/dist/post-components/p-1e69a72f.js +0 -1
- package/dist/post-components/p-1fda117c.js +0 -1
- package/dist/post-components/p-2083ae2c.js +0 -1
- package/dist/post-components/p-24297444.js +0 -1
- package/dist/post-components/p-2e6c5b60.js +0 -1
- package/dist/post-components/p-3591d4e3.entry.js +0 -1
- package/dist/post-components/p-3dec4425.entry.js +0 -1
- package/dist/post-components/p-423aecd4.js +0 -1
- package/dist/post-components/p-43221de8.entry.js +0 -1
- package/dist/post-components/p-48fd00e7.entry.js +0 -1
- package/dist/post-components/p-4d2dee9f.entry.js +0 -1
- package/dist/post-components/p-4fedef65.js +0 -1
- package/dist/post-components/p-59109b3b.entry.js +0 -1
- package/dist/post-components/p-675352c3.entry.js +0 -1
- package/dist/post-components/p-6e4527d9.entry.js +0 -1
- package/dist/post-components/p-726bfda2.js +0 -1
- package/dist/post-components/p-767c0bf3.js +0 -1
- package/dist/post-components/p-796968bd.entry.js +0 -1
- package/dist/post-components/p-8a452260.js +0 -1
- package/dist/post-components/p-8a50b900.js +0 -1
- package/dist/post-components/p-8de4f677.entry.js +0 -1
- package/dist/post-components/p-93632808.js +0 -1
- package/dist/post-components/p-9aca3d07.entry.js +0 -1
- package/dist/post-components/p-9f0c5164.js +0 -1
- package/dist/post-components/p-a6436e7f.js +0 -1
- package/dist/post-components/p-ad246c0d.js +0 -1
- package/dist/post-components/p-b015efcb.entry.js +0 -1
- package/dist/post-components/p-b0afc087.entry.js +0 -1
- package/dist/post-components/p-b1adc221.js +0 -1
- package/dist/post-components/p-b2c0d21a.js +0 -1
- package/dist/post-components/p-b5a566f1.js +0 -1
- package/dist/post-components/p-c0961047.entry.js +0 -1
- package/dist/post-components/p-c388b7bb.entry.js +0 -1
- package/dist/post-components/p-cb9ab938.js +0 -1
- package/dist/post-components/p-d2395ae9.entry.js +0 -1
- package/dist/post-components/p-d9833667.js +0 -2
- package/dist/post-components/p-da261c46.entry.js +0 -1
- package/loaders/p-2083ae2c.js +0 -3
- package/loaders/p-3e8554e7.js +0 -1646
- /package/dist/components/{p-9748a355.js → attribute-observer.js} +0 -0
- /package/dist/components/{p-bacd3e2c.js → check-one-of.js} +0 -0
- /package/dist/components/{p-8562c7dc.js → check-type.js} +0 -0
- /package/dist/components/{p-440193f4.js → constants.js} +0 -0
- /package/dist/components/{p-e1baac59.js → debounce.js} +0 -0
- /package/dist/components/{p-64e3de38.js → fade.js} +0 -0
- /package/dist/components/{p-fc91cbc2.js → get-root.js} +0 -0
- /package/dist/components/{p-247a1668.js → heading-levels.js} +0 -0
- /package/dist/components/{p-5959f2bd.js → index.browser.js} +0 -0
- /package/dist/components/{p-f7b9f90a.js → index3.js} +0 -0
- /package/dist/components/{p-4af6dbed.js → slide.js} +0 -0
- /package/loaders/{p-9748a355.js → attribute-observer.js} +0 -0
- /package/loaders/{p-bacd3e2c.js → check-one-of.js} +0 -0
- /package/loaders/{p-8562c7dc.js → check-type.js} +0 -0
- /package/loaders/{p-440193f4.js → constants.js} +0 -0
- /package/loaders/{p-e1baac59.js → debounce.js} +0 -0
- /package/loaders/{p-64e3de38.js → fade.js} +0 -0
- /package/loaders/{p-fc91cbc2.js → get-root.js} +0 -0
- /package/loaders/{p-247a1668.js → heading-levels.js} +0 -0
- /package/loaders/{p-5959f2bd.js → index.browser.js} +0 -0
- /package/loaders/{p-f7b9f90a.js → index3.js} +0 -0
- /package/loaders/{p-4af6dbed.js → slide.js} +0 -0
package/loaders/post-rating.js
CHANGED
|
@@ -1,31 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { d as defineCustomElement$2 } from './
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { v as version } from './package.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './post-icon2.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$1 = /*@__PURE__*/ proxyCustomElement(class PostRating extends
|
|
8
|
+
const PostRating$1 = /*@__PURE__*/ proxyCustomElement(class PostRating extends HTMLElement {
|
|
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;
|
|
29
11
|
/**
|
|
30
12
|
* An event emitted whenever the component's value has changed (on input).
|
|
31
13
|
* The event payload can be used like so: `event.detail.value`.
|
|
@@ -42,6 +24,11 @@ const PostRating$1 = /*@__PURE__*/ proxyCustomElement(class PostRating extends H
|
|
|
42
24
|
this.__attachShadow();
|
|
43
25
|
this.postInput = createEvent(this, "postInput", 7);
|
|
44
26
|
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;
|
|
45
32
|
this.keydownHandler = this.keydownHandler.bind(this);
|
|
46
33
|
this.blurHandler = this.blurHandler.bind(this);
|
|
47
34
|
this.hoverHandler = this.hoverHandler.bind(this);
|
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { c as checkNonEmpty } from './
|
|
4
|
-
import { n as nanoid } from './
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { v as version } from './package.js';
|
|
3
|
+
import { c as checkNonEmpty } from './check-non-empty.js';
|
|
4
|
+
import { n as nanoid } from './index.browser.js';
|
|
5
5
|
|
|
6
6
|
const postTabHeaderCss = ".tab-title[role=tab]{display:inline-block;cursor:pointer;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:#000;text-decoration:none;background-color:rgba(0,0,0,0)}.tab-title[role=tab]:focus{background-color:unset;color:#000}.tab-title[role=tab]:hover{opacity:1;background-color:rgba(0,0,0,.6);color:#fff}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(0,0,0,.6);color:#fff;box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:\"\";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:#fff;color:#000;font-weight:700}.tab-title[role=tab].active::before{content:\"\";display:block;position:absolute;top:0;right:-1px;left:-1px;height:var(--post-core-dimension-4);background-color:#fc0}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:var(--post-core-dimension-2) solid Highlight;outline-offset:calc(var(--post-core-dimension-4)*-1)}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}";
|
|
7
7
|
const PostTabHeaderStyle0 = postTabHeaderCss;
|
|
8
8
|
|
|
9
|
-
const PostTabHeader$1 = /*@__PURE__*/ proxyCustomElement(class PostTabHeader extends
|
|
9
|
+
const PostTabHeader$1 = /*@__PURE__*/ proxyCustomElement(class PostTabHeader extends HTMLElement {
|
|
10
10
|
constructor() {
|
|
11
11
|
super();
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.__attachShadow();
|
|
14
|
+
this.tabId = undefined;
|
|
15
|
+
this.panel = undefined;
|
|
14
16
|
}
|
|
15
17
|
get host() { return this; }
|
|
16
|
-
tabId;
|
|
17
|
-
/**
|
|
18
|
-
* The name of the panel controlled by the tab header.
|
|
19
|
-
*/
|
|
20
|
-
panel;
|
|
21
18
|
validateFor(newValue) {
|
|
22
19
|
checkNonEmpty(newValue, 'The "panel" prop is required for the post-tab-header.');
|
|
23
20
|
}
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { n as nanoid } from './
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { v as version } from './package.js';
|
|
3
|
+
import { n as nanoid } from './index.browser.js';
|
|
4
4
|
|
|
5
5
|
const postTabPanelCss = ":host{display:none}";
|
|
6
6
|
const PostTabPanelStyle0 = postTabPanelCss;
|
|
7
7
|
|
|
8
|
-
const PostTabPanel$1 = /*@__PURE__*/ proxyCustomElement(class PostTabPanel extends
|
|
8
|
+
const PostTabPanel$1 = /*@__PURE__*/ proxyCustomElement(class PostTabPanel extends HTMLElement {
|
|
9
9
|
constructor() {
|
|
10
10
|
super();
|
|
11
11
|
this.__registerHost();
|
|
12
12
|
this.__attachShadow();
|
|
13
|
+
this.panelId = undefined;
|
|
14
|
+
this.name = undefined;
|
|
13
15
|
}
|
|
14
16
|
get host() { return this; }
|
|
15
|
-
panelId;
|
|
16
|
-
/**
|
|
17
|
-
* The name of the panel, used to associate it with a tab header.
|
|
18
|
-
*/
|
|
19
|
-
name;
|
|
20
17
|
componentWillLoad() {
|
|
21
18
|
// get the id set on the host element or use a random id by default
|
|
22
19
|
this.panelId = `panel-${this.host.id || nanoid(6)}`;
|
package/loaders/post-tabs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { f as fadeOut, a as fadeIn } from './
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { v as version } from './package.js';
|
|
3
|
+
import { f as fadeOut, a as fadeIn } from './fade.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Invoke the `componentOnReady` method if it is available, simulate it otherwise
|
|
@@ -26,12 +26,13 @@ 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$1 = /*@__PURE__*/ proxyCustomElement(class PostTabs extends
|
|
29
|
+
const PostTabs$1 = /*@__PURE__*/ proxyCustomElement(class PostTabs extends HTMLElement {
|
|
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;
|
|
35
36
|
}
|
|
36
37
|
activeTab;
|
|
37
38
|
showing;
|
|
@@ -41,13 +42,6 @@ const PostTabs$1 = /*@__PURE__*/ proxyCustomElement(class PostTabs extends H {
|
|
|
41
42
|
return Array.from(this.host.querySelectorAll('post-tab-header')).filter(tab => tab.closest('post-tabs') === this.host);
|
|
42
43
|
}
|
|
43
44
|
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;
|
|
51
45
|
/**
|
|
52
46
|
* An event emitted after the active tab changes, when the fade in transition of its associated panel is finished.
|
|
53
47
|
* The payload is the name of the newly shown panel.
|
package/loaders/post-tag.js
CHANGED
|
@@ -1,31 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { d as defineCustomElement$2 } from './
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { v as version } from './package.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './post-icon2.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$1 = /*@__PURE__*/ proxyCustomElement(class PostTag extends
|
|
8
|
+
const PostTag$1 = /*@__PURE__*/ proxyCustomElement(class PostTag extends HTMLElement {
|
|
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;
|
|
25
10
|
constructor() {
|
|
26
11
|
super();
|
|
27
12
|
this.__registerHost();
|
|
28
13
|
this.__attachShadow();
|
|
14
|
+
this.classes = undefined;
|
|
15
|
+
this.variant = undefined;
|
|
16
|
+
this.size = null;
|
|
17
|
+
this.icon = null;
|
|
29
18
|
this.setClasses = this.setClasses.bind(this);
|
|
30
19
|
}
|
|
31
20
|
variantChanged() {
|
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as version } from './
|
|
3
|
-
import { c as checkType } from './
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { v as version } from './package.js';
|
|
3
|
+
import { c as checkType } from './check-type.js';
|
|
4
4
|
|
|
5
5
|
const postTogglebuttonCss = ":host{cursor:pointer;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(:focus-visible){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:focus-visible){outline-color:Highlight !important}}:host([aria-pressed=true]) ::slotted([data-showwhen=untoggled]){display:none}:host([aria-pressed=false]) ::slotted([data-showwhen=toggled]){display:none}";
|
|
6
6
|
const PostTogglebuttonStyle0 = postTogglebuttonCss;
|
|
7
7
|
|
|
8
|
-
const PostTogglebutton$1 = /*@__PURE__*/ proxyCustomElement(class PostTogglebutton extends
|
|
8
|
+
const PostTogglebutton$1 = /*@__PURE__*/ proxyCustomElement(class PostTogglebutton extends HTMLElement {
|
|
9
9
|
constructor() {
|
|
10
10
|
super();
|
|
11
11
|
this.__registerHost();
|
|
12
12
|
this.__attachShadow();
|
|
13
|
+
this.toggled = false;
|
|
13
14
|
}
|
|
14
15
|
get host() { return this; }
|
|
15
|
-
/**
|
|
16
|
-
* If `true`, the button is in the "on" state, otherwise it is in the "off" state.
|
|
17
|
-
*/
|
|
18
|
-
toggled = false;
|
|
19
16
|
validateToggled(value = this.toggled) {
|
|
20
17
|
checkType(value, 'boolean', 'The "toggled" property of the post-togglebutton must be a boolean.');
|
|
21
18
|
}
|
package/loaders/post-tooltip.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as version$1 } from './
|
|
3
|
-
import { g as getAttributeObserver } from './
|
|
4
|
-
import { c as checkEmptyOrType } from './
|
|
5
|
-
import { d as defineCustomElement$2 } from './
|
|
1
|
+
import { proxyCustomElement, HTMLElement as HTMLElement$1, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { v as version$1 } from './package.js';
|
|
3
|
+
import { g as getAttributeObserver } from './attribute-observer.js';
|
|
4
|
+
import { c as checkEmptyOrType } from './index2.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './post-popovercontainer2.js';
|
|
6
6
|
|
|
7
7
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
8
8
|
|
|
@@ -4864,29 +4864,18 @@ const patchAccessibilityFeatures = (trigger) => {
|
|
|
4864
4864
|
};
|
|
4865
4865
|
// Initialize a mutation observer for patching accessibility features
|
|
4866
4866
|
const triggerObserver = getAttributeObserver(tooltipTargetAttribute, patchAccessibilityFeatures);
|
|
4867
|
-
const PostTooltip$1 = /*@__PURE__*/ proxyCustomElement(class PostTooltip extends
|
|
4867
|
+
const PostTooltip$1 = /*@__PURE__*/ proxyCustomElement(class PostTooltip extends HTMLElement$1 {
|
|
4868
4868
|
constructor() {
|
|
4869
4869
|
super();
|
|
4870
4870
|
this.__registerHost();
|
|
4871
4871
|
this.__attachShadow();
|
|
4872
|
+
this.placement = 'top';
|
|
4873
|
+
this.arrow = true;
|
|
4874
|
+
this.delayed = false;
|
|
4872
4875
|
}
|
|
4873
4876
|
popoverRef;
|
|
4874
4877
|
wasOpenedByFocus = false;
|
|
4875
4878
|
get host() { return this; }
|
|
4876
|
-
/**
|
|
4877
|
-
* Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.
|
|
4878
|
-
* Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted
|
|
4879
|
-
* towards the viewport if they would overlap edge boundaries.
|
|
4880
|
-
*/
|
|
4881
|
-
placement = 'top';
|
|
4882
|
-
/**
|
|
4883
|
-
* Wheter or not to display a little pointer arrow
|
|
4884
|
-
*/
|
|
4885
|
-
arrow = true;
|
|
4886
|
-
/**
|
|
4887
|
-
* If `true`, the tooltip is displayed a few milliseconds after it is triggered
|
|
4888
|
-
*/
|
|
4889
|
-
delayed = false;
|
|
4890
4879
|
validateDelayed() {
|
|
4891
4880
|
checkEmptyOrType(this.delayed, 'boolean', 'The post-tooltip "delayed" property should be a boolean.');
|
|
4892
4881
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swisspost/design-system-components",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.16",
|
|
4
4
|
"description": "A collection of web components built with Stencil JS for the Swiss Post Design System.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@floating-ui/dom": "1.6.13",
|
|
28
28
|
"@oddbird/popover-polyfill": "0.3.7",
|
|
29
|
-
"@swisspost/design-system-icons": "9.0.0-next.
|
|
30
|
-
"@swisspost/design-system-styles": "9.0.0-next.
|
|
29
|
+
"@swisspost/design-system-icons": "9.0.0-next.16",
|
|
30
|
+
"@swisspost/design-system-styles": "9.0.0-next.16",
|
|
31
31
|
"ally.js": "1.4.1",
|
|
32
32
|
"long-press-event": "2.5.0",
|
|
33
33
|
"nanoid": "5.0.9"
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"@percy/cli": "1.30.6",
|
|
39
39
|
"@percy/cypress": "3.1.2",
|
|
40
40
|
"@stencil-community/eslint-plugin": "0.9.0",
|
|
41
|
-
"@stencil/angular-output-target": "0.
|
|
42
|
-
"@stencil/core": "4.
|
|
43
|
-
"@stencil/react-output-target": "0.
|
|
41
|
+
"@stencil/angular-output-target": "0.8.4",
|
|
42
|
+
"@stencil/core": "4.19.2",
|
|
43
|
+
"@stencil/react-output-target": "0.5.3",
|
|
44
44
|
"@stencil/sass": "3.0.12",
|
|
45
45
|
"@types/jest": "29.5.14",
|
|
46
46
|
"@types/node": "22.10.5",
|