@swisspost/design-system-components 10.0.0-next.70 → 10.0.0-next.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/breakpoints-B0Olgvgc.js +206 -0
- package/dist/cjs/component-on-ready-CifOTqw1.js +24 -0
- package/dist/cjs/create-validator-decorator-Bnx17kwi.js +223 -0
- package/dist/cjs/{focusable-ZqET_zrB.js → focusable-COT2uiEV.js} +25 -4
- package/dist/cjs/{index-DPdHkdGf.js → index-ngUOBQot.js} +17 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/nanoid-CmjyF1Cm.js +20 -0
- package/dist/cjs/one-of-BHyX4vYq.js +27 -0
- package/dist/cjs/{package-Ds_LS1pB.js → package-Bi-tiNRc.js} +1 -1
- package/dist/cjs/pattern-BgBx5zGQ.js +27 -0
- package/dist/cjs/post-accordion_2.cjs.entry.js +18 -24
- package/dist/cjs/post-autocomplete.cjs.entry.js +27 -14
- package/dist/cjs/post-avatar.cjs.entry.js +33 -54
- package/dist/cjs/post-back-to-top.cjs.entry.js +21 -12
- package/dist/cjs/post-banner.cjs.entry.js +9 -14
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +48 -41
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +106 -105
- package/dist/cjs/post-closebutton_14.cjs.entry.js +257 -288
- package/dist/cjs/post-collapsible_2.cjs.entry.js +57 -40
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-date-picker.cjs.entry.js +154 -144
- package/dist/cjs/post-footer.cjs.entry.js +26 -19
- package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
- package/dist/cjs/post-listbox-option.cjs.entry.js +4 -4
- package/dist/cjs/post-listbox.cjs.entry.js +4 -6
- package/dist/cjs/post-login-widget.cjs.entry.js +35 -3
- package/dist/cjs/post-number-input.cjs.entry.js +6 -6
- package/dist/cjs/post-pagination.cjs.entry.js +53 -83
- package/dist/cjs/post-popover-trigger.cjs.entry.js +22 -19
- package/dist/cjs/post-popover.cjs.entry.js +25 -23
- package/dist/cjs/post-progressbar.cjs.entry.js +147 -0
- package/dist/cjs/post-rating.cjs.entry.js +34 -35
- package/dist/cjs/post-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/post-stepper.cjs.entry.js +49 -38
- package/dist/cjs/post-tab-item.cjs.entry.js +23 -15
- package/dist/cjs/post-tab-panel.cjs.entry.js +23 -16
- package/dist/cjs/post-tabs.cjs.entry.js +24 -30
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +34 -21
- package/dist/cjs/post-tooltip.cjs.entry.js +19 -16
- package/dist/cjs/required-lRDOdbd6.js +44 -0
- package/dist/cjs/type-shT641Eo.js +30 -0
- package/dist/cjs/url-DRUMqVBq.js +34 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/post-accordion/post-accordion.js +11 -8
- package/dist/collection/components/post-accordion-item/post-accordion-item.js +4 -18
- package/dist/collection/components/post-autocomplete/post-autocomplete.js +23 -13
- package/dist/collection/components/post-avatar/avatar-utils.js +2 -2
- package/dist/collection/components/post-avatar/post-avatar.js +29 -72
- package/dist/collection/components/post-back-to-top/post-back-to-top.js +17 -10
- package/dist/collection/components/post-banner/post-banner.js +7 -14
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -1
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +92 -47
- package/dist/collection/components/post-breadcrumb-item/variants.js +1 -0
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +110 -114
- package/dist/collection/components/post-closebutton/post-closebutton.js +24 -27
- package/dist/collection/components/post-collapsible/post-collapsible.js +26 -16
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +34 -30
- package/dist/collection/components/post-date-picker/post-date-picker.css +1 -1
- package/dist/collection/components/post-date-picker/post-date-picker.js +64 -96
- package/dist/collection/components/post-footer/post-footer.js +17 -13
- package/dist/collection/components/post-header/post-header.js +18 -24
- package/dist/collection/components/post-icon/post-icon.js +36 -48
- package/dist/collection/components/post-language-menu/post-language-menu.js +16 -22
- package/dist/collection/components/post-language-menu-item/post-language-menu-item.js +28 -39
- package/dist/collection/components/post-linkarea/post-linkarea.js +2 -2
- package/dist/collection/components/post-listbox/post-listbox.js +3 -5
- package/dist/collection/components/post-listbox-option/post-listbox-option.js +3 -3
- package/dist/collection/components/post-login-widget/post-login-widget.css +1 -0
- package/dist/collection/components/post-login-widget/post-login-widget.js +103 -5
- package/dist/collection/components/post-logo/post-logo.js +16 -13
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +17 -13
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +24 -23
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +7 -15
- package/dist/collection/components/post-menu/post-menu.js +14 -24
- package/dist/collection/components/post-menu-item/post-menu-item.css +1 -1
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +17 -13
- package/dist/collection/components/post-number-input/post-number-input.js +5 -5
- package/dist/collection/components/post-pagination/post-pagination.js +47 -83
- package/dist/collection/components/post-popover/post-popover.js +20 -22
- package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +16 -14
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +28 -34
- package/dist/collection/components/post-progressbar/post-progressbar.css +1 -0
- package/dist/collection/components/post-progressbar/post-progressbar.js +136 -0
- package/dist/collection/components/post-rating/post-rating.js +25 -29
- package/dist/collection/components/post-stepper/post-stepper.js +44 -36
- package/dist/collection/components/post-stepper-item/post-stepper-item.js +2 -2
- package/dist/collection/components/post-tab-item/post-tab-item.js +17 -13
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +17 -14
- package/dist/collection/components/post-tabs/post-tabs.js +20 -7
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +5 -3
- package/dist/collection/components/post-tooltip/post-tooltip.js +17 -16
- package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +30 -19
- package/dist/collection/hydrate-stub/index.stub.js +5 -0
- package/dist/collection/test-setup.js +7 -0
- package/dist/collection/utils/index.js +4 -3
- package/dist/collection/utils/is-value-empty.js +1 -1
- package/dist/collection/utils/locales.js +9 -2
- package/dist/collection/utils/nanoid.js +16 -0
- package/dist/collection/utils/property-decorators/array-of.js +22 -0
- package/dist/collection/utils/property-decorators/bound.js +75 -0
- package/dist/collection/utils/property-decorators/create-validator-decorator.js +211 -0
- package/dist/collection/utils/property-decorators/date.js +21 -0
- package/dist/collection/utils/property-decorators/index.js +9 -0
- package/dist/collection/utils/property-decorators/iso-date.js +21 -0
- package/dist/collection/utils/property-decorators/one-of.js +22 -0
- package/dist/collection/utils/property-decorators/pattern.js +22 -0
- package/dist/collection/utils/property-decorators/required.js +40 -0
- package/dist/collection/utils/property-decorators/type.js +25 -0
- package/dist/collection/utils/property-decorators/url.js +29 -0
- package/dist/component-names.json +1 -0
- package/dist/components/breakpoints.js +1 -0
- package/dist/components/component-on-ready.js +1 -0
- package/dist/components/focusable.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -1
- package/dist/components/nanoid.js +1 -0
- package/dist/components/one-of.js +1 -0
- package/dist/components/package.js +1 -1
- package/dist/components/pattern.js +1 -0
- package/dist/components/post-accordion-item2.js +1 -1
- package/dist/components/post-accordion2.js +1 -1
- package/dist/components/post-autocomplete.js +1 -1
- package/dist/components/post-avatar.js +1 -1
- package/dist/components/post-avatar2.js +1 -0
- package/dist/components/post-back-to-top.js +1 -1
- package/dist/components/post-banner.js +1 -1
- package/dist/components/post-breadcrumb-item.js +1 -1
- package/dist/components/post-breadcrumbs.js +1 -1
- package/dist/components/post-closebutton2.js +1 -1
- package/dist/components/post-collapsible-trigger2.js +1 -1
- package/dist/components/post-collapsible2.js +1 -1
- package/dist/components/post-date-picker.js +1 -1
- package/dist/components/post-footer.js +1 -1
- package/dist/components/post-header.js +1 -1
- package/dist/components/post-icon2.js +1 -1
- package/dist/components/post-language-menu-item.js +1 -1
- package/dist/components/post-language-menu.js +1 -1
- package/dist/components/post-linkarea.js +1 -1
- package/dist/components/post-listbox-option.js +1 -1
- package/dist/components/post-listbox.js +1 -1
- package/dist/components/post-login-widget.js +1 -1
- package/dist/components/post-logo.js +1 -1
- package/dist/components/post-mainnavigation.js +1 -1
- package/dist/components/post-megadropdown-trigger.js +1 -1
- package/dist/components/post-megadropdown.js +1 -1
- package/dist/components/post-menu-item2.js +1 -1
- package/dist/components/post-menu-trigger2.js +1 -1
- package/dist/components/post-menu2.js +1 -1
- package/dist/components/post-number-input.js +1 -1
- package/dist/components/post-pagination.js +1 -1
- package/dist/components/post-popover-trigger.js +1 -1
- package/dist/components/post-popover.js +1 -1
- package/dist/components/post-popovercontainer2.js +1 -1
- package/dist/components/post-progressbar.d.ts +11 -0
- package/dist/components/post-progressbar.js +1 -0
- package/dist/components/post-rating.js +1 -1
- package/dist/components/post-stepper-item.js +1 -1
- package/dist/components/post-stepper.js +1 -1
- package/dist/components/post-tab-item.js +1 -1
- package/dist/components/post-tab-panel.js +1 -1
- package/dist/components/post-tabs.js +1 -1
- package/dist/components/post-togglebutton2.js +1 -1
- package/dist/components/post-tooltip-trigger.js +1 -1
- package/dist/components/post-tooltip.js +1 -1
- package/dist/components/react/index.js +1 -1
- package/dist/components/react/p-4wtxqxXu.js +1 -0
- package/dist/components/react/p-85IGlhtB.js +1 -0
- package/dist/components/react/p-8LXe8Zt_.js +1 -0
- package/dist/components/react/p-B9ZFuYey.js +1 -0
- package/dist/components/react/p-BXqGI600.js +1 -0
- package/dist/components/react/p-BZSAV0-K.js +1 -0
- package/dist/components/react/p-B_WnO-QF.js +1 -0
- package/dist/components/react/p-BaB8wJvk.js +1 -0
- package/dist/components/react/p-Bg9dtyzK.js +1 -0
- package/dist/components/react/p-Bji_4dfL.js +1 -0
- package/dist/components/react/p-Bn66acGG.js +1 -0
- package/dist/components/react/p-BrY4VWTQ.js +1 -0
- package/dist/components/react/p-Bu2JeHDf.js +1 -0
- package/dist/components/react/p-BxoRVIIr.js +1 -0
- package/dist/components/react/p-CX2E_IXB.js +1 -0
- package/dist/components/react/p-Cd1TsNm7.js +1 -0
- package/dist/components/react/p-CkTAQJGd.js +1 -0
- package/dist/components/react/p-ClG-N42b.js +1 -0
- package/dist/components/react/p-D1zw8FxT.js +1 -0
- package/dist/components/react/p-DwuW52g5.js +1 -0
- package/dist/components/react/p-PM7l--ff.js +1 -0
- package/dist/components/react/p-lpWRZjJp.js +1 -0
- package/dist/components/react/post-accordion-item.js +1 -1
- package/dist/components/react/post-accordion.js +1 -1
- package/dist/components/react/post-autocomplete.js +1 -1
- package/dist/components/react/post-avatar.js +1 -1
- package/dist/components/react/post-back-to-top.js +1 -1
- package/dist/components/react/post-banner.js +1 -1
- package/dist/components/react/post-breadcrumb-item.js +1 -1
- package/dist/components/react/post-breadcrumbs.js +1 -1
- 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-date-picker.js +1 -1
- package/dist/components/react/post-footer.js +1 -1
- package/dist/components/react/post-header.js +1 -1
- package/dist/components/react/post-icon.js +1 -1
- package/dist/components/react/post-language-menu-item.js +1 -1
- package/dist/components/react/post-language-menu.js +1 -1
- package/dist/components/react/post-linkarea.js +1 -1
- package/dist/components/react/post-listbox-option.js +1 -1
- package/dist/components/react/post-listbox.js +1 -1
- package/dist/components/react/post-login-widget.js +1 -1
- package/dist/components/react/post-logo.js +1 -1
- package/dist/components/react/post-mainnavigation.js +1 -1
- package/dist/components/react/post-megadropdown-trigger.js +1 -1
- package/dist/components/react/post-megadropdown.js +1 -1
- 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-number-input.js +1 -1
- package/dist/components/react/post-pagination.js +1 -1
- package/dist/components/react/post-popover-trigger.js +1 -1
- package/dist/components/react/post-popover.js +1 -1
- package/dist/components/react/post-popovercontainer.js +1 -1
- package/dist/components/react/post-progressbar.d.ts +11 -0
- package/dist/components/react/post-progressbar.js +1 -0
- package/dist/components/react/post-rating.js +1 -1
- package/dist/components/react/post-stepper-item.js +1 -1
- package/dist/components/react/post-stepper.js +1 -1
- package/dist/components/react/post-tab-item.js +1 -1
- package/dist/components/react/post-tab-panel.js +1 -1
- package/dist/components/react/post-tabs.js +1 -1
- package/dist/components/react/post-togglebutton.js +1 -1
- package/dist/components/react/post-tooltip-trigger.js +1 -1
- package/dist/components/react/post-tooltip.js +1 -1
- package/dist/components/required.js +1 -0
- package/dist/components/type.js +1 -0
- package/dist/components/url.js +1 -0
- package/dist/docs.json +307 -72
- package/dist/esm/breakpoints-BQ3HlJPr.js +202 -0
- package/dist/esm/component-on-ready-lpWRZjJp.js +22 -0
- package/dist/esm/create-validator-decorator-D8qwF5Qe.js +218 -0
- package/dist/esm/{focusable-BD_WT2MO.js → focusable-C7afHKmo.js} +25 -5
- package/dist/esm/{index-DmAi35UF.js → index-BbDawWJ5.js} +17 -13
- package/dist/esm/loader.js +3 -3
- package/dist/esm/nanoid-8LXe8Zt_.js +18 -0
- package/dist/esm/one-of-GPr3FflU.js +25 -0
- package/dist/esm/package-ClG-N42b.js +3 -0
- package/dist/esm/pattern-BWPRYpYv.js +25 -0
- package/dist/esm/post-accordion_2.entry.js +17 -23
- package/dist/esm/post-autocomplete.entry.js +27 -14
- package/dist/esm/post-avatar.entry.js +33 -54
- package/dist/esm/post-back-to-top.entry.js +21 -12
- package/dist/esm/post-banner.entry.js +9 -14
- package/dist/esm/post-breadcrumb-item.entry.js +48 -41
- package/dist/esm/post-breadcrumbs.entry.js +106 -105
- package/dist/esm/post-closebutton_14.entry.js +252 -283
- package/dist/esm/post-collapsible_2.entry.js +57 -40
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-date-picker.entry.js +151 -141
- package/dist/esm/post-footer.entry.js +21 -14
- package/dist/esm/post-linkarea.entry.js +3 -3
- package/dist/esm/post-listbox-option.entry.js +4 -4
- package/dist/esm/post-listbox.entry.js +4 -6
- package/dist/esm/post-login-widget.entry.js +35 -3
- package/dist/esm/post-number-input.entry.js +5 -5
- package/dist/esm/post-pagination.entry.js +52 -82
- package/dist/esm/post-popover-trigger.entry.js +20 -17
- package/dist/esm/post-popover.entry.js +25 -23
- package/dist/esm/post-progressbar.entry.js +145 -0
- package/dist/esm/post-rating.entry.js +29 -30
- package/dist/esm/post-stepper-item.entry.js +3 -3
- package/dist/esm/post-stepper.entry.js +49 -38
- package/dist/esm/post-tab-item.entry.js +22 -14
- package/dist/esm/post-tab-panel.entry.js +22 -15
- package/dist/esm/post-tabs.entry.js +23 -29
- package/dist/esm/post-tooltip-trigger.entry.js +34 -21
- package/dist/esm/post-tooltip.entry.js +19 -16
- package/dist/esm/required-uK-rZZjy.js +42 -0
- package/dist/esm/type-obmwEgkM.js +28 -0
- package/dist/esm/url-B28ByZCe.js +32 -0
- package/dist/post-components/p-00f55af5.entry.js +1 -0
- package/dist/post-components/p-0288484f.entry.js +1 -0
- package/dist/post-components/p-07cdd022.entry.js +1 -0
- package/dist/post-components/{p-c2e05ba0.entry.js → p-12047216.entry.js} +1 -1
- package/dist/post-components/p-17df4e91.entry.js +1 -0
- package/dist/post-components/p-17e046fa.entry.js +1 -0
- package/dist/post-components/p-29bd31a0.entry.js +1 -0
- package/dist/post-components/p-2c6b4e6a.entry.js +1 -0
- package/dist/post-components/p-3b05e01d.entry.js +1 -0
- package/dist/post-components/p-53fd5230.entry.js +1 -0
- package/dist/post-components/p-5b7e6369.entry.js +1 -0
- package/dist/post-components/p-5f4ca179.entry.js +1 -0
- package/dist/post-components/p-62b6154a.entry.js +1 -0
- package/dist/post-components/{p-77d5e17b.entry.js → p-686a6e22.entry.js} +1 -1
- package/dist/post-components/p-758fc84f.entry.js +1 -0
- package/dist/post-components/{p-570d64dd.entry.js → p-7f929bb9.entry.js} +1 -1
- package/dist/post-components/p-8LXe8Zt_.js +1 -0
- package/dist/post-components/p-9865f72c.entry.js +1 -0
- package/dist/post-components/p-99803d57.entry.js +1 -0
- package/dist/post-components/p-BQ3HlJPr.js +1 -0
- package/dist/post-components/p-BRNqUiXj.js +1 -0
- package/dist/post-components/p-BbDawWJ5.js +2 -0
- package/dist/post-components/p-BrY4VWTQ.js +1 -0
- package/dist/post-components/p-CVsNfXZd.js +1 -0
- package/dist/post-components/p-Ck2qPht6.js +1 -0
- package/dist/post-components/p-ClG-N42b.js +1 -0
- package/dist/post-components/p-D4F0BqBW.js +1 -0
- package/dist/post-components/p-DSNGJB58.js +1 -0
- package/dist/post-components/p-IUnDBhPg.js +1 -0
- package/dist/post-components/p-a0e0a760.entry.js +1 -0
- package/dist/post-components/p-a850652d.entry.js +1 -0
- package/dist/post-components/p-aac1a8ea.entry.js +1 -0
- package/dist/post-components/{p-092f8795.entry.js → p-b3f0f9a2.entry.js} +1 -1
- package/dist/post-components/p-c37dba4b.entry.js +1 -0
- package/dist/post-components/p-d061773b.entry.js +1 -0
- package/dist/post-components/p-e2370e94.entry.js +1 -0
- package/dist/post-components/p-f1ca1d3f.entry.js +1 -0
- package/dist/post-components/p-f2e5f44e.entry.js +1 -0
- package/dist/post-components/p-ff98ada4.entry.js +1 -0
- package/dist/post-components/p-lpWRZjJp.js +1 -0
- package/dist/post-components/post-components.css +2 -2
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-accordion/post-accordion.d.ts +1 -1
- package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +0 -2
- package/dist/types/components/post-autocomplete/post-autocomplete.d.ts +0 -1
- package/dist/types/components/post-avatar/avatar-utils.d.ts +1 -1
- package/dist/types/components/post-avatar/post-avatar.d.ts +0 -13
- package/dist/types/components/post-back-to-top/post-back-to-top.d.ts +0 -1
- package/dist/types/components/post-banner/post-banner.d.ts +0 -1
- package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +11 -11
- package/dist/types/components/post-breadcrumb-item/variants.d.ts +2 -0
- package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +20 -26
- package/dist/types/components/post-closebutton/post-closebutton.d.ts +0 -3
- package/dist/types/components/post-collapsible/post-collapsible.d.ts +1 -2
- package/dist/types/components/post-collapsible-trigger/post-collapsible-trigger.d.ts +3 -6
- package/dist/types/components/post-date-picker/post-date-picker.d.ts +0 -12
- package/dist/types/components/post-footer/post-footer.d.ts +0 -1
- package/dist/types/components/post-header/post-header.d.ts +0 -2
- package/dist/types/components/post-icon/post-icon.d.ts +0 -6
- package/dist/types/components/post-language-menu/post-language-menu.d.ts +1 -3
- package/dist/types/components/post-language-menu-item/post-language-menu-item.d.ts +0 -5
- package/dist/types/components/post-login-widget/post-login-widget.d.ts +17 -2
- package/dist/types/components/post-logo/post-logo.d.ts +0 -1
- package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +0 -1
- package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +1 -3
- package/dist/types/components/post-megadropdown-trigger/post-megadropdown-trigger.d.ts +0 -2
- package/dist/types/components/post-menu/post-menu.d.ts +1 -4
- package/dist/types/components/post-menu-trigger/post-menu-trigger.d.ts +0 -1
- package/dist/types/components/post-pagination/post-pagination.d.ts +0 -17
- package/dist/types/components/post-popover/post-popover.d.ts +0 -3
- package/dist/types/components/post-popover-trigger/post-popover-trigger.d.ts +0 -1
- package/dist/types/components/post-popovercontainer/post-popovercontainer.d.ts +0 -3
- package/dist/types/components/post-progressbar/post-progressbar.d.ts +23 -0
- package/dist/types/components/post-rating/post-rating.d.ts +0 -4
- package/dist/types/components/post-stepper/post-stepper.d.ts +1 -4
- package/dist/types/components/post-tab-item/post-tab-item.d.ts +0 -1
- package/dist/types/components/post-tab-panel/post-tab-panel.d.ts +0 -1
- package/dist/types/components/post-tooltip/post-tooltip.d.ts +1 -3
- package/dist/types/components/post-tooltip-trigger/post-tooltip-trigger.d.ts +1 -1
- package/dist/types/components.d.ts +119 -29
- package/dist/types/modules.d.ts +2 -0
- package/dist/types/utils/index.d.ts +4 -3
- package/dist/types/utils/nanoid.d.ts +8 -0
- package/dist/types/utils/property-decorators/array-of.d.ts +9 -0
- package/dist/types/utils/property-decorators/bound.d.ts +36 -0
- package/dist/types/utils/property-decorators/create-validator-decorator.d.ts +48 -0
- package/dist/types/utils/property-decorators/date.d.ts +6 -0
- package/dist/types/utils/property-decorators/index.d.ts +9 -0
- package/dist/types/utils/property-decorators/iso-date.d.ts +6 -0
- package/dist/types/utils/property-decorators/one-of.d.ts +8 -0
- package/dist/types/utils/property-decorators/pattern.d.ts +8 -0
- package/dist/types/utils/property-decorators/required.d.ts +17 -0
- package/dist/types/utils/property-decorators/type.d.ts +9 -0
- package/dist/types/utils/property-decorators/url.d.ts +6 -0
- package/hydrate/index.js +1536 -115469
- package/hydrate/index.mjs +1536 -115469
- package/hydrate/index.stub.js +5 -0
- package/package.json +28 -18
- package/dist/cjs/index-YBj3gUJp.js +0 -114540
- package/dist/cjs/index-qCzRmwgB.js +0 -114
- package/dist/cjs/index.browser-BVb9l9T_.js +0 -16
- package/dist/collection/utils/property-checkers/check-array-of.js +0 -8
- package/dist/collection/utils/property-checkers/check-date.js +0 -13
- package/dist/collection/utils/property-checkers/check-iso-date.js +0 -9
- package/dist/collection/utils/property-checkers/check-one-of.js +0 -8
- package/dist/collection/utils/property-checkers/check-pattern.js +0 -8
- package/dist/collection/utils/property-checkers/check-type.js +0 -15
- package/dist/collection/utils/property-checkers/check-url.js +0 -15
- package/dist/collection/utils/property-checkers/constants.js +0 -1
- package/dist/collection/utils/property-checkers/empty-or.js +0 -9
- package/dist/collection/utils/property-checkers/index.js +0 -20
- package/dist/collection/utils/property-checkers/required-and.js +0 -14
- package/dist/components/heading-levels.js +0 -1
- package/dist/components/index.browser.js +0 -1
- package/dist/components/index2.js +0 -1
- package/dist/components/index3.js +0 -6
- package/dist/components/post-breadcrumb-item2.js +0 -1
- package/dist/components/react/p-B076QoO3.js +0 -1
- package/dist/components/react/p-B2BDAeHI.js +0 -1
- package/dist/components/react/p-B2iQay0-.js +0 -1
- package/dist/components/react/p-B_RL4AOE.js +0 -1
- package/dist/components/react/p-BoFDru4R.js +0 -1
- package/dist/components/react/p-BuL0WAoF.js +0 -1
- package/dist/components/react/p-C8b6-YQl.js +0 -1
- package/dist/components/react/p-CJcRbvrI.js +0 -6
- package/dist/components/react/p-Cu9RsvYK.js +0 -1
- package/dist/components/react/p-D6uA8DbL.js +0 -1
- package/dist/components/react/p-DSSN7xW4.js +0 -1
- package/dist/components/react/p-DW7sbg9f.js +0 -1
- package/dist/components/react/p-DgdnwpId.js +0 -1
- package/dist/components/react/p-Dmnnz3fB.js +0 -1
- package/dist/components/react/p-PuHMz_9_.js +0 -1
- package/dist/components/react/p-nA1BKco0.js +0 -1
- package/dist/components/react/p-r4txK0AC.js +0 -1
- package/dist/components/react/p-tpgRP2Dr.js +0 -1
- package/dist/esm/index-CJcRbvrI.js +0 -114535
- package/dist/esm/index-D9bU2pIE.js +0 -104
- package/dist/esm/index.browser-nA1BKco0.js +0 -14
- package/dist/esm/package-DW7sbg9f.js +0 -3
- package/dist/post-components/p-17ccebe6.entry.js +0 -1
- package/dist/post-components/p-1d58bec1.entry.js +0 -1
- package/dist/post-components/p-25c28493.entry.js +0 -1
- package/dist/post-components/p-29ada3d7.entry.js +0 -1
- package/dist/post-components/p-2fcca5ec.entry.js +0 -1
- package/dist/post-components/p-3cefd49e.entry.js +0 -1
- package/dist/post-components/p-3fea238c.entry.js +0 -1
- package/dist/post-components/p-5068ae7e.entry.js +0 -1
- package/dist/post-components/p-521178f5.entry.js +0 -1
- package/dist/post-components/p-534fed55.entry.js +0 -1
- package/dist/post-components/p-5f52cba3.entry.js +0 -1
- package/dist/post-components/p-86697a58.entry.js +0 -1
- package/dist/post-components/p-987bebe8.entry.js +0 -1
- package/dist/post-components/p-9ca5c297.entry.js +0 -1
- package/dist/post-components/p-9ea3066f.entry.js +0 -1
- package/dist/post-components/p-CJcRbvrI.js +0 -6
- package/dist/post-components/p-D9bU2pIE.js +0 -1
- package/dist/post-components/p-DW7sbg9f.js +0 -1
- package/dist/post-components/p-DmAi35UF.js +0 -2
- package/dist/post-components/p-PuHMz_9_.js +0 -1
- package/dist/post-components/p-a6fc33fa.entry.js +0 -1
- package/dist/post-components/p-ac853d6b.entry.js +0 -1
- package/dist/post-components/p-bd09bc20.entry.js +0 -1
- package/dist/post-components/p-c55b537b.entry.js +0 -1
- package/dist/post-components/p-dded4f13.entry.js +0 -1
- package/dist/post-components/p-e6ba44b1.entry.js +0 -1
- package/dist/post-components/p-ead1094e.entry.js +0 -1
- package/dist/post-components/p-f12e59a0.entry.js +0 -1
- package/dist/post-components/p-nA1BKco0.js +0 -1
- package/dist/types/home/runner/work/design-system/design-system/packages/components/.stencil/types/language-tags.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-array-of.d.ts +0 -4
- package/dist/types/utils/property-checkers/check-date.d.ts +0 -3
- package/dist/types/utils/property-checkers/check-iso-date.d.ts +0 -3
- package/dist/types/utils/property-checkers/check-one-of.d.ts +0 -3
- package/dist/types/utils/property-checkers/check-pattern.d.ts +0 -3
- package/dist/types/utils/property-checkers/check-type.d.ts +0 -4
- package/dist/types/utils/property-checkers/check-url.d.ts +0 -3
- package/dist/types/utils/property-checkers/constants.d.ts +0 -1
- package/dist/types/utils/property-checkers/empty-or.d.ts +0 -3
- package/dist/types/utils/property-checkers/index.d.ts +0 -34
- package/dist/types/utils/property-checkers/required-and.d.ts +0 -3
- /package/dist/types/{language-tags.js → test-setup.d.ts} +0 -0
|
@@ -1,44 +1,38 @@
|
|
|
1
|
-
type BreadcrumbItem = {
|
|
2
|
-
url: string | undefined;
|
|
3
|
-
text: string;
|
|
4
|
-
description: string | undefined;
|
|
5
|
-
label: string | undefined;
|
|
6
|
-
};
|
|
7
1
|
export declare class PostBreadcrumbs {
|
|
2
|
+
private mutationObserver;
|
|
3
|
+
private resizeObserver;
|
|
8
4
|
host: HTMLPostBreadcrumbsElement;
|
|
5
|
+
shouldRenderMenu: boolean;
|
|
6
|
+
id: string;
|
|
9
7
|
/**
|
|
10
|
-
* The URL for the home breadcrumb item.
|
|
8
|
+
* The URL for the root (home) breadcrumb item.
|
|
11
9
|
*/
|
|
12
10
|
homeUrl: string;
|
|
13
11
|
/**
|
|
14
|
-
*
|
|
12
|
+
* An accessible label for the root (home) breadcrumb item.
|
|
15
13
|
*/
|
|
16
14
|
textHome: string;
|
|
17
15
|
/**
|
|
18
|
-
*
|
|
16
|
+
* An accessible label for the breadcrumb navigation.
|
|
19
17
|
*/
|
|
20
18
|
textBreadcrumbs: string;
|
|
21
19
|
/**
|
|
22
|
-
*
|
|
20
|
+
* An accessible label for the overflow menu that contains collapsed breadcrumb items.
|
|
23
21
|
*/
|
|
24
22
|
textMoreItems: string;
|
|
25
|
-
|
|
26
|
-
isConcatenated: boolean;
|
|
27
|
-
lastWindowWidth: number;
|
|
28
|
-
private breadcrumbsNavRef?;
|
|
29
|
-
private lastItem;
|
|
30
|
-
validateHomeUrl(): void;
|
|
31
|
-
validateTextHome(): void;
|
|
32
|
-
validateTextBreadcrumbs(): void;
|
|
33
|
-
validateTextMoreItems(): void;
|
|
23
|
+
componentWillLoad(): void;
|
|
34
24
|
componentDidLoad(): void;
|
|
35
25
|
disconnectedCallback(): void;
|
|
36
|
-
private
|
|
37
|
-
private
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
private
|
|
26
|
+
private createMutationObserver;
|
|
27
|
+
private createResizeObserver;
|
|
28
|
+
/**
|
|
29
|
+
* To measure overflow, we duplicate the entire breadcrumb so an inline version is always available.
|
|
30
|
+
*/
|
|
31
|
+
private duplicateNavElement;
|
|
32
|
+
private duplicateSlottedElements;
|
|
33
|
+
private checkOverflow;
|
|
34
|
+
private prepareBreadcrumbItemsForClone;
|
|
35
|
+
private updateBreadcrumbItemProps;
|
|
36
|
+
private renderMenu;
|
|
42
37
|
render(): any;
|
|
43
38
|
}
|
|
44
|
-
export {};
|
|
@@ -9,17 +9,14 @@ export declare class PostClosebutton {
|
|
|
9
9
|
* The "type" attribute used for the close button
|
|
10
10
|
*/
|
|
11
11
|
buttonType?: ButtonType;
|
|
12
|
-
validateButtonType(): void;
|
|
13
12
|
/**
|
|
14
13
|
* Defines whether the close button is positioned automatically by the component or left unpositioned for manual styling.
|
|
15
14
|
*/
|
|
16
15
|
placement: Placement;
|
|
17
|
-
validatePlacement(): void;
|
|
18
16
|
/**
|
|
19
17
|
* The size of the close button.
|
|
20
18
|
*/
|
|
21
19
|
size: Size;
|
|
22
|
-
validateSize(): void;
|
|
23
20
|
componentDidLoad(): void;
|
|
24
21
|
connectedCallback(): void;
|
|
25
22
|
disconnectedCallback(): void;
|
|
@@ -8,7 +8,6 @@ export declare class PostCollapsible {
|
|
|
8
8
|
* If `true`, the element is collapsed otherwise it is displayed.
|
|
9
9
|
*/
|
|
10
10
|
collapsed?: boolean;
|
|
11
|
-
collapsedChange(): void;
|
|
12
11
|
/**
|
|
13
12
|
* An event emitted when the collapse element is shown or hidden, before the transition.
|
|
14
13
|
*
|
|
@@ -24,7 +23,7 @@ export declare class PostCollapsible {
|
|
|
24
23
|
*/
|
|
25
24
|
toggle(shouldExpand?: boolean): Promise<boolean>;
|
|
26
25
|
/**
|
|
27
|
-
* Update all post-collapsible-trigger elements referring to the collapsible
|
|
26
|
+
* Update all post-collapsible-trigger elements referring to or wrapping the collapsible
|
|
28
27
|
*/
|
|
29
28
|
private updateTriggers;
|
|
30
29
|
render(): any;
|
|
@@ -4,13 +4,10 @@ export declare class PostCollapsibleTrigger {
|
|
|
4
4
|
private root?;
|
|
5
5
|
host: HTMLPostCollapsibleTriggerElement;
|
|
6
6
|
/**
|
|
7
|
-
* Link the trigger to a post-collapsible
|
|
7
|
+
* Link the trigger to a post-collapsible by its ID.
|
|
8
|
+
* If omitted, a post-collapsible nested directly inside this element is used instead.
|
|
8
9
|
*/
|
|
9
|
-
for
|
|
10
|
-
/**
|
|
11
|
-
* Set the "aria-controls" and "aria-expanded" attributes on the trigger to match the state of the controlled post-collapsible
|
|
12
|
-
*/
|
|
13
|
-
validateAriaAttributes(): void;
|
|
10
|
+
for?: string;
|
|
14
11
|
constructor();
|
|
15
12
|
/**
|
|
16
13
|
* Initiate a mutation observer that updates the trigger whenever necessary
|
|
@@ -28,23 +28,19 @@ export declare class PostDatePicker {
|
|
|
28
28
|
* Must be a valid date in ISO 8601 format (YYYY-MM-DD).
|
|
29
29
|
*/
|
|
30
30
|
selectedStartDate?: string;
|
|
31
|
-
validateSelectedStartDate(): void;
|
|
32
31
|
/**
|
|
33
32
|
* The date picker's selected end date (for range date picker only).
|
|
34
33
|
* Must be a valid date in ISO 8601 format (YYYY-MM-DD).
|
|
35
34
|
*/
|
|
36
35
|
selectedEndDate?: string;
|
|
37
|
-
validateSelectedEndDate(): void;
|
|
38
36
|
/**
|
|
39
37
|
* Minimun possible date to select. Must be a valid date in ISO 8601 format (YYYY-MM-DD).
|
|
40
38
|
*/
|
|
41
39
|
min?: string;
|
|
42
|
-
validateMin(): void;
|
|
43
40
|
/**
|
|
44
41
|
* Maximum possible date to select. Must be a valid date in ISO 8601 format (YYYY-MM-DD).
|
|
45
42
|
*/
|
|
46
43
|
max?: string;
|
|
47
|
-
validateMax(): void;
|
|
48
44
|
/**
|
|
49
45
|
* Used to extend the existing on render cell to disable dates.
|
|
50
46
|
*/
|
|
@@ -58,43 +54,35 @@ export declare class PostDatePicker {
|
|
|
58
54
|
* Label for "Next month" button.
|
|
59
55
|
*/
|
|
60
56
|
textNextMonth: string;
|
|
61
|
-
validateTextNextMonth(): void;
|
|
62
57
|
/**
|
|
63
58
|
* Label for "Next year" button.
|
|
64
59
|
*/
|
|
65
60
|
textNextYear: string;
|
|
66
|
-
validateTextNextYear(): void;
|
|
67
61
|
/**
|
|
68
62
|
* Label for "Next decade" button.
|
|
69
63
|
*/
|
|
70
64
|
textNextDecade: string;
|
|
71
|
-
validateTextNextDecade(): void;
|
|
72
65
|
/**
|
|
73
66
|
* Label for "Previous month" button.
|
|
74
67
|
*/
|
|
75
68
|
textPreviousMonth: string;
|
|
76
|
-
validateTextPreviousMonth(): void;
|
|
77
69
|
/**
|
|
78
70
|
* Label for "Previous year" button.
|
|
79
71
|
*/
|
|
80
72
|
textPreviousYear: string;
|
|
81
|
-
validateTextPreviousYear(): void;
|
|
82
73
|
/**
|
|
83
74
|
* Label for "Previous decade" button.
|
|
84
75
|
*/
|
|
85
76
|
textPreviousDecade: string;
|
|
86
|
-
validateTextPreviousDecade(): void;
|
|
87
77
|
/**
|
|
88
78
|
* Label for the "Switch to year view" title button.
|
|
89
79
|
*/
|
|
90
80
|
textSwitchYear: string;
|
|
91
|
-
validateTextSwitchYear(): void;
|
|
92
81
|
/**
|
|
93
82
|
* Label for the toggle button that opens the calendar.
|
|
94
83
|
* It is only needed when the calendar is connected to the input.
|
|
95
84
|
*/
|
|
96
85
|
textToggleCalendar?: string;
|
|
97
|
-
validateTextToggleCalendar(): void;
|
|
98
86
|
inputDisabled: boolean;
|
|
99
87
|
today: Date;
|
|
100
88
|
startDate: Date;
|
|
@@ -35,12 +35,10 @@ export declare class PostHeader {
|
|
|
35
35
|
* Makes the header content span the full width on screens larger than 1440px.
|
|
36
36
|
*/
|
|
37
37
|
fullWidth: boolean;
|
|
38
|
-
validateFullWidth(): void;
|
|
39
38
|
/**
|
|
40
39
|
* The label of the burger menu button.
|
|
41
40
|
*/
|
|
42
41
|
textMenu: string;
|
|
43
|
-
validateTextMenu(): void;
|
|
44
42
|
lockBody(newValue: boolean | string, _oldValue: boolean | string, propName: string): void;
|
|
45
43
|
constructor();
|
|
46
44
|
private readonly breakpointChange;
|
|
@@ -8,12 +8,10 @@ export declare class PostIcon {
|
|
|
8
8
|
* The name of the animation.
|
|
9
9
|
*/
|
|
10
10
|
readonly animation?: PostIconAnimation;
|
|
11
|
-
validateAnimation(): void;
|
|
12
11
|
/**
|
|
13
12
|
* The base path, where the icons are located (must be a public url).<br/>Leave this field empty to use the default cdn url.
|
|
14
13
|
*/
|
|
15
14
|
readonly base?: string;
|
|
16
|
-
validateBase(): void;
|
|
17
15
|
/**
|
|
18
16
|
* A full URL to the icon file. When set, this property has the highest priority.
|
|
19
17
|
*/
|
|
@@ -30,17 +28,14 @@ export declare class PostIcon {
|
|
|
30
28
|
* The name/id of the icon (e.g. 1000, 1001, ...).
|
|
31
29
|
*/
|
|
32
30
|
readonly name: string;
|
|
33
|
-
validateName(): void;
|
|
34
31
|
/**
|
|
35
32
|
* The number of degree for the css rotate transformation.
|
|
36
33
|
*/
|
|
37
34
|
readonly rotate?: number;
|
|
38
|
-
validateRotate(): void;
|
|
39
35
|
/**
|
|
40
36
|
* The number for the css scale transformation.
|
|
41
37
|
*/
|
|
42
38
|
readonly scale?: number;
|
|
43
|
-
validateScale(): void;
|
|
44
39
|
/**
|
|
45
40
|
* Construct the icon URL according to the following rules:
|
|
46
41
|
* 1. `@base` (absolute URL) → use directly.
|
|
@@ -54,6 +49,5 @@ export declare class PostIcon {
|
|
|
54
49
|
**/
|
|
55
50
|
private getUrl;
|
|
56
51
|
private getStyles;
|
|
57
|
-
componentDidLoad(): void;
|
|
58
52
|
render(): any;
|
|
59
53
|
}
|
|
@@ -9,17 +9,15 @@ export declare class PostLanguageMenu {
|
|
|
9
9
|
* A title for the list of language options
|
|
10
10
|
*/
|
|
11
11
|
textChangeLanguage: string;
|
|
12
|
-
validateTextChangeLanguage(): void;
|
|
13
12
|
/**
|
|
14
13
|
* An accessible description text for the list of language options. The `#name` placeholder is dynamic and will be replaced with the active language name.
|
|
15
14
|
*/
|
|
16
15
|
textCurrentLanguage: string;
|
|
17
|
-
validateTextCurrentLanguage(): void;
|
|
18
16
|
/**
|
|
19
17
|
* Whether the component is rendered as a list or a menu
|
|
20
18
|
*/
|
|
21
19
|
variant: SwitchVariant;
|
|
22
|
-
|
|
20
|
+
handleVariantChange(): void;
|
|
23
21
|
/**
|
|
24
22
|
* The active language code of the language menu
|
|
25
23
|
*/
|
|
@@ -9,7 +9,6 @@ export declare class PostLanguageMenuItem {
|
|
|
9
9
|
* The ISO 639 language code, formatted according to [RFC 5646 (also known as BCP 47)](https://datatracker.ietf.org/doc/html/rfc5646). For example, "de".
|
|
10
10
|
*/
|
|
11
11
|
code: string;
|
|
12
|
-
validateCode(): void;
|
|
13
12
|
/**
|
|
14
13
|
* If set to `true`, the language option is considered the current language for the page.
|
|
15
14
|
*/
|
|
@@ -18,23 +17,19 @@ export declare class PostLanguageMenuItem {
|
|
|
18
17
|
* 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.
|
|
19
18
|
*/
|
|
20
19
|
variant?: SwitchVariant;
|
|
21
|
-
validateVariant(): void;
|
|
22
20
|
/**
|
|
23
21
|
* The full name of the language. For example, "Deutsch".
|
|
24
22
|
*/
|
|
25
23
|
name?: string;
|
|
26
|
-
validateName(): void;
|
|
27
24
|
/**
|
|
28
25
|
* A description for the language read by screen-readers for improved accessibility.
|
|
29
26
|
*/
|
|
30
27
|
description?: string;
|
|
31
|
-
validateDescription(): void;
|
|
32
28
|
/**
|
|
33
29
|
* The URL used for the href attribute of the internal anchor.
|
|
34
30
|
* This field is optional; if not provided, a button will be used internally instead of an anchor.
|
|
35
31
|
*/
|
|
36
32
|
url?: string;
|
|
37
|
-
validateUrl(): void;
|
|
38
33
|
componentDidLoad(): void;
|
|
39
34
|
/**
|
|
40
35
|
* An event emitted when the language option is clicked. The payload is the ISO 639 code of the language.
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
/**
|
|
3
|
-
* @slot
|
|
4
|
-
* @slot
|
|
3
|
+
* @slot user-links - Links to show in the user menu when the user is authenticated.
|
|
4
|
+
* @slot login-link - Content rendered when the user is not authenticated.
|
|
5
5
|
*/
|
|
6
6
|
export declare class PostLoginWidget {
|
|
7
|
+
host: HTMLPostLoginWidgetElement;
|
|
7
8
|
/**
|
|
8
9
|
* Emitted when the authentication state changes.
|
|
9
10
|
* The event payload is an object with an `authenticated` property:
|
|
@@ -12,7 +13,21 @@ export declare class PostLoginWidget {
|
|
|
12
13
|
postChange: EventEmitter<{
|
|
13
14
|
authenticated: boolean;
|
|
14
15
|
}>;
|
|
16
|
+
/**
|
|
17
|
+
* Label for the "Current user is {user}" accessibility description.
|
|
18
|
+
* Use `{user}` as a placeholder — it will be replaced with the current user's name at runtime.
|
|
19
|
+
*/
|
|
20
|
+
textCurrentUser: string;
|
|
21
|
+
/**
|
|
22
|
+
* Accessible label for the dropdown menu
|
|
23
|
+
*/
|
|
24
|
+
textUserMenu: string;
|
|
25
|
+
/**
|
|
26
|
+
* Hidden label for the user menu trigger button, for accessibility purposes. It should describe the purpose of the button (e.g. "Access user links").
|
|
27
|
+
*/
|
|
28
|
+
textUserMenuTrigger: string;
|
|
15
29
|
private authenticated;
|
|
30
|
+
private user;
|
|
16
31
|
componentWillLoad(): Promise<void>;
|
|
17
32
|
/**
|
|
18
33
|
* Returns the current authentication state:
|
|
@@ -11,7 +11,6 @@ export declare class PostMainnavigation {
|
|
|
11
11
|
* 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.
|
|
12
12
|
*/
|
|
13
13
|
textMain: string;
|
|
14
|
-
validateTextMain(): void;
|
|
15
14
|
constructor();
|
|
16
15
|
componentDidLoad(): void;
|
|
17
16
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
1
|
import { Device } from "../../utils/breakpoints";
|
|
2
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
3
3
|
export declare class PostMegadropdown {
|
|
4
4
|
private firstFocusableEl;
|
|
5
5
|
private lastFocusableEl;
|
|
@@ -15,12 +15,10 @@ export declare class PostMegadropdown {
|
|
|
15
15
|
* An accessible label for the close button visible on desktop
|
|
16
16
|
*/
|
|
17
17
|
textClose: string;
|
|
18
|
-
validateTextClose(): void;
|
|
19
18
|
/**
|
|
20
19
|
* A label for the back button visible on tablet and mobile
|
|
21
20
|
*/
|
|
22
21
|
textBack: string;
|
|
23
|
-
validateTextBack(): void;
|
|
24
22
|
device: Device;
|
|
25
23
|
/**
|
|
26
24
|
* Holds the current visibility state of the dropdown.
|
|
@@ -12,9 +12,7 @@ export declare class PostMegadropdownTrigger {
|
|
|
12
12
|
* ID of the mega dropdown element that this trigger is linked to. Used to open and close the specified mega dropdown.
|
|
13
13
|
*/
|
|
14
14
|
for: string;
|
|
15
|
-
validateFor(): void;
|
|
16
15
|
componentWillRender(): void;
|
|
17
|
-
componentDidLoad(): void;
|
|
18
16
|
disconnectedCallback(): void;
|
|
19
17
|
onMegadropdownToggled(event: CustomEvent<{
|
|
20
18
|
isVisible: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Placement } from '@floating-ui/dom';
|
|
1
2
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { Placement } from '@floating-ui/dom';
|
|
3
3
|
/**
|
|
4
4
|
* @part post-menu - The container element that holds the list of menu items.
|
|
5
5
|
* @slot header - Holds the header part of the menu.
|
|
@@ -15,12 +15,10 @@ export declare class PostMenu {
|
|
|
15
15
|
* For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
|
|
16
16
|
*/
|
|
17
17
|
readonly placement?: Placement;
|
|
18
|
-
validatePlacement(): void;
|
|
19
18
|
/**
|
|
20
19
|
* A descriptive label that clearly identifies the menu’s content so assistive technologies can convey its purpose.
|
|
21
20
|
*/
|
|
22
21
|
readonly label: string;
|
|
23
|
-
validateLabel(): void;
|
|
24
22
|
/**
|
|
25
23
|
* Holds the current visibility state of the menu.
|
|
26
24
|
* This state is internally managed to track whether the menu is open (`true`) or closed (`false`),
|
|
@@ -35,7 +33,6 @@ export declare class PostMenu {
|
|
|
35
33
|
private root?;
|
|
36
34
|
connectedCallback(): void;
|
|
37
35
|
disconnectedCallback(): void;
|
|
38
|
-
componentDidLoad(): void;
|
|
39
36
|
/**
|
|
40
37
|
* Toggles the menu visibility based on its current state.
|
|
41
38
|
*/
|
|
@@ -52,28 +52,11 @@ export declare class PostPagination {
|
|
|
52
52
|
private loaded;
|
|
53
53
|
private debouncedResize;
|
|
54
54
|
private measurementTimeoutId;
|
|
55
|
-
validatePage(): void;
|
|
56
|
-
validatePageSize(): void;
|
|
57
|
-
validateCollectionSize(): void;
|
|
58
|
-
validateLabel(): void;
|
|
59
|
-
validateTextPrevious(): void;
|
|
60
|
-
validateTextNext(): void;
|
|
61
|
-
validateTextPage(): void;
|
|
62
|
-
validateTextFirst(): void;
|
|
63
|
-
validateTextLast(): void;
|
|
64
55
|
handlePropsChange(): void;
|
|
65
56
|
componentWillLoad(): void;
|
|
66
57
|
connectedCallback(): void;
|
|
67
58
|
componentDidLoad(): void;
|
|
68
59
|
disconnectedCallback(): void;
|
|
69
|
-
/**
|
|
70
|
-
* Validate a prop with the appropriate check function
|
|
71
|
-
*/
|
|
72
|
-
private validateProp;
|
|
73
|
-
/**
|
|
74
|
-
* Run all prop validations
|
|
75
|
-
*/
|
|
76
|
-
private runAllValidations;
|
|
77
60
|
/**
|
|
78
61
|
* Schedule measurement attempt with timeout
|
|
79
62
|
*/
|
|
@@ -11,17 +11,14 @@ export declare class PostPopover {
|
|
|
11
11
|
* For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
|
|
12
12
|
*/
|
|
13
13
|
readonly placement?: Placement;
|
|
14
|
-
validatePlacement(): void;
|
|
15
14
|
/**
|
|
16
15
|
* Define the text of the close button for assistive technology
|
|
17
16
|
*/
|
|
18
17
|
readonly textClose: string;
|
|
19
|
-
validateTextClose(): void;
|
|
20
18
|
/**
|
|
21
19
|
* Show a little indicator arrow
|
|
22
20
|
*/
|
|
23
21
|
readonly arrow?: boolean;
|
|
24
|
-
componentDidLoad(): void;
|
|
25
22
|
/**
|
|
26
23
|
* Programmatically display the popover
|
|
27
24
|
* @param target A focusable element inside the <post-popover-trigger> component that controls the popover
|
|
@@ -17,7 +17,6 @@ export declare class PostPopoverTrigger {
|
|
|
17
17
|
* Watch for changes to the `for` property to validate its type and ensure it is a string.
|
|
18
18
|
* @param forValue - The new value of the `for` property.
|
|
19
19
|
*/
|
|
20
|
-
validateFor(): void;
|
|
21
20
|
/**
|
|
22
21
|
* Reference to the element inside the host that will act as the trigger.
|
|
23
22
|
*/
|
|
@@ -76,9 +76,6 @@ export declare class PostPopovercontainer {
|
|
|
76
76
|
* Enables a safespace through which the cursor can be moved without the popover being disabled
|
|
77
77
|
*/
|
|
78
78
|
readonly safeSpace?: 'triangle' | 'trapezoid';
|
|
79
|
-
validatePlacement(): void;
|
|
80
|
-
validateEdgeGap(): void;
|
|
81
|
-
validateSafeSpace(): void;
|
|
82
79
|
/**
|
|
83
80
|
* Animation style
|
|
84
81
|
*/
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class PostProgressbar {
|
|
2
|
+
host: HTMLPostProgressbarElement;
|
|
3
|
+
/**
|
|
4
|
+
* The minimum value of the progress bar.
|
|
5
|
+
* Must be a valid floating point number less than max.
|
|
6
|
+
*/
|
|
7
|
+
min: number;
|
|
8
|
+
/**
|
|
9
|
+
* Describes how much work the task indicated by the progress element requires.
|
|
10
|
+
* Must be a valid floating point number greater than min.
|
|
11
|
+
*/
|
|
12
|
+
max: number;
|
|
13
|
+
/**
|
|
14
|
+
* Specifies how much of the task has been completed.
|
|
15
|
+
* Must be a valid floating point number between min and max.
|
|
16
|
+
* If there is no value attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take.
|
|
17
|
+
*/
|
|
18
|
+
value?: number;
|
|
19
|
+
private getEffectiveMin;
|
|
20
|
+
private getEffectiveMax;
|
|
21
|
+
private getEffectiveValue;
|
|
22
|
+
render(): any;
|
|
23
|
+
}
|
|
@@ -34,10 +34,6 @@ export declare class PostRating {
|
|
|
34
34
|
postChange: EventEmitter<{
|
|
35
35
|
value: number;
|
|
36
36
|
}>;
|
|
37
|
-
validateLabel(): void;
|
|
38
|
-
validateStars(): void;
|
|
39
|
-
validateCurrentRating(): void;
|
|
40
|
-
componentWillLoad(): void;
|
|
41
37
|
constructor();
|
|
42
38
|
private update;
|
|
43
39
|
private keydownHandler;
|
|
@@ -13,18 +13,15 @@ export declare class PostStepper {
|
|
|
13
13
|
* "Current step" label for accessibility
|
|
14
14
|
*/
|
|
15
15
|
textCurrentStep: string;
|
|
16
|
-
validateTextCurrentStep(): void;
|
|
17
16
|
/**
|
|
18
17
|
* "Completed step" label for accessibility
|
|
19
18
|
*/
|
|
20
19
|
textCompletedStep: string;
|
|
21
|
-
validateTextCompletedStep(): void;
|
|
22
20
|
/**
|
|
23
21
|
* Label for the "Step {number}:" indicator for mobile view.
|
|
24
22
|
* Use `{number}` as a placeholder — it will be replaced with the current step number at runtime.
|
|
25
23
|
*/
|
|
26
24
|
textStepNumber: string;
|
|
27
|
-
validateTextStepNumber(): void;
|
|
28
25
|
/**
|
|
29
26
|
* Defines the current step, which is the next step the user has to complete.
|
|
30
27
|
*/
|
|
@@ -36,9 +33,9 @@ export declare class PostStepper {
|
|
|
36
33
|
*/
|
|
37
34
|
selectedIndex?: number;
|
|
38
35
|
validateSelectedIndex(): void;
|
|
36
|
+
updateActiveStepNumber(): void;
|
|
39
37
|
componentDidLoad(): void;
|
|
40
38
|
private checkIndexes;
|
|
41
|
-
private updateActiveStepNumber;
|
|
42
39
|
private updateSteps;
|
|
43
40
|
private updateMobileActiveStepVisibility;
|
|
44
41
|
render(): any;
|
|
@@ -10,7 +10,6 @@ export declare class PostTabItem {
|
|
|
10
10
|
* The name of the tab, used to associate it with a tab panel or identify the active tab in panel mode.
|
|
11
11
|
*/
|
|
12
12
|
readonly name: string;
|
|
13
|
-
validateName(): void;
|
|
14
13
|
connectedCallback(): void;
|
|
15
14
|
componentWillLoad(): void;
|
|
16
15
|
disconnectedCallback(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Placement } from '@floating-ui/dom';
|
|
1
|
+
import type { Placement } from '@floating-ui/dom';
|
|
2
2
|
export declare class PostTooltip {
|
|
3
3
|
private popoverRef;
|
|
4
4
|
host: HTMLPostTooltipElement;
|
|
@@ -8,7 +8,6 @@ export declare class PostTooltip {
|
|
|
8
8
|
* For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
|
|
9
9
|
*/
|
|
10
10
|
readonly placement?: Placement;
|
|
11
|
-
validatePlacement(): void;
|
|
12
11
|
/**
|
|
13
12
|
* Whether or not to display a little pointer arrow
|
|
14
13
|
*/
|
|
@@ -17,7 +16,6 @@ export declare class PostTooltip {
|
|
|
17
16
|
* Indicates the open state of the tooltip
|
|
18
17
|
*/
|
|
19
18
|
open: boolean;
|
|
20
|
-
componentWillLoad(): void;
|
|
21
19
|
componentDidLoad(): void;
|
|
22
20
|
/**
|
|
23
21
|
* Programmatically display the tooltip.
|
|
@@ -25,8 +25,8 @@ export declare class PostTooltipTrigger {
|
|
|
25
25
|
private boundTriggerHandler;
|
|
26
26
|
private boundTooltipHandler;
|
|
27
27
|
constructor();
|
|
28
|
-
validateControlFor(): void;
|
|
29
28
|
private get tooltip();
|
|
29
|
+
componentWillLoad(): void;
|
|
30
30
|
componentDidLoad(): void;
|
|
31
31
|
disconnectedCallback(): void;
|
|
32
32
|
private handleSlotChange;
|