@swisspost/design-system-components 10.0.0-next.69 → 10.0.0-next.70
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/{package-CzSn3NmD.js → package-Ds_LS1pB.js} +1 -1
- package/dist/cjs/post-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/post-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/post-avatar.cjs.entry.js +1 -1
- package/dist/cjs/post-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/post-banner.cjs.entry.js +1 -1
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/post-closebutton_14.cjs.entry.js +15 -15
- package/dist/cjs/post-collapsible_2.cjs.entry.js +1 -1
- package/dist/cjs/post-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/post-footer.cjs.entry.js +3 -3
- package/dist/cjs/post-linkarea.cjs.entry.js +2 -2
- package/dist/cjs/post-listbox-option.cjs.entry.js +3 -3
- package/dist/cjs/post-listbox.cjs.entry.js +2 -2
- package/dist/cjs/post-login-widget.cjs.entry.js +2 -2
- package/dist/cjs/post-number-input.cjs.entry.js +3 -3
- package/dist/cjs/post-pagination.cjs.entry.js +1 -1
- package/dist/cjs/post-popover-trigger.cjs.entry.js +2 -2
- package/dist/cjs/post-popover.cjs.entry.js +2 -2
- package/dist/cjs/post-rating.cjs.entry.js +2 -2
- package/dist/cjs/post-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/post-stepper.cjs.entry.js +2 -2
- package/dist/cjs/post-tab-item.cjs.entry.js +2 -2
- package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/post-tabs.cjs.entry.js +3 -3
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +2 -2
- package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
- package/dist/collection/components/post-footer/post-footer.css +1 -1
- package/dist/collection/components/post-footer/post-footer.js +2 -1
- package/dist/collection/components/post-header/post-header.js +4 -4
- package/dist/collection/components/post-icon/post-icon.js +1 -1
- package/dist/collection/components/post-linkarea/post-linkarea.js +1 -1
- package/dist/collection/components/post-listbox/post-listbox.js +1 -1
- package/dist/collection/components/post-listbox-option/post-listbox-option.js +2 -2
- package/dist/collection/components/post-login-widget/post-login-widget.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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-rating/post-rating.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 +1 -1
- package/dist/collection/components/post-tab-panel/post-tab-panel.js +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-footer.js +1 -1
- package/dist/components/post-header.js +1 -1
- package/dist/components/post-icon2.js +1 -1
- package/dist/components/post-linkarea.js +1 -1
- package/dist/components/post-listbox-option.js +1 -1
- package/dist/components/post-listbox.js +1 -1
- package/dist/components/post-login-widget.js +1 -1
- package/dist/components/post-logo.js +1 -1
- package/dist/components/post-mainnavigation.js +1 -1
- package/dist/components/post-megadropdown-trigger.js +1 -1
- package/dist/components/post-megadropdown.js +1 -1
- package/dist/components/post-menu-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-rating.js +1 -1
- package/dist/components/post-stepper-item.js +1 -1
- package/dist/components/post-stepper.js +1 -1
- package/dist/components/post-tab-item.js +1 -1
- package/dist/components/post-tab-panel.js +1 -1
- package/dist/components/post-tabs.js +1 -1
- package/dist/components/post-togglebutton2.js +1 -1
- package/dist/components/post-tooltip-trigger.js +1 -1
- package/dist/components/post-tooltip.js +1 -1
- package/dist/components/react/{p-B4tq6hiA.js → p-B076QoO3.js} +1 -1
- package/dist/components/react/{p-DwJ5SwpN.js → p-B2iQay0-.js} +1 -1
- package/dist/components/react/{p-HNUXY1z7.js → p-B_RL4AOE.js} +1 -1
- package/dist/components/react/p-BoFDru4R.js +1 -0
- package/dist/components/react/{p-D1KBbwmi.js → p-BuL0WAoF.js} +1 -1
- package/dist/components/react/{p-DRtzK3cr.js → p-C8b6-YQl.js} +1 -1
- package/dist/components/react/{p-BYfHrHCb.js → p-Cu9RsvYK.js} +1 -1
- package/dist/components/react/{p-Bj33xnuq.js → p-D6uA8DbL.js} +1 -1
- package/dist/components/react/{p-DAIxJysJ.js → p-DSSN7xW4.js} +1 -1
- package/dist/components/react/p-DW7sbg9f.js +1 -0
- package/dist/components/react/{p-De_QjSNJ.js → p-DgdnwpId.js} +1 -1
- package/dist/components/react/{p-BbOp03Tv.js → p-Dmnnz3fB.js} +1 -1
- package/dist/components/react/{p-UY924tHr.js → p-tpgRP2Dr.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-login-widget.js +1 -1
- package/dist/components/react/post-logo.js +1 -1
- package/dist/components/react/post-mainnavigation.js +1 -1
- package/dist/components/react/post-megadropdown-trigger.js +1 -1
- package/dist/components/react/post-megadropdown.js +1 -1
- package/dist/components/react/post-menu-item.js +1 -1
- package/dist/components/react/post-menu-trigger.js +1 -1
- package/dist/components/react/post-menu.js +1 -1
- package/dist/components/react/post-number-input.js +1 -1
- package/dist/components/react/post-pagination.js +1 -1
- package/dist/components/react/post-popover-trigger.js +1 -1
- package/dist/components/react/post-popover.js +1 -1
- package/dist/components/react/post-popovercontainer.js +1 -1
- package/dist/components/react/post-rating.js +1 -1
- package/dist/components/react/post-stepper-item.js +1 -1
- package/dist/components/react/post-stepper.js +1 -1
- package/dist/components/react/post-tab-item.js +1 -1
- package/dist/components/react/post-tab-panel.js +1 -1
- package/dist/components/react/post-tabs.js +1 -1
- package/dist/components/react/post-togglebutton.js +1 -1
- package/dist/components/react/post-tooltip-trigger.js +1 -1
- package/dist/components/react/post-tooltip.js +1 -1
- package/dist/docs.json +9 -1
- package/dist/esm/package-DW7sbg9f.js +3 -0
- package/dist/esm/post-accordion_2.entry.js +1 -1
- package/dist/esm/post-autocomplete.entry.js +1 -1
- package/dist/esm/post-avatar.entry.js +1 -1
- package/dist/esm/post-back-to-top.entry.js +1 -1
- package/dist/esm/post-banner.entry.js +1 -1
- package/dist/esm/post-breadcrumb-item.entry.js +1 -1
- package/dist/esm/post-breadcrumbs.entry.js +1 -1
- package/dist/esm/post-closebutton_14.entry.js +15 -15
- package/dist/esm/post-collapsible_2.entry.js +1 -1
- package/dist/esm/post-date-picker.entry.js +1 -1
- package/dist/esm/post-footer.entry.js +3 -3
- package/dist/esm/post-linkarea.entry.js +2 -2
- package/dist/esm/post-listbox-option.entry.js +3 -3
- package/dist/esm/post-listbox.entry.js +2 -2
- package/dist/esm/post-login-widget.entry.js +2 -2
- package/dist/esm/post-number-input.entry.js +3 -3
- package/dist/esm/post-pagination.entry.js +1 -1
- package/dist/esm/post-popover-trigger.entry.js +2 -2
- package/dist/esm/post-popover.entry.js +2 -2
- package/dist/esm/post-rating.entry.js +2 -2
- package/dist/esm/post-stepper-item.entry.js +2 -2
- package/dist/esm/post-stepper.entry.js +2 -2
- package/dist/esm/post-tab-item.entry.js +2 -2
- package/dist/esm/post-tab-panel.entry.js +2 -2
- package/dist/esm/post-tabs.entry.js +3 -3
- package/dist/esm/post-tooltip-trigger.entry.js +2 -2
- package/dist/esm/post-tooltip.entry.js +2 -2
- package/dist/post-components/{p-f88a161a.entry.js → p-092f8795.entry.js} +1 -1
- package/dist/post-components/{p-500a3fc7.entry.js → p-17ccebe6.entry.js} +1 -1
- package/dist/post-components/{p-d57462a3.entry.js → p-1d58bec1.entry.js} +1 -1
- package/dist/post-components/{p-8b68164f.entry.js → p-25c28493.entry.js} +1 -1
- package/dist/post-components/p-29ada3d7.entry.js +1 -0
- package/dist/post-components/{p-95df4d4e.entry.js → p-2fcca5ec.entry.js} +1 -1
- package/dist/post-components/{p-0992cba9.entry.js → p-3cefd49e.entry.js} +1 -1
- package/dist/post-components/{p-220d0eab.entry.js → p-3fea238c.entry.js} +1 -1
- package/dist/post-components/{p-0c249c71.entry.js → p-5068ae7e.entry.js} +1 -1
- package/dist/post-components/{p-cca0cf23.entry.js → p-521178f5.entry.js} +1 -1
- package/dist/post-components/p-534fed55.entry.js +1 -0
- package/dist/post-components/{p-5664d5b5.entry.js → p-570d64dd.entry.js} +1 -1
- package/dist/post-components/{p-dfe811cc.entry.js → p-5f52cba3.entry.js} +1 -1
- package/dist/post-components/{p-c95fcb40.entry.js → p-77d5e17b.entry.js} +1 -1
- package/dist/post-components/{p-52f85cba.entry.js → p-86697a58.entry.js} +1 -1
- package/dist/post-components/{p-906b669b.entry.js → p-987bebe8.entry.js} +1 -1
- package/dist/post-components/{p-272de102.entry.js → p-9ca5c297.entry.js} +1 -1
- package/dist/post-components/{p-1e28d279.entry.js → p-9ea3066f.entry.js} +1 -1
- package/dist/post-components/p-DW7sbg9f.js +1 -0
- package/dist/post-components/{p-cd6684e1.entry.js → p-a6fc33fa.entry.js} +1 -1
- package/dist/post-components/{p-30e5bc99.entry.js → p-ac853d6b.entry.js} +1 -1
- package/dist/post-components/p-bd09bc20.entry.js +1 -0
- package/dist/post-components/p-c2e05ba0.entry.js +1 -0
- package/dist/post-components/{p-d99bdef2.entry.js → p-c55b537b.entry.js} +1 -1
- package/dist/post-components/p-dded4f13.entry.js +1 -0
- package/dist/post-components/{p-6644e626.entry.js → p-e6ba44b1.entry.js} +1 -1
- package/dist/post-components/{p-fc2882a8.entry.js → p-ead1094e.entry.js} +1 -1
- package/dist/post-components/{p-9fab1847.entry.js → p-f12e59a0.entry.js} +1 -1
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-footer/post-footer.d.ts +1 -0
- package/hydrate/index.js +36 -35
- package/hydrate/index.mjs +36 -35
- package/package.json +4 -4
- package/dist/components/react/p-B4l5EAoq.js +0 -1
- package/dist/components/react/p-CfQqdIV2.js +0 -1
- package/dist/esm/package-B4l5EAoq.js +0 -3
- package/dist/post-components/p-5ade4255.entry.js +0 -1
- package/dist/post-components/p-694e76be.entry.js +0 -1
- package/dist/post-components/p-92e4a7f7.entry.js +0 -1
- package/dist/post-components/p-B4l5EAoq.js +0 -1
- package/dist/post-components/p-c70cad6e.entry.js +0 -1
- package/dist/post-components/p-f14ca918.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement, c as createEvent } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import { d as checkEmptyOrOneOf, h as checkRequiredAndOneOf, c as checkRequiredAndType, b as checkEmptyOrType, e as checkRequiredAndPattern, f as checkEmptyOrUrl } from './index-D9bU2pIE.js';
|
|
4
4
|
import { t as throttle, b as breakpoint } from './index-CJcRbvrI.js';
|
|
5
5
|
import { f as fade } from './fade-DsgPYmAa.js';
|
|
@@ -412,10 +412,10 @@ const PostHeader = class {
|
|
|
412
412
|
render() {
|
|
413
413
|
const onDesktop = this.device === 'desktop';
|
|
414
414
|
const onTabletAndMobile = this.device !== 'desktop';
|
|
415
|
-
return (h(Host, { key: '
|
|
416
|
-
h("slot", { key: '
|
|
417
|
-
h("slot", { key: '
|
|
418
|
-
], h("slot", { key: '
|
|
415
|
+
return (h(Host, { key: '7a816d9b241bc77d8312603c596500e262e16c6d', "data-version": version, "data-color-scheme": "light", "data-burger-menu": this.hasBurgerMenu, "data-menu-extended": this.burgerMenuExtended }, h("header", { key: 'c39b23a433fa6836bf237b5ffd46f0cc8d16ce99' }, h("div", { key: '4ef37141bf91c1e310967900a0df434cad468d79', class: "global-header" }, h("div", { key: '392a6eb0843040795227be1a743ef50dc8610b4b', class: "section" }, h("div", { key: '1db72fc26051ad5b20334bb7457da014cba2c270', class: "logo" }, h("slot", { key: 'f7db0f88aaca60aa3fdd0078511b63fa64096075', name: "post-logo" })), h("div", { key: '5cdb963d5f526d2c09e6088f1d0fec15388a9202', class: "sliding-controls" }, onDesktop && (h("div", { key: 'b13c2478cf96d52d0495966bcdcd2e0008a9a081', class: "audience" }, h("slot", { key: '03d8ff11bee4a766924cb03968b50488fb83c758', name: "audience" }))), h("slot", { key: 'a48370fa1234ced9ea27882cb918beb558829c4d', name: "global-nav-primary" }), (onDesktop || !this.hasMainNav) && [
|
|
416
|
+
h("slot", { key: '662dbdc1faaba785a56da6501e300ce90c56e95a', name: "global-nav-secondary" }),
|
|
417
|
+
h("slot", { key: '563e7768746790668fe003286b8bc78e6166c88d', name: "language-menu" }),
|
|
418
|
+
], h("slot", { key: '94684b18892e5db7885ac090da8adaf070e66dc8', name: "post-login" }), onTabletAndMobile && this.hasMainNav && (h("post-togglebutton", { key: 'aade08412fd81792b03eed6ee9061c42b2676607', class: "burger-button", ref: el => (this.burgerMenuButton = el), onClick: () => this.toggleBurgerMenu() }, h("span", { key: '5a9d5ba975eecde12d6ed9b40eb01f5f1f17d9ef' }, this.textMenu), h("post-icon", { key: 'f6fe7ffe9694b2288d426031a2066edda38fabcc', "aria-hidden": "true", name: "burger", "data-showwhen": "untoggled" }), h("post-icon", { key: '5fe932daa9ab5dbfa16690690b2b727ce27cf23d', "aria-hidden": "true", name: "closex", "data-showwhen": "toggled" })))))), h("div", { key: 'ffd76274ea6aba7ec3b086c1c907eac2d4dd78aa', ref: el => (this.localHeader = el), class: { 'local-header': true, 'megadropdown-open': this.megadropdownOpen } }, h("div", { key: '401d0a456bd79d63af036bb238b87dd5980a7451', class: "section" }, h("slot", { key: '8ce9f525906f866b7b8f0d827ab1be701c618862', name: "title" }), this.hasTitle && h("slot", { key: '1107dfe235d79ca9168d02bc6364e6188044f34f', name: "local-nav" }), onDesktop && h("slot", { key: 'c34a5bb6360ff305a17d9a743e9ec8fbe4d2dae3', name: "main-nav" }), onDesktop && !this.hasTitle && h("slot", { key: 'ceb027e4f353bc4af8b6f2f840cc5d67638dc532', name: "local-nav" }))), this.hasBurgerMenu && this.renderBurgerMenu())));
|
|
419
419
|
}
|
|
420
420
|
get host() { return getElement(this); }
|
|
421
421
|
static get watchers() { return {
|
|
@@ -553,7 +553,7 @@ const PostIcon = class {
|
|
|
553
553
|
this.validateAnimation();
|
|
554
554
|
}
|
|
555
555
|
render() {
|
|
556
|
-
return (h(Host, { key: '
|
|
556
|
+
return (h(Host, { key: 'f0c7dbf7fe05218aa6fc6cde30e249f1a709df27', "data-version": version }, h("span", { key: 'b814a9f52a2eee57b7a59913c84caada39f63d30', style: this.getStyles() })));
|
|
557
557
|
}
|
|
558
558
|
get host() { return getElement(this); }
|
|
559
559
|
static get watchers() { return {
|
|
@@ -793,7 +793,7 @@ const PostLogo = class {
|
|
|
793
793
|
render() {
|
|
794
794
|
const logoLink = this.url && (typeof this.url === 'string' ? this.url : this.url.href);
|
|
795
795
|
const LogoTag = logoLink ? 'a' : 'span';
|
|
796
|
-
return (h(Host, { key: '
|
|
796
|
+
return (h(Host, { key: '4d3410b6904aa6d02fc25ccd83379ca1f89988fc', "data-version": version }, h(LogoTag, { key: '08e525251bf27647966a441155a9be0a31880f7b', class: `logo ${logoLink ? 'logo-link' : ''}`, ...(logoLink ? { href: logoLink } : {}) }, h("span", { key: 'd87e43fa9d763b62f82ec6da194e2e6bd36160c6', class: "description" }, h("slot", { key: 'ade627d309d459f656eb63c90ed60899ae005ac5', onSlotchange: () => this.checkDescription() })), h("svg", { key: '2f344cbef09f65607381368cac9d517f3b0b685a', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", "aria-hidden": "true" }, h("g", { key: '7939c4cfdee6f72fb3fdad8527ff27b4895e82d3', id: "Logo" }, h("rect", { key: '1f3837db876668b6c6e056334e10e5641868b0c2', fill: "#ffcc00", x: "0", y: "0", width: "72", height: "72" }), h("polygon", { key: 'cb24bf87c4b6563b01c9cd679e789538001e3f56', 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" }), h("path", { key: 'da75a832055f5f577196d9fa6d7473be44f8ed89', 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" }))))));
|
|
797
797
|
}
|
|
798
798
|
get host() { return getElement(this); }
|
|
799
799
|
static get watchers() { return {
|
|
@@ -929,7 +929,7 @@ const PostMainnavigation = class {
|
|
|
929
929
|
}, NAVBAR_DISABLE_DURATION);
|
|
930
930
|
}
|
|
931
931
|
render() {
|
|
932
|
-
return (h(Host, { key: '
|
|
932
|
+
return (h(Host, { key: '45fdd34a6248953a9ac0d588c29226a5e25c4706', version: version, class: this.canScroll ? 'scrollable' : '' }, h("div", { key: '0807ccb2eee82ee5edd0c1ccf853fcbe63e7dd37', "aria-hidden": "true", class: { 'scroll-control scroll-left': true, 'd-none': !this.canScrollLeft }, onMouseDown: e => this.handleScrollButtonClick(e, 'left') }, h("post-icon", { key: 'd7c848e59304e90eb05fc667d02b8e29329a0edf', "aria-hidden": "true", name: "chevronleft" })), h("nav", { key: '34910b382d0152a53772845b2fbe204ea2be628b', ref: el => (this.navbar = el), "aria-label": this.textMain }, h("slot", { key: '2bbe37345ab50e66e976d7f56b88ed616a152ffc' })), h("div", { key: 'a8e44327bb726aab36f09e40765b26f20c9a6bdb', "aria-hidden": "true", class: { 'scroll-control scroll-right': true, 'd-none': !this.canScrollRight }, onMouseDown: e => this.handleScrollButtonClick(e, 'right') }, h("post-icon", { key: '80683326ad6a9bbe9c3aa3ad15da0a761e7c3658', "aria-hidden": "true", name: "chevronright" }))));
|
|
933
933
|
}
|
|
934
934
|
get host() { return getElement(this); }
|
|
935
935
|
static get watchers() { return {
|
|
@@ -1232,7 +1232,7 @@ const PostMegadropdown = class {
|
|
|
1232
1232
|
}
|
|
1233
1233
|
render() {
|
|
1234
1234
|
const containerStyle = this.isVisible ? {} : { display: 'none' };
|
|
1235
|
-
return (h(Host, { key: '
|
|
1235
|
+
return (h(Host, { key: 'c543ed13087070f879ddf173a4e09c352a5159b0', version: version }, h("div", { key: 'c53881d01625c04de35d9d3cf7dce2e19ceb80b3', ref: el => (this.animatedContainer = el), class: "megadropdown", style: containerStyle }, h("div", { key: '8eef59a973c990afc550917b50aba7f173385eb3', class: "section" }, this.device !== 'desktop' && this.megadropdownTitle && (h("p", { key: '9ca2ef61e1a8b06cb9cac4434ce31230f3126c61', class: "megadropdown-title" }, this.megadropdownTitle)), h("div", { key: '4e174af7f7dffdf1f128678ccbe0ef3cd16e7386', class: "megadropdown-content" }, h("slot", { key: '605680943b3231eab02a16c0a7198678d60dc3e2' })), this.device === 'desktop' ? (h("post-closebutton", { onClick: () => this.hide(true), class: "close-button", size: "small", placement: "manual" }, this.textClose)) : (h("button", { onClick: () => this.hide(true), class: "back-button" }, h("post-icon", { name: "arrowleft" }), this.textBack))))));
|
|
1236
1236
|
}
|
|
1237
1237
|
get host() { return getElement(this); }
|
|
1238
1238
|
static get watchers() { return {
|
|
@@ -1325,7 +1325,7 @@ const PostMegadropdownTrigger = class {
|
|
|
1325
1325
|
this.megadropdown.toggle();
|
|
1326
1326
|
}
|
|
1327
1327
|
render() {
|
|
1328
|
-
return (h(Host, { key: '
|
|
1328
|
+
return (h(Host, { key: '8de24577a809c89ebe46f4c7ef1532c5877a1113', "data-version": version }, h("button", { key: 'cabc13855412e4a1245e252095233260e039225b', 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 } }, h("span", { key: 'd0adcd8bab3e5f6f7b4b5271f7688e313a209e4a' }, h("span", { key: '0917886a953d08fad7fd9c86a6df6e3c4d617826', innerHTML: this.slottedContent }), h("span", { key: 'c43bdc75311aa8625b7fb1356febb4b0b465f56a', "aria-hidden": "true" }, h("slot", { key: 'b19ff347103a69fd2b900b72a388b5840df35e7a' }))), h("post-icon", { key: 'c34d5898e6bf3f9bd7b71c99376b05e93a110d27', name: "chevrondown" }))));
|
|
1329
1329
|
}
|
|
1330
1330
|
get host() { return getElement(this); }
|
|
1331
1331
|
static get watchers() { return {
|
|
@@ -1526,7 +1526,7 @@ const PostMenu = class {
|
|
|
1526
1526
|
.flatMap(el => Array.from(getFocusableChildren(el))));
|
|
1527
1527
|
}
|
|
1528
1528
|
render() {
|
|
1529
|
-
return (h(Host, { key: '
|
|
1529
|
+
return (h(Host, { key: '7d0b1cd5bbb556696a565678446d046e6ff076f6', "data-version": version }, h("post-popovercontainer", { key: '0ae774fe00ca20072166dc8cd101462852227868', onPostShow: this.handlePostShown.bind(this), onPostBeforeToggle: this.handlePostBeforeToggle.bind(this), placement: this.placement, ref: e => (this.popoverRef = e) }, h("div", { key: 'b222a596f617242223d83ca52fe5bea8a5cec99a', part: "post-menu" }, h("slot", { key: 'dd48fe47915864ffe3febcc27151e458db52a8f4', name: "header" }), h("slot", { key: '1ed5dccd1fbd838f05a11498717257c175be5073' })))));
|
|
1530
1530
|
}
|
|
1531
1531
|
get host() { return getElement(this); }
|
|
1532
1532
|
static get watchers() { return {
|
|
@@ -1620,7 +1620,7 @@ const PostMenuTrigger = class {
|
|
|
1620
1620
|
return null;
|
|
1621
1621
|
}
|
|
1622
1622
|
render() {
|
|
1623
|
-
return (h(Host, { key: '
|
|
1623
|
+
return (h(Host, { key: 'b73b99c8a2de05ad60a9f51dfa1b88a1d2cd1d00', "data-version": version }, h("slot", { key: 'b5082151629ba33458cb37a2415a7ed6af77463d' })));
|
|
1624
1624
|
}
|
|
1625
1625
|
get host() { return getElement(this); }
|
|
1626
1626
|
static get watchers() { return {
|
|
@@ -4710,9 +4710,9 @@ const PostPopovercontainer = class {
|
|
|
4710
4710
|
}
|
|
4711
4711
|
}
|
|
4712
4712
|
render() {
|
|
4713
|
-
return (h(Host, { key: '
|
|
4713
|
+
return (h(Host, { key: 'da51b463f946b73ed581ab510f5eed9ccb13c4db', "data-version": version, popover: "auto" }, h("div", { key: '51ba8b11b60b502a6fa03c4b808d392129a61c80', part: "post-popovercontainer-content", class: "popover-content" }, this.arrow && (h("span", { key: '0c7460ca5005698768972b8c1f3115c621291444', "dynamic-placement": this.dynamicPlacement, class: "arrow", ref: el => {
|
|
4714
4714
|
this.arrowRef = el;
|
|
4715
|
-
} })), h("span", { key: '
|
|
4715
|
+
} })), h("span", { key: 'd8b7fa2a392ba30b5e830e49b475ca5ee08f7f7a', part: "post-popovercontainer-border-mask" }), h("slot", { key: 'd0be7e1cb648d34fc04fc43f0db3e9e44a8ccf2d' }))));
|
|
4716
4716
|
}
|
|
4717
4717
|
get host() { return getElement(this); }
|
|
4718
4718
|
static get watchers() { return {
|
|
@@ -4776,7 +4776,7 @@ const PostTogglebutton = class {
|
|
|
4776
4776
|
this.host.addEventListener('keydown', (e) => this.handleKeydown(e), { capture: true });
|
|
4777
4777
|
}
|
|
4778
4778
|
render() {
|
|
4779
|
-
return (h(Host, { key: '
|
|
4779
|
+
return (h(Host, { key: '9d5a1290041d0a1959efceb520423124e5a09270', "data-version": version, role: "button", tabindex: "0", "aria-pressed": this.toggled.toString() }, h("slot", { key: '9168b19b5ddd39dcf61139ff335db773d3da1a1a' })));
|
|
4780
4780
|
}
|
|
4781
4781
|
get host() { return getElement(this); }
|
|
4782
4782
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import './index-CJcRbvrI.js';
|
|
4
4
|
import { b as checkEmptyOrType, c as checkRequiredAndType } from './index-D9bU2pIE.js';
|
|
5
5
|
import { E as EventFrom } from './event-from-rEfV4v4a.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
|
|
4
4
|
import { i as checkEmptyOrDate, c as checkRequiredAndType } from './index-D9bU2pIE.js';
|
|
5
5
|
import { l as libExports } from './index-CJcRbvrI.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import { c as checkRequiredAndType } from './index-D9bU2pIE.js';
|
|
4
4
|
import { b as breakpoint } from './index-CJcRbvrI.js';
|
|
5
5
|
|
|
6
|
-
const postFooterCss = () => `:host{display:block}footer{
|
|
6
|
+
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:has(>.d-none+.d-none+.d-none+.d-none){margin-block-end:0;padding-block-end:0;row-gap:0;column-gap:0}.footer-grid post-accordion:has(>.d-none+.d-none+.d-none+.d-none){display:none}.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}`;
|
|
7
7
|
|
|
8
8
|
const GRID_SLOTS = ['grid-1', 'grid-2', 'grid-3', 'grid-4'];
|
|
9
9
|
const PostFooter = class {
|
|
@@ -52,7 +52,7 @@ const PostFooter = class {
|
|
|
52
52
|
return GRID_SLOTS.map(slotName => (h("div", { class: { 'd-none': !this.gridSlotDisplayed[slotName] } }, h("h3", null, h("slot", { name: slotName + '-title' })), h("slot", { onSlotchange: this.handleGridSlotChange('tablet', 'desktop'), name: slotName }))));
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: 'f0a0abbe852d39eb1332a6344cd715bddc69023e', "data-version": version, "data-color-scheme": "light" }, h("footer", { key: 'cdd1dc30d2640a9a5191d896ab3de488b0e5cb23' }, h("h2", { key: '1293bee6f59464063e389c5ec2a7d2962f1cd7ce', class: "visually-hidden" }, this.textFooter), h("div", { key: 'f3452f2268046670e02345ed5bcce1def5b04928', class: "prefooter" }, h("div", { key: 'cbcdcb33d552617d744f8815b62a028844b22336', class: "footer-container" }, h("slot", { key: 'f55b1a0366d34be71214e8b4df60360d97d75e28', name: "prefooter" }))), h("div", { key: 'ba6ae9f95e2f307a2b3991212281bd10336af73a', class: "footer-main" }, h("div", { key: '8971982c6114d5dc502d142602d0006d82066b9b', class: "footer-container" }, h("div", { key: '74d538afd66347d9dbe4e27fc584e05846282dfd', class: "footer-grid" }, this.device === 'mobile' ? this.renderAccordion() : this.renderColumns()), h("div", { key: '253b835a08b632d1dcda79c482e0a217985a3ed0', class: "footer-column" }, h("div", { key: '83a3d358d8df658d9bb77cac8e72d141cde0e884', class: "footer-socialmedia" }, h("slot", { key: '116c471844a25ade258c9f70e17e82ca5679aec6', name: "socialmedia" })), h("div", { key: 'a8412b6846be4ed93f062696614152abfd477069', class: "footer-app" }, h("slot", { key: '98e4ef1e591a5c550c92450c5395fb32792f1d09', name: "app" }))), h("div", { key: 'dec506b9c0b9307fa95a310fc60f3e2b4eee3a3f', class: "footer-businesssectors" }, h("slot", { key: 'bef507c9c9eabbff7feb73bef66eea2ea79b5d80', name: "businesssectors" })), h("div", { key: 'eacf793fc1ebbfed753eefbd736dd2a1b38169b0', class: "footer-meta" }, h("slot", { key: 'b35f1fff30f3a657f1aff2fec6926abbd600e796', name: "meta" })), h("div", { key: '42d97c3267ed09061d8aae5297c2939436a1acbc', class: "footer-copyright" }, h("slot", { key: '4adbba5bd0d51064f7b4aa7c8a78cc5e9728dbc4', name: "copyright" })))))));
|
|
56
56
|
}
|
|
57
57
|
get host() { return getElement(this); }
|
|
58
58
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
|
|
4
4
|
const postLinkareaCss = () => `:host{display:block;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-within){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-within){outline-color:Highlight !important}}`;
|
|
5
5
|
|
|
@@ -61,7 +61,7 @@ const PostLinkarea = class {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(Host, { key: '
|
|
64
|
+
return (h(Host, { key: '9db757ece0cdc82469682b1dd9683c9cd5d842c8', "data-version": version, onClick: (e) => this.dispatchClick(e) }, h("slot", { key: '7098c364b730823965b8dce1c985a1164a983476' })));
|
|
65
65
|
}
|
|
66
66
|
get host() { return getElement(this); }
|
|
67
67
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
|
|
4
4
|
const postListboxOptionCss = () => `:host{padding:12px 12px 9px 16px;background-color:#fff;cursor:pointer;user-select:none;display:flex;align-items:center;gap:8px;justify-content:space-between}:host(:hover){background-color:#f0efed}:host([data-active=true]){outline:2px solid #000;outline-offset:-4px}:host([hidden]){display:none}:host(:focus-visible){outline:2px solid #050400;outline-offset:2px}.option-content{display:flex;flex-direction:column;min-width:0}.option-description{display:none;font-size:.85em;color:#666}:host(:not(:empty)) .option-description{display:block}post-icon{width:24px;height:24px}`;
|
|
5
5
|
|
|
@@ -14,9 +14,9 @@ const PostListboxOption = class {
|
|
|
14
14
|
this.highlighted = false;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: 'c2e1c5052d742c62e82eaac30a01d525048b3a2e', "data-version": version, role: "option", "aria-selected": `${this.selected}`, "data-active": this.highlighted ? 'true' : null,
|
|
18
18
|
/* Prevent focus change from triggering onblur event in post-autocomplete */
|
|
19
|
-
onPointerDown: (e) => e.preventDefault(), onClick: () => this.postOptionSelected.emit(this.value), id: `post-listbox-option-${this.optionId}` }, h("span", { key: '
|
|
19
|
+
onPointerDown: (e) => e.preventDefault(), onClick: () => this.postOptionSelected.emit(this.value), id: `post-listbox-option-${this.optionId}` }, h("span", { key: '2b0cdab57c328df649c1353c41e2c4cfe57378d0', class: "option-content" }, this.value, h("span", { key: 'e5807160223e87095dc3c0c076ec84317050cf18', class: "option-description" }, h("slot", { key: '45f0020b9eebe13b84880a842c095daa51cf0feb' }))), this.selected && h("post-icon", { key: '80a23567a10075cbc8269f4769dd7d8aba7b2961', "aria-hidden": "true", name: "checkmark" })));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
PostListboxOption.style = postListboxOptionCss();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import './index-CJcRbvrI.js';
|
|
4
4
|
import { E as EventFrom } from './event-from-rEfV4v4a.js';
|
|
5
5
|
|
|
@@ -137,7 +137,7 @@ const PostListbox = class {
|
|
|
137
137
|
this.updateSelection(event.detail);
|
|
138
138
|
}
|
|
139
139
|
render() {
|
|
140
|
-
return (h(Host, { key: '
|
|
140
|
+
return (h(Host, { key: '22580e81cfb0e65becc36408f7d4523b0ad2d312', "data-version": version }, h("post-popovercontainer", { key: 'd01fad1ac1f9651360c16e7177dd1fce47795f35', placement: "bottom-start", ref: el => (this.popoverContainer = el) }, this.visibleOptions.length === 0 ? h("slot", { name: "blank-slate" }) : h("slot", null))));
|
|
141
141
|
}
|
|
142
142
|
get host() { return getElement(this); }
|
|
143
143
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
|
|
4
4
|
const SESSION_URL = 'https://n.account.post.ch/v1/session/subscribe';
|
|
5
5
|
const PostLoginWidget = class {
|
|
@@ -51,7 +51,7 @@ const PostLoginWidget = class {
|
|
|
51
51
|
this.postChange.emit({ authenticated: next });
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '5bb42861c3ecefa1cfb5a8a44e8d3a5a460c4f4e', "data-version": version }, this.authenticated === true ? h("slot", { name: "authenticated" }) : h("slot", { name: "unauthenticated" })));
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
2
|
import { d as debounce } from './index-CJcRbvrI.js';
|
|
3
|
-
import { v as version } from './package-
|
|
3
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
4
4
|
|
|
5
5
|
function getSlottedElement(host, selector) {
|
|
6
6
|
const slottedElements = host.querySelectorAll(selector);
|
|
@@ -125,10 +125,10 @@ const PostNumberInput = class {
|
|
|
125
125
|
}
|
|
126
126
|
render() {
|
|
127
127
|
const areButtonsShown = !!this.input;
|
|
128
|
-
return (h(Host, { key: '
|
|
128
|
+
return (h(Host, { key: '856504c3a82ef504178fc937f5f60a38acb28244', "data-version": version, class: {
|
|
129
129
|
'number-input-sm': this.small,
|
|
130
130
|
'disabled': this.isDisabled,
|
|
131
|
-
} }, areButtonsShown && (h("div", { key: '
|
|
131
|
+
} }, areButtonsShown && (h("div", { key: 'ce30cbb021d0240d600c64c75ab29c85ff0c0f89', "aria-hidden": "true", onPointerDown: () => this.step('down'), class: { 'step-button': true, 'disabled': this.isDecrementDisabled } }, h("post-icon", { key: '05081a8183aa6d33f3669cee426d11bf981e42a5', name: "minus" }))), h("div", { key: '382d0dc2a4039af32ce7bf81ec5d75522dba856b', class: "input-container" }, h("slot", { key: '8b6887afdf073173ab8fa7226d8bfb7b7a99801e', onSlotchange: () => this.setupInput() })), areButtonsShown && (h("div", { key: 'c72c3af1708036502a926a0e7b7096ddbf3f9a0c', "aria-hidden": "true", onPointerDown: () => this.step('up'), class: { 'step-button': true, 'disabled': this.isIncrementDisabled } }, h("post-icon", { key: '2a2dbf0aa3b88cee41d7e7f6aa2652660a3e46d8', name: "plus" })))));
|
|
132
132
|
}
|
|
133
133
|
get host() { return getElement(this); }
|
|
134
134
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import { n as nanoid } from './index.browser-nA1BKco0.js';
|
|
4
4
|
import { c as checkRequiredAndType, b as checkEmptyOrType } from './index-D9bU2pIE.js';
|
|
5
5
|
import './index-CJcRbvrI.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import { i as isFocusable } from './focusable-BD_WT2MO.js';
|
|
4
4
|
import { b as checkEmptyOrType } from './index-D9bU2pIE.js';
|
|
5
5
|
import './index-CJcRbvrI.js';
|
|
@@ -111,7 +111,7 @@ const PostPopoverTrigger = class {
|
|
|
111
111
|
this.popover?.removeEventListener('postToggle', this.boundHandlePostToggle);
|
|
112
112
|
}
|
|
113
113
|
render() {
|
|
114
|
-
return (h(Host, { key: '
|
|
114
|
+
return (h(Host, { key: 'e9cf2ac9db54388c4a8743489f7b6712a99fefcd', "data-version": version }, h("slot", { key: 'eecc2384629001fd05ff1a62b691d3be01ebc0d4', onSlotchange: () => this.setupTrigger() })));
|
|
115
115
|
}
|
|
116
116
|
get host() { return getElement(this); }
|
|
117
117
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
2
|
import { P as PLACEMENT_TYPES } from './placement-DRiVosES.js';
|
|
3
|
-
import { v as version } from './package-
|
|
3
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
4
4
|
import { d as checkEmptyOrOneOf, c as checkRequiredAndType } from './index-D9bU2pIE.js';
|
|
5
5
|
import './index-CJcRbvrI.js';
|
|
6
6
|
import { g as getDeepFocusableChildren } from './get-focusable-children-DxYnH2ye.js';
|
|
@@ -66,7 +66,7 @@ const PostPopover = class {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '09e88f4db9dfc6ed370649d014f51ddbc0862231', "data-version": version }, h("post-popovercontainer", { key: '9a3326e81e8d0d580fb7afe1e9b37faa30e24559', arrow: this.arrow, placement: this.placement, ref: e => (this.popoverRef = e) }, h("div", { key: 'a1c4398621bdabe564b382a588c4b0c25500d32f', class: "popover-container" }, h("div", { key: '01d695a07369d0f4fb0ee04ffdfd5abb30db3fef', class: "popover-content" }, h("slot", { key: '14edd33928d9f404c2b44df4d1a9f874af2b4fb5' })), h("post-closebutton", { key: '7951a656d27ffff55e2b394732ba31c243d39009', onClick: () => this.hide() }, this.textClose)))));
|
|
70
70
|
}
|
|
71
71
|
get host() { return getElement(this); }
|
|
72
72
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import { c as checkRequiredAndType } from './index-D9bU2pIE.js';
|
|
4
4
|
import './index-CJcRbvrI.js';
|
|
5
5
|
|
|
@@ -94,7 +94,7 @@ const PostRating = class {
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
|
-
return (h(Host, { key: '
|
|
97
|
+
return (h(Host, { key: '7daf53685c00e611e289c1ce8eb4cb6491c2025b', "data-version": version }, h("div", { key: 'd14774efb201b5f27b9c5f1557726d4683a7b34f', 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) => (h("div", { key: `star-${v}`, "aria-hidden": "true", class: {
|
|
98
98
|
'star': true,
|
|
99
99
|
'before-hover': i < this.hoveredIndex,
|
|
100
100
|
'active': i < Math.round(this.currentRating),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
|
|
4
4
|
const postStepperItemCss = () => `:host{grid-row:1;position:relative;padding-inline-start:0}:host::before,:host::after{content:"";display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - 2px)/2);height:2px;background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);inset-inline:0}:host(:not(:first-of-type)){padding-inline-start:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2)}:host(:not(:last-of-type)){padding-inline-end:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2);grid-column:span 2}:host(:not(:first-of-type,:last-of-type))::before{inset-inline-end:50%}:host(:not(:first-of-type,:last-of-type))::after{inset-inline-start:50%}:host(.stepper-item-current:not(:last-of-type))::after,:host(.stepper-item-current:first-of-type)::before,:host(.stepper-item-after-current)::before,:host(.stepper-item-after-current:last-of-type)::after{background-color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::after{background-color:var(--post-scheme-color-interactive-primary-selected-bg2);z-index:1}.stepper-item-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;position:relative;z-index:2;overflow:hidden;text-decoration:none;color:var(--post-scheme-color-interactive-primary-disabled-fg1);width:fit-content;word-break:break-word;font-size:var(--post-device-font-size-7)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content{margin-inline:auto;text-align:center}:host(:last-of-type)>.stepper-item-content{margin-inline-start:auto;margin-inline-end:-20px;text-align:end}:host(.stepper-item-completed)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-selected)>.stepper-item-content{font-weight:var(--post-device-font-weight-bold)}:host(.stepper-item-selected)>.stepper-item-content::before{font-weight:var(--post-device-font-weight-regular)}:host(.stepper-item-current)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3)}.stepper-item-content::before{counter-increment:step-index;content:counter(step-index);display:flex;align-items:center;justify-content:center;z-index:1;height:var(--post-device-sizing-interactive-stepper-indicator);width:var(--post-device-sizing-interactive-stepper-indicator);box-sizing:border-box;margin-block-end:var(--post-device-spacing-gap-1);color:var(--post-scheme-color-interactive-primary-disabled-fg3);background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-disabled-stroke3);border-radius:var(--post-device-border-radius-round);text-indent:initial}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::before{margin-inline:auto}:host(:last-of-type)>.stepper-item-content::before{margin-inline-start:auto}:host(.stepper-item-completed)>.stepper-item-content::before{color:rgba(0,0,0,0);background-color:var(--post-scheme-color-interactive-primary-selected-bg2);border-color:var(--post-scheme-color-interactive-primary-selected-stroke3)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3);background-color:var(--post-scheme-color-interactive-primary-enabled-bg2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3)}.stepper-item-content::after{display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2);z-index:1;mask-image:var(--post-icon-checkmark-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size7);height:var(--post-device-sizing-interactive-icon-size7);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3)}:root,:host{--post-icon-checkmark-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hlY2ttYXJrLXNvbGlkIj48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0ibTcuNDkgMTIuOTktMy42NC0zLjljLS40Ny0uNS0uNDQtMS4zLjA2LTEuNzdzMS4yOS0uNDQgMS43Ny4wNmwxLjQ4IDEuNTggMy4wNS00LjYyYy4zOC0uNTggMS4xNi0uNzQgMS43My0uMzUuNTguMzguNzQgMS4xNi4zNSAxLjczeiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJtMTEuMTggMTguODgtNS4xNC01LjUxYTEuNSAxLjUgMCAwIDEgLjA3LTIuMTJjLjYtLjU2IDEuNTUtLjUzIDIuMTIuMDdsMi41NCAyLjcyIDQuODQtNy4zM2MuNDYtLjY5IDEuMzktLjg4IDIuMDgtLjQzLjY5LjQ2Ljg4IDEuMzkuNDMgMi4wOGwtNi45NCAxMC41MVoiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTE0Ljg3IDI0LjgxIDguMjMgMTcuN2MtLjY2LS43MS0uNjItMS44MS4wOC0yLjQ3LjcxLS42NiAxLjgxLS42MiAyLjQ3LjA4bDMuNjEgMy44NiA2LjYyLTEwLjA0Yy41My0uODEgMS42Mi0xLjAzIDIuNDItLjUuODEuNTMgMS4wMyAxLjYyLjUgMi40MkwxNC44NiAyNC44WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJtMTguNTYgMzAuNi04LjE0LTguNzFjLS43NS0uODEtLjcxLTIuMDcuMS0yLjgzLjgxLS43NSAyLjA3LS43MSAyLjgzLjFsNC42NyA1IDguNDEtMTIuNzRhMiAyIDAgMCAxIDMuMzQgMi4yeiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0OCIgdmlld0JveD0iMCAwIDQ4IDQ4Ij48cGF0aCBkPSJtMjIuMjYgMzYuNTctOS42My0xMC4zMmMtLjg1LS45MS0uOC0yLjMzLjExLTMuMThzMi4zMy0uOCAzLjE4LjExbDUuNzQgNi4xNCAxMC4yLTE1LjQ1YTIuMjU0IDIuMjU0IDAgMCAxIDMuMTItLjY0YzEuMDQuNjggMS4zMiAyLjA4LjY0IDMuMTJMMjIuMjcgMzYuNTdaIi8+PC9zeW1ib2w+PHN5bWJvbCBpZD0iczY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjxwYXRoIGQ9Ik0yOS42MSA0Ny45MSAxNy4yIDM0LjYyYTIuNDk3IDIuNDk3IDAgMSAxIDMuNjUtMy40MWw4LjA4IDguNjUgMTMuOTUtMjEuMTNhMi40OTkgMi40OTkgMCAwIDEgNC4xNyAyLjc1TDI5LjYgNDcuOTFaIi8+PC9zeW1ib2w+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczE2LCBub25lKSIgaHJlZj0iI3MxNiIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXMyNCwgbm9uZSkiIGhyZWY9IiNzMjQiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZWNrbWFyay1zb2xpZCIvPjwvZz48L3N2Zz4=")}:host(:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size7)/2)}:host(:last-of-type)>.stepper-item-content::after{inset-inline-end:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(.stepper-item-completed)>.stepper-item-content::after{content:""}:host([aria-current=step])>.stepper-item-content::after{mask-image:var(--post-icon-edit-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size4);height:var(--post-device-sizing-interactive-icon-size4);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3);inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:root,:host{--post-icon-edit-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktZWRpdC1zb2xpZCI+PHN5bWJvbCBpZD0iczE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiPjxwYXRoIGQ9Im0xLjUgMTAuOTkgOC41LTguNXMuMDMuMDUuMDUuMDdsMy41IDMuNDUtOC41MiA4LjUxem0tLjkyIDEuMi0uNTYgMy44IDMuODEtLjU2LTMuMjQtMy4yNFptMTUuMjUtOS4zN0wxMy4xOS4xOGEuNjMuNjMgMCAwIDAtLjg4IDBsLTEuMjcgMS4yN3MuMDQuMDIuMDYuMDRsMy41IDMuNDUgMS4yMy0xLjIzYy4yNC0uMjQuMjQtLjY0IDAtLjg4WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNS44NCAyMy4xNS4wMiAyNGwuODUtNS44MnptMS40MS0xLjA4TDIwLjQ5IDguODNsLTUuMjUtNS4xN3MtLjA0LS4wNy0uMDctLjFMMS45NSAxNi43OGw1LjMgNS4zWm0xNi41LTE3LjgzTDE5Ljc4LjI3YS45MzYuOTM2IDAgMCAwLTEuMzMgMGwtMi4wOSAyLjA5cy4wNi4wMy4wOS4wNmw1LjI2IDUuMTggMi4wMy0yLjAzYy4zNy0uMzcuMzctLjk2IDAtMS4zM1oiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0ibTguMDcgMzAuNzctOC4wNCAxLjIgMS4yMS04LjA3em0xLjUzLTEuMzEgMTcuODMtMTcuODQtNi45OS02Ljg5cy0uMDYtLjA5LS4wOS0uMTRMMi41NiAyMi4zOGw3LjAzIDcuMDdaTTMxLjY2IDUuNjIgMjYuMzcuMzNjLS40OS0uNDktMS4yOC0uNDktMS43NiAwbC0yLjg5IDIuODlzLjA5LjA0LjEyLjA4bDcuMDEgNi45IDIuODItMi44MmMuNDktLjQ5LjQ5LTEuMjggMC0xLjc2WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJNMi40MSAyOC43OSAyNS41MiA1LjcxYy4wNC4wNi4wNi4xMi4xMS4xN2w4Ljc0IDguNkwxMS4yMyAzNy42em0tMS4wMiAyLjE2TC4wNCA0MC4wMWw5LjA0LTEuMzktNy42OS03LjY4Wk0zOS41OCA3LjA3IDMyLjk3LjQ3Yy0uNjEtLjYxLTEuNi0uNjEtMi4yMSAwbC0zLjcgMy43Yy4wNS4wNC4xMS4wNi4xNS4xbDguNzYgOC42MSAzLjYxLTMuNjFjLjYxLS42MS42MS0xLjYgMC0yLjIiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+PHBhdGggZD0iTTIuODMgMzQuNTggMzEuMyA2LjExYy4wNS4wNy4wOC4xNC4xNC4ybDEwLjQ5IDEwLjMzLTI4LjU1IDI4LjU0em0tMS4xOCAyLjM2TDAgNDhsMTAuOTktMS42NnpNNDcuNDYgOC40NyAzOS41My41NGMtLjczLS43My0xLjkyLS43My0yLjY1IDBsLTMuODcgMy44N2MuMDYuMDQuMTMuMDcuMTkuMTJsMTAuNTEgMTAuMzQgMy43NS0zLjc1Yy43My0uNzMuNzMtMS45MiAwLTIuNjUiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHBhdGggZD0iTTE1LjA4IDYxLjcyIDAgNjMuOThsMi4zLTE1LjA0ek00Mi41MiA3Ljg0Yy0uMDgtLjA4LS4xMy0uMTgtLjE5LS4yOEwzLjU5IDQ2LjM0bDE0LjA5IDE0LjA5LTEuMDcgMS4wN2guMDJMNTYuNSAyMS42em0yMC43NiAzLjQ1TDUyLjcxLjcxYy0uOTctLjk3LTIuNTUtLjk3LTMuNTMgMGwtNC45OSA1Yy4wOS4wNS4xOC4xLjI2LjE3bDEzLjk5IDEzLjc4IDQuODQtNC44NGMuOTctLjk3Ljk3LTIuNTUgMC0zLjUzIi8+PC9zeW1ib2w+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczE2LCBub25lKSIgaHJlZj0iI3MxNiIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXMyNCwgbm9uZSkiIGhyZWY9IiNzMjQiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zMzIsIG5vbmUpIiBocmVmPSIjczMyIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWVkaXQtc29saWQiLz48L2c+PC9zdmc+")}:host([aria-current=step]:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:host([aria-current=step]:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size4)/2)}@media screen and (max-width: 779.98px){:host{flex-grow:1;margin-inline:0;padding:0 !important}:host::before{content:unset}:host::after{inset-inline-start:0 !important}:host(:last-of-type){flex:0 0 32px}:host(:last-of-type)::after{content:unset}.stepper-item-content{margin-inline:0 !important}.label{display:none}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host::before,:host::after{background-color:CanvasText !important}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::after,:host(.stepper-item-completed)::before{background-color:Highlight !important}.stepper-item-content::before{forced-color-adjust:none}:host(.stepper-item-current) .stepper-item-content::before{background-color:Canvas;color:CanvasText}:host(.stepper-item-completed) .stepper-item-content::before,:host(.stepper-item-inactive) .stepper-item-content::before{border-color:Canvas;background-color:CanvasText}:host(.stepper-item-inactive) .stepper-item-content::before{color:Canvas}.stepper-item-content::after{color:Canvas}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}`;
|
|
5
5
|
|
|
@@ -8,7 +8,7 @@ const PostStepperItem = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'f41ae27d8de89912b3aa34d9c89f5ec69f3df301', "data-version": version, role: "listitem" }, h("span", { key: '00a0dd2eb3fb020e49c5782245e1f3e72c77e780', class: "stepper-item-content" }, h("span", { key: 'bc9932083d295b92db24ddd22cb18a755db5ad11', class: "step-hidden-label visually-hidden" }), h("span", { key: 'efe2d809c82c1d7de9e0cdf4e52b924943afa0bf', class: "label" }, h("slot", { key: '47aceca3fc331ef91da60674dbc2af5ea7e76ec8' })))));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
PostStepperItem.style = postStepperItemCss();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import { c as checkRequiredAndType, e as checkRequiredAndPattern } from './index-D9bU2pIE.js';
|
|
4
4
|
import './index-CJcRbvrI.js';
|
|
5
5
|
|
|
@@ -112,7 +112,7 @@ const PostStepper = class {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
render() {
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '8d6184e49608c81446eb3aa880df8a4535b9b959', "data-version": version }, h("ol", { key: '7340f39e1c7f8b903cb5f5e9c2cd536f54f0d60c' }, h("slot", { key: '6a120449b6224f4a53c68bfedf08ef753d011b8b', onSlotchange: () => this.updateSteps() })), h("div", { key: '9b4f91edd4bc7496a6c8c8976687323edf67d78e', class: "active-step", "aria-hidden": "true" }, h("span", { key: '70ad722fa40e413cf4ceadb3af8575dcffc33b81', class: "active-step-label" }, this.mobileActiveStepLabel), h("span", { key: '02ea637605b7dfeb423daf7efb64b2abd572cea8', innerHTML: this.mobileActiveStepName }))));
|
|
116
116
|
}
|
|
117
117
|
get host() { return getElement(this); }
|
|
118
118
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import { c as checkRequiredAndType } from './index-D9bU2pIE.js';
|
|
4
4
|
import './index-CJcRbvrI.js';
|
|
5
5
|
import { n as nanoid } from './index.browser-nA1BKco0.js';
|
|
@@ -35,7 +35,7 @@ const PostTabItem = class {
|
|
|
35
35
|
this.isNavigationMode = hasAnchor;
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'ad908beacdffc7d6ce2eb0cab7a7a2868e876a34', id: this.tabId, role: !this.isNavigationMode ? 'tab' : undefined, "data-version": version, "data-navigation-mode": this.isNavigationMode.toString(), "aria-selected": !this.isNavigationMode ? 'false' : undefined, tabindex: !this.isNavigationMode ? '-1' : undefined, class: !this.isNavigationMode ? 'tab-title' : 'nav-item' }, h("slot", { key: 'd8208d5c9b78f31351ad6c32677b8c693ec449f6' })));
|
|
39
39
|
}
|
|
40
40
|
get host() { return getElement(this); }
|
|
41
41
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import { n as nanoid } from './index.browser-nA1BKco0.js';
|
|
4
4
|
import { c as checkRequiredAndType } from './index-D9bU2pIE.js';
|
|
5
5
|
import './index-CJcRbvrI.js';
|
|
@@ -19,7 +19,7 @@ const PostTabPanel = class {
|
|
|
19
19
|
this.panelId = `panel-${this.host.id || nanoid(6)}`;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: 'd80c058e686d94347bfcb266f35f73247fc6db5a', "data-version": version, id: this.panelId, role: "tabpanel", slot: "panels" }, h("slot", { key: 'dc226cf7fe57939fd53a8f1cc68c9eaf766d5c1e' })));
|
|
23
23
|
}
|
|
24
24
|
get host() { return getElement(this); }
|
|
25
25
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import { f as fade } from './fade-DsgPYmAa.js';
|
|
4
4
|
import { c as checkRequiredAndType } from './index-D9bU2pIE.js';
|
|
5
5
|
import './index-CJcRbvrI.js';
|
|
@@ -313,10 +313,10 @@ const PostTabs = class {
|
|
|
313
313
|
}
|
|
314
314
|
render() {
|
|
315
315
|
const TabsContainer = this.isNavigationMode ? 'nav' : 'div';
|
|
316
|
-
return (h(Host, { key: '
|
|
316
|
+
return (h(Host, { key: '4eb78778cb1a98e78714b5b8d69d15eaa68170c6', "data-version": version }, h("div", { key: '203c1529d44e676d40dd4f87593bcce07901079f', class: "tabs-wrapper", part: "post-tabs" }, h(TabsContainer, { key: '70f132a96d11fdcc0f0e9bab5053cc3a188b5b04', class: "tabs", role: this.isNavigationMode ? undefined : 'tablist', "aria-label": this.isNavigationMode ? this.label : undefined }, h("slot", { key: '24e2b06bf1b884d83d6c915d4c54029856f2a0ec', onSlotchange: () => {
|
|
317
317
|
this.moveMisplacedTabs();
|
|
318
318
|
this.enableTabs();
|
|
319
|
-
} }))), !this.isNavigationMode && (h("div", { key: '
|
|
319
|
+
} }))), !this.isNavigationMode && (h("div", { key: 'bd6530a08d31258fa028761f44f0db4dc12541ec', class: "tab-content", part: "post-tabs-content" }, h("slot", { key: 'df50010f2b6cfbd77bc435bedbff1677415869e5', name: "panels", onSlotchange: () => this.moveMisplacedPanels() })))));
|
|
320
320
|
}
|
|
321
321
|
get host() { return getElement(this); }
|
|
322
322
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
2
|
import { b as checkEmptyOrType } from './index-D9bU2pIE.js';
|
|
3
3
|
import './index-CJcRbvrI.js';
|
|
4
|
-
import { v as version } from './package-
|
|
4
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
5
5
|
import { i as isFocusable } from './focusable-BD_WT2MO.js';
|
|
6
6
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
7
7
|
|
|
@@ -170,7 +170,7 @@ const PostTooltipTrigger = class {
|
|
|
170
170
|
this.tooltip?.hide();
|
|
171
171
|
}
|
|
172
172
|
render() {
|
|
173
|
-
return (h(Host, { key: '
|
|
173
|
+
return (h(Host, { key: '7121e61cb791f41af5f41b5e2586b0a0399a4e05', "data-version": version }, h("slot", { key: '5de58a569a3bfedb44330c7b66150e58afdfea9b', onSlotchange: () => this.handleSlotChange() })));
|
|
174
174
|
}
|
|
175
175
|
get host() { return getElement(this); }
|
|
176
176
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-DmAi35UF.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-DW7sbg9f.js';
|
|
3
3
|
import { d as checkEmptyOrOneOf } from './index-D9bU2pIE.js';
|
|
4
4
|
import './index-CJcRbvrI.js';
|
|
5
5
|
import { P as PLACEMENT_TYPES } from './placement-DRiVosES.js';
|
|
@@ -69,7 +69,7 @@ const PostTooltip = class {
|
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
71
|
const popoverClass = `${this.arrow ? 'has-arrow' : ''}`;
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '4822f0831a0ce3e74e7eeb181f562b2e4624efc8', "data-version": version }, h("post-popovercontainer", { key: 'ba403db39900c4fddc6ab7dca4be73c17b2e60bf', safeSpace: "trapezoid", class: popoverClass, role: "tooltip", arrow: this.arrow, placement: this.placement, onPostBeforeToggle: e => this.handleBeforeToggle(e), ref: (el) => (this.popoverRef = el) }, h("slot", { key: '205a693e6e0c2ed41c7c8b5a2dd8ae214f20e199' }))));
|
|
73
73
|
}
|
|
74
74
|
get host() { return getElement(this); }
|
|
75
75
|
static get watchers() { return {
|