@swisspost/design-system-components 9.0.0-next.15 → 9.0.0-next.17
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-da5224f8.js → package-6000ba84.js} +1 -1
- package/dist/cjs/{post-accordion-412a5841.js → post-accordion-562d63d3.js} +4 -10
- package/dist/cjs/post-accordion-item-2b9a7c01.js +64 -0
- 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-8c349298.js → post-avatar-d9194b7f.js} +11 -23
- package/dist/cjs/post-avatar.cjs.entry.js +3 -3
- package/dist/cjs/{post-back-to-top-56f1cc8e.js → post-back-to-top-fa8d4e1d.js} +4 -8
- package/dist/cjs/post-back-to-top.cjs.entry.js +3 -3
- package/dist/cjs/{post-banner-6295a2a0.js → post-banner-3b91a695.js} +12 -26
- package/dist/cjs/post-banner.cjs.entry.js +5 -5
- package/dist/cjs/{post-breadcrumb-507266b2.js → post-breadcrumb-839a2652.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-d7eabec9.js → post-card-control-14a4dfc8.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-0ee4d82a.js → post-collapsible-trigger-05be3759.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-2bac2420.js → post-footer-a70591e7.js} +4 -7
- package/dist/cjs/post-footer.cjs.entry.js +3 -3
- package/dist/cjs/{post-linkarea-fc2f9c72.js → post-linkarea-199a2615.js} +2 -2
- package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
- package/dist/cjs/{post-menu-item-709448cc.js → post-menu-item-e20f184b.js} +4 -7
- package/dist/cjs/{post-popover-0a247c47.js → post-popover-e398bdfb.js} +5 -17
- package/dist/cjs/post-popover.cjs.entry.js +3 -3
- package/dist/cjs/{post-rating-e09b9243.js → post-rating-7aff1856.js} +7 -20
- package/dist/cjs/post-rating.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-header-7fb08fb1.js → post-tab-header-a2dbedd3.js} +4 -7
- package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-panel-e35b6f6d.js → post-tab-panel-5be6d90e.js} +4 -7
- package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/{post-tabs-3967f88b.js → post-tabs-c0ff849b.js} +3 -9
- package/dist/cjs/post-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{post-tag-07461a94.js → post-tag-0d9d3036.js} +6 -17
- package/dist/cjs/post-tag.cjs.entry.js +3 -3
- package/dist/cjs/{post-togglebutton-675dccb0.js → post-togglebutton-46c57375.js} +70 -159
- package/dist/cjs/{post-tooltip-1c754653.js → post-tooltip-fd1b7b47.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.css +1 -1
- 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/dist/components/post-accordion-item2.js +103 -0
- package/dist/components/post-accordion.js +1 -1
- package/dist/components/{p-cf4cb17f.js → post-accordion2.js} +7 -13
- package/dist/components/post-avatar.js +1 -1
- package/dist/components/{p-4f60823b.js → post-avatar2.js} +13 -25
- package/dist/components/post-back-to-top.js +1 -1
- package/dist/components/{p-8b750ccb.js → post-back-to-top2.js} +9 -13
- package/dist/components/post-banner.js +1 -1
- package/dist/components/{p-f566dbe4.js → post-banner2.js} +18 -32
- package/dist/components/post-breadcrumb-item.js +1 -1
- package/{loaders/p-9e7120c3.js → dist/components/post-breadcrumb-item2.js} +6 -9
- package/dist/components/post-breadcrumb.js +1 -1
- package/dist/components/{p-23b12eda.js → post-breadcrumb2.js} +18 -24
- package/dist/components/post-card-control.js +1 -1
- package/dist/components/{p-6d591e1c.js → post-card-control2.js} +16 -47
- package/dist/components/post-closebutton.js +1 -1
- package/dist/components/{p-f5433ff7.js → post-closebutton2.js} +4 -4
- package/dist/components/post-collapsible-trigger.js +1 -1
- package/dist/components/{p-5366ff92.js → post-collapsible-trigger2.js} +8 -11
- package/dist/components/post-collapsible.js +1 -1
- package/{loaders/p-c2033fcd.js → dist/components/post-collapsible2.js} +5 -8
- package/dist/components/post-footer.js +1 -1
- package/dist/components/{p-d428a69c.js → post-footer2.js} +9 -12
- package/dist/components/post-header.js +1 -1
- package/dist/components/{p-54e097c7.js → post-header2.js} +21 -13
- package/dist/components/post-icon.js +1 -1
- package/dist/components/{p-fcec301c.js → post-icon2.js} +13 -34
- package/dist/components/post-language-option.js +1 -1
- package/dist/components/{p-a07e1562.js → post-language-option2.js} +11 -27
- package/dist/components/post-language-switch.js +1 -1
- package/dist/components/{p-61419ecc.js → post-language-switch2.js} +17 -29
- package/dist/components/post-linkarea.js +1 -1
- package/dist/components/{p-9a726750.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-a3711af3.js → post-list2.js} +7 -16
- package/dist/components/post-logo.js +1 -1
- package/dist/components/{p-70e8b74f.js → post-logo2.js} +5 -8
- package/dist/components/post-mainnavigation.js +1 -1
- package/dist/components/{p-2e509a60.js → post-mainnavigation2.js} +7 -7
- package/dist/components/post-megadropdown-trigger.js +1 -1
- package/dist/components/{p-4b60e5f8.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-4bbdde2b.js → dist/components/post-menu-item2.js} +3 -3
- package/dist/components/post-menu-trigger.js +1 -1
- package/{loaders/p-15877641.js → dist/components/post-menu-trigger2.js} +7 -13
- package/dist/components/post-menu.js +1 -1
- package/{loaders/p-7202d5d4.js → dist/components/post-menu2.js} +8 -18
- package/dist/components/post-popover.js +1 -1
- package/dist/components/{p-621f6dce.js → post-popover2.js} +8 -20
- package/dist/components/post-popovercontainer.js +1 -1
- package/dist/components/{p-f59c8544.js → post-popovercontainer2.js} +7 -21
- package/dist/components/post-rating.js +1 -1
- package/dist/components/{p-d343757a.js → post-rating2.js} +9 -22
- package/dist/components/post-tab-header.js +1 -1
- package/dist/components/{p-32b7a0a8.js → post-tab-header2.js} +7 -10
- package/dist/components/post-tab-panel.js +1 -1
- package/dist/components/{p-db9fa77d.js → post-tab-panel2.js} +6 -9
- package/dist/components/post-tabs.js +1 -1
- package/dist/components/{p-efc1bc9c.js → post-tabs2.js} +5 -11
- package/dist/components/post-tag.js +1 -1
- package/dist/components/{p-e482b539.js → post-tag2.js} +8 -19
- package/dist/components/post-togglebutton.js +1 -1
- package/dist/components/{p-3385af29.js → post-togglebutton2.js} +5 -8
- package/dist/components/post-tooltip.js +1 -1
- package/dist/components/{p-477784a7.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-0d05729a.js +3 -0
- package/dist/esm/{post-accordion-27faacb3.js → post-accordion-ae79061a.js} +4 -10
- package/dist/esm/post-accordion-item-6aa9b5bd.js +62 -0
- package/dist/esm/post-accordion-item.entry.js +5 -5
- package/dist/esm/post-accordion.entry.js +3 -3
- package/dist/esm/{post-avatar-80b061df.js → post-avatar-2384ca3b.js} +11 -23
- package/dist/esm/post-avatar.entry.js +3 -3
- package/dist/esm/{post-back-to-top-531e1376.js → post-back-to-top-ec1c2754.js} +4 -8
- package/dist/esm/post-back-to-top.entry.js +3 -3
- package/dist/esm/{post-banner-e10a3101.js → post-banner-c7b88ac2.js} +12 -26
- package/dist/esm/post-banner.entry.js +5 -5
- package/dist/esm/{post-breadcrumb-54bac634.js → post-breadcrumb-d48cb773.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-ba354a50.js → post-card-control-b63a2837.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-3dbedd6e.js → post-collapsible-trigger-8f4daf1e.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-c73c4669.js → post-footer-b4b75c94.js} +4 -7
- package/dist/esm/post-footer.entry.js +3 -3
- package/dist/esm/{post-linkarea-65638949.js → post-linkarea-d3ae37f9.js} +2 -2
- package/dist/esm/post-linkarea.entry.js +3 -3
- package/dist/esm/{post-menu-item-fb5afbfe.js → post-menu-item-d087d910.js} +4 -7
- package/dist/esm/{post-popover-50930237.js → post-popover-a096ee08.js} +5 -17
- package/dist/esm/post-popover.entry.js +3 -3
- package/dist/esm/{post-rating-3077bc2d.js → post-rating-0ead6a2a.js} +7 -20
- package/dist/esm/post-rating.entry.js +3 -3
- package/dist/esm/{post-tab-header-359fe858.js → post-tab-header-e29d371b.js} +4 -7
- package/dist/esm/post-tab-header.entry.js +3 -3
- package/dist/esm/{post-tab-panel-1209fd6f.js → post-tab-panel-57840a1a.js} +4 -7
- package/dist/esm/post-tab-panel.entry.js +3 -3
- package/dist/esm/{post-tabs-3a9acd87.js → post-tabs-70dfc43c.js} +3 -9
- package/dist/esm/post-tabs.entry.js +3 -3
- package/dist/esm/{post-tag-c8c9b213.js → post-tag-be1ad18d.js} +6 -17
- package/dist/esm/post-tag.entry.js +3 -3
- package/dist/esm/{post-togglebutton-1e02ab7c.js → post-togglebutton-8da6d613.js} +70 -159
- package/dist/esm/{post-tooltip-65892d5f.js → post-tooltip-cb549b9f.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-0ca3d16c.entry.js +1 -0
- package/dist/post-components/p-16d20563.js +1 -0
- package/dist/post-components/p-1a695d66.entry.js +1 -0
- package/dist/post-components/p-1eb54abb.entry.js +1 -0
- package/dist/post-components/p-26951eb6.js +1 -0
- package/dist/post-components/p-2bcf91f6.entry.js +1 -0
- package/dist/post-components/p-3e94d076.entry.js +1 -0
- package/dist/post-components/p-3ef59370.entry.js +1 -0
- package/dist/post-components/p-3fdd351e.js +1 -0
- package/dist/post-components/p-413b656c.entry.js +1 -0
- package/dist/post-components/{p-a7199df3.js → p-480169b9.js} +1 -1
- package/dist/post-components/p-49b69e0e.js +1 -0
- package/dist/post-components/p-59373941.js +1 -0
- package/dist/post-components/p-76bbd883.js +1 -0
- package/dist/post-components/p-77eb06d0.js +1 -0
- package/dist/post-components/p-78ae731e.js +1 -0
- package/dist/post-components/p-78b6020e.entry.js +1 -0
- package/dist/post-components/{p-458d4560.js → p-7f09a864.js} +3 -3
- package/dist/post-components/p-88c5e0bf.entry.js +1 -0
- package/dist/post-components/p-8c732622.entry.js +1 -0
- package/dist/post-components/p-8f2e8a63.entry.js +1 -0
- package/dist/post-components/{p-a680d8b0.entry.js → p-904b3028.entry.js} +1 -1
- package/dist/post-components/p-9a5111ca.entry.js +1 -0
- package/dist/post-components/p-9ae6517d.entry.js +1 -0
- package/dist/post-components/p-9b46c8f2.js +1 -0
- package/dist/post-components/p-a2806a35.js +1 -0
- package/dist/post-components/p-baf06ea0.js +1 -0
- package/dist/post-components/p-c3135c18.js +1 -0
- package/dist/post-components/p-c6a239f2.entry.js +1 -0
- package/dist/post-components/p-ce76e0bf.js +1 -0
- package/dist/post-components/p-ceb96aaa.js +1 -0
- package/dist/post-components/p-d2646369.entry.js +1 -0
- package/dist/post-components/p-debe5b2d.entry.js +1 -0
- package/dist/post-components/p-f2ed28e5.js +1 -0
- package/dist/post-components/p-f3c23d8c.entry.js +1 -0
- package/dist/post-components/p-f513fd5d.js +1 -0
- package/dist/post-components/p-f573860f.js +1 -0
- package/dist/post-components/p-fa65c799.js +1 -0
- package/dist/post-components/{p-68defca9.js → p-faaa4c0a.js} +1 -1
- package/dist/post-components/p-facba41d.entry.js +1 -0
- package/dist/post-components/p-fb8f5195.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/loaders/post-accordion-item2.js +103 -0
- 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-80478535.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/loaders/{p-5366ff92.js → post-collapsible-trigger2.js} +8 -11
- package/loaders/post-collapsible.js +1 -1
- package/{dist/components/p-10c1a15a.js → loaders/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-51b50ca3.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-4bbdde2b.js → loaders/post-menu-item2.js} +3 -3
- package/loaders/post-menu-trigger.js +1 -1
- package/{dist/components/p-15877641.js → loaders/post-menu-trigger2.js} +7 -13
- package/loaders/post-menu.js +1 -1
- package/{dist/components/p-7202d5d4.js → loaders/post-menu2.js} +8 -18
- package/loaders/post-popover.js +8 -20
- package/loaders/post-popovercontainer.js +1 -1
- package/loaders/{p-f59c8544.js → 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/cjs/post-accordion-item-0bcc2d1d.js +0 -71
- package/dist/components/p-3e8554e7.js +0 -1646
- package/dist/components/p-74e13cb1.js +0 -3
- package/dist/components/p-f60c925d.js +0 -110
- package/dist/esm/package-fe605ce2.js +0 -3
- package/dist/esm/post-accordion-item-518d7bd0.js +0 -69
- package/dist/post-components/p-05d809f2.entry.js +0 -1
- package/dist/post-components/p-122f969e.js +0 -1
- package/dist/post-components/p-16c08e07.entry.js +0 -1
- package/dist/post-components/p-16f883f9.entry.js +0 -1
- package/dist/post-components/p-1fda117c.js +0 -1
- package/dist/post-components/p-23a94c36.entry.js +0 -1
- package/dist/post-components/p-2ea6e06e.js +0 -1
- package/dist/post-components/p-36527185.js +0 -1
- package/dist/post-components/p-368cee4c.js +0 -1
- package/dist/post-components/p-3a408d41.entry.js +0 -1
- package/dist/post-components/p-43caa6b0.js +0 -1
- package/dist/post-components/p-52508346.entry.js +0 -1
- package/dist/post-components/p-54ae1f02.js +0 -1
- package/dist/post-components/p-55139ed4.js +0 -1
- package/dist/post-components/p-5a051654.entry.js +0 -1
- package/dist/post-components/p-5b058c27.entry.js +0 -1
- package/dist/post-components/p-5be385f2.js +0 -1
- package/dist/post-components/p-5cc36eb9.entry.js +0 -1
- package/dist/post-components/p-61ebfb27.js +0 -1
- package/dist/post-components/p-66552bf5.entry.js +0 -1
- package/dist/post-components/p-74dbfcd3.js +0 -1
- package/dist/post-components/p-74e13cb1.js +0 -1
- package/dist/post-components/p-8abc347f.js +0 -1
- package/dist/post-components/p-8fe69fae.js +0 -1
- package/dist/post-components/p-902e52fb.entry.js +0 -1
- package/dist/post-components/p-9bf305da.entry.js +0 -1
- package/dist/post-components/p-a7683dcd.entry.js +0 -1
- package/dist/post-components/p-aaef3917.js +0 -1
- package/dist/post-components/p-ad2a716a.entry.js +0 -1
- package/dist/post-components/p-b5758f64.js +0 -1
- package/dist/post-components/p-b64f5ba4.entry.js +0 -1
- package/dist/post-components/p-cb9ab938.js +0 -1
- package/dist/post-components/p-ce4a94d4.entry.js +0 -1
- package/dist/post-components/p-d9833667.js +0 -2
- package/dist/post-components/p-dc8a4c6f.js +0 -1
- package/dist/post-components/p-e725b6f4.js +0 -1
- package/dist/post-components/p-ecc6a8fa.entry.js +0 -1
- package/dist/post-components/p-fed91ff7.entry.js +0 -1
- package/loaders/p-3e8554e7.js +0 -1646
- package/loaders/p-74e13cb1.js +0 -3
- package/loaders/p-e57c041b.js +0 -110
- /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
|
@@ -25,22 +25,10 @@ export class PostPopover {
|
|
|
25
25
|
popoverRef;
|
|
26
26
|
localBeforeToggleHandler;
|
|
27
27
|
host;
|
|
28
|
-
/**
|
|
29
|
-
* Defines the placement of the popover according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.
|
|
30
|
-
* Popoverss are automatically flipped to the opposite side if there is not enough available space and are shifted
|
|
31
|
-
* towards the viewport if they would overlap edge boundaries.
|
|
32
|
-
*/
|
|
33
|
-
placement = 'top';
|
|
34
|
-
/**
|
|
35
|
-
* Define the caption of the close button for assistive technology
|
|
36
|
-
*/
|
|
37
|
-
closeButtonCaption;
|
|
38
|
-
/**
|
|
39
|
-
* Show a little indicator arrow
|
|
40
|
-
*/
|
|
41
|
-
// eslint-disable-next-line @stencil-community/ban-default-true
|
|
42
|
-
arrow = true;
|
|
43
28
|
constructor() {
|
|
29
|
+
this.placement = 'top';
|
|
30
|
+
this.closeButtonCaption = undefined;
|
|
31
|
+
this.arrow = true;
|
|
44
32
|
this.localBeforeToggleHandler = this.beforeToggleHandler.bind(this);
|
|
45
33
|
}
|
|
46
34
|
connectedCallback() {
|
|
@@ -139,8 +127,6 @@ export class PostPopover {
|
|
|
139
127
|
"tags": [],
|
|
140
128
|
"text": "Defines the placement of the popover according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.\nPopoverss are automatically flipped to the opposite side if there is not enough available space and are shifted\ntowards the viewport if they would overlap edge boundaries."
|
|
141
129
|
},
|
|
142
|
-
"getter": false,
|
|
143
|
-
"setter": false,
|
|
144
130
|
"attribute": "placement",
|
|
145
131
|
"reflect": false,
|
|
146
132
|
"defaultValue": "'top'"
|
|
@@ -159,8 +145,6 @@ export class PostPopover {
|
|
|
159
145
|
"tags": [],
|
|
160
146
|
"text": "Define the caption of the close button for assistive technology"
|
|
161
147
|
},
|
|
162
|
-
"getter": false,
|
|
163
|
-
"setter": false,
|
|
164
148
|
"attribute": "close-button-caption",
|
|
165
149
|
"reflect": false
|
|
166
150
|
},
|
|
@@ -178,8 +162,6 @@ export class PostPopover {
|
|
|
178
162
|
"tags": [],
|
|
179
163
|
"text": "Show a little indicator arrow"
|
|
180
164
|
},
|
|
181
|
-
"getter": false,
|
|
182
|
-
"setter": false,
|
|
183
165
|
"attribute": "arrow",
|
|
184
166
|
"reflect": false,
|
|
185
167
|
"defaultValue": "true"
|
|
@@ -13,6 +13,12 @@ const SIDE_MAP = {
|
|
|
13
13
|
* @slot - Default slot for placing content inside the popovercontainer.
|
|
14
14
|
*/
|
|
15
15
|
export class PostPopovercontainer {
|
|
16
|
+
constructor() {
|
|
17
|
+
this.manualClose = false;
|
|
18
|
+
this.placement = 'top';
|
|
19
|
+
this.edgeGap = 8;
|
|
20
|
+
this.arrow = false;
|
|
21
|
+
}
|
|
16
22
|
host;
|
|
17
23
|
arrowRef;
|
|
18
24
|
eventTarget;
|
|
@@ -22,24 +28,6 @@ export class PostPopovercontainer {
|
|
|
22
28
|
* Fires whenever the popover gets shown or hidden, passing the new state in event.details as a boolean
|
|
23
29
|
*/
|
|
24
30
|
postToggle;
|
|
25
|
-
/**
|
|
26
|
-
* Whether or not the popover should close when user clicks outside of it
|
|
27
|
-
*/
|
|
28
|
-
manualClose = false;
|
|
29
|
-
/**
|
|
30
|
-
* Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.
|
|
31
|
-
* Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted
|
|
32
|
-
* towards the viewport if they would overlap edge boundaries.
|
|
33
|
-
*/
|
|
34
|
-
placement = 'top';
|
|
35
|
-
/**
|
|
36
|
-
* Gap between the edge of the page and the popover
|
|
37
|
-
*/
|
|
38
|
-
edgeGap = 8;
|
|
39
|
-
/**
|
|
40
|
-
* Wheter or not to display a little pointer arrow
|
|
41
|
-
*/
|
|
42
|
-
arrow = false;
|
|
43
31
|
componentDidLoad() {
|
|
44
32
|
this.host.addEventListener('beforetoggle', this.handleToggle.bind(this));
|
|
45
33
|
}
|
|
@@ -189,8 +177,6 @@ export class PostPopovercontainer {
|
|
|
189
177
|
"tags": [],
|
|
190
178
|
"text": "Whether or not the popover should close when user clicks outside of it"
|
|
191
179
|
},
|
|
192
|
-
"getter": false,
|
|
193
|
-
"setter": false,
|
|
194
180
|
"attribute": "manual-close",
|
|
195
181
|
"reflect": false,
|
|
196
182
|
"defaultValue": "false"
|
|
@@ -215,8 +201,6 @@ export class PostPopovercontainer {
|
|
|
215
201
|
"tags": [],
|
|
216
202
|
"text": "Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.\nTooltips are automatically flipped to the opposite side if there is not enough available space and are shifted\ntowards the viewport if they would overlap edge boundaries."
|
|
217
203
|
},
|
|
218
|
-
"getter": false,
|
|
219
|
-
"setter": false,
|
|
220
204
|
"attribute": "placement",
|
|
221
205
|
"reflect": false,
|
|
222
206
|
"defaultValue": "'top'"
|
|
@@ -235,8 +219,6 @@ export class PostPopovercontainer {
|
|
|
235
219
|
"tags": [],
|
|
236
220
|
"text": "Gap between the edge of the page and the popover"
|
|
237
221
|
},
|
|
238
|
-
"getter": false,
|
|
239
|
-
"setter": false,
|
|
240
222
|
"attribute": "edge-gap",
|
|
241
223
|
"reflect": false,
|
|
242
224
|
"defaultValue": "8"
|
|
@@ -255,8 +237,6 @@ export class PostPopovercontainer {
|
|
|
255
237
|
"tags": [],
|
|
256
238
|
"text": "Wheter or not to display a little pointer arrow"
|
|
257
239
|
},
|
|
258
|
-
"getter": false,
|
|
259
|
-
"setter": false,
|
|
260
240
|
"attribute": "arrow",
|
|
261
241
|
"reflect": false,
|
|
262
242
|
"defaultValue": "false"
|
|
@@ -3,24 +3,6 @@ import { version } from "../../../../package";
|
|
|
3
3
|
export class PostRating {
|
|
4
4
|
hasChanged = false;
|
|
5
5
|
host;
|
|
6
|
-
hoveredIndex;
|
|
7
|
-
/**
|
|
8
|
-
* Defines a hidden label for the component.
|
|
9
|
-
*/
|
|
10
|
-
label = 'Rating';
|
|
11
|
-
/**
|
|
12
|
-
* Defines the total amount of stars rendered in the component.
|
|
13
|
-
*/
|
|
14
|
-
stars = 5;
|
|
15
|
-
/**
|
|
16
|
-
* Defines the rating that the component should show.
|
|
17
|
-
*/
|
|
18
|
-
currentRating = 0;
|
|
19
|
-
/**
|
|
20
|
-
* Defines if the component is readonly or not.
|
|
21
|
-
* This usually should be used together with the `currentRating` property.
|
|
22
|
-
*/
|
|
23
|
-
readonly = false;
|
|
24
6
|
/**
|
|
25
7
|
* An event emitted whenever the component's value has changed (on input).
|
|
26
8
|
* The event payload can be used like so: `event.detail.value`.
|
|
@@ -32,6 +14,11 @@ export class PostRating {
|
|
|
32
14
|
*/
|
|
33
15
|
postChange;
|
|
34
16
|
constructor() {
|
|
17
|
+
this.hoveredIndex = undefined;
|
|
18
|
+
this.label = 'Rating';
|
|
19
|
+
this.stars = 5;
|
|
20
|
+
this.currentRating = 0;
|
|
21
|
+
this.readonly = false;
|
|
35
22
|
this.keydownHandler = this.keydownHandler.bind(this);
|
|
36
23
|
this.blurHandler = this.blurHandler.bind(this);
|
|
37
24
|
this.hoverHandler = this.hoverHandler.bind(this);
|
|
@@ -124,8 +111,6 @@ export class PostRating {
|
|
|
124
111
|
"tags": [],
|
|
125
112
|
"text": "Defines a hidden label for the component."
|
|
126
113
|
},
|
|
127
|
-
"getter": false,
|
|
128
|
-
"setter": false,
|
|
129
114
|
"attribute": "label",
|
|
130
115
|
"reflect": false,
|
|
131
116
|
"defaultValue": "'Rating'"
|
|
@@ -144,8 +129,6 @@ export class PostRating {
|
|
|
144
129
|
"tags": [],
|
|
145
130
|
"text": "Defines the total amount of stars rendered in the component."
|
|
146
131
|
},
|
|
147
|
-
"getter": false,
|
|
148
|
-
"setter": false,
|
|
149
132
|
"attribute": "stars",
|
|
150
133
|
"reflect": false,
|
|
151
134
|
"defaultValue": "5"
|
|
@@ -164,8 +147,6 @@ export class PostRating {
|
|
|
164
147
|
"tags": [],
|
|
165
148
|
"text": "Defines the rating that the component should show."
|
|
166
149
|
},
|
|
167
|
-
"getter": false,
|
|
168
|
-
"setter": false,
|
|
169
150
|
"attribute": "current-rating",
|
|
170
151
|
"reflect": false,
|
|
171
152
|
"defaultValue": "0"
|
|
@@ -184,8 +165,6 @@ export class PostRating {
|
|
|
184
165
|
"tags": [],
|
|
185
166
|
"text": "Defines if the component is readonly or not.\nThis usually should be used together with the `currentRating` property."
|
|
186
167
|
},
|
|
187
|
-
"getter": false,
|
|
188
|
-
"setter": false,
|
|
189
168
|
"attribute": "readonly",
|
|
190
169
|
"reflect": false,
|
|
191
170
|
"defaultValue": "false"
|
|
@@ -6,12 +6,11 @@ import { nanoid } from "nanoid";
|
|
|
6
6
|
* @slot default - Slot for the content of the tab header.
|
|
7
7
|
*/
|
|
8
8
|
export class PostTabHeader {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.tabId = undefined;
|
|
11
|
+
this.panel = undefined;
|
|
12
|
+
}
|
|
9
13
|
host;
|
|
10
|
-
tabId;
|
|
11
|
-
/**
|
|
12
|
-
* The name of the panel controlled by the tab header.
|
|
13
|
-
*/
|
|
14
|
-
panel;
|
|
15
14
|
validateFor(newValue) {
|
|
16
15
|
checkNonEmpty(newValue, 'The "panel" prop is required for the post-tab-header.');
|
|
17
16
|
}
|
|
@@ -54,8 +53,6 @@ export class PostTabHeader {
|
|
|
54
53
|
"tags": [],
|
|
55
54
|
"text": "The name of the panel controlled by the tab header."
|
|
56
55
|
},
|
|
57
|
-
"getter": false,
|
|
58
|
-
"setter": false,
|
|
59
56
|
"attribute": "panel",
|
|
60
57
|
"reflect": false
|
|
61
58
|
}
|
|
@@ -5,12 +5,11 @@ import { nanoid } from "nanoid";
|
|
|
5
5
|
* @slot default - Slot for placing the content of the tab panel.
|
|
6
6
|
*/
|
|
7
7
|
export class PostTabPanel {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.panelId = undefined;
|
|
10
|
+
this.name = undefined;
|
|
11
|
+
}
|
|
8
12
|
host;
|
|
9
|
-
panelId;
|
|
10
|
-
/**
|
|
11
|
-
* The name of the panel, used to associate it with a tab header.
|
|
12
|
-
*/
|
|
13
|
-
name;
|
|
14
13
|
componentWillLoad() {
|
|
15
14
|
// get the id set on the host element or use a random id by default
|
|
16
15
|
this.panelId = `panel-${this.host.id || nanoid(6)}`;
|
|
@@ -46,8 +45,6 @@ export class PostTabPanel {
|
|
|
46
45
|
"tags": [],
|
|
47
46
|
"text": "The name of the panel, used to associate it with a tab header."
|
|
48
47
|
},
|
|
49
|
-
"getter": false,
|
|
50
|
-
"setter": false,
|
|
51
48
|
"attribute": "name",
|
|
52
49
|
"reflect": false
|
|
53
50
|
}
|
|
@@ -9,6 +9,9 @@ import { componentOnReady } from "../../utils/index";
|
|
|
9
9
|
* @part content - Add custom styles for the tab panel container.
|
|
10
10
|
*/
|
|
11
11
|
export class PostTabs {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.activePanel = undefined;
|
|
14
|
+
}
|
|
12
15
|
activeTab;
|
|
13
16
|
showing;
|
|
14
17
|
hiding;
|
|
@@ -17,13 +20,6 @@ export class PostTabs {
|
|
|
17
20
|
return Array.from(this.host.querySelectorAll('post-tab-header')).filter(tab => tab.closest('post-tabs') === this.host);
|
|
18
21
|
}
|
|
19
22
|
host;
|
|
20
|
-
/**
|
|
21
|
-
* The name of the panel that is initially shown.
|
|
22
|
-
* If not specified, it defaults to the panel associated with the first tab.
|
|
23
|
-
*
|
|
24
|
-
* **Changing this value after initialization has no effect.**
|
|
25
|
-
*/
|
|
26
|
-
activePanel;
|
|
27
23
|
/**
|
|
28
24
|
* An event emitted after the active tab changes, when the fade in transition of its associated panel is finished.
|
|
29
25
|
* The payload is the name of the newly shown panel.
|
|
@@ -189,8 +185,6 @@ export class PostTabs {
|
|
|
189
185
|
"tags": [],
|
|
190
186
|
"text": "The name of the panel that is initially shown.\nIf not specified, it defaults to the panel associated with the first tab.\n\n**Changing this value after initialization has no effect.**"
|
|
191
187
|
},
|
|
192
|
-
"getter": false,
|
|
193
|
-
"setter": false,
|
|
194
188
|
"attribute": "active-panel",
|
|
195
189
|
"reflect": false
|
|
196
190
|
}
|
|
@@ -5,22 +5,11 @@ import { version } from "../../../../package";
|
|
|
5
5
|
*/
|
|
6
6
|
export class PostTag {
|
|
7
7
|
host;
|
|
8
|
-
classes;
|
|
9
|
-
/**
|
|
10
|
-
* Defines the color variant of the component.
|
|
11
|
-
*/
|
|
12
|
-
variant;
|
|
13
|
-
/**
|
|
14
|
-
* Defines the size of the component.
|
|
15
|
-
*/
|
|
16
|
-
size = null;
|
|
17
|
-
/**
|
|
18
|
-
* Defines the icon `name` inside of the component.
|
|
19
|
-
* <span className="banner banner-sm banner-info">If not set the icon will not show up.</span>
|
|
20
|
-
* To learn which icons are available, please visit our <a href="/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs">icon library</a>.
|
|
21
|
-
*/
|
|
22
|
-
icon = null;
|
|
23
8
|
constructor() {
|
|
9
|
+
this.classes = undefined;
|
|
10
|
+
this.variant = undefined;
|
|
11
|
+
this.size = null;
|
|
12
|
+
this.icon = null;
|
|
24
13
|
this.setClasses = this.setClasses.bind(this);
|
|
25
14
|
}
|
|
26
15
|
variantChanged() {
|
|
@@ -72,8 +61,6 @@ export class PostTag {
|
|
|
72
61
|
"tags": [],
|
|
73
62
|
"text": "Defines the color variant of the component."
|
|
74
63
|
},
|
|
75
|
-
"getter": false,
|
|
76
|
-
"setter": false,
|
|
77
64
|
"attribute": "variant",
|
|
78
65
|
"reflect": false
|
|
79
66
|
},
|
|
@@ -91,8 +78,6 @@ export class PostTag {
|
|
|
91
78
|
"tags": [],
|
|
92
79
|
"text": "Defines the size of the component."
|
|
93
80
|
},
|
|
94
|
-
"getter": false,
|
|
95
|
-
"setter": false,
|
|
96
81
|
"attribute": "size",
|
|
97
82
|
"reflect": false,
|
|
98
83
|
"defaultValue": "null"
|
|
@@ -111,8 +96,6 @@ export class PostTag {
|
|
|
111
96
|
"tags": [],
|
|
112
97
|
"text": "Defines the icon `name` inside of the component.\n<span className=\"banner banner-sm banner-info\">If not set the icon will not show up.</span>\nTo learn which icons are available, please visit our <a href=\"/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs\">icon library</a>."
|
|
113
98
|
},
|
|
114
|
-
"getter": false,
|
|
115
|
-
"setter": false,
|
|
116
99
|
"attribute": "icon",
|
|
117
100
|
"reflect": false,
|
|
118
101
|
"defaultValue": "null"
|
|
@@ -5,11 +5,10 @@ import { checkType } from "../../utils/index";
|
|
|
5
5
|
* @slot default - Slot for the content of the button.
|
|
6
6
|
*/
|
|
7
7
|
export class PostTogglebutton {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.toggled = false;
|
|
10
|
+
}
|
|
8
11
|
host;
|
|
9
|
-
/**
|
|
10
|
-
* If `true`, the button is in the "on" state, otherwise it is in the "off" state.
|
|
11
|
-
*/
|
|
12
|
-
toggled = false;
|
|
13
12
|
validateToggled(value = this.toggled) {
|
|
14
13
|
checkType(value, 'boolean', 'The "toggled" property of the post-togglebutton must be a boolean.');
|
|
15
14
|
}
|
|
@@ -60,8 +59,6 @@ export class PostTogglebutton {
|
|
|
60
59
|
"tags": [],
|
|
61
60
|
"text": "If `true`, the button is in the \"on\" state, otherwise it is in the \"off\" state."
|
|
62
61
|
},
|
|
63
|
-
"getter": false,
|
|
64
|
-
"setter": false,
|
|
65
62
|
"attribute": "toggled",
|
|
66
63
|
"reflect": false,
|
|
67
64
|
"defaultValue": "false"
|
|
@@ -93,23 +93,14 @@ const patchAccessibilityFeatures = (trigger) => {
|
|
|
93
93
|
// Initialize a mutation observer for patching accessibility features
|
|
94
94
|
const triggerObserver = getAttributeObserver(tooltipTargetAttribute, patchAccessibilityFeatures);
|
|
95
95
|
export class PostTooltip {
|
|
96
|
+
constructor() {
|
|
97
|
+
this.placement = 'top';
|
|
98
|
+
this.arrow = true;
|
|
99
|
+
this.delayed = false;
|
|
100
|
+
}
|
|
96
101
|
popoverRef;
|
|
97
102
|
wasOpenedByFocus = false;
|
|
98
103
|
host;
|
|
99
|
-
/**
|
|
100
|
-
* Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.
|
|
101
|
-
* Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted
|
|
102
|
-
* towards the viewport if they would overlap edge boundaries.
|
|
103
|
-
*/
|
|
104
|
-
placement = 'top';
|
|
105
|
-
/**
|
|
106
|
-
* Wheter or not to display a little pointer arrow
|
|
107
|
-
*/
|
|
108
|
-
arrow = true;
|
|
109
|
-
/**
|
|
110
|
-
* If `true`, the tooltip is displayed a few milliseconds after it is triggered
|
|
111
|
-
*/
|
|
112
|
-
delayed = false;
|
|
113
104
|
validateDelayed() {
|
|
114
105
|
checkEmptyOrType(this.delayed, 'boolean', 'The post-tooltip "delayed" property should be a boolean.');
|
|
115
106
|
}
|
|
@@ -261,8 +252,6 @@ export class PostTooltip {
|
|
|
261
252
|
"tags": [],
|
|
262
253
|
"text": "Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.\nTooltips are automatically flipped to the opposite side if there is not enough available space and are shifted\ntowards the viewport if they would overlap edge boundaries."
|
|
263
254
|
},
|
|
264
|
-
"getter": false,
|
|
265
|
-
"setter": false,
|
|
266
255
|
"attribute": "placement",
|
|
267
256
|
"reflect": false,
|
|
268
257
|
"defaultValue": "'top'"
|
|
@@ -281,8 +270,6 @@ export class PostTooltip {
|
|
|
281
270
|
"tags": [],
|
|
282
271
|
"text": "Wheter or not to display a little pointer arrow"
|
|
283
272
|
},
|
|
284
|
-
"getter": false,
|
|
285
|
-
"setter": false,
|
|
286
273
|
"attribute": "arrow",
|
|
287
274
|
"reflect": false,
|
|
288
275
|
"defaultValue": "true"
|
|
@@ -301,8 +288,6 @@ export class PostTooltip {
|
|
|
301
288
|
"tags": [],
|
|
302
289
|
"text": "If `true`, the tooltip is displayed a few milliseconds after it is triggered"
|
|
303
290
|
},
|
|
304
|
-
"getter": false,
|
|
305
|
-
"setter": false,
|
|
306
291
|
"attribute": "delayed",
|
|
307
292
|
"reflect": false,
|
|
308
293
|
"defaultValue": "false"
|
|
@@ -21,7 +21,13 @@ const focusDisablingSelector = `:where(${[
|
|
|
21
21
|
'details:not([open]) > *:not(details > summary:first-of-type)',
|
|
22
22
|
'details:not([open]) > *:not(details > summary:first-of-type) *',
|
|
23
23
|
'[tabindex^="-"]',
|
|
24
|
+
'[hidden]:not([hidden="false"])',
|
|
24
25
|
].join(',')})`;
|
|
25
26
|
export function getFocusableChildren(element) {
|
|
26
|
-
|
|
27
|
+
const focusableChildren = element.querySelectorAll(`${focusableSelector}:not(${focusDisablingSelector})`);
|
|
28
|
+
const visibleFocusableChildren = Array.from(focusableChildren).filter(child => {
|
|
29
|
+
const style = window.getComputedStyle(child.parentElement);
|
|
30
|
+
return style.display !== 'none' && style.visibility !== 'hidden';
|
|
31
|
+
});
|
|
32
|
+
return visibleFocusableChildren;
|
|
27
33
|
}
|
|
@@ -21,9 +21,15 @@ const focusDisablingSelector = `:where(${[
|
|
|
21
21
|
'details:not([open]) > *:not(details > summary:first-of-type)',
|
|
22
22
|
'details:not([open]) > *:not(details > summary:first-of-type) *',
|
|
23
23
|
'[tabindex^="-"]',
|
|
24
|
+
'[hidden]:not([hidden="false"])',
|
|
24
25
|
].join(',')})`;
|
|
25
26
|
function getFocusableChildren(element) {
|
|
26
|
-
|
|
27
|
+
const focusableChildren = element.querySelectorAll(`${focusableSelector}:not(${focusDisablingSelector})`);
|
|
28
|
+
const visibleFocusableChildren = Array.from(focusableChildren).filter(child => {
|
|
29
|
+
const style = window.getComputedStyle(child.parentElement);
|
|
30
|
+
return style.display !== 'none' && style.visibility !== 'hidden';
|
|
31
|
+
});
|
|
32
|
+
return visibleFocusableChildren;
|
|
27
33
|
}
|
|
28
34
|
|
|
29
35
|
export { getFocusableChildren as g };
|
package/dist/components/index.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { P as PostAccordion } from './
|
|
3
|
-
export { P as PostAccordionItem } from './
|
|
4
|
-
export { P as PostAvatar } from './
|
|
5
|
-
export { P as PostBackToTop } from './
|
|
6
|
-
export { P as PostBanner } from './
|
|
7
|
-
export { P as PostBreadcrumb } from './
|
|
8
|
-
export { P as PostBreadcrumbItem } from './
|
|
9
|
-
export { P as PostCardControl } from './
|
|
10
|
-
export { P as PostClosebutton } from './
|
|
11
|
-
export { P as PostCollapsible } from './
|
|
12
|
-
export { P as PostCollapsibleTrigger } from './
|
|
13
|
-
export { P as PostFooter } from './
|
|
14
|
-
export { P as PostHeader } from './
|
|
15
|
-
export { P as PostIcon } from './
|
|
16
|
-
export { P as PostLanguageOption } from './
|
|
17
|
-
export { P as PostLanguageSwitch } from './
|
|
18
|
-
export { P as PostLinkarea } from './
|
|
19
|
-
export { P as PostList } from './
|
|
20
|
-
export { P as PostListItem } from './
|
|
21
|
-
export { P as PostLogo } from './
|
|
22
|
-
export { P as PostMainnavigation } from './
|
|
23
|
-
export { P as PostMegadropdown } from './
|
|
24
|
-
export { P as PostMegadropdownTrigger } from './
|
|
25
|
-
export { P as PostMenu } from './
|
|
26
|
-
export { P as PostMenuItem } from './
|
|
27
|
-
export { P as PostMenuTrigger } from './
|
|
28
|
-
export { P as PostPopover } from './
|
|
29
|
-
export { P as PostPopovercontainer } from './
|
|
30
|
-
export { P as PostRating } from './
|
|
31
|
-
export { P as PostTabs } from './
|
|
32
|
-
export { P as PostTabHeader } from './
|
|
33
|
-
export { P as PostTabPanel } from './
|
|
34
|
-
export { P as PostTag } from './
|
|
35
|
-
export { P as PostTogglebutton } from './
|
|
36
|
-
export { P as PostTooltip } from './
|
|
1
|
+
export { getAssetPath, setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
|
+
export { P as PostAccordion } from './post-accordion2.js';
|
|
3
|
+
export { P as PostAccordionItem } from './post-accordion-item2.js';
|
|
4
|
+
export { P as PostAvatar } from './post-avatar2.js';
|
|
5
|
+
export { P as PostBackToTop } from './post-back-to-top2.js';
|
|
6
|
+
export { P as PostBanner } from './post-banner2.js';
|
|
7
|
+
export { P as PostBreadcrumb } from './post-breadcrumb2.js';
|
|
8
|
+
export { P as PostBreadcrumbItem } from './post-breadcrumb-item2.js';
|
|
9
|
+
export { P as PostCardControl } from './post-card-control2.js';
|
|
10
|
+
export { P as PostClosebutton } from './post-closebutton2.js';
|
|
11
|
+
export { P as PostCollapsible } from './post-collapsible2.js';
|
|
12
|
+
export { P as PostCollapsibleTrigger } from './post-collapsible-trigger2.js';
|
|
13
|
+
export { P as PostFooter } from './post-footer2.js';
|
|
14
|
+
export { P as PostHeader } from './post-header2.js';
|
|
15
|
+
export { P as PostIcon } from './post-icon2.js';
|
|
16
|
+
export { P as PostLanguageOption } from './post-language-option2.js';
|
|
17
|
+
export { P as PostLanguageSwitch } from './post-language-switch2.js';
|
|
18
|
+
export { P as PostLinkarea } from './post-linkarea2.js';
|
|
19
|
+
export { P as PostList } from './post-list2.js';
|
|
20
|
+
export { P as PostListItem } from './post-list-item2.js';
|
|
21
|
+
export { P as PostLogo } from './post-logo2.js';
|
|
22
|
+
export { P as PostMainnavigation } from './post-mainnavigation2.js';
|
|
23
|
+
export { P as PostMegadropdown } from './post-megadropdown2.js';
|
|
24
|
+
export { P as PostMegadropdownTrigger } from './post-megadropdown-trigger2.js';
|
|
25
|
+
export { P as PostMenu } from './post-menu2.js';
|
|
26
|
+
export { P as PostMenuItem } from './post-menu-item2.js';
|
|
27
|
+
export { P as PostMenuTrigger } from './post-menu-trigger2.js';
|
|
28
|
+
export { P as PostPopover } from './post-popover2.js';
|
|
29
|
+
export { P as PostPopovercontainer } from './post-popovercontainer2.js';
|
|
30
|
+
export { P as PostRating } from './post-rating2.js';
|
|
31
|
+
export { P as PostTabs } from './post-tabs2.js';
|
|
32
|
+
export { P as PostTabHeader } from './post-tab-header2.js';
|
|
33
|
+
export { P as PostTabPanel } from './post-tab-panel2.js';
|
|
34
|
+
export { P as PostTag } from './post-tag2.js';
|
|
35
|
+
export { P as PostTogglebutton } from './post-togglebutton2.js';
|
|
36
|
+
export { P as PostTooltip } from './post-tooltip2.js';
|
|
@@ -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 './constants.js';
|
|
2
|
+
import { c as checkOneOf } from './check-one-of.js';
|
|
3
|
+
import { c as checkType } from './check-type.js';
|
|
4
4
|
|
|
5
5
|
function emptyOr(check) {
|
|
6
6
|
return (...args) => {
|
|
@@ -22,9 +22,9 @@ function checkUrl(value, error) {
|
|
|
22
22
|
throw new Error(error);
|
|
23
23
|
}
|
|
24
24
|
try {
|
|
25
|
-
new URL(value);
|
|
25
|
+
new URL(value, window.location.href);
|
|
26
26
|
}
|
|
27
|
-
catch
|
|
27
|
+
catch {
|
|
28
28
|
throw new Error(error);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PostAccordionItem$1, d as defineCustomElement$1 } from './
|
|
1
|
+
import { P as PostAccordionItem$1, d as defineCustomElement$1 } from './post-accordion-item2.js';
|
|
2
2
|
|
|
3
3
|
const PostAccordionItem = PostAccordionItem$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|