@swisspost/design-system-components 10.0.0-next.54 → 10.0.0-next.56
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/{components/react/p-CJ80BZ06.js → cjs/breakpoints-Df03Ct7n.js} +103 -5
- package/dist/cjs/debounce-BsIBi_-2.js +13 -0
- package/dist/cjs/environment-BQE9Unf_.js +52 -0
- package/dist/cjs/{event-from-CLvtSUKf.js → event-from-CwMw19f8.js} +2 -2
- package/dist/cjs/fade-CPQhl1fP.js +26 -0
- package/dist/cjs/fade-slide-dPhQa-I1.js +38 -0
- package/dist/cjs/{get-focusable-children-Bx63XUQg.js → get-focusable-children-ChETM1wK.js} +29 -21
- package/dist/cjs/{get-root-CyMf3Vsd.js → get-root-CUAv4k4C.js} +2 -2
- package/dist/cjs/{index-Cb8CTrOz.js → index-CKNxhb0S.js} +29 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-CvZxvdTJ.js → package-CY7IOoiw.js} +1 -1
- package/dist/cjs/post-accordion_2.cjs.entry.js +12 -12
- package/dist/cjs/post-avatar.cjs.entry.js +11 -11
- package/dist/cjs/post-back-to-top.cjs.entry.js +16 -40
- package/dist/cjs/post-banner.cjs.entry.js +11 -10
- package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +7 -7
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +22 -31
- package/dist/cjs/post-card-control.cjs.entry.js +16 -16
- package/dist/cjs/{post-closebutton_15.cjs.entry.js → post-closebutton_13.cjs.entry.js} +537 -507
- package/dist/cjs/post-collapsible_2.cjs.entry.js +39 -38
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-env-test.cjs.entry.js +15 -0
- package/dist/cjs/post-footer.cjs.entry.js +21 -19
- package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
- package/dist/cjs/post-pagination.cjs.entry.js +589 -0
- package/dist/cjs/post-popover-trigger.cjs.entry.js +46 -30
- package/dist/cjs/post-popover.cjs.entry.js +12 -12
- package/dist/cjs/post-rating.cjs.entry.js +13 -13
- package/dist/cjs/post-stepper-item.cjs.entry.js +18 -0
- package/dist/cjs/post-stepper.cjs.entry.js +109 -0
- package/dist/cjs/post-tab-item.cjs.entry.js +49 -0
- package/dist/cjs/post-tab-panel.cjs.entry.js +9 -9
- package/dist/cjs/post-tabs.cjs.entry.js +191 -38
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +8 -8
- package/dist/cjs/post-tooltip.cjs.entry.js +7 -7
- package/dist/cjs/utils-s05L2ulk.js +26 -0
- package/dist/collection/animations/collapse.js +3 -3
- package/dist/collection/animations/fade-slide.js +33 -0
- package/dist/collection/animations/fade.js +19 -7
- package/dist/collection/animations/index.js +2 -0
- package/dist/collection/animations/slide.js +25 -21
- package/dist/collection/animations/types.js +14 -0
- package/dist/collection/animations/utils.js +8 -0
- package/dist/collection/collection-manifest.json +8 -6
- package/dist/collection/components/post-accordion/post-accordion.css +1 -1
- package/dist/collection/components/post-accordion/post-accordion.js +2 -2
- package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +4 -4
- package/dist/collection/components/post-avatar/post-avatar.css +1 -1
- package/dist/collection/components/post-avatar/post-avatar.js +1 -1
- package/dist/collection/components/post-back-to-top/post-back-to-top.js +14 -14
- package/dist/collection/components/post-banner/post-banner.css +4 -1
- package/dist/collection/components/post-banner/post-banner.js +3 -3
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +1 -1
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +28 -28
- package/dist/collection/components/post-card-control/post-card-control.js +3 -3
- package/dist/collection/components/post-closebutton/post-closebutton.css +1 -1
- package/dist/collection/components/post-closebutton/post-closebutton.js +1 -1
- package/dist/collection/components/post-collapsible/post-collapsible.js +27 -27
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +6 -5
- package/dist/collection/components/post-footer/post-footer.css +1 -1
- package/dist/collection/components/post-footer/post-footer.js +18 -16
- package/dist/collection/components/post-header/post-header.css +1 -1
- package/dist/collection/components/post-header/post-header.js +186 -105
- package/dist/collection/components/post-icon/post-icon.js +6 -4
- package/dist/collection/components/post-language-menu/post-language-menu.css +1 -0
- package/dist/collection/components/{post-language-switch/post-language-switch.js → post-language-menu/post-language-menu.js} +25 -25
- package/dist/collection/components/post-language-menu-item/post-language-menu-item.css +1 -0
- package/dist/collection/components/{post-language-option/post-language-option.js → post-language-menu-item/post-language-menu-item.js} +14 -14
- package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
- package/dist/collection/components/post-logo/post-logo.css +3 -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 +41 -29
- package/dist/collection/components/post-megadropdown/post-megadropdown.css +1 -1
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +184 -75
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +3 -1
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +80 -74
- package/dist/collection/components/post-menu/post-menu.css +1 -1
- package/dist/collection/components/post-menu/post-menu.js +35 -35
- package/dist/collection/components/post-menu-item/post-menu-item.js +1 -1
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +1 -1
- package/dist/collection/components/post-pagination/post-pagination.css +1 -0
- package/dist/collection/components/post-pagination/post-pagination.js +838 -0
- package/dist/collection/components/post-popover/post-popover.css +1 -1
- package/dist/collection/components/post-popover/post-popover.js +10 -10
- package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +43 -27
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +45 -92
- package/dist/collection/components/post-rating/post-rating.js +3 -3
- package/dist/collection/components/post-stepper/post-stepper.css +1 -0
- package/dist/collection/components/post-stepper/post-stepper.js +207 -0
- package/dist/collection/components/post-stepper-item/post-stepper-item.css +7 -0
- package/dist/collection/components/post-stepper-item/post-stepper-item.js +18 -0
- package/dist/collection/components/post-tab-item/post-tab-item.css +1 -0
- package/dist/collection/components/post-tab-item/post-tab-item.js +86 -0
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +9 -9
- package/dist/collection/components/post-tabs/post-tabs.js +230 -57
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +1 -1
- package/dist/collection/components/post-tooltip/post-tooltip.css +1 -1
- package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
- package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +1 -1
- package/dist/collection/utils/environment.js +47 -2
- package/dist/collection/utils/event-from.js +2 -2
- package/dist/collection/utils/get-focusable-children.js +29 -21
- package/dist/collection/utils/is-motion-reduced.js +1 -1
- package/dist/collection/utils/tests/environment/hydrate-app-helper.js +16 -0
- package/dist/collection/utils/tests/environment/post-env-test.js +9 -0
- package/dist/component-names.json +6 -5
- package/dist/components/breakpoints.js +90 -3
- package/dist/components/debounce.js +11 -0
- package/dist/components/environment.js +49 -0
- package/dist/components/event-from.js +2 -2
- package/dist/components/fade-slide.js +36 -0
- package/dist/components/fade.js +21 -8
- package/dist/components/get-focusable-children.js +29 -21
- package/dist/components/get-root.js +1 -1
- package/dist/components/index.d.ts +14 -10
- package/dist/components/index.js +7 -5
- package/dist/components/package.js +1 -1
- package/dist/components/post-accordion-item2.js +4 -5
- package/dist/components/post-accordion2.js +4 -5
- package/dist/components/post-avatar.js +3 -4
- package/dist/components/post-back-to-top.js +14 -40
- package/dist/components/post-banner.js +5 -6
- package/dist/components/post-breadcrumb-item2.js +2 -3
- package/dist/components/post-breadcrumbs.js +24 -34
- package/dist/components/post-card-control.js +4 -5
- package/dist/components/post-closebutton2.js +3 -4
- package/dist/components/post-collapsible-trigger2.js +10 -10
- package/dist/components/post-collapsible2.js +25 -25
- package/dist/components/{post-list.d.ts → post-env-test.d.ts} +4 -4
- package/dist/components/post-env-test.js +31 -0
- package/dist/components/post-footer.js +17 -16
- package/dist/components/post-header.js +156 -119
- package/dist/components/post-icon2.js +8 -6
- package/dist/components/post-language-menu-item.d.ts +11 -0
- package/dist/components/post-language-menu-item.js +98 -0
- package/dist/components/{post-language-switch.d.ts → post-language-menu.d.ts} +4 -4
- package/dist/components/post-language-menu.js +156 -0
- package/dist/components/post-linkarea.js +1 -1
- package/dist/components/post-logo.js +3 -4
- package/dist/components/post-mainnavigation.js +21 -32
- package/dist/components/post-megadropdown-trigger.js +72 -79
- package/dist/components/post-megadropdown.js +183 -78
- package/dist/components/post-menu-item2.js +1 -1
- package/dist/components/post-menu-trigger2.js +2 -3
- package/dist/components/post-menu2.js +35 -36
- package/dist/components/post-pagination.d.ts +11 -0
- package/dist/components/post-pagination.js +635 -0
- package/dist/components/post-popover-trigger.js +41 -26
- package/dist/components/post-popover.js +9 -10
- package/dist/components/post-popovercontainer2.js +44 -40
- package/dist/components/post-rating.js +3 -4
- package/dist/components/post-stepper-item.d.ts +11 -0
- package/dist/components/post-stepper-item.js +33 -0
- package/dist/components/{post-list-item.d.ts → post-stepper.d.ts} +4 -4
- package/dist/components/post-stepper.js +136 -0
- package/dist/components/{post-tab-header.d.ts → post-tab-item.d.ts} +4 -4
- package/dist/components/post-tab-item.js +70 -0
- package/dist/components/post-tab-panel.js +8 -9
- package/dist/components/post-tabs.js +192 -37
- package/dist/components/post-togglebutton.js +1 -51
- package/dist/components/post-togglebutton2.js +53 -0
- package/dist/components/post-tooltip-trigger.js +3 -3
- package/dist/components/post-tooltip.js +3 -4
- package/dist/components/react/index.js +1 -1
- package/dist/{cjs/breakpoints-CEkeixld.js → components/react/p-B8YiQ3mz.js} +89 -6
- package/dist/components/react/{p-2U_BGLjc.js → p-BOLlAY91.js} +9 -7
- package/dist/components/react/p-BVCjnh6Q.js +36 -0
- package/dist/components/react/{p-CBFgkSgY.js → p-BVGcVycs.js} +1 -1
- package/dist/components/react/{p-D4NSCxrX.js → p-BYCGzO-t.js} +13 -13
- package/dist/components/react/p-C9hMpmsD.js +11 -0
- package/dist/components/react/{p-BVXiQdHq.js → p-CJ13r5fi.js} +29 -21
- package/dist/components/react/{p-nSFSgY-P.js → p-CnZWXrbA.js} +40 -41
- package/dist/components/react/p-CoDiS_Ik.js +24 -0
- package/dist/components/react/p-CyniMNY-.js +54 -0
- package/dist/components/react/p-D5knoiyy.js +24 -0
- package/dist/components/react/{p-Ccgu_WOx.js → p-DBO6FfHt.js} +4 -5
- package/dist/components/react/{p-BfLuYwf7.js → p-DRfa3MOV.js} +26 -26
- package/dist/components/react/{p-BUxAs8N5.js → p-DYImHx0e.js} +4 -5
- package/dist/components/react/p-DZ5m2Ttg.js +3 -0
- package/dist/components/react/p-FxUVQ4Tx.js +49 -0
- package/dist/components/react/{p-BK474oMI.js → p-L36-yvgK.js} +2 -2
- package/dist/components/react/{p-DVxZMuPW.js → p-NCAcc7ZZ.js} +6 -7
- package/dist/components/react/{p-mENtrn2l.js → p-QNPIvxLq.js} +45 -41
- package/dist/components/react/{p-D3CFjhAf.js → p-_pLhqTys.js} +5 -6
- package/dist/components/react/p-c6yNOQwn.js +113 -0
- package/dist/components/react/{p-CzIKqBrS.js → p-rEfV4v4a.js} +2 -2
- package/dist/components/react/post-accordion-item.js +1 -1
- package/dist/components/react/post-accordion.js +1 -1
- package/dist/components/react/post-avatar.js +4 -5
- package/dist/components/react/post-back-to-top.js +16 -42
- package/dist/components/react/post-banner.js +7 -8
- package/dist/components/react/post-breadcrumb-item.js +1 -1
- package/dist/components/react/post-breadcrumbs.js +31 -41
- package/dist/components/react/post-card-control.js +6 -7
- package/dist/components/react/post-closebutton.js +1 -1
- package/dist/components/react/post-collapsible-trigger.js +1 -1
- package/dist/components/react/post-collapsible.js +1 -1
- package/dist/components/react/{post-list.d.ts → post-env-test.d.ts} +4 -4
- package/dist/components/react/post-env-test.js +32 -0
- package/dist/components/react/post-footer.js +23 -22
- package/dist/components/react/post-header.js +158 -121
- package/dist/components/react/post-icon.js +1 -1
- package/dist/components/react/post-language-menu-item.d.ts +11 -0
- package/dist/components/react/post-language-menu-item.js +99 -0
- package/dist/components/react/{post-language-option.d.ts → post-language-menu.d.ts} +4 -4
- package/dist/components/react/post-language-menu.js +157 -0
- package/dist/components/react/post-linkarea.js +2 -2
- package/dist/components/react/post-logo.js +4 -5
- package/dist/components/react/post-mainnavigation.js +23 -34
- package/dist/components/react/post-megadropdown-trigger.js +74 -81
- package/dist/components/react/post-megadropdown.js +185 -80
- package/dist/components/react/post-menu-item.js +1 -1
- package/dist/components/react/post-menu-trigger.js +1 -1
- package/dist/components/react/post-menu.js +1 -1
- package/dist/components/react/post-pagination.d.ts +11 -0
- package/dist/components/react/post-pagination.js +636 -0
- package/dist/components/react/post-popover-trigger.js +42 -27
- package/dist/components/react/post-popover.js +14 -15
- package/dist/components/react/post-popovercontainer.js +1 -1
- package/dist/components/react/post-rating.js +5 -6
- package/dist/components/react/post-stepper-item.d.ts +11 -0
- package/dist/components/react/post-stepper-item.js +34 -0
- package/dist/components/react/{post-list-item.d.ts → post-stepper.d.ts} +4 -4
- package/dist/components/react/post-stepper.js +137 -0
- package/dist/components/react/{post-tab-header.d.ts → post-tab-item.d.ts} +4 -4
- package/dist/components/react/post-tab-item.js +71 -0
- package/dist/components/react/post-tab-panel.js +9 -10
- package/dist/components/react/post-tabs.js +193 -38
- package/dist/components/react/post-togglebutton.js +1 -52
- package/dist/components/react/post-tooltip-trigger.js +4 -4
- package/dist/components/react/post-tooltip.js +5 -6
- package/dist/components/utils.js +24 -0
- package/dist/docs.json +968 -563
- package/dist/esm/{breakpoints-CJ80BZ06.js → breakpoints-DYoSKGHO.js} +90 -3
- package/dist/esm/debounce-C9hMpmsD.js +11 -0
- package/dist/esm/environment-CEmnRoA6.js +49 -0
- package/dist/esm/{event-from-CzIKqBrS.js → event-from-rEfV4v4a.js} +2 -2
- package/dist/esm/fade-DsgPYmAa.js +24 -0
- package/dist/esm/fade-slide-CvOvauo9.js +36 -0
- package/dist/esm/{get-focusable-children-D9ZHp2FP.js → get-focusable-children-BXNs2_sw.js} +29 -21
- package/dist/esm/{get-root-BkQ3CrLq.js → get-root-CXfAA093.js} +1 -1
- package/dist/esm/{index-CFNKgUjL.js → index-1ReqxAnI.js} +29 -13
- package/dist/esm/loader.js +3 -3
- package/dist/esm/package-DZ5m2Ttg.js +3 -0
- package/dist/esm/post-accordion_2.entry.js +10 -10
- package/dist/esm/post-avatar.entry.js +6 -6
- package/dist/esm/post-back-to-top.entry.js +16 -40
- package/dist/esm/post-banner.entry.js +10 -9
- package/dist/esm/post-breadcrumb-item_2.entry.js +6 -6
- package/dist/esm/post-breadcrumbs.entry.js +20 -29
- package/dist/esm/post-card-control.entry.js +6 -6
- package/dist/esm/{post-closebutton_15.entry.js → post-closebutton_13.entry.js} +518 -486
- package/dist/esm/post-collapsible_2.entry.js +36 -35
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-env-test.entry.js +13 -0
- package/dist/esm/post-footer.entry.js +18 -16
- package/dist/esm/post-linkarea.entry.js +3 -3
- package/dist/esm/post-pagination.entry.js +587 -0
- package/dist/esm/post-popover-trigger.entry.js +44 -28
- package/dist/esm/post-popover.entry.js +11 -11
- package/dist/esm/post-rating.entry.js +5 -5
- package/dist/esm/post-stepper-item.entry.js +16 -0
- package/dist/esm/post-stepper.entry.js +107 -0
- package/dist/esm/post-tab-item.entry.js +47 -0
- package/dist/esm/post-tab-panel.entry.js +9 -9
- package/dist/esm/post-tabs.entry.js +191 -38
- package/dist/esm/post-tooltip-trigger.entry.js +5 -5
- package/dist/esm/post-tooltip.entry.js +6 -6
- package/dist/esm/utils-CoDiS_Ik.js +24 -0
- package/dist/post-components/{p-8f0fc02a.entry.js → p-130eb074.entry.js} +1 -1
- package/dist/post-components/p-13d018fe.entry.js +1 -0
- package/dist/post-components/p-143e5a84.entry.js +1 -0
- package/dist/post-components/p-1ReqxAnI.js +2 -0
- package/dist/post-components/p-2b220851.entry.js +1 -0
- package/dist/post-components/{p-96750e25.entry.js → p-390f111f.entry.js} +1 -1
- package/dist/post-components/p-3cf09fbd.entry.js +1 -0
- package/dist/post-components/p-52e584ca.entry.js +1 -0
- package/dist/post-components/p-56a4040c.entry.js +1 -0
- package/dist/post-components/p-675dab57.entry.js +1 -0
- package/dist/post-components/p-6857fd9d.entry.js +1 -0
- package/dist/post-components/p-7cd00e3e.entry.js +1 -0
- package/dist/post-components/p-7f5d2487.entry.js +1 -0
- package/dist/post-components/{p-bf41fe56.entry.js → p-88201353.entry.js} +1 -1
- package/dist/post-components/p-89360cd1.entry.js +1 -0
- package/dist/post-components/p-B7ebLhHc.js +1 -0
- package/dist/post-components/p-BVCjnh6Q.js +1 -0
- package/dist/post-components/p-BXNs2_sw.js +1 -0
- package/dist/post-components/p-C9hMpmsD.js +1 -0
- package/dist/post-components/p-CEmnRoA6.js +1 -0
- package/dist/post-components/p-CoDiS_Ik.js +1 -0
- package/dist/post-components/p-D5knoiyy.js +1 -0
- package/dist/post-components/p-DI-h_mEL.js +1 -0
- package/dist/post-components/p-DZ5m2Ttg.js +1 -0
- package/dist/post-components/p-a740eaed.entry.js +1 -0
- package/dist/post-components/{p-261b1452.entry.js → p-a79590f5.entry.js} +1 -1
- package/dist/post-components/p-b708d96a.entry.js +1 -0
- package/dist/post-components/p-bcf5786f.entry.js +1 -0
- package/dist/post-components/p-c92512f5.entry.js +1 -0
- package/dist/post-components/{p-658b1ccc.entry.js → p-d7cb3a61.entry.js} +1 -1
- package/dist/post-components/p-d7f33813.entry.js +1 -0
- package/dist/post-components/p-da97ee21.entry.js +1 -0
- package/dist/post-components/{p-11c204e0.entry.js → p-ed4db774.entry.js} +1 -1
- package/dist/post-components/post-components.css +1 -1
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/prebuild.js +46 -0
- package/dist/types/animations/collapse.d.ts +1 -0
- package/dist/types/animations/fade-slide.d.ts +11 -0
- package/dist/types/animations/fade.d.ts +2 -2
- package/dist/types/animations/index.d.ts +2 -0
- package/dist/types/animations/slide.d.ts +9 -2
- package/dist/types/animations/types.d.ts +13 -0
- package/dist/types/animations/utils.d.ts +2 -0
- package/dist/types/components/post-accordion-item/heading-levels.d.ts +1 -1
- package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +2 -2
- package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +2 -2
- package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +6 -6
- package/dist/types/components/post-collapsible/post-collapsible.d.ts +4 -5
- package/dist/types/components/post-collapsible-trigger/post-collapsible-trigger.d.ts +1 -0
- package/dist/types/components/post-footer/post-footer.d.ts +4 -4
- package/dist/types/components/post-header/post-header.d.ts +28 -19
- package/dist/types/components/{post-language-switch/post-language-switch.d.ts → post-language-menu/post-language-menu.d.ts} +6 -6
- package/dist/types/components/{post-language-option/post-language-option.d.ts → post-language-menu-item/post-language-menu-item.d.ts} +5 -5
- package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +6 -5
- package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +20 -2
- package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +17 -23
- package/dist/types/components/post-menu/post-menu.d.ts +4 -4
- package/dist/types/components/post-pagination/post-pagination.d.ts +224 -0
- package/dist/types/components/post-popover/post-popover.d.ts +3 -3
- package/dist/types/components/post-popover-trigger/post-popover-trigger.d.ts +2 -1
- package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +13 -16
- package/dist/types/components/post-rating/post-rating.d.ts +1 -1
- package/dist/types/components/post-stepper/post-stepper.d.ts +39 -0
- package/dist/types/components/post-stepper-item/post-stepper-item.d.ts +3 -0
- package/dist/types/components/post-tab-item/post-tab-item.d.ts +19 -0
- package/dist/types/components/post-tab-panel/post-tab-panel.d.ts +3 -3
- package/dist/types/components/post-tabs/post-tabs.d.ts +33 -12
- package/dist/types/components.d.ts +357 -186
- package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/prebuild.d.ts +9 -0
- package/dist/types/types/heading-levels.d.ts +1 -1
- package/dist/types/utils/environment.d.ts +25 -1
- package/dist/types/utils/get-focusable-children.d.ts +2 -2
- package/dist/types/utils/tests/environment/hydrate-app-helper.d.ts +5 -0
- package/dist/types/utils/tests/environment/post-env-test.d.ts +3 -0
- package/hydrate/index.js +1882 -833
- package/hydrate/index.mjs +1882 -833
- package/package.json +9 -11
- package/dist/cjs/fade-nS5zzDQS.js +0 -14
- package/dist/cjs/index-DtvYdwe1.js +0 -96
- package/dist/cjs/post-tab-header.cjs.entry.js +0 -31
- package/dist/collection/animations/slide-and-fade.js +0 -25
- package/dist/collection/components/post-language-option/post-language-option.css +0 -1
- package/dist/collection/components/post-language-switch/post-language-switch.css +0 -1
- package/dist/collection/components/post-list/post-list.css +0 -1
- package/dist/collection/components/post-list/post-list.js +0 -97
- package/dist/collection/components/post-list-item/post-list-item.css +0 -1
- package/dist/collection/components/post-list-item/post-list-item.js +0 -26
- package/dist/collection/components/post-tab-header/post-tab-header.css +0 -1
- package/dist/collection/components/post-tab-header/post-tab-header.js +0 -65
- package/dist/components/index2.js +0 -88
- package/dist/components/post-language-option.d.ts +0 -11
- package/dist/components/post-language-option.js +0 -99
- package/dist/components/post-language-switch.js +0 -157
- package/dist/components/post-list-item.js +0 -38
- package/dist/components/post-list.js +0 -61
- package/dist/components/post-tab-header.js +0 -52
- package/dist/components/react/p-BXRsHuTS.js +0 -3
- package/dist/components/react/p-CV7fm1rW.js +0 -88
- package/dist/components/react/p-Dj7qWba5.js +0 -114
- package/dist/components/react/p-SbIC4aZX.js +0 -11
- package/dist/components/react/post-language-option.js +0 -100
- package/dist/components/react/post-language-switch.d.ts +0 -11
- package/dist/components/react/post-language-switch.js +0 -158
- package/dist/components/react/post-list-item.js +0 -39
- package/dist/components/react/post-list.js +0 -62
- package/dist/components/react/post-tab-header.js +0 -53
- package/dist/esm/fade-SbIC4aZX.js +0 -11
- package/dist/esm/index-VmK3ABCB.js +0 -88
- package/dist/esm/package-BXRsHuTS.js +0 -3
- package/dist/esm/post-tab-header.entry.js +0 -29
- package/dist/post-components/p-02ea3ec5.entry.js +0 -1
- package/dist/post-components/p-0e92dbef.entry.js +0 -1
- package/dist/post-components/p-0ec2bdd7.entry.js +0 -1
- package/dist/post-components/p-197a0f25.entry.js +0 -1
- package/dist/post-components/p-3274ab81.entry.js +0 -1
- package/dist/post-components/p-77e43032.entry.js +0 -1
- package/dist/post-components/p-BXRsHuTS.js +0 -1
- package/dist/post-components/p-CBFgkSgY.js +0 -1
- package/dist/post-components/p-CFNKgUjL.js +0 -2
- package/dist/post-components/p-CJ80BZ06.js +0 -1
- package/dist/post-components/p-D9ZHp2FP.js +0 -1
- package/dist/post-components/p-SbIC4aZX.js +0 -1
- package/dist/post-components/p-VmK3ABCB.js +0 -1
- package/dist/post-components/p-b5b5e4b9.entry.js +0 -1
- package/dist/post-components/p-b8059ba1.entry.js +0 -1
- package/dist/post-components/p-d6134e24.entry.js +0 -1
- package/dist/post-components/p-e7029b9e.entry.js +0 -1
- package/dist/post-components/p-e90688ab.entry.js +0 -1
- package/dist/post-components/p-ea5da614.entry.js +0 -1
- package/dist/post-components/p-f1b815b6.entry.js +0 -1
- package/dist/types/animations/slide-and-fade.d.ts +0 -2
- package/dist/types/components/post-list/post-list.d.ts +0 -24
- package/dist/types/components/post-list-item/post-list-item.d.ts +0 -8
- package/dist/types/components/post-tab-header/post-tab-header.d.ts +0 -14
- /package/dist/collection/components/{post-language-switch → post-language-menu}/switch-variants.js +0 -0
- /package/dist/post-components/{p-CzIKqBrS.js → p-rEfV4v4a.js} +0 -0
- /package/dist/types/components/{post-language-switch → post-language-menu}/switch-variants.d.ts +0 -0
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class PostPagination {
|
|
3
|
+
host: HTMLPostPaginationElement;
|
|
4
|
+
private paginationId;
|
|
5
|
+
private maxVisiblePages;
|
|
6
|
+
private items;
|
|
7
|
+
/**
|
|
8
|
+
* The current active page number.
|
|
9
|
+
*
|
|
10
|
+
* **If not specified, defaults to the first page.**
|
|
11
|
+
*/
|
|
12
|
+
page?: number;
|
|
13
|
+
/**
|
|
14
|
+
* The number of items per page.
|
|
15
|
+
*/
|
|
16
|
+
pageSize: number;
|
|
17
|
+
/**
|
|
18
|
+
* The total number of items in the collection.
|
|
19
|
+
*/
|
|
20
|
+
collectionSize: number;
|
|
21
|
+
/**
|
|
22
|
+
* A descriptive label for the pagination navigation, used by assistive technologies.
|
|
23
|
+
*/
|
|
24
|
+
readonly label: string;
|
|
25
|
+
/**
|
|
26
|
+
* Accessible label for the previous page button.
|
|
27
|
+
*/
|
|
28
|
+
readonly textPrevious: string;
|
|
29
|
+
/**
|
|
30
|
+
* Accessible label for the next page button.
|
|
31
|
+
*/
|
|
32
|
+
readonly textNext: string;
|
|
33
|
+
/**
|
|
34
|
+
* Prefix text for page number labels.
|
|
35
|
+
*/
|
|
36
|
+
readonly textPage: string;
|
|
37
|
+
/**
|
|
38
|
+
* Prefix text for the first page label.
|
|
39
|
+
*/
|
|
40
|
+
readonly textFirst: string;
|
|
41
|
+
/**
|
|
42
|
+
* Prefix text for the last page label.
|
|
43
|
+
*/
|
|
44
|
+
readonly textLast: string;
|
|
45
|
+
/**
|
|
46
|
+
* If true, the pagination is disabled.
|
|
47
|
+
*/
|
|
48
|
+
readonly disabled?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Event emitted when the page changes.
|
|
51
|
+
*/
|
|
52
|
+
postChange: EventEmitter<number>;
|
|
53
|
+
private navRef?;
|
|
54
|
+
private hiddenItemsRef?;
|
|
55
|
+
private lastWindowWidth;
|
|
56
|
+
private loaded;
|
|
57
|
+
private debouncedResize;
|
|
58
|
+
private measurementTimeoutId;
|
|
59
|
+
validatePage(): void;
|
|
60
|
+
validatePageSize(): void;
|
|
61
|
+
validateCollectionSize(): void;
|
|
62
|
+
validateLabel(): void;
|
|
63
|
+
validateTextPrevious(): void;
|
|
64
|
+
validateTextNext(): void;
|
|
65
|
+
validateTextPage(): void;
|
|
66
|
+
validateTextFirst(): void;
|
|
67
|
+
validateTextLast(): void;
|
|
68
|
+
validateDisabled(): void;
|
|
69
|
+
handlePropsChange(): void;
|
|
70
|
+
componentWillLoad(): void;
|
|
71
|
+
connectedCallback(): void;
|
|
72
|
+
componentDidLoad(): void;
|
|
73
|
+
disconnectedCallback(): void;
|
|
74
|
+
/**
|
|
75
|
+
* Validate a prop with the appropriate check function
|
|
76
|
+
*/
|
|
77
|
+
private validateProp;
|
|
78
|
+
/**
|
|
79
|
+
* Run all prop validations
|
|
80
|
+
*/
|
|
81
|
+
private runAllValidations;
|
|
82
|
+
/**
|
|
83
|
+
* Schedule measurement attempt with timeout
|
|
84
|
+
*/
|
|
85
|
+
private scheduleMeasurement;
|
|
86
|
+
/**
|
|
87
|
+
* Internal resize handler
|
|
88
|
+
*/
|
|
89
|
+
private handleResizeInternal;
|
|
90
|
+
/**
|
|
91
|
+
* Calculates gap between two elements
|
|
92
|
+
*/
|
|
93
|
+
private calculateGap;
|
|
94
|
+
/**
|
|
95
|
+
* Measures actual rendered elements to determine how many pages can fit
|
|
96
|
+
*/
|
|
97
|
+
private measureAndCalculateVisiblePages;
|
|
98
|
+
/**
|
|
99
|
+
* Gets total width of control buttons (prev/next)
|
|
100
|
+
*/
|
|
101
|
+
private getControlButtonsWidth;
|
|
102
|
+
/**
|
|
103
|
+
* Gets the horizontal padding of the pagination container
|
|
104
|
+
*/
|
|
105
|
+
private getPaginationPadding;
|
|
106
|
+
/**
|
|
107
|
+
* Gets available width from parent container
|
|
108
|
+
*/
|
|
109
|
+
private getAvailableWidth;
|
|
110
|
+
/**
|
|
111
|
+
* Returns true if collection size or page size is invalid
|
|
112
|
+
*/
|
|
113
|
+
private get invalidSize();
|
|
114
|
+
/**
|
|
115
|
+
* Clamps the page number to valid range
|
|
116
|
+
*/
|
|
117
|
+
private clampPageToValidRange;
|
|
118
|
+
/**
|
|
119
|
+
* Validates and updates pages with clamped page number
|
|
120
|
+
*/
|
|
121
|
+
private updatePagesWithValidation;
|
|
122
|
+
/**
|
|
123
|
+
* Calculates the total number of pages.
|
|
124
|
+
*/
|
|
125
|
+
private getTotalPages;
|
|
126
|
+
/**
|
|
127
|
+
* Convert numeric gap to a section type
|
|
128
|
+
*/
|
|
129
|
+
private sectionForGap;
|
|
130
|
+
/**
|
|
131
|
+
* Compute the left/right sections and numeric gaps for a given range
|
|
132
|
+
*/
|
|
133
|
+
private getSections;
|
|
134
|
+
/**
|
|
135
|
+
* Compute total items that would be rendered for a given range
|
|
136
|
+
*/
|
|
137
|
+
private computeTotalItems;
|
|
138
|
+
/**
|
|
139
|
+
* Build a full list of pages (1..totalPages)
|
|
140
|
+
*/
|
|
141
|
+
private buildAllPages;
|
|
142
|
+
/**
|
|
143
|
+
* Adjust start/end pages to avoid gap=2 scenarios
|
|
144
|
+
*/
|
|
145
|
+
private adjustForGapTwo;
|
|
146
|
+
/**
|
|
147
|
+
* Ensure we have the desired number of middle slots
|
|
148
|
+
*/
|
|
149
|
+
private ensureMiddleSlots;
|
|
150
|
+
/**
|
|
151
|
+
* Trim excess items by shrinking the range away from current page
|
|
152
|
+
*/
|
|
153
|
+
private trimExcessItems;
|
|
154
|
+
/**
|
|
155
|
+
* Expand range to fill available slots
|
|
156
|
+
*/
|
|
157
|
+
private expandToFillSlots;
|
|
158
|
+
/**
|
|
159
|
+
* Balance total items to match maxVisible by trimming or expanding
|
|
160
|
+
*/
|
|
161
|
+
private balanceTotalItems;
|
|
162
|
+
/**
|
|
163
|
+
* Calculate optimal page range centered around current page
|
|
164
|
+
*/
|
|
165
|
+
private calculatePageRange;
|
|
166
|
+
/**
|
|
167
|
+
* Build pagination items with ellipsis
|
|
168
|
+
*/
|
|
169
|
+
private buildPaginationItems;
|
|
170
|
+
/**
|
|
171
|
+
* Generates pagination items for small slot counts (3 or 4 items).
|
|
172
|
+
* Ensures current page is always visible.
|
|
173
|
+
*/
|
|
174
|
+
private generateSmallPagination;
|
|
175
|
+
/**
|
|
176
|
+
* Generates the page numbers array with ellipsis based on available space.
|
|
177
|
+
*/
|
|
178
|
+
private generatePages;
|
|
179
|
+
/**
|
|
180
|
+
* Emit page change event and update page
|
|
181
|
+
*/
|
|
182
|
+
private emitPageChange;
|
|
183
|
+
/**
|
|
184
|
+
* Handles page change when a page button is clicked.
|
|
185
|
+
*/
|
|
186
|
+
private handlePageClick;
|
|
187
|
+
/**
|
|
188
|
+
* Handles previous button click.
|
|
189
|
+
*/
|
|
190
|
+
private handlePrevious;
|
|
191
|
+
/**
|
|
192
|
+
* Handles next button click.
|
|
193
|
+
*/
|
|
194
|
+
private handleNext;
|
|
195
|
+
/**
|
|
196
|
+
* Handles keyboard navigation
|
|
197
|
+
*/
|
|
198
|
+
private handleKeyDown;
|
|
199
|
+
/**
|
|
200
|
+
* Builds accessible label for a page button.
|
|
201
|
+
*/
|
|
202
|
+
private buildPageLabel;
|
|
203
|
+
/**
|
|
204
|
+
* Renders an ellipsis item.
|
|
205
|
+
*/
|
|
206
|
+
private renderEllipsis;
|
|
207
|
+
/**
|
|
208
|
+
* Renders a page button.
|
|
209
|
+
*/
|
|
210
|
+
private renderPageButton;
|
|
211
|
+
/**
|
|
212
|
+
* Renders a pagination item.
|
|
213
|
+
*/
|
|
214
|
+
private renderItem;
|
|
215
|
+
/**
|
|
216
|
+
* Renders control button (prev/next)
|
|
217
|
+
*/
|
|
218
|
+
private renderControlButton;
|
|
219
|
+
/**
|
|
220
|
+
* Renders minimal hidden items for measurement
|
|
221
|
+
*/
|
|
222
|
+
private renderHiddenItems;
|
|
223
|
+
render(): any;
|
|
224
|
+
}
|
|
@@ -13,10 +13,10 @@ export declare class PostPopover {
|
|
|
13
13
|
readonly placement?: Placement;
|
|
14
14
|
validatePlacement(): void;
|
|
15
15
|
/**
|
|
16
|
-
* Define the
|
|
16
|
+
* Define the text of the close button for assistive technology
|
|
17
17
|
*/
|
|
18
|
-
readonly
|
|
19
|
-
|
|
18
|
+
readonly textClose: string;
|
|
19
|
+
validateTextClose(): void;
|
|
20
20
|
/**
|
|
21
21
|
* Show a little indicator arrow
|
|
22
22
|
*/
|
|
@@ -3,7 +3,7 @@ export declare class PostPopoverTrigger {
|
|
|
3
3
|
/**
|
|
4
4
|
* ID of the popover element that this trigger is linked to. Used to open and close the popover.
|
|
5
5
|
*/
|
|
6
|
-
for
|
|
6
|
+
for?: string;
|
|
7
7
|
/**
|
|
8
8
|
* Manages the accessibility attribute `aria-expanded` to indicate whether the associated popover is expanded or collapsed.
|
|
9
9
|
*/
|
|
@@ -22,6 +22,7 @@ export declare class PostPopoverTrigger {
|
|
|
22
22
|
* Reference to the element inside the host that will act as the trigger.
|
|
23
23
|
*/
|
|
24
24
|
private trigger;
|
|
25
|
+
private hasAriaControlsElements;
|
|
25
26
|
private readonly boundHandleToggle;
|
|
26
27
|
private readonly boundHandleKeyDown;
|
|
27
28
|
private readonly boundHandlePostToggle;
|
|
@@ -64,10 +64,7 @@ export declare class PostPopovercontainer {
|
|
|
64
64
|
* Whether or not to display a little pointer arrow
|
|
65
65
|
*/
|
|
66
66
|
readonly arrow?: boolean;
|
|
67
|
-
|
|
68
|
-
* Whether or not the popovercontainer should close when user clicks outside of it
|
|
69
|
-
*/
|
|
70
|
-
manualClose: boolean;
|
|
67
|
+
dynamicPlacement?: string;
|
|
71
68
|
/**
|
|
72
69
|
* Enables a safespace through which the cursor can be moved without the popover being disabled
|
|
73
70
|
*/
|
|
@@ -90,18 +87,6 @@ export declare class PostPopovercontainer {
|
|
|
90
87
|
* @param target A focusable element inside the <post-popover-trigger> component that controls the popover
|
|
91
88
|
*/
|
|
92
89
|
show(target: HTMLElement): Promise<void>;
|
|
93
|
-
/**
|
|
94
|
-
* Handles the popover opening process and emits related events.
|
|
95
|
-
*/
|
|
96
|
-
open(): Promise<void>;
|
|
97
|
-
/**
|
|
98
|
-
* Handles the popover closing process and emits related events.
|
|
99
|
-
*/
|
|
100
|
-
close(): Promise<void>;
|
|
101
|
-
/**
|
|
102
|
-
* Runs the animation and emits the toggle/show/hide events in the correct timing
|
|
103
|
-
*/
|
|
104
|
-
private runOpenAnimation;
|
|
105
90
|
/**
|
|
106
91
|
* Programmatically hide the popovercontainer
|
|
107
92
|
*/
|
|
@@ -112,6 +97,18 @@ export declare class PostPopovercontainer {
|
|
|
112
97
|
* @param force Pass true to always show or false to always hide
|
|
113
98
|
*/
|
|
114
99
|
toggle(target: HTMLElement, force?: boolean): Promise<boolean>;
|
|
100
|
+
/**
|
|
101
|
+
* Handles the popover opening process and emits related events.
|
|
102
|
+
*/
|
|
103
|
+
private open;
|
|
104
|
+
/**
|
|
105
|
+
* Handles the popover closing process and emits related events.
|
|
106
|
+
*/
|
|
107
|
+
private close;
|
|
108
|
+
/**
|
|
109
|
+
* Runs the animation and emits the toggle/show/hide events in the correct timing
|
|
110
|
+
*/
|
|
111
|
+
private runOpenAnimation;
|
|
115
112
|
/**
|
|
116
113
|
* Start or stop auto updates based on popovercontainer events.
|
|
117
114
|
* Popovercontainers can be closed or opened with other methods than class members,
|
|
@@ -4,7 +4,7 @@ export declare class PostRating {
|
|
|
4
4
|
host: HTMLPostRatingElement;
|
|
5
5
|
hoveredIndex: number;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* A hidden, descriptive label that explains the role of the rating component to assistive technologies.
|
|
8
8
|
*/
|
|
9
9
|
readonly label: string;
|
|
10
10
|
/**
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare class PostStepper {
|
|
2
|
+
host: HTMLPostStepperElement;
|
|
3
|
+
private stepItems;
|
|
4
|
+
/**
|
|
5
|
+
* Active step label is for visual purposes on mobile only
|
|
6
|
+
*/
|
|
7
|
+
mobileActiveStepLabel: string;
|
|
8
|
+
/**
|
|
9
|
+
* Active step name is for visual purposes on mobile only
|
|
10
|
+
*/
|
|
11
|
+
mobileActiveStepName: string;
|
|
12
|
+
/**
|
|
13
|
+
* "Current step" label for accessibility
|
|
14
|
+
*/
|
|
15
|
+
textCurrentStep: string;
|
|
16
|
+
validateTextCurrentStep(): void;
|
|
17
|
+
/**
|
|
18
|
+
* "Completed step" label for accessibility
|
|
19
|
+
*/
|
|
20
|
+
textCompletedStep: string;
|
|
21
|
+
validateTextCompletedStep(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Label for the "Step N:" indicator for mobile view.
|
|
24
|
+
* Use `#number` as a placeholder — it will be replaced with the current step number at runtime.
|
|
25
|
+
*/
|
|
26
|
+
textStepNumber: string;
|
|
27
|
+
validateTextStepNumber(): void;
|
|
28
|
+
/**
|
|
29
|
+
* Defines the currently active step
|
|
30
|
+
*/
|
|
31
|
+
currentIndex: number;
|
|
32
|
+
validateCurrentIndex(): void;
|
|
33
|
+
connectedCallback(): void;
|
|
34
|
+
componentDidLoad(): void;
|
|
35
|
+
private updateActiveStepNumber;
|
|
36
|
+
private updateSteps;
|
|
37
|
+
private updateMobileActiveStepVisibility;
|
|
38
|
+
render(): any;
|
|
39
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @slot default - Slot for the content of the tab item. Can contain text or an <a> element for navigation mode.
|
|
3
|
+
*/
|
|
4
|
+
export declare class PostTabItem {
|
|
5
|
+
private mutationObserver;
|
|
6
|
+
host: HTMLPostTabItemElement;
|
|
7
|
+
tabId: string;
|
|
8
|
+
isNavigationMode: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* The name of the tab, used to associate it with a tab panel or identify the active tab in panel mode.
|
|
11
|
+
*/
|
|
12
|
+
readonly name: string;
|
|
13
|
+
validateName(): void;
|
|
14
|
+
connectedCallback(): void;
|
|
15
|
+
componentWillLoad(): void;
|
|
16
|
+
disconnectedCallback(): void;
|
|
17
|
+
private checkNavigationMode;
|
|
18
|
+
render(): any;
|
|
19
|
+
}
|
|
@@ -5,10 +5,10 @@ export declare class PostTabPanel {
|
|
|
5
5
|
host: HTMLPostTabPanelElement;
|
|
6
6
|
panelId: string;
|
|
7
7
|
/**
|
|
8
|
-
* The name of the
|
|
8
|
+
* The name of the tab that this panel is associated with.
|
|
9
9
|
*/
|
|
10
|
-
readonly
|
|
11
|
-
|
|
10
|
+
readonly for: string;
|
|
11
|
+
validateFor(): void;
|
|
12
12
|
componentWillLoad(): void;
|
|
13
13
|
render(): any;
|
|
14
14
|
}
|
|
@@ -1,41 +1,62 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
/**
|
|
3
|
-
* @slot
|
|
4
|
-
* @slot
|
|
5
|
-
* @part tabs - The container element that holds the set of tabs.
|
|
6
|
-
* @part content - The container element that displays the content of the currently active tab.
|
|
3
|
+
* @slot default - Slot for placing tab items. Each tab item should be a <post-tab-item> element.
|
|
4
|
+
* @slot panels - Slot for placing tab panels. Each tab panel should be a <post-tab-panel> element.
|
|
5
|
+
* @part post-tabs - The container element that holds the set of tabs.
|
|
6
|
+
* @part post-tabs-content - The container element that displays the content of the currently active tab. Only available in panels mode.
|
|
7
7
|
*/
|
|
8
8
|
export declare class PostTabs {
|
|
9
|
-
private
|
|
9
|
+
private currentActiveTab;
|
|
10
10
|
private showing;
|
|
11
11
|
private hiding;
|
|
12
12
|
private isLoaded;
|
|
13
|
+
private contentObserver;
|
|
14
|
+
isNavigationMode: boolean;
|
|
13
15
|
private get tabs();
|
|
16
|
+
private get panels();
|
|
14
17
|
host: HTMLPostTabsElement;
|
|
15
18
|
/**
|
|
16
|
-
* The name of the panel that is initially
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* **Changing this value after initialization has no effect.**
|
|
19
|
+
* The name of the tab in the panel mode that is initially active.
|
|
20
|
+
* Changing this value after initialization has no effect.
|
|
21
|
+
* If not specified, defaults to the first tab.
|
|
20
22
|
*/
|
|
21
|
-
readonly
|
|
23
|
+
readonly activeTab?: string;
|
|
22
24
|
/**
|
|
23
25
|
* When set to true, this property allows the tabs container to span the
|
|
26
|
+
* Changing this value after initialization has no effect.
|
|
24
27
|
* full width of the screen, from edge to edge.
|
|
25
28
|
*/
|
|
26
29
|
fullWidth: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The accessible label for the tabs component in navigation mode.
|
|
32
|
+
*/
|
|
33
|
+
readonly label?: string;
|
|
34
|
+
validateLabel(): void;
|
|
27
35
|
/**
|
|
28
36
|
* An event emitted after the active tab changes, when the fade in transition of its associated panel is finished.
|
|
29
|
-
* The payload is the name of the newly
|
|
37
|
+
* The payload is the name of the newly active tab.
|
|
38
|
+
* Only emitted in panel mode.
|
|
30
39
|
*/
|
|
31
40
|
postChange: EventEmitter<string>;
|
|
41
|
+
componentWillRender(): void;
|
|
32
42
|
componentDidLoad(): void;
|
|
43
|
+
disconnectedCallback(): void;
|
|
44
|
+
private setupContentObserver;
|
|
45
|
+
private handleContentChange;
|
|
46
|
+
private shouldRedetectMode;
|
|
47
|
+
private hasAriaCurrentChanged;
|
|
48
|
+
private updateActiveNavigationTab;
|
|
49
|
+
private handleModeChange;
|
|
50
|
+
private initializeActiveTab;
|
|
51
|
+
private detectMode;
|
|
52
|
+
private findActiveNavigationTab;
|
|
33
53
|
/**
|
|
34
54
|
* Shows the panel with the given name and selects its associated tab.
|
|
35
55
|
* Any other panel that was previously shown becomes hidden and its associated tab is unselected.
|
|
36
56
|
*/
|
|
37
|
-
show(
|
|
57
|
+
show(tabName: string): Promise<void>;
|
|
38
58
|
private moveMisplacedTabs;
|
|
59
|
+
private moveMisplacedPanels;
|
|
39
60
|
private enableTabs;
|
|
40
61
|
private activateTab;
|
|
41
62
|
private hidePanel;
|