@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
|
@@ -8,12 +8,12 @@ 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
10
|
import { ButtonType } from "./components/post-closebutton/button-types";
|
|
11
|
-
import { SwitchVariant } from "./components/post-language-
|
|
11
|
+
import { SwitchVariant } from "./components/post-language-menu/switch-variants";
|
|
12
12
|
import { Placement } from "@floating-ui/dom";
|
|
13
13
|
export { HeadingLevel } from "./types/index";
|
|
14
14
|
export { BannerType } from "./components/post-banner/banner-types";
|
|
15
15
|
export { ButtonType } from "./components/post-closebutton/button-types";
|
|
16
|
-
export { SwitchVariant } from "./components/post-language-
|
|
16
|
+
export { SwitchVariant } from "./components/post-language-menu/switch-variants";
|
|
17
17
|
export { Placement } from "@floating-ui/dom";
|
|
18
18
|
export namespace Components {
|
|
19
19
|
interface PostAccordion {
|
|
@@ -81,7 +81,7 @@ export namespace Components {
|
|
|
81
81
|
/**
|
|
82
82
|
* The label of the back-to-top button, intended solely for accessibility purposes. This label is always hidden from view.
|
|
83
83
|
*/
|
|
84
|
-
"
|
|
84
|
+
"textBackToTop": string;
|
|
85
85
|
}
|
|
86
86
|
interface PostBanner {
|
|
87
87
|
/**
|
|
@@ -101,10 +101,6 @@ export namespace Components {
|
|
|
101
101
|
"url"?: string | URL;
|
|
102
102
|
}
|
|
103
103
|
interface PostBreadcrumbs {
|
|
104
|
-
/**
|
|
105
|
-
* The text label for the home breadcrumb item.
|
|
106
|
-
*/
|
|
107
|
-
"homeText": string;
|
|
108
104
|
/**
|
|
109
105
|
* The URL for the home breadcrumb item.
|
|
110
106
|
*/
|
|
@@ -112,11 +108,15 @@ export namespace Components {
|
|
|
112
108
|
/**
|
|
113
109
|
* The accessible label for the breadcrumb component.
|
|
114
110
|
*/
|
|
115
|
-
"
|
|
111
|
+
"textBreadcrumbs": string;
|
|
112
|
+
/**
|
|
113
|
+
* The text label for the home breadcrumb item.
|
|
114
|
+
*/
|
|
115
|
+
"textHome": string;
|
|
116
116
|
/**
|
|
117
117
|
* The accessible label for the breadcrumb menu when breadcrumb items are concatenated.
|
|
118
118
|
*/
|
|
119
|
-
"
|
|
119
|
+
"textMoreItems": string;
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
122
|
* @class PostCardControl - representing a stencil component
|
|
@@ -183,9 +183,9 @@ export namespace Components {
|
|
|
183
183
|
*/
|
|
184
184
|
"collapsed"?: boolean;
|
|
185
185
|
/**
|
|
186
|
-
* Triggers the collapse programmatically.
|
|
186
|
+
* Triggers the collapse programmatically. If there is a collapsing transition running already, it will be reversed. If no parameter is provided, the current state (this.isExpanded) will be toggled.
|
|
187
187
|
*/
|
|
188
|
-
"toggle": (
|
|
188
|
+
"toggle": (shouldExpand?: boolean) => Promise<boolean>;
|
|
189
189
|
}
|
|
190
190
|
interface PostCollapsibleTrigger {
|
|
191
191
|
/**
|
|
@@ -197,17 +197,23 @@ export namespace Components {
|
|
|
197
197
|
*/
|
|
198
198
|
"update": () => Promise<void>;
|
|
199
199
|
}
|
|
200
|
+
interface PostEnvTest {
|
|
201
|
+
}
|
|
200
202
|
interface PostFooter {
|
|
201
203
|
/**
|
|
202
|
-
* The
|
|
204
|
+
* The textFooter to add to the footer (visually hidden).
|
|
203
205
|
*/
|
|
204
|
-
"
|
|
206
|
+
"textFooter": string;
|
|
205
207
|
}
|
|
206
208
|
interface PostHeader {
|
|
207
209
|
/**
|
|
208
|
-
*
|
|
210
|
+
* The label of the burger menu button.
|
|
211
|
+
*/
|
|
212
|
+
"textMenu": string;
|
|
213
|
+
/**
|
|
214
|
+
* Toggles the burger navigation menu.
|
|
209
215
|
*/
|
|
210
|
-
"
|
|
216
|
+
"toggleBurgerMenu": (force?: boolean) => Promise<void>;
|
|
211
217
|
}
|
|
212
218
|
/**
|
|
213
219
|
* @class PostIcon - representing a stencil component
|
|
@@ -244,7 +250,22 @@ export namespace Components {
|
|
|
244
250
|
*/
|
|
245
251
|
"scale"?: number;
|
|
246
252
|
}
|
|
247
|
-
interface
|
|
253
|
+
interface PostLanguageMenu {
|
|
254
|
+
/**
|
|
255
|
+
* A title for the list of language options
|
|
256
|
+
*/
|
|
257
|
+
"textChangeLanguage": string;
|
|
258
|
+
/**
|
|
259
|
+
* A descriptive text for the list of language options
|
|
260
|
+
*/
|
|
261
|
+
"textCurrentLanguage": string;
|
|
262
|
+
/**
|
|
263
|
+
* Whether the component is rendered as a list or a menu
|
|
264
|
+
* @default 'list'
|
|
265
|
+
*/
|
|
266
|
+
"variant": SwitchVariant;
|
|
267
|
+
}
|
|
268
|
+
interface PostLanguageMenuItem {
|
|
248
269
|
/**
|
|
249
270
|
* If set to `true`, the language option is considered the current language for the page.
|
|
250
271
|
*/
|
|
@@ -266,41 +287,12 @@ export namespace Components {
|
|
|
266
287
|
*/
|
|
267
288
|
"url"?: string;
|
|
268
289
|
/**
|
|
269
|
-
* To communicate the variant prop from the parent (post-language-
|
|
290
|
+
* To communicate the variant prop from the parent (post-language-menu) component to the child (post-language-menu-item) component. See parent docs for a description about the property itself.
|
|
270
291
|
*/
|
|
271
292
|
"variant"?: SwitchVariant;
|
|
272
293
|
}
|
|
273
|
-
interface PostLanguageSwitch {
|
|
274
|
-
/**
|
|
275
|
-
* A title for the list of language options
|
|
276
|
-
*/
|
|
277
|
-
"caption": string;
|
|
278
|
-
/**
|
|
279
|
-
* A descriptive text for the list of language options
|
|
280
|
-
*/
|
|
281
|
-
"description": string;
|
|
282
|
-
/**
|
|
283
|
-
* Whether the component is rendered as a list or a menu
|
|
284
|
-
* @default 'list'
|
|
285
|
-
*/
|
|
286
|
-
"variant": SwitchVariant;
|
|
287
|
-
}
|
|
288
294
|
interface PostLinkarea {
|
|
289
295
|
}
|
|
290
|
-
interface PostList {
|
|
291
|
-
/**
|
|
292
|
-
* The list can become horizontal by setting `horizontal="true"` or just `horizontal`
|
|
293
|
-
* @default false
|
|
294
|
-
*/
|
|
295
|
-
"horizontal": boolean;
|
|
296
|
-
/**
|
|
297
|
-
* If `true`, the list title will be hidden. Otherwise, it will be displayed.`
|
|
298
|
-
* @default false
|
|
299
|
-
*/
|
|
300
|
-
"titleHidden": boolean;
|
|
301
|
-
}
|
|
302
|
-
interface PostListItem {
|
|
303
|
-
}
|
|
304
296
|
interface PostLogo {
|
|
305
297
|
/**
|
|
306
298
|
* The URL to which the user is redirected upon clicking the logo.
|
|
@@ -308,6 +300,10 @@ export namespace Components {
|
|
|
308
300
|
"url"?: string | URL;
|
|
309
301
|
}
|
|
310
302
|
interface PostMainnavigation {
|
|
303
|
+
/**
|
|
304
|
+
* Defines the accessible label for the navigation element. This text is used as the `aria-label` attribute to provide screen reader users with a description of the navigation's purpose.
|
|
305
|
+
*/
|
|
306
|
+
"textMain": string;
|
|
311
307
|
}
|
|
312
308
|
interface PostMegadropdown {
|
|
313
309
|
/**
|
|
@@ -322,12 +318,25 @@ export namespace Components {
|
|
|
322
318
|
* Displays the dropdown.
|
|
323
319
|
*/
|
|
324
320
|
"show": () => Promise<void>;
|
|
321
|
+
/**
|
|
322
|
+
* A label for the back button visible on tablet and mobile
|
|
323
|
+
*/
|
|
324
|
+
"textBack": string;
|
|
325
|
+
/**
|
|
326
|
+
* An accessible label for the close button visible on desktop
|
|
327
|
+
*/
|
|
328
|
+
"textClose": string;
|
|
325
329
|
/**
|
|
326
330
|
* Toggles the dropdown visibility based on its current state.
|
|
327
331
|
*/
|
|
328
332
|
"toggle": () => Promise<void>;
|
|
329
333
|
}
|
|
330
334
|
interface PostMegadropdownTrigger {
|
|
335
|
+
/**
|
|
336
|
+
* Sets the trigger state to be active or inactive.
|
|
337
|
+
* @default false
|
|
338
|
+
*/
|
|
339
|
+
"active": boolean;
|
|
331
340
|
/**
|
|
332
341
|
* ID of the mega dropdown element that this trigger is linked to. Used to open and close the specified mega dropdown.
|
|
333
342
|
*/
|
|
@@ -339,7 +348,7 @@ export namespace Components {
|
|
|
339
348
|
*/
|
|
340
349
|
"hide": () => Promise<void>;
|
|
341
350
|
/**
|
|
342
|
-
*
|
|
351
|
+
* A descriptive label that clearly identifies the menu’s content so assistive technologies can convey its purpose.
|
|
343
352
|
*/
|
|
344
353
|
"label": string;
|
|
345
354
|
/**
|
|
@@ -365,16 +374,54 @@ export namespace Components {
|
|
|
365
374
|
*/
|
|
366
375
|
"for": string;
|
|
367
376
|
}
|
|
377
|
+
interface PostPagination {
|
|
378
|
+
/**
|
|
379
|
+
* The total number of items in the collection.
|
|
380
|
+
*/
|
|
381
|
+
"collectionSize": number;
|
|
382
|
+
/**
|
|
383
|
+
* If true, the pagination is disabled.
|
|
384
|
+
*/
|
|
385
|
+
"disabled"?: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* A descriptive label for the pagination navigation, used by assistive technologies.
|
|
388
|
+
*/
|
|
389
|
+
"label": string;
|
|
390
|
+
/**
|
|
391
|
+
* The current active page number. **If not specified, defaults to the first page.**
|
|
392
|
+
*/
|
|
393
|
+
"page"?: number;
|
|
394
|
+
/**
|
|
395
|
+
* The number of items per page.
|
|
396
|
+
*/
|
|
397
|
+
"pageSize": number;
|
|
398
|
+
/**
|
|
399
|
+
* Prefix text for the first page label.
|
|
400
|
+
*/
|
|
401
|
+
"textFirst": string;
|
|
402
|
+
/**
|
|
403
|
+
* Prefix text for the last page label.
|
|
404
|
+
*/
|
|
405
|
+
"textLast": string;
|
|
406
|
+
/**
|
|
407
|
+
* Accessible label for the next page button.
|
|
408
|
+
*/
|
|
409
|
+
"textNext": string;
|
|
410
|
+
/**
|
|
411
|
+
* Prefix text for page number labels.
|
|
412
|
+
*/
|
|
413
|
+
"textPage": string;
|
|
414
|
+
/**
|
|
415
|
+
* Accessible label for the previous page button.
|
|
416
|
+
*/
|
|
417
|
+
"textPrevious": string;
|
|
418
|
+
}
|
|
368
419
|
interface PostPopover {
|
|
369
420
|
/**
|
|
370
421
|
* Show a little indicator arrow
|
|
371
422
|
* @default true
|
|
372
423
|
*/
|
|
373
424
|
"arrow"?: boolean;
|
|
374
|
-
/**
|
|
375
|
-
* Define the caption of the close button for assistive technology
|
|
376
|
-
*/
|
|
377
|
-
"closeButtonCaption": string;
|
|
378
425
|
/**
|
|
379
426
|
* Programmatically hide this popover
|
|
380
427
|
*/
|
|
@@ -389,6 +436,10 @@ export namespace Components {
|
|
|
389
436
|
* @param target A focusable element inside the <post-popover-trigger> component that controls the popover
|
|
390
437
|
*/
|
|
391
438
|
"show": (target: HTMLElement) => Promise<void>;
|
|
439
|
+
/**
|
|
440
|
+
* Define the text of the close button for assistive technology
|
|
441
|
+
*/
|
|
442
|
+
"textClose": string;
|
|
392
443
|
/**
|
|
393
444
|
* Toggle popover display
|
|
394
445
|
* @param target A focusable element inside the <post-popover-trigger> component that controls the popover
|
|
@@ -400,7 +451,7 @@ export namespace Components {
|
|
|
400
451
|
/**
|
|
401
452
|
* ID of the popover element that this trigger is linked to. Used to open and close the popover.
|
|
402
453
|
*/
|
|
403
|
-
"for"
|
|
454
|
+
"for"?: string;
|
|
404
455
|
}
|
|
405
456
|
interface PostPopovercontainer {
|
|
406
457
|
/**
|
|
@@ -413,10 +464,6 @@ export namespace Components {
|
|
|
413
464
|
* @default false
|
|
414
465
|
*/
|
|
415
466
|
"arrow"?: boolean;
|
|
416
|
-
/**
|
|
417
|
-
* Handles the popover closing process and emits related events.
|
|
418
|
-
*/
|
|
419
|
-
"close": () => Promise<void>;
|
|
420
467
|
/**
|
|
421
468
|
* Gap between the edge of the page and the popovercontainer
|
|
422
469
|
* @default 8
|
|
@@ -426,15 +473,6 @@ export namespace Components {
|
|
|
426
473
|
* Programmatically hide the popovercontainer
|
|
427
474
|
*/
|
|
428
475
|
"hide": () => Promise<void>;
|
|
429
|
-
/**
|
|
430
|
-
* Whether or not the popovercontainer should close when user clicks outside of it
|
|
431
|
-
* @default false
|
|
432
|
-
*/
|
|
433
|
-
"manualClose": boolean;
|
|
434
|
-
/**
|
|
435
|
-
* Handles the popover opening process and emits related events.
|
|
436
|
-
*/
|
|
437
|
-
"open": () => Promise<void>;
|
|
438
476
|
/**
|
|
439
477
|
* Defines the placement of the popovercontainer according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement. Popovercontainers are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries.
|
|
440
478
|
* @default 'top'
|
|
@@ -463,7 +501,7 @@ export namespace Components {
|
|
|
463
501
|
*/
|
|
464
502
|
"currentRating": number;
|
|
465
503
|
/**
|
|
466
|
-
*
|
|
504
|
+
* A hidden, descriptive label that explains the role of the rating component to assistive technologies.
|
|
467
505
|
*/
|
|
468
506
|
"label": string;
|
|
469
507
|
/**
|
|
@@ -477,32 +515,57 @@ export namespace Components {
|
|
|
477
515
|
*/
|
|
478
516
|
"stars": number;
|
|
479
517
|
}
|
|
480
|
-
interface
|
|
518
|
+
interface PostStepper {
|
|
519
|
+
/**
|
|
520
|
+
* Defines the currently active step
|
|
521
|
+
* @default -1
|
|
522
|
+
*/
|
|
523
|
+
"currentIndex": number;
|
|
524
|
+
/**
|
|
525
|
+
* "Completed step" label for accessibility
|
|
526
|
+
*/
|
|
527
|
+
"textCompletedStep": string;
|
|
528
|
+
/**
|
|
529
|
+
* "Current step" label for accessibility
|
|
530
|
+
*/
|
|
531
|
+
"textCurrentStep": string;
|
|
532
|
+
/**
|
|
533
|
+
* Label for the "Step N:" indicator for mobile view. Use `#number` as a placeholder — it will be replaced with the current step number at runtime.
|
|
534
|
+
*/
|
|
535
|
+
"textStepNumber": string;
|
|
536
|
+
}
|
|
537
|
+
interface PostStepperItem {
|
|
538
|
+
}
|
|
539
|
+
interface PostTabItem {
|
|
481
540
|
/**
|
|
482
|
-
* The name of the panel
|
|
541
|
+
* The name of the tab, used to associate it with a tab panel or identify the active tab in panel mode.
|
|
483
542
|
*/
|
|
484
|
-
"
|
|
543
|
+
"name": string;
|
|
485
544
|
}
|
|
486
545
|
interface PostTabPanel {
|
|
487
546
|
/**
|
|
488
|
-
* The name of the
|
|
547
|
+
* The name of the tab that this panel is associated with.
|
|
489
548
|
*/
|
|
490
|
-
"
|
|
549
|
+
"for": string;
|
|
491
550
|
}
|
|
492
551
|
interface PostTabs {
|
|
493
552
|
/**
|
|
494
|
-
* The name of the panel that is initially
|
|
553
|
+
* The name of the tab in the panel mode that is initially active. Changing this value after initialization has no effect. If not specified, defaults to the first tab.
|
|
495
554
|
*/
|
|
496
|
-
"
|
|
555
|
+
"activeTab"?: string;
|
|
497
556
|
/**
|
|
498
|
-
* When set to true, this property allows the tabs container to span the full width of the screen, from edge to edge.
|
|
557
|
+
* When set to true, this property allows the tabs container to span the Changing this value after initialization has no effect. full width of the screen, from edge to edge.
|
|
499
558
|
* @default false
|
|
500
559
|
*/
|
|
501
560
|
"fullWidth": boolean;
|
|
561
|
+
/**
|
|
562
|
+
* The accessible label for the tabs component in navigation mode.
|
|
563
|
+
*/
|
|
564
|
+
"label"?: string;
|
|
502
565
|
/**
|
|
503
566
|
* Shows the panel with the given name and selects its associated tab. Any other panel that was previously shown becomes hidden and its associated tab is unselected.
|
|
504
567
|
*/
|
|
505
|
-
"show": (
|
|
568
|
+
"show": (tabName: string) => Promise<void>;
|
|
506
569
|
}
|
|
507
570
|
interface PostTogglebutton {
|
|
508
571
|
/**
|
|
@@ -571,9 +634,9 @@ export interface PostCollapsibleCustomEvent<T> extends CustomEvent<T> {
|
|
|
571
634
|
detail: T;
|
|
572
635
|
target: HTMLPostCollapsibleElement;
|
|
573
636
|
}
|
|
574
|
-
export interface
|
|
637
|
+
export interface PostLanguageMenuItemCustomEvent<T> extends CustomEvent<T> {
|
|
575
638
|
detail: T;
|
|
576
|
-
target:
|
|
639
|
+
target: HTMLPostLanguageMenuItemElement;
|
|
577
640
|
}
|
|
578
641
|
export interface PostMegadropdownCustomEvent<T> extends CustomEvent<T> {
|
|
579
642
|
detail: T;
|
|
@@ -583,6 +646,10 @@ export interface PostMenuCustomEvent<T> extends CustomEvent<T> {
|
|
|
583
646
|
detail: T;
|
|
584
647
|
target: HTMLPostMenuElement;
|
|
585
648
|
}
|
|
649
|
+
export interface PostPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
650
|
+
detail: T;
|
|
651
|
+
target: HTMLPostPaginationElement;
|
|
652
|
+
}
|
|
586
653
|
export interface PostPopovercontainerCustomEvent<T> extends CustomEvent<T> {
|
|
587
654
|
detail: T;
|
|
588
655
|
target: HTMLPostPopovercontainerElement;
|
|
@@ -699,6 +766,12 @@ declare global {
|
|
|
699
766
|
prototype: HTMLPostCollapsibleTriggerElement;
|
|
700
767
|
new (): HTMLPostCollapsibleTriggerElement;
|
|
701
768
|
};
|
|
769
|
+
interface HTMLPostEnvTestElement extends Components.PostEnvTest, HTMLStencilElement {
|
|
770
|
+
}
|
|
771
|
+
var HTMLPostEnvTestElement: {
|
|
772
|
+
prototype: HTMLPostEnvTestElement;
|
|
773
|
+
new (): HTMLPostEnvTestElement;
|
|
774
|
+
};
|
|
702
775
|
interface HTMLPostFooterElement extends Components.PostFooter, HTMLStencilElement {
|
|
703
776
|
}
|
|
704
777
|
var HTMLPostFooterElement: {
|
|
@@ -720,29 +793,29 @@ declare global {
|
|
|
720
793
|
prototype: HTMLPostIconElement;
|
|
721
794
|
new (): HTMLPostIconElement;
|
|
722
795
|
};
|
|
723
|
-
interface
|
|
796
|
+
interface HTMLPostLanguageMenuElement extends Components.PostLanguageMenu, HTMLStencilElement {
|
|
797
|
+
}
|
|
798
|
+
var HTMLPostLanguageMenuElement: {
|
|
799
|
+
prototype: HTMLPostLanguageMenuElement;
|
|
800
|
+
new (): HTMLPostLanguageMenuElement;
|
|
801
|
+
};
|
|
802
|
+
interface HTMLPostLanguageMenuItemElementEventMap {
|
|
724
803
|
"postChange": string;
|
|
725
|
-
"
|
|
804
|
+
"postLanguageMenuItemInitiallyActive": string;
|
|
726
805
|
}
|
|
727
|
-
interface
|
|
728
|
-
addEventListener<K extends keyof
|
|
806
|
+
interface HTMLPostLanguageMenuItemElement extends Components.PostLanguageMenuItem, HTMLStencilElement {
|
|
807
|
+
addEventListener<K extends keyof HTMLPostLanguageMenuItemElementEventMap>(type: K, listener: (this: HTMLPostLanguageMenuItemElement, ev: PostLanguageMenuItemCustomEvent<HTMLPostLanguageMenuItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
729
808
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
730
809
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
731
810
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
732
|
-
removeEventListener<K extends keyof
|
|
811
|
+
removeEventListener<K extends keyof HTMLPostLanguageMenuItemElementEventMap>(type: K, listener: (this: HTMLPostLanguageMenuItemElement, ev: PostLanguageMenuItemCustomEvent<HTMLPostLanguageMenuItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
733
812
|
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
734
813
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
735
814
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
736
815
|
}
|
|
737
|
-
var
|
|
738
|
-
prototype:
|
|
739
|
-
new ():
|
|
740
|
-
};
|
|
741
|
-
interface HTMLPostLanguageSwitchElement extends Components.PostLanguageSwitch, HTMLStencilElement {
|
|
742
|
-
}
|
|
743
|
-
var HTMLPostLanguageSwitchElement: {
|
|
744
|
-
prototype: HTMLPostLanguageSwitchElement;
|
|
745
|
-
new (): HTMLPostLanguageSwitchElement;
|
|
816
|
+
var HTMLPostLanguageMenuItemElement: {
|
|
817
|
+
prototype: HTMLPostLanguageMenuItemElement;
|
|
818
|
+
new (): HTMLPostLanguageMenuItemElement;
|
|
746
819
|
};
|
|
747
820
|
interface HTMLPostLinkareaElement extends Components.PostLinkarea, HTMLStencilElement {
|
|
748
821
|
}
|
|
@@ -750,18 +823,6 @@ declare global {
|
|
|
750
823
|
prototype: HTMLPostLinkareaElement;
|
|
751
824
|
new (): HTMLPostLinkareaElement;
|
|
752
825
|
};
|
|
753
|
-
interface HTMLPostListElement extends Components.PostList, HTMLStencilElement {
|
|
754
|
-
}
|
|
755
|
-
var HTMLPostListElement: {
|
|
756
|
-
prototype: HTMLPostListElement;
|
|
757
|
-
new (): HTMLPostListElement;
|
|
758
|
-
};
|
|
759
|
-
interface HTMLPostListItemElement extends Components.PostListItem, HTMLStencilElement {
|
|
760
|
-
}
|
|
761
|
-
var HTMLPostListItemElement: {
|
|
762
|
-
prototype: HTMLPostListItemElement;
|
|
763
|
-
new (): HTMLPostListItemElement;
|
|
764
|
-
};
|
|
765
826
|
interface HTMLPostLogoElement extends Components.PostLogo, HTMLStencilElement {
|
|
766
827
|
}
|
|
767
828
|
var HTMLPostLogoElement: {
|
|
@@ -826,6 +887,23 @@ declare global {
|
|
|
826
887
|
prototype: HTMLPostMenuTriggerElement;
|
|
827
888
|
new (): HTMLPostMenuTriggerElement;
|
|
828
889
|
};
|
|
890
|
+
interface HTMLPostPaginationElementEventMap {
|
|
891
|
+
"postChange": number;
|
|
892
|
+
}
|
|
893
|
+
interface HTMLPostPaginationElement extends Components.PostPagination, HTMLStencilElement {
|
|
894
|
+
addEventListener<K extends keyof HTMLPostPaginationElementEventMap>(type: K, listener: (this: HTMLPostPaginationElement, ev: PostPaginationCustomEvent<HTMLPostPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
895
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
896
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
897
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
898
|
+
removeEventListener<K extends keyof HTMLPostPaginationElementEventMap>(type: K, listener: (this: HTMLPostPaginationElement, ev: PostPaginationCustomEvent<HTMLPostPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
899
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
900
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
901
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
902
|
+
}
|
|
903
|
+
var HTMLPostPaginationElement: {
|
|
904
|
+
prototype: HTMLPostPaginationElement;
|
|
905
|
+
new (): HTMLPostPaginationElement;
|
|
906
|
+
};
|
|
829
907
|
interface HTMLPostPopoverElement extends Components.PostPopover, HTMLStencilElement {
|
|
830
908
|
}
|
|
831
909
|
var HTMLPostPopoverElement: {
|
|
@@ -877,11 +955,23 @@ declare global {
|
|
|
877
955
|
prototype: HTMLPostRatingElement;
|
|
878
956
|
new (): HTMLPostRatingElement;
|
|
879
957
|
};
|
|
880
|
-
interface
|
|
958
|
+
interface HTMLPostStepperElement extends Components.PostStepper, HTMLStencilElement {
|
|
959
|
+
}
|
|
960
|
+
var HTMLPostStepperElement: {
|
|
961
|
+
prototype: HTMLPostStepperElement;
|
|
962
|
+
new (): HTMLPostStepperElement;
|
|
963
|
+
};
|
|
964
|
+
interface HTMLPostStepperItemElement extends Components.PostStepperItem, HTMLStencilElement {
|
|
881
965
|
}
|
|
882
|
-
var
|
|
883
|
-
prototype:
|
|
884
|
-
new ():
|
|
966
|
+
var HTMLPostStepperItemElement: {
|
|
967
|
+
prototype: HTMLPostStepperItemElement;
|
|
968
|
+
new (): HTMLPostStepperItemElement;
|
|
969
|
+
};
|
|
970
|
+
interface HTMLPostTabItemElement extends Components.PostTabItem, HTMLStencilElement {
|
|
971
|
+
}
|
|
972
|
+
var HTMLPostTabItemElement: {
|
|
973
|
+
prototype: HTMLPostTabItemElement;
|
|
974
|
+
new (): HTMLPostTabItemElement;
|
|
885
975
|
};
|
|
886
976
|
interface HTMLPostTabPanelElement extends Components.PostTabPanel, HTMLStencilElement {
|
|
887
977
|
}
|
|
@@ -936,14 +1026,13 @@ declare global {
|
|
|
936
1026
|
"post-closebutton": HTMLPostClosebuttonElement;
|
|
937
1027
|
"post-collapsible": HTMLPostCollapsibleElement;
|
|
938
1028
|
"post-collapsible-trigger": HTMLPostCollapsibleTriggerElement;
|
|
1029
|
+
"post-env-test": HTMLPostEnvTestElement;
|
|
939
1030
|
"post-footer": HTMLPostFooterElement;
|
|
940
1031
|
"post-header": HTMLPostHeaderElement;
|
|
941
1032
|
"post-icon": HTMLPostIconElement;
|
|
942
|
-
"post-language-
|
|
943
|
-
"post-language-
|
|
1033
|
+
"post-language-menu": HTMLPostLanguageMenuElement;
|
|
1034
|
+
"post-language-menu-item": HTMLPostLanguageMenuItemElement;
|
|
944
1035
|
"post-linkarea": HTMLPostLinkareaElement;
|
|
945
|
-
"post-list": HTMLPostListElement;
|
|
946
|
-
"post-list-item": HTMLPostListItemElement;
|
|
947
1036
|
"post-logo": HTMLPostLogoElement;
|
|
948
1037
|
"post-mainnavigation": HTMLPostMainnavigationElement;
|
|
949
1038
|
"post-megadropdown": HTMLPostMegadropdownElement;
|
|
@@ -951,11 +1040,14 @@ declare global {
|
|
|
951
1040
|
"post-menu": HTMLPostMenuElement;
|
|
952
1041
|
"post-menu-item": HTMLPostMenuItemElement;
|
|
953
1042
|
"post-menu-trigger": HTMLPostMenuTriggerElement;
|
|
1043
|
+
"post-pagination": HTMLPostPaginationElement;
|
|
954
1044
|
"post-popover": HTMLPostPopoverElement;
|
|
955
1045
|
"post-popover-trigger": HTMLPostPopoverTriggerElement;
|
|
956
1046
|
"post-popovercontainer": HTMLPostPopovercontainerElement;
|
|
957
1047
|
"post-rating": HTMLPostRatingElement;
|
|
958
|
-
"post-
|
|
1048
|
+
"post-stepper": HTMLPostStepperElement;
|
|
1049
|
+
"post-stepper-item": HTMLPostStepperItemElement;
|
|
1050
|
+
"post-tab-item": HTMLPostTabItemElement;
|
|
959
1051
|
"post-tab-panel": HTMLPostTabPanelElement;
|
|
960
1052
|
"post-tabs": HTMLPostTabsElement;
|
|
961
1053
|
"post-togglebutton": HTMLPostTogglebuttonElement;
|
|
@@ -1013,7 +1105,7 @@ declare namespace LocalJSX {
|
|
|
1013
1105
|
/**
|
|
1014
1106
|
* The label of the back-to-top button, intended solely for accessibility purposes. This label is always hidden from view.
|
|
1015
1107
|
*/
|
|
1016
|
-
"
|
|
1108
|
+
"textBackToTop": string;
|
|
1017
1109
|
}
|
|
1018
1110
|
interface PostBanner {
|
|
1019
1111
|
/**
|
|
@@ -1033,10 +1125,6 @@ declare namespace LocalJSX {
|
|
|
1033
1125
|
"url"?: string | URL;
|
|
1034
1126
|
}
|
|
1035
1127
|
interface PostBreadcrumbs {
|
|
1036
|
-
/**
|
|
1037
|
-
* The text label for the home breadcrumb item.
|
|
1038
|
-
*/
|
|
1039
|
-
"homeText": string;
|
|
1040
1128
|
/**
|
|
1041
1129
|
* The URL for the home breadcrumb item.
|
|
1042
1130
|
*/
|
|
@@ -1044,11 +1132,15 @@ declare namespace LocalJSX {
|
|
|
1044
1132
|
/**
|
|
1045
1133
|
* The accessible label for the breadcrumb component.
|
|
1046
1134
|
*/
|
|
1047
|
-
"
|
|
1135
|
+
"textBreadcrumbs": string;
|
|
1136
|
+
/**
|
|
1137
|
+
* The text label for the home breadcrumb item.
|
|
1138
|
+
*/
|
|
1139
|
+
"textHome": string;
|
|
1048
1140
|
/**
|
|
1049
1141
|
* The accessible label for the breadcrumb menu when breadcrumb items are concatenated.
|
|
1050
1142
|
*/
|
|
1051
|
-
"
|
|
1143
|
+
"textMoreItems": string;
|
|
1052
1144
|
}
|
|
1053
1145
|
/**
|
|
1054
1146
|
* @class PostCardControl - representing a stencil component
|
|
@@ -1115,7 +1207,7 @@ declare namespace LocalJSX {
|
|
|
1115
1207
|
*/
|
|
1116
1208
|
"collapsed"?: boolean;
|
|
1117
1209
|
/**
|
|
1118
|
-
* An event emitted when the collapse element is shown or hidden, before the transition. The event payload is a boolean: `true` if the collapsible
|
|
1210
|
+
* An event emitted when the collapse element is shown or hidden, before the transition. The event payload is a boolean: `true` if the collapsible is expanded, `false` if it is collapsed.
|
|
1119
1211
|
*/
|
|
1120
1212
|
"onPostToggle"?: (event: PostCollapsibleCustomEvent<boolean>) => void;
|
|
1121
1213
|
}
|
|
@@ -1125,13 +1217,19 @@ declare namespace LocalJSX {
|
|
|
1125
1217
|
*/
|
|
1126
1218
|
"for": string;
|
|
1127
1219
|
}
|
|
1220
|
+
interface PostEnvTest {
|
|
1221
|
+
}
|
|
1128
1222
|
interface PostFooter {
|
|
1129
1223
|
/**
|
|
1130
|
-
* The
|
|
1224
|
+
* The textFooter to add to the footer (visually hidden).
|
|
1131
1225
|
*/
|
|
1132
|
-
"
|
|
1226
|
+
"textFooter": string;
|
|
1133
1227
|
}
|
|
1134
1228
|
interface PostHeader {
|
|
1229
|
+
/**
|
|
1230
|
+
* The label of the burger menu button.
|
|
1231
|
+
*/
|
|
1232
|
+
"textMenu": string;
|
|
1135
1233
|
}
|
|
1136
1234
|
/**
|
|
1137
1235
|
* @class PostIcon - representing a stencil component
|
|
@@ -1168,7 +1266,22 @@ declare namespace LocalJSX {
|
|
|
1168
1266
|
*/
|
|
1169
1267
|
"scale"?: number;
|
|
1170
1268
|
}
|
|
1171
|
-
interface
|
|
1269
|
+
interface PostLanguageMenu {
|
|
1270
|
+
/**
|
|
1271
|
+
* A title for the list of language options
|
|
1272
|
+
*/
|
|
1273
|
+
"textChangeLanguage": string;
|
|
1274
|
+
/**
|
|
1275
|
+
* A descriptive text for the list of language options
|
|
1276
|
+
*/
|
|
1277
|
+
"textCurrentLanguage": string;
|
|
1278
|
+
/**
|
|
1279
|
+
* Whether the component is rendered as a list or a menu
|
|
1280
|
+
* @default 'list'
|
|
1281
|
+
*/
|
|
1282
|
+
"variant"?: SwitchVariant;
|
|
1283
|
+
}
|
|
1284
|
+
interface PostLanguageMenuItem {
|
|
1172
1285
|
/**
|
|
1173
1286
|
* If set to `true`, the language option is considered the current language for the page.
|
|
1174
1287
|
*/
|
|
@@ -1184,51 +1297,22 @@ declare namespace LocalJSX {
|
|
|
1184
1297
|
/**
|
|
1185
1298
|
* An event emitted when the language option is clicked. The payload is the ISO 639 code of the language.
|
|
1186
1299
|
*/
|
|
1187
|
-
"onPostChange"?: (event:
|
|
1300
|
+
"onPostChange"?: (event: PostLanguageMenuItemCustomEvent<string>) => void;
|
|
1188
1301
|
/**
|
|
1189
1302
|
* An event emitted when the language option is initially active. The payload is the ISO 639 code of the language.
|
|
1190
1303
|
*/
|
|
1191
|
-
"
|
|
1304
|
+
"onPostLanguageMenuItemInitiallyActive"?: (event: PostLanguageMenuItemCustomEvent<string>) => void;
|
|
1192
1305
|
/**
|
|
1193
1306
|
* 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.
|
|
1194
1307
|
*/
|
|
1195
1308
|
"url"?: string;
|
|
1196
1309
|
/**
|
|
1197
|
-
* To communicate the variant prop from the parent (post-language-
|
|
1198
|
-
*/
|
|
1199
|
-
"variant"?: SwitchVariant;
|
|
1200
|
-
}
|
|
1201
|
-
interface PostLanguageSwitch {
|
|
1202
|
-
/**
|
|
1203
|
-
* A title for the list of language options
|
|
1204
|
-
*/
|
|
1205
|
-
"caption": string;
|
|
1206
|
-
/**
|
|
1207
|
-
* A descriptive text for the list of language options
|
|
1208
|
-
*/
|
|
1209
|
-
"description": string;
|
|
1210
|
-
/**
|
|
1211
|
-
* Whether the component is rendered as a list or a menu
|
|
1212
|
-
* @default 'list'
|
|
1310
|
+
* To communicate the variant prop from the parent (post-language-menu) component to the child (post-language-menu-item) component. See parent docs for a description about the property itself.
|
|
1213
1311
|
*/
|
|
1214
1312
|
"variant"?: SwitchVariant;
|
|
1215
1313
|
}
|
|
1216
1314
|
interface PostLinkarea {
|
|
1217
1315
|
}
|
|
1218
|
-
interface PostList {
|
|
1219
|
-
/**
|
|
1220
|
-
* The list can become horizontal by setting `horizontal="true"` or just `horizontal`
|
|
1221
|
-
* @default false
|
|
1222
|
-
*/
|
|
1223
|
-
"horizontal"?: boolean;
|
|
1224
|
-
/**
|
|
1225
|
-
* If `true`, the list title will be hidden. Otherwise, it will be displayed.`
|
|
1226
|
-
* @default false
|
|
1227
|
-
*/
|
|
1228
|
-
"titleHidden"?: boolean;
|
|
1229
|
-
}
|
|
1230
|
-
interface PostListItem {
|
|
1231
|
-
}
|
|
1232
1316
|
interface PostLogo {
|
|
1233
1317
|
/**
|
|
1234
1318
|
* The URL to which the user is redirected upon clicking the logo.
|
|
@@ -1236,14 +1320,31 @@ declare namespace LocalJSX {
|
|
|
1236
1320
|
"url"?: string | URL;
|
|
1237
1321
|
}
|
|
1238
1322
|
interface PostMainnavigation {
|
|
1323
|
+
/**
|
|
1324
|
+
* Defines the accessible label for the navigation element. This text is used as the `aria-label` attribute to provide screen reader users with a description of the navigation's purpose.
|
|
1325
|
+
*/
|
|
1326
|
+
"textMain": string;
|
|
1239
1327
|
}
|
|
1240
1328
|
interface PostMegadropdown {
|
|
1241
1329
|
/**
|
|
1242
1330
|
* Emits when the dropdown is shown or hidden. The event payload is an object. `isVisible` is true when the dropdown gets opened and false when it gets closed `focusParent` determines whether after the closing of the mega dropdown, the focus should go back to the trigger parent or naturally go to the next focusable element in the page
|
|
1243
1331
|
*/
|
|
1244
1332
|
"onPostToggleMegadropdown"?: (event: PostMegadropdownCustomEvent<{ isVisible: boolean; focusParent?: boolean }>) => void;
|
|
1333
|
+
/**
|
|
1334
|
+
* A label for the back button visible on tablet and mobile
|
|
1335
|
+
*/
|
|
1336
|
+
"textBack": string;
|
|
1337
|
+
/**
|
|
1338
|
+
* An accessible label for the close button visible on desktop
|
|
1339
|
+
*/
|
|
1340
|
+
"textClose": string;
|
|
1245
1341
|
}
|
|
1246
1342
|
interface PostMegadropdownTrigger {
|
|
1343
|
+
/**
|
|
1344
|
+
* Sets the trigger state to be active or inactive.
|
|
1345
|
+
* @default false
|
|
1346
|
+
*/
|
|
1347
|
+
"active"?: boolean;
|
|
1247
1348
|
/**
|
|
1248
1349
|
* ID of the mega dropdown element that this trigger is linked to. Used to open and close the specified mega dropdown.
|
|
1249
1350
|
*/
|
|
@@ -1251,7 +1352,7 @@ declare namespace LocalJSX {
|
|
|
1251
1352
|
}
|
|
1252
1353
|
interface PostMenu {
|
|
1253
1354
|
/**
|
|
1254
|
-
*
|
|
1355
|
+
* A descriptive label that clearly identifies the menu’s content so assistive technologies can convey its purpose.
|
|
1255
1356
|
*/
|
|
1256
1357
|
"label": string;
|
|
1257
1358
|
/**
|
|
@@ -1272,27 +1373,73 @@ declare namespace LocalJSX {
|
|
|
1272
1373
|
*/
|
|
1273
1374
|
"for": string;
|
|
1274
1375
|
}
|
|
1376
|
+
interface PostPagination {
|
|
1377
|
+
/**
|
|
1378
|
+
* The total number of items in the collection.
|
|
1379
|
+
*/
|
|
1380
|
+
"collectionSize": number;
|
|
1381
|
+
/**
|
|
1382
|
+
* If true, the pagination is disabled.
|
|
1383
|
+
*/
|
|
1384
|
+
"disabled"?: boolean;
|
|
1385
|
+
/**
|
|
1386
|
+
* A descriptive label for the pagination navigation, used by assistive technologies.
|
|
1387
|
+
*/
|
|
1388
|
+
"label": string;
|
|
1389
|
+
/**
|
|
1390
|
+
* Event emitted when the page changes.
|
|
1391
|
+
*/
|
|
1392
|
+
"onPostChange"?: (event: PostPaginationCustomEvent<number>) => void;
|
|
1393
|
+
/**
|
|
1394
|
+
* The current active page number. **If not specified, defaults to the first page.**
|
|
1395
|
+
*/
|
|
1396
|
+
"page"?: number;
|
|
1397
|
+
/**
|
|
1398
|
+
* The number of items per page.
|
|
1399
|
+
*/
|
|
1400
|
+
"pageSize": number;
|
|
1401
|
+
/**
|
|
1402
|
+
* Prefix text for the first page label.
|
|
1403
|
+
*/
|
|
1404
|
+
"textFirst": string;
|
|
1405
|
+
/**
|
|
1406
|
+
* Prefix text for the last page label.
|
|
1407
|
+
*/
|
|
1408
|
+
"textLast": string;
|
|
1409
|
+
/**
|
|
1410
|
+
* Accessible label for the next page button.
|
|
1411
|
+
*/
|
|
1412
|
+
"textNext": string;
|
|
1413
|
+
/**
|
|
1414
|
+
* Prefix text for page number labels.
|
|
1415
|
+
*/
|
|
1416
|
+
"textPage": string;
|
|
1417
|
+
/**
|
|
1418
|
+
* Accessible label for the previous page button.
|
|
1419
|
+
*/
|
|
1420
|
+
"textPrevious": string;
|
|
1421
|
+
}
|
|
1275
1422
|
interface PostPopover {
|
|
1276
1423
|
/**
|
|
1277
1424
|
* Show a little indicator arrow
|
|
1278
1425
|
* @default true
|
|
1279
1426
|
*/
|
|
1280
1427
|
"arrow"?: boolean;
|
|
1281
|
-
/**
|
|
1282
|
-
* Define the caption of the close button for assistive technology
|
|
1283
|
-
*/
|
|
1284
|
-
"closeButtonCaption": string;
|
|
1285
1428
|
/**
|
|
1286
1429
|
* Defines the position of the popover relative to its trigger. Popovers are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
|
|
1287
1430
|
* @default 'top'
|
|
1288
1431
|
*/
|
|
1289
1432
|
"placement"?: Placement;
|
|
1433
|
+
/**
|
|
1434
|
+
* Define the text of the close button for assistive technology
|
|
1435
|
+
*/
|
|
1436
|
+
"textClose": string;
|
|
1290
1437
|
}
|
|
1291
1438
|
interface PostPopoverTrigger {
|
|
1292
1439
|
/**
|
|
1293
1440
|
* ID of the popover element that this trigger is linked to. Used to open and close the popover.
|
|
1294
1441
|
*/
|
|
1295
|
-
"for"
|
|
1442
|
+
"for"?: string;
|
|
1296
1443
|
}
|
|
1297
1444
|
interface PostPopovercontainer {
|
|
1298
1445
|
/**
|
|
@@ -1310,11 +1457,6 @@ declare namespace LocalJSX {
|
|
|
1310
1457
|
* @default 8
|
|
1311
1458
|
*/
|
|
1312
1459
|
"edgeGap"?: number;
|
|
1313
|
-
/**
|
|
1314
|
-
* Whether or not the popovercontainer should close when user clicks outside of it
|
|
1315
|
-
* @default false
|
|
1316
|
-
*/
|
|
1317
|
-
"manualClose"?: boolean;
|
|
1318
1460
|
/**
|
|
1319
1461
|
* Fires whenever the popovercontainer is about to be shown, passing in event.detail a `first` boolean, which is true if it is to be shown for the first time.
|
|
1320
1462
|
*/
|
|
@@ -1352,7 +1494,7 @@ declare namespace LocalJSX {
|
|
|
1352
1494
|
*/
|
|
1353
1495
|
"currentRating"?: number;
|
|
1354
1496
|
/**
|
|
1355
|
-
*
|
|
1497
|
+
* A hidden, descriptive label that explains the role of the rating component to assistive technologies.
|
|
1356
1498
|
*/
|
|
1357
1499
|
"label": string;
|
|
1358
1500
|
/**
|
|
@@ -1374,30 +1516,55 @@ declare namespace LocalJSX {
|
|
|
1374
1516
|
*/
|
|
1375
1517
|
"stars"?: number;
|
|
1376
1518
|
}
|
|
1377
|
-
interface
|
|
1519
|
+
interface PostStepper {
|
|
1520
|
+
/**
|
|
1521
|
+
* Defines the currently active step
|
|
1522
|
+
* @default -1
|
|
1523
|
+
*/
|
|
1524
|
+
"currentIndex"?: number;
|
|
1525
|
+
/**
|
|
1526
|
+
* "Completed step" label for accessibility
|
|
1527
|
+
*/
|
|
1528
|
+
"textCompletedStep": string;
|
|
1529
|
+
/**
|
|
1530
|
+
* "Current step" label for accessibility
|
|
1531
|
+
*/
|
|
1532
|
+
"textCurrentStep": string;
|
|
1533
|
+
/**
|
|
1534
|
+
* Label for the "Step N:" indicator for mobile view. Use `#number` as a placeholder — it will be replaced with the current step number at runtime.
|
|
1535
|
+
*/
|
|
1536
|
+
"textStepNumber": string;
|
|
1537
|
+
}
|
|
1538
|
+
interface PostStepperItem {
|
|
1539
|
+
}
|
|
1540
|
+
interface PostTabItem {
|
|
1378
1541
|
/**
|
|
1379
|
-
* The name of the panel
|
|
1542
|
+
* The name of the tab, used to associate it with a tab panel or identify the active tab in panel mode.
|
|
1380
1543
|
*/
|
|
1381
|
-
"
|
|
1544
|
+
"name": string;
|
|
1382
1545
|
}
|
|
1383
1546
|
interface PostTabPanel {
|
|
1384
1547
|
/**
|
|
1385
|
-
* The name of the
|
|
1548
|
+
* The name of the tab that this panel is associated with.
|
|
1386
1549
|
*/
|
|
1387
|
-
"
|
|
1550
|
+
"for": string;
|
|
1388
1551
|
}
|
|
1389
1552
|
interface PostTabs {
|
|
1390
1553
|
/**
|
|
1391
|
-
* The name of the panel that is initially
|
|
1554
|
+
* The name of the tab in the panel mode that is initially active. Changing this value after initialization has no effect. If not specified, defaults to the first tab.
|
|
1392
1555
|
*/
|
|
1393
|
-
"
|
|
1556
|
+
"activeTab"?: string;
|
|
1394
1557
|
/**
|
|
1395
|
-
* When set to true, this property allows the tabs container to span the full width of the screen, from edge to edge.
|
|
1558
|
+
* When set to true, this property allows the tabs container to span the Changing this value after initialization has no effect. full width of the screen, from edge to edge.
|
|
1396
1559
|
* @default false
|
|
1397
1560
|
*/
|
|
1398
1561
|
"fullWidth"?: boolean;
|
|
1399
1562
|
/**
|
|
1400
|
-
*
|
|
1563
|
+
* The accessible label for the tabs component in navigation mode.
|
|
1564
|
+
*/
|
|
1565
|
+
"label"?: string;
|
|
1566
|
+
/**
|
|
1567
|
+
* An event emitted after the active tab changes, when the fade in transition of its associated panel is finished. The payload is the name of the newly active tab. Only emitted in panel mode.
|
|
1401
1568
|
*/
|
|
1402
1569
|
"onPostChange"?: (event: PostTabsCustomEvent<string>) => void;
|
|
1403
1570
|
}
|
|
@@ -1452,14 +1619,13 @@ declare namespace LocalJSX {
|
|
|
1452
1619
|
"post-closebutton": PostClosebutton;
|
|
1453
1620
|
"post-collapsible": PostCollapsible;
|
|
1454
1621
|
"post-collapsible-trigger": PostCollapsibleTrigger;
|
|
1622
|
+
"post-env-test": PostEnvTest;
|
|
1455
1623
|
"post-footer": PostFooter;
|
|
1456
1624
|
"post-header": PostHeader;
|
|
1457
1625
|
"post-icon": PostIcon;
|
|
1458
|
-
"post-language-
|
|
1459
|
-
"post-language-
|
|
1626
|
+
"post-language-menu": PostLanguageMenu;
|
|
1627
|
+
"post-language-menu-item": PostLanguageMenuItem;
|
|
1460
1628
|
"post-linkarea": PostLinkarea;
|
|
1461
|
-
"post-list": PostList;
|
|
1462
|
-
"post-list-item": PostListItem;
|
|
1463
1629
|
"post-logo": PostLogo;
|
|
1464
1630
|
"post-mainnavigation": PostMainnavigation;
|
|
1465
1631
|
"post-megadropdown": PostMegadropdown;
|
|
@@ -1467,11 +1633,14 @@ declare namespace LocalJSX {
|
|
|
1467
1633
|
"post-menu": PostMenu;
|
|
1468
1634
|
"post-menu-item": PostMenuItem;
|
|
1469
1635
|
"post-menu-trigger": PostMenuTrigger;
|
|
1636
|
+
"post-pagination": PostPagination;
|
|
1470
1637
|
"post-popover": PostPopover;
|
|
1471
1638
|
"post-popover-trigger": PostPopoverTrigger;
|
|
1472
1639
|
"post-popovercontainer": PostPopovercontainer;
|
|
1473
1640
|
"post-rating": PostRating;
|
|
1474
|
-
"post-
|
|
1641
|
+
"post-stepper": PostStepper;
|
|
1642
|
+
"post-stepper-item": PostStepperItem;
|
|
1643
|
+
"post-tab-item": PostTabItem;
|
|
1475
1644
|
"post-tab-panel": PostTabPanel;
|
|
1476
1645
|
"post-tabs": PostTabs;
|
|
1477
1646
|
"post-togglebutton": PostTogglebutton;
|
|
@@ -1497,17 +1666,16 @@ declare module "@stencil/core" {
|
|
|
1497
1666
|
"post-closebutton": LocalJSX.PostClosebutton & JSXBase.HTMLAttributes<HTMLPostClosebuttonElement>;
|
|
1498
1667
|
"post-collapsible": LocalJSX.PostCollapsible & JSXBase.HTMLAttributes<HTMLPostCollapsibleElement>;
|
|
1499
1668
|
"post-collapsible-trigger": LocalJSX.PostCollapsibleTrigger & JSXBase.HTMLAttributes<HTMLPostCollapsibleTriggerElement>;
|
|
1669
|
+
"post-env-test": LocalJSX.PostEnvTest & JSXBase.HTMLAttributes<HTMLPostEnvTestElement>;
|
|
1500
1670
|
"post-footer": LocalJSX.PostFooter & JSXBase.HTMLAttributes<HTMLPostFooterElement>;
|
|
1501
1671
|
"post-header": LocalJSX.PostHeader & JSXBase.HTMLAttributes<HTMLPostHeaderElement>;
|
|
1502
1672
|
/**
|
|
1503
1673
|
* @class PostIcon - representing a stencil component
|
|
1504
1674
|
*/
|
|
1505
1675
|
"post-icon": LocalJSX.PostIcon & JSXBase.HTMLAttributes<HTMLPostIconElement>;
|
|
1506
|
-
"post-language-
|
|
1507
|
-
"post-language-
|
|
1676
|
+
"post-language-menu": LocalJSX.PostLanguageMenu & JSXBase.HTMLAttributes<HTMLPostLanguageMenuElement>;
|
|
1677
|
+
"post-language-menu-item": LocalJSX.PostLanguageMenuItem & JSXBase.HTMLAttributes<HTMLPostLanguageMenuItemElement>;
|
|
1508
1678
|
"post-linkarea": LocalJSX.PostLinkarea & JSXBase.HTMLAttributes<HTMLPostLinkareaElement>;
|
|
1509
|
-
"post-list": LocalJSX.PostList & JSXBase.HTMLAttributes<HTMLPostListElement>;
|
|
1510
|
-
"post-list-item": LocalJSX.PostListItem & JSXBase.HTMLAttributes<HTMLPostListItemElement>;
|
|
1511
1679
|
"post-logo": LocalJSX.PostLogo & JSXBase.HTMLAttributes<HTMLPostLogoElement>;
|
|
1512
1680
|
"post-mainnavigation": LocalJSX.PostMainnavigation & JSXBase.HTMLAttributes<HTMLPostMainnavigationElement>;
|
|
1513
1681
|
"post-megadropdown": LocalJSX.PostMegadropdown & JSXBase.HTMLAttributes<HTMLPostMegadropdownElement>;
|
|
@@ -1515,11 +1683,14 @@ declare module "@stencil/core" {
|
|
|
1515
1683
|
"post-menu": LocalJSX.PostMenu & JSXBase.HTMLAttributes<HTMLPostMenuElement>;
|
|
1516
1684
|
"post-menu-item": LocalJSX.PostMenuItem & JSXBase.HTMLAttributes<HTMLPostMenuItemElement>;
|
|
1517
1685
|
"post-menu-trigger": LocalJSX.PostMenuTrigger & JSXBase.HTMLAttributes<HTMLPostMenuTriggerElement>;
|
|
1686
|
+
"post-pagination": LocalJSX.PostPagination & JSXBase.HTMLAttributes<HTMLPostPaginationElement>;
|
|
1518
1687
|
"post-popover": LocalJSX.PostPopover & JSXBase.HTMLAttributes<HTMLPostPopoverElement>;
|
|
1519
1688
|
"post-popover-trigger": LocalJSX.PostPopoverTrigger & JSXBase.HTMLAttributes<HTMLPostPopoverTriggerElement>;
|
|
1520
1689
|
"post-popovercontainer": LocalJSX.PostPopovercontainer & JSXBase.HTMLAttributes<HTMLPostPopovercontainerElement>;
|
|
1521
1690
|
"post-rating": LocalJSX.PostRating & JSXBase.HTMLAttributes<HTMLPostRatingElement>;
|
|
1522
|
-
"post-
|
|
1691
|
+
"post-stepper": LocalJSX.PostStepper & JSXBase.HTMLAttributes<HTMLPostStepperElement>;
|
|
1692
|
+
"post-stepper-item": LocalJSX.PostStepperItem & JSXBase.HTMLAttributes<HTMLPostStepperItemElement>;
|
|
1693
|
+
"post-tab-item": LocalJSX.PostTabItem & JSXBase.HTMLAttributes<HTMLPostTabItemElement>;
|
|
1523
1694
|
"post-tab-panel": LocalJSX.PostTabPanel & JSXBase.HTMLAttributes<HTMLPostTabPanelElement>;
|
|
1524
1695
|
"post-tabs": LocalJSX.PostTabs & JSXBase.HTMLAttributes<HTMLPostTabsElement>;
|
|
1525
1696
|
"post-togglebutton": LocalJSX.PostTogglebutton & JSXBase.HTMLAttributes<HTMLPostTogglebuttonElement>;
|