@swisspost/design-system-components 9.0.0-next.7 → 9.0.0-next.9
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-3ffdd2fb.js +14 -0
- package/dist/cjs/debounce-1151afe3.js +12 -0
- package/dist/cjs/{index-e1f32cce.js → index-010dc207.js} +24 -27
- package/dist/cjs/{index-824d2b71.js → index-5d4e0aed.js} +2 -12
- package/dist/cjs/index.cjs.js +47 -42
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-bc44930e.js → package-8e810a59.js} +1 -1
- package/dist/cjs/{post-accordion-c55fef06.js → post-accordion-b9df8522.js} +3 -3
- package/dist/cjs/post-accordion-item-ecc6749f.js +63 -0
- package/dist/cjs/post-accordion-item.cjs.entry.js +5 -4
- package/dist/cjs/post-accordion.cjs.entry.js +3 -3
- package/dist/cjs/{post-avatar-10d7b5c0.js → post-avatar-f7236084.js} +2 -2
- package/dist/cjs/post-avatar.cjs.entry.js +3 -3
- package/dist/cjs/post-back-to-top-60762f8e.js +75 -0
- package/dist/cjs/post-back-to-top.cjs.entry.js +15 -0
- package/dist/cjs/{post-banner-b286d37f.js → post-banner-9662f22c.js} +6 -6
- package/dist/cjs/post-banner.cjs.entry.js +5 -4
- package/dist/cjs/post-breadcrumb-b40732fc.js +111 -0
- package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +17 -0
- package/dist/cjs/post-breadcrumb.cjs.entry.js +13 -0
- package/dist/cjs/post-card-control-039c9a4b.js +272 -0
- package/dist/cjs/post-card-control.cjs.entry.js +3 -3
- package/dist/cjs/post-closebutton_15.cjs.entry.js +33 -0
- package/dist/cjs/{post-collapsible-trigger-c8b3e767.js → post-collapsible-trigger-143cf84a.js} +6 -14
- package/dist/cjs/post-collapsible_2.cjs.entry.js +6 -4
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-footer-5f7fdf96.js +84 -0
- package/dist/cjs/post-footer.cjs.entry.js +11 -0
- package/dist/cjs/post-menu-item-bb0b0b9e.js +74 -0
- package/dist/cjs/{post-popover-91a83e9d.js → post-popover-d0ce9dc6.js} +3 -3
- package/dist/cjs/post-popover.cjs.entry.js +3 -3
- package/dist/cjs/{post-rating-57fcf949.js → post-rating-1082197c.js} +3 -3
- package/dist/cjs/post-rating.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-header-ce56b760.js → post-tab-header-4b6d8d54.js} +3 -3
- package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-panel-70e49260.js → post-tab-panel-60f211a5.js} +3 -3
- package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/{post-tabs-39262e55.js → post-tabs-1f797ce4.js} +8 -6
- package/dist/cjs/post-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{post-tag-b6bc5785.js → post-tag-ddaaaedc.js} +3 -3
- package/dist/cjs/post-tag.cjs.entry.js +3 -3
- package/dist/cjs/{post-megadropdown-trigger-9b9f1036.js → post-togglebutton-0984a694.js} +1789 -1234
- package/dist/cjs/{post-tooltip-8be3b2aa.js → post-tooltip-38c839a4.js} +4 -4
- package/dist/cjs/post-tooltip.cjs.entry.js +5 -4
- package/dist/cjs/slide-5d51abe8.js +28 -0
- package/dist/collection/animations/slide.js +23 -0
- package/dist/collection/collection-manifest.json +13 -9
- package/dist/collection/components/post-accordion/post-accordion.css +1 -1
- package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +22 -7
- package/dist/collection/components/post-back-to-top/post-back-to-top.css +1 -0
- package/dist/collection/components/post-back-to-top/post-back-to-top.js +107 -0
- package/dist/collection/components/post-banner/post-banner.js +3 -3
- package/dist/collection/components/post-breadcrumb/post-breadcrumb.css +3 -0
- package/dist/collection/components/post-breadcrumb/post-breadcrumb.js +161 -0
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -1
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +11 -1
- package/dist/collection/components/post-card-control/post-card-control.css +1 -1
- package/dist/collection/components/post-card-control/post-card-control.js +2 -2
- package/dist/collection/components/post-closebutton/post-closebutton.js +1 -1
- package/dist/collection/components/post-collapsible/post-collapsible.js +1 -1
- package/dist/collection/components/post-footer/post-footer.css +1 -0
- package/dist/collection/components/post-footer/post-footer.js +75 -0
- package/dist/collection/components/post-header/post-header.css +1 -1
- package/dist/collection/components/post-header/post-header.js +74 -17
- package/dist/collection/components/post-icon/post-icon.js +1 -1
- package/dist/collection/components/post-language-option/post-language-option.css +1 -1
- package/dist/collection/components/post-language-option/post-language-option.js +25 -1
- package/dist/collection/components/post-language-switch/post-language-switch.css +1 -0
- package/dist/collection/components/post-language-switch/post-language-switch.js +163 -0
- package/dist/collection/components/post-language-switch/switch-variants.js +1 -0
- package/dist/collection/components/post-list/post-list.css +1 -1
- package/dist/collection/components/post-list/post-list.js +3 -3
- package/dist/collection/components/post-list-item/post-list-item.js +1 -1
- package/dist/collection/components/post-logo/post-logo.js +1 -1
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.css +1 -1
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +15 -24
- package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -1
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +82 -68
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +1 -1
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +80 -24
- package/dist/collection/components/post-menu/post-menu.js +6 -4
- 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 -1
- package/dist/collection/components/post-popover/post-popover.js +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +2 -2
- package/dist/collection/components/post-rating/post-rating.js +1 -1
- package/dist/collection/components/post-tab-header/post-tab-header.js +1 -1
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
- package/dist/collection/components/post-tabs/post-tabs.js +6 -4
- package/dist/collection/components/post-tag/post-tag.js +1 -1
- package/dist/collection/components/post-togglebutton/post-togglebutton.css +1 -1
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +24 -6
- package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
- package/dist/collection/index.js +13 -9
- package/dist/collection/utils/breakpoints.js +46 -0
- package/dist/components/debounce.js +10 -0
- package/dist/components/index.js +13 -9
- package/dist/components/index2.js +1 -1
- package/dist/components/package.js +1 -1
- package/dist/components/post-accordion-item2.js +29 -11
- package/dist/components/post-accordion2.js +1 -1
- package/dist/components/post-back-to-top.d.ts +11 -0
- package/dist/components/post-back-to-top.js +6 -0
- package/dist/components/post-back-to-top2.js +100 -0
- package/dist/components/post-banner2.js +3 -3
- package/dist/components/post-breadcrumb-item2.js +13 -3
- package/dist/components/post-breadcrumb.d.ts +11 -0
- package/dist/components/post-breadcrumb.js +6 -0
- package/dist/components/post-breadcrumb2.js +168 -0
- package/dist/components/post-card-control2.js +3 -3
- package/dist/components/post-closebutton2.js +1 -1
- package/dist/components/post-collapsible-trigger2.js +1 -9
- package/dist/components/post-collapsible2.js +2 -2
- package/dist/components/post-footer.d.ts +11 -0
- package/dist/components/post-footer.js +6 -0
- package/dist/components/post-footer2.js +124 -0
- package/dist/components/post-header2.js +55 -14
- package/dist/components/post-icon2.js +2 -2
- package/dist/components/post-language-option2.js +5 -3
- package/dist/components/post-language-switch.d.ts +11 -0
- package/dist/components/post-language-switch.js +6 -0
- package/dist/components/post-language-switch2.js +146 -0
- package/dist/components/post-list-item2.js +1 -1
- package/dist/components/post-list2.js +4 -4
- package/dist/components/post-logo2.js +2 -2
- package/dist/components/post-mainnavigation2.js +17 -17
- package/dist/components/post-megadropdown-trigger2.js +63 -11
- package/dist/components/post-megadropdown2.js +48 -22
- package/dist/components/post-menu-item2.js +1 -1
- package/dist/components/post-menu-trigger2.js +11 -1
- package/dist/components/post-menu2.js +6 -4
- package/dist/components/post-popover2.js +1 -1
- package/dist/components/post-popovercontainer2.js +2 -2
- package/dist/components/post-rating2.js +1 -1
- package/dist/components/post-tab-header2.js +1 -1
- package/dist/components/post-tab-panel2.js +1 -1
- package/dist/components/post-tabs2.js +6 -4
- package/dist/components/post-tag2.js +1 -1
- package/dist/components/post-togglebutton2.js +23 -5
- package/dist/components/post-tooltip2.js +2 -2
- package/dist/components/slide.js +25 -0
- package/dist/docs.json +565 -123
- package/dist/esm/check-url-a974431e.js +12 -0
- package/dist/esm/debounce-abe98cc2.js +10 -0
- package/dist/esm/{index-f8a00dc0.js → index-b49c9904.js} +1 -11
- package/dist/esm/{index-e1b64755.js → index-fb8d6be7.js} +24 -27
- package/dist/esm/index.js +25 -24
- package/dist/esm/loader.js +3 -3
- package/dist/esm/package-4d81f3c2.js +3 -0
- package/dist/esm/{post-accordion-7268e29b.js → post-accordion-ee54a3ef.js} +3 -3
- package/dist/esm/post-accordion-item-e10452dc.js +61 -0
- package/dist/esm/post-accordion-item.entry.js +5 -4
- package/dist/esm/post-accordion.entry.js +3 -3
- package/dist/esm/{post-avatar-19162f90.js → post-avatar-5572fa73.js} +2 -2
- package/dist/esm/post-avatar.entry.js +3 -3
- package/dist/esm/post-back-to-top-1d823c43.js +73 -0
- package/dist/esm/post-back-to-top.entry.js +7 -0
- package/dist/esm/{post-banner-132709ad.js → post-banner-78480475.js} +6 -6
- package/dist/esm/post-banner.entry.js +5 -4
- package/dist/esm/post-breadcrumb-aaa77f74.js +109 -0
- package/dist/esm/post-breadcrumb-item_2.entry.js +8 -0
- package/dist/esm/post-breadcrumb.entry.js +5 -0
- package/dist/esm/post-card-control-862aa961.js +270 -0
- package/dist/esm/post-card-control.entry.js +3 -3
- package/dist/esm/post-closebutton_15.entry.js +11 -0
- package/dist/esm/{post-collapsible-trigger-43fbbf03.js → post-collapsible-trigger-1c7833f8.js} +5 -13
- package/dist/esm/post-collapsible_2.entry.js +6 -4
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-footer-b18875e7.js +82 -0
- package/dist/esm/post-footer.entry.js +3 -0
- package/dist/esm/post-menu-item-2906384b.js +71 -0
- package/dist/esm/{post-popover-abae1f3a.js → post-popover-2432bb3f.js} +3 -3
- package/dist/esm/post-popover.entry.js +3 -3
- package/dist/esm/{post-rating-b963d4f2.js → post-rating-95cbdbb8.js} +3 -3
- package/dist/esm/post-rating.entry.js +3 -3
- package/dist/esm/{post-tab-header-c16feb72.js → post-tab-header-dfea00ea.js} +3 -3
- package/dist/esm/post-tab-header.entry.js +3 -3
- package/dist/esm/{post-tab-panel-cb02df49.js → post-tab-panel-cafd9e04.js} +3 -3
- package/dist/esm/post-tab-panel.entry.js +3 -3
- package/dist/esm/{post-tabs-81085d7b.js → post-tabs-beef8eae.js} +8 -6
- package/dist/esm/post-tabs.entry.js +3 -3
- package/dist/esm/{post-tag-103bfff5.js → post-tag-a77e7af6.js} +3 -3
- package/dist/esm/post-tag.entry.js +3 -3
- package/dist/esm/{post-megadropdown-trigger-813b5140.js → post-togglebutton-395bf3f0.js} +1785 -1235
- package/dist/esm/{post-tooltip-2c5ff736.js → post-tooltip-b298039a.js} +4 -4
- package/dist/esm/post-tooltip.entry.js +5 -4
- package/dist/esm/slide-3422b8a3.js +25 -0
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-0711f76d.entry.js +1 -0
- package/dist/post-components/p-095a06f6.entry.js +1 -0
- package/dist/post-components/p-0b5a5f32.js +1 -0
- package/dist/post-components/p-135fa60f.js +1 -0
- package/dist/post-components/p-18e38d8a.js +1 -0
- package/dist/post-components/p-2e1ec074.entry.js +1 -0
- package/dist/post-components/p-4202b433.entry.js +1 -0
- package/dist/post-components/p-45773f59.js +1 -0
- package/dist/post-components/{p-bb103905.js → p-4953de7e.js} +1 -1
- package/dist/post-components/p-4f67c5f5.entry.js +1 -0
- package/dist/post-components/{p-6f56a13d.js → p-4f9746f6.js} +2 -2
- package/dist/post-components/p-5075c672.entry.js +1 -0
- package/dist/post-components/p-515e0f96.js +1 -0
- package/dist/post-components/p-5467b223.js +1 -0
- package/dist/post-components/p-67036798.entry.js +1 -0
- package/dist/post-components/{p-c819933c.js → p-6d953fb2.js} +1 -1
- package/dist/post-components/p-6edb0ac5.js +1 -0
- package/dist/post-components/{p-fa7af203.js → p-6f8f39ca.js} +1 -1
- package/dist/post-components/p-7503a623.js +1 -0
- package/dist/post-components/p-761b24c7.entry.js +1 -0
- package/dist/post-components/{p-0f699dbc.js → p-77c4c1d2.js} +1 -1
- package/dist/post-components/p-7cf0c2ad.js +1 -0
- package/dist/post-components/p-856c14d6.entry.js +1 -0
- package/dist/post-components/p-866bf50a.entry.js +1 -0
- package/dist/post-components/p-8d621781.js +1 -0
- package/dist/post-components/p-8fe2d72c.entry.js +1 -0
- package/dist/post-components/p-9ad5088f.entry.js +1 -0
- package/dist/post-components/{p-8b6f7f04.js → p-a1d2b90e.js} +1 -1
- package/dist/post-components/p-a521419d.entry.js +1 -0
- package/dist/post-components/p-aa538648.js +1 -0
- package/dist/post-components/p-afdbee2f.js +1 -0
- package/dist/post-components/p-b02817f2.entry.js +1 -0
- package/dist/post-components/p-b157dcba.entry.js +1 -0
- package/dist/post-components/p-b22656b1.js +1 -0
- package/dist/post-components/{p-ed834dde.js → p-bdbd11cb.js} +1 -1
- package/dist/post-components/{p-3eab790d.js → p-c0ae9886.js} +1 -1
- package/dist/post-components/p-c537e196.entry.js +1 -0
- package/dist/post-components/p-d4f93f2b.js +1 -0
- package/dist/post-components/p-dca4246a.entry.js +1 -0
- package/dist/post-components/p-f319b026.js +1 -0
- package/dist/post-components/p-f4b7b379.js +1 -0
- package/dist/post-components/p-fac66087.entry.js +1 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/animations/slide.d.ts +2 -0
- package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +7 -1
- package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +19 -0
- package/dist/types/components/post-breadcrumb/post-breadcrumb.d.ts +30 -0
- package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +1 -0
- package/dist/types/components/post-footer/post-footer.d.ts +23 -0
- package/dist/types/components/post-header/post-header.d.ts +13 -5
- package/dist/types/components/post-language-option/post-language-option.d.ts +5 -0
- package/dist/types/components/post-language-switch/post-language-switch.d.ts +31 -0
- package/dist/types/components/post-language-switch/switch-variants.d.ts +2 -0
- package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +10 -1
- package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +24 -12
- package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +20 -5
- package/dist/types/components/post-menu/post-menu.d.ts +1 -0
- package/dist/types/components/post-togglebutton/post-togglebutton.d.ts +4 -2
- package/dist/types/components.d.ts +150 -29
- package/dist/types/index.d.ts +13 -9
- package/dist/types/utils/breakpoints.d.ts +11 -0
- package/loaders/debounce.js +10 -0
- package/loaders/index.d.ts +8 -0
- package/loaders/index.js +4 -0
- package/loaders/index2.js +1 -1
- package/loaders/package.js +1 -1
- package/loaders/post-accordion-item.js +1 -82
- package/loaders/post-accordion-item2.js +102 -0
- package/loaders/post-accordion.js +1 -1
- package/loaders/post-back-to-top.d.ts +11 -0
- package/loaders/post-back-to-top.js +103 -0
- package/loaders/post-banner.js +4 -4
- package/loaders/post-breadcrumb-item.js +1 -70
- package/loaders/post-breadcrumb-item2.js +82 -0
- package/loaders/post-breadcrumb.d.ts +11 -0
- package/loaders/post-breadcrumb.js +171 -0
- package/loaders/post-card-control.js +3 -3
- package/loaders/post-closebutton.js +1 -1
- package/loaders/post-collapsible-trigger2.js +1 -9
- package/loaders/post-collapsible2.js +1 -1
- package/loaders/post-footer.d.ts +11 -0
- package/loaders/post-footer.js +127 -0
- package/loaders/post-header.js +55 -14
- package/loaders/post-icon2.js +2 -2
- package/loaders/post-language-option.js +4 -2
- package/loaders/post-language-switch.d.ts +11 -0
- package/loaders/post-language-switch.js +149 -0
- package/loaders/post-list-item.js +1 -1
- package/loaders/post-list.js +4 -4
- package/loaders/post-logo.js +2 -2
- package/loaders/post-mainnavigation.js +17 -17
- package/loaders/post-megadropdown-trigger.js +63 -11
- package/loaders/post-megadropdown.js +48 -22
- package/loaders/post-menu-item.js +1 -31
- package/loaders/post-menu-item2.js +33 -0
- package/loaders/post-menu-trigger.js +1 -90
- package/{dist/esm/post-menu-trigger-b84f728d.js → loaders/post-menu-trigger2.js} +41 -12
- package/loaders/post-menu.js +1 -199
- package/{dist/esm/post-menu-62c3e49a.js → loaders/post-menu2.js} +42 -13
- package/loaders/post-popover.js +1 -1
- package/loaders/post-popovercontainer2.js +2 -2
- package/loaders/post-rating.js +1 -1
- package/loaders/post-tab-header.js +1 -1
- package/loaders/post-tab-panel.js +1 -1
- package/loaders/post-tabs.js +6 -4
- package/loaders/post-tag.js +1 -1
- package/loaders/post-togglebutton.js +23 -5
- package/loaders/post-tooltip.js +1 -1
- package/loaders/slide.js +25 -0
- package/package.json +6 -4
- package/dist/cjs/post-accordion-item-641f0b42.js +0 -52
- package/dist/cjs/post-breadcrumb-item-8cdc59a8.js +0 -49
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +0 -15
- package/dist/cjs/post-card-control-fc4aca2a.js +0 -272
- package/dist/cjs/post-closebutton_10.cjs.entry.js +0 -25
- package/dist/cjs/post-language-option-8c1ec4fd.js +0 -68
- package/dist/cjs/post-language-option.cjs.entry.js +0 -15
- package/dist/cjs/post-menu-5a71a6fe.js +0 -176
- package/dist/cjs/post-menu-item-5c5c1aaf.js +0 -20
- package/dist/cjs/post-menu-item.cjs.entry.js +0 -11
- package/dist/cjs/post-menu-trigger-02d128c4.js +0 -75
- package/dist/cjs/post-menu-trigger.cjs.entry.js +0 -13
- package/dist/cjs/post-menu.cjs.entry.js +0 -11
- package/dist/cjs/post-togglebutton-2f39442e.js +0 -28
- package/dist/cjs/post-togglebutton.cjs.entry.js +0 -11
- package/dist/esm/package-180da9f3.js +0 -3
- package/dist/esm/post-accordion-item-a5a76abb.js +0 -50
- package/dist/esm/post-breadcrumb-item-5a77f988.js +0 -47
- package/dist/esm/post-breadcrumb-item.entry.js +0 -7
- package/dist/esm/post-card-control-5be9c80a.js +0 -270
- package/dist/esm/post-closebutton_10.entry.js +0 -8
- package/dist/esm/post-language-option-f41240c3.js +0 -66
- package/dist/esm/post-language-option.entry.js +0 -7
- package/dist/esm/post-menu-item-f63a1521.js +0 -18
- package/dist/esm/post-menu-item.entry.js +0 -3
- package/dist/esm/post-menu-trigger.entry.js +0 -5
- package/dist/esm/post-menu.entry.js +0 -3
- package/dist/esm/post-togglebutton-0e714838.js +0 -26
- package/dist/esm/post-togglebutton.entry.js +0 -3
- package/dist/post-components/p-0338f9da.js +0 -1
- package/dist/post-components/p-06980a04.js +0 -1
- package/dist/post-components/p-0af7dfbb.js +0 -1
- package/dist/post-components/p-12262945.entry.js +0 -1
- package/dist/post-components/p-2504dace.entry.js +0 -1
- package/dist/post-components/p-27343d32.entry.js +0 -1
- package/dist/post-components/p-2a456317.js +0 -1
- package/dist/post-components/p-2c3980d2.js +0 -1
- package/dist/post-components/p-31d38040.js +0 -1
- package/dist/post-components/p-339e000e.entry.js +0 -1
- package/dist/post-components/p-3b325360.entry.js +0 -1
- package/dist/post-components/p-3e65ba47.js +0 -1
- package/dist/post-components/p-3f417208.entry.js +0 -1
- package/dist/post-components/p-4922deaf.entry.js +0 -1
- package/dist/post-components/p-6c7546b8.entry.js +0 -1
- package/dist/post-components/p-7eee2b6a.js +0 -1
- package/dist/post-components/p-816623f0.entry.js +0 -1
- package/dist/post-components/p-83cd3885.entry.js +0 -1
- package/dist/post-components/p-9abe554b.js +0 -1
- package/dist/post-components/p-9ea6103e.entry.js +0 -1
- package/dist/post-components/p-a0a7c2c1.entry.js +0 -1
- package/dist/post-components/p-abf9ffdc.entry.js +0 -1
- package/dist/post-components/p-b4a2c7b7.entry.js +0 -1
- package/dist/post-components/p-b7ef401f.js +0 -1
- package/dist/post-components/p-b8a9cf2d.js +0 -1
- package/dist/post-components/p-ccd8a221.entry.js +0 -1
- package/dist/post-components/p-cfc1727f.entry.js +0 -1
- package/dist/post-components/p-d4465c2b.js +0 -1
- package/dist/post-components/p-d4cef624.js +0 -1
- package/dist/post-components/p-da449573.js +0 -1
- package/dist/post-components/p-df5bdda5.entry.js +0 -1
- package/dist/post-components/p-f1416918.entry.js +0 -1
- package/dist/post-components/p-f171b18b.entry.js +0 -1
- package/dist/post-components/p-f4dbd35f.entry.js +0 -1
- package/dist/post-components/p-f6b44820.js +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { SwitchVariant } from '../post-language-switch/switch-variants';
|
|
2
3
|
/**
|
|
3
4
|
* @slot default - Slot for placing the content inside the anchor or button.
|
|
4
5
|
*/
|
|
@@ -14,6 +15,10 @@ export declare class PostLanguageOption {
|
|
|
14
15
|
*/
|
|
15
16
|
active: boolean;
|
|
16
17
|
validateActiveProp(value?: boolean): void;
|
|
18
|
+
/**
|
|
19
|
+
* The variant of the post-language-switch parent (dynamically set by the parent)
|
|
20
|
+
*/
|
|
21
|
+
variant?: SwitchVariant | null;
|
|
17
22
|
/**
|
|
18
23
|
* The full name of the language. For example, "Deutsch".
|
|
19
24
|
*/
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SwitchVariant } from './switch-variants';
|
|
2
|
+
export declare class PostLanguageSwitch {
|
|
3
|
+
host: HTMLPostLanguageSwitchElement;
|
|
4
|
+
/**
|
|
5
|
+
* A title for the list of language options
|
|
6
|
+
*/
|
|
7
|
+
caption: string;
|
|
8
|
+
validateCaption(value?: string): void;
|
|
9
|
+
/**
|
|
10
|
+
* A descriptive text for the list of language options
|
|
11
|
+
*/
|
|
12
|
+
description: string;
|
|
13
|
+
validateDescription(value?: string): void;
|
|
14
|
+
/**
|
|
15
|
+
* Variant that determines the rendering of the language switch either as a list (used on mobile in the header) or a dropdown (used on desktop in the header)
|
|
16
|
+
*/
|
|
17
|
+
variant: SwitchVariant;
|
|
18
|
+
validateVariant(value?: "list" | "dropdown"): void;
|
|
19
|
+
/**
|
|
20
|
+
* The active language of the language switch
|
|
21
|
+
*/
|
|
22
|
+
activeLang: string;
|
|
23
|
+
connectedCallback(): void;
|
|
24
|
+
private updateChildrenVariant;
|
|
25
|
+
componentShouldUpdate(): void;
|
|
26
|
+
componentDidLoad(): void;
|
|
27
|
+
private menuId;
|
|
28
|
+
private renderList;
|
|
29
|
+
private renderDropdown;
|
|
30
|
+
render(): any;
|
|
31
|
+
}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
export declare class PostMainnavigation {
|
|
3
|
+
private header;
|
|
4
|
+
host: HTMLPostMainnavigationElement;
|
|
3
5
|
/**
|
|
4
6
|
* Gets emitted when a user closes the main navigation on mobile
|
|
5
7
|
*/
|
|
6
8
|
postToggle: EventEmitter;
|
|
7
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a reference to the closest 'post-header' element when the main navigation is added to the DOM.
|
|
11
|
+
*/
|
|
12
|
+
connectedCallback(): void;
|
|
13
|
+
/**
|
|
14
|
+
* Cleans up references and disconnects the MutationObserver when the main navigation is removed from the DOM.
|
|
15
|
+
*/
|
|
16
|
+
disconnectedCallback(): void;
|
|
8
17
|
private handleBackButtonClick;
|
|
9
18
|
render(): any;
|
|
10
19
|
}
|
|
@@ -1,23 +1,35 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
export declare class PostMegadropdown {
|
|
2
3
|
private popoverRef;
|
|
4
|
+
host: HTMLPostMegadropdownElement;
|
|
3
5
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
6
|
+
* Holds the current visibility state of the dropdown.
|
|
7
|
+
* This state is internally managed to track whether the dropdown is open (`true`) or closed (`false`),
|
|
8
|
+
* and updates automatically when the dropdown is toggled.
|
|
7
9
|
*/
|
|
8
|
-
|
|
10
|
+
isVisible: boolean;
|
|
11
|
+
animationClass: string | null;
|
|
9
12
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
13
|
+
* Emits when the dropdown is shown or hidden.
|
|
14
|
+
* The event payload is a boolean: `true` when the dropdown was opened, `false` when it was closed.
|
|
15
|
+
**/
|
|
16
|
+
postToggleMegadropdown: EventEmitter<boolean>;
|
|
17
|
+
componentDidLoad(): void;
|
|
18
|
+
/**
|
|
19
|
+
* Toggles the dropdown visibility based on its current state.
|
|
20
|
+
*/
|
|
21
|
+
toggle(target: HTMLElement): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Displays the popover dropdown
|
|
24
|
+
*
|
|
25
|
+
* @param target - The HTML element relative to which the popover dropdown should be displayed.
|
|
12
26
|
*/
|
|
13
|
-
|
|
27
|
+
show(target: HTMLElement): Promise<void>;
|
|
14
28
|
/**
|
|
15
|
-
*
|
|
16
|
-
* @param element HTMLElement
|
|
17
|
-
* @param force boolean
|
|
18
|
-
* @returns boolean
|
|
29
|
+
* Hides the popover dropdown
|
|
19
30
|
*/
|
|
20
|
-
|
|
31
|
+
private hide;
|
|
21
32
|
private handleBackButtonClick;
|
|
33
|
+
private handleCloseButtonClick;
|
|
22
34
|
render(): any;
|
|
23
35
|
}
|
|
@@ -1,10 +1,25 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
1
|
export declare class PostMegadropdownTrigger {
|
|
3
2
|
/**
|
|
4
|
-
*
|
|
3
|
+
* ID of the mega dropdown element that this trigger is linked to. Used to open and close the specified mega dropdown.
|
|
5
4
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
for: string;
|
|
6
|
+
host: HTMLPostMegadropdownTriggerElement;
|
|
7
|
+
/**
|
|
8
|
+
* Manages the accessibility attribute `aria-expanded` to indicate whether the associated mega dropdown is expanded or collapsed.
|
|
9
|
+
*/
|
|
10
|
+
ariaExpanded: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Reference to the slotted button within the trigger, if present.
|
|
13
|
+
* Used to manage click and key events for mega dropdown control.
|
|
14
|
+
*/
|
|
15
|
+
private slottedButton;
|
|
16
|
+
/**
|
|
17
|
+
* Watch for changes to the `for` property to validate its type and ensure it is a string.
|
|
18
|
+
* @param forValue - The new value of the `for` property.
|
|
19
|
+
*/
|
|
20
|
+
validateControlFor(forValue?: string): void;
|
|
21
|
+
private get megadropdown();
|
|
22
|
+
private handleToggle;
|
|
23
|
+
componentDidLoad(): void;
|
|
9
24
|
render(): any;
|
|
10
25
|
}
|
|
@@ -22,6 +22,7 @@ export declare class PostMenu {
|
|
|
22
22
|
* The event payload is a boolean: `true` when the menu was opened, `false` when it was closed.
|
|
23
23
|
**/
|
|
24
24
|
toggleMenu: EventEmitter<boolean>;
|
|
25
|
+
private root?;
|
|
25
26
|
connectedCallback(): void;
|
|
26
27
|
disconnectedCallback(): void;
|
|
27
28
|
componentDidLoad(): void;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @slot
|
|
3
|
-
* @slot untoggled - Slot for content displayed when the button is in the "off" state.
|
|
2
|
+
* @slot default - Slot for the content of the button.
|
|
4
3
|
*/
|
|
5
4
|
export declare class PostTogglebutton {
|
|
5
|
+
host: HTMLPostTogglebuttonElement;
|
|
6
6
|
/**
|
|
7
7
|
* If `true`, the button is in the "on" state, otherwise it is in the "off" state.
|
|
8
8
|
*/
|
|
9
9
|
toggled: boolean;
|
|
10
|
+
validateToggled(value?: boolean): void;
|
|
11
|
+
componentWillLoad(): void;
|
|
10
12
|
private handleClick;
|
|
11
13
|
private handleKeydown;
|
|
12
14
|
render(): any;
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { HeadingLevel } from "./types/index";
|
|
9
9
|
import { BannerType } from "./components/post-banner/banner-types";
|
|
10
|
+
import { SwitchVariant } from "./components/post-language-switch/switch-variants";
|
|
10
11
|
import { Placement } from "@floating-ui/dom";
|
|
11
12
|
export { HeadingLevel } from "./types/index";
|
|
12
13
|
export { BannerType } from "./components/post-banner/banner-types";
|
|
14
|
+
export { SwitchVariant } from "./components/post-language-switch/switch-variants";
|
|
13
15
|
export { Placement } from "@floating-ui/dom";
|
|
14
16
|
export namespace Components {
|
|
15
17
|
interface PostAccordion {
|
|
@@ -67,6 +69,12 @@ export namespace Components {
|
|
|
67
69
|
*/
|
|
68
70
|
"userid"?: string;
|
|
69
71
|
}
|
|
72
|
+
interface PostBackToTop {
|
|
73
|
+
/**
|
|
74
|
+
* The label of the back-to-top button, intended solely for accessibility purposes. This label is always hidden from view.
|
|
75
|
+
*/
|
|
76
|
+
"label": string;
|
|
77
|
+
}
|
|
70
78
|
interface PostBanner {
|
|
71
79
|
/**
|
|
72
80
|
* Triggers banner dismissal programmatically (same as clicking on the close button (×)).
|
|
@@ -89,6 +97,16 @@ export namespace Components {
|
|
|
89
97
|
*/
|
|
90
98
|
"type": BannerType;
|
|
91
99
|
}
|
|
100
|
+
interface PostBreadcrumb {
|
|
101
|
+
/**
|
|
102
|
+
* The text label for the home breadcrumb item.
|
|
103
|
+
*/
|
|
104
|
+
"homeText": string;
|
|
105
|
+
/**
|
|
106
|
+
* The URL for the home breadcrumb item.
|
|
107
|
+
*/
|
|
108
|
+
"homeUrl": string;
|
|
109
|
+
}
|
|
92
110
|
interface PostBreadcrumbItem {
|
|
93
111
|
/**
|
|
94
112
|
* The optional URL to which the breadcrumb item will link.
|
|
@@ -166,7 +184,17 @@ export namespace Components {
|
|
|
166
184
|
*/
|
|
167
185
|
"update": () => Promise<void>;
|
|
168
186
|
}
|
|
187
|
+
interface PostFooter {
|
|
188
|
+
/**
|
|
189
|
+
* The label to add to the footer (visually hidden).
|
|
190
|
+
*/
|
|
191
|
+
"label": string;
|
|
192
|
+
}
|
|
169
193
|
interface PostHeader {
|
|
194
|
+
/**
|
|
195
|
+
* Toggles the mobile navigation.
|
|
196
|
+
*/
|
|
197
|
+
"toggleMobileMenu": () => Promise<void>;
|
|
170
198
|
}
|
|
171
199
|
/**
|
|
172
200
|
* @class PostIcon - representing a stencil component
|
|
@@ -222,6 +250,24 @@ export namespace Components {
|
|
|
222
250
|
* The URL used for the href attribute of the internal anchor. This field is optional; if not provided, a button will be used internally instead of an anchor.
|
|
223
251
|
*/
|
|
224
252
|
"url": string;
|
|
253
|
+
/**
|
|
254
|
+
* The variant of the post-language-switch parent (dynamically set by the parent)
|
|
255
|
+
*/
|
|
256
|
+
"variant"?: SwitchVariant | null;
|
|
257
|
+
}
|
|
258
|
+
interface PostLanguageSwitch {
|
|
259
|
+
/**
|
|
260
|
+
* A title for the list of language options
|
|
261
|
+
*/
|
|
262
|
+
"caption": string;
|
|
263
|
+
/**
|
|
264
|
+
* A descriptive text for the list of language options
|
|
265
|
+
*/
|
|
266
|
+
"description": string;
|
|
267
|
+
/**
|
|
268
|
+
* Variant that determines the rendering of the language switch either as a list (used on mobile in the header) or a dropdown (used on desktop in the header)
|
|
269
|
+
*/
|
|
270
|
+
"variant": SwitchVariant;
|
|
225
271
|
}
|
|
226
272
|
interface PostList {
|
|
227
273
|
/**
|
|
@@ -245,25 +291,20 @@ export namespace Components {
|
|
|
245
291
|
}
|
|
246
292
|
interface PostMegadropdown {
|
|
247
293
|
/**
|
|
248
|
-
*
|
|
249
|
-
* @
|
|
250
|
-
*/
|
|
251
|
-
"hide": () => Promise<void>;
|
|
252
|
-
/**
|
|
253
|
-
* Show megadropdown
|
|
254
|
-
* @param element HTMLElement
|
|
255
|
-
* @returns boolean
|
|
294
|
+
* Displays the popover dropdown
|
|
295
|
+
* @param target - The HTML element relative to which the popover dropdown should be displayed.
|
|
256
296
|
*/
|
|
257
|
-
"show": (
|
|
297
|
+
"show": (target: HTMLElement) => Promise<void>;
|
|
258
298
|
/**
|
|
259
|
-
*
|
|
260
|
-
* @param element HTMLElement
|
|
261
|
-
* @param force boolean
|
|
262
|
-
* @returns boolean
|
|
299
|
+
* Toggles the dropdown visibility based on its current state.
|
|
263
300
|
*/
|
|
264
|
-
"toggle": (
|
|
301
|
+
"toggle": (target: HTMLElement) => Promise<void>;
|
|
265
302
|
}
|
|
266
303
|
interface PostMegadropdownTrigger {
|
|
304
|
+
/**
|
|
305
|
+
* ID of the mega dropdown element that this trigger is linked to. Used to open and close the specified mega dropdown.
|
|
306
|
+
*/
|
|
307
|
+
"for": string;
|
|
267
308
|
}
|
|
268
309
|
interface PostMenu {
|
|
269
310
|
/**
|
|
@@ -461,9 +502,9 @@ export interface PostMainnavigationCustomEvent<T> extends CustomEvent<T> {
|
|
|
461
502
|
detail: T;
|
|
462
503
|
target: HTMLPostMainnavigationElement;
|
|
463
504
|
}
|
|
464
|
-
export interface
|
|
505
|
+
export interface PostMegadropdownCustomEvent<T> extends CustomEvent<T> {
|
|
465
506
|
detail: T;
|
|
466
|
-
target:
|
|
507
|
+
target: HTMLPostMegadropdownElement;
|
|
467
508
|
}
|
|
468
509
|
export interface PostMenuCustomEvent<T> extends CustomEvent<T> {
|
|
469
510
|
detail: T;
|
|
@@ -500,6 +541,12 @@ declare global {
|
|
|
500
541
|
prototype: HTMLPostAvatarElement;
|
|
501
542
|
new (): HTMLPostAvatarElement;
|
|
502
543
|
};
|
|
544
|
+
interface HTMLPostBackToTopElement extends Components.PostBackToTop, HTMLStencilElement {
|
|
545
|
+
}
|
|
546
|
+
var HTMLPostBackToTopElement: {
|
|
547
|
+
prototype: HTMLPostBackToTopElement;
|
|
548
|
+
new (): HTMLPostBackToTopElement;
|
|
549
|
+
};
|
|
503
550
|
interface HTMLPostBannerElementEventMap {
|
|
504
551
|
"postDismissed": void;
|
|
505
552
|
}
|
|
@@ -517,6 +564,12 @@ declare global {
|
|
|
517
564
|
prototype: HTMLPostBannerElement;
|
|
518
565
|
new (): HTMLPostBannerElement;
|
|
519
566
|
};
|
|
567
|
+
interface HTMLPostBreadcrumbElement extends Components.PostBreadcrumb, HTMLStencilElement {
|
|
568
|
+
}
|
|
569
|
+
var HTMLPostBreadcrumbElement: {
|
|
570
|
+
prototype: HTMLPostBreadcrumbElement;
|
|
571
|
+
new (): HTMLPostBreadcrumbElement;
|
|
572
|
+
};
|
|
520
573
|
interface HTMLPostBreadcrumbItemElement extends Components.PostBreadcrumbItem, HTMLStencilElement {
|
|
521
574
|
}
|
|
522
575
|
var HTMLPostBreadcrumbItemElement: {
|
|
@@ -573,6 +626,12 @@ declare global {
|
|
|
573
626
|
prototype: HTMLPostCollapsibleTriggerElement;
|
|
574
627
|
new (): HTMLPostCollapsibleTriggerElement;
|
|
575
628
|
};
|
|
629
|
+
interface HTMLPostFooterElement extends Components.PostFooter, HTMLStencilElement {
|
|
630
|
+
}
|
|
631
|
+
var HTMLPostFooterElement: {
|
|
632
|
+
prototype: HTMLPostFooterElement;
|
|
633
|
+
new (): HTMLPostFooterElement;
|
|
634
|
+
};
|
|
576
635
|
interface HTMLPostHeaderElement extends Components.PostHeader, HTMLStencilElement {
|
|
577
636
|
}
|
|
578
637
|
var HTMLPostHeaderElement: {
|
|
@@ -605,6 +664,12 @@ declare global {
|
|
|
605
664
|
prototype: HTMLPostLanguageOptionElement;
|
|
606
665
|
new (): HTMLPostLanguageOptionElement;
|
|
607
666
|
};
|
|
667
|
+
interface HTMLPostLanguageSwitchElement extends Components.PostLanguageSwitch, HTMLStencilElement {
|
|
668
|
+
}
|
|
669
|
+
var HTMLPostLanguageSwitchElement: {
|
|
670
|
+
prototype: HTMLPostLanguageSwitchElement;
|
|
671
|
+
new (): HTMLPostLanguageSwitchElement;
|
|
672
|
+
};
|
|
608
673
|
interface HTMLPostListElement extends Components.PostList, HTMLStencilElement {
|
|
609
674
|
}
|
|
610
675
|
var HTMLPostListElement: {
|
|
@@ -640,25 +705,25 @@ declare global {
|
|
|
640
705
|
prototype: HTMLPostMainnavigationElement;
|
|
641
706
|
new (): HTMLPostMainnavigationElement;
|
|
642
707
|
};
|
|
643
|
-
interface
|
|
708
|
+
interface HTMLPostMegadropdownElementEventMap {
|
|
709
|
+
"postToggleMegadropdown": boolean;
|
|
644
710
|
}
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
new (): HTMLPostMegadropdownElement;
|
|
648
|
-
};
|
|
649
|
-
interface HTMLPostMegadropdownTriggerElementEventMap {
|
|
650
|
-
"postToggle": any;
|
|
651
|
-
}
|
|
652
|
-
interface HTMLPostMegadropdownTriggerElement extends Components.PostMegadropdownTrigger, HTMLStencilElement {
|
|
653
|
-
addEventListener<K extends keyof HTMLPostMegadropdownTriggerElementEventMap>(type: K, listener: (this: HTMLPostMegadropdownTriggerElement, ev: PostMegadropdownTriggerCustomEvent<HTMLPostMegadropdownTriggerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
711
|
+
interface HTMLPostMegadropdownElement extends Components.PostMegadropdown, HTMLStencilElement {
|
|
712
|
+
addEventListener<K extends keyof HTMLPostMegadropdownElementEventMap>(type: K, listener: (this: HTMLPostMegadropdownElement, ev: PostMegadropdownCustomEvent<HTMLPostMegadropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
654
713
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
655
714
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
656
715
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
657
|
-
removeEventListener<K extends keyof
|
|
716
|
+
removeEventListener<K extends keyof HTMLPostMegadropdownElementEventMap>(type: K, listener: (this: HTMLPostMegadropdownElement, ev: PostMegadropdownCustomEvent<HTMLPostMegadropdownElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
658
717
|
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
659
718
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
660
719
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
661
720
|
}
|
|
721
|
+
var HTMLPostMegadropdownElement: {
|
|
722
|
+
prototype: HTMLPostMegadropdownElement;
|
|
723
|
+
new (): HTMLPostMegadropdownElement;
|
|
724
|
+
};
|
|
725
|
+
interface HTMLPostMegadropdownTriggerElement extends Components.PostMegadropdownTrigger, HTMLStencilElement {
|
|
726
|
+
}
|
|
662
727
|
var HTMLPostMegadropdownTriggerElement: {
|
|
663
728
|
prototype: HTMLPostMegadropdownTriggerElement;
|
|
664
729
|
new (): HTMLPostMegadropdownTriggerElement;
|
|
@@ -784,15 +849,19 @@ declare global {
|
|
|
784
849
|
"post-accordion": HTMLPostAccordionElement;
|
|
785
850
|
"post-accordion-item": HTMLPostAccordionItemElement;
|
|
786
851
|
"post-avatar": HTMLPostAvatarElement;
|
|
852
|
+
"post-back-to-top": HTMLPostBackToTopElement;
|
|
787
853
|
"post-banner": HTMLPostBannerElement;
|
|
854
|
+
"post-breadcrumb": HTMLPostBreadcrumbElement;
|
|
788
855
|
"post-breadcrumb-item": HTMLPostBreadcrumbItemElement;
|
|
789
856
|
"post-card-control": HTMLPostCardControlElement;
|
|
790
857
|
"post-closebutton": HTMLPostClosebuttonElement;
|
|
791
858
|
"post-collapsible": HTMLPostCollapsibleElement;
|
|
792
859
|
"post-collapsible-trigger": HTMLPostCollapsibleTriggerElement;
|
|
860
|
+
"post-footer": HTMLPostFooterElement;
|
|
793
861
|
"post-header": HTMLPostHeaderElement;
|
|
794
862
|
"post-icon": HTMLPostIconElement;
|
|
795
863
|
"post-language-option": HTMLPostLanguageOptionElement;
|
|
864
|
+
"post-language-switch": HTMLPostLanguageSwitchElement;
|
|
796
865
|
"post-list": HTMLPostListElement;
|
|
797
866
|
"post-list-item": HTMLPostListItemElement;
|
|
798
867
|
"post-logo": HTMLPostLogoElement;
|
|
@@ -853,6 +922,12 @@ declare namespace LocalJSX {
|
|
|
853
922
|
*/
|
|
854
923
|
"userid"?: string;
|
|
855
924
|
}
|
|
925
|
+
interface PostBackToTop {
|
|
926
|
+
/**
|
|
927
|
+
* The label of the back-to-top button, intended solely for accessibility purposes. This label is always hidden from view.
|
|
928
|
+
*/
|
|
929
|
+
"label": string;
|
|
930
|
+
}
|
|
856
931
|
interface PostBanner {
|
|
857
932
|
/**
|
|
858
933
|
* The label to use for the close button of a dismissible banner.
|
|
@@ -875,6 +950,16 @@ declare namespace LocalJSX {
|
|
|
875
950
|
*/
|
|
876
951
|
"type"?: BannerType;
|
|
877
952
|
}
|
|
953
|
+
interface PostBreadcrumb {
|
|
954
|
+
/**
|
|
955
|
+
* The text label for the home breadcrumb item.
|
|
956
|
+
*/
|
|
957
|
+
"homeText"?: string;
|
|
958
|
+
/**
|
|
959
|
+
* The URL for the home breadcrumb item.
|
|
960
|
+
*/
|
|
961
|
+
"homeUrl"?: string;
|
|
962
|
+
}
|
|
878
963
|
interface PostBreadcrumbItem {
|
|
879
964
|
/**
|
|
880
965
|
* The optional URL to which the breadcrumb item will link.
|
|
@@ -948,6 +1033,12 @@ declare namespace LocalJSX {
|
|
|
948
1033
|
*/
|
|
949
1034
|
"for"?: string;
|
|
950
1035
|
}
|
|
1036
|
+
interface PostFooter {
|
|
1037
|
+
/**
|
|
1038
|
+
* The label to add to the footer (visually hidden).
|
|
1039
|
+
*/
|
|
1040
|
+
"label": string;
|
|
1041
|
+
}
|
|
951
1042
|
interface PostHeader {
|
|
952
1043
|
}
|
|
953
1044
|
/**
|
|
@@ -1004,6 +1095,24 @@ declare namespace LocalJSX {
|
|
|
1004
1095
|
* The URL used for the href attribute of the internal anchor. This field is optional; if not provided, a button will be used internally instead of an anchor.
|
|
1005
1096
|
*/
|
|
1006
1097
|
"url"?: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* The variant of the post-language-switch parent (dynamically set by the parent)
|
|
1100
|
+
*/
|
|
1101
|
+
"variant"?: SwitchVariant | null;
|
|
1102
|
+
}
|
|
1103
|
+
interface PostLanguageSwitch {
|
|
1104
|
+
/**
|
|
1105
|
+
* A title for the list of language options
|
|
1106
|
+
*/
|
|
1107
|
+
"caption"?: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* A descriptive text for the list of language options
|
|
1110
|
+
*/
|
|
1111
|
+
"description"?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* Variant that determines the rendering of the language switch either as a list (used on mobile in the header) or a dropdown (used on desktop in the header)
|
|
1114
|
+
*/
|
|
1115
|
+
"variant"?: SwitchVariant;
|
|
1007
1116
|
}
|
|
1008
1117
|
interface PostList {
|
|
1009
1118
|
/**
|
|
@@ -1030,12 +1139,16 @@ declare namespace LocalJSX {
|
|
|
1030
1139
|
"onPostToggle"?: (event: PostMainnavigationCustomEvent<any>) => void;
|
|
1031
1140
|
}
|
|
1032
1141
|
interface PostMegadropdown {
|
|
1142
|
+
/**
|
|
1143
|
+
* Emits when the dropdown is shown or hidden. The event payload is a boolean: `true` when the dropdown was opened, `false` when it was closed.
|
|
1144
|
+
*/
|
|
1145
|
+
"onPostToggleMegadropdown"?: (event: PostMegadropdownCustomEvent<boolean>) => void;
|
|
1033
1146
|
}
|
|
1034
1147
|
interface PostMegadropdownTrigger {
|
|
1035
1148
|
/**
|
|
1036
|
-
*
|
|
1149
|
+
* ID of the mega dropdown element that this trigger is linked to. Used to open and close the specified mega dropdown.
|
|
1037
1150
|
*/
|
|
1038
|
-
"
|
|
1151
|
+
"for": string;
|
|
1039
1152
|
}
|
|
1040
1153
|
interface PostMenu {
|
|
1041
1154
|
/**
|
|
@@ -1173,15 +1286,19 @@ declare namespace LocalJSX {
|
|
|
1173
1286
|
"post-accordion": PostAccordion;
|
|
1174
1287
|
"post-accordion-item": PostAccordionItem;
|
|
1175
1288
|
"post-avatar": PostAvatar;
|
|
1289
|
+
"post-back-to-top": PostBackToTop;
|
|
1176
1290
|
"post-banner": PostBanner;
|
|
1291
|
+
"post-breadcrumb": PostBreadcrumb;
|
|
1177
1292
|
"post-breadcrumb-item": PostBreadcrumbItem;
|
|
1178
1293
|
"post-card-control": PostCardControl;
|
|
1179
1294
|
"post-closebutton": PostClosebutton;
|
|
1180
1295
|
"post-collapsible": PostCollapsible;
|
|
1181
1296
|
"post-collapsible-trigger": PostCollapsibleTrigger;
|
|
1297
|
+
"post-footer": PostFooter;
|
|
1182
1298
|
"post-header": PostHeader;
|
|
1183
1299
|
"post-icon": PostIcon;
|
|
1184
1300
|
"post-language-option": PostLanguageOption;
|
|
1301
|
+
"post-language-switch": PostLanguageSwitch;
|
|
1185
1302
|
"post-list": PostList;
|
|
1186
1303
|
"post-list-item": PostListItem;
|
|
1187
1304
|
"post-logo": PostLogo;
|
|
@@ -1209,7 +1326,9 @@ declare module "@stencil/core" {
|
|
|
1209
1326
|
"post-accordion": LocalJSX.PostAccordion & JSXBase.HTMLAttributes<HTMLPostAccordionElement>;
|
|
1210
1327
|
"post-accordion-item": LocalJSX.PostAccordionItem & JSXBase.HTMLAttributes<HTMLPostAccordionItemElement>;
|
|
1211
1328
|
"post-avatar": LocalJSX.PostAvatar & JSXBase.HTMLAttributes<HTMLPostAvatarElement>;
|
|
1329
|
+
"post-back-to-top": LocalJSX.PostBackToTop & JSXBase.HTMLAttributes<HTMLPostBackToTopElement>;
|
|
1212
1330
|
"post-banner": LocalJSX.PostBanner & JSXBase.HTMLAttributes<HTMLPostBannerElement>;
|
|
1331
|
+
"post-breadcrumb": LocalJSX.PostBreadcrumb & JSXBase.HTMLAttributes<HTMLPostBreadcrumbElement>;
|
|
1213
1332
|
"post-breadcrumb-item": LocalJSX.PostBreadcrumbItem & JSXBase.HTMLAttributes<HTMLPostBreadcrumbItemElement>;
|
|
1214
1333
|
/**
|
|
1215
1334
|
* @class PostCardControl - representing a stencil component
|
|
@@ -1218,12 +1337,14 @@ declare module "@stencil/core" {
|
|
|
1218
1337
|
"post-closebutton": LocalJSX.PostClosebutton & JSXBase.HTMLAttributes<HTMLPostClosebuttonElement>;
|
|
1219
1338
|
"post-collapsible": LocalJSX.PostCollapsible & JSXBase.HTMLAttributes<HTMLPostCollapsibleElement>;
|
|
1220
1339
|
"post-collapsible-trigger": LocalJSX.PostCollapsibleTrigger & JSXBase.HTMLAttributes<HTMLPostCollapsibleTriggerElement>;
|
|
1340
|
+
"post-footer": LocalJSX.PostFooter & JSXBase.HTMLAttributes<HTMLPostFooterElement>;
|
|
1221
1341
|
"post-header": LocalJSX.PostHeader & JSXBase.HTMLAttributes<HTMLPostHeaderElement>;
|
|
1222
1342
|
/**
|
|
1223
1343
|
* @class PostIcon - representing a stencil component
|
|
1224
1344
|
*/
|
|
1225
1345
|
"post-icon": LocalJSX.PostIcon & JSXBase.HTMLAttributes<HTMLPostIconElement>;
|
|
1226
1346
|
"post-language-option": LocalJSX.PostLanguageOption & JSXBase.HTMLAttributes<HTMLPostLanguageOptionElement>;
|
|
1347
|
+
"post-language-switch": LocalJSX.PostLanguageSwitch & JSXBase.HTMLAttributes<HTMLPostLanguageSwitchElement>;
|
|
1227
1348
|
"post-list": LocalJSX.PostList & JSXBase.HTMLAttributes<HTMLPostListElement>;
|
|
1228
1349
|
"post-list-item": LocalJSX.PostListItem & JSXBase.HTMLAttributes<HTMLPostListItemElement>;
|
|
1229
1350
|
"post-logo": LocalJSX.PostLogo & JSXBase.HTMLAttributes<HTMLPostLogoElement>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,31 +1,35 @@
|
|
|
1
1
|
export { Components, JSX } from './components';
|
|
2
2
|
export { PostAccordion } from './components/post-accordion/post-accordion';
|
|
3
3
|
export { PostAccordionItem } from './components/post-accordion-item/post-accordion-item';
|
|
4
|
+
export { PostAvatar } from './components/post-avatar/post-avatar';
|
|
5
|
+
export { PostBackToTop } from './components/post-back-to-top/post-back-to-top';
|
|
4
6
|
export { PostBanner } from './components/post-banner/post-banner';
|
|
7
|
+
export { PostBreadcrumb } from './components/post-breadcrumb/post-breadcrumb';
|
|
5
8
|
export { PostBreadcrumbItem } from './components/post-breadcrumb-item/post-breadcrumb-item';
|
|
6
|
-
export { PostAvatar } from './components/post-avatar/post-avatar';
|
|
7
9
|
export { PostCardControl } from './components/post-card-control/post-card-control';
|
|
8
10
|
export { PostClosebutton } from './components/post-closebutton/post-closebutton';
|
|
9
11
|
export { PostCollapsible } from './components/post-collapsible/post-collapsible';
|
|
10
12
|
export { PostCollapsibleTrigger } from './components/post-collapsible-trigger/post-collapsible-trigger';
|
|
13
|
+
export { PostFooter } from './components/post-footer/post-footer';
|
|
14
|
+
export { PostHeader } from './components/post-header/post-header';
|
|
11
15
|
export { PostIcon } from './components/post-icon/post-icon';
|
|
12
16
|
export { PostLanguageOption } from './components/post-language-option/post-language-option';
|
|
17
|
+
export { PostLanguageSwitch } from './components/post-language-switch/post-language-switch';
|
|
18
|
+
export { PostList } from './components/post-list/post-list';
|
|
19
|
+
export { PostListItem } from './components/post-list-item/post-list-item';
|
|
13
20
|
export { PostLogo } from './components/post-logo/post-logo';
|
|
21
|
+
export { PostMainnavigation } from './components/post-mainnavigation/post-mainnavigation';
|
|
22
|
+
export { PostMegadropdown } from './components/post-megadropdown/post-megadropdown';
|
|
23
|
+
export { PostMegadropdownTrigger } from './components/post-megadropdown-trigger/post-megadropdown-trigger';
|
|
14
24
|
export { PostMenu } from './components/post-menu/post-menu';
|
|
15
|
-
export { PostMenuTrigger } from './components/post-menu-trigger/post-menu-trigger';
|
|
16
25
|
export { PostMenuItem } from './components/post-menu-item/post-menu-item';
|
|
26
|
+
export { PostMenuTrigger } from './components/post-menu-trigger/post-menu-trigger';
|
|
17
27
|
export { PostPopover } from './components/post-popover/post-popover';
|
|
18
28
|
export { PostPopovercontainer } from './components/post-popovercontainer/post-popovercontainer';
|
|
19
29
|
export { PostRating } from './components/post-rating/post-rating';
|
|
20
30
|
export { PostTabs } from './components/post-tabs/post-tabs';
|
|
21
31
|
export { PostTabHeader } from './components/post-tab-header/post-tab-header';
|
|
22
32
|
export { PostTabPanel } from './components/post-tab-panel/post-tab-panel';
|
|
23
|
-
export { PostTooltip } from './components/post-tooltip/post-tooltip';
|
|
24
33
|
export { PostTag } from './components/post-tag/post-tag';
|
|
25
34
|
export { PostTogglebutton } from './components/post-togglebutton/post-togglebutton';
|
|
26
|
-
export {
|
|
27
|
-
export { PostListItem } from './components/post-list-item/post-list-item';
|
|
28
|
-
export { PostHeader } from './components/post-header/post-header';
|
|
29
|
-
export { PostMainnavigation } from './components/post-mainnavigation/post-mainnavigation';
|
|
30
|
-
export { PostMegadropdown } from './components/post-megadropdown/post-megadropdown';
|
|
31
|
-
export { PostMegadropdownTrigger } from './components/post-megadropdown-trigger/post-megadropdown-trigger';
|
|
35
|
+
export { PostTooltip } from './components/post-tooltip/post-tooltip';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type ListenerType = 'key' | 'name';
|
|
2
|
+
export declare class Breakpoint {
|
|
3
|
+
private readonly breakpointMap;
|
|
4
|
+
private readonly current;
|
|
5
|
+
constructor();
|
|
6
|
+
private updateHandler;
|
|
7
|
+
private dispatchEvent;
|
|
8
|
+
get(type: ListenerType): string;
|
|
9
|
+
}
|
|
10
|
+
export declare const breakpoint: Breakpoint;
|
|
11
|
+
export {};
|
package/loaders/index.d.ts
CHANGED
|
@@ -5,8 +5,12 @@ export { PostAccordionItem as PostAccordionItem } from '../dist/types/components
|
|
|
5
5
|
export { defineCustomElement as defineCustomElementPostAccordionItem } from './post-accordion-item';
|
|
6
6
|
export { PostAvatar as PostAvatar } from '../dist/types/components/post-avatar/post-avatar';
|
|
7
7
|
export { defineCustomElement as defineCustomElementPostAvatar } from './post-avatar';
|
|
8
|
+
export { PostBackToTop as PostBackToTop } from '../dist/types/components/post-back-to-top/post-back-to-top';
|
|
9
|
+
export { defineCustomElement as defineCustomElementPostBackToTop } from './post-back-to-top';
|
|
8
10
|
export { PostBanner as PostBanner } from '../dist/types/components/post-banner/post-banner';
|
|
9
11
|
export { defineCustomElement as defineCustomElementPostBanner } from './post-banner';
|
|
12
|
+
export { PostBreadcrumb as PostBreadcrumb } from '../dist/types/components/post-breadcrumb/post-breadcrumb';
|
|
13
|
+
export { defineCustomElement as defineCustomElementPostBreadcrumb } from './post-breadcrumb';
|
|
10
14
|
export { PostBreadcrumbItem as PostBreadcrumbItem } from '../dist/types/components/post-breadcrumb-item/post-breadcrumb-item';
|
|
11
15
|
export { defineCustomElement as defineCustomElementPostBreadcrumbItem } from './post-breadcrumb-item';
|
|
12
16
|
export { PostCardControl as PostCardControl } from '../dist/types/components/post-card-control/post-card-control';
|
|
@@ -17,12 +21,16 @@ export { PostCollapsible as PostCollapsible } from '../dist/types/components/pos
|
|
|
17
21
|
export { defineCustomElement as defineCustomElementPostCollapsible } from './post-collapsible';
|
|
18
22
|
export { PostCollapsibleTrigger as PostCollapsibleTrigger } from '../dist/types/components/post-collapsible-trigger/post-collapsible-trigger';
|
|
19
23
|
export { defineCustomElement as defineCustomElementPostCollapsibleTrigger } from './post-collapsible-trigger';
|
|
24
|
+
export { PostFooter as PostFooter } from '../dist/types/components/post-footer/post-footer';
|
|
25
|
+
export { defineCustomElement as defineCustomElementPostFooter } from './post-footer';
|
|
20
26
|
export { PostHeader as PostHeader } from '../dist/types/components/post-header/post-header';
|
|
21
27
|
export { defineCustomElement as defineCustomElementPostHeader } from './post-header';
|
|
22
28
|
export { PostIcon as PostIcon } from '../dist/types/components/post-icon/post-icon';
|
|
23
29
|
export { defineCustomElement as defineCustomElementPostIcon } from './post-icon';
|
|
24
30
|
export { PostLanguageOption as PostLanguageOption } from '../dist/types/components/post-language-option/post-language-option';
|
|
25
31
|
export { defineCustomElement as defineCustomElementPostLanguageOption } from './post-language-option';
|
|
32
|
+
export { PostLanguageSwitch as PostLanguageSwitch } from '../dist/types/components/post-language-switch/post-language-switch';
|
|
33
|
+
export { defineCustomElement as defineCustomElementPostLanguageSwitch } from './post-language-switch';
|
|
26
34
|
export { PostList as PostList } from '../dist/types/components/post-list/post-list';
|
|
27
35
|
export { defineCustomElement as defineCustomElementPostList } from './post-list';
|
|
28
36
|
export { PostListItem as PostListItem } from '../dist/types/components/post-list-item/post-list-item';
|