@swisspost/design-system-components 10.0.0-next.42 → 10.0.0-next.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{breakpoints-DIH5Oaz7.js → breakpoints-DmZ_BQGo.js} +13 -17
- package/dist/cjs/{get-root-DmyBVSJ_.js → get-root-CfQ2PogP.js} +1 -1
- package/dist/cjs/{index-CRMt-jq2.js → index-CpDyH7Ww.js} +1 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-C_aBW878.js → package-B67YsyGQ.js} +1 -1
- package/dist/cjs/post-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/post-avatar.cjs.entry.js +4 -4
- package/dist/cjs/post-back-to-top.cjs.entry.js +3 -3
- package/dist/cjs/post-banner.cjs.entry.js +4 -4
- package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +3 -3
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +4 -4
- package/dist/cjs/post-card-control.cjs.entry.js +4 -4
- package/dist/cjs/post-closebutton_15.cjs.entry.js +62 -38
- package/dist/cjs/post-collapsible_2.cjs.entry.js +4 -4
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/post-footer.cjs.entry.js +4 -4
- package/dist/cjs/post-linkarea.cjs.entry.js +3 -3
- package/dist/cjs/post-popover.cjs.entry.js +4 -4
- package/dist/cjs/post-rating.cjs.entry.js +3 -3
- package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/post-tabs.cjs.entry.js +10 -5
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +4 -4
- package/dist/cjs/post-tooltip.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/post-accordion-item/post-accordion-item.css +1 -1
- package/dist/collection/components/post-avatar/post-avatar.css +1 -1
- package/dist/collection/components/post-banner/post-banner.css +1 -1
- package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -1
- package/dist/collection/components/post-card-control/post-card-control.css +1 -1
- package/dist/collection/components/post-footer/post-footer.js +1 -1
- package/dist/collection/components/post-header/post-header.css +1 -1
- package/dist/collection/components/post-header/post-header.js +46 -13
- package/dist/collection/components/post-icon/post-icon.js +1 -1
- package/dist/collection/components/post-language-option/post-language-option.css +1 -1
- package/dist/collection/components/post-language-option/post-language-option.js +1 -1
- package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
- package/dist/collection/components/post-list/post-list.css +1 -1
- package/dist/collection/components/post-list/post-list.js +1 -1
- package/dist/collection/components/post-list-item/post-list-item.js +1 -1
- package/dist/collection/components/post-logo/post-logo.js +1 -1
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.css +1 -1
- package/dist/collection/components/post-mainnavigation/post-mainnavigation.js +1 -6
- package/dist/collection/components/post-megadropdown/post-megadropdown.js +2 -4
- package/dist/collection/components/post-menu/post-menu.js +1 -1
- package/dist/collection/components/post-popover/post-popover.css +1 -1
- package/dist/collection/components/post-popover/post-popover.js +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.css +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +1 -1
- package/dist/collection/components/post-tabs/post-tabs.css +1 -1
- package/dist/collection/components/post-tabs/post-tabs.js +26 -1
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +1 -1
- package/dist/collection/components/post-tooltip/post-tooltip.css +1 -1
- package/dist/collection/components/post-tooltip/post-tooltip.js +2 -2
- package/dist/collection/components/post-tooltip-trigger/post-tooltip-trigger.js +1 -1
- package/dist/collection/utils/breakpoints.js +13 -17
- package/dist/components/index.js +1 -1
- package/dist/components/p-BNM7v6FW.js +3 -0
- package/dist/components/{p-DBHo9yGF.js → p-CBFgkSgY.js} +1 -1
- package/dist/components/{p-Cx0AiN2A.js → p-CJ80BZ06.js} +13 -17
- package/dist/components/{p-DEBPuQvD.js → p-CwqvvFZ2.js} +3 -3
- package/dist/components/{p-DS1BUsT3.js → p-Dd9p1b8w.js} +3 -3
- package/dist/components/{p-D2S8TlQo.js → p-Dr9p_hZ_.js} +6 -6
- package/dist/components/{p-Dzrd8BSS.js → p-Dt7aSEAx.js} +4 -4
- package/dist/components/{p-BTDGpxKD.js → p-NT9odSeg.js} +1 -1
- package/dist/components/{p-BGbm-LIm.js → p-SKeGpQLv.js} +3 -3
- package/dist/components/{p-BTuwEPwo.js → p-UZ70Uf5s.js} +4 -4
- package/dist/components/{p-DrzP02ul.js → p-WxHIex3Y.js} +2 -2
- package/dist/components/{p-Df_aJQyq.js → p-g-hTnW6H.js} +2 -2
- package/dist/components/{p-47N0HfyR.js → p-q_uZd5m8.js} +3 -3
- package/dist/components/post-accordion-item.js +1 -1
- package/dist/components/post-accordion.js +1 -1
- package/dist/components/post-avatar.js +3 -3
- package/dist/components/post-back-to-top.js +3 -3
- package/dist/components/post-banner.js +4 -4
- package/dist/components/post-breadcrumb-item.js +1 -1
- package/dist/components/post-breadcrumbs.js +9 -9
- package/dist/components/post-card-control.js +4 -4
- package/dist/components/post-closebutton.js +2 -2
- package/dist/components/post-collapsible-trigger.js +1 -1
- package/dist/components/post-collapsible.js +1 -1
- package/dist/components/post-footer.js +8 -8
- package/dist/components/post-header.js +47 -15
- package/dist/components/post-icon.js +1 -1
- package/dist/components/post-language-option.js +4 -4
- package/dist/components/post-language-switch.js +6 -6
- package/dist/components/post-linkarea.js +2 -2
- package/dist/components/post-list-item.js +2 -2
- package/dist/components/post-list.js +3 -3
- package/dist/components/post-logo.js +3 -3
- package/dist/components/post-mainnavigation.js +4 -9
- package/dist/components/post-megadropdown-trigger.js +2 -2
- package/dist/components/post-megadropdown.js +4 -6
- package/dist/components/post-menu-item.js +1 -1
- package/dist/components/post-menu-trigger.js +1 -1
- package/dist/components/post-menu.js +1 -1
- package/dist/components/post-popover.js +4 -4
- package/dist/components/post-popovercontainer.js +1 -1
- package/dist/components/post-rating.js +3 -3
- package/dist/components/post-tab-header.js +2 -2
- package/dist/components/post-tab-panel.js +2 -2
- package/dist/components/post-tabs.js +10 -4
- package/dist/components/post-togglebutton.js +2 -2
- package/dist/components/post-tooltip-trigger.js +3 -3
- package/dist/components/post-tooltip.js +5 -5
- package/dist/docs.json +45 -139
- package/dist/esm/{breakpoints-DyVir0ex.js → breakpoints-_0G7tavk.js} +13 -17
- package/dist/esm/{get-root-D9QC9-TY.js → get-root-hlzxoycr.js} +1 -1
- package/dist/esm/{index-CVhzhVv0.js → index-C8a0ddDa.js} +1 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/package-BNM7v6FW.js +3 -0
- package/dist/esm/post-accordion_2.entry.js +4 -4
- package/dist/esm/post-avatar.entry.js +4 -4
- package/dist/esm/post-back-to-top.entry.js +3 -3
- package/dist/esm/post-banner.entry.js +4 -4
- package/dist/esm/post-breadcrumb-item_2.entry.js +3 -3
- package/dist/esm/post-breadcrumbs.entry.js +4 -4
- package/dist/esm/post-card-control.entry.js +4 -4
- package/dist/esm/post-closebutton_15.entry.js +62 -38
- package/dist/esm/post-collapsible_2.entry.js +4 -4
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/post-footer.entry.js +4 -4
- package/dist/esm/post-linkarea.entry.js +3 -3
- package/dist/esm/post-popover.entry.js +4 -4
- package/dist/esm/post-rating.entry.js +3 -3
- package/dist/esm/post-tab-header.entry.js +3 -3
- package/dist/esm/post-tab-panel.entry.js +3 -3
- package/dist/esm/post-tabs.entry.js +10 -5
- package/dist/esm/post-tooltip-trigger.entry.js +4 -4
- package/dist/esm/post-tooltip.entry.js +5 -5
- package/dist/post-components/p-098030c2.entry.js +1 -0
- package/dist/post-components/p-0bf2c2a2.entry.js +1 -0
- package/dist/post-components/p-0cbafde4.entry.js +1 -0
- package/dist/post-components/{p-79551aa5.entry.js → p-16597bb9.entry.js} +1 -1
- package/dist/post-components/{p-c25faa09.entry.js → p-2399c6ff.entry.js} +1 -1
- package/dist/post-components/p-2942dfc0.entry.js +1 -0
- package/dist/post-components/{p-ecfbdd8d.entry.js → p-33a028ca.entry.js} +1 -1
- package/dist/post-components/p-542e8506.entry.js +1 -0
- package/dist/post-components/{p-8036d63d.entry.js → p-5482dc25.entry.js} +1 -1
- package/dist/post-components/{p-bd16c322.entry.js → p-6768ff84.entry.js} +1 -1
- package/dist/post-components/{p-4c44a7b6.entry.js → p-7f0533f7.entry.js} +1 -1
- package/dist/post-components/p-86b6298e.entry.js +1 -0
- package/dist/post-components/p-8bd78b58.entry.js +1 -0
- package/dist/post-components/p-BNM7v6FW.js +1 -0
- package/dist/post-components/{p-Bkp2QDth.js → p-BkvZk-PA.js} +1 -1
- package/dist/post-components/p-C8a0ddDa.js +2 -0
- package/dist/post-components/p-_0G7tavk.js +1 -0
- package/dist/post-components/{p-e5f6c467.entry.js → p-a4316d9b.entry.js} +1 -1
- package/dist/post-components/{p-16a44ba9.entry.js → p-b7f64972.entry.js} +1 -1
- package/dist/post-components/p-c0028958.entry.js +1 -0
- package/dist/post-components/{p-f06866d2.entry.js → p-c3e0dca4.entry.js} +1 -1
- package/dist/post-components/{p-c949f699.entry.js → p-c936d457.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-footer/post-footer.d.ts +2 -1
- package/dist/types/components/post-header/post-header.d.ts +7 -1
- package/dist/types/components/post-mainnavigation/post-mainnavigation.d.ts +0 -1
- package/dist/types/components/post-megadropdown/post-megadropdown.d.ts +2 -1
- package/dist/types/components/post-tabs/post-tabs.d.ts +5 -0
- package/dist/types/components.d.ts +10 -37
- package/dist/types/utils/breakpoints.d.ts +6 -4
- package/hydrate/index.js +94 -130
- package/hydrate/index.mjs +94 -130
- package/package.json +6 -7
- package/dist/cjs/post-tag.cjs.entry.js +0 -55
- package/dist/collection/components/post-tag/post-tag.css +0 -1
- package/dist/collection/components/post-tag/post-tag.js +0 -133
- package/dist/components/p-BQFahg8B.js +0 -3
- package/dist/components/post-tag.d.ts +0 -11
- package/dist/components/post-tag.js +0 -87
- package/dist/esm/package-BQFahg8B.js +0 -3
- package/dist/esm/post-tag.entry.js +0 -53
- package/dist/post-components/p-1a2f3472.entry.js +0 -1
- package/dist/post-components/p-3b0fdc33.entry.js +0 -1
- package/dist/post-components/p-65b70b56.entry.js +0 -1
- package/dist/post-components/p-7ff04db9.entry.js +0 -1
- package/dist/post-components/p-9a814dc9.entry.js +0 -1
- package/dist/post-components/p-BQFahg8B.js +0 -1
- package/dist/post-components/p-CVhzhVv0.js +0 -2
- package/dist/post-components/p-DyVir0ex.js +0 -1
- package/dist/post-components/p-a2847d8c.entry.js +0 -1
- package/dist/post-components/p-b62dfb1e.entry.js +0 -1
- package/dist/post-components/p-d1db269a.entry.js +0 -1
- package/dist/post-components/p-d9e33696.entry.js +0 -1
- package/dist/types/components/post-tag/post-tag.d.ts +0 -29
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
|
-
import { v as version } from './p-
|
|
2
|
+
import { v as version } from './p-BNM7v6FW.js';
|
|
3
3
|
import { f as fadeOut, a as fadeIn } from './p-SbIC4aZX.js';
|
|
4
|
-
import './p-
|
|
4
|
+
import './p-CJ80BZ06.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Invoke the `componentOnReady` method if it is available, simulate it otherwise
|
|
@@ -24,7 +24,7 @@ function customOnReady(callback) {
|
|
|
24
24
|
return setTimeout(callback);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
const postTabsCss = ".tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(0,0,0,.02)}.tabs-wrapper::after{content:\"\";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}.tabs::after{content:\"\";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}:host{display:block}";
|
|
27
|
+
const postTabsCss = ".tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(0,0,0,.02)}.tabs-wrapper::after{content:\"\";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}.tabs::after{content:\"\";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}:host{display:block}:host([full-width=true]) .tabs-wrapper{margin-inline:calc(-1*var(--post-container-offset))}:host([full-width=true]) .tabs-wrapper .tabs{padding-inline:var(--post-container-offset)}";
|
|
28
28
|
|
|
29
29
|
const PostTabs$1 = /*@__PURE__*/ proxyCustomElement(class PostTabs extends H {
|
|
30
30
|
constructor() {
|
|
@@ -33,6 +33,11 @@ const PostTabs$1 = /*@__PURE__*/ proxyCustomElement(class PostTabs extends H {
|
|
|
33
33
|
this.__attachShadow();
|
|
34
34
|
this.postChange = createEvent(this, "postChange");
|
|
35
35
|
this.isLoaded = false;
|
|
36
|
+
/**
|
|
37
|
+
* When set to true, this property allows the tabs container to span the
|
|
38
|
+
* full width of the screen, from edge to edge.
|
|
39
|
+
*/
|
|
40
|
+
this.fullWidth = false;
|
|
36
41
|
}
|
|
37
42
|
get tabs() {
|
|
38
43
|
return Array.from(this.host.querySelectorAll('post-tab-header')).filter(tab => tab.closest('post-tabs') === this.host);
|
|
@@ -162,12 +167,13 @@ const PostTabs$1 = /*@__PURE__*/ proxyCustomElement(class PostTabs extends H {
|
|
|
162
167
|
nextTab.focus();
|
|
163
168
|
}
|
|
164
169
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: '467959e964a6d7f44ac3eee09f9c7d2b501af4fe', "data-version": version }, h("div", { key: '7ce4c0428360124f6937d123a4664d6f22e1110c', class: "tabs-wrapper", part: "tabs" }, h("div", { key: 'c41b073b855cb12a789c8656d12b0f6e9e20ea6f', class: "tabs", role: "tablist" }, h("slot", { key: '37935aa4c4d1ca4e71931e9e50d91e77075d2b64', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: 'bb84a728572c00256e219b5dd28322cbab699932', class: "tab-content", part: "content" }, h("slot", { key: 'e2aa9cf6a9faa9f5ded6018def77b9b818b2b986', onSlotchange: () => this.moveMisplacedTabs() }))));
|
|
166
171
|
}
|
|
167
172
|
get host() { return this; }
|
|
168
173
|
static get style() { return postTabsCss; }
|
|
169
174
|
}, [1, "post-tabs", {
|
|
170
175
|
"activePanel": [1, "active-panel"],
|
|
176
|
+
"fullWidth": [516, "full-width"],
|
|
171
177
|
"show": [64]
|
|
172
178
|
}]);
|
|
173
179
|
function defineCustomElement$1() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
-
import { v as version } from './p-
|
|
2
|
+
import { v as version } from './p-BNM7v6FW.js';
|
|
3
3
|
|
|
4
4
|
const postTogglebuttonCss = ":host{cursor:pointer;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(:focus-visible){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host(:focus-visible){outline-color:Highlight !important}}:host([aria-pressed=true]) ::slotted([data-showwhen=untoggled]){display:none}:host([aria-pressed=false]) ::slotted([data-showwhen=toggled]){display:none}";
|
|
5
5
|
|
|
@@ -29,7 +29,7 @@ const PostTogglebutton$1 = /*@__PURE__*/ proxyCustomElement(class PostTogglebutt
|
|
|
29
29
|
this.host.addEventListener('keydown', (e) => this.handleKeydown(e));
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '1cebe1d1314e2c89f141869e07521e7f30e58617', "data-version": version, role: "button", tabindex: "0", "aria-pressed": this.toggled.toString() }, h("slot", { key: '8b8c33befde8e93eca73a6239170c3786e2cf2f2' })));
|
|
33
33
|
}
|
|
34
34
|
get host() { return this; }
|
|
35
35
|
static get style() { return postTogglebuttonCss; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
-
import { I as IS_BROWSER } from './p-
|
|
2
|
+
import { I as IS_BROWSER } from './p-CJ80BZ06.js';
|
|
3
3
|
import { e as checkEmptyOrType } from './p-CV7fm1rW.js';
|
|
4
|
-
import { v as version$1 } from './p-
|
|
4
|
+
import { v as version$1 } from './p-BNM7v6FW.js';
|
|
5
5
|
|
|
6
6
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
7
7
|
|
|
@@ -5189,7 +5189,7 @@ const PostTooltipTrigger$1 = /*@__PURE__*/ proxyCustomElement(class PostTooltipT
|
|
|
5189
5189
|
this.tooltip?.hide();
|
|
5190
5190
|
}
|
|
5191
5191
|
render() {
|
|
5192
|
-
return (h(Host, { key: '
|
|
5192
|
+
return (h(Host, { key: '6106c5a0bbe8d19da424e3c9389829009543b6d5', "data-version": version$1 }, h("slot", { key: 'c7358b9b796f287bd165951664a1dd61a0372dc4', onSlotchange: () => this.handleSlotChange() })));
|
|
5193
5193
|
}
|
|
5194
5194
|
get host() { return this; }
|
|
5195
5195
|
static get watchers() { return {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, a as Host } from './index.js';
|
|
2
|
-
import { v as version } from './p-
|
|
2
|
+
import { v as version } from './p-BNM7v6FW.js';
|
|
3
3
|
import { d as checkEmptyOrOneOf } from './p-CV7fm1rW.js';
|
|
4
|
-
import './p-
|
|
5
|
-
import { d as defineCustomElement$2, a as PLACEMENT_TYPES } from './p-
|
|
4
|
+
import './p-CJ80BZ06.js';
|
|
5
|
+
import { d as defineCustomElement$2, a as PLACEMENT_TYPES } from './p-Dt7aSEAx.js';
|
|
6
6
|
|
|
7
|
-
const postTooltipCss = ":host{display:none}:host([open]){display:contents}post-popovercontainer[arrow]::after{position:absolute;content:\"\";inset:-13px;z-index:-1}post-popovercontainer>div{padding:var(--post-core-dimension-4) var(--post-core-dimension-8);max-width:280px;min-height:32px;word-wrap:break-word;white-space:normal}";
|
|
7
|
+
const postTooltipCss = ":host{display:none}:host([open]){display:contents}post-popovercontainer[arrow]::after{position:absolute;content:\"\";inset:-13px;z-index:-1}post-popovercontainer>div{color:var(--post-current-fg);background-color:var(--post-current-bg);padding:var(--post-core-dimension-4) var(--post-core-dimension-8);max-width:280px;min-height:32px;word-wrap:break-word;white-space:normal}";
|
|
8
8
|
|
|
9
9
|
const PostTooltip$1 = /*@__PURE__*/ proxyCustomElement(class PostTooltip extends H {
|
|
10
10
|
constructor() {
|
|
@@ -71,7 +71,7 @@ const PostTooltip$1 = /*@__PURE__*/ proxyCustomElement(class PostTooltip extends
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
const popoverClass = `${this.arrow ? 'has-arrow' : ''}`;
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'c5f293812e33520ea5a2c9224e93fe5e5e41cbe0', "data-version": version }, h("post-popovercontainer", { key: '7ec57e1a2315d95e7cb696cf6d2d1a1d8ae77257', safeSpace: "trapezoid", class: popoverClass, role: "tooltip", arrow: this.arrow, animation: this.animation, placement: this.placement, onPostToggle: e => this.handleToggle(e), ref: (el) => (this.popoverRef = el) }, h("slot", { key: '79c91307707c56345acb136a45acdae859d54c2b' }))));
|
|
75
75
|
}
|
|
76
76
|
get host() { return this; }
|
|
77
77
|
static get watchers() { return {
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-
|
|
2
|
+
"timestamp": "2025-08-18T14:53:57",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.35.0",
|
|
@@ -1682,6 +1682,10 @@
|
|
|
1682
1682
|
{
|
|
1683
1683
|
"name": "slot",
|
|
1684
1684
|
"text": "post-mainnavigation - Has a default slot because it's only meant to be used in the `<post-header>`."
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
"name": "slot",
|
|
1688
|
+
"text": "target-group - Holds the list of buttons to choose the target group."
|
|
1685
1689
|
}
|
|
1686
1690
|
],
|
|
1687
1691
|
"usage": {},
|
|
@@ -1754,6 +1758,10 @@
|
|
|
1754
1758
|
"name": "post-togglebutton",
|
|
1755
1759
|
"docs": "Holds the mobile menu toggler."
|
|
1756
1760
|
},
|
|
1761
|
+
{
|
|
1762
|
+
"name": "target-group",
|
|
1763
|
+
"docs": "Holds the list of buttons to choose the target group."
|
|
1764
|
+
},
|
|
1757
1765
|
{
|
|
1758
1766
|
"name": "title",
|
|
1759
1767
|
"docs": "Holds the application title."
|
|
@@ -1994,8 +2002,7 @@
|
|
|
1994
2002
|
"post-closebutton",
|
|
1995
2003
|
"post-language-switch",
|
|
1996
2004
|
"post-mainnavigation",
|
|
1997
|
-
"post-rating"
|
|
1998
|
-
"post-tag"
|
|
2005
|
+
"post-rating"
|
|
1999
2006
|
],
|
|
2000
2007
|
"dependencies": [],
|
|
2001
2008
|
"dependencyGraph": {
|
|
@@ -2028,9 +2035,6 @@
|
|
|
2028
2035
|
],
|
|
2029
2036
|
"post-rating": [
|
|
2030
2037
|
"post-icon"
|
|
2031
|
-
],
|
|
2032
|
-
"post-tag": [
|
|
2033
|
-
"post-icon"
|
|
2034
2038
|
]
|
|
2035
2039
|
}
|
|
2036
2040
|
},
|
|
@@ -2822,7 +2826,7 @@
|
|
|
2822
2826
|
"Placement": {
|
|
2823
2827
|
"location": "import",
|
|
2824
2828
|
"path": "@floating-ui/dom",
|
|
2825
|
-
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.7.
|
|
2829
|
+
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.7.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
|
|
2826
2830
|
}
|
|
2827
2831
|
}
|
|
2828
2832
|
},
|
|
@@ -3191,7 +3195,7 @@
|
|
|
3191
3195
|
"Placement": {
|
|
3192
3196
|
"location": "import",
|
|
3193
3197
|
"path": "@floating-ui/dom",
|
|
3194
|
-
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.7.
|
|
3198
|
+
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.7.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
|
|
3195
3199
|
}
|
|
3196
3200
|
}
|
|
3197
3201
|
},
|
|
@@ -3542,7 +3546,7 @@
|
|
|
3542
3546
|
"Placement": {
|
|
3543
3547
|
"location": "import",
|
|
3544
3548
|
"path": "@floating-ui/dom",
|
|
3545
|
-
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.7.
|
|
3549
|
+
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.7.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
|
|
3546
3550
|
}
|
|
3547
3551
|
}
|
|
3548
3552
|
},
|
|
@@ -4138,6 +4142,35 @@
|
|
|
4138
4142
|
"required": false,
|
|
4139
4143
|
"getter": false,
|
|
4140
4144
|
"setter": false
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
"name": "fullWidth",
|
|
4148
|
+
"type": "boolean",
|
|
4149
|
+
"complexType": {
|
|
4150
|
+
"original": "boolean",
|
|
4151
|
+
"resolved": "boolean",
|
|
4152
|
+
"references": {}
|
|
4153
|
+
},
|
|
4154
|
+
"mutable": false,
|
|
4155
|
+
"attr": "full-width",
|
|
4156
|
+
"reflectToAttr": true,
|
|
4157
|
+
"docs": "When set to true, this property allows the tabs container to span the\nfull width of the screen, from edge to edge.",
|
|
4158
|
+
"docsTags": [
|
|
4159
|
+
{
|
|
4160
|
+
"name": "default",
|
|
4161
|
+
"text": "false"
|
|
4162
|
+
}
|
|
4163
|
+
],
|
|
4164
|
+
"default": "false",
|
|
4165
|
+
"values": [
|
|
4166
|
+
{
|
|
4167
|
+
"type": "boolean"
|
|
4168
|
+
}
|
|
4169
|
+
],
|
|
4170
|
+
"optional": false,
|
|
4171
|
+
"required": false,
|
|
4172
|
+
"getter": false,
|
|
4173
|
+
"setter": false
|
|
4141
4174
|
}
|
|
4142
4175
|
],
|
|
4143
4176
|
"methods": [
|
|
@@ -4222,133 +4255,6 @@
|
|
|
4222
4255
|
"dependencies": [],
|
|
4223
4256
|
"dependencyGraph": {}
|
|
4224
4257
|
},
|
|
4225
|
-
{
|
|
4226
|
-
"filePath": "src/components/post-tag/post-tag.tsx",
|
|
4227
|
-
"encapsulation": "shadow",
|
|
4228
|
-
"tag": "post-tag",
|
|
4229
|
-
"readme": "# tag\n",
|
|
4230
|
-
"docs": "",
|
|
4231
|
-
"docsTags": [
|
|
4232
|
-
{
|
|
4233
|
-
"name": "slot",
|
|
4234
|
-
"text": "default - Content to place in the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.</p>"
|
|
4235
|
-
}
|
|
4236
|
-
],
|
|
4237
|
-
"usage": {},
|
|
4238
|
-
"props": [
|
|
4239
|
-
{
|
|
4240
|
-
"name": "icon",
|
|
4241
|
-
"type": "string",
|
|
4242
|
-
"complexType": {
|
|
4243
|
-
"original": "string",
|
|
4244
|
-
"resolved": "string",
|
|
4245
|
-
"references": {}
|
|
4246
|
-
},
|
|
4247
|
-
"mutable": false,
|
|
4248
|
-
"attr": "icon",
|
|
4249
|
-
"reflectToAttr": false,
|
|
4250
|
-
"docs": "Defines the icon `name` inside of the component.\n<span className=\"banner banner-sm banner-info\">If not set the icon will not show up.</span>\nTo learn which icons are available, please visit our <a href=\"/?path=/docs/0dcfe3c0-bfc0-4107-b43b-7e9d825b805f--docs\">icon library</a>.",
|
|
4251
|
-
"docsTags": [],
|
|
4252
|
-
"values": [
|
|
4253
|
-
{
|
|
4254
|
-
"type": "string"
|
|
4255
|
-
}
|
|
4256
|
-
],
|
|
4257
|
-
"optional": true,
|
|
4258
|
-
"required": false,
|
|
4259
|
-
"getter": false,
|
|
4260
|
-
"setter": false
|
|
4261
|
-
},
|
|
4262
|
-
{
|
|
4263
|
-
"name": "size",
|
|
4264
|
-
"type": "\"sm\"",
|
|
4265
|
-
"complexType": {
|
|
4266
|
-
"original": "'sm'",
|
|
4267
|
-
"resolved": "\"sm\"",
|
|
4268
|
-
"references": {}
|
|
4269
|
-
},
|
|
4270
|
-
"mutable": false,
|
|
4271
|
-
"attr": "size",
|
|
4272
|
-
"reflectToAttr": false,
|
|
4273
|
-
"docs": "Defines the size of the component.",
|
|
4274
|
-
"docsTags": [],
|
|
4275
|
-
"values": [
|
|
4276
|
-
{
|
|
4277
|
-
"value": "sm",
|
|
4278
|
-
"type": "string"
|
|
4279
|
-
}
|
|
4280
|
-
],
|
|
4281
|
-
"optional": true,
|
|
4282
|
-
"required": false,
|
|
4283
|
-
"getter": false,
|
|
4284
|
-
"setter": false
|
|
4285
|
-
},
|
|
4286
|
-
{
|
|
4287
|
-
"name": "variant",
|
|
4288
|
-
"type": "\"error\" | \"info\" | \"success\" | \"warning\" | \"white\" | \"yellow\"",
|
|
4289
|
-
"complexType": {
|
|
4290
|
-
"original": "'white' | 'info' | 'success' | 'error' | 'warning' | 'yellow'",
|
|
4291
|
-
"resolved": "\"error\" | \"info\" | \"success\" | \"warning\" | \"white\" | \"yellow\"",
|
|
4292
|
-
"references": {}
|
|
4293
|
-
},
|
|
4294
|
-
"mutable": false,
|
|
4295
|
-
"attr": "variant",
|
|
4296
|
-
"reflectToAttr": false,
|
|
4297
|
-
"docs": "Defines the color variant of the component.",
|
|
4298
|
-
"docsTags": [],
|
|
4299
|
-
"values": [
|
|
4300
|
-
{
|
|
4301
|
-
"value": "error",
|
|
4302
|
-
"type": "string"
|
|
4303
|
-
},
|
|
4304
|
-
{
|
|
4305
|
-
"value": "info",
|
|
4306
|
-
"type": "string"
|
|
4307
|
-
},
|
|
4308
|
-
{
|
|
4309
|
-
"value": "success",
|
|
4310
|
-
"type": "string"
|
|
4311
|
-
},
|
|
4312
|
-
{
|
|
4313
|
-
"value": "warning",
|
|
4314
|
-
"type": "string"
|
|
4315
|
-
},
|
|
4316
|
-
{
|
|
4317
|
-
"value": "white",
|
|
4318
|
-
"type": "string"
|
|
4319
|
-
},
|
|
4320
|
-
{
|
|
4321
|
-
"value": "yellow",
|
|
4322
|
-
"type": "string"
|
|
4323
|
-
}
|
|
4324
|
-
],
|
|
4325
|
-
"optional": true,
|
|
4326
|
-
"required": false,
|
|
4327
|
-
"getter": false,
|
|
4328
|
-
"setter": false
|
|
4329
|
-
}
|
|
4330
|
-
],
|
|
4331
|
-
"methods": [],
|
|
4332
|
-
"events": [],
|
|
4333
|
-
"listeners": [],
|
|
4334
|
-
"styles": [],
|
|
4335
|
-
"slots": [
|
|
4336
|
-
{
|
|
4337
|
-
"name": "default",
|
|
4338
|
-
"docs": "Content to place in the `default` slot.<p>Markup accepted: <a href=\"https://developer.mozilla.org/en-US/docs/Glossary/Inline-level_content\">inline content</a>.</p>"
|
|
4339
|
-
}
|
|
4340
|
-
],
|
|
4341
|
-
"parts": [],
|
|
4342
|
-
"dependents": [],
|
|
4343
|
-
"dependencies": [
|
|
4344
|
-
"post-icon"
|
|
4345
|
-
],
|
|
4346
|
-
"dependencyGraph": {
|
|
4347
|
-
"post-tag": [
|
|
4348
|
-
"post-icon"
|
|
4349
|
-
]
|
|
4350
|
-
}
|
|
4351
|
-
},
|
|
4352
4258
|
{
|
|
4353
4259
|
"filePath": "src/components/post-togglebutton/post-togglebutton.tsx",
|
|
4354
4260
|
"encapsulation": "shadow",
|
|
@@ -4509,7 +4415,7 @@
|
|
|
4509
4415
|
"Placement": {
|
|
4510
4416
|
"location": "import",
|
|
4511
4417
|
"path": "@floating-ui/dom",
|
|
4512
|
-
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.7.
|
|
4418
|
+
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.7.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
|
|
4513
4419
|
}
|
|
4514
4420
|
}
|
|
4515
4421
|
},
|
|
@@ -4818,10 +4724,10 @@
|
|
|
4818
4724
|
"docstring": "",
|
|
4819
4725
|
"path": "src/components/post-language-switch/switch-variants.ts"
|
|
4820
4726
|
},
|
|
4821
|
-
"../../node_modules/.pnpm/@floating-ui+dom@1.7.
|
|
4727
|
+
"../../node_modules/.pnpm/@floating-ui+dom@1.7.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement": {
|
|
4822
4728
|
"declaration": "any",
|
|
4823
4729
|
"docstring": "",
|
|
4824
|
-
"path": "../../node_modules/.pnpm/@floating-ui+dom@1.7.
|
|
4730
|
+
"path": "../../node_modules/.pnpm/@floating-ui+dom@1.7.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts"
|
|
4825
4731
|
}
|
|
4826
4732
|
}
|
|
4827
4733
|
}
|
|
@@ -137,36 +137,32 @@ const IS_BROWSER = !IS_SERVER;
|
|
|
137
137
|
|
|
138
138
|
class Breakpoint {
|
|
139
139
|
constructor() {
|
|
140
|
+
this.breakpoints = [
|
|
141
|
+
{ key: 'xl', device: 'desktop', minWidth: 1280 },
|
|
142
|
+
{ key: 'lg', device: 'desktop', minWidth: 1024 },
|
|
143
|
+
{ key: 'md', device: 'tablet', minWidth: 780 },
|
|
144
|
+
{ key: 'sm', device: 'tablet', minWidth: 600 },
|
|
145
|
+
{ key: 'xs', device: 'mobile', minWidth: 0 },
|
|
146
|
+
];
|
|
140
147
|
this.updateCurrentBreakpoint = throttle(50, (options = { emitEvents: true }) => {
|
|
141
148
|
const previousBreakpoint = this.currentBreakpoint;
|
|
142
|
-
|
|
149
|
+
const newBreakpoint = this.breakpoints.find(breakpoint => {
|
|
143
150
|
return breakpoint.minWidth <= innerWidth;
|
|
144
151
|
});
|
|
145
|
-
if (!
|
|
152
|
+
if (!newBreakpoint)
|
|
153
|
+
return;
|
|
154
|
+
this.currentBreakpoint = newBreakpoint;
|
|
155
|
+
if (!options.emitEvents)
|
|
146
156
|
return;
|
|
147
157
|
Object.keys(this.currentBreakpoint)
|
|
148
158
|
.filter(key => !previousBreakpoint || this.currentBreakpoint[key] !== previousBreakpoint[key])
|
|
149
159
|
.forEach((key) => this.dispatchEvent(key));
|
|
150
160
|
});
|
|
151
|
-
if (IS_SERVER
|
|
161
|
+
if (IS_SERVER)
|
|
152
162
|
return;
|
|
153
|
-
const keys = this.getValues('--post-grid-breakpoint-keys');
|
|
154
|
-
const devices = this.getValues('--post-grid-breakpoint-devices');
|
|
155
|
-
const widths = this.getValues('--post-grid-breakpoint-widths');
|
|
156
|
-
this.breakpoints = widths
|
|
157
|
-
.map((width, i) => ({
|
|
158
|
-
key: keys[i],
|
|
159
|
-
device: devices[i],
|
|
160
|
-
minWidth: Number(width),
|
|
161
|
-
}))
|
|
162
|
-
.sort((a, b) => b.minWidth - a.minWidth);
|
|
163
163
|
this.updateCurrentBreakpoint({ emitEvents: false });
|
|
164
164
|
window.addEventListener('resize', () => this.updateCurrentBreakpoint(), { passive: true });
|
|
165
165
|
}
|
|
166
|
-
getValues(cssCustomProperty) {
|
|
167
|
-
const values = getComputedStyle(document.documentElement).getPropertyValue(cssCustomProperty);
|
|
168
|
-
return values ? values.split(',').map(v => v.trim()) : [];
|
|
169
|
-
}
|
|
170
166
|
dispatchEvent(property) {
|
|
171
167
|
if (IS_SERVER)
|
|
172
168
|
return;
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'post-components';
|
|
|
2
2
|
const BUILD = /* post-components */ { hydratedSelectorName: "data-hydrated", lazyLoad: true, slotRelocation: true, updatable: true};
|
|
3
3
|
|
|
4
4
|
const globalScripts = () => {};
|
|
5
|
-
const globalStyles = ":where(post-accordion,post-accordion-item,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-card-control,post-closebutton,post-collapsible,post-collapsible-trigger,post-footer,post-header,post-icon,post-language-option,post-language-switch,post-linkarea,post-list,post-list-item,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-popover,post-popovercontainer,post-rating,post-tab-header,post-tab-panel,post-tabs,post-
|
|
5
|
+
const globalStyles = ":where(post-accordion,post-accordion-item,post-avatar,post-back-to-top,post-banner,post-breadcrumb-item,post-breadcrumbs,post-card-control,post-closebutton,post-collapsible,post-collapsible-trigger,post-footer,post-header,post-icon,post-language-option,post-language-switch,post-linkarea,post-list,post-list-item,post-logo,post-mainnavigation,post-megadropdown,post-megadropdown-trigger,post-menu,post-menu-item,post-menu-trigger,post-popover,post-popovercontainer,post-rating,post-tab-header,post-tab-panel,post-tabs,post-togglebutton,post-tooltip,post-tooltip-trigger):not([data-hydrated],:defined){visibility:hidden}";
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
Stencil Client Platform v4.35.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -126,10 +126,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
126
126
|
return import(
|
|
127
127
|
/* webpackMode: "lazy" */
|
|
128
128
|
'./post-tab-panel.entry.js').then(processMod, consoleError);
|
|
129
|
-
case 'post-tag':
|
|
130
|
-
return import(
|
|
131
|
-
/* webpackMode: "lazy" */
|
|
132
|
-
'./post-tag.entry.js').then(processMod, consoleError);
|
|
133
129
|
case 'post-tooltip':
|
|
134
130
|
return import(
|
|
135
131
|
/* webpackMode: "lazy" */
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as globalScripts, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { g as globalScripts, b as bootstrapLazy } from './index-C8a0ddDa.js';
|
|
2
|
+
export { s as setNonce } from './index-C8a0ddDa.js';
|
|
3
3
|
|
|
4
4
|
const defineCustomElements = async (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
|
6
6
|
await globalScripts();
|
|
7
|
-
return bootstrapLazy([["post-
|
|
7
|
+
return bootstrapLazy([["post-breadcrumbs",[[1,"post-breadcrumbs",{"homeUrl":[1,"home-url"],"homeText":[1,"home-text"],"breadcrumbItems":[32],"isConcatenated":[32],"lastWindowWidth":[32]},null,{"homeUrl":["validateHomeUrl"],"homeText":["validateHomeText"]}]]],["post-footer",[[1,"post-footer",{"label":[1],"device":[32],"gridSlotDisplayed":[32]},null,{"label":["validateLabel"]}]]],["post-back-to-top",[[1,"post-back-to-top",{"label":[513],"belowFold":[32]},null,{"label":["validateLabel"],"belowFold":["watchBelowFold"]}]]],["post-banner",[[1,"post-banner",{"dismissible":[4],"dismissLabel":[1,"dismiss-label"],"icon":[1],"type":[1],"bannerId":[32],"classes":[32],"hasActions":[32],"hasHeading":[32],"onDismissButtonClick":[32],"dismiss":[64]},null,{"dismissible":["checkDismissible"],"icon":["validateIcon"],"type":["validateType"]}]]],["post-card-control",[[65,"post-card-control",{"label":[513],"description":[1],"type":[1],"name":[1],"value":[1],"checked":[1028],"disabled":[1028],"validity":[1028],"icon":[1],"focused":[32],"reset":[64],"groupReset":[64]},null,{"label":["validateControlLabel"],"description":["validateControlDescription"],"type":["validateControlType"],"name":["validateControlName"],"value":["validateControlValue"],"icon":["validateControlIcon"],"checked":["updateControlChecked"],"disabled":["updateControlDisabled"]}]]],["post-popover",[[1,"post-popover",{"placement":[1],"closeButtonCaption":[1,"close-button-caption"],"arrow":[4],"show":[64],"hide":[64],"toggle":[64]},null,{"placement":["validatePlacement"],"closeButtonCaption":["validateCloseButtonCaption"]}]]],["post-rating",[[1,"post-rating",{"label":[1],"stars":[2],"currentRating":[1026,"current-rating"],"readonly":[4],"hoveredIndex":[32]},null,{"label":["validateLabel"],"stars":["validateStars"],"currentRating":["validateCurrentRating"]}]]],["post-tooltip",[[1,"post-tooltip",{"placement":[1],"arrow":[4],"animation":[1],"open":[1540],"show":[64],"hide":[64],"toggle":[64]},null,{"placement":["validatePlacement"]}]]],["post-avatar",[[1,"post-avatar",{"firstname":[513],"lastname":[1],"userid":[1],"email":[1],"slottedImage":[32],"avatarType":[32],"imageUrl":[32],"imageAlt":[32],"initials":[32]},null,{"firstname":["validateFirstname"],"lastname":["validateLastname"],"userid":["validateUserid"],"email":["validateEmail"]}]]],["post-linkarea",[[1,"post-linkarea"]]],["post-tab-header",[[1,"post-tab-header",{"panel":[513],"tabId":[32]},null,{"panel":["validateFor"]}]]],["post-tab-panel",[[1,"post-tab-panel",{"name":[513],"panelId":[32]},null,{"name":["validateName"]}]]],["post-tabs",[[1,"post-tabs",{"activePanel":[1,"active-panel"],"fullWidth":[516,"full-width"],"show":[64]}]]],["post-tooltip-trigger",[[1,"post-tooltip-trigger",{"for":[513],"delay":[2]},null,{"for":["validateControlFor"]}]]],["post-collapsible_2",[[1,"post-collapsible",{"collapsed":[1028],"toggle":[64]},null,{"collapsed":["collapsedChange"]}],[1,"post-collapsible-trigger",{"for":[513],"update":[64]},null,{"for":["validateAriaAttributes"]}]]],["post-closebutton_15",[[1,"post-language-switch",{"caption":[1],"description":[1],"variant":[1],"activeLang":[32]},[[0,"postChange","handlePostChange"],[0,"postLanguageOptionInitiallyActive","handleInitiallyActive"]],{"caption":["validateCaption"],"description":["validateDescription"],"variant":["validateVariant"]}],[1,"post-closebutton"],[4,"post-mainnavigation",{"canScrollLeft":[32],"canScrollRight":[32]},[[9,"mouseup","stopScrolling"],[9,"mouseleave","stopScrolling"]]],[1,"post-header",{"device":[32],"hasNavigation":[32],"mobileMenuExtended":[32],"megadropdownOpen":[32],"toggleMobileMenu":[64]},null,{"device":["lockBody"],"mobileMenuExtended":["lockBody"]}],[4,"post-language-option",{"code":[1],"active":[1540],"variant":[1],"name":[1],"url":[1],"select":[64]},null,{"code":["validateCode"],"variant":["validateVariant"],"name":["validateName"],"url":["validateUrl"]}],[4,"post-list",{"titleHidden":[4,"title-hidden"],"horizontal":[516],"titleId":[32]}],[1,"post-list-item"],[1,"post-logo",{"url":[1]},null,{"url":["validateUrl"]}],[4,"post-megadropdown",{"device":[32],"isVisible":[32],"animationClass":[32],"toggle":[64],"show":[64],"hide":[64],"focusFirst":[64]}],[4,"post-megadropdown-trigger",{"for":[1],"ariaExpanded":[32]},null,{"for":["validateControlFor"]}],[1,"post-togglebutton",{"toggled":[1028]}],[1,"post-menu",{"placement":[1],"isVisible":[32],"toggle":[64],"show":[64],"hide":[64]},null,{"placement":["validatePlacement"]}],[4,"post-menu-trigger",{"for":[513],"ariaExpanded":[32]},null,{"for":["validateControlFor"]}],[4,"post-popovercontainer",{"placement":[1],"edgeGap":[2,"edge-gap"],"animation":[1],"arrow":[4],"manualClose":[4,"manual-close"],"safeSpace":[513,"safe-space"],"show":[64],"hide":[64],"toggle":[64]},null,{"placement":["validatePlacement"],"edgeGap":["validateEdgeGap"],"safeSpace":["validateSafeSpace"]}],[1,"post-icon",{"animation":[1],"base":[1],"flipH":[4,"flip-h"],"flipV":[4,"flip-v"],"name":[513],"rotate":[2],"scale":[2]},null,{"animation":["validateAnimation"],"base":["validateBase"],"name":["validateName"],"rotate":["validateRotate"],"scale":["validateScale"]}]]],["post-accordion_2",[[1,"post-accordion-item",{"collapsed":[1028],"headingLevel":[2,"heading-level"],"id":[32],"slottedLogo":[32],"toggle":[64]},[[2,"postToggle","onCollapseToggle"]],{"headingLevel":["validateHeadingLevel"]}],[1,"post-accordion",{"headingLevel":[2,"heading-level"],"multiple":[4],"toggle":[64],"expandAll":[64],"collapseAll":[64]},[[0,"postToggle","collapseToggleHandler"]],{"headingLevel":["validateHeadingLevel"]}]]],["post-breadcrumb-item_2",[[1,"post-breadcrumb-item",{"url":[1],"fullUrl":[32]},null,{"url":["validateUrl"]}],[4,"post-menu-item"]]]], options);
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export { defineCustomElements };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { v as version } from './package-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-C8a0ddDa.js';
|
|
2
|
+
import { v as version } from './package-BNM7v6FW.js';
|
|
3
3
|
import { d as checkRequiredAndOneOf, e as checkEmptyOrOneOf } from './index-BWC0gtGU.js';
|
|
4
|
-
import './breakpoints-
|
|
4
|
+
import './breakpoints-_0G7tavk.js';
|
|
5
5
|
import { E as EventFrom } from './event-from-8U5GFtQP.js';
|
|
6
6
|
import { n as nanoid } from './index.browser-BLchVpF6.js';
|
|
7
7
|
|
|
@@ -114,7 +114,7 @@ __decorate$1([
|
|
|
114
114
|
], PostAccordion.prototype, "collapseToggleHandler", null);
|
|
115
115
|
PostAccordion.style = postAccordionCss;
|
|
116
116
|
|
|
117
|
-
const postAccordionItemCss = ".accordion-item::after{display:block;content:\"\";margin-block-start:calc(var(--post-device-border-width-default)*-1);border-block-end:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}.accordion-item:has(.accordion-button:hover)::after{border-color:var(--post-scheme-color-interactive-primary-hover-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-item:has(.accordion-button:hover)::after{border-color:Highlight}}.accordion-header{color:var(--post-scheme-color-interactive-primary-enabled-fg1);font-size:var(--post-device-font-size-5);margin:0;line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-black)}.accordion-button{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;position:relative;width:100%;align-items:center;text-align:start;gap:var(--post-device-spacing-gap-7);padding:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default)) calc(var(--post-device-spacing-padding-5) + var(--post-device-border-width-default));cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button{background-color:ButtonFace !important}.accordion-button:hover{background-color:Highlight !important}}.accordion-button::before{display:block;position:absolute;content:\"\";inset:0;inset-block-end:auto;border-block-start-width:var(--post-accordion-button-border-top-width, var(--post-device-border-width-default));border-block-start-style:var(--post-core-border-style-solid);border-block-start-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}.accordion-button{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}.accordion-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.accordion-button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.accordion-button slot::slotted(span[slot=header]){flex-grow:1}.accordion-button post-icon{flex:none;width:var(--post-core-dimension-24);aspect-ratio:1;transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.accordion-button.collapsed{padding-block-start:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default));padding-block-end:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default))}.accordion-button.collapsed post-icon{transform:rotate(-180deg)}.accordion-button:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}.accordion-button>::slotted(.text-truncate){display:block}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:hover,.accordion-button:focus-visible{color:Highlight}}.accordion-body{padding-block-start:var(--post-device-spacing-padding-15);padding-block-end:calc(var(--post-device-spacing-padding-block-25) + var(--post-device-border-width-default));padding-inline:var(--post-device-spacing-padding-5)}.logo-container{display:none;width:var(--post-device-sizing-logo-1);aspect-ratio:1}.logo-container.has-image{display:block}.logo-container slot::slotted(img){display:block;width:100%;height:100%;object-fit:cover}.accordion-button>::slotted(:first-child),.accordion-body>::slotted(:first-child){margin-block-start:0 !important}.accordion-button>::slotted(:last-child),.accordion-body>::slotted(:last-child){margin-block-end:0 !important}";
|
|
117
|
+
const postAccordionItemCss = ".accordion-item::after{display:block;content:\"\";margin-block-start:calc(var(--post-device-border-width-default)*-1);border-block-end:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}.accordion-item:has(.accordion-button:hover)::after{border-color:var(--post-scheme-color-interactive-primary-hover-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-item:has(.accordion-button:hover)::after{border-color:Highlight}}.accordion-header{color:var(--post-scheme-color-interactive-primary-enabled-fg1);font-size:var(--post-device-font-size-5);margin:0;line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-extra-black)}.accordion-button{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;position:relative;width:100%;align-items:center;text-align:start;gap:var(--post-device-spacing-gap-7);padding:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default)) calc(var(--post-device-spacing-padding-5) + var(--post-device-border-width-default));cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button{background-color:ButtonFace !important}.accordion-button:hover{background-color:Highlight !important}}.accordion-button::before{display:block;position:absolute;content:\"\";inset:0;inset-block-end:auto;border-block-start-width:var(--post-accordion-button-border-top-width, var(--post-device-border-width-default));border-block-start-style:var(--post-core-border-style-solid);border-block-start-color:var(--post-scheme-color-interactive-primary-enabled-stroke)}.accordion-button{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}.accordion-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.accordion-button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.accordion-button slot::slotted(span[slot=header]){flex-grow:1}.accordion-button post-icon{flex:none;width:var(--post-core-dimension-24);aspect-ratio:1;transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.accordion-button.collapsed{padding-block-start:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default));padding-block-end:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default))}.accordion-button.collapsed post-icon{transform:rotate(-180deg)}.accordion-button:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}.accordion-button>::slotted(.text-truncate){display:block}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:hover,.accordion-button:focus-visible{color:Highlight}}.accordion-body{padding-block-start:var(--post-device-spacing-padding-15);padding-block-end:calc(var(--post-device-spacing-padding-block-25) + var(--post-device-border-width-default));padding-inline:var(--post-device-spacing-padding-5)}.logo-container{display:none;width:var(--post-device-sizing-logo-1);aspect-ratio:1}.logo-container.has-image{display:block}.logo-container slot::slotted(img){display:block;width:100%;height:100%;object-fit:cover}.accordion-button>::slotted(:first-child),.accordion-body>::slotted(:first-child){margin-block-start:0 !important}.accordion-button>::slotted(:last-child),.accordion-body>::slotted(:last-child){margin-block-end:0 !important}";
|
|
118
118
|
|
|
119
119
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
120
120
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
2
|
-
import { v as version } from './package-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-C8a0ddDa.js';
|
|
2
|
+
import { v as version } from './package-BNM7v6FW.js';
|
|
3
3
|
import { c as checkRequiredAndType, a as checkEmptyOrType, b as checkEmptyOrPattern } from './index-BWC0gtGU.js';
|
|
4
|
-
import './breakpoints-
|
|
4
|
+
import './breakpoints-_0G7tavk.js';
|
|
5
5
|
|
|
6
|
-
const postAvatarCss = "@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}:host{--post-avatar-bg:var(--post-scheme-color-interactive-primary-enabled-bg2);--post-avatar-fg:var(--post-scheme-color-interactive-primary-enabled-fg3);display:inline-flex;position:relative;width:var(--post-device-sizing-interactive-icon-size3);height:var(--post-device-sizing-interactive-icon-size3);background-color:var(--post-scheme-color-interactive-primary-enabled-stroke3);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3);border-radius:var(--post-device-border-radius-round);font-size:var(--post-device-font-size-8);vertical-align:top;line-height:1}:host::after{display:block;content:\"\";position:absolute;inset:0;z-index:1;border-radius:inherit}*,*::before,*::after{box-sizing:border-box}slot,img,::slotted(img){display:block;width:100%;height:100%}img,::slotted(img){border-radius:var(--post-device-border-radius-round)}::slotted(:not(img)){display:none !important}.initials{display:flex;justify-content:center;align-items:center;position:relative;z-index:2;width:100%;height:100%;background-color:var(--post-avatar-bg);border-radius:var(--post-device-border-radius-round);color:var(--post-avatar-fg);text-transform:uppercase}.initials span{width:1px
|
|
6
|
+
const postAvatarCss = "@keyframes popIn{from{transform:scale(0.9);opacity:0;transition-property:transform,opacity,overlay,display;transition-behavior:allow-discrete;transition-duration:var(--post-transition-duration, 0.35s);transition-timing-function:linear(0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, 0.999 61.6%, 0.995 71.2%, 1)}to{opacity:1;transform:scale(1)}}:host{--post-avatar-bg:var(--post-scheme-color-interactive-primary-enabled-bg2);--post-avatar-fg:var(--post-scheme-color-interactive-primary-enabled-fg3);display:inline-flex;position:relative;width:var(--post-device-sizing-interactive-icon-size3);height:var(--post-device-sizing-interactive-icon-size3);background-color:var(--post-scheme-color-interactive-primary-enabled-stroke3);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3);border-radius:var(--post-device-border-radius-round);font-size:var(--post-device-font-size-8);vertical-align:top;line-height:1}:host::after{display:block;content:\"\";position:absolute;inset:0;z-index:1;border-radius:inherit}*,*::before,*::after{box-sizing:border-box}slot,img,::slotted(img){display:block;width:100%;height:100%}img,::slotted(img){border-radius:var(--post-device-border-radius-round)}::slotted(:not(img)){display:none !important}.initials{display:flex;justify-content:center;align-items:center;position:relative;z-index:2;width:100%;height:100%;background-color:var(--post-avatar-bg);border-radius:var(--post-device-border-radius-round);color:var(--post-avatar-fg);text-transform:uppercase}.initials span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
7
7
|
|
|
8
8
|
// https://docs.gravatar.com/api/avatars/images/
|
|
9
9
|
const GRAVATAR_DEFAULT = '404';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-C8a0ddDa.js';
|
|
2
2
|
import { s as slideDown, a as slideUp } from './slide-BuLMaH5t.js';
|
|
3
|
-
import { v as version } from './package-
|
|
3
|
+
import { v as version } from './package-BNM7v6FW.js';
|
|
4
4
|
import { c as checkRequiredAndType } from './index-BWC0gtGU.js';
|
|
5
|
-
import './breakpoints-
|
|
5
|
+
import './breakpoints-_0G7tavk.js';
|
|
6
6
|
|
|
7
7
|
const postBackToTopCss = ":host{--post-floating-button-position-top:var(--post-device-position-4);--post-back-to-top-position-top:calc( var(--post-header-height) + var(--post-floating-button-position-top) );--post-back-to-top-elevation:var(--post-device-elevation-300);position:fixed;inset-block-start:var(--post-back-to-top-position-top);inset-inline-end:var(--post-device-position-1)}:host .back-to-top{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;box-shadow:var(--post-back-to-top-elevation);cursor:pointer;border-radius:var(--post-device-border-radius-round);width:var(--post-device-sizing-interactive-button-height-2);height:var(--post-device-sizing-interactive-button-height-2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-button-secondary-enabled-stroke);color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-secondary-enabled-bg);display:flex;align-items:center;justify-content:center}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top{background-color:ButtonFace !important}:host .back-to-top:hover{background-color:Highlight !important}}:host .back-to-top{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 .back-to-top:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host .back-to-top:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}:host .back-to-top:hover{border-color:var(--post-scheme-color-interactive-button-secondary-hover-stroke);color:var(--post-scheme-color-interactive-button-secondary-hover-fg);background-color:var(--post-scheme-color-interactive-button-secondary-hover-bg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:hover{color:HighlightText !important}}:host .back-to-top post-icon{height:var(--post-device-sizing-interactive-button-icon-3);width:var(--post-device-sizing-interactive-button-icon-3)}:host .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
8
8
|
|