@swisspost/design-system-components 10.5.0 → 10.6.0
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/README.md +2 -2
- package/dist/cjs/{create-validator-decorator-u-Byhihe.js → create-validator-decorator-Cy5yN6u9.js} +1 -1
- package/dist/cjs/{index-CXnlZiX8.js → index-B3PXzvDk.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{one-of-LGG0uEIi.js → one-of-CRFrfihj.js} +1 -1
- package/dist/cjs/{package-DdU-rENe.js → package-pKyFPwiA.js} +1 -1
- package/dist/cjs/{pattern-B-csvfNt.js → pattern-D329DFcf.js} +1 -1
- package/dist/cjs/post-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/post-autocomplete.cjs.entry.js +5 -5
- package/dist/cjs/post-avatar.cjs.entry.js +6 -6
- package/dist/cjs/post-back-to-top.cjs.entry.js +5 -5
- package/dist/cjs/post-banner.cjs.entry.js +4 -4
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +32 -10
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +158 -58
- package/dist/cjs/post-closebutton_14.cjs.entry.js +49 -45
- package/dist/cjs/post-collapsible_2.cjs.entry.js +7 -7
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-date-picker.cjs.entry.js +17 -15
- package/dist/cjs/post-footer.cjs.entry.js +7 -7
- 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 +3 -3
- package/dist/cjs/post-number-input.cjs.entry.js +4 -4
- package/dist/cjs/post-pagination.cjs.entry.js +5 -5
- package/dist/cjs/post-popover-trigger.cjs.entry.js +6 -6
- package/dist/cjs/post-popover.cjs.entry.js +9 -9
- package/dist/cjs/post-progressbar.cjs.entry.js +4 -4
- package/dist/cjs/post-rating.cjs.entry.js +6 -6
- package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +6 -6
- package/dist/cjs/post-side-navigation.cjs.entry.js +7 -7
- package/dist/cjs/post-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/post-stepper.cjs.entry.js +7 -7
- package/dist/cjs/post-tab-item.cjs.entry.js +6 -6
- package/dist/cjs/post-tab-panel.cjs.entry.js +6 -6
- package/dist/cjs/post-tabs.cjs.entry.js +8 -8
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +7 -7
- package/dist/cjs/post-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/{required-bJzxBV-V.js → required-DhAEd0c7.js} +1 -1
- package/dist/cjs/{type-CGPnqGY1.js → type-2Ma9dvHs.js} +1 -1
- package/dist/cjs/{url-Dxdd6tWj.js → url-DePscsTj.js} +1 -1
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.css +1 -1
- package/dist/collection/components/post-breadcrumb-item/post-breadcrumb-item.js +30 -3
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.js +184 -57
- package/dist/collection/components/post-closebutton/post-closebutton.js +1 -1
- package/dist/collection/components/post-collapsible/post-collapsible.js +1 -1
- package/dist/collection/components/post-collapsible-trigger/post-collapsible-trigger.js +2 -2
- package/dist/collection/components/post-date-picker/native-mask-element.js +1 -1
- package/dist/collection/components/post-date-picker/post-date-picker.js +11 -9
- package/dist/collection/components/post-footer/post-footer.js +2 -2
- package/dist/collection/components/post-header/post-header.js +2 -2
- package/dist/collection/components/post-icon/post-icon.js +1 -1
- package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
- package/dist/collection/components/post-listbox/post-listbox.js +1 -1
- package/dist/collection/components/post-listbox-option/post-listbox-option.js +2 -2
- package/dist/collection/components/post-logo/post-logo.js +1 -1
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +1 -1
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +3 -3
- package/dist/collection/components/post-megadropdown-trigger/post-megadropdown-trigger.js +1 -1
- package/dist/collection/components/post-menu/post-menu.js +1 -1
- package/dist/collection/components/post-menu-item/post-menu-item.css +1 -1
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +1 -1
- package/dist/collection/components/post-number-input/post-number-input.js +2 -2
- package/dist/collection/components/post-popover/post-popover.js +3 -3
- package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +2 -2
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +26 -22
- package/dist/collection/components/post-progressbar/post-progressbar.js +1 -1
- package/dist/collection/components/post-rating/post-rating.js +1 -1
- package/dist/collection/components/post-side-navigation/post-side-navigation.js +1 -1
- package/dist/collection/components/post-side-navigation-trigger/post-side-navigation-trigger.js +1 -1
- package/dist/collection/components/post-stepper/post-stepper.js +1 -1
- package/dist/collection/components/post-stepper-item/post-stepper-item.js +1 -1
- package/dist/collection/components/post-tab-item/post-tab-item.js +2 -2
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +1 -1
- package/dist/collection/components/post-tabs/post-tabs.css +1 -1
- package/dist/collection/components/post-tabs/post-tabs.js +2 -2
- 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 +2 -2
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/components/package.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-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-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-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.js +1 -1
- package/dist/components/post-rating.js +1 -1
- package/dist/components/post-side-navigation-trigger.js +1 -1
- package/dist/components/post-side-navigation.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-CoCua20S.js → p-3RU9XwVO.js} +1 -1
- package/dist/components/react/p-B1TcktiB.js +1 -0
- package/dist/components/react/p-BN2dfUQ0.js +1 -0
- package/dist/components/react/{p-CuVhOs8F.js → p-BPUhha1U.js} +1 -1
- package/dist/components/react/{p-PYoaz_Xl.js → p-Bnb_TyDh.js} +1 -1
- package/dist/components/react/{p-CLeWLMJn.js → p-CcDLIogT.js} +1 -1
- package/dist/components/react/{p-DD-Sl3Ji.js → p-CdggfEzz.js} +1 -1
- package/dist/components/react/{p-DasK590W.js → p-CzsG0uCA.js} +1 -1
- package/dist/components/react/{p-C8vlYfD-.js → p-DffT6evQ.js} +1 -1
- package/dist/components/react/p-T8T3po4z.js +1 -0
- package/dist/components/react/{p-DiFAKI9o.js → p-WXzzOdnl.js} +1 -1
- package/dist/components/react/{p-D3rq_-Qk.js → p-m1-sOx5T.js} +1 -1
- 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-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.js +1 -1
- package/dist/components/react/post-rating.js +1 -1
- package/dist/components/react/post-side-navigation-trigger.js +1 -1
- package/dist/components/react/post-side-navigation.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/docs.json +57 -12
- package/dist/esm/{create-validator-decorator-CbYxqPSB.js → create-validator-decorator-C2XlYkNB.js} +1 -1
- package/dist/esm/{index-D3NdvMgy.js → index-BjziJWh2.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{one-of-Mx4vYjem.js → one-of-Do1iao-k.js} +1 -1
- package/dist/esm/{package-Ny5VnydI.js → package-T8T3po4z.js} +1 -1
- package/dist/esm/{pattern-CqQVrJPN.js → pattern-BZDucOTq.js} +1 -1
- package/dist/esm/post-accordion_2.entry.js +5 -5
- package/dist/esm/post-autocomplete.entry.js +5 -5
- package/dist/esm/post-avatar.entry.js +6 -6
- package/dist/esm/post-back-to-top.entry.js +5 -5
- package/dist/esm/post-banner.entry.js +4 -4
- package/dist/esm/post-breadcrumb-item.entry.js +32 -10
- package/dist/esm/post-breadcrumbs.entry.js +158 -58
- package/dist/esm/post-closebutton_14.entry.js +49 -45
- package/dist/esm/post-collapsible_2.entry.js +7 -7
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-date-picker.entry.js +17 -15
- package/dist/esm/post-footer.entry.js +7 -7
- 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 +3 -3
- package/dist/esm/post-number-input.entry.js +4 -4
- package/dist/esm/post-pagination.entry.js +5 -5
- package/dist/esm/post-popover-trigger.entry.js +6 -6
- package/dist/esm/post-popover.entry.js +9 -9
- package/dist/esm/post-progressbar.entry.js +4 -4
- package/dist/esm/post-rating.entry.js +6 -6
- package/dist/esm/post-side-navigation-trigger.entry.js +6 -6
- package/dist/esm/post-side-navigation.entry.js +7 -7
- package/dist/esm/post-stepper-item.entry.js +3 -3
- package/dist/esm/post-stepper.entry.js +7 -7
- package/dist/esm/post-tab-item.entry.js +6 -6
- package/dist/esm/post-tab-panel.entry.js +6 -6
- package/dist/esm/post-tabs.entry.js +8 -8
- package/dist/esm/post-tooltip-trigger.entry.js +7 -7
- package/dist/esm/post-tooltip.entry.js +5 -5
- package/dist/esm/{required-CxvSCYJj.js → required-B0X7uy13.js} +1 -1
- package/dist/esm/{type-CYB7_Yi8.js → type-CF1dOg6D.js} +1 -1
- package/dist/esm/{url-DOwgyBfp.js → url-BL7d6iWZ.js} +1 -1
- package/dist/post-components/{p-4e2bb082.entry.js → p-0e922531.entry.js} +1 -1
- package/dist/post-components/{p-e8c19f72.entry.js → p-1ec27142.entry.js} +1 -1
- package/dist/post-components/{p-ffec1880.entry.js → p-2005eb98.entry.js} +1 -1
- package/dist/post-components/{p-894b20dd.entry.js → p-2cff5b3a.entry.js} +1 -1
- package/dist/post-components/p-53bd2128.entry.js +1 -0
- package/dist/post-components/{p-2379e498.entry.js → p-59b30e90.entry.js} +1 -1
- package/dist/post-components/{p-a9223467.entry.js → p-60550edb.entry.js} +1 -1
- package/dist/post-components/p-655ded00.entry.js +1 -0
- package/dist/post-components/{p-030bfaa1.entry.js → p-76cc3c9a.entry.js} +1 -1
- package/dist/post-components/{p-44718c1a.entry.js → p-8012cc3b.entry.js} +1 -1
- package/dist/post-components/{p-1d67c427.entry.js → p-819c93de.entry.js} +1 -1
- package/dist/post-components/p-840acd3c.entry.js +1 -0
- package/dist/post-components/{p-781efeb8.entry.js → p-87b1034f.entry.js} +1 -1
- package/dist/post-components/{p-e8268a8d.entry.js → p-88f754e9.entry.js} +1 -1
- package/dist/post-components/p-9S_5_Zh8.js +1 -0
- package/dist/post-components/p-BYfu3J2D.js +1 -0
- package/dist/post-components/p-BjziJWh2.js +2 -0
- package/dist/post-components/p-BoYe-VVx.js +1 -0
- package/dist/post-components/p-CbbADNiv.js +1 -0
- package/dist/post-components/{p-sgCfAEQU.js → p-DgnQe03V.js} +1 -1
- package/dist/post-components/p-DlKbBdcP.js +1 -0
- package/dist/post-components/p-T8T3po4z.js +1 -0
- package/dist/post-components/{p-2cb843f4.entry.js → p-a32d3050.entry.js} +1 -1
- package/dist/post-components/p-b4229624.entry.js +1 -0
- package/dist/post-components/{p-2ee255c1.entry.js → p-b9faa76b.entry.js} +1 -1
- package/dist/post-components/{p-b856263a.entry.js → p-ba1b4ba0.entry.js} +1 -1
- package/dist/post-components/p-c0ae13b7.entry.js +1 -0
- package/dist/post-components/p-c9dcdebb.entry.js +1 -0
- package/dist/post-components/{p-5a44b217.entry.js → p-ccf8020b.entry.js} +1 -1
- package/dist/post-components/p-cd68d3a2.entry.js +1 -0
- package/dist/post-components/p-cdc7b8d3.entry.js +1 -0
- package/dist/post-components/{p-e7f97f6d.entry.js → p-d7c9a969.entry.js} +1 -1
- package/dist/post-components/{p-9ad2216e.entry.js → p-db11f781.entry.js} +1 -1
- package/dist/post-components/p-dc285087.entry.js +1 -0
- package/dist/post-components/{p-b6e231a8.entry.js → p-de6f1816.entry.js} +1 -1
- package/dist/post-components/p-dec8bd99.entry.js +1 -0
- package/dist/post-components/{p-665d877f.entry.js → p-f9a8ee94.entry.js} +1 -1
- package/dist/post-components/post-components.css +2 -2
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-breadcrumb-item/post-breadcrumb-item.d.ts +8 -1
- package/dist/types/components/post-breadcrumbs/post-breadcrumbs.d.ts +39 -22
- package/dist/types/components.d.ts +18 -7
- package/hydrate/index.js +274 -137
- package/hydrate/index.mjs +274 -137
- package/package.json +28 -20
- package/dist/components/react/p-0nNMdSBr.js +0 -1
- package/dist/components/react/p-Ny5VnydI.js +0 -1
- package/dist/components/react/p-SBBBSmJM.js +0 -1
- package/dist/post-components/p-29e6c2a4.entry.js +0 -1
- package/dist/post-components/p-3a75186d.entry.js +0 -1
- package/dist/post-components/p-65e12f2c.entry.js +0 -1
- package/dist/post-components/p-795eb5ad.entry.js +0 -1
- package/dist/post-components/p-BmpkvdQk.js +0 -1
- package/dist/post-components/p-C-FunIfQ.js +0 -1
- package/dist/post-components/p-CCciE4QO.js +0 -1
- package/dist/post-components/p-D3NdvMgy.js +0 -2
- package/dist/post-components/p-Ny5VnydI.js +0 -1
- package/dist/post-components/p-X1vWfzMK.js +0 -1
- package/dist/post-components/p-c7a39444.entry.js +0 -1
- package/dist/post-components/p-cGcyMrvx.js +0 -1
- package/dist/post-components/p-cde00944.entry.js +0 -1
- package/dist/post-components/p-cf7493ab.entry.js +0 -1
- package/dist/post-components/p-e463e7ac.entry.js +0 -1
- package/dist/post-components/p-ecfc494e.entry.js +0 -1
- package/dist/post-components/p-eda4a376.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,g as t,b as a}from"./p-
|
|
1
|
+
import{p as e,g as t,b as a}from"./p-BjziJWh2.js";export{s as setNonce}from"./p-BjziJWh2.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await t(),a([["p-dec8bd99",[[257,"post-language-menu",{textChangeLanguage:[513,"text-change-language"],textCurrentLanguage:[513,"text-current-language"],variant:[513],activeLang:[32]},[[0,"postChange","handlePostChange"],[7,"scroll","hideMenuOnScroll"],[0,"postLanguageMenuItemInitiallyActive","handleInitiallyActive"]],{variant:[{handleVariantChange:0}]}],[257,"post-header",{fullWidth:[516,"full-width"],textMenu:[513,"text-menu"],device:[32],hasTitle:[32],hasMainNav:[32],hasLocalNav:[32],burgerMenuExtended:[32],megadropdownOpen:[32],toggleBurgerMenu:[64]},[[0,"focusin","onFocusChange"],[0,"focusout","onFocusChange"]],{device:[{lockBody:0}],burgerMenuExtended:[{lockBody:0}]}],[257,"post-megadropdown",{textClose:[513,"text-close"],textBack:[513,"text-back"],device:[32],isVisible:[32],trigger:[32],megadropdownTitle:[32],animationClass:[32],toggle:[64],show:[64],hide:[64],focusFirst:[64]}],[260,"post-language-menu-item",{code:[513],active:[1540],variant:[1],name:[1],description:[1],url:[1],select:[64]}],[257,"post-mainnavigation",{textMain:[513,"text-main"],canScrollLeft:[32],canScrollRight:[32]},[[9,"mouseup","stopScrolling"],[9,"mouseleave","stopScrolling"]]],[257,"post-megadropdown-trigger",{active:[516],for:[513],isMegadropdownExpanded:[32],slottedContent:[32]},[[4,"postToggleMegadropdown","onMegadropdownToggled"]]],[257,"post-logo",{url:[1]}],[257,"post-togglebutton",{toggled:[1028]}],[257,"post-menu",{placement:[1],label:[513],isVisible:[32],toggle:[64],show:[64],hide:[64]}],[257,"post-menu-trigger",{for:[513]}],[321,"post-closebutton",{buttonType:[1,"button-type"],placement:[513],size:[513]}],[0,"post-menu-item"],[257,"post-popovercontainer",{placement:[1],edgeGap:[2,"edge-gap"],offset:[2],arrow:[4],safeSpace:[513,"safe-space"],autoHide:[4,"auto-hide"],dynamicPlacement:[32],show:[64],hide:[64],toggle:[64]}],[1,"post-icon",{animation:[513],base:[1],url:[1],flipH:[516,"flip-h"],flipV:[516,"flip-v"],name:[513],rotate:[2],scale:[2]}]]],["p-53bd2128",[[257,"post-breadcrumbs",{homeUrl:[513,"home-url"],textHome:[513,"text-home"],homeTextOnly:[516,"home-text-only"],textBreadcrumbs:[513,"text-breadcrumbs"],textMoreItems:[513,"text-more-items"],id:[32],loaded:[32],hasSlottedHomeAnchor:[32],hasSlottedHomeIcon:[32],collapsed:[32],homeCollapsed:[32],lastItemWraps:[32]}]]],["p-de6f1816",[[257,"post-footer",{textFooter:[513,"text-footer"],device:[32],slotDisplayed:[32]}]]],["p-db11f781",[[257,"post-popover",{placement:[1],textClose:[513,"text-close"],arrow:[4],edgeGap:[32],show:[64],hide:[64],toggle:[64]}]]],["p-cd68d3a2",[[257,"post-date-picker",{locale:[1],range:[4],min:[1],max:[1],cellConfig:[16],inline:[4],textNextMonth:[513,"text-next-month"],textNextYear:[513,"text-next-year"],textNextDecade:[513,"text-next-decade"],textPreviousMonth:[513,"text-previous-month"],textPreviousYear:[513,"text-previous-year"],textPreviousDecade:[513,"text-previous-decade"],textSwitchYear:[513,"text-switch-year"],textToggleCalendar:[1,"text-toggle-calendar"],inputDisabled:[32],today:[32],startDate:[32],show:[64],hide:[64]},null,{locale:[{validateLocale:0},{updateLocale:0}],range:[{updateRange:0}],min:[{updateMin:0}],max:[{updateMax:0}],inline:[{validateInline:0}]}]]],["p-76cc3c9a",[[257,"post-side-navigation",{textClose:[513,"text-close"],size:[1],device:[32],toggle:[64],show:[64],hide:[64]}]]],["p-87b1034f",[[257,"post-autocomplete",{filterThreshold:[514,"filter-threshold"],clearable:[516],listbox:[513],textAvailableSuggestions:[513,"text-available-suggestions"],selectedValue:[32]}]]],["p-88f754e9",[[1,"post-back-to-top",{textBackToTop:[513,"text-back-to-top"],belowFold:[32]},null,{belowFold:[{watchBelowFold:0}]}]]],["p-c0ae13b7",[[257,"post-breadcrumb-item",{url:[513],label:[513],description:[513],variant:[513],selected:[516],standalone:[516],hasSlottedAnchor:[32]}]]],["p-2cff5b3a",[[257,"post-listbox",{show:[64],hide:[64],filter:[64],clearSelection:[64],navigate:[64],selectActive:[64]},[[0,"postOptionSelected","optionClicked"]]]]],["p-c9dcdebb",[[257,"post-listbox-option",{value:[513],selected:[516],highlighted:[516]}]]],["p-819c93de",[[257,"post-number-input",{isDisabled:[32],isIncrementDisabled:[32],isDecrementDisabled:[32],small:[32],input:[32]}]]],["p-0e922531",[[1,"post-pagination",{page:[1026],pageSize:[514,"page-size"],collectionSize:[514,"collection-size"],label:[513],textPrevious:[513,"text-previous"],textNext:[513,"text-next"],textPage:[513,"text-page"],textFirst:[513,"text-first"],textLast:[513,"text-last"],paginationId:[32],maxVisiblePages:[32],items:[32]},null,{page:[{handlePropsChange:0}],pageSize:[{handlePropsChange:0}],collectionSize:[{handlePropsChange:0}]}]]],["p-d7c9a969",[[1,"post-rating",{label:[513],stars:[2],currentRating:[1026,"current-rating"],readonly:[4],hoveredIndex:[32]}]]],["p-b9faa76b",[[257,"post-tabs",{textPrevTabItems:[513,"text-prev-tab-items"],textNextTabItems:[513,"text-next-tab-items"],activeTab:[513,"active-tab"],size:[513],label:[513],isPagesVariant:[32],showLeftScrollButton:[32],showRightScrollButton:[32],show:[64]},null,{label:[{validateLabel:0}]}]]],["p-ccf8020b",[[257,"post-tooltip",{placement:[1],arrow:[4],open:[1540],show:[64],hide:[64],toggle:[64]}]]],["p-59b30e90",[[257,"post-avatar",{firstname:[513],lastname:[1],email:[1],description:[1],slottedImage:[32],avatarType:[32],imageUrl:[32],imageAlt:[32],initials:[32],storageKey:[32]},null,{email:[{updateEmail:0}]}]]],["p-f9a8ee94",[[257,"post-banner",{type:[513],hasActions:[32],dismiss:[64]}]]],["p-60550edb",[[257,"post-linkarea"]]],["p-655ded00",[[257,"post-popover-trigger",{for:[513],ariaExpanded:[32],popoverOpen:[32]},null,{popoverOpen:[{syncAriaExpanded:0}]}]]],["p-2005eb98",[[1,"post-progressbar",{min:[2],max:[2],value:[2]}]]],["p-1ec27142",[[257,"post-side-navigation-trigger",{for:[513],update:[64]}]]],["p-a32d3050",[[257,"post-stepper",{textCurrentStep:[513,"text-current-step"],textCompletedStep:[513,"text-completed-step"],textStepNumber:[513,"text-step-number"],currentIndex:[2,"current-index"],selectedIndex:[2,"selected-index"],mobileActiveStepLabel:[32],mobileActiveStepName:[32]},null,{currentIndex:[{validateCurrentIndex:0}],selectedIndex:[{validateSelectedIndex:0}],textStepNumber:[{updateActiveStepNumber:0}]}]]],["p-ba1b4ba0",[[257,"post-stepper-item"]]],["p-dc285087",[[257,"post-tab-item",{name:[513],disabled:[516],tabId:[32],isPagesVariant:[32]}]]],["p-840acd3c",[[257,"post-tab-panel",{for:[513],panelId:[32]}]]],["p-cdc7b8d3",[[257,"post-tooltip-trigger",{for:[513],delay:[2]}]]],["p-b4229624",[[257,"post-collapsible",{collapsed:[1028],toggle:[64]}],[257,"post-collapsible-trigger",{for:[513],update:[64]}]]],["p-8012cc3b",[[257,"post-accordion-item",{collapsed:[1540],slottedLogo:[32],toggle:[64]},[[2,"postToggle","onCollapseToggle"]]],[257,"post-accordion",{headingLevel:[514,"heading-level"],multiple:[516],toggle:[64],expandAll:[64],collapseAll:[64]},[[0,"postToggle","collapseToggleHandler"]],{headingLevel:[{syncHeadingLevel:0}]}]]]],e))));
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { Variant } from './variants';
|
|
2
2
|
/**
|
|
3
|
-
* @slot default - The content displayed inside the breadcrumb item.
|
|
3
|
+
* @slot default - The content displayed inside the breadcrumb item. Can contain text or an <a> element, so consumers can slot their own routing-aware link instead of relying on the `url` prop.
|
|
4
4
|
*/
|
|
5
5
|
export declare class PostBreadcrumbItem {
|
|
6
6
|
host: HTMLPostBreadcrumbItemElement;
|
|
7
|
+
/**
|
|
8
|
+
* Whether the consumer slotted their own <a>. When true, the component renders only the <slot>, leaving the slotted anchor untouched so the host app's router can handle clicks.
|
|
9
|
+
*/
|
|
10
|
+
hasSlottedAnchor: boolean;
|
|
7
11
|
/**
|
|
8
12
|
* The destination URL for the breadcrumb item. If omitted, the item is rendered as non-interactive text.
|
|
9
13
|
*/
|
|
@@ -28,5 +32,8 @@ export declare class PostBreadcrumbItem {
|
|
|
28
32
|
* Indicates that this is the only visible item, applying appropriate styling.
|
|
29
33
|
*/
|
|
30
34
|
standalone: boolean;
|
|
35
|
+
componentWillLoad(): void;
|
|
36
|
+
private checkSlottedAnchor;
|
|
37
|
+
private renderContent;
|
|
31
38
|
render(): any;
|
|
32
39
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @slot home - The content of the root (home) breadcrumb item. Can contain an `<a>` element, so consumers can slot their own routing-aware link instead of relying on the `home-url` prop.
|
|
3
|
+
*/
|
|
1
4
|
export declare class PostBreadcrumbs {
|
|
2
5
|
private debounceUpdateCollapsedItems;
|
|
3
6
|
private resizeObserver;
|
|
@@ -5,8 +8,16 @@ export declare class PostBreadcrumbs {
|
|
|
5
8
|
host: HTMLPostBreadcrumbsElement;
|
|
6
9
|
id: string;
|
|
7
10
|
loaded: boolean;
|
|
8
|
-
/**
|
|
11
|
+
/** Whether the consumer slotted their own `<a>` into the `home` slot. When true, `home-url` is not required, since the internal fallback link is not rendered. */
|
|
12
|
+
hasSlottedHomeAnchor: boolean;
|
|
13
|
+
/** Whether the slotted home anchor contains a post-icon. */
|
|
14
|
+
hasSlottedHomeIcon: boolean;
|
|
15
|
+
/** The number of breadcrumb items, counted from the start, moved into the overflow menu. */
|
|
9
16
|
collapsed: number;
|
|
17
|
+
/** Whether the home item is collapsed into its own overflow menu. */
|
|
18
|
+
homeCollapsed: boolean;
|
|
19
|
+
/** Whether the last (selected) item wraps onto multiple lines. */
|
|
20
|
+
lastItemWraps: boolean;
|
|
10
21
|
/** The visible breadcrumb navigation. */
|
|
11
22
|
private nav;
|
|
12
23
|
/** An off-screen copy of the breadcrumb navigation used for measurement. */
|
|
@@ -14,11 +25,17 @@ export declare class PostBreadcrumbs {
|
|
|
14
25
|
/**
|
|
15
26
|
* The URL for the root (home) breadcrumb item.
|
|
16
27
|
*/
|
|
17
|
-
homeUrl
|
|
28
|
+
homeUrl?: string;
|
|
18
29
|
/**
|
|
19
|
-
*
|
|
30
|
+
* The label of the root (home) breadcrumb item. Displayed visibly when `home-text-only` is
|
|
31
|
+
* `true`, otherwise used as an accessible label alongside the home icon.
|
|
20
32
|
*/
|
|
21
|
-
textHome
|
|
33
|
+
textHome?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Whether `text-home` content is displayed instead of the home icon, enabling segment specific
|
|
36
|
+
* breadcrumbs (like "Private customers" or "About us").
|
|
37
|
+
*/
|
|
38
|
+
homeTextOnly: boolean;
|
|
22
39
|
/**
|
|
23
40
|
* An accessible label for the breadcrumb navigation.
|
|
24
41
|
*/
|
|
@@ -30,32 +47,32 @@ export declare class PostBreadcrumbs {
|
|
|
30
47
|
componentWillLoad(): void;
|
|
31
48
|
componentDidLoad(): Promise<void>;
|
|
32
49
|
disconnectedCallback(): void;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*/
|
|
50
|
+
private checkSlottedHomeAnchor;
|
|
51
|
+
private get usesHomeText();
|
|
52
|
+
/** Measures the available space and updates all three degrade-stage states. */
|
|
37
53
|
private updateCollapsedItems;
|
|
38
|
-
/**
|
|
39
|
-
* Determines how many items have to be collapsed, either because they do not fit the breadcrumb
|
|
40
|
-
* navigation or because they exceed the maximum number of visible items.
|
|
41
|
-
*/
|
|
42
54
|
private calculateCollapsedItems;
|
|
43
|
-
/**
|
|
44
|
-
* Determines how many items overflow the width of the breadcrumb navigation.
|
|
45
|
-
*/
|
|
55
|
+
/** Runs the three degrade stages in order against the off-screen measurement clone. */
|
|
46
56
|
private calculateOverflowingItems;
|
|
47
|
-
/**
|
|
48
|
-
|
|
49
|
-
|
|
57
|
+
/** Stage 1: collapses middle items until the rest fits, or none are left. */
|
|
58
|
+
private collapseMiddleItems;
|
|
59
|
+
/** Applies the degrade states to the `<post-breadcrumb-item>` elements. */
|
|
50
60
|
private updateItems;
|
|
51
|
-
/**
|
|
52
|
-
* Rebuilds the off-screen copy of the breadcrumb navigation.
|
|
53
|
-
*/
|
|
61
|
+
/** Rebuilds the off-screen copy of the breadcrumb navigation. */
|
|
54
62
|
private updateHiddenNav;
|
|
63
|
+
private updateAfterMutation;
|
|
55
64
|
/**
|
|
56
|
-
* Renders an off-screen copy of the
|
|
65
|
+
* Renders an off-screen copy of the nav for measurements. `.home` is rebuilt independently (see
|
|
66
|
+
* `buildMeasurementHomeElement`) rather than cloned, since the live nav may show the home item
|
|
67
|
+
* in the overflow menu instead if it is already collapsed.
|
|
57
68
|
*/
|
|
58
69
|
private renderHiddenNav;
|
|
70
|
+
/** Builds `.home` in its full, uncollapsed form for measurement. Mirrors `renderHomeContent`, but as plain DOM since this runs outside the render cycle. */
|
|
71
|
+
private buildMeasurementHomeElement;
|
|
59
72
|
private renderMenu;
|
|
73
|
+
/** Reused by the plain home item and the home menu — a slot can only be assigned once. */
|
|
74
|
+
private renderHomeContent;
|
|
75
|
+
/** Degrade stage 2: home renders in full, single-line, not yet collapsed. */
|
|
76
|
+
private renderHome;
|
|
60
77
|
render(): any;
|
|
61
78
|
}
|
|
@@ -141,18 +141,23 @@ export namespace Components {
|
|
|
141
141
|
"variant": Variant;
|
|
142
142
|
}
|
|
143
143
|
interface PostBreadcrumbs {
|
|
144
|
+
/**
|
|
145
|
+
* Whether `text-home` content is displayed instead of the home icon, enabling segment specific breadcrumbs (like "Private customers" or "About us").
|
|
146
|
+
* @default false
|
|
147
|
+
*/
|
|
148
|
+
"homeTextOnly": boolean;
|
|
144
149
|
/**
|
|
145
150
|
* The URL for the root (home) breadcrumb item.
|
|
146
151
|
*/
|
|
147
|
-
"homeUrl"
|
|
152
|
+
"homeUrl"?: string;
|
|
148
153
|
/**
|
|
149
154
|
* An accessible label for the breadcrumb navigation.
|
|
150
155
|
*/
|
|
151
156
|
"textBreadcrumbs": string;
|
|
152
157
|
/**
|
|
153
|
-
*
|
|
158
|
+
* The label of the root (home) breadcrumb item. Displayed visibly when `home-text-only` is `true`, otherwise used as an accessible label alongside the home icon.
|
|
154
159
|
*/
|
|
155
|
-
"textHome"
|
|
160
|
+
"textHome"?: string;
|
|
156
161
|
/**
|
|
157
162
|
* An accessible label for the overflow menu that contains collapsed breadcrumb items.
|
|
158
163
|
*/
|
|
@@ -1446,18 +1451,23 @@ declare namespace LocalJSX {
|
|
|
1446
1451
|
"variant"?: Variant;
|
|
1447
1452
|
}
|
|
1448
1453
|
interface PostBreadcrumbs {
|
|
1454
|
+
/**
|
|
1455
|
+
* Whether `text-home` content is displayed instead of the home icon, enabling segment specific breadcrumbs (like "Private customers" or "About us").
|
|
1456
|
+
* @default false
|
|
1457
|
+
*/
|
|
1458
|
+
"homeTextOnly"?: boolean;
|
|
1449
1459
|
/**
|
|
1450
1460
|
* The URL for the root (home) breadcrumb item.
|
|
1451
1461
|
*/
|
|
1452
|
-
"homeUrl"
|
|
1462
|
+
"homeUrl"?: string;
|
|
1453
1463
|
/**
|
|
1454
1464
|
* An accessible label for the breadcrumb navigation.
|
|
1455
1465
|
*/
|
|
1456
1466
|
"textBreadcrumbs": string;
|
|
1457
1467
|
/**
|
|
1458
|
-
*
|
|
1468
|
+
* The label of the root (home) breadcrumb item. Displayed visibly when `home-text-only` is `true`, otherwise used as an accessible label alongside the home icon.
|
|
1459
1469
|
*/
|
|
1460
|
-
"textHome"
|
|
1470
|
+
"textHome"?: string;
|
|
1461
1471
|
/**
|
|
1462
1472
|
* An accessible label for the overflow menu that contains collapsed breadcrumb items.
|
|
1463
1473
|
*/
|
|
@@ -2092,6 +2102,7 @@ declare namespace LocalJSX {
|
|
|
2092
2102
|
interface PostBreadcrumbsAttributes {
|
|
2093
2103
|
"homeUrl": string;
|
|
2094
2104
|
"textHome": string;
|
|
2105
|
+
"homeTextOnly": boolean;
|
|
2095
2106
|
"textBreadcrumbs": string;
|
|
2096
2107
|
"textMoreItems": string;
|
|
2097
2108
|
}
|
|
@@ -2264,7 +2275,7 @@ declare namespace LocalJSX {
|
|
|
2264
2275
|
"post-back-to-top": Omit<PostBackToTop, keyof PostBackToTopAttributes> & { [K in keyof PostBackToTop & keyof PostBackToTopAttributes]?: PostBackToTop[K] } & { [K in keyof PostBackToTop & keyof PostBackToTopAttributes as `attr:${K}`]?: PostBackToTopAttributes[K] } & { [K in keyof PostBackToTop & keyof PostBackToTopAttributes as `prop:${K}`]?: PostBackToTop[K] } & OneOf<"textBackToTop", PostBackToTop["textBackToTop"], PostBackToTopAttributes["textBackToTop"]>;
|
|
2265
2276
|
"post-banner": Omit<PostBanner, keyof PostBannerAttributes> & { [K in keyof PostBanner & keyof PostBannerAttributes]?: PostBanner[K] } & { [K in keyof PostBanner & keyof PostBannerAttributes as `attr:${K}`]?: PostBannerAttributes[K] } & { [K in keyof PostBanner & keyof PostBannerAttributes as `prop:${K}`]?: PostBanner[K] };
|
|
2266
2277
|
"post-breadcrumb-item": Omit<PostBreadcrumbItem, keyof PostBreadcrumbItemAttributes> & { [K in keyof PostBreadcrumbItem & keyof PostBreadcrumbItemAttributes]?: PostBreadcrumbItem[K] } & { [K in keyof PostBreadcrumbItem & keyof PostBreadcrumbItemAttributes as `attr:${K}`]?: PostBreadcrumbItemAttributes[K] } & { [K in keyof PostBreadcrumbItem & keyof PostBreadcrumbItemAttributes as `prop:${K}`]?: PostBreadcrumbItem[K] };
|
|
2267
|
-
"post-breadcrumbs": Omit<PostBreadcrumbs, keyof PostBreadcrumbsAttributes> & { [K in keyof PostBreadcrumbs & keyof PostBreadcrumbsAttributes]?: PostBreadcrumbs[K] } & { [K in keyof PostBreadcrumbs & keyof PostBreadcrumbsAttributes as `attr:${K}`]?: PostBreadcrumbsAttributes[K] } & { [K in keyof PostBreadcrumbs & keyof PostBreadcrumbsAttributes as `prop:${K}`]?: PostBreadcrumbs[K] } & OneOf<"
|
|
2278
|
+
"post-breadcrumbs": Omit<PostBreadcrumbs, keyof PostBreadcrumbsAttributes> & { [K in keyof PostBreadcrumbs & keyof PostBreadcrumbsAttributes]?: PostBreadcrumbs[K] } & { [K in keyof PostBreadcrumbs & keyof PostBreadcrumbsAttributes as `attr:${K}`]?: PostBreadcrumbsAttributes[K] } & { [K in keyof PostBreadcrumbs & keyof PostBreadcrumbsAttributes as `prop:${K}`]?: PostBreadcrumbs[K] } & OneOf<"textBreadcrumbs", PostBreadcrumbs["textBreadcrumbs"], PostBreadcrumbsAttributes["textBreadcrumbs"]> & OneOf<"textMoreItems", PostBreadcrumbs["textMoreItems"], PostBreadcrumbsAttributes["textMoreItems"]>;
|
|
2268
2279
|
"post-closebutton": Omit<PostClosebutton, keyof PostClosebuttonAttributes> & { [K in keyof PostClosebutton & keyof PostClosebuttonAttributes]?: PostClosebutton[K] } & { [K in keyof PostClosebutton & keyof PostClosebuttonAttributes as `attr:${K}`]?: PostClosebuttonAttributes[K] } & { [K in keyof PostClosebutton & keyof PostClosebuttonAttributes as `prop:${K}`]?: PostClosebutton[K] };
|
|
2269
2280
|
"post-collapsible": Omit<PostCollapsible, keyof PostCollapsibleAttributes> & { [K in keyof PostCollapsible & keyof PostCollapsibleAttributes]?: PostCollapsible[K] } & { [K in keyof PostCollapsible & keyof PostCollapsibleAttributes as `attr:${K}`]?: PostCollapsibleAttributes[K] } & { [K in keyof PostCollapsible & keyof PostCollapsibleAttributes as `prop:${K}`]?: PostCollapsible[K] };
|
|
2270
2281
|
"post-collapsible-trigger": Omit<PostCollapsibleTrigger, keyof PostCollapsibleTriggerAttributes> & { [K in keyof PostCollapsibleTrigger & keyof PostCollapsibleTriggerAttributes]?: PostCollapsibleTrigger[K] } & { [K in keyof PostCollapsibleTrigger & keyof PostCollapsibleTriggerAttributes as `attr:${K}`]?: PostCollapsibleTriggerAttributes[K] } & { [K in keyof PostCollapsibleTrigger & keyof PostCollapsibleTriggerAttributes as `prop:${K}`]?: PostCollapsibleTrigger[K] };
|