@swisspost/design-system-components 10.1.0 → 10.2.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/dist/cjs/{create-validator-decorator-86dxH9IC.js → create-validator-decorator-BchTP-YG.js} +1 -1
- package/dist/cjs/{index-B_88IIiS.js → index-BDBlw92l.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{one-of-D2-HNvlh.js → one-of-IgKJFMA_.js} +1 -1
- package/dist/cjs/{package-MGiZpKVI.js → package-2syswPDO.js} +1 -1
- package/dist/cjs/{pattern-74wTAOem.js → pattern-BCnL1qK3.js} +1 -1
- package/dist/cjs/post-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/post-autocomplete.cjs.entry.js +15 -6
- 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 +7 -7
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +6 -6
- package/dist/cjs/post-closebutton_14.cjs.entry.js +23 -23
- package/dist/cjs/post-collapsible_2.cjs.entry.js +4 -4
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-date-picker.cjs.entry.js +5 -5
- package/dist/cjs/post-footer.cjs.entry.js +35 -17
- package/dist/cjs/post-linkarea.cjs.entry.js +2 -2
- package/dist/cjs/post-listbox-option.cjs.entry.js +4 -4
- package/dist/cjs/post-listbox.cjs.entry.js +4 -4
- 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 +5 -5
- package/dist/cjs/post-popover.cjs.entry.js +8 -8
- 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 +6 -6
- package/dist/cjs/post-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/{required-BfGxoBch.js → required-BXiinq5t.js} +1 -1
- package/dist/cjs/{type-DPQ_KdZx.js → type-l3fnHs_E.js} +1 -1
- package/dist/cjs/{url-BokbLhZt.js → url-Dmn5zP5b.js} +1 -1
- package/dist/collection/components/post-autocomplete/post-autocomplete.js +10 -1
- package/dist/collection/components/post-footer/post-footer.css +1 -1
- package/dist/collection/components/post-footer/post-footer.js +32 -14
- package/dist/collection/components/post-listbox/post-listbox.css +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 +7 -7
- 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-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 +2 -2
- package/dist/collection/components/post-popover-trigger/post-popover-trigger.js +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +2 -2
- 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 +1 -1
- package/dist/components/package.js +1 -1
- package/dist/components/post-autocomplete.js +1 -1
- package/dist/components/post-footer.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-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-DPoCmx6A.js → p-BBldpA5o.js} +1 -1
- package/dist/components/react/{p-BaIVE0ki.js → p-BLxhbOxJ.js} +1 -1
- package/dist/components/react/{p-BIPy5bUN.js → p-BVwVxBtC.js} +1 -1
- package/dist/components/react/{p-Y40GC4D4.js → p-CNhNLSwV.js} +1 -1
- package/dist/components/react/{p-BHWrp-Gm.js → p-CTdS2ONV.js} +1 -1
- package/dist/components/react/{p-Ce54Fm7b.js → p-CzqW5_YD.js} +1 -1
- package/dist/components/react/{p-T15Cu71x.js → p-DEmm6Dal.js} +1 -1
- package/dist/components/react/{p-DUKHlJSz.js → p-DG11ySYQ.js} +1 -1
- package/dist/components/react/{p-so3hr8A9.js → p-DUMQ0Em_.js} +1 -1
- package/dist/components/react/p-YQBh4peU.js +1 -0
- package/dist/components/react/{p-CC_Rb5Kj.js → p-pPs8_sxf.js} +1 -1
- package/dist/components/react/{p-CHYjGt8k.js → p-qL_Kd0ZG.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 +5 -5
- package/dist/esm/{create-validator-decorator-BURbkkYl.js → create-validator-decorator-BzX_jW0Z.js} +1 -1
- package/dist/esm/{index-CsEmPq6P.js → index-BAtz9iuv.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{one-of-C-rie7lV.js → one-of-D5QwMlvb.js} +1 -1
- package/dist/esm/{package-jK9tFtoG.js → package-YQBh4peU.js} +1 -1
- package/dist/esm/{pattern-D_JfUaW0.js → pattern-CrL4IkfA.js} +1 -1
- package/dist/esm/post-accordion_2.entry.js +5 -5
- package/dist/esm/post-autocomplete.entry.js +15 -6
- 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 +7 -7
- package/dist/esm/post-breadcrumbs.entry.js +6 -6
- package/dist/esm/post-closebutton_14.entry.js +23 -23
- package/dist/esm/post-collapsible_2.entry.js +4 -4
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-date-picker.entry.js +5 -5
- package/dist/esm/post-footer.entry.js +35 -17
- package/dist/esm/post-linkarea.entry.js +2 -2
- package/dist/esm/post-listbox-option.entry.js +4 -4
- package/dist/esm/post-listbox.entry.js +4 -4
- 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 +5 -5
- package/dist/esm/post-popover.entry.js +8 -8
- 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 +6 -6
- package/dist/esm/post-tooltip.entry.js +5 -5
- package/dist/esm/{required-CE6lKrV1.js → required-BX_AhSO0.js} +1 -1
- package/dist/esm/{type-BXIcop4C.js → type-BYIjiHKr.js} +1 -1
- package/dist/esm/{url-BYWsovGo.js → url-CZMYpchD.js} +1 -1
- package/dist/post-components/{p-f5d0ada2.entry.js → p-0cceee23.entry.js} +1 -1
- package/dist/post-components/p-0sQVSOjO.js +1 -0
- package/dist/post-components/{p-d12584be.entry.js → p-22a30622.entry.js} +1 -1
- package/dist/post-components/{p-c01c4158.entry.js → p-22b1df28.entry.js} +1 -1
- package/dist/post-components/{p-3c1f1c7d.entry.js → p-24d208eb.entry.js} +1 -1
- package/dist/post-components/p-3dc7e1b4.entry.js +1 -0
- package/dist/post-components/{p-efb45d93.entry.js → p-4cf66554.entry.js} +1 -1
- package/dist/post-components/{p-c74a900f.entry.js → p-52cf29ae.entry.js} +1 -1
- package/dist/post-components/{p-5ab73bfa.entry.js → p-542c9c58.entry.js} +1 -1
- package/dist/post-components/{p-28e89c2c.entry.js → p-593c14a2.entry.js} +1 -1
- package/dist/post-components/{p-4c8212e9.entry.js → p-5a9ba878.entry.js} +1 -1
- package/dist/post-components/{p-898d4ef5.entry.js → p-5ac593dd.entry.js} +1 -1
- package/dist/post-components/{p-6c5cbda6.entry.js → p-675f62bc.entry.js} +1 -1
- package/dist/post-components/{p-16f6729f.entry.js → p-7a9b5fc3.entry.js} +1 -1
- package/dist/post-components/{p-32df61b4.entry.js → p-81e4e124.entry.js} +1 -1
- package/dist/post-components/p-85b497d7.entry.js +1 -0
- package/dist/post-components/{p-7085c7e7.entry.js → p-8c76ce4d.entry.js} +1 -1
- package/dist/post-components/{p-b312510d.entry.js → p-8e0da839.entry.js} +1 -1
- package/dist/post-components/{p-65480bb4.entry.js → p-8ea92775.entry.js} +1 -1
- package/dist/post-components/{p-eae56000.entry.js → p-94f76989.entry.js} +1 -1
- package/dist/post-components/p-9e9de801.entry.js +1 -0
- package/dist/post-components/p-BAtz9iuv.js +2 -0
- package/dist/post-components/{p-llOQ9Bhx.js → p-BzmELz-M.js} +1 -1
- package/dist/post-components/{p-CzwheJVI.js → p-C0Z-E_YL.js} +1 -1
- package/dist/post-components/{p-B9Ec0mux.js → p-CveORA5D.js} +1 -1
- package/dist/post-components/p-DsgIP6Dq.js +1 -0
- package/dist/post-components/p-YQBh4peU.js +1 -0
- package/dist/post-components/{p-7d02d657.entry.js → p-a342b434.entry.js} +1 -1
- package/dist/post-components/p-ac83c46d.entry.js +1 -0
- package/dist/post-components/{p-01d60c90.entry.js → p-c06f6719.entry.js} +1 -1
- package/dist/post-components/{p-98a346f3.entry.js → p-cf891de3.entry.js} +1 -1
- package/dist/post-components/{p-aa952f99.entry.js → p-ef71ff85.entry.js} +1 -1
- package/dist/post-components/{p-5070241f.entry.js → p-f9673487.entry.js} +1 -1
- package/dist/post-components/p-fOjbWhb_.js +1 -0
- package/dist/post-components/{p-2e35b425.entry.js → p-fb899183.entry.js} +1 -1
- package/dist/post-components/{p-dc1b91df.entry.js → p-fb9eba9c.entry.js} +1 -1
- package/dist/post-components/{p-9454c025.entry.js → p-ffb2fae3.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/types/components/post-autocomplete/post-autocomplete.d.ts +1 -0
- package/dist/types/components/post-footer/post-footer.d.ts +5 -4
- package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +1 -1
- package/hydrate/index.js +82 -55
- package/hydrate/index.mjs +82 -55
- package/package.json +4 -4
- package/dist/components/react/p-jK9tFtoG.js +0 -1
- package/dist/post-components/p-59858cd1.entry.js +0 -1
- package/dist/post-components/p-698a0e26.entry.js +0 -1
- package/dist/post-components/p-Bgt5RZOY.js +0 -1
- package/dist/post-components/p-BtHmKxxb.js +0 -1
- package/dist/post-components/p-CsEmPq6P.js +0 -2
- package/dist/post-components/p-DZQPpPV5.js +0 -1
- package/dist/post-components/p-a8b5c08a.entry.js +0 -1
- package/dist/post-components/p-fd95b5a2.entry.js +0 -1
- package/dist/post-components/p-jK9tFtoG.js +0 -1
package/hydrate/index.js
CHANGED
|
@@ -6419,7 +6419,7 @@ function repeat(callback, { delayMs = 300, intervalMs = 100 } = {}) {
|
|
|
6419
6419
|
};
|
|
6420
6420
|
}
|
|
6421
6421
|
|
|
6422
|
-
const version$1 = "10.
|
|
6422
|
+
const version$1 = "10.2.0";
|
|
6423
6423
|
|
|
6424
6424
|
const postAccordionCss = () => `:host{display:block;border-block-start:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}`;
|
|
6425
6425
|
|
|
@@ -6648,6 +6648,13 @@ class PostAutocomplete {
|
|
|
6648
6648
|
/** Show or hide the clear button */
|
|
6649
6649
|
this.clearable = false;
|
|
6650
6650
|
this.inputValue = '';
|
|
6651
|
+
this.handleFocus = () => {
|
|
6652
|
+
if (this.filterThreshold !== 0)
|
|
6653
|
+
return;
|
|
6654
|
+
if (this.inputElement && this.inputElement.value.trim() !== '')
|
|
6655
|
+
return;
|
|
6656
|
+
this.postFilteringEvent.emit('');
|
|
6657
|
+
};
|
|
6651
6658
|
this.handleOnBlur = () => {
|
|
6652
6659
|
this.inputElement.value = this.inputValue;
|
|
6653
6660
|
this.listBoxElement.filter('');
|
|
@@ -6790,6 +6797,7 @@ class PostAutocomplete {
|
|
|
6790
6797
|
this.inputElement.addEventListener('keydown', this.handleKeyDown);
|
|
6791
6798
|
this.inputElement.addEventListener('blur', this.handleOnBlur);
|
|
6792
6799
|
this.inputElement.addEventListener('click', this.showListBox);
|
|
6800
|
+
this.inputElement.addEventListener('focus', this.handleFocus);
|
|
6793
6801
|
}
|
|
6794
6802
|
}
|
|
6795
6803
|
detachInputListeners() {
|
|
@@ -6798,6 +6806,7 @@ class PostAutocomplete {
|
|
|
6798
6806
|
this.inputElement.removeEventListener('keydown', this.handleKeyDown);
|
|
6799
6807
|
this.inputElement.removeEventListener('blur', this.handleOnBlur);
|
|
6800
6808
|
this.inputElement.removeEventListener('click', this.showListBox);
|
|
6809
|
+
this.inputElement.removeEventListener('focus', this.handleFocus);
|
|
6801
6810
|
}
|
|
6802
6811
|
}
|
|
6803
6812
|
attachListboxListeners() {
|
|
@@ -6823,7 +6832,7 @@ class PostAutocomplete {
|
|
|
6823
6832
|
this.outputElement.textContent = this.textAvailableSuggestions.replace('{count}', String(count));
|
|
6824
6833
|
}
|
|
6825
6834
|
render() {
|
|
6826
|
-
return (hAsync(Host, { key: '
|
|
6835
|
+
return (hAsync(Host, { key: 'ef5b821b235c6e6a19e9da612a7c3fbc33408e44', "data-version": version$1 }, hAsync("slot", { key: 'a7855fd0e992be6c4fd737e9b7f29c77c1ec8e7f' }), this.clearable && this.inputValue && (hAsync("button", { key: '16a690d24deb1ac1cd50c85cea857ad3e5736fac', type: "button", class: "autocomplete-clear", onClick: this.clearInput }, hAsync("post-icon", { key: 'f254bd331fb15ca6cb5a32ac2a5f5a25cb8e81ea', "aria-hidden": "true", name: "closex" }))), hAsync("post-icon", { key: '87faa8280bb58683262ec40dbec383478c5999f5', "aria-hidden": "true", class: "autocomplete-icon", name: "chevronDown" }), hAsync("output", { key: '9f8ad0d40d1e12f611f4f2e9e14058dbcca3892e', class: "visually-hidden", ref: el => (this.outputElement = el) })));
|
|
6827
6836
|
}
|
|
6828
6837
|
get host() { return getElement(this); }
|
|
6829
6838
|
static get style() { return postAutocompleteCss(); }
|
|
@@ -12730,7 +12739,7 @@ __decorate$q([
|
|
|
12730
12739
|
Type('string')
|
|
12731
12740
|
], PostDatePicker.prototype, "textToggleCalendar", void 0);
|
|
12732
12741
|
|
|
12733
|
-
const postFooterCss = () => `:host{display:block}footer{border-block-start:1px solid #373632;--post-footer-container-padding-block:32px;--post-footer-container-padding-inline:16px;--post-footer-container-max-width:1200px;--post-footer-prefooter-padding-block:16px;--post-footer-grid-template:auto / auto;--post-footer-grid-row-gap:0;--post-footer-grid-column-gap:0;--post-footer-grid-margin-block-end:24px;--post-footer-grid-padding-block-end:0;--post-footer-column-flex-direction:column;--post-footer-column-align-items:start;--post-footer-column-gap:0;--post-footer-list-flex-direction:column;--post-footer-list-gap:8px;--post-footer-list-align-items:start;--post-footer-socialmedia-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-app-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-businesssectors-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-meta-margin-block-end:16px;--post-footer-meta-font-size:inherit;--post-footer-copyright-font-size:var(--post-footer-meta-font-size)}@media screen and (min-width: 600px){footer{--post-footer-container-padding-block:40px;--post-footer-prefooter-padding-block:32px;--post-footer-grid-template:repeat(2, auto) / repeat(2, auto);--post-footer-grid-row-gap:32px;--post-footer-grid-column-gap:16px;--post-footer-grid-margin-block-end:32px;--post-footer-grid-padding-block-end:32px;--post-footer-list-flex-direction:row;--post-footer-list-gap:16px;--post-footer-list-align-items:center;--post-footer-meta-margin-block-end:8px}}@media screen and (min-width: 780px){footer{--post-footer-container-padding-inline:40px}}@media screen and (min-width: 1024px){footer{--post-footer-container-padding-block:56px;--post-footer-grid-template:auto / repeat(4, auto);--post-footer-grid-row-gap:0;--post-footer-grid-column-gap:24px;--post-footer-grid-margin-block-end:40px;--post-footer-column-flex-direction:row;--post-footer-column-align-items:center;--post-footer-column-gap:32px;--post-footer-list-gap:24px;--post-footer-businesssectors-margin-block-end:24px;--post-footer-meta-font-size:16px}}:is(h3,.h3){margin:0;font-size:var(--post-device-font-size-6);line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-extra-black);text-wrap:balance}::slotted(ul){list-style:none;padding:0;margin:0}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.footer-container{box-sizing:content-box;margin:0 auto;padding:var(--post-footer-container-padding-block) var(--post-footer-container-padding-inline);max-width:var(--post-footer-container-max-width)}.prefooter{background-color:#fafafa}.prefooter .footer-container{padding-block:0}.prefooter ::slotted([slot=prefooter]){padding-block:var(--post-footer-prefooter-padding-block)}.footer-main{background-color:#fc0}.footer-grid{display:grid;grid-template:var(--post-footer-grid-template);row-gap:var(--post-footer-grid-row-gap);column-gap:var(--post-footer-grid-column-gap);margin-block-end:var(--post-footer-grid-margin-block-end);padding-block-end:var(--post-footer-grid-padding-block-end)}.footer-grid
|
|
12742
|
+
const postFooterCss = () => `:host{display:block}footer{border-block-start:1px solid #373632;--post-footer-container-padding-block:32px;--post-footer-container-padding-inline:16px;--post-footer-container-max-width:1200px;--post-footer-prefooter-padding-block:16px;--post-footer-grid-template:auto / auto;--post-footer-grid-row-gap:0;--post-footer-grid-column-gap:0;--post-footer-grid-margin-block-end:24px;--post-footer-grid-padding-block-end:0;--post-footer-column-flex-direction:column;--post-footer-column-align-items:start;--post-footer-column-gap:0;--post-footer-list-flex-direction:column;--post-footer-list-gap:8px;--post-footer-list-align-items:start;--post-footer-socialmedia-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-app-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-businesssectors-margin-block-end:var(--post-footer-grid-margin-block-end);--post-footer-meta-margin-block-end:16px;--post-footer-meta-font-size:inherit;--post-footer-copyright-font-size:var(--post-footer-meta-font-size)}@media screen and (min-width: 600px){footer{--post-footer-container-padding-block:40px;--post-footer-prefooter-padding-block:32px;--post-footer-grid-template:repeat(2, auto) / repeat(2, auto);--post-footer-grid-row-gap:32px;--post-footer-grid-column-gap:16px;--post-footer-grid-margin-block-end:32px;--post-footer-grid-padding-block-end:32px;--post-footer-list-flex-direction:row;--post-footer-list-gap:16px;--post-footer-list-align-items:center;--post-footer-meta-margin-block-end:8px}}@media screen and (min-width: 780px){footer{--post-footer-container-padding-inline:40px}}@media screen and (min-width: 1024px){footer{--post-footer-container-padding-block:56px;--post-footer-grid-template:auto / repeat(4, auto);--post-footer-grid-row-gap:0;--post-footer-grid-column-gap:24px;--post-footer-grid-margin-block-end:40px;--post-footer-column-flex-direction:row;--post-footer-column-align-items:center;--post-footer-column-gap:32px;--post-footer-list-gap:24px;--post-footer-businesssectors-margin-block-end:24px;--post-footer-meta-font-size:16px}}:is(h3,.h3){margin:0;font-size:var(--post-device-font-size-6);line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-extra-black);text-wrap:balance}::slotted(ul){list-style:none;padding:0;margin:0}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.footer-container{box-sizing:content-box;margin:0 auto;padding:var(--post-footer-container-padding-block) var(--post-footer-container-padding-inline);max-width:var(--post-footer-container-max-width)}.prefooter{background-color:#fafafa}.prefooter .footer-container{padding-block:0}.prefooter ::slotted([slot=prefooter]){padding-block:var(--post-footer-prefooter-padding-block)}.footer-main{background-color:#fc0}.footer-grid{display:grid;grid-template:var(--post-footer-grid-template);row-gap:var(--post-footer-grid-row-gap);column-gap:var(--post-footer-grid-column-gap);margin-block-end:var(--post-footer-grid-margin-block-end);padding-block-end:var(--post-footer-grid-padding-block-end)}.footer-grid ::part(button),.footer-grid ::part(body){padding-inline:0}.footer-column{display:flex;flex-direction:var(--post-footer-column-flex-direction);flex-wrap:wrap;justify-content:space-between;align-items:var(--post-footer-column-align-items);column-gap:var(--post-footer-column-gap)}.footer-socialmedia ::slotted(div),.footer-app ::slotted(div),.footer-meta ::slotted(div){display:flex !important;flex-direction:var(--post-footer-list-flex-direction) !important;gap:var(--post-footer-list-gap) !important;align-items:var(--post-footer-list-align-items) !important}.footer-socialmedia{margin-block-end:var(--post-footer-socialmedia-margin-block-end)}.footer-app{margin-block-end:var(--post-footer-app-margin-block-end)}.prefooter ::slotted(div),.footer-businesssectors ::slotted(div){display:flex;flex-wrap:wrap;align-items:center;gap:var(--post-footer-list-gap) !important}.footer-businesssectors{margin-block-end:var(--post-footer-businesssectors-margin-block-end)}.footer-meta{margin-block-end:var(--post-footer-meta-margin-block-end);font-size:var(--post-footer-meta-font-size)}.footer-copyright{display:flex;flex-wrap:wrap;column-gap:.5rem;font-size:var(--post-footer-copyright-font-size)}.d-none{display:none}`;
|
|
12734
12743
|
|
|
12735
12744
|
var __decorate$p = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12736
12745
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -12743,6 +12752,7 @@ var __decorate$p = (undefined && undefined.__decorate) || function (decorators,
|
|
|
12743
12752
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12744
12753
|
};
|
|
12745
12754
|
const GRID_SLOTS = ['grid-1', 'grid-2', 'grid-3', 'grid-4'];
|
|
12755
|
+
const SECTION_SLOTS = ['socialmedia', 'app', 'businesssectors', 'meta', 'copyright'];
|
|
12746
12756
|
/**
|
|
12747
12757
|
* @slot prefooter - Slot for the pre-footer.
|
|
12748
12758
|
* @slot grid-{1|2|3|4}-title - Slot for the accordion headers (mobile).
|
|
@@ -12750,27 +12760,28 @@ const GRID_SLOTS = ['grid-1', 'grid-2', 'grid-3', 'grid-4'];
|
|
|
12750
12760
|
* @slot socialmedia - Slot for the social media links.
|
|
12751
12761
|
* @slot app - Slot for the app links.
|
|
12752
12762
|
* @slot businesssectors - Slot for the business sectors links.
|
|
12753
|
-
* @slot meta - Slot for the meta links.
|
|
12754
|
-
* @slot copyright - Slot for the copyright text.
|
|
12763
|
+
* @slot meta - **Required.** Slot for the meta links.
|
|
12764
|
+
* @slot copyright - **Required.** Slot for the copyright text.
|
|
12755
12765
|
*/
|
|
12756
12766
|
class PostFooter {
|
|
12757
12767
|
constructor(hostRef) {
|
|
12758
12768
|
registerInstance(this, hostRef);
|
|
12759
12769
|
this.device = breakpoint.get('device');
|
|
12760
|
-
this.
|
|
12770
|
+
this.slotDisplayed = {};
|
|
12761
12771
|
this.breakpointChange = (e) => {
|
|
12762
12772
|
this.device = e.detail;
|
|
12763
12773
|
};
|
|
12764
12774
|
this.handleGridSlotChange = this.handleGridSlotChange.bind(this);
|
|
12775
|
+
this.handleSlotChange = this.handleSlotChange.bind(this);
|
|
12765
12776
|
}
|
|
12766
12777
|
connectedCallback() {
|
|
12767
12778
|
globalThis.addEventListener('postBreakpoint:device', this.breakpointChange);
|
|
12768
12779
|
}
|
|
12769
12780
|
componentWillLoad() {
|
|
12770
|
-
// initialize
|
|
12771
|
-
GRID_SLOTS.forEach(slotName => {
|
|
12781
|
+
// initialize slot visibility by checking the content of each slot
|
|
12782
|
+
[...GRID_SLOTS, ...SECTION_SLOTS].forEach(slotName => {
|
|
12772
12783
|
const assignedElements = this.host.querySelectorAll(`[slot="${slotName}"]`);
|
|
12773
|
-
this.
|
|
12784
|
+
this.updateSlotDisplay(slotName, assignedElements.length > 0);
|
|
12774
12785
|
});
|
|
12775
12786
|
}
|
|
12776
12787
|
disconnectedCallback() {
|
|
@@ -12779,23 +12790,39 @@ class PostFooter {
|
|
|
12779
12790
|
handleGridSlotChange(...devices) {
|
|
12780
12791
|
return (e) => {
|
|
12781
12792
|
if (devices.includes(this.device) && e.target instanceof HTMLSlotElement) {
|
|
12782
|
-
this.
|
|
12793
|
+
this.updateSlotDisplay(e.target.name, e.target.assignedElements().length > 0);
|
|
12783
12794
|
}
|
|
12784
12795
|
};
|
|
12785
12796
|
}
|
|
12786
|
-
|
|
12787
|
-
if (
|
|
12788
|
-
this.
|
|
12797
|
+
handleSlotChange(e) {
|
|
12798
|
+
if (e.target instanceof HTMLSlotElement) {
|
|
12799
|
+
this.updateSlotDisplay(e.target.name, e.target.assignedElements().length > 0);
|
|
12800
|
+
}
|
|
12801
|
+
}
|
|
12802
|
+
updateSlotDisplay(slotName, hasContent) {
|
|
12803
|
+
if (this.slotDisplayed[slotName] !== hasContent) {
|
|
12804
|
+
// @State only re-renders when this.slotDisplayed itself is replaced,
|
|
12805
|
+
// not when one of its properties is changed directly
|
|
12806
|
+
this.slotDisplayed = { ...this.slotDisplayed, [slotName]: hasContent };
|
|
12789
12807
|
}
|
|
12790
12808
|
}
|
|
12791
12809
|
renderAccordion() {
|
|
12792
|
-
return (hAsync("post-accordion", { headingLevel: 3, multiple: true }, GRID_SLOTS.map(slotName => (hAsync("post-accordion-item", { key: slotName, class: { 'd-none': !this.
|
|
12810
|
+
return (hAsync("post-accordion", { headingLevel: 3, multiple: true }, GRID_SLOTS.map(slotName => (hAsync("post-accordion-item", { key: slotName, class: { 'd-none': !this.slotDisplayed[slotName] }, collapsed: true }, hAsync("span", { slot: "header" }, hAsync("slot", { name: slotName + '-title' })), hAsync("slot", { onSlotchange: this.handleGridSlotChange('mobile'), name: slotName }))))));
|
|
12793
12811
|
}
|
|
12794
12812
|
renderColumns() {
|
|
12795
|
-
return GRID_SLOTS.map(slotName => (hAsync("div", { key: slotName, class: { 'd-none': !this.
|
|
12813
|
+
return GRID_SLOTS.map(slotName => (hAsync("div", { key: slotName, class: { 'd-none': !this.slotDisplayed[slotName] } }, hAsync("h3", null, hAsync("slot", { name: slotName + '-title' })), hAsync("slot", { onSlotchange: this.handleGridSlotChange('tablet', 'desktop'), name: slotName }))));
|
|
12796
12814
|
}
|
|
12797
12815
|
render() {
|
|
12798
|
-
|
|
12816
|
+
const renderSocialmedia = this.slotDisplayed['socialmedia'];
|
|
12817
|
+
const renderApp = this.slotDisplayed['app'];
|
|
12818
|
+
const renderBusinesssectors = this.slotDisplayed['businesssectors'];
|
|
12819
|
+
const renderMeta = this.slotDisplayed['meta'];
|
|
12820
|
+
const renderCopyright = this.slotDisplayed['copyright'];
|
|
12821
|
+
const allGridSlotsEmpty = GRID_SLOTS.every(slotName => !this.slotDisplayed[slotName]);
|
|
12822
|
+
return (hAsync(Host, { key: 'd34606bcddf871bcf82c64dd710a1e7d1d1dcbb5', "data-version": version$1, "data-color-scheme": "light" }, hAsync("footer", { key: 'a82c77c34e1308ed02445a221776f37ebe26d7f9' }, hAsync("h2", { key: '3d6bd7b10494661506a1bd60323e3e3205b1a400', class: "visually-hidden" }, this.textFooter), hAsync("div", { key: '6497d40d70757426194142d8b597101d4f0f5ce6', class: "prefooter" }, hAsync("div", { key: '7d352f9029fe397f0ada15de8dacb9d8a0b2a831', class: "footer-container" }, hAsync("slot", { key: 'bbe3c744a1ea06544ccfda3b1f9a7e52666b69c3', name: "prefooter" }))), hAsync("div", { key: '4bdd7e6f0507bbbc9ccb7a9b3a5f1dad2f1c6936', class: "footer-main" }, hAsync("div", { key: '3b141f824900b9dccb6746bb4b11678f2b90ef53', class: "footer-container" }, hAsync("div", { key: '46ef9417bb0aced5506e8adbeb6001dbcfe119a5', class: { 'footer-grid': true, 'd-none': allGridSlotsEmpty } }, this.device === 'mobile' ? this.renderAccordion() : this.renderColumns()), hAsync("div", { key: 'd25f9b4b8e8bf8ce7d090c41c8b9de0c1454c566', class: {
|
|
12823
|
+
'footer-column': true,
|
|
12824
|
+
'd-none': !renderSocialmedia && !renderApp,
|
|
12825
|
+
} }, hAsync("div", { key: '43888182ec9db5d001ff724648f02a43acddb198', class: { 'footer-socialmedia': true, 'd-none': !renderSocialmedia } }, hAsync("slot", { key: 'd96fe2e61b69ead95ba6235bdd63951ff177377a', onSlotchange: this.handleSlotChange, name: "socialmedia" })), hAsync("div", { key: '0eb5c0c55f6d86ef4a179fa55bfb2b37311e1563', class: { 'footer-app': true, 'd-none': !renderApp } }, hAsync("slot", { key: 'dcc9d0121b0febc2b2d4d183ca0aa979dd27b35c', onSlotchange: this.handleSlotChange, name: "app" }))), hAsync("div", { key: '85a47b73374144b13fd40d3f25582e4375873647', class: { 'footer-businesssectors': true, 'd-none': !renderBusinesssectors } }, hAsync("slot", { key: '1cbd28be1c5b8d52df6139db49e1e3b31db03a5a', onSlotchange: this.handleSlotChange, name: "businesssectors" })), hAsync("div", { key: '1877c5230c17196d647f9ed145a21bcfed36321a', class: { 'footer-meta': true, 'd-none': !renderMeta } }, hAsync("slot", { key: '12ca6c0a79db19365daddf3c14b4a395f664d3e1', onSlotchange: this.handleSlotChange, name: "meta" })), hAsync("div", { key: '3dd50edca20df5bd258b1b01da2a88d556d5ea04', class: { 'footer-copyright': true, 'd-none': !renderCopyright } }, hAsync("slot", { key: '058326a07ee00caea0cbac3843ba8190cf68abde', onSlotchange: this.handleSlotChange, name: "copyright" })))))));
|
|
12799
12826
|
}
|
|
12800
12827
|
get host() { return getElement(this); }
|
|
12801
12828
|
static get style() { return postFooterCss(); }
|
|
@@ -12805,7 +12832,7 @@ class PostFooter {
|
|
|
12805
12832
|
"$members$": {
|
|
12806
12833
|
"textFooter": [513, "text-footer"],
|
|
12807
12834
|
"device": [32],
|
|
12808
|
-
"
|
|
12835
|
+
"slotDisplayed": [32]
|
|
12809
12836
|
},
|
|
12810
12837
|
"$listeners$": undefined,
|
|
12811
12838
|
"$lazyBundleId$": "-",
|
|
@@ -13586,7 +13613,7 @@ class PostLinkarea {
|
|
|
13586
13613
|
}; }
|
|
13587
13614
|
}
|
|
13588
13615
|
|
|
13589
|
-
const postListboxCss = () => `post-popovercontainer{border-radius:4px;overflow:hidden;box-shadow:var(--post-device-elevation-300)}div[role=listbox]{max-height:384px;overflow:auto;display:flex;flex-direction:column}
|
|
13616
|
+
const postListboxCss = () => `post-popovercontainer{border-radius:4px;overflow:hidden;box-shadow:var(--post-device-elevation-300)}div[role=listbox]{max-height:384px;overflow:auto;display:flex;flex-direction:column}`;
|
|
13590
13617
|
|
|
13591
13618
|
var __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
13592
13619
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -13718,7 +13745,7 @@ class PostListbox {
|
|
|
13718
13745
|
this.updateSelection(event.detail);
|
|
13719
13746
|
}
|
|
13720
13747
|
render() {
|
|
13721
|
-
return (hAsync(Host, { key: 'd9008aa55aca4e0a65fdffd67485d74ddc4069f6', "data-version": version$1, role: "listbox" }, hAsync("post-popovercontainer", { key: '5ba4d68483581101ca4bf6fea04102fa883b71d1', placement: "bottom-start", ref: el => (this.popoverContainer = el) },
|
|
13748
|
+
return (hAsync(Host, { key: 'd9008aa55aca4e0a65fdffd67485d74ddc4069f6', "data-version": version$1, role: "listbox" }, hAsync("post-popovercontainer", { key: '5ba4d68483581101ca4bf6fea04102fa883b71d1', placement: "bottom-start", ref: el => (this.popoverContainer = el) }, hAsync("slot", { key: '286a31eff1b70ec35efcfa745103933598589f2a', name: "blank-slate" }), hAsync("slot", { key: '4cebce7de3143c3eb1deafa57209f7295aa6ec44' }))));
|
|
13722
13749
|
}
|
|
13723
13750
|
get host() { return getElement(this); }
|
|
13724
13751
|
static get style() { return postListboxCss(); }
|
|
@@ -13755,9 +13782,9 @@ class PostListboxOption {
|
|
|
13755
13782
|
this.highlighted = false;
|
|
13756
13783
|
}
|
|
13757
13784
|
render() {
|
|
13758
|
-
return (hAsync(Host, { key: '
|
|
13785
|
+
return (hAsync(Host, { key: 'ff0e773f8a89f9df3996a83cd2be6247c1ab5475', "data-version": version$1, role: "option", "aria-selected": `${this.selected}`, "data-active": this.highlighted ? 'true' : null,
|
|
13759
13786
|
/* Prevent focus change from triggering onblur event in post-autocomplete */
|
|
13760
|
-
onPointerDown: (e) => e.preventDefault(), onClick: () => this.postOptionSelected.emit(this.value), id: `post-listbox-option-${this.optionId}` }, hAsync("span", { key: '
|
|
13787
|
+
onPointerDown: (e) => e.preventDefault(), onClick: () => this.postOptionSelected.emit(this.value), id: `post-listbox-option-${this.optionId}` }, hAsync("span", { key: 'cb43e8bec5f262ae25ddfdcae1b7f9979bdd6858', class: "option-content" }, this.value, hAsync("span", { key: '5b314c41073a357185613a04a07d2020e4eab300', class: "option-description" }, hAsync("slot", { key: 'ac1ed1be98f9a348952c0169d7ec89f8aaa99474' }))), this.selected && hAsync("post-icon", { key: '7691085df732c0c2c5db9824587d54047017adf5', "aria-hidden": "true", name: "checkmark" })));
|
|
13761
13788
|
}
|
|
13762
13789
|
static get style() { return postListboxOptionCss(); }
|
|
13763
13790
|
static get cmpMeta() { return {
|
|
@@ -13804,7 +13831,7 @@ class PostLogo {
|
|
|
13804
13831
|
render() {
|
|
13805
13832
|
const logoLink = this.url && (typeof this.url === 'string' ? this.url : this.url.href);
|
|
13806
13833
|
const LogoTag = logoLink ? 'a' : 'span';
|
|
13807
|
-
return (hAsync(Host, { key: '
|
|
13834
|
+
return (hAsync(Host, { key: '84ece8e71d7dec66aa634d9a8a37d6bf3197c1b6', "data-version": version$1 }, hAsync(LogoTag, { key: '1531c6e8f32d42e63f5482d2983f18e4c9a23b1a', class: `logo ${logoLink ? 'logo-link' : ''}`, ...(logoLink ? { href: logoLink } : {}) }, hAsync("span", { key: 'd45d33329e30de0de9de56f2d588995a7f97d01e', class: "description" }, hAsync("slot", { key: 'e8665c8d739dc2a2968bf1193c26ba1d1e731b38', onSlotchange: () => this.checkDescription() })), hAsync("svg", { key: 'bb3f534952e29e2e43816c5a5dd55541d05bee26', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", "aria-hidden": "true" }, hAsync("g", { key: '9ca05c263f6c9f41cc5406ccfd030a713ffe0254', id: "Logo" }, hAsync("rect", { key: '30a59adc0eec11af2d90180da1f5a95b03175d21', fill: "#ffcc00", x: "0", y: "0", width: "72", height: "72" }), hAsync("polygon", { key: 'b1cbe7c575d36cf26a1cc41c9124625c2d1e5ef1', fill: "#ff0000", points: "34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3" }), hAsync("path", { key: '398027f23c8c9a4cf2bc7f8d7c8aa4ec0466f0be', d: "M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z" }))))));
|
|
13808
13835
|
}
|
|
13809
13836
|
get host() { return getElement(this); }
|
|
13810
13837
|
static get style() { return postLogoCss(); }
|
|
@@ -13954,7 +13981,7 @@ class PostMainnavigation {
|
|
|
13954
13981
|
}, NAVBAR_DISABLE_DURATION);
|
|
13955
13982
|
}
|
|
13956
13983
|
render() {
|
|
13957
|
-
return (hAsync(Host, { key: '
|
|
13984
|
+
return (hAsync(Host, { key: '2e9f2361426298f620411b1d064e166992ba326e', version: version$1, class: this.canScroll ? 'scrollable' : '' }, hAsync("div", { key: '10103d153e37fd591c2ce062ef7455228adbf5b9', "aria-hidden": "true", class: { 'scroll-control scroll-left': true, 'd-none': !this.canScrollLeft }, onMouseDown: e => this.handleScrollButtonClick(e, 'left') }, hAsync("post-icon", { key: '8bb9b82626d05c1fe8f4fd1bb9f8e6d6be59ad8a', "aria-hidden": "true", name: "chevronleft" })), hAsync("nav", { key: '6905afe8c2dfcf0f2411b45237b52d63f187d2c9', ref: el => (this.navbar = el), "aria-label": this.textMain }, hAsync("slot", { key: '2db905e52b1604d9c6097734d055100a58625f09' })), hAsync("div", { key: 'f8ec4f906f1c99fec2198bb350ac1735c2de8469', "aria-hidden": "true", class: { 'scroll-control scroll-right': true, 'd-none': !this.canScrollRight }, onMouseDown: e => this.handleScrollButtonClick(e, 'right') }, hAsync("post-icon", { key: 'afed8c1778691ca5b849d78ee20d51a4b8c02fe6', "aria-hidden": "true", name: "chevronright" }))));
|
|
13958
13985
|
}
|
|
13959
13986
|
get host() { return getElement(this); }
|
|
13960
13987
|
static get style() { return postMainnavigationCss(); }
|
|
@@ -14013,6 +14040,10 @@ class PostMegadropdown {
|
|
|
14013
14040
|
this.trigger = false;
|
|
14014
14041
|
/** Holds the current animation class. */
|
|
14015
14042
|
this.animationClass = null;
|
|
14043
|
+
this.breakpointChange = (e) => {
|
|
14044
|
+
this.device = e.detail;
|
|
14045
|
+
this.cancelAnimation();
|
|
14046
|
+
};
|
|
14016
14047
|
this.handleClickOutside = async (event) => {
|
|
14017
14048
|
if (this.device !== 'desktop')
|
|
14018
14049
|
return;
|
|
@@ -14040,7 +14071,7 @@ class PostMegadropdown {
|
|
|
14040
14071
|
this.handleClickOutside = this.handleClickOutside.bind(this);
|
|
14041
14072
|
}
|
|
14042
14073
|
connectedCallback() {
|
|
14043
|
-
globalThis.addEventListener('postBreakpoint:device', this.breakpointChange
|
|
14074
|
+
globalThis.addEventListener('postBreakpoint:device', this.breakpointChange);
|
|
14044
14075
|
}
|
|
14045
14076
|
componentDidRender() {
|
|
14046
14077
|
this.getFocusableElements();
|
|
@@ -14051,7 +14082,7 @@ class PostMegadropdown {
|
|
|
14051
14082
|
this.handleAriaCurrentChange([]);
|
|
14052
14083
|
}
|
|
14053
14084
|
disconnectedCallback() {
|
|
14054
|
-
globalThis.removeEventListener('postBreakpoint:device', this.breakpointChange
|
|
14085
|
+
globalThis.removeEventListener('postBreakpoint:device', this.breakpointChange);
|
|
14055
14086
|
if (PostMegadropdown.activeDropdown === this)
|
|
14056
14087
|
PostMegadropdown.activeDropdown = null;
|
|
14057
14088
|
this.removeListeners();
|
|
@@ -14179,10 +14210,6 @@ class PostMegadropdown {
|
|
|
14179
14210
|
this.currentAnimation?.cancel();
|
|
14180
14211
|
this.currentAnimation = null;
|
|
14181
14212
|
}
|
|
14182
|
-
breakpointChange(e) {
|
|
14183
|
-
this.device = e.detail;
|
|
14184
|
-
this.cancelAnimation();
|
|
14185
|
-
}
|
|
14186
14213
|
addListeners() {
|
|
14187
14214
|
this.host.addEventListener('keydown', this.keyboardHandler);
|
|
14188
14215
|
document.addEventListener('keyup', this.handleTabOutside);
|
|
@@ -14270,7 +14297,7 @@ class PostMegadropdown {
|
|
|
14270
14297
|
}
|
|
14271
14298
|
render() {
|
|
14272
14299
|
const containerStyle = this.isVisible ? {} : { display: 'none' };
|
|
14273
|
-
return (hAsync(Host, { key: '
|
|
14300
|
+
return (hAsync(Host, { key: '355f69ea10cd4c3c058e4c1e6818f1c9da7d4102', version: version$1 }, hAsync("div", { key: '9c2b9b31aa450c1e1b4257066a38bd3660e834ef', ref: el => (this.animatedContainer = el), class: "megadropdown", style: containerStyle }, hAsync("div", { key: '7fe7f257bb41b43b72cda39f1614c5ba4726b940', class: "section" }, this.device !== 'desktop' && this.megadropdownTitle && (hAsync("p", { key: '09ffb0ce4a56453d33d4366ce30c0bce09395f93', class: "megadropdown-title" }, this.megadropdownTitle)), hAsync("div", { key: 'd88fb0218c8788981dd7f3213979eba5ab7ff333', class: "megadropdown-content" }, hAsync("slot", { key: 'ab64e771770bd42c4f077ebe5e05685cb285134f' })), this.device === 'desktop' ? (hAsync("post-closebutton", { onClick: () => this.hide(true), class: "close-button", size: "small", placement: "manual" }, this.textClose)) : (hAsync("button", { onClick: () => this.hide(true), class: "back-button" }, hAsync("post-icon", { name: "arrowleft" }), this.textBack))))));
|
|
14274
14301
|
}
|
|
14275
14302
|
get host() { return getElement(this); }
|
|
14276
14303
|
static get style() { return postMegadropdownCss(); }
|
|
@@ -14375,7 +14402,7 @@ class PostMegadropdownTrigger {
|
|
|
14375
14402
|
this.megadropdown.toggle();
|
|
14376
14403
|
}
|
|
14377
14404
|
render() {
|
|
14378
|
-
return (hAsync(Host, { key: '
|
|
14405
|
+
return (hAsync(Host, { key: '40d8afcb6b0ec482c0a13f7b78493a66243e03a5', "data-version": version$1 }, hAsync("button", { key: '6c1362cd4e1af22d26cf9ae74af4092cd083360c', ref: el => (this.interactiveButton = el), type: "button", "aria-haspopup": "menu", "aria-expanded": this.isMegadropdownExpanded.toString(), onClick: this.onClick.bind(this), onKeyDown: this.onKeyDown.bind(this), class: { active: this.active } }, hAsync("span", { key: '6bd7d94da2055c1c6fb933402f2478a3cee12cc7' }, hAsync("span", { key: '8109bdcc23c4a0f8c0861b774a974dde75b464f3', innerHTML: this.slottedContent }), hAsync("span", { key: 'edd54adde0d7af4eb9cf7796183d01705d217500', "aria-hidden": "true" }, hAsync("slot", { key: 'dbcc08bb882273f1074dd8963a4b86f67deb0c0a' }))), hAsync("post-icon", { key: '7437573a492181cc3e5ddd59ac3695dc94d43e09', name: "chevrondown" }))));
|
|
14379
14406
|
}
|
|
14380
14407
|
get host() { return getElement(this); }
|
|
14381
14408
|
static get style() { return postMegadropdownTriggerCss(); }
|
|
@@ -14585,7 +14612,7 @@ class PostMenu {
|
|
|
14585
14612
|
]));
|
|
14586
14613
|
}
|
|
14587
14614
|
render() {
|
|
14588
|
-
return (hAsync(Host, { key: '
|
|
14615
|
+
return (hAsync(Host, { key: '31142d851d591bc46a43f36b553b6c7abee90674', "data-version": version$1 }, hAsync("post-popovercontainer", { key: '6b4b2a04b25904115fe1c337e73e382a4e162259', onPostShow: this.handlePostShown.bind(this), onPostBeforeToggle: this.handlePostBeforeToggle.bind(this), placement: this.placement, ref: e => (this.popoverRef = e) }, hAsync("div", { key: '1284650d5796455201d55e1ecad3507518c7c32c', part: "post-menu" }, hAsync("slot", { key: 'b2dbd125a631c06a591e67c52fd61524bcf037ea', name: "header" }), hAsync("slot", { key: '3b15ec3ad5a25e2e22b6e26e17d9d2d76e9f64fb' })))));
|
|
14589
14616
|
}
|
|
14590
14617
|
get host() { return getElement(this); }
|
|
14591
14618
|
static get style() { return postMenuCss(); }
|
|
@@ -14707,7 +14734,7 @@ class PostMenuTrigger {
|
|
|
14707
14734
|
return null;
|
|
14708
14735
|
}
|
|
14709
14736
|
render() {
|
|
14710
|
-
return (hAsync(Host, { key: '
|
|
14737
|
+
return (hAsync(Host, { key: '8f43fe80dd56550141481f157a06caf559494291', "data-version": version$1 }, hAsync("slot", { key: '1b5d220cff9894918aedc54b0585df75095dcb0e' })));
|
|
14711
14738
|
}
|
|
14712
14739
|
get host() { return getElement(this); }
|
|
14713
14740
|
static get style() { return postMenuTriggerCss(); }
|
|
@@ -14817,10 +14844,10 @@ class PostNumberInput {
|
|
|
14817
14844
|
}
|
|
14818
14845
|
render() {
|
|
14819
14846
|
const areButtonsShown = !!this.input;
|
|
14820
|
-
return (hAsync(Host, { key: '
|
|
14847
|
+
return (hAsync(Host, { key: '59cbe12c66b0eabbff15a3110ee847396df2d261', "data-version": version$1, class: {
|
|
14821
14848
|
'number-input-sm': this.small,
|
|
14822
14849
|
'disabled': this.isDisabled,
|
|
14823
|
-
} }, areButtonsShown && (hAsync("div", { key: '
|
|
14850
|
+
} }, areButtonsShown && (hAsync("div", { key: '43fca97c040104786ab528b04f3e0dd576f29025', "aria-hidden": "true", onPointerDown: () => this.step('down'), class: { 'step-button': true, 'disabled': this.isDecrementDisabled } }, hAsync("post-icon", { key: '1b41c236beb802d98f60776827928335d00599c4', name: "minus" }))), hAsync("div", { key: '8342d335e0a84f78514edac5052ffea081fb40c7', class: "input-container" }, hAsync("slot", { key: 'd2f8eae0656faaab31358cd3582c873d4a491e73', onSlotchange: () => this.setupInput() })), areButtonsShown && (hAsync("div", { key: '0055b317ed6ec64f2451640c436d169bb0b07626', "aria-hidden": "true", onPointerDown: () => this.step('up'), class: { 'step-button': true, 'disabled': this.isIncrementDisabled } }, hAsync("post-icon", { key: 'dafe4a65f6d5d6ba4f54229c55506d5cf14fe126', name: "plus" })))));
|
|
14824
14851
|
}
|
|
14825
14852
|
get host() { return getElement(this); }
|
|
14826
14853
|
static get style() { return postNumberInputCss(); }
|
|
@@ -15518,10 +15545,10 @@ class PostPopover {
|
|
|
15518
15545
|
}
|
|
15519
15546
|
}
|
|
15520
15547
|
render() {
|
|
15521
|
-
return (hAsync(Host, { key: '
|
|
15548
|
+
return (hAsync(Host, { key: 'f4f8be88b1cd844bcc3517dec2d0468de703ed8f', "data-version": version$1 }, hAsync("post-popovercontainer", { key: 'da00d26e57d94519fc779953101596d20562c9f5', arrow: this.arrow, placement: this.placement, edgeGap: this.edgeGap, ref: e => {
|
|
15522
15549
|
if (e)
|
|
15523
15550
|
this.popoverRef = e;
|
|
15524
|
-
} }, hAsync("div", { key: '
|
|
15551
|
+
} }, hAsync("div", { key: 'addb4760c6c815a874798bde52387141ca261d20', class: "popover-container" }, hAsync("div", { key: '18ce8f7a597a0c7b5d3f07cef8333f78b5c30f4c', class: "popover-content" }, hAsync("slot", { key: '05980996b118f6a16ac49fc0efa52b87d44b5f43' })), hAsync("post-closebutton", { key: '161dff07e96811be00f08de379df7882319e07cb', onClick: () => this.hide() }, this.textClose)))));
|
|
15525
15552
|
}
|
|
15526
15553
|
get host() { return getElement(this); }
|
|
15527
15554
|
static get style() { return postPopoverCss(); }
|
|
@@ -20669,7 +20696,7 @@ class PostPopoverTrigger {
|
|
|
20669
20696
|
this.popover?.removeEventListener('postToggle', this.boundHandlePostToggle);
|
|
20670
20697
|
}
|
|
20671
20698
|
render() {
|
|
20672
|
-
return (hAsync(Host, { key: '
|
|
20699
|
+
return (hAsync(Host, { key: '009495ba354321f2b0162c4a0c4fcb1e165074e7', "data-version": version$1 }, hAsync("slot", { key: 'f0e5ef7851b4bc9916382b0910d9500db52668d4', onSlotchange: () => this.setupTrigger() })));
|
|
20673
20700
|
}
|
|
20674
20701
|
get host() { return getElement(this); }
|
|
20675
20702
|
static get watchers() { return {
|
|
@@ -22984,9 +23011,9 @@ class PostPopovercontainer {
|
|
|
22984
23011
|
}
|
|
22985
23012
|
}
|
|
22986
23013
|
render() {
|
|
22987
|
-
return (hAsync(Host, { key: '
|
|
23014
|
+
return (hAsync(Host, { key: 'be9f32a35f247f5b2cb54599b96e715ce1a5a1f1', "data-version": version$1, popover: "auto" }, hAsync("div", { key: 'ad2616c15dfec83e1e53ad14cb145aee2d625c9a', part: "post-popovercontainer-content", class: "popover-content" }, this.arrow && (hAsync("span", { key: '293ba9d1ba2a7b57297cd4aa716ba1369b2f8988', "dynamic-placement": this.dynamicPlacement, class: "arrow", ref: el => {
|
|
22988
23015
|
this.arrowRef = el;
|
|
22989
|
-
} })), hAsync("span", { key: '
|
|
23016
|
+
} })), hAsync("span", { key: '7b9d47b53a4d4a672490eccdc88a7eb0552b5574', part: "post-popovercontainer-border-mask" }), hAsync("slot", { key: '4b4249d6ebe1c247634bbb76b08ec01e73dc7d4b' }))));
|
|
22990
23017
|
}
|
|
22991
23018
|
get host() { return getElement(this); }
|
|
22992
23019
|
static get style() { return postPopovercontainerCss(); }
|
|
@@ -23085,7 +23112,7 @@ class PostProgressbar {
|
|
|
23085
23112
|
const max = this.getEffectiveMax();
|
|
23086
23113
|
const value = this.getEffectiveValue(min, max);
|
|
23087
23114
|
const percentage = ((value - min) / (max - min)) * 100;
|
|
23088
|
-
return (hAsync(Host, { key: '
|
|
23115
|
+
return (hAsync(Host, { key: '26bdbb5219393e8b44e2fe5395d8a4cd8aa7e18a', role: "progressbar", "aria-valuenow": value, "aria-valuemin": min, "aria-valuemax": max }, hAsync("div", { key: '65b81479fac7aa6024556ef6589064f997f4394e', class: "progress-value", style: { '--post-progressbar-value': `${percentage}%` } })));
|
|
23089
23116
|
}
|
|
23090
23117
|
get host() { return getElement(this); }
|
|
23091
23118
|
static get style() { return postProgressbarCss(); }
|
|
@@ -23202,7 +23229,7 @@ class PostRating {
|
|
|
23202
23229
|
}
|
|
23203
23230
|
}
|
|
23204
23231
|
render() {
|
|
23205
|
-
return (hAsync(Host, { key: '
|
|
23232
|
+
return (hAsync(Host, { key: 'c793abbf5e0d01bb19dc4464ebd75249959a1717', "data-version": version$1 }, hAsync("div", { key: '357946df40a3d3a85ece2d0ac6ecc761951d9471', role: "slider", class: "rating", tabindex: "0", "aria-label": this.label, "aria-valuemin": "0", "aria-valuemax": this.stars, "aria-valuenow": this.currentRating, "aria-valuetext": `${this.currentRating} / ${this.stars}`, "aria-readonly": this.readonly ? 'true' : 'false', onKeyDown: this.keydownHandler, onBlur: this.blurHandler }, Array.from({ length: this.stars }).map((v, i) => (hAsync("div", { key: `star-${v}`, "aria-hidden": "true", class: {
|
|
23206
23233
|
'star': true,
|
|
23207
23234
|
'before-hover': i < this.hoveredIndex,
|
|
23208
23235
|
'active': i < Math.round(this.currentRating),
|
|
@@ -23363,7 +23390,7 @@ class PostSideNavigation {
|
|
|
23363
23390
|
} }, hAsync("slot", null), hAsync("post-closebutton", { onClick: () => this.hide() }, this.textClose)));
|
|
23364
23391
|
}
|
|
23365
23392
|
render() {
|
|
23366
|
-
return (hAsync(Host, { key: '
|
|
23393
|
+
return (hAsync(Host, { key: 'b551854e6db686783086a7a9d82a6847bf2a04b9', "data-version": version$1 }, this.device === 'desktop' ? this.renderNav() : this.renderDialog()));
|
|
23367
23394
|
}
|
|
23368
23395
|
get host() { return getElement(this); }
|
|
23369
23396
|
static get style() { return postSideNavigationCss(); }
|
|
@@ -23478,7 +23505,7 @@ class PostSideNavigationTrigger {
|
|
|
23478
23505
|
await this.sideNavigation?.toggle();
|
|
23479
23506
|
}
|
|
23480
23507
|
render() {
|
|
23481
|
-
return (hAsync(Host, { key: '
|
|
23508
|
+
return (hAsync(Host, { key: '62fd7ce0eb2583decb73c4505bf5a9a08e76f862', "data-version": version$1 }, hAsync("slot", { key: 'c3cfa14f670b8bcfc6e780d33c5c87df7880bb16' })));
|
|
23482
23509
|
}
|
|
23483
23510
|
get host() { return getElement(this); }
|
|
23484
23511
|
static get style() { return postSideNavigationTriggerCss(); }
|
|
@@ -23608,7 +23635,7 @@ class PostStepper {
|
|
|
23608
23635
|
}
|
|
23609
23636
|
}
|
|
23610
23637
|
render() {
|
|
23611
|
-
return (hAsync(Host, { key: '
|
|
23638
|
+
return (hAsync(Host, { key: '52c9943bca4c1d7b1d964d812ce21d8b0eb2d236', "data-version": version$1 }, hAsync("ol", { key: 'ea1f27a214d9cdf14b5f2d07f14a8d54836a32b3' }, hAsync("slot", { key: '6f07fe49d55152123dc39645ef17bf5557753005', onSlotchange: () => this.updateSteps() })), hAsync("div", { key: 'ad3af45bc5d1493f9f1084cc28c77c39d27cbd35', class: "active-step", "aria-hidden": "true" }, hAsync("span", { key: '6e3f5decadc8bcc67812dd67f6efe0afa0613b46', class: "active-step-label" }, this.mobileActiveStepLabel), hAsync("span", { key: '4aeb9376181d78007a929c5e8e4ba11c181039bb', innerHTML: this.mobileActiveStepName }))));
|
|
23612
23639
|
}
|
|
23613
23640
|
get host() { return getElement(this); }
|
|
23614
23641
|
static get watchers() { return {
|
|
@@ -23667,7 +23694,7 @@ class PostStepperItem {
|
|
|
23667
23694
|
registerInstance(this, hostRef);
|
|
23668
23695
|
}
|
|
23669
23696
|
render() {
|
|
23670
|
-
return (hAsync(Host, { key: '
|
|
23697
|
+
return (hAsync(Host, { key: '53b052a2b68a93df9fda7f80f23d602d8a8efc56', "data-version": version$1, role: "listitem" }, hAsync("span", { key: 'e06841841e7fad42ff9de3e39dadf5fab96b9952', class: "stepper-item-content" }, hAsync("span", { key: 'f934ef19fbdd65111b7cf561dcc9297122d62595', class: "step-hidden-label visually-hidden" }), hAsync("span", { key: '213db918f5ab854225974678c50176bb565ac2b1', class: "label" }, hAsync("slot", { key: 'd8e067ea304700e37edb996a4c715d41e209b8d8' })))));
|
|
23671
23698
|
}
|
|
23672
23699
|
static get style() { return postStepperItemCss(); }
|
|
23673
23700
|
static get cmpMeta() { return {
|
|
@@ -23723,9 +23750,9 @@ class PostTabItem {
|
|
|
23723
23750
|
this.isPagesVariant = hasAnchor;
|
|
23724
23751
|
}
|
|
23725
23752
|
render() {
|
|
23726
|
-
return (hAsync(Host, { key: '
|
|
23753
|
+
return (hAsync(Host, { key: '974d9682ef0448cf3adf9481ba472a5c196349b3', id: this.tabId, role: this.isPagesVariant ? undefined : 'tab', "data-version": version$1, "data-pages-variant": this.isPagesVariant.toString(), "aria-selected": this.isPagesVariant ? undefined : 'false', "aria-disabled": this.disabled ? 'true' : undefined, tabindex: this.isPagesVariant ? undefined : '-1', class: `${this.isPagesVariant ? 'nav-item' : 'tab-title'}${!this.isPagesVariant ? ' ssr' : ''}`, style: !this.isPagesVariant
|
|
23727
23754
|
? { '--active': `var(--post-tab-item-${this.name}, 0)` }
|
|
23728
|
-
: undefined }, hAsync("slot", { key: '
|
|
23755
|
+
: undefined }, hAsync("slot", { key: '6a7ed6323892a40ea22e487bc9460af69fda02c6' })));
|
|
23729
23756
|
}
|
|
23730
23757
|
get host() { return getElement(this); }
|
|
23731
23758
|
static get cmpMeta() { return {
|
|
@@ -23771,7 +23798,7 @@ class PostTabPanel {
|
|
|
23771
23798
|
this.panelId = `panel-${this.host.id || nanoid(6)}`;
|
|
23772
23799
|
}
|
|
23773
23800
|
render() {
|
|
23774
|
-
return (hAsync(Host, { key: '
|
|
23801
|
+
return (hAsync(Host, { key: '07d93ddaa69253a956ed50cd9ecd6ed039fbc6e2', "data-version": version$1, id: this.panelId, role: "tabpanel", slot: "panels", style: { display: `var(--post-tab-panel-${this.for}, none)` } }, hAsync("slot", { key: 'd6887db4e0e4dc22f8f8fdf098d6068ef4bd1a91' })));
|
|
23775
23802
|
}
|
|
23776
23803
|
get host() { return getElement(this); }
|
|
23777
23804
|
static get style() { return postTabPanelCss(); }
|
|
@@ -23792,7 +23819,7 @@ __decorate$3([
|
|
|
23792
23819
|
Type('string')
|
|
23793
23820
|
], PostTabPanel.prototype, "for", void 0);
|
|
23794
23821
|
|
|
23795
|
-
const postTabsCss = () => `:host{display:block}:host .tabs-wrapper{position:relative;display:flex;align-items:center}:host .tabs-wrapper button.scroll-btn{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;display:flex;align-items:center;justify-content:center;transition:background-color 100ms,border-color 100ms,color 100ms;cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn{background-color:ButtonFace !important}:host .tabs-wrapper button.scroll-btn:hover{background-color:Highlight !important}}:host .tabs-wrapper button.scroll-btn post-icon{color:currentColor}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn post-icon{color:Highlight}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:hover post-icon{color:canvas}}:host .tabs-wrapper button.scroll-btn[hidden]{display:none}:host .tabs-wrapper button.scroll-btn{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*var(--post-device-border-width-default)) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){transition:none}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus):hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*var(--post-device-border-width-default)) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){transition:none}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus):hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}:host .tabs-wrapper .tabs{overflow-x:hidden;background-color:rgba(0,0,0,0) !important;display:flex;flex-wrap:nowrap;align-items:end;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}:host(.page-tabs){overflow:visible !important}:host(.page-tabs) .tabs-wrapper{margin-inline:calc(-1*(var(--post-container-offset)))}:host(.page-tabs) .tabs-wrapper button.scroll-btn{color:var(--post-scheme-color-interactive-primary-enabled-fg5);background-color:var(--post-scheme-color-interactive-primary-enabled-bg5);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke);position:absolute;z-index:2;box-shadow:var(--post-device-elevation-200);border-radius:var(--post-device-border-radius-2)}:host(.page-tabs) .tabs-wrapper button.scroll-btn:hover{border-color:var(--post-scheme-color-interactive-primary-hover-stroke) !important;color:var(--post-scheme-color-interactive-primary-hover-fg4);background-color:var(--post-scheme-color-interactive-primary-hover-bg8)}:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn-left{inset-inline-start:0;border-inline-start:none;border-radius:0 var(--post-device-border-radius-2) var(--post-device-border-radius-2) 0}:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn-right{inset-inline-end:0;border-inline-end:none;border-radius:var(--post-device-border-radius-2) 0 0 var(--post-device-border-radius-2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn{background-color:Highlight;color:HighlightText}}:host(.page-tabs) .tabs-wrapper::after{content:"";position:absolute;inset-block-end:0;inset-inline-start:0;width:100%;height:var(--post-device-border-width-default);background-color:var(--post-palette-color-nested-tabs-page-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper::after{background-color:LinkText}}:host(.page-tabs) .tabs-wrapper .tabs{padding-inline:calc(var(--post-container-offset));gap:var(--post-device-spacing-gap-inline-5);scrollbar-width:none}:host(.page-tabs) .tabs-wrapper .tabs::-webkit-scrollbar{display:none}:host(.page-tabs:not([size=small])) button.scroll-btn{top:var(--post-device-spacing-padding-block-35)}:host(.page-tabs[size=small]) button.scroll-btn{top:var(--post-device-spacing-padding-block-8)}:host(.content-tabs) .tabs-wrapper button.scroll-btn{flex-shrink:0;color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}:host(.content-tabs) .tabs-wrapper button.scroll-btn:hover{border-color:var(--post-scheme-color-interactive-primary-hover-stroke) !important;color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.content-tabs) .tabs-wrapper button.scroll-btn:hover{color:HighlightText}}:host(
|
|
23822
|
+
const postTabsCss = () => `:host{display:block}:host .tabs-wrapper{position:relative;display:flex;align-items:center}:host .tabs-wrapper button.scroll-btn{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;display:flex;align-items:center;justify-content:center;transition:background-color 100ms,border-color 100ms,color 100ms;cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn{background-color:ButtonFace !important}:host .tabs-wrapper button.scroll-btn:hover{background-color:Highlight !important}}:host .tabs-wrapper button.scroll-btn post-icon{color:currentColor}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn post-icon{color:Highlight}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:hover post-icon{color:canvas}}:host .tabs-wrapper button.scroll-btn[hidden]{display:none}:host .tabs-wrapper button.scroll-btn{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*var(--post-device-border-width-default)) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){transition:none}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus):hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*var(--post-device-border-width-default)) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){transition:none}:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus):hover{color:HighlightText;border-color:HighlightText}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .tabs-wrapper button.scroll-btn:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}:host .tabs-wrapper .tabs{overflow-x:hidden;background-color:rgba(0,0,0,0) !important;display:flex;flex-wrap:nowrap;align-items:end;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}:host(.page-tabs){overflow:visible !important}:host(.page-tabs) .tabs-wrapper{margin-inline:calc(-1*(var(--post-container-offset)))}:host(.page-tabs) .tabs-wrapper button.scroll-btn{color:var(--post-scheme-color-interactive-primary-enabled-fg5);background-color:var(--post-scheme-color-interactive-primary-enabled-bg5);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke);position:absolute;z-index:2;box-shadow:var(--post-device-elevation-200);border-radius:var(--post-device-border-radius-2)}:host(.page-tabs) .tabs-wrapper button.scroll-btn:hover{border-color:var(--post-scheme-color-interactive-primary-hover-stroke) !important;color:var(--post-scheme-color-interactive-primary-hover-fg4);background-color:var(--post-scheme-color-interactive-primary-hover-bg8)}:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn-left{inset-inline-start:0;border-inline-start:none;border-radius:0 var(--post-device-border-radius-2) var(--post-device-border-radius-2) 0}:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn-right{inset-inline-end:0;border-inline-end:none;border-radius:var(--post-device-border-radius-2) 0 0 var(--post-device-border-radius-2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper button.scroll-btn.scroll-btn{background-color:Highlight;color:HighlightText}}:host(.page-tabs) .tabs-wrapper::after{content:"";position:absolute;inset-block-end:0;inset-inline-start:0;width:100%;height:var(--post-device-border-width-default);background-color:var(--post-palette-color-nested-tabs-page-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.page-tabs) .tabs-wrapper::after{background-color:LinkText}}:host(.page-tabs) .tabs-wrapper .tabs{padding-inline:calc(var(--post-container-offset));gap:var(--post-device-spacing-gap-inline-5);scrollbar-width:none}:host(.page-tabs) .tabs-wrapper .tabs::-webkit-scrollbar{display:none}:host(.page-tabs:not([size=small])) button.scroll-btn{top:var(--post-device-spacing-padding-block-35)}:host(.page-tabs[size=small]) button.scroll-btn{top:var(--post-device-spacing-padding-block-8)}:host(.content-tabs) .tabs-wrapper button.scroll-btn{flex-shrink:0;color:var(--post-scheme-color-interactive-button-tertiary-enabled-fg)}:host(.content-tabs) .tabs-wrapper button.scroll-btn:hover{border-color:var(--post-scheme-color-interactive-primary-hover-stroke) !important;color:var(--post-scheme-color-interactive-button-tertiary-hover-fg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(.content-tabs) .tabs-wrapper button.scroll-btn:hover{color:HighlightText}}:host(post-tabs:not([size=small])) button.scroll-btn{height:var(--post-device-sizing-interactive-button-height-10);width:var(--post-device-sizing-interactive-button-width-1);border-radius:var(--post-device-border-radius-2)}:host(post-tabs:not([size=small])) button.scroll-btn post-icon{height:var(--post-device-sizing-interactive-icon-size5);width:var(--post-device-sizing-interactive-icon-size5)}:host(.page-tabs:not([size=small])) button.scroll-btn-left{padding-inline:var(--post-device-spacing-padding-38) var(--post-device-spacing-padding-39)}:host(.page-tabs:not([size=small])) button.scroll-btn-right{padding-inline:var(--post-device-spacing-padding-39) var(--post-device-spacing-padding-38)}:host([size=small]) button.scroll-btn{height:var(--post-device-sizing-interactive-button-size-1);width:var(--post-device-sizing-interactive-button-size-1);border-radius:var(--post-device-border-radius-2)}:host([size=small]) button.scroll-btn post-icon{height:var(--post-device-sizing-interactive-icon-size4);width:var(--post-device-sizing-interactive-icon-size4)}:host(.page-tabs[size=small]) button.scroll-btn-left{padding-inline:var(--post-device-spacing-padding-41) var(--post-device-spacing-padding-42)}:host(.page-tabs[size=small]) button.scroll-btn-right{padding-inline:var(--post-device-spacing-padding-42) var(--post-device-spacing-padding-41)}`;
|
|
23796
23823
|
|
|
23797
23824
|
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
23798
23825
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -24220,10 +24247,10 @@ class PostTabs {
|
|
|
24220
24247
|
}
|
|
24221
24248
|
: undefined;
|
|
24222
24249
|
const style = !this.isPagesVariant ? tabStyle : undefined;
|
|
24223
|
-
return (hAsync(Host, { key: '
|
|
24250
|
+
return (hAsync(Host, { key: '0520b7aba909495feef9358b2e572f767e42dce2', "data-version": version$1, style: style }, hAsync("div", { key: '779d35686ab406d8b60b595aea6ca67eb5b7d82a', class: "tabs-wrapper", part: "post-tabs" }, hAsync("button", { key: '2be9734aa1389baf48901e1eafe759f887ed9490', ref: el => (this.leftScrollButton = el), class: "scroll-btn scroll-btn-left", type: "button", "aria-label": this.textPrevTabItems, tabindex: this.showLeftScrollButton ? 0 : -1, hidden: !this.showLeftScrollButton, onClick: () => this.scrollTabs('prev') }, hAsync("post-icon", { key: 'ca6b0acaef9179468737d3669acbc61dfb709657', name: "chevronleft" })), hAsync(TabsContainer, { key: 'df8d1f5ca66b86baeb13123459059f1f399f5383', ref: el => (this.tabsContainer = el), class: "tabs", role: this.isPagesVariant ? undefined : 'tablist', "aria-label": this.isPagesVariant ? this.label : undefined }, hAsync("slot", { key: 'e9c618d1f018381f37c0b46aea741abe797d7e37', onSlotchange: () => {
|
|
24224
24251
|
this.moveMisplacedTabs();
|
|
24225
24252
|
this.enableTabs();
|
|
24226
|
-
} })), hAsync("button", { key: '
|
|
24253
|
+
} })), hAsync("button", { key: '79e0ad08c240f251e5805d71319d6ce32d843367', ref: el => (this.rightScrollButton = el), class: "scroll-btn scroll-btn-right", type: "button", "aria-label": this.textNextTabItems, tabindex: this.showRightScrollButton ? 0 : -1, hidden: !this.showRightScrollButton, onClick: () => this.scrollTabs('next') }, hAsync("post-icon", { key: '491fc9c7746896d9a140fa6cbb97a432ff174ca3', name: "chevronright" }))), !this.isPagesVariant && (hAsync("div", { key: '04839eb63e75923e733ec4eea84cd345ae480e70', class: "tab-content", part: "post-tabs-content" }, hAsync("slot", { key: '64483606952f79810e7a24105f5c9f822180b6ca', name: "panels", onSlotchange: () => this.moveMisplacedPanels() })))));
|
|
24227
24254
|
}
|
|
24228
24255
|
get host() { return getElement(this); }
|
|
24229
24256
|
static get watchers() { return {
|
|
@@ -24290,7 +24317,7 @@ class PostTogglebutton {
|
|
|
24290
24317
|
});
|
|
24291
24318
|
}
|
|
24292
24319
|
render() {
|
|
24293
|
-
return (hAsync(Host, { key: '
|
|
24320
|
+
return (hAsync(Host, { key: '6f61a07946f3e67bace0a883b73c424893c4043d', "data-version": version$1, role: "button", tabindex: "0", "aria-pressed": this.toggled.toString() }, hAsync("slot", { key: 'fd9b93e45da499dbb790ad675f3db36e248c1960' })));
|
|
24294
24321
|
}
|
|
24295
24322
|
get host() { return getElement(this); }
|
|
24296
24323
|
static get style() { return postTogglebuttonCss(); }
|
|
@@ -24374,7 +24401,7 @@ class PostTooltip {
|
|
|
24374
24401
|
}
|
|
24375
24402
|
render() {
|
|
24376
24403
|
const popoverClass = `${this.arrow ? 'has-arrow' : ''}`;
|
|
24377
|
-
return (hAsync(Host, { key: '
|
|
24404
|
+
return (hAsync(Host, { key: 'd49731becbb7395ec68cfae34d316a6248977b53', "data-version": version$1 }, hAsync("post-popovercontainer", { key: '12da18a58c2143ef4c2ddff207d081d091e6a40e', safeSpace: "trapezoid", class: popoverClass, role: "tooltip", arrow: this.arrow, placement: this.placement, onPostBeforeToggle: e => this.handleBeforeToggle(e), ref: (el) => (this.popoverRef = el) }, hAsync("slot", { key: '5f941c0311eff468be1c6abe7cbcdab8ba272e15' }))));
|
|
24378
24405
|
}
|
|
24379
24406
|
get host() { return getElement(this); }
|
|
24380
24407
|
static get style() { return postTooltipCss(); }
|
|
@@ -24569,7 +24596,7 @@ class PostTooltipTrigger {
|
|
|
24569
24596
|
this.tooltip?.hide();
|
|
24570
24597
|
}
|
|
24571
24598
|
render() {
|
|
24572
|
-
return (hAsync(Host, { key: '
|
|
24599
|
+
return (hAsync(Host, { key: '37f835a46c96f1f97019b611da8b6be2d6e1a8d7', "data-version": version$1 }, hAsync("slot", { key: 'c2fc3d9080948fdcfbd8b2866730e76b770b87ba', onSlotchange: () => this.handleSlotChange() })));
|
|
24573
24600
|
}
|
|
24574
24601
|
get host() { return getElement(this); }
|
|
24575
24602
|
static get style() { return postTooltipTriggerCss(); }
|