@swisspost/design-system-components 10.0.0-next.55 → 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/{esm/breakpoints-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-B4gYpuJF.js → index-CKNxhb0S.js} +21 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-DkJrv93P.js → package-CY7IOoiw.js} +1 -1
- package/dist/cjs/post-accordion_2.cjs.entry.js +11 -11
- package/dist/cjs/post-avatar.cjs.entry.js +10 -10
- 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} +481 -484
- package/dist/cjs/post-collapsible_2.cjs.entry.js +33 -33
- 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 +11 -11
- package/dist/cjs/post-rating.cjs.entry.js +13 -13
- package/dist/cjs/post-stepper-item.cjs.entry.js +4 -4
- package/dist/cjs/post-stepper.cjs.entry.js +29 -26
- 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 +6 -6
- 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 +6 -6
- package/dist/collection/components/post-accordion/post-accordion.css +1 -1
- package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +4 -4
- 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 +24 -24
- package/dist/collection/components/post-card-control/post-card-control.js +2 -2
- 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 +1 -1
- package/dist/collection/components/post-footer/post-footer.css +1 -1
- package/dist/collection/components/post-footer/post-footer.js +17 -15
- package/dist/collection/components/post-header/post-header.css +1 -1
- package/dist/collection/components/post-header/post-header.js +113 -82
- 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} +23 -23
- 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} +13 -13
- 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 +183 -74
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.css +3 -1
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +79 -73
- package/dist/collection/components/post-menu/post-menu.css +1 -1
- package/dist/collection/components/post-menu/post-menu.js +34 -34
- 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.js +9 -9
- 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 +2 -2
- package/dist/collection/components/post-stepper/post-stepper.js +34 -31
- package/dist/collection/components/post-stepper-item/post-stepper-item.css +2 -2
- package/dist/collection/components/post-stepper-item/post-stepper-item.js +1 -1
- 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.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 +4 -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 +10 -10
- package/dist/components/index.js +5 -5
- package/dist/components/package.js +1 -1
- package/dist/components/post-accordion-item2.js +4 -5
- package/dist/components/post-accordion2.js +2 -3
- package/dist/components/post-avatar.js +2 -3
- 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 +23 -33
- package/dist/components/post-card-control.js +3 -4
- package/dist/components/post-closebutton2.js +3 -4
- package/dist/components/post-collapsible-trigger2.js +2 -3
- 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 +97 -95
- 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 +71 -78
- package/dist/components/post-megadropdown.js +182 -77
- package/dist/components/post-menu-item2.js +1 -1
- package/dist/components/post-menu-trigger2.js +2 -3
- package/dist/components/post-menu2.js +34 -35
- package/dist/components/{post-tab-header.d.ts → post-pagination.d.ts} +4 -4
- package/dist/components/post-pagination.js +635 -0
- package/dist/components/post-popover-trigger.js +41 -26
- package/dist/components/post-popover.js +8 -9
- package/dist/components/post-popovercontainer2.js +44 -40
- package/dist/components/post-rating.js +2 -3
- package/dist/components/post-stepper-item.js +2 -2
- package/dist/components/post-stepper.js +31 -29
- package/dist/components/{post-list-item.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 +2 -3
- 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-DBPOV12C.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-LtiDhYis.js → p-BYCGzO-t.js} +5 -6
- 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-CSAMO7iJ.js → p-CnZWXrbA.js} +39 -40
- 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-Djvj8fd2.js → p-DBO6FfHt.js} +4 -5
- package/dist/components/react/{p-Ccrl2AQn.js → p-DRfa3MOV.js} +26 -26
- package/dist/components/react/{p-Cwiv86_f.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-D2waO0Zc.js → p-L36-yvgK.js} +2 -2
- package/dist/components/react/{p-CewRvBtg.js → p-NCAcc7ZZ.js} +4 -5
- package/dist/components/react/{p-DVGEExot.js → p-QNPIvxLq.js} +45 -41
- package/dist/components/react/{p-XrZzCOKT.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 +3 -4
- 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 +30 -40
- package/dist/components/react/post-card-control.js +5 -6
- 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 +99 -97
- 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 +73 -80
- package/dist/components/react/post-megadropdown.js +184 -79
- 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-tab-header.d.ts → post-pagination.d.ts} +4 -4
- 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 +13 -14
- package/dist/components/react/post-popovercontainer.js +1 -1
- package/dist/components/react/post-rating.js +4 -5
- package/dist/components/react/post-stepper-item.js +3 -3
- package/dist/components/react/post-stepper.js +32 -30
- package/dist/components/react/{post-list-item.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 +4 -5
- package/dist/components/utils.js +24 -0
- package/dist/docs.json +854 -597
- package/dist/{components/react/p-CJ80BZ06.js → esm/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-wEFJ-c34.js → index-1ReqxAnI.js} +21 -13
- package/dist/esm/loader.js +3 -3
- package/dist/esm/package-DZ5m2Ttg.js +3 -0
- package/dist/esm/post-accordion_2.entry.js +9 -9
- package/dist/esm/post-avatar.entry.js +5 -5
- 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} +462 -463
- package/dist/esm/post-collapsible_2.entry.js +30 -30
- 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 +10 -10
- package/dist/esm/post-rating.entry.js +5 -5
- package/dist/esm/post-stepper-item.entry.js +4 -4
- package/dist/esm/post-stepper.entry.js +28 -25
- 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 +5 -5
- package/dist/esm/utils-CoDiS_Ik.js +24 -0
- package/dist/post-components/{p-7f635728.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-a9644e54.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-cd03e6f2.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-57288cb2.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-af030a3a.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-e62e1f57.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-footer/post-footer.d.ts +4 -4
- package/dist/types/components/post-header/post-header.d.ts +18 -13
- 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 +9 -8
- 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 +311 -200
- 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 +1740 -863
- package/hydrate/index.mjs +1740 -863
- package/package.json +6 -7
- package/dist/cjs/fade-nS5zzDQS.js +0 -14
- package/dist/cjs/index-UFKR6Ok0.js +0 -98
- 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 -89
- 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-BhxZzOEC.js +0 -3
- package/dist/components/react/p-CYkf_7Y5.js +0 -89
- package/dist/components/react/p-SbIC4aZX.js +0 -11
- package/dist/components/react/p-v3pOrMNQ.js +0 -114
- 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-Beaz8wEe.js +0 -89
- package/dist/esm/package-BhxZzOEC.js +0 -3
- package/dist/esm/post-tab-header.entry.js +0 -29
- package/dist/post-components/p-01e678c9.entry.js +0 -1
- package/dist/post-components/p-034a453f.entry.js +0 -1
- package/dist/post-components/p-15a4cdbf.entry.js +0 -1
- package/dist/post-components/p-24dc54d1.entry.js +0 -1
- package/dist/post-components/p-2a2030bf.entry.js +0 -1
- package/dist/post-components/p-2ed84cc3.entry.js +0 -1
- package/dist/post-components/p-3228968f.entry.js +0 -1
- package/dist/post-components/p-3c01ddfe.entry.js +0 -1
- package/dist/post-components/p-748b1f01.entry.js +0 -1
- package/dist/post-components/p-7745e46e.entry.js +0 -1
- package/dist/post-components/p-82c178a3.entry.js +0 -1
- package/dist/post-components/p-9b5f8319.entry.js +0 -1
- package/dist/post-components/p-Beaz8wEe.js +0 -1
- package/dist/post-components/p-BhxZzOEC.js +0 -1
- package/dist/post-components/p-CBFgkSgY.js +0 -1
- 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-b8ba8139.entry.js +0 -1
- package/dist/post-components/p-db935e8e.entry.js +0 -1
- package/dist/post-components/p-fb4b1641.entry.js +0 -1
- package/dist/post-components/p-wEFJ-c34.js +0 -2
- 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,13 +197,19 @@ 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 {
|
|
209
|
+
/**
|
|
210
|
+
* The label of the burger menu button.
|
|
211
|
+
*/
|
|
212
|
+
"textMenu": string;
|
|
207
213
|
/**
|
|
208
214
|
* Toggles the burger navigation menu.
|
|
209
215
|
*/
|
|
@@ -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
|
/**
|
|
@@ -479,51 +517,55 @@ export namespace Components {
|
|
|
479
517
|
}
|
|
480
518
|
interface PostStepper {
|
|
481
519
|
/**
|
|
482
|
-
*
|
|
520
|
+
* Defines the currently active step
|
|
521
|
+
* @default -1
|
|
483
522
|
*/
|
|
484
|
-
"
|
|
523
|
+
"currentIndex": number;
|
|
485
524
|
/**
|
|
486
525
|
* "Completed step" label for accessibility
|
|
487
526
|
*/
|
|
488
|
-
"
|
|
527
|
+
"textCompletedStep": string;
|
|
489
528
|
/**
|
|
490
|
-
*
|
|
491
|
-
* @default -1
|
|
529
|
+
* "Current step" label for accessibility
|
|
492
530
|
*/
|
|
493
|
-
"
|
|
531
|
+
"textCurrentStep": string;
|
|
494
532
|
/**
|
|
495
|
-
* "
|
|
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.
|
|
496
534
|
*/
|
|
497
|
-
"
|
|
535
|
+
"textStepNumber": string;
|
|
498
536
|
}
|
|
499
537
|
interface PostStepperItem {
|
|
500
538
|
}
|
|
501
|
-
interface
|
|
539
|
+
interface PostTabItem {
|
|
502
540
|
/**
|
|
503
|
-
* 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.
|
|
504
542
|
*/
|
|
505
|
-
"
|
|
543
|
+
"name": string;
|
|
506
544
|
}
|
|
507
545
|
interface PostTabPanel {
|
|
508
546
|
/**
|
|
509
|
-
* The name of the
|
|
547
|
+
* The name of the tab that this panel is associated with.
|
|
510
548
|
*/
|
|
511
|
-
"
|
|
549
|
+
"for": string;
|
|
512
550
|
}
|
|
513
551
|
interface PostTabs {
|
|
514
552
|
/**
|
|
515
|
-
* 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.
|
|
516
554
|
*/
|
|
517
|
-
"
|
|
555
|
+
"activeTab"?: string;
|
|
518
556
|
/**
|
|
519
|
-
* 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.
|
|
520
558
|
* @default false
|
|
521
559
|
*/
|
|
522
560
|
"fullWidth": boolean;
|
|
561
|
+
/**
|
|
562
|
+
* The accessible label for the tabs component in navigation mode.
|
|
563
|
+
*/
|
|
564
|
+
"label"?: string;
|
|
523
565
|
/**
|
|
524
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.
|
|
525
567
|
*/
|
|
526
|
-
"show": (
|
|
568
|
+
"show": (tabName: string) => Promise<void>;
|
|
527
569
|
}
|
|
528
570
|
interface PostTogglebutton {
|
|
529
571
|
/**
|
|
@@ -592,9 +634,9 @@ export interface PostCollapsibleCustomEvent<T> extends CustomEvent<T> {
|
|
|
592
634
|
detail: T;
|
|
593
635
|
target: HTMLPostCollapsibleElement;
|
|
594
636
|
}
|
|
595
|
-
export interface
|
|
637
|
+
export interface PostLanguageMenuItemCustomEvent<T> extends CustomEvent<T> {
|
|
596
638
|
detail: T;
|
|
597
|
-
target:
|
|
639
|
+
target: HTMLPostLanguageMenuItemElement;
|
|
598
640
|
}
|
|
599
641
|
export interface PostMegadropdownCustomEvent<T> extends CustomEvent<T> {
|
|
600
642
|
detail: T;
|
|
@@ -604,6 +646,10 @@ export interface PostMenuCustomEvent<T> extends CustomEvent<T> {
|
|
|
604
646
|
detail: T;
|
|
605
647
|
target: HTMLPostMenuElement;
|
|
606
648
|
}
|
|
649
|
+
export interface PostPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
650
|
+
detail: T;
|
|
651
|
+
target: HTMLPostPaginationElement;
|
|
652
|
+
}
|
|
607
653
|
export interface PostPopovercontainerCustomEvent<T> extends CustomEvent<T> {
|
|
608
654
|
detail: T;
|
|
609
655
|
target: HTMLPostPopovercontainerElement;
|
|
@@ -720,6 +766,12 @@ declare global {
|
|
|
720
766
|
prototype: HTMLPostCollapsibleTriggerElement;
|
|
721
767
|
new (): HTMLPostCollapsibleTriggerElement;
|
|
722
768
|
};
|
|
769
|
+
interface HTMLPostEnvTestElement extends Components.PostEnvTest, HTMLStencilElement {
|
|
770
|
+
}
|
|
771
|
+
var HTMLPostEnvTestElement: {
|
|
772
|
+
prototype: HTMLPostEnvTestElement;
|
|
773
|
+
new (): HTMLPostEnvTestElement;
|
|
774
|
+
};
|
|
723
775
|
interface HTMLPostFooterElement extends Components.PostFooter, HTMLStencilElement {
|
|
724
776
|
}
|
|
725
777
|
var HTMLPostFooterElement: {
|
|
@@ -741,29 +793,29 @@ declare global {
|
|
|
741
793
|
prototype: HTMLPostIconElement;
|
|
742
794
|
new (): HTMLPostIconElement;
|
|
743
795
|
};
|
|
744
|
-
interface
|
|
796
|
+
interface HTMLPostLanguageMenuElement extends Components.PostLanguageMenu, HTMLStencilElement {
|
|
797
|
+
}
|
|
798
|
+
var HTMLPostLanguageMenuElement: {
|
|
799
|
+
prototype: HTMLPostLanguageMenuElement;
|
|
800
|
+
new (): HTMLPostLanguageMenuElement;
|
|
801
|
+
};
|
|
802
|
+
interface HTMLPostLanguageMenuItemElementEventMap {
|
|
745
803
|
"postChange": string;
|
|
746
|
-
"
|
|
804
|
+
"postLanguageMenuItemInitiallyActive": string;
|
|
747
805
|
}
|
|
748
|
-
interface
|
|
749
|
-
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;
|
|
750
808
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
751
809
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
752
810
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
753
|
-
removeEventListener<K extends keyof
|
|
811
|
+
removeEventListener<K extends keyof HTMLPostLanguageMenuItemElementEventMap>(type: K, listener: (this: HTMLPostLanguageMenuItemElement, ev: PostLanguageMenuItemCustomEvent<HTMLPostLanguageMenuItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
754
812
|
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
755
813
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
756
814
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
757
815
|
}
|
|
758
|
-
var
|
|
759
|
-
prototype:
|
|
760
|
-
new ():
|
|
761
|
-
};
|
|
762
|
-
interface HTMLPostLanguageSwitchElement extends Components.PostLanguageSwitch, HTMLStencilElement {
|
|
763
|
-
}
|
|
764
|
-
var HTMLPostLanguageSwitchElement: {
|
|
765
|
-
prototype: HTMLPostLanguageSwitchElement;
|
|
766
|
-
new (): HTMLPostLanguageSwitchElement;
|
|
816
|
+
var HTMLPostLanguageMenuItemElement: {
|
|
817
|
+
prototype: HTMLPostLanguageMenuItemElement;
|
|
818
|
+
new (): HTMLPostLanguageMenuItemElement;
|
|
767
819
|
};
|
|
768
820
|
interface HTMLPostLinkareaElement extends Components.PostLinkarea, HTMLStencilElement {
|
|
769
821
|
}
|
|
@@ -771,18 +823,6 @@ declare global {
|
|
|
771
823
|
prototype: HTMLPostLinkareaElement;
|
|
772
824
|
new (): HTMLPostLinkareaElement;
|
|
773
825
|
};
|
|
774
|
-
interface HTMLPostListElement extends Components.PostList, HTMLStencilElement {
|
|
775
|
-
}
|
|
776
|
-
var HTMLPostListElement: {
|
|
777
|
-
prototype: HTMLPostListElement;
|
|
778
|
-
new (): HTMLPostListElement;
|
|
779
|
-
};
|
|
780
|
-
interface HTMLPostListItemElement extends Components.PostListItem, HTMLStencilElement {
|
|
781
|
-
}
|
|
782
|
-
var HTMLPostListItemElement: {
|
|
783
|
-
prototype: HTMLPostListItemElement;
|
|
784
|
-
new (): HTMLPostListItemElement;
|
|
785
|
-
};
|
|
786
826
|
interface HTMLPostLogoElement extends Components.PostLogo, HTMLStencilElement {
|
|
787
827
|
}
|
|
788
828
|
var HTMLPostLogoElement: {
|
|
@@ -847,6 +887,23 @@ declare global {
|
|
|
847
887
|
prototype: HTMLPostMenuTriggerElement;
|
|
848
888
|
new (): HTMLPostMenuTriggerElement;
|
|
849
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
|
+
};
|
|
850
907
|
interface HTMLPostPopoverElement extends Components.PostPopover, HTMLStencilElement {
|
|
851
908
|
}
|
|
852
909
|
var HTMLPostPopoverElement: {
|
|
@@ -910,11 +967,11 @@ declare global {
|
|
|
910
967
|
prototype: HTMLPostStepperItemElement;
|
|
911
968
|
new (): HTMLPostStepperItemElement;
|
|
912
969
|
};
|
|
913
|
-
interface
|
|
970
|
+
interface HTMLPostTabItemElement extends Components.PostTabItem, HTMLStencilElement {
|
|
914
971
|
}
|
|
915
|
-
var
|
|
916
|
-
prototype:
|
|
917
|
-
new ():
|
|
972
|
+
var HTMLPostTabItemElement: {
|
|
973
|
+
prototype: HTMLPostTabItemElement;
|
|
974
|
+
new (): HTMLPostTabItemElement;
|
|
918
975
|
};
|
|
919
976
|
interface HTMLPostTabPanelElement extends Components.PostTabPanel, HTMLStencilElement {
|
|
920
977
|
}
|
|
@@ -969,14 +1026,13 @@ declare global {
|
|
|
969
1026
|
"post-closebutton": HTMLPostClosebuttonElement;
|
|
970
1027
|
"post-collapsible": HTMLPostCollapsibleElement;
|
|
971
1028
|
"post-collapsible-trigger": HTMLPostCollapsibleTriggerElement;
|
|
1029
|
+
"post-env-test": HTMLPostEnvTestElement;
|
|
972
1030
|
"post-footer": HTMLPostFooterElement;
|
|
973
1031
|
"post-header": HTMLPostHeaderElement;
|
|
974
1032
|
"post-icon": HTMLPostIconElement;
|
|
975
|
-
"post-language-
|
|
976
|
-
"post-language-
|
|
1033
|
+
"post-language-menu": HTMLPostLanguageMenuElement;
|
|
1034
|
+
"post-language-menu-item": HTMLPostLanguageMenuItemElement;
|
|
977
1035
|
"post-linkarea": HTMLPostLinkareaElement;
|
|
978
|
-
"post-list": HTMLPostListElement;
|
|
979
|
-
"post-list-item": HTMLPostListItemElement;
|
|
980
1036
|
"post-logo": HTMLPostLogoElement;
|
|
981
1037
|
"post-mainnavigation": HTMLPostMainnavigationElement;
|
|
982
1038
|
"post-megadropdown": HTMLPostMegadropdownElement;
|
|
@@ -984,13 +1040,14 @@ declare global {
|
|
|
984
1040
|
"post-menu": HTMLPostMenuElement;
|
|
985
1041
|
"post-menu-item": HTMLPostMenuItemElement;
|
|
986
1042
|
"post-menu-trigger": HTMLPostMenuTriggerElement;
|
|
1043
|
+
"post-pagination": HTMLPostPaginationElement;
|
|
987
1044
|
"post-popover": HTMLPostPopoverElement;
|
|
988
1045
|
"post-popover-trigger": HTMLPostPopoverTriggerElement;
|
|
989
1046
|
"post-popovercontainer": HTMLPostPopovercontainerElement;
|
|
990
1047
|
"post-rating": HTMLPostRatingElement;
|
|
991
1048
|
"post-stepper": HTMLPostStepperElement;
|
|
992
1049
|
"post-stepper-item": HTMLPostStepperItemElement;
|
|
993
|
-
"post-tab-
|
|
1050
|
+
"post-tab-item": HTMLPostTabItemElement;
|
|
994
1051
|
"post-tab-panel": HTMLPostTabPanelElement;
|
|
995
1052
|
"post-tabs": HTMLPostTabsElement;
|
|
996
1053
|
"post-togglebutton": HTMLPostTogglebuttonElement;
|
|
@@ -1048,7 +1105,7 @@ declare namespace LocalJSX {
|
|
|
1048
1105
|
/**
|
|
1049
1106
|
* The label of the back-to-top button, intended solely for accessibility purposes. This label is always hidden from view.
|
|
1050
1107
|
*/
|
|
1051
|
-
"
|
|
1108
|
+
"textBackToTop": string;
|
|
1052
1109
|
}
|
|
1053
1110
|
interface PostBanner {
|
|
1054
1111
|
/**
|
|
@@ -1068,10 +1125,6 @@ declare namespace LocalJSX {
|
|
|
1068
1125
|
"url"?: string | URL;
|
|
1069
1126
|
}
|
|
1070
1127
|
interface PostBreadcrumbs {
|
|
1071
|
-
/**
|
|
1072
|
-
* The text label for the home breadcrumb item.
|
|
1073
|
-
*/
|
|
1074
|
-
"homeText": string;
|
|
1075
1128
|
/**
|
|
1076
1129
|
* The URL for the home breadcrumb item.
|
|
1077
1130
|
*/
|
|
@@ -1079,11 +1132,15 @@ declare namespace LocalJSX {
|
|
|
1079
1132
|
/**
|
|
1080
1133
|
* The accessible label for the breadcrumb component.
|
|
1081
1134
|
*/
|
|
1082
|
-
"
|
|
1135
|
+
"textBreadcrumbs": string;
|
|
1136
|
+
/**
|
|
1137
|
+
* The text label for the home breadcrumb item.
|
|
1138
|
+
*/
|
|
1139
|
+
"textHome": string;
|
|
1083
1140
|
/**
|
|
1084
1141
|
* The accessible label for the breadcrumb menu when breadcrumb items are concatenated.
|
|
1085
1142
|
*/
|
|
1086
|
-
"
|
|
1143
|
+
"textMoreItems": string;
|
|
1087
1144
|
}
|
|
1088
1145
|
/**
|
|
1089
1146
|
* @class PostCardControl - representing a stencil component
|
|
@@ -1150,7 +1207,7 @@ declare namespace LocalJSX {
|
|
|
1150
1207
|
*/
|
|
1151
1208
|
"collapsed"?: boolean;
|
|
1152
1209
|
/**
|
|
1153
|
-
* 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.
|
|
1154
1211
|
*/
|
|
1155
1212
|
"onPostToggle"?: (event: PostCollapsibleCustomEvent<boolean>) => void;
|
|
1156
1213
|
}
|
|
@@ -1160,13 +1217,19 @@ declare namespace LocalJSX {
|
|
|
1160
1217
|
*/
|
|
1161
1218
|
"for": string;
|
|
1162
1219
|
}
|
|
1220
|
+
interface PostEnvTest {
|
|
1221
|
+
}
|
|
1163
1222
|
interface PostFooter {
|
|
1164
1223
|
/**
|
|
1165
|
-
* The
|
|
1224
|
+
* The textFooter to add to the footer (visually hidden).
|
|
1166
1225
|
*/
|
|
1167
|
-
"
|
|
1226
|
+
"textFooter": string;
|
|
1168
1227
|
}
|
|
1169
1228
|
interface PostHeader {
|
|
1229
|
+
/**
|
|
1230
|
+
* The label of the burger menu button.
|
|
1231
|
+
*/
|
|
1232
|
+
"textMenu": string;
|
|
1170
1233
|
}
|
|
1171
1234
|
/**
|
|
1172
1235
|
* @class PostIcon - representing a stencil component
|
|
@@ -1203,7 +1266,22 @@ declare namespace LocalJSX {
|
|
|
1203
1266
|
*/
|
|
1204
1267
|
"scale"?: number;
|
|
1205
1268
|
}
|
|
1206
|
-
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 {
|
|
1207
1285
|
/**
|
|
1208
1286
|
* If set to `true`, the language option is considered the current language for the page.
|
|
1209
1287
|
*/
|
|
@@ -1219,51 +1297,22 @@ declare namespace LocalJSX {
|
|
|
1219
1297
|
/**
|
|
1220
1298
|
* An event emitted when the language option is clicked. The payload is the ISO 639 code of the language.
|
|
1221
1299
|
*/
|
|
1222
|
-
"onPostChange"?: (event:
|
|
1300
|
+
"onPostChange"?: (event: PostLanguageMenuItemCustomEvent<string>) => void;
|
|
1223
1301
|
/**
|
|
1224
1302
|
* An event emitted when the language option is initially active. The payload is the ISO 639 code of the language.
|
|
1225
1303
|
*/
|
|
1226
|
-
"
|
|
1304
|
+
"onPostLanguageMenuItemInitiallyActive"?: (event: PostLanguageMenuItemCustomEvent<string>) => void;
|
|
1227
1305
|
/**
|
|
1228
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.
|
|
1229
1307
|
*/
|
|
1230
1308
|
"url"?: string;
|
|
1231
1309
|
/**
|
|
1232
|
-
* To communicate the variant prop from the parent (post-language-
|
|
1233
|
-
*/
|
|
1234
|
-
"variant"?: SwitchVariant;
|
|
1235
|
-
}
|
|
1236
|
-
interface PostLanguageSwitch {
|
|
1237
|
-
/**
|
|
1238
|
-
* A title for the list of language options
|
|
1239
|
-
*/
|
|
1240
|
-
"caption": string;
|
|
1241
|
-
/**
|
|
1242
|
-
* A descriptive text for the list of language options
|
|
1243
|
-
*/
|
|
1244
|
-
"description": string;
|
|
1245
|
-
/**
|
|
1246
|
-
* Whether the component is rendered as a list or a menu
|
|
1247
|
-
* @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.
|
|
1248
1311
|
*/
|
|
1249
1312
|
"variant"?: SwitchVariant;
|
|
1250
1313
|
}
|
|
1251
1314
|
interface PostLinkarea {
|
|
1252
1315
|
}
|
|
1253
|
-
interface PostList {
|
|
1254
|
-
/**
|
|
1255
|
-
* The list can become horizontal by setting `horizontal="true"` or just `horizontal`
|
|
1256
|
-
* @default false
|
|
1257
|
-
*/
|
|
1258
|
-
"horizontal"?: boolean;
|
|
1259
|
-
/**
|
|
1260
|
-
* If `true`, the list title will be hidden. Otherwise, it will be displayed.`
|
|
1261
|
-
* @default false
|
|
1262
|
-
*/
|
|
1263
|
-
"titleHidden"?: boolean;
|
|
1264
|
-
}
|
|
1265
|
-
interface PostListItem {
|
|
1266
|
-
}
|
|
1267
1316
|
interface PostLogo {
|
|
1268
1317
|
/**
|
|
1269
1318
|
* The URL to which the user is redirected upon clicking the logo.
|
|
@@ -1271,14 +1320,31 @@ declare namespace LocalJSX {
|
|
|
1271
1320
|
"url"?: string | URL;
|
|
1272
1321
|
}
|
|
1273
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;
|
|
1274
1327
|
}
|
|
1275
1328
|
interface PostMegadropdown {
|
|
1276
1329
|
/**
|
|
1277
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
|
|
1278
1331
|
*/
|
|
1279
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;
|
|
1280
1341
|
}
|
|
1281
1342
|
interface PostMegadropdownTrigger {
|
|
1343
|
+
/**
|
|
1344
|
+
* Sets the trigger state to be active or inactive.
|
|
1345
|
+
* @default false
|
|
1346
|
+
*/
|
|
1347
|
+
"active"?: boolean;
|
|
1282
1348
|
/**
|
|
1283
1349
|
* ID of the mega dropdown element that this trigger is linked to. Used to open and close the specified mega dropdown.
|
|
1284
1350
|
*/
|
|
@@ -1286,7 +1352,7 @@ declare namespace LocalJSX {
|
|
|
1286
1352
|
}
|
|
1287
1353
|
interface PostMenu {
|
|
1288
1354
|
/**
|
|
1289
|
-
*
|
|
1355
|
+
* A descriptive label that clearly identifies the menu’s content so assistive technologies can convey its purpose.
|
|
1290
1356
|
*/
|
|
1291
1357
|
"label": string;
|
|
1292
1358
|
/**
|
|
@@ -1307,27 +1373,73 @@ declare namespace LocalJSX {
|
|
|
1307
1373
|
*/
|
|
1308
1374
|
"for": string;
|
|
1309
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
|
+
}
|
|
1310
1422
|
interface PostPopover {
|
|
1311
1423
|
/**
|
|
1312
1424
|
* Show a little indicator arrow
|
|
1313
1425
|
* @default true
|
|
1314
1426
|
*/
|
|
1315
1427
|
"arrow"?: boolean;
|
|
1316
|
-
/**
|
|
1317
|
-
* Define the caption of the close button for assistive technology
|
|
1318
|
-
*/
|
|
1319
|
-
"closeButtonCaption": string;
|
|
1320
1428
|
/**
|
|
1321
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).
|
|
1322
1430
|
* @default 'top'
|
|
1323
1431
|
*/
|
|
1324
1432
|
"placement"?: Placement;
|
|
1433
|
+
/**
|
|
1434
|
+
* Define the text of the close button for assistive technology
|
|
1435
|
+
*/
|
|
1436
|
+
"textClose": string;
|
|
1325
1437
|
}
|
|
1326
1438
|
interface PostPopoverTrigger {
|
|
1327
1439
|
/**
|
|
1328
1440
|
* ID of the popover element that this trigger is linked to. Used to open and close the popover.
|
|
1329
1441
|
*/
|
|
1330
|
-
"for"
|
|
1442
|
+
"for"?: string;
|
|
1331
1443
|
}
|
|
1332
1444
|
interface PostPopovercontainer {
|
|
1333
1445
|
/**
|
|
@@ -1345,11 +1457,6 @@ declare namespace LocalJSX {
|
|
|
1345
1457
|
* @default 8
|
|
1346
1458
|
*/
|
|
1347
1459
|
"edgeGap"?: number;
|
|
1348
|
-
/**
|
|
1349
|
-
* Whether or not the popovercontainer should close when user clicks outside of it
|
|
1350
|
-
* @default false
|
|
1351
|
-
*/
|
|
1352
|
-
"manualClose"?: boolean;
|
|
1353
1460
|
/**
|
|
1354
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.
|
|
1355
1462
|
*/
|
|
@@ -1387,7 +1494,7 @@ declare namespace LocalJSX {
|
|
|
1387
1494
|
*/
|
|
1388
1495
|
"currentRating"?: number;
|
|
1389
1496
|
/**
|
|
1390
|
-
*
|
|
1497
|
+
* A hidden, descriptive label that explains the role of the rating component to assistive technologies.
|
|
1391
1498
|
*/
|
|
1392
1499
|
"label": string;
|
|
1393
1500
|
/**
|
|
@@ -1411,49 +1518,53 @@ declare namespace LocalJSX {
|
|
|
1411
1518
|
}
|
|
1412
1519
|
interface PostStepper {
|
|
1413
1520
|
/**
|
|
1414
|
-
*
|
|
1521
|
+
* Defines the currently active step
|
|
1522
|
+
* @default -1
|
|
1415
1523
|
*/
|
|
1416
|
-
"
|
|
1524
|
+
"currentIndex"?: number;
|
|
1417
1525
|
/**
|
|
1418
1526
|
* "Completed step" label for accessibility
|
|
1419
1527
|
*/
|
|
1420
|
-
"
|
|
1528
|
+
"textCompletedStep": string;
|
|
1421
1529
|
/**
|
|
1422
|
-
*
|
|
1423
|
-
* @default -1
|
|
1530
|
+
* "Current step" label for accessibility
|
|
1424
1531
|
*/
|
|
1425
|
-
"
|
|
1532
|
+
"textCurrentStep": string;
|
|
1426
1533
|
/**
|
|
1427
|
-
* "
|
|
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.
|
|
1428
1535
|
*/
|
|
1429
|
-
"
|
|
1536
|
+
"textStepNumber": string;
|
|
1430
1537
|
}
|
|
1431
1538
|
interface PostStepperItem {
|
|
1432
1539
|
}
|
|
1433
|
-
interface
|
|
1540
|
+
interface PostTabItem {
|
|
1434
1541
|
/**
|
|
1435
|
-
* 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.
|
|
1436
1543
|
*/
|
|
1437
|
-
"
|
|
1544
|
+
"name": string;
|
|
1438
1545
|
}
|
|
1439
1546
|
interface PostTabPanel {
|
|
1440
1547
|
/**
|
|
1441
|
-
* The name of the
|
|
1548
|
+
* The name of the tab that this panel is associated with.
|
|
1442
1549
|
*/
|
|
1443
|
-
"
|
|
1550
|
+
"for": string;
|
|
1444
1551
|
}
|
|
1445
1552
|
interface PostTabs {
|
|
1446
1553
|
/**
|
|
1447
|
-
* 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.
|
|
1448
1555
|
*/
|
|
1449
|
-
"
|
|
1556
|
+
"activeTab"?: string;
|
|
1450
1557
|
/**
|
|
1451
|
-
* 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.
|
|
1452
1559
|
* @default false
|
|
1453
1560
|
*/
|
|
1454
1561
|
"fullWidth"?: boolean;
|
|
1455
1562
|
/**
|
|
1456
|
-
*
|
|
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.
|
|
1457
1568
|
*/
|
|
1458
1569
|
"onPostChange"?: (event: PostTabsCustomEvent<string>) => void;
|
|
1459
1570
|
}
|
|
@@ -1508,14 +1619,13 @@ declare namespace LocalJSX {
|
|
|
1508
1619
|
"post-closebutton": PostClosebutton;
|
|
1509
1620
|
"post-collapsible": PostCollapsible;
|
|
1510
1621
|
"post-collapsible-trigger": PostCollapsibleTrigger;
|
|
1622
|
+
"post-env-test": PostEnvTest;
|
|
1511
1623
|
"post-footer": PostFooter;
|
|
1512
1624
|
"post-header": PostHeader;
|
|
1513
1625
|
"post-icon": PostIcon;
|
|
1514
|
-
"post-language-
|
|
1515
|
-
"post-language-
|
|
1626
|
+
"post-language-menu": PostLanguageMenu;
|
|
1627
|
+
"post-language-menu-item": PostLanguageMenuItem;
|
|
1516
1628
|
"post-linkarea": PostLinkarea;
|
|
1517
|
-
"post-list": PostList;
|
|
1518
|
-
"post-list-item": PostListItem;
|
|
1519
1629
|
"post-logo": PostLogo;
|
|
1520
1630
|
"post-mainnavigation": PostMainnavigation;
|
|
1521
1631
|
"post-megadropdown": PostMegadropdown;
|
|
@@ -1523,13 +1633,14 @@ declare namespace LocalJSX {
|
|
|
1523
1633
|
"post-menu": PostMenu;
|
|
1524
1634
|
"post-menu-item": PostMenuItem;
|
|
1525
1635
|
"post-menu-trigger": PostMenuTrigger;
|
|
1636
|
+
"post-pagination": PostPagination;
|
|
1526
1637
|
"post-popover": PostPopover;
|
|
1527
1638
|
"post-popover-trigger": PostPopoverTrigger;
|
|
1528
1639
|
"post-popovercontainer": PostPopovercontainer;
|
|
1529
1640
|
"post-rating": PostRating;
|
|
1530
1641
|
"post-stepper": PostStepper;
|
|
1531
1642
|
"post-stepper-item": PostStepperItem;
|
|
1532
|
-
"post-tab-
|
|
1643
|
+
"post-tab-item": PostTabItem;
|
|
1533
1644
|
"post-tab-panel": PostTabPanel;
|
|
1534
1645
|
"post-tabs": PostTabs;
|
|
1535
1646
|
"post-togglebutton": PostTogglebutton;
|
|
@@ -1555,17 +1666,16 @@ declare module "@stencil/core" {
|
|
|
1555
1666
|
"post-closebutton": LocalJSX.PostClosebutton & JSXBase.HTMLAttributes<HTMLPostClosebuttonElement>;
|
|
1556
1667
|
"post-collapsible": LocalJSX.PostCollapsible & JSXBase.HTMLAttributes<HTMLPostCollapsibleElement>;
|
|
1557
1668
|
"post-collapsible-trigger": LocalJSX.PostCollapsibleTrigger & JSXBase.HTMLAttributes<HTMLPostCollapsibleTriggerElement>;
|
|
1669
|
+
"post-env-test": LocalJSX.PostEnvTest & JSXBase.HTMLAttributes<HTMLPostEnvTestElement>;
|
|
1558
1670
|
"post-footer": LocalJSX.PostFooter & JSXBase.HTMLAttributes<HTMLPostFooterElement>;
|
|
1559
1671
|
"post-header": LocalJSX.PostHeader & JSXBase.HTMLAttributes<HTMLPostHeaderElement>;
|
|
1560
1672
|
/**
|
|
1561
1673
|
* @class PostIcon - representing a stencil component
|
|
1562
1674
|
*/
|
|
1563
1675
|
"post-icon": LocalJSX.PostIcon & JSXBase.HTMLAttributes<HTMLPostIconElement>;
|
|
1564
|
-
"post-language-
|
|
1565
|
-
"post-language-
|
|
1676
|
+
"post-language-menu": LocalJSX.PostLanguageMenu & JSXBase.HTMLAttributes<HTMLPostLanguageMenuElement>;
|
|
1677
|
+
"post-language-menu-item": LocalJSX.PostLanguageMenuItem & JSXBase.HTMLAttributes<HTMLPostLanguageMenuItemElement>;
|
|
1566
1678
|
"post-linkarea": LocalJSX.PostLinkarea & JSXBase.HTMLAttributes<HTMLPostLinkareaElement>;
|
|
1567
|
-
"post-list": LocalJSX.PostList & JSXBase.HTMLAttributes<HTMLPostListElement>;
|
|
1568
|
-
"post-list-item": LocalJSX.PostListItem & JSXBase.HTMLAttributes<HTMLPostListItemElement>;
|
|
1569
1679
|
"post-logo": LocalJSX.PostLogo & JSXBase.HTMLAttributes<HTMLPostLogoElement>;
|
|
1570
1680
|
"post-mainnavigation": LocalJSX.PostMainnavigation & JSXBase.HTMLAttributes<HTMLPostMainnavigationElement>;
|
|
1571
1681
|
"post-megadropdown": LocalJSX.PostMegadropdown & JSXBase.HTMLAttributes<HTMLPostMegadropdownElement>;
|
|
@@ -1573,13 +1683,14 @@ declare module "@stencil/core" {
|
|
|
1573
1683
|
"post-menu": LocalJSX.PostMenu & JSXBase.HTMLAttributes<HTMLPostMenuElement>;
|
|
1574
1684
|
"post-menu-item": LocalJSX.PostMenuItem & JSXBase.HTMLAttributes<HTMLPostMenuItemElement>;
|
|
1575
1685
|
"post-menu-trigger": LocalJSX.PostMenuTrigger & JSXBase.HTMLAttributes<HTMLPostMenuTriggerElement>;
|
|
1686
|
+
"post-pagination": LocalJSX.PostPagination & JSXBase.HTMLAttributes<HTMLPostPaginationElement>;
|
|
1576
1687
|
"post-popover": LocalJSX.PostPopover & JSXBase.HTMLAttributes<HTMLPostPopoverElement>;
|
|
1577
1688
|
"post-popover-trigger": LocalJSX.PostPopoverTrigger & JSXBase.HTMLAttributes<HTMLPostPopoverTriggerElement>;
|
|
1578
1689
|
"post-popovercontainer": LocalJSX.PostPopovercontainer & JSXBase.HTMLAttributes<HTMLPostPopovercontainerElement>;
|
|
1579
1690
|
"post-rating": LocalJSX.PostRating & JSXBase.HTMLAttributes<HTMLPostRatingElement>;
|
|
1580
1691
|
"post-stepper": LocalJSX.PostStepper & JSXBase.HTMLAttributes<HTMLPostStepperElement>;
|
|
1581
1692
|
"post-stepper-item": LocalJSX.PostStepperItem & JSXBase.HTMLAttributes<HTMLPostStepperItemElement>;
|
|
1582
|
-
"post-tab-
|
|
1693
|
+
"post-tab-item": LocalJSX.PostTabItem & JSXBase.HTMLAttributes<HTMLPostTabItemElement>;
|
|
1583
1694
|
"post-tab-panel": LocalJSX.PostTabPanel & JSXBase.HTMLAttributes<HTMLPostTabPanelElement>;
|
|
1584
1695
|
"post-tabs": LocalJSX.PostTabs & JSXBase.HTMLAttributes<HTMLPostTabsElement>;
|
|
1585
1696
|
"post-togglebutton": LocalJSX.PostTogglebutton & JSXBase.HTMLAttributes<HTMLPostTogglebuttonElement>;
|