@swisspost/design-system-components 9.0.0-next.6 → 9.0.0-next.7
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/index-e1f32cce.js +4 -0
- package/dist/cjs/index.cjs.js +22 -20
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-81d89808.js → package-bc44930e.js} +1 -1
- package/dist/cjs/{post-accordion-7d2805f4.js → post-accordion-c55fef06.js} +1 -1
- package/dist/cjs/{post-accordion-item-0d8b65b1.js → post-accordion-item-641f0b42.js} +1 -1
- package/dist/cjs/post-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/post-accordion.cjs.entry.js +2 -2
- package/dist/cjs/{post-avatar-0b87e44f.js → post-avatar-10d7b5c0.js} +1 -1
- package/dist/cjs/post-avatar.cjs.entry.js +2 -2
- package/dist/cjs/{post-banner-e42f02bd.js → post-banner-b286d37f.js} +1 -1
- package/dist/cjs/post-banner.cjs.entry.js +2 -2
- package/dist/cjs/{post-breadcrumb-item-46a8e876.js → post-breadcrumb-item-8cdc59a8.js} +1 -1
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/post-card-control-fc4aca2a.js +272 -0
- package/dist/cjs/post-card-control.cjs.entry.js +2 -2
- package/dist/cjs/post-closebutton_10.cjs.entry.js +2 -2
- package/dist/cjs/{post-collapsible-trigger-ae50d0d4.js → post-collapsible-trigger-c8b3e767.js} +1 -1
- package/dist/cjs/post-collapsible_2.cjs.entry.js +2 -2
- package/dist/cjs/post-components.cjs.js +1 -1
- package/dist/cjs/{post-language-option-c6049337.js → post-language-option-8c1ec4fd.js} +2 -2
- package/dist/cjs/post-language-option.cjs.entry.js +2 -2
- package/dist/cjs/{post-megadropdown-trigger-97472602.js → post-megadropdown-trigger-9b9f1036.js} +31 -36
- package/dist/cjs/{post-menu-61c31423.js → post-menu-5a71a6fe.js} +2 -2
- package/dist/cjs/{post-menu-item-4f393cde.js → post-menu-item-5c5c1aaf.js} +2 -2
- package/dist/cjs/post-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/{post-menu-trigger-44a5f8e9.js → post-menu-trigger-02d128c4.js} +2 -2
- package/dist/cjs/post-menu-trigger.cjs.entry.js +2 -2
- package/dist/cjs/post-menu.cjs.entry.js +2 -2
- package/dist/cjs/{post-popover-44fdb733.js → post-popover-91a83e9d.js} +2 -2
- package/dist/cjs/post-popover.cjs.entry.js +2 -2
- package/dist/cjs/{post-rating-4d5e7c8e.js → post-rating-57fcf949.js} +2 -2
- package/dist/cjs/post-rating.cjs.entry.js +2 -2
- package/dist/cjs/{post-tab-header-3fcb40fa.js → post-tab-header-ce56b760.js} +2 -2
- package/dist/cjs/post-tab-header.cjs.entry.js +2 -2
- package/dist/cjs/{post-tab-panel-b1a41181.js → post-tab-panel-70e49260.js} +2 -2
- package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/{post-tabs-092790e4.js → post-tabs-39262e55.js} +2 -2
- package/dist/cjs/post-tabs.cjs.entry.js +2 -2
- package/dist/cjs/{post-tag-389a43f7.js → post-tag-b6bc5785.js} +2 -2
- package/dist/cjs/post-tag.cjs.entry.js +2 -2
- package/dist/cjs/post-togglebutton-2f39442e.js +28 -0
- package/dist/cjs/post-togglebutton.cjs.entry.js +11 -0
- package/dist/cjs/{post-tooltip-c42d6853.js → post-tooltip-8be3b2aa.js} +28 -16
- package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/post-card-control/post-card-control.css +1 -1
- package/dist/collection/components/post-header/post-header.js +1 -1
- package/dist/collection/components/post-icon/post-icon.css +1 -1
- package/dist/collection/components/post-icon/post-icon.js +20 -31
- package/dist/collection/components/post-language-option/post-language-option.js +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.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-item/post-menu-item.js +1 -1
- package/dist/collection/components/post-menu-trigger/post-menu-trigger.js +1 -1
- package/dist/collection/components/post-popover/post-popover.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-tab-header/post-tab-header.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 +1 -1
- package/dist/collection/components/post-tag/post-tag.js +1 -1
- package/dist/collection/components/post-togglebutton/post-togglebutton.css +1 -0
- package/dist/collection/components/post-togglebutton/post-togglebutton.js +56 -0
- package/dist/collection/components/post-tooltip/post-tooltip.js +28 -12
- package/dist/collection/index.js +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/package.js +1 -1
- package/dist/components/post-card-control2.js +1 -1
- package/dist/components/post-header2.js +1 -1
- package/dist/components/post-icon2.js +22 -29
- package/dist/components/post-language-option2.js +1 -1
- package/dist/components/post-list-item2.js +1 -1
- package/dist/components/post-list2.js +1 -1
- package/dist/components/post-logo2.js +1 -1
- package/dist/components/post-mainnavigation2.js +1 -1
- package/dist/components/post-megadropdown-trigger2.js +1 -1
- package/dist/components/post-megadropdown2.js +1 -1
- package/dist/components/post-menu-item2.js +1 -1
- package/dist/components/post-menu-trigger2.js +1 -1
- package/dist/components/post-menu2.js +1 -1
- package/dist/components/post-popover2.js +1 -1
- package/dist/components/post-popovercontainer2.js +2 -2
- package/dist/components/post-rating2.js +1 -1
- package/dist/components/post-tab-header2.js +1 -1
- package/dist/components/post-tab-panel2.js +1 -1
- package/dist/components/post-tabs2.js +1 -1
- package/dist/components/post-tag2.js +1 -1
- package/dist/components/post-togglebutton.d.ts +11 -0
- package/dist/components/post-togglebutton.js +6 -0
- package/dist/components/post-togglebutton2.js +43 -0
- package/dist/components/post-tooltip2.js +27 -15
- package/dist/docs.json +61 -1
- package/dist/esm/index-e1b64755.js +4 -0
- package/dist/esm/index.js +21 -20
- package/dist/esm/loader.js +1 -1
- package/dist/esm/package-180da9f3.js +3 -0
- package/dist/esm/{post-accordion-c833c272.js → post-accordion-7268e29b.js} +1 -1
- package/dist/esm/{post-accordion-item-19fb4776.js → post-accordion-item-a5a76abb.js} +1 -1
- package/dist/esm/post-accordion-item.entry.js +2 -2
- package/dist/esm/post-accordion.entry.js +2 -2
- package/dist/esm/{post-avatar-f43ebc89.js → post-avatar-19162f90.js} +1 -1
- package/dist/esm/post-avatar.entry.js +2 -2
- package/dist/esm/{post-banner-cf6f756b.js → post-banner-132709ad.js} +1 -1
- package/dist/esm/post-banner.entry.js +2 -2
- package/dist/esm/{post-breadcrumb-item-a93b91a7.js → post-breadcrumb-item-5a77f988.js} +1 -1
- package/dist/esm/post-breadcrumb-item.entry.js +2 -2
- package/dist/esm/post-card-control-5be9c80a.js +270 -0
- package/dist/esm/post-card-control.entry.js +2 -2
- package/dist/esm/post-closebutton_10.entry.js +2 -2
- package/dist/esm/{post-collapsible-trigger-7b3d0fd3.js → post-collapsible-trigger-43fbbf03.js} +1 -1
- package/dist/esm/post-collapsible_2.entry.js +2 -2
- package/dist/esm/post-components.js +1 -1
- package/dist/esm/{post-language-option-05f53f6f.js → post-language-option-f41240c3.js} +2 -2
- package/dist/esm/post-language-option.entry.js +2 -2
- package/dist/esm/{post-megadropdown-trigger-3112a42b.js → post-megadropdown-trigger-813b5140.js} +31 -36
- package/dist/esm/{post-menu-05396ff7.js → post-menu-62c3e49a.js} +2 -2
- package/dist/esm/{post-menu-item-bbbb6a7e.js → post-menu-item-f63a1521.js} +2 -2
- package/dist/esm/post-menu-item.entry.js +2 -2
- package/dist/esm/{post-menu-trigger-f9f4d299.js → post-menu-trigger-b84f728d.js} +2 -2
- package/dist/esm/post-menu-trigger.entry.js +2 -2
- package/dist/esm/post-menu.entry.js +2 -2
- package/dist/esm/{post-popover-1ae328eb.js → post-popover-abae1f3a.js} +2 -2
- package/dist/esm/post-popover.entry.js +2 -2
- package/dist/esm/{post-rating-75171e3a.js → post-rating-b963d4f2.js} +2 -2
- package/dist/esm/post-rating.entry.js +2 -2
- package/dist/esm/{post-tab-header-d4d40b0e.js → post-tab-header-c16feb72.js} +2 -2
- package/dist/esm/post-tab-header.entry.js +2 -2
- package/dist/esm/{post-tab-panel-79b42d3e.js → post-tab-panel-cb02df49.js} +2 -2
- package/dist/esm/post-tab-panel.entry.js +2 -2
- package/dist/esm/{post-tabs-4d880ed8.js → post-tabs-81085d7b.js} +2 -2
- package/dist/esm/post-tabs.entry.js +2 -2
- package/dist/esm/{post-tag-bf91d0a7.js → post-tag-103bfff5.js} +2 -2
- package/dist/esm/post-tag.entry.js +2 -2
- package/dist/esm/post-togglebutton-0e714838.js +26 -0
- package/dist/esm/post-togglebutton.entry.js +3 -0
- package/dist/esm/{post-tooltip-7aa14f94.js → post-tooltip-2c5ff736.js} +28 -16
- package/dist/esm/post-tooltip.entry.js +2 -2
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-06980a04.js +1 -0
- package/dist/post-components/p-0af7dfbb.js +1 -0
- package/dist/post-components/{p-314c1090.js → p-0f699dbc.js} +1 -1
- package/dist/post-components/p-12262945.entry.js +1 -0
- package/dist/post-components/p-2504dace.entry.js +1 -0
- package/dist/post-components/p-27343d32.entry.js +1 -0
- package/dist/post-components/{p-c6ac2e45.js → p-2a456317.js} +1 -1
- package/dist/post-components/{p-b8d230eb.js → p-2c3980d2.js} +1 -1
- package/dist/post-components/{p-4cb59994.js → p-31d38040.js} +1 -1
- package/dist/post-components/{p-7175208c.entry.js → p-339e000e.entry.js} +1 -1
- package/dist/post-components/p-3b325360.entry.js +1 -0
- package/dist/post-components/{p-9d94bf34.js → p-3e65ba47.js} +1 -1
- package/dist/post-components/p-3f417208.entry.js +1 -0
- package/dist/post-components/p-4922deaf.entry.js +1 -0
- package/dist/post-components/p-6c7546b8.entry.js +1 -0
- package/dist/post-components/{p-4cca12fe.js → p-6f56a13d.js} +3 -3
- package/dist/post-components/p-7eee2b6a.js +1 -0
- package/dist/post-components/{p-3b3b57d0.entry.js → p-816623f0.entry.js} +1 -1
- package/dist/post-components/p-83cd3885.entry.js +1 -0
- package/dist/post-components/{p-4ac02dc1.js → p-8b6f7f04.js} +1 -1
- package/dist/post-components/{p-4221fd16.js → p-9abe554b.js} +1 -1
- package/dist/post-components/p-9ea6103e.entry.js +1 -0
- package/dist/post-components/p-a0a7c2c1.entry.js +1 -0
- package/dist/post-components/p-abf9ffdc.entry.js +1 -0
- package/dist/post-components/p-b4a2c7b7.entry.js +1 -0
- package/dist/post-components/{p-ed12b51d.js → p-b7ef401f.js} +1 -1
- package/dist/post-components/p-b8a9cf2d.js +1 -0
- package/dist/post-components/{p-cf298c46.js → p-bb103905.js} +1 -1
- package/dist/post-components/{p-d7c37aca.js → p-c819933c.js} +1 -1
- package/dist/post-components/p-ccd8a221.entry.js +1 -0
- package/dist/post-components/p-cfc1727f.entry.js +1 -0
- package/dist/post-components/{p-cd06fab9.js → p-d4465c2b.js} +1 -1
- package/dist/post-components/{p-476a6342.js → p-d4cef624.js} +1 -1
- package/dist/post-components/p-da449573.js +1 -0
- package/dist/post-components/p-df5bdda5.entry.js +1 -0
- package/dist/post-components/{p-7a887455.js → p-ed834dde.js} +1 -1
- package/dist/post-components/p-f1416918.entry.js +1 -0
- package/dist/post-components/p-f171b18b.entry.js +1 -0
- package/dist/post-components/p-f4dbd35f.entry.js +1 -0
- package/dist/post-components/p-f6b44820.js +1 -0
- package/dist/post-components/{p-71eb2dc7.js → p-fa7af203.js} +1 -1
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-icon/post-icon.d.ts +2 -5
- package/dist/types/components/post-togglebutton/post-togglebutton.d.ts +13 -0
- package/dist/types/components.d.ts +21 -0
- package/dist/types/index.d.ts +1 -0
- package/loaders/index.d.ts +2 -0
- package/loaders/index.js +1 -0
- package/loaders/package.js +1 -1
- package/loaders/post-card-control.js +1 -1
- package/loaders/post-header.js +1 -1
- package/loaders/post-icon2.js +22 -29
- package/loaders/post-language-option.js +1 -1
- package/loaders/post-list-item.js +1 -1
- package/loaders/post-list.js +1 -1
- package/loaders/post-logo.js +1 -1
- package/loaders/post-mainnavigation.js +1 -1
- package/loaders/post-megadropdown-trigger.js +1 -1
- package/loaders/post-megadropdown.js +1 -1
- package/loaders/post-menu-item.js +1 -1
- package/loaders/post-menu-trigger.js +1 -1
- package/loaders/post-menu.js +1 -1
- package/loaders/post-popover.js +1 -1
- package/loaders/post-popovercontainer2.js +2 -2
- package/loaders/post-rating.js +1 -1
- package/loaders/post-tab-header.js +1 -1
- package/loaders/post-tab-panel.js +1 -1
- package/loaders/post-tabs.js +1 -1
- package/loaders/post-tag.js +1 -1
- package/loaders/post-togglebutton.d.ts +11 -0
- package/loaders/post-togglebutton.js +46 -0
- package/loaders/post-tooltip.js +27 -15
- package/package.json +3 -3
- package/dist/cjs/post-card-control-7d3c5545.js +0 -272
- package/dist/esm/package-c65b0409.js +0 -3
- package/dist/esm/post-card-control-017fb9b2.js +0 -270
- package/dist/post-components/p-34e5b9da.entry.js +0 -1
- package/dist/post-components/p-3899ed87.js +0 -1
- package/dist/post-components/p-470eb29c.js +0 -1
- package/dist/post-components/p-499f3c12.entry.js +0 -1
- package/dist/post-components/p-56bd7eb7.entry.js +0 -1
- package/dist/post-components/p-61b27b51.entry.js +0 -1
- package/dist/post-components/p-6e37b9bf.entry.js +0 -1
- package/dist/post-components/p-7391daa3.entry.js +0 -1
- package/dist/post-components/p-73a5b344.js +0 -1
- package/dist/post-components/p-7a995b7e.entry.js +0 -1
- package/dist/post-components/p-888ab913.entry.js +0 -1
- package/dist/post-components/p-8927a8e4.entry.js +0 -1
- package/dist/post-components/p-8fb11b22.entry.js +0 -1
- package/dist/post-components/p-916ec6d5.entry.js +0 -1
- package/dist/post-components/p-98d8ba01.js +0 -1
- package/dist/post-components/p-a1a1b679.entry.js +0 -1
- package/dist/post-components/p-a87d8337.entry.js +0 -1
- package/dist/post-components/p-ab0556af.entry.js +0 -1
- package/dist/post-components/p-c94a2ae1.entry.js +0 -1
- package/dist/post-components/p-d2938e9a.entry.js +0 -1
- package/dist/post-components/p-d6ac46af.js +0 -1
- package/dist/post-components/p-dddc70f6.entry.js +0 -1
package/dist/esm/{post-megadropdown-trigger-3112a42b.js → post-megadropdown-trigger-813b5140.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-180da9f3.js';
|
|
3
3
|
import { c as checkEmptyOrOneOf, d as checkEmptyOrType, b as checkEmptyOrUrl } from './index-f8a00dc0.js';
|
|
4
4
|
import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
|
|
5
5
|
import { c as checkType } from './check-type-8828dbe4.js';
|
|
@@ -14,7 +14,7 @@ const PostClosebutton = class {
|
|
|
14
14
|
get host() { return getElement(this); }
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
const postIconCss = ":host{display:inline-block;width:1em;height:1em;vertical-align:-0.15em}
|
|
17
|
+
const postIconCss = ":host{container-name:post-icon;container-type:inline-size;display:inline-block;width:1em;height:1em;vertical-align:-0.15em}svg{display:block;width:100%;height:100%;fill:currentColor;forced-color-adjust:preserve-parent-color}@container post-icon (max-width: 23.98px){svg{--pis-16: block}}@container post-icon (min-width: 24px) and (max-width: 31.98px){svg{--pis-24: block}}@container post-icon (min-width: 32px) and (max-width: 39.98px){svg{--pis-32: block}}@container post-icon (min-width: 40px) and (max-width: 47.98px){svg{--pis-40: block}}@container post-icon (min-width: 48px) and (max-width: 63.98px){svg{--pis-48: block}}@container post-icon (min-width: 64px){svg{--pis-64: block}}:host([flip-h]:not([flip-h=false])){scale:-1 1}:host([flip-v]:not([flip-v=false])){scale:1 -1}:host([flip-h][flip-v]:not([flip-h=false],[flip-v=false])){scale:-1}:host([animation]){transform-origin:center}:host([animation=cylon]){animation:icon-animation-cylon .75s ease-in-out infinite alternate}:host([animation=cylon-vertical]){animation:icon-animation-cylon-vertical .75s ease-in-out infinite alternate}:host([animation=spin]){animation:icon-animation-spin 2s linear infinite normal}:host([animation=spin-reverse]){animation:icon-animation-spin 2s linear infinite reverse}:host([animation=fade]){animation:icon-animation-fade .75s ease-in-out infinite alternate}:host([animation=throb]){animation:icon-animation-throb .75s ease-in-out infinite alternate}@keyframes icon-animation-cylon{from{transform:translateX(-25%)}to{transform:translateX(25%)}}@keyframes icon-animation-cylon-vertical{from{transform:translateY(25%)}to{transform:translateY(-25%)}}@keyframes icon-animation-fade{from{opacity:.1}to{opacity:1}}@keyframes icon-animation-spin{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes icon-animation-throb{from{opacity:.5;transform:scale(0.5)}to{opacity:1;transform:scale(1)}}";
|
|
18
18
|
const PostIconStyle0 = postIconCss;
|
|
19
19
|
|
|
20
20
|
const CDN_URL = 'https://unpkg.com/@swisspost/design-system-icons/public/post-icons';
|
|
@@ -30,8 +30,6 @@ const ANIMATION_KEYS = [...ANIMATION_NAMES];
|
|
|
30
30
|
const PostIcon = class {
|
|
31
31
|
constructor(hostRef) {
|
|
32
32
|
registerInstance(this, hostRef);
|
|
33
|
-
this.svgStyles = undefined;
|
|
34
|
-
this.svgOutput = undefined;
|
|
35
33
|
this.animation = null;
|
|
36
34
|
this.base = null;
|
|
37
35
|
this.flipH = false;
|
|
@@ -63,6 +61,25 @@ const PostIcon = class {
|
|
|
63
61
|
validateScale(newValue = this.scale) {
|
|
64
62
|
checkEmptyOrType(newValue, 'number', 'The post-icon "scale" prop should be a number.');
|
|
65
63
|
}
|
|
64
|
+
getPath() {
|
|
65
|
+
var _a, _b, _c, _d, _e, _f;
|
|
66
|
+
// Construct icon path from different possible sources
|
|
67
|
+
const metaBase = (_b = (_a = document.head
|
|
68
|
+
.querySelector('meta[name="design-system-settings"][data-post-icon-base]')) === null || _a === void 0 ? void 0 : _a.getAttribute('data-post-icon-base')) !== null && _b !== void 0 ? _b : null;
|
|
69
|
+
const baseHref = (_c = document.getElementsByTagName('base')[0]) === null || _c === void 0 ? void 0 : _c.href;
|
|
70
|
+
const fileBase = `${(_f = (_e = (_d = this.base) !== null && _d !== void 0 ? _d : metaBase) !== null && _e !== void 0 ? _e : baseHref) !== null && _f !== void 0 ? _f : CDN_URL}/`.replace(/\/\/$/, '/');
|
|
71
|
+
const fileName = `${this.name}.svg#i-${this.name}`;
|
|
72
|
+
const filePath = `${fileBase}${fileName}`;
|
|
73
|
+
return new URL(filePath, window.location.origin).toString();
|
|
74
|
+
}
|
|
75
|
+
getStyles() {
|
|
76
|
+
return Object.entries({
|
|
77
|
+
transform: (this.scale && !isNaN(Number(this.scale)) ? 'scale(' + this.scale + ')' : '') +
|
|
78
|
+
(this.rotate && !isNaN(Number(this.rotate)) ? ' rotate(' + this.rotate + 'deg)' : ''),
|
|
79
|
+
})
|
|
80
|
+
.filter(([_key, value]) => value !== null)
|
|
81
|
+
.reduce((styles, [key, value]) => Object.assign(styles, { [key]: value }), {});
|
|
82
|
+
}
|
|
66
83
|
componentDidLoad() {
|
|
67
84
|
this.validateBase();
|
|
68
85
|
this.validateName();
|
|
@@ -72,30 +89,8 @@ const PostIcon = class {
|
|
|
72
89
|
this.validateRotate();
|
|
73
90
|
this.validateAnimation();
|
|
74
91
|
}
|
|
75
|
-
componentWillRender() {
|
|
76
|
-
this.setPath();
|
|
77
|
-
}
|
|
78
|
-
setPath() {
|
|
79
|
-
var _a, _b, _c, _d;
|
|
80
|
-
// Construct icon path from different possible sources
|
|
81
|
-
const metaBase = (_b = (_a = document.head
|
|
82
|
-
.querySelector('meta[name="design-system-settings"][data-post-icon-base]')) === null || _a === void 0 ? void 0 : _a.getAttribute('data-post-icon-base')) !== null && _b !== void 0 ? _b : null;
|
|
83
|
-
const fileBase = `${(_d = (_c = this.base) !== null && _c !== void 0 ? _c : metaBase) !== null && _d !== void 0 ? _d : CDN_URL}/`.replace(/\/\/$/, '/');
|
|
84
|
-
const fileName = `${this.name}.svg`;
|
|
85
|
-
const filePath = `${fileBase}${fileName}`;
|
|
86
|
-
this.path = new URL(filePath, window.location.origin).toString();
|
|
87
|
-
}
|
|
88
92
|
render() {
|
|
89
|
-
|
|
90
|
-
const svgStyles = Object.entries({
|
|
91
|
-
'-webkit-mask-image': `url('${this.path}')`,
|
|
92
|
-
'mask-image': `url('${this.path}')`,
|
|
93
|
-
'transform': (this.scale && !isNaN(Number(this.scale)) ? 'scale(' + this.scale + ')' : '') +
|
|
94
|
-
(this.rotate && !isNaN(Number(this.rotate)) ? ' rotate(' + this.rotate + 'deg)' : ''),
|
|
95
|
-
})
|
|
96
|
-
.filter(([_key, value]) => value !== null)
|
|
97
|
-
.reduce((styles, [key, value]) => Object.assign(styles, { [key]: value }), {});
|
|
98
|
-
return (h(Host, { key: '86c61ac92270e1b46ef63e2bb0ff4683a16ca794', "data-version": version }, h("span", { key: 'ad856363b96d303912c9085d9d45cb911cbedfc6', style: svgStyles })));
|
|
93
|
+
return (h(Host, { key: '34a48ba95a05ab98ccbd7d5c59423f8f261c2a77', "data-version": version }, h("svg", { key: '34a70353c83fba4b8606ee4516cda7982c042ea2', style: this.getStyles() }, h("use", { key: '3241328a9e9b1f7929d79fff89725d98e5e162a0', href: this.getPath() }))));
|
|
99
94
|
}
|
|
100
95
|
get host() { return getElement(this); }
|
|
101
96
|
static get watchers() { return {
|
|
@@ -133,7 +128,7 @@ const PostLogo = class {
|
|
|
133
128
|
render() {
|
|
134
129
|
const logoLink = this.url && (typeof this.url === 'string' ? this.url : this.url.href);
|
|
135
130
|
const LogoTag = logoLink ? 'a' : 'span';
|
|
136
|
-
return (h(Host, { key: '
|
|
131
|
+
return (h(Host, { key: 'd3dd408c30b4e22712b9a293906c7334e7d1852b', "data-version": version, slot: "post-logo" }, h(LogoTag, Object.assign({ key: '4eb08a4d1b4a0ec2557b63678225a16d287c692c', class: "logo" }, (logoLink ? { href: logoLink } : {})), h("span", { key: 'ab3b1a8da4a7b87aa0a020d47586a7018619e9c3', class: "description" }, h("slot", { key: 'a9c39b1f2f54fd4ceb79a82ab30571c161a29adb', onSlotchange: () => this.checkDescription() })), h("svg", { key: 'af4c3fbdb2a72e0b8518a6c16cefdb795f41244c', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", "aria-hidden": "true" }, h("g", { key: '05e25c1522dd4edfc676b04cf9092ed519d95381', id: "Logo" }, h("rect", { key: '12e1b7878e990e110c8ae83ef742bb6fa4c48a2f', fill: "#ffcc00", x: "0", y: "0", width: "72", height: "72" }), h("polygon", { key: '0e1120c70769c4a23b3711c1157e6f1742e3a75b', 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: 'ccc271be1919898fc6eed78bf2e012e71dd96c48', 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" }))))));
|
|
137
132
|
}
|
|
138
133
|
get host() { return getElement(this); }
|
|
139
134
|
static get watchers() { return {
|
|
@@ -2316,9 +2311,9 @@ const PostPopovercontainer = class {
|
|
|
2316
2311
|
}
|
|
2317
2312
|
}
|
|
2318
2313
|
render() {
|
|
2319
|
-
return (h(Host, { key: '
|
|
2314
|
+
return (h(Host, { key: '11e3be5293791aa58da291f2a0f17677ad0e0e63', "data-version": version }, this.arrow && (h("span", { key: '00d76dcd41bf267bb50290ae439c49333ade68b3', class: "arrow", ref: el => {
|
|
2320
2315
|
this.arrowRef = el;
|
|
2321
|
-
} })), h("slot", { key: '
|
|
2316
|
+
} })), h("slot", { key: '7c579254fc1b76c91ddecf0952945339cf5bc7fd' })));
|
|
2322
2317
|
}
|
|
2323
2318
|
get host() { return getElement(this); }
|
|
2324
2319
|
};
|
|
@@ -2349,7 +2344,7 @@ const PostList = class {
|
|
|
2349
2344
|
}
|
|
2350
2345
|
}
|
|
2351
2346
|
render() {
|
|
2352
|
-
return (h(Host, { key: '
|
|
2347
|
+
return (h(Host, { key: '7126a864e6c4d8152c9024bd8d390514bc8c0b7a', "data-version": version }, h("div", { key: 'c3f56a0e41146dc5dbd2c3fc165152e05953956f', ref: el => (this.titleEl = el), id: this.titleId, class: `list-title${this.titleHidden ? ' visually-hidden' : ''}` }, h("slot", { key: '3de0cd83b48ef3a3201f854842781ccba9bedf29' })), h("div", { key: '4b8a4ac0a9c89451a408cc8de814878dc8da11b7', role: "list", "aria-labelledby": this.titleId }, h("slot", { key: '474d87804fc39241a0f3541a82bdfbe1491a4452', name: "post-list-item" }))));
|
|
2353
2348
|
}
|
|
2354
2349
|
get host() { return getElement(this); }
|
|
2355
2350
|
};
|
|
@@ -2366,7 +2361,7 @@ const PostListItem = class {
|
|
|
2366
2361
|
this.host.setAttribute('slot', 'post-list-item');
|
|
2367
2362
|
}
|
|
2368
2363
|
render() {
|
|
2369
|
-
return (h(Host, { key: '
|
|
2364
|
+
return (h(Host, { key: '25532c40e8f02f335df6b112041cbaf6056576b6', role: "listitem" }, h("slot", { key: '46ddc9e27c71040b271ab6bd59db2ac37fa4a112' })));
|
|
2370
2365
|
}
|
|
2371
2366
|
get host() { return getElement(this); }
|
|
2372
2367
|
};
|
|
@@ -2579,7 +2574,7 @@ const PostHeader = class {
|
|
|
2579
2574
|
if (this.mobileMenuExtended) {
|
|
2580
2575
|
mainNavClasses.push('extended');
|
|
2581
2576
|
}
|
|
2582
|
-
return (h(Host, { key: '
|
|
2577
|
+
return (h(Host, { key: '85b0f7c1d14b96947497cc6d1cdf059430eb9ab6', version: version }, h("div", { key: '740ed42365e2e71215d4b8174cf98d8f8385fe9a', class: "global-header" }, h("div", { key: '0a0b0a3bdb527c6988992e23a3401f9c51b02d51', class: "global-sub" }, h("div", { key: '983bc0dacdc9f7f96a8aefdd3e17f31d0fbe1ef8', class: "logo" }, h("slot", { key: 'e9b97b26cfdbe836147493c50a98986791d8ce85', name: "post-logo" })), this.device === 'desktop' && h("slot", { key: '8a6d9c3c9d3f72de6d9ef0dbd2ecde3fd4982de6', name: "audience-navigation" })), h("div", { key: 'a85add260edc38024612e7bc1f2e7d19a2b11fdf', class: "global-sub" }, this.device === 'desktop' && h("slot", { key: 'ffac0efc9078819711471067b6a85feaa807c9c9', name: "meta-navigation" }), h("slot", { key: 'c8270ebb6c57bbba4db4e2799e69e33ea0a2c094', name: "global-controls" }), this.device === 'desktop' && h("slot", { key: 'ac209cb8acd66dcaeb300c17994f0bae201cc0f8', name: "post-language-switch" }), h("div", { key: '210a5220eb97155138422a032a850d13992ac9a2', onClick: () => this.handleMobileMenuToggle(), class: "mobile-toggle" }, h("slot", { key: '42fb06418bc617252c80bab4ae64c64a74265723', name: "post-togglebutton" })))), h("div", { key: '62e1859020d65a54b86d53882a4452f6005589e9', class: "title-header d-flex space-between align-center" }, h("slot", { key: 'b285ac31f54fb3011813aab9f7c8ae1e9d64e8c2', name: "title" }), h("div", { key: 'b529d4b6d01bc39c9344bd2ed15f698d0637fe35', class: "global-sub" }, h("slot", { key: 'da20b42e70bd715c89ef4e6c7419f115bb1bfb45', name: "local-controls" }), h("slot", { key: 'd27c3b97b6597df51811913c74ae2ec157939563' }))), h("div", { key: '7d80d02dd4794598828d6c05779714d874818bbe', class: mainNavClasses.join(' ') }, (this.device === 'mobile' || this.device === 'tablet') && (h("slot", { key: 'dc02044dec14c3b716dd20209c5fb775d75d583f', name: "audience-navigation" })), h("slot", { key: '3f5a09fb4f69bb21924db2e236d554036a559d54', name: "post-mainnavigation" }), (this.device === 'mobile' || this.device === 'tablet') && (h("slot", { key: 'f50c0ce8631109041c25200c4e4b3f57502cf434', name: "meta-navigation" })), (this.device === 'mobile' || this.device === 'tablet') && (h("slot", { key: 'fc87fa82fd01021eb629bacc168f2d0a537409eb', name: "post-language-switch" })))));
|
|
2583
2578
|
}
|
|
2584
2579
|
get host() { return getElement(this); }
|
|
2585
2580
|
};
|
|
@@ -2611,7 +2606,7 @@ const PostMainnavigation = class {
|
|
|
2611
2606
|
this.postToggle.emit();
|
|
2612
2607
|
}
|
|
2613
2608
|
render() {
|
|
2614
|
-
return (h(Host, { key: '
|
|
2609
|
+
return (h(Host, { key: '5006fede681cf581b878c84fd1a6b7fe4830cbd2', slot: "post-mainnavigation" }, h("div", { key: 'a2273bab074eac3f9197961b935c3ba19ecbbb21', onClick: () => this.handleBackButtonClick(), class: "back-button" }, h("slot", { key: 'c42751bee76cecbb076bb227bd0ffcc634b354a2', name: "back-button" })), h("nav", { key: '89541b5efc3500a8feec250a3d10402ea4b1a3a2', class: "main-navigation" }, h("slot", { key: 'f5f5a030325e701aaaca13747131b1f1fa10e849' }))));
|
|
2615
2610
|
}
|
|
2616
2611
|
};
|
|
2617
2612
|
PostMainnavigation.style = PostMainnavigationStyle0;
|
|
@@ -2651,7 +2646,7 @@ const PostMegadropdown = class {
|
|
|
2651
2646
|
this.hide();
|
|
2652
2647
|
}
|
|
2653
2648
|
render() {
|
|
2654
|
-
return (h(Host, { key: '
|
|
2649
|
+
return (h(Host, { key: '96d71da6b3cfcd8980d7e60cb383d545c754d7b3', slot: "post-mainnavigation" }, h("post-popovercontainer", { key: 'ec27bcdae9da77299d59d8869be60c08816eef85', placement: "bottom", "edge-gap": "0", ref: el => (this.popoverRef = el) }, h("div", { key: '0b97d183a5fad18401aa876cf19d3975a1757d18', class: "megadropdown" }, h("div", { key: '4eb9715d7cf88898dddae702f71d430f1e3810af', onClick: () => this.handleBackButtonClick(), class: "back-button" }, h("slot", { key: 'a21d4b50b1d04211ecfb5d0b145452a6bbae0ae0', name: "back-button" })), h("slot", { key: '5a4dd77f0f91bf6a61ef1cf9bdd4371875a52d2e' })))));
|
|
2655
2650
|
}
|
|
2656
2651
|
};
|
|
2657
2652
|
PostMegadropdown.style = PostMegadropdownStyle0;
|
|
@@ -2670,7 +2665,7 @@ const PostMegadropdownTrigger = class {
|
|
|
2670
2665
|
this.postToggle.emit();
|
|
2671
2666
|
}
|
|
2672
2667
|
render() {
|
|
2673
|
-
return (h(Host, { key: '
|
|
2668
|
+
return (h(Host, { key: '0b3de3d7d035e7427ff55d5818ce89f3cadd3c57', slot: "post-megadropdown-trigger" }, h("button", { key: '6e5ea2515fcafbf9ed4ea4f0532f85f6c044f2a5', "aria-expanded": this.toggled, onClick: () => this.handleClick() }, h("slot", { key: '60daae26758894fea7576d696d9325fa61f3cc31' }))));
|
|
2674
2669
|
}
|
|
2675
2670
|
};
|
|
2676
2671
|
PostMegadropdownTrigger.style = PostMegadropdownTriggerStyle0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-180da9f3.js';
|
|
3
3
|
|
|
4
4
|
const focusableSelector = `:where(${[
|
|
5
5
|
'button',
|
|
@@ -165,7 +165,7 @@ const PostMenu = class {
|
|
|
165
165
|
return menuItems;
|
|
166
166
|
}
|
|
167
167
|
render() {
|
|
168
|
-
return (h(Host, { key: '
|
|
168
|
+
return (h(Host, { key: '80720b7f1d029833de466c84c9fe931460a5b9b1', "data-version": version }, h("post-popovercontainer", { key: 'b1e610ad0c0f33a09ac3fee5954567e957653e76', placement: this.placement, ref: e => (this.popoverRef = e) }, h("div", { key: 'a9cd7f6efcd762b548acb7c8d3bf614ccdedd504', class: "popover-container" }, h("slot", { key: 'e278c4020b70c8bd5f6a1e4a3ac8cbaf37f2b786' })))));
|
|
169
169
|
}
|
|
170
170
|
get host() { return getElement(this); }
|
|
171
171
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-180da9f3.js';
|
|
3
3
|
|
|
4
4
|
const postMenuItemCss = ":host{display:block}";
|
|
5
5
|
const PostMenuItemStyle0 = postMenuItemCss;
|
|
@@ -9,7 +9,7 @@ const PostMenuItem = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '48720f09bc2ab4a979d215f590dcb80e39422e46', role: "menuitem", "data-version": version }, h("slot", { key: '5a0c1aeb2c96a02c2e4567d3e1e83fd6e3a3aace' })));
|
|
13
13
|
}
|
|
14
14
|
get host() { return getElement(this); }
|
|
15
15
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { P as post_menu_item } from './post-menu-item-
|
|
1
|
+
export { P as post_menu_item } from './post-menu-item-f63a1521.js';
|
|
2
2
|
import './index-e1b64755.js';
|
|
3
|
-
import './package-
|
|
3
|
+
import './package-180da9f3.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-180da9f3.js';
|
|
3
3
|
import { c as checkType } from './check-type-8828dbe4.js';
|
|
4
4
|
import { g as getRoot } from './get-root-7af2e0d1.js';
|
|
5
5
|
|
|
@@ -61,7 +61,7 @@ const PostMenuTrigger = class {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(Host, { key: '
|
|
64
|
+
return (h(Host, { key: '5c07c2a808f5048b870d77f1f65d84bc2007431f', "data-version": version, "tab-index": "-1" }, h("slot", { key: 'ab779f01983e2c88f09707ab8b12eb326ac6946b' })));
|
|
65
65
|
}
|
|
66
66
|
get host() { return getElement(this); }
|
|
67
67
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { P as post_menu_trigger } from './post-menu-trigger-
|
|
1
|
+
export { P as post_menu_trigger } from './post-menu-trigger-b84f728d.js';
|
|
2
2
|
import './index-e1b64755.js';
|
|
3
|
-
import './package-
|
|
3
|
+
import './package-180da9f3.js';
|
|
4
4
|
import './check-type-8828dbe4.js';
|
|
5
5
|
import './get-root-7af2e0d1.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { P as post_menu } from './post-menu-
|
|
1
|
+
export { P as post_menu } from './post-menu-62c3e49a.js';
|
|
2
2
|
import './index-e1b64755.js';
|
|
3
|
-
import './package-
|
|
3
|
+
import './package-180da9f3.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-180da9f3.js';
|
|
3
3
|
import { g as getAttributeObserver } from './attribute-observer-37fa950a.js';
|
|
4
4
|
|
|
5
5
|
const postPopoverCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.btn-close{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button;border-radius:var(--post-device-border-radius-round);color:#000;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}.btn-close{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}.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.btn-close::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:\"\";display:block;height:1.5rem;width:1.5rem}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:#000}.btn-close:disabled{color:var(--post-gray-40)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{color:CanvasText;forced-color-adjust:none}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:Highlight}}.btn-close-white{color:#e6e6e6}.btn-close-white:focus,.btn-close-white:not(:disabled):hover,.btn-close-white.pretend-hover{color:#fff}.btn-close-white:disabled{color:#999}*{box-sizing:border-box}:host{--post-contrast-color:#fff;--post-bg-rgb:51, 51, 51;display:block}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}.popover-container{display:flex;align-items:self-start;padding:.5em;min-width:160px;max-width:280px;max-width:100%}.popover-content{padding:.5em;flex-grow:1}.btn-close{color:inherit}";
|
|
@@ -93,7 +93,7 @@ const PostPopover = class {
|
|
|
93
93
|
this.triggers.forEach(trigger => trigger.setAttribute('aria-expanded', 'false'));
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
return (h(Host, { key: 'e716f0b45da8a21c43afba019dbf84a87bc49fab', "data-version": version }, h("post-popovercontainer", { key: '530ffbd07a0f2b2edc26db0c5667c9de372edf01', arrow: this.arrow, placement: this.placement, ref: e => (this.popoverRef = e) }, h("div", { key: '4d7420876786f835aef9decf92030651f5117f52', class: "popover-container" }, h("div", { key: 'e557e3e1f4566fc81b1255ef628e7c58d59fc596', class: "popover-content" }, h("slot", { key: 'ea5e3407ec41868471d388a02cb8a4ba32889d6c' })), h("button", { key: 'af21850867d713f7c5a825d4ac824b12ce40f3e7', class: "btn-close", onClick: () => this.hide() }, h("span", { key: 'b2f85d5efd0fd424448efa73ee9ad07c5bab2947', class: "visually-hidden" }, this.closeButtonCaption))))));
|
|
97
97
|
}
|
|
98
98
|
get host() { return getElement(this); }
|
|
99
99
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { P as post_popover } from './post-popover-
|
|
1
|
+
export { P as post_popover } from './post-popover-abae1f3a.js';
|
|
2
2
|
import './index-e1b64755.js';
|
|
3
|
-
import './package-
|
|
3
|
+
import './package-180da9f3.js';
|
|
4
4
|
import './attribute-observer-37fa950a.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-180da9f3.js';
|
|
3
3
|
|
|
4
4
|
const postRatingCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:inline-block}.rating{display:flex;flex-wrap:wrap;overflow:hidden;margin:0 -0.25rem;border-radius:4px}.rating .star{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fff;position:relative;width:2rem;height:2rem;cursor:pointer}.rating .star .stroke,.rating .star .fill{display:block;width:100%;height:100%;transition:all ease 100ms}.rating .star .stroke{position:absolute;inset:auto;z-index:1;color:var(--post-rating-star-stroke)}.rating .star .fill{margin:1px;width:calc(100% - 2px);height:calc(100% - 2px);color:var(--post-rating-star-fill)}.rating .star.before-hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.active{--post-rating-star-stroke:hsl(0, 0%, 20%);--post-rating-star-fill:#fc0}.rating .star.hover{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:#fc0}.rating .star.after-active{--post-rating-star-stroke:hsl(0, 0%, 40%);--post-rating-star-fill:hsl(0, 0%, 80%)}.rating :focus{outline:none}.rating:focus-visible{outline-offset:2px;outline:2px solid #1976c8}.rating[aria-readonly=true] .star,.rating[aria-disabled=true] .star{cursor:default}.rating[aria-disabled=true] .star{--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:#fff}.rating[aria-disabled=true] .star.active{cursor:default;--post-rating-star-stroke:hsl(0, 0%, 60%);--post-rating-star-fill:hsl(0, 0%, 90%)}";
|
|
5
5
|
const PostRatingStyle0 = postRatingCss;
|
|
@@ -71,7 +71,7 @@ const PostRating = class {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'd5bce841329555bdb71e7f861b7d1f74d93dbcbc', "data-version": version }, h("div", { key: '0c81664652bd279c833ffabe63f082e4849e611a', 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} out of ${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: {
|
|
75
75
|
'star': true,
|
|
76
76
|
'before-hover': i < this.hoveredIndex,
|
|
77
77
|
'active': i < Math.round(this.currentRating),
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { P as post_rating } from './post-rating-
|
|
1
|
+
export { P as post_rating } from './post-rating-b963d4f2.js';
|
|
2
2
|
import './index-e1b64755.js';
|
|
3
|
-
import './package-
|
|
3
|
+
import './package-180da9f3.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-180da9f3.js';
|
|
3
3
|
import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
|
|
4
4
|
|
|
5
5
|
const postTabHeaderCss = ".tab-title[role=tab]{display:inline-block;cursor:pointer;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:var(--post-contrast-color);text-decoration:none;background-color:rgba(0,0,0,0)}.tab-title[role=tab]:focus{background-color:unset;color:var(--post-contrast-color)}.tab-title[role=tab]:hover{opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted)}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted);box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:\"\";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:var(--post-contrast-color-inverted);color:var(--post-contrast-color);font-weight:700}.tab-title[role=tab].active::before{content:\"\";display:block;position:absolute;top:0;right:-1px;left:-1px;height:.25rem;background-color:#fc0}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:2px solid Highlight;outline-offset:-0.25rem}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}.bg-yellow .tab-title{background-color:#fc0}.bg-yellow .tab-title.active{background-color:#fc0}.bg-yellow .nav-item{background-color:#fc0}.bg-white .tab-title{background-color:#fff}.bg-white .tab-title.active{background-color:#fff}.bg-white .nav-item{background-color:#fff}.bg-light .tab-title{background-color:#faf9f8}.bg-light .tab-title.active{background-color:#faf9f8}.bg-light .nav-item{background-color:#faf9f8}.bg-gray .tab-title{background-color:#f4f3f1}.bg-gray .tab-title.active{background-color:#f4f3f1}.bg-gray .nav-item{background-color:#f4f3f1}.bg-dark .tab-title{background-color:#333}.bg-dark .tab-title.active{background-color:#333}.bg-dark .nav-item{background-color:#333}.bg-black .tab-title{background-color:#000}.bg-black .tab-title.active{background-color:#000}.bg-black .nav-item{background-color:#000}.bg-primary .tab-title{background-color:#333}.bg-primary .tab-title.active{background-color:#333}.bg-primary .nav-item{background-color:#333}.bg-secondary .tab-title{background-color:#666}.bg-secondary .tab-title.active{background-color:#666}.bg-secondary .nav-item{background-color:#666}.bg-success .tab-title{background-color:#2c871d}.bg-success .tab-title.active{background-color:#2c871d}.bg-success .nav-item{background-color:#2c871d}.bg-warning .tab-title{background-color:#f49e00}.bg-warning .tab-title.active{background-color:#f49e00}.bg-warning .nav-item{background-color:#f49e00}.bg-error .tab-title{background-color:#a51728}.bg-error .tab-title.active{background-color:#a51728}.bg-error .nav-item{background-color:#a51728}.bg-info .tab-title{background-color:#cce4ee}.bg-info .tab-title.active{background-color:#cce4ee}.bg-info .nav-item{background-color:#cce4ee}.bg-success-background .tab-title{background-color:#c0debb}.bg-success-background .tab-title.active{background-color:#c0debb}.bg-success-background .nav-item{background-color:#c0debb}.bg-warning-background .tab-title{background-color:#fce2b2}.bg-warning-background .tab-title.active{background-color:#fce2b2}.bg-warning-background .nav-item{background-color:#fce2b2}.bg-error-background .tab-title{background-color:#ffdade}.bg-error-background .tab-title.active{background-color:#ffdade}.bg-error-background .nav-item{background-color:#ffdade}[class*=bg-] .tab-title.active:focus::after{background-color:rgba(255,255,255,.2)}@supports selector(*:focus-visible){[class*=bg-] .tab-title.active:focus::after{background-color:unset}[class*=bg-] .tab-title.active:focus-visible::after{background-color:rgba(255,255,255,.2)}}/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;-webkit-user-select:none;user-select:none;appearance:button}";
|
|
@@ -18,7 +18,7 @@ const PostTabHeader = class {
|
|
|
18
18
|
this.tabId = `tab-${this.host.id || crypto.randomUUID()}`;
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '4ca8efb0e3a6a429442be5406eb43f9cd2406b49', id: this.tabId, role: "tab", "data-version": version, "aria-selected": "false", tabindex: "-1", class: "tab-title", slot: "tabs" }, h("slot", { key: '049d4c8378c42fc31b572d8b073fef523fbc6f37' })));
|
|
22
22
|
}
|
|
23
23
|
get host() { return getElement(this); }
|
|
24
24
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { P as post_tab_header } from './post-tab-header-
|
|
1
|
+
export { P as post_tab_header } from './post-tab-header-c16feb72.js';
|
|
2
2
|
import './index-e1b64755.js';
|
|
3
|
-
import './package-
|
|
3
|
+
import './package-180da9f3.js';
|
|
4
4
|
import './check-non-empty-58bd6b17.js';
|
|
5
5
|
import './constants-8d548297.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-180da9f3.js';
|
|
3
3
|
|
|
4
4
|
const postTabPanelCss = ":host{display:none}";
|
|
5
5
|
const PostTabPanelStyle0 = postTabPanelCss;
|
|
@@ -15,7 +15,7 @@ const PostTabPanel = class {
|
|
|
15
15
|
this.panelId = `panel-${this.host.id || crypto.randomUUID()}`;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '8116daf192361e9c9333c1a94afa4d9eb5cce3d1', "data-version": version, id: this.panelId, role: "tabpanel" }, h("slot", { key: '646fc0fa564f76c6f2a1f706cc753f11306ca231' })));
|
|
19
19
|
}
|
|
20
20
|
get host() { return getElement(this); }
|
|
21
21
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { P as post_tab_panel } from './post-tab-panel-
|
|
1
|
+
export { P as post_tab_panel } from './post-tab-panel-cb02df49.js';
|
|
2
2
|
import './index-e1b64755.js';
|
|
3
|
-
import './package-
|
|
3
|
+
import './package-180da9f3.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-180da9f3.js';
|
|
3
3
|
import { f as fadeOut, a as fadeIn } from './fade-7fd71785.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -162,7 +162,7 @@ const PostTabs = class {
|
|
|
162
162
|
nextTab.focus();
|
|
163
163
|
}
|
|
164
164
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: '2a7fe6d86dc18dcebaa25b5466ffc88de96114e6', "data-version": version }, h("div", { key: '71940a2be5c36f591f0948c7f8dedbb26e98736d', class: "tabs-wrapper", part: "tabs" }, h("div", { key: 'bd9fa6ba6e2bd037a0a09365d4906b7288f929c6', class: "tabs", role: "tablist" }, h("slot", { key: '72a369206b0f81e88ff9741a69e6b58ba3239f5e', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: '9c544b7bae6dc2abb3e297015216c88872a78b8e', class: "tab-content", part: "content" }, h("slot", { key: '2f2e274ecb2bbe19c8f016b8d7a1f7a7038d6646', onSlotchange: () => this.moveMisplacedTabs() }))));
|
|
166
166
|
}
|
|
167
167
|
get host() { return getElement(this); }
|
|
168
168
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-180da9f3.js';
|
|
3
3
|
|
|
4
4
|
const postTagCss = "/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */.tag,.tag:where(:has(:not(pre))){--post-tag-bg:hsl(0, 0%, 90%);--post-tag-fg:#000;display:inline-flex;align-items:center;gap:.25rem;padding:0 .5rem;max-width:100%;background-color:var(--post-tag-bg);border:1px solid rgba(0,0,0,0);border-radius:.25rem;font-size:1rem;line-height:1.875rem;white-space:nowrap;color:var(--post-tag-fg)}.tag post-icon,.tag:where(:has(:not(pre))) post-icon{flex:0 0 auto;width:1.25rem;height:1.25rem}.tag .tag-text,.tag:where(:has(:not(pre))) .tag-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag .tag-text svg,.tag .tag-text img,.tag:where(:has(:not(pre))) .tag-text svg,.tag:where(:has(:not(pre))) .tag-text img{display:inline-block;height:1.25rem !important;vertical-align:text-top}.tag.tag-sm,.tag:where(:has(:not(pre))).tag-sm{line-height:1.5rem}.tag.tag-sm .tag-icon,.tag:where(:has(:not(pre))).tag-sm .tag-icon{width:1rem;height:1rem}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{--post-tag-bg:#fff;--post-tag-fg:#000}.tag.tag-yellow,.tag:where(:has(:not(pre))).tag-yellow{--post-tag-bg:#fc0;--post-tag-fg:#000}.tag.tag-success,.tag:where(:has(:not(pre))).tag-success{--post-tag-bg:#2c871d;--post-tag-fg:#fff}.tag.tag-warning,.tag:where(:has(:not(pre))).tag-warning{--post-tag-bg:#f49e00;--post-tag-fg:#000}.tag.tag-danger,.tag:where(:has(:not(pre))).tag-danger{--post-tag-bg:#a51728;--post-tag-fg:#fff}.tag.tag-info,.tag:where(:has(:not(pre))).tag-info{--post-tag-bg:#cce4ee;--post-tag-fg:#000}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{border-color:var(--post-contrast-color)}pre .tag,pre .tag:where(:has(:not(pre))){display:inline;padding:initial;max-width:initial;background:initial;border:initial;border-radius:initial;font-size:inherit;line-height:inherit;white-space:unset}*,*:before,*:after{box-sizing:border-box}.tag-text ::slotted(svg),.tag-text ::slotted(img){display:inline-block !important;height:1.25rem !important;vertical-align:text-top !important}";
|
|
5
5
|
const PostTagStyle0 = postTagCss;
|
|
@@ -32,7 +32,7 @@ const PostTag = class {
|
|
|
32
32
|
this.setClasses();
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '52768516080d294eaf20034e18e6a776149fa97e', "data-version": version }, h("div", { key: 'f342d20bfccfdf650f5c6e943065f090a13fd94c', class: this.classes }, this.icon ? h("post-icon", { name: this.icon }) : null, h("div", { key: '5286cb07cbfa5b20e0dfbbd4847a3dda49a19278', class: "tag-text" }, h("slot", { key: '6215a61b4e10d6c0274019f183ef90e46d282114' })))));
|
|
36
36
|
}
|
|
37
37
|
get host() { return getElement(this); }
|
|
38
38
|
static get watchers() { return {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { P as post_tag } from './post-tag-
|
|
1
|
+
export { P as post_tag } from './post-tag-103bfff5.js';
|
|
2
2
|
import './index-e1b64755.js';
|
|
3
|
-
import './package-
|
|
3
|
+
import './package-180da9f3.js';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-e1b64755.js';
|
|
2
|
+
import { v as version } from './package-180da9f3.js';
|
|
3
|
+
|
|
4
|
+
const postTogglebuttonCss = ":host{cursor:pointer}";
|
|
5
|
+
const PostTogglebuttonStyle0 = postTogglebuttonCss;
|
|
6
|
+
|
|
7
|
+
const PostTogglebutton = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.handleClick = () => {
|
|
11
|
+
this.toggled = !this.toggled;
|
|
12
|
+
};
|
|
13
|
+
this.handleKeydown = (event) => {
|
|
14
|
+
if (event.key === 'Enter') {
|
|
15
|
+
this.toggled = !this.toggled;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
this.toggled = false;
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return (h(Host, { key: '253ca4026764e8d2c0979341a617fffb6d0d2e8e', slot: "post-togglebutton", tabindex: "0", "data-version": version, role: "button", "aria-pressed": this.toggled.toString(), onClick: this.handleClick, onKeyDown: this.handleKeydown }, h("span", { key: 'e8c7c7492986993ca1ec6c38743555030b068dbb', hidden: this.toggled }, h("slot", { key: 'd012a64cf1da8acc149ad4c5929cfe3fa31619a3', name: "untoggled" })), h("span", { key: '6603b12b05870348e979a9283ac4a17f15a217c6', hidden: !this.toggled }, h("slot", { key: '1306cb988d645ca297fb32d8b743ae65abfe644b', name: "toggled" }))));
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
PostTogglebutton.style = PostTogglebuttonStyle0;
|
|
25
|
+
|
|
26
|
+
export { PostTogglebutton as P };
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-e1b64755.js';
|
|
2
|
-
import { v as version$1 } from './package-
|
|
2
|
+
import { v as version$1 } from './package-180da9f3.js';
|
|
3
3
|
import { g as getAttributeObserver } from './attribute-observer-37fa950a.js';
|
|
4
4
|
import { d as checkEmptyOrType } from './index-f8a00dc0.js';
|
|
5
5
|
|
|
6
|
-
function timeout(delay) {
|
|
7
|
-
return new Promise(resolve => setTimeout(resolve, delay));
|
|
8
|
-
}
|
|
9
|
-
|
|
10
6
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
11
7
|
|
|
12
8
|
function getDefaultExportFromCjs (x) {
|
|
@@ -4790,6 +4786,8 @@ let tooltipInstances = 0;
|
|
|
4790
4786
|
let hideTooltipTimeout = null;
|
|
4791
4787
|
const tooltipTargetAttribute = 'data-tooltip-target';
|
|
4792
4788
|
const tooltipTargetAttributeSelector = `[${tooltipTargetAttribute}]`;
|
|
4789
|
+
let globalCurrentTarget;
|
|
4790
|
+
let tooltipTimeout = null;
|
|
4793
4791
|
/**
|
|
4794
4792
|
* Global event listener to show tooltips. This is globalized so that triggers that are rendered
|
|
4795
4793
|
* async will still work without the need to set listeners on the element itself
|
|
@@ -4802,8 +4800,11 @@ const tooltipTargetAttributeSelector = `[${tooltipTargetAttribute}]`;
|
|
|
4802
4800
|
*/
|
|
4803
4801
|
const globalInterestHandler = (e) => {
|
|
4804
4802
|
const targetElement = e.target.closest(tooltipTargetAttributeSelector);
|
|
4805
|
-
|
|
4803
|
+
globalCurrentTarget = targetElement;
|
|
4804
|
+
if (!targetElement || !('getAttribute' in targetElement)) {
|
|
4805
|
+
clearTimeout(tooltipTimeout);
|
|
4806
4806
|
return;
|
|
4807
|
+
}
|
|
4807
4808
|
const tooltipTarget = targetElement.getAttribute(tooltipTargetAttribute);
|
|
4808
4809
|
if (!tooltipTarget || tooltipTarget === '')
|
|
4809
4810
|
return;
|
|
@@ -4928,18 +4929,29 @@ const PostTooltip = class {
|
|
|
4928
4929
|
* @param triggeredByFocus A boolean indicating if the tooltip was triggered by a focus event.
|
|
4929
4930
|
*/
|
|
4930
4931
|
async show(target, triggeredByFocus = false) {
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4932
|
+
const showTooltip = () => {
|
|
4933
|
+
// If focus or pointer event is not on the button anymore, don't show the tooltip
|
|
4934
|
+
if (globalCurrentTarget !== target)
|
|
4935
|
+
return;
|
|
4936
|
+
// Determine if the tooltip was opened by a focus event
|
|
4937
|
+
this.wasOpenedByFocus = triggeredByFocus;
|
|
4938
|
+
// Disable pointer events if triggered by focus, otherwise enable them
|
|
4939
|
+
if (this.wasOpenedByFocus) {
|
|
4940
|
+
this.host.style.pointerEvents = 'none';
|
|
4941
|
+
}
|
|
4942
|
+
else {
|
|
4943
|
+
this.host.style.pointerEvents = 'auto';
|
|
4944
|
+
}
|
|
4945
|
+
this.popoverRef.show(target);
|
|
4946
|
+
};
|
|
4947
|
+
if (this.delayed) {
|
|
4948
|
+
tooltipTimeout = setTimeout(() => {
|
|
4949
|
+
showTooltip();
|
|
4950
|
+
}, OPEN_DELAY);
|
|
4938
4951
|
}
|
|
4939
4952
|
else {
|
|
4940
|
-
|
|
4953
|
+
showTooltip();
|
|
4941
4954
|
}
|
|
4942
|
-
this.popoverRef.show(target);
|
|
4943
4955
|
}
|
|
4944
4956
|
/**
|
|
4945
4957
|
* Programmatically hide this tooltip
|
|
@@ -4974,7 +4986,7 @@ const PostTooltip = class {
|
|
|
4974
4986
|
}
|
|
4975
4987
|
render() {
|
|
4976
4988
|
const popoverClass = `${this.arrow ? ' has-arrow' : ''}`;
|
|
4977
|
-
return (h(Host, { key: '
|
|
4989
|
+
return (h(Host, { key: '8c14096295ee459a3a727e361eaacf0892eb1824', "data-version": version$1, role: "tooltip", onPointerOver: this.handleInterest, onPointerOut: this.handleInterestLost, onFocusIn: this.handleInterest, onFocusOut: this.handleInterestLost }, h("post-popovercontainer", { key: '65138a845ec05bd830e6534519ac4df7bb00067d', class: popoverClass, arrow: this.arrow, placement: this.placement, ref: (el) => (this.popoverRef = el) }, h("slot", { key: '5296d0864df7d07b498924a40a475ff7c94be6b8' }))));
|
|
4978
4990
|
}
|
|
4979
4991
|
get host() { return getElement(this); }
|
|
4980
4992
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { P as post_tooltip } from './post-tooltip-
|
|
1
|
+
export { P as post_tooltip } from './post-tooltip-2c5ff736.js';
|
|
2
2
|
import './index-e1b64755.js';
|
|
3
|
-
import './package-
|
|
3
|
+
import './package-180da9f3.js';
|
|
4
4
|
import './attribute-observer-37fa950a.js';
|
|
5
5
|
import './index-f8a00dc0.js';
|
|
6
6
|
import './constants-8d548297.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{P as PostAccordion}from"./p-
|
|
1
|
+
export{P as PostAccordion}from"./p-2c3980d2.js";export{P as PostAccordionItem}from"./p-b7ef401f.js";export{P as PostBanner}from"./p-0f699dbc.js";export{P as PostBreadcrumbItem}from"./p-d4cef624.js";export{P as PostAvatar}from"./p-ed834dde.js";export{P as PostCardControl}from"./p-7eee2b6a.js";export{P as PostClosebutton,f as PostHeader,a as PostIcon,d as PostList,e as PostListItem,b as PostLogo,g as PostMainnavigation,h as PostMegadropdown,i as PostMegadropdownTrigger,c as PostPopovercontainer}from"./p-da449573.js";export{P as PostCollapsible,a as PostCollapsibleTrigger}from"./p-31d38040.js";export{P as PostLanguageOption}from"./p-3e65ba47.js";export{P as PostMenu}from"./p-2a456317.js";export{P as PostMenuTrigger}from"./p-9abe554b.js";export{P as PostMenuItem}from"./p-06980a04.js";export{P as PostPopover}from"./p-bb103905.js";export{P as PostRating}from"./p-c819933c.js";export{P as PostTabs}from"./p-d4465c2b.js";export{P as PostTabHeader}from"./p-fa7af203.js";export{P as PostTabPanel}from"./p-0af7dfbb.js";export{P as PostTooltip}from"./p-6f56a13d.js";export{P as PostTag}from"./p-8b6f7f04.js";export{P as PostTogglebutton}from"./p-b8a9cf2d.js";import"./p-3eab790d.js";import"./p-f6b44820.js";import"./p-247a1668.js";import"./p-611b3c41.js";import"./p-0338f9da.js";import"./p-440193f4.js";import"./p-4a3f67ab.js";import"./p-2737eaf5.js";import"./p-b095519d.js";import"./p-fc91cbc2.js";import"./p-6adeaa6c.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a,H as s,g as r}from"./p-3eab790d.js";import{v as t}from"./p-f6b44820.js";const o=class{constructor(a){e(this,a)}render(){return a(s,{key:"48720f09bc2ab4a979d215f590dcb80e39422e46",role:"menuitem","data-version":t},a("slot",{key:"5a0c1aeb2c96a02c2e4567d3e1e83fd6e3a3aace"}))}get host(){return r(this)}};o.style=":host{display:block}";export{o as P}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as t,H as a,g as o}from"./p-3eab790d.js";import{v as e}from"./p-f6b44820.js";const r=class{constructor(t){s(this,t),this.panelId=void 0,this.name=void 0}componentWillLoad(){this.panelId=`panel-${this.host.id||crypto.randomUUID()}`}render(){return t(a,{key:"8116daf192361e9c9333c1a94afa4d9eb5cce3d1","data-version":e,id:this.panelId,role:"tabpanel"},t("slot",{key:"646fc0fa564f76c6f2a1f706cc753f11306ca231"}))}get host(){return o(this)}};r.style=":host{display:none}";export{r as P}
|