@swisspost/design-system-components 7.2.0 → 7.2.1
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-0fc0bf5f.js → index-49177437.js} +232 -214
- package/dist/cjs/index.cjs.js +16 -16
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-b133ab48.js → package-198f981b.js} +1 -1
- package/dist/cjs/{post-accordion-a079c21b.js → post-accordion-f81a31b2.js} +2 -2
- package/dist/cjs/{post-accordion-item-30c6ec06.js → post-accordion-item-994583fc.js} +2 -2
- package/dist/cjs/post-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/post-accordion.cjs.entry.js +3 -3
- package/dist/cjs/{post-alert-b5cfc4c6.js → post-alert-b160762a.js} +3 -3
- package/dist/cjs/post-alert.cjs.entry.js +3 -3
- package/dist/cjs/{post-card-control-80ff0fbb.js → post-card-control-5f309278.js} +2 -2
- package/dist/cjs/post-card-control.cjs.entry.js +3 -3
- package/dist/cjs/{post-collapsible-9bcaf6f1.js → post-collapsible-bf63b152.js} +2 -2
- package/dist/cjs/post-collapsible.cjs.entry.js +3 -3
- package/dist/cjs/post-components.cjs.js +2 -2
- package/dist/cjs/{post-icon-87e7972e.js → post-icon-e5af0dff.js} +2 -2
- package/dist/cjs/post-icon.cjs.entry.js +3 -3
- package/dist/cjs/{post-popover-0a73553e.js → post-popover-bb1cf2dc.js} +2 -2
- package/dist/cjs/post-popover.cjs.entry.js +3 -3
- package/dist/cjs/{post-popovercontainer-a1df1705.js → post-popovercontainer-814f2053.js} +31 -22
- package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
- package/dist/cjs/{post-rating-2337c023.js → post-rating-7e29df2c.js} +2 -2
- package/dist/cjs/post-rating.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-header-ac4137cb.js → post-tab-header-1d896a9b.js} +2 -2
- package/dist/cjs/post-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/{post-tab-panel-307eacef.js → post-tab-panel-47481b1e.js} +2 -2
- package/dist/cjs/post-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/{post-tabs-92435b40.js → post-tabs-35d27649.js} +3 -3
- package/dist/cjs/post-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{post-tag-0237216a.js → post-tag-27049429.js} +2 -2
- package/dist/cjs/post-tag.cjs.entry.js +3 -3
- package/dist/cjs/{post-tooltip-7fcd3f15.js → post-tooltip-95c1e078.js} +2 -2
- package/dist/cjs/post-tooltip.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/post-alert/post-alert.js +1 -1
- package/dist/collection/components/post-popover/post-popover.js +1 -1
- package/dist/collection/components/post-popovercontainer/post-popovercontainer.js +1 -1
- package/dist/collection/components/post-tabs/post-tabs.js +3 -1
- package/dist/collection/components/post-tooltip/post-tooltip.js +1 -1
- package/dist/components/package.js +1 -1
- package/dist/components/post-alert2.js +1 -1
- package/dist/components/post-popovercontainer2.js +29 -20
- package/dist/components/post-tabs2.js +1 -1
- package/dist/docs.json +25 -8
- package/dist/esm/{index-d9331ff3.js → index-b40b8259.js} +232 -214
- package/dist/esm/index.js +16 -16
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{package-37b02bc3.js → package-baed1bbc.js} +1 -1
- package/dist/esm/{post-accordion-7eaa090e.js → post-accordion-63757789.js} +2 -2
- package/dist/esm/{post-accordion-item-d5466ca0.js → post-accordion-item-ff713ffa.js} +2 -2
- package/dist/esm/post-accordion-item.entry.js +3 -3
- package/dist/esm/post-accordion.entry.js +3 -3
- package/dist/esm/{post-alert-5bc0d11c.js → post-alert-90030a07.js} +3 -3
- package/dist/esm/post-alert.entry.js +3 -3
- package/dist/esm/{post-card-control-d64be740.js → post-card-control-a77d7957.js} +2 -2
- package/dist/esm/post-card-control.entry.js +3 -3
- package/dist/esm/{post-collapsible-0bb7ca9a.js → post-collapsible-2fd13f4e.js} +2 -2
- package/dist/esm/post-collapsible.entry.js +3 -3
- package/dist/esm/post-components.js +3 -3
- package/dist/esm/{post-icon-8d59faf7.js → post-icon-725a0fba.js} +2 -2
- package/dist/esm/post-icon.entry.js +3 -3
- package/dist/esm/{post-popover-0ebc24f5.js → post-popover-23ed2cdf.js} +2 -2
- package/dist/esm/post-popover.entry.js +3 -3
- package/dist/esm/{post-popovercontainer-5c0ba050.js → post-popovercontainer-f5625d65.js} +31 -22
- package/dist/esm/post-popovercontainer.entry.js +3 -3
- package/dist/esm/{post-rating-40195437.js → post-rating-0bfc12ec.js} +2 -2
- package/dist/esm/post-rating.entry.js +3 -3
- package/dist/esm/{post-tab-header-ff165ebb.js → post-tab-header-5be0820b.js} +2 -2
- package/dist/esm/post-tab-header.entry.js +3 -3
- package/dist/esm/{post-tab-panel-d40b9704.js → post-tab-panel-a2a06c2d.js} +2 -2
- package/dist/esm/post-tab-panel.entry.js +3 -3
- package/dist/esm/{post-tabs-6ee5542b.js → post-tabs-c1cf60cd.js} +3 -3
- package/dist/esm/post-tabs.entry.js +3 -3
- package/dist/esm/{post-tag-e76f88e5.js → post-tag-1158169f.js} +2 -2
- package/dist/esm/post-tag.entry.js +3 -3
- package/dist/esm/{post-tooltip-990b8b2b.js → post-tooltip-966fde7a.js} +2 -2
- package/dist/esm/post-tooltip.entry.js +3 -3
- package/dist/post-components/index.esm.js +1 -1
- package/dist/post-components/p-09c9ec65.entry.js +1 -0
- package/dist/post-components/p-105f8fe5.entry.js +1 -0
- package/dist/post-components/{p-287f66b9.js → p-11e13d7d.js} +1 -1
- package/dist/post-components/p-1d351eda.js +2 -0
- package/dist/post-components/p-408e8d5c.entry.js +1 -0
- package/dist/post-components/{p-ee12644d.js → p-40cbd3a9.js} +1 -1
- package/dist/post-components/p-418e4351.entry.js +1 -0
- package/dist/post-components/{p-aef9ee8b.js → p-41bd4480.js} +1 -1
- package/dist/post-components/{p-3ce051c9.js → p-4f16eac0.js} +1 -1
- package/dist/post-components/{p-deb19ca0.js → p-6fa5a17d.js} +1 -1
- package/dist/post-components/p-803678de.entry.js +1 -0
- package/dist/post-components/p-8ba9721a.entry.js +1 -0
- package/dist/post-components/p-92636363.js +1 -0
- package/dist/post-components/p-9ac48e84.entry.js +1 -0
- package/dist/post-components/p-9c5b9e7c.entry.js +1 -0
- package/dist/post-components/{p-f86b2ea1.js → p-9c842093.js} +1 -1
- package/dist/post-components/{p-3f2c54ad.js → p-b3a7e242.js} +1 -1
- package/dist/post-components/p-b5f6a7b5.entry.js +1 -0
- package/dist/post-components/p-b675a470.entry.js +1 -0
- package/dist/post-components/p-ba275788.entry.js +1 -0
- package/dist/post-components/p-c2906b17.js +1 -0
- package/dist/post-components/{p-0637689e.js → p-c3e6894d.js} +1 -1
- package/dist/post-components/{p-d6e0e495.js → p-cbca927d.js} +1 -1
- package/dist/post-components/p-ce4fff0a.js +1 -0
- package/dist/post-components/p-daf27e9c.entry.js +1 -0
- package/dist/post-components/{p-69bd634e.js → p-f11cb5ab.js} +1 -1
- package/dist/post-components/p-f4b64493.entry.js +1 -0
- package/dist/post-components/p-f665b245.entry.js +1 -0
- package/dist/post-components/p-f80d0c5f.js +1 -0
- package/dist/post-components/p-fa1125d9.js +1 -0
- package/dist/post-components/post-components.esm.js +1 -1
- package/dist/types/components/post-tabs/post-tabs.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -2
- package/loader/index.d.ts +3 -0
- package/package.json +9 -9
- package/dist/collection/index.spec.js +0 -27
- package/dist/post-components/p-0ba99d76.entry.js +0 -1
- package/dist/post-components/p-0e97fb19.entry.js +0 -1
- package/dist/post-components/p-19ee1efc.entry.js +0 -1
- package/dist/post-components/p-23e7f6e3.entry.js +0 -1
- package/dist/post-components/p-305ab60c.js +0 -1
- package/dist/post-components/p-62229794.entry.js +0 -1
- package/dist/post-components/p-7dc73c43.entry.js +0 -1
- package/dist/post-components/p-7e59cbd2.js +0 -1
- package/dist/post-components/p-8559d3c0.entry.js +0 -1
- package/dist/post-components/p-941e5ef0.js +0 -1
- package/dist/post-components/p-95003bde.entry.js +0 -1
- package/dist/post-components/p-a1da0539.js +0 -1
- package/dist/post-components/p-a5d9115f.entry.js +0 -1
- package/dist/post-components/p-a9aa57f0.entry.js +0 -1
- package/dist/post-components/p-c21da8cb.js +0 -1
- package/dist/post-components/p-c655db7c.entry.js +0 -1
- package/dist/post-components/p-ca2ff4bb.entry.js +0 -1
- package/dist/post-components/p-d2eafe06.entry.js +0 -1
- package/dist/post-components/p-d9eab6d9.js +0 -2
- package/dist/post-components/p-ff0b0a9a.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const _package = require('./package-
|
|
3
|
+
const index = require('./index-49177437.js');
|
|
4
|
+
const _package = require('./package-198f981b.js');
|
|
5
5
|
const fade = require('./fade-35a3633a.js');
|
|
6
6
|
const index$1 = require('./index-a1440961.js');
|
|
7
7
|
const checkNonEmpty = require('./check-non-empty-eeaa8f77.js');
|
|
@@ -82,7 +82,7 @@ const PostAlert = class {
|
|
|
82
82
|
index.h("div", { key: `${this.alertId}-content`, class: "alert-content" }, defaultAlertContent),
|
|
83
83
|
index.h("div", { key: `${this.alertId}-buttons`, class: "alert-buttons" }, index.h("slot", { key: 'ab1785ac06297249f1af9b4eb1afaab0551ba5e1', name: "actions" })),
|
|
84
84
|
];
|
|
85
|
-
return (index.h(index.Host, { key: '5f0d259c805770fc4a5693c0dc0ad6ef5b7a1336', "data-version": _package.version }, index.h("div", { key: '
|
|
85
|
+
return (index.h(index.Host, { key: '5f0d259c805770fc4a5693c0dc0ad6ef5b7a1336', "data-version": _package.version }, index.h("div", { key: '9756d0e5bbae845643d552269f713742c701cae3', role: "alert", class: this.classes, part: this.classes }, this.dismissible && (index.h("button", { key: '81d8d57791d68b370e5a3e6876b9adbec9e91ae4', class: "btn-close", onClick: this.onDismissButtonClick }, index.h("span", { key: '7ac06e6e769bbcc40788fd94cfc3a9b8de586ccf', class: "visually-hidden" }, this.dismissLabel))), this.icon && this.icon !== 'none' && (index.h("post-icon", { key: `${this.alertId}-icon`, name: this.icon })), this.hasActions ? actionAlertContent : defaultAlertContent)));
|
|
86
86
|
}
|
|
87
87
|
get host() { return index.getElement(this); }
|
|
88
88
|
static get watchers() { return {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postAlert = require('./post-alert-
|
|
6
|
-
require('./index-
|
|
7
|
-
require('./package-
|
|
5
|
+
const postAlert = require('./post-alert-b160762a.js');
|
|
6
|
+
require('./index-49177437.js');
|
|
7
|
+
require('./package-198f981b.js');
|
|
8
8
|
require('./fade-35a3633a.js');
|
|
9
9
|
require('./index-a1440961.js');
|
|
10
10
|
require('./constants-238701d3.js');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-49177437.js');
|
|
4
4
|
const checkOneOf = require('./check-one-of-f4f5d0c0.js');
|
|
5
5
|
const checkNonEmpty = require('./check-non-empty-eeaa8f77.js');
|
|
6
|
-
const _package = require('./package-
|
|
6
|
+
const _package = require('./package-198f981b.js');
|
|
7
7
|
|
|
8
8
|
function parse(scss) {
|
|
9
9
|
return Object.entries(scss).reduce((object, [path, value]) => {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postCardControl = require('./post-card-control-
|
|
6
|
-
require('./index-
|
|
5
|
+
const postCardControl = require('./post-card-control-5f309278.js');
|
|
6
|
+
require('./index-49177437.js');
|
|
7
7
|
require('./check-one-of-f4f5d0c0.js');
|
|
8
8
|
require('./check-non-empty-eeaa8f77.js');
|
|
9
9
|
require('./constants-238701d3.js');
|
|
10
|
-
require('./package-
|
|
10
|
+
require('./package-198f981b.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const _package = require('./package-
|
|
3
|
+
const index = require('./index-49177437.js');
|
|
4
|
+
const _package = require('./package-198f981b.js');
|
|
5
5
|
const index$1 = require('./index-a1440961.js');
|
|
6
6
|
|
|
7
7
|
function isMotionReduced() {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postCollapsible = require('./post-collapsible-
|
|
6
|
-
require('./index-
|
|
7
|
-
require('./package-
|
|
5
|
+
const postCollapsible = require('./post-collapsible-bf63b152.js');
|
|
6
|
+
require('./index-49177437.js');
|
|
7
|
+
require('./package-198f981b.js');
|
|
8
8
|
require('./index-a1440961.js');
|
|
9
9
|
require('./constants-238701d3.js');
|
|
10
10
|
require('./check-one-of-f4f5d0c0.js');
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-49177437.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.19.1 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('post-components.cjs.js', document.baseURI).href));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-49177437.js');
|
|
4
4
|
const index$1 = require('./index-a1440961.js');
|
|
5
|
-
const _package = require('./package-
|
|
5
|
+
const _package = require('./package-198f981b.js');
|
|
6
6
|
const checkNonEmpty = require('./check-non-empty-eeaa8f77.js');
|
|
7
7
|
|
|
8
8
|
const postIconCss = ":host{display:inline-block;width:1em;height:1em;vertical-align:-0.15em}span{display:block;width:100%;height:100%;fill:currentColor;forced-color-adjust:preserve-parent-color;background-color:currentColor;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%}: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)}}";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postIcon = require('./post-icon-
|
|
6
|
-
require('./index-
|
|
5
|
+
const postIcon = require('./post-icon-e5af0dff.js');
|
|
6
|
+
require('./index-49177437.js');
|
|
7
7
|
require('./index-a1440961.js');
|
|
8
8
|
require('./constants-238701d3.js');
|
|
9
9
|
require('./check-one-of-f4f5d0c0.js');
|
|
10
|
-
require('./package-
|
|
10
|
+
require('./package-198f981b.js');
|
|
11
11
|
require('./check-non-empty-eeaa8f77.js');
|
|
12
12
|
|
|
13
13
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const _package = require('./package-
|
|
3
|
+
const index = require('./index-49177437.js');
|
|
4
|
+
const _package = require('./package-198f981b.js');
|
|
5
5
|
const attributeObserver = require('./attribute-observer-10f08c04.js');
|
|
6
6
|
|
|
7
7
|
const postPopoverCss = "/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\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:4px;color:var(--post-gray-80);transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}.btn-close{outline-style:none !important;outline-offset:2px !important;outline-width:2px !important;outline-color:var(--post-focus-color) !important}.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-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: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}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .btn-close{color:var(--post-contrast-color)}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:var(--post-contrast-color)}.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}@media (max-width: 599.98px){.popover-container{max-width:100%}}.popover-content{padding:.5em;flex-grow:1}";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postPopover = require('./post-popover-
|
|
6
|
-
require('./index-
|
|
7
|
-
require('./package-
|
|
5
|
+
const postPopover = require('./post-popover-bb1cf2dc.js');
|
|
6
|
+
require('./index-49177437.js');
|
|
7
|
+
require('./package-198f981b.js');
|
|
8
8
|
require('./attribute-observer-10f08c04.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const _package = require('./package-
|
|
3
|
+
const index = require('./index-49177437.js');
|
|
4
|
+
const _package = require('./package-198f981b.js');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Custom positioning reference element.
|
|
@@ -122,12 +122,21 @@ function getPaddingObject(padding) {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
function rectToClientRect(rect) {
|
|
125
|
+
const {
|
|
126
|
+
x,
|
|
127
|
+
y,
|
|
128
|
+
width,
|
|
129
|
+
height
|
|
130
|
+
} = rect;
|
|
125
131
|
return {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
132
|
+
width,
|
|
133
|
+
height,
|
|
134
|
+
top: y,
|
|
135
|
+
left: x,
|
|
136
|
+
right: x + width,
|
|
137
|
+
bottom: y + height,
|
|
138
|
+
x,
|
|
139
|
+
y
|
|
131
140
|
};
|
|
132
141
|
}
|
|
133
142
|
|
|
@@ -1194,6 +1203,15 @@ function isOverflowElement(element) {
|
|
|
1194
1203
|
function isTableElement(element) {
|
|
1195
1204
|
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
1196
1205
|
}
|
|
1206
|
+
function isTopLayer(element) {
|
|
1207
|
+
return [':popover-open', ':modal'].some(selector => {
|
|
1208
|
+
try {
|
|
1209
|
+
return element.matches(selector);
|
|
1210
|
+
} catch (e) {
|
|
1211
|
+
return false;
|
|
1212
|
+
}
|
|
1213
|
+
});
|
|
1214
|
+
}
|
|
1197
1215
|
function isContainingBlock(element) {
|
|
1198
1216
|
const webkit = isWebKit();
|
|
1199
1217
|
const css = getComputedStyle(element);
|
|
@@ -1204,11 +1222,13 @@ function isContainingBlock(element) {
|
|
|
1204
1222
|
function getContainingBlock(element) {
|
|
1205
1223
|
let currentNode = getParentNode(element);
|
|
1206
1224
|
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1225
|
+
if (isTopLayer(currentNode)) {
|
|
1226
|
+
return null;
|
|
1227
|
+
}
|
|
1207
1228
|
if (isContainingBlock(currentNode)) {
|
|
1208
1229
|
return currentNode;
|
|
1209
|
-
} else {
|
|
1210
|
-
currentNode = getParentNode(currentNode);
|
|
1211
1230
|
}
|
|
1231
|
+
currentNode = getParentNode(currentNode);
|
|
1212
1232
|
}
|
|
1213
1233
|
return null;
|
|
1214
1234
|
}
|
|
@@ -1230,8 +1250,8 @@ function getNodeScroll(element) {
|
|
|
1230
1250
|
};
|
|
1231
1251
|
}
|
|
1232
1252
|
return {
|
|
1233
|
-
scrollLeft: element.
|
|
1234
|
-
scrollTop: element.
|
|
1253
|
+
scrollLeft: element.scrollX,
|
|
1254
|
+
scrollTop: element.scrollY
|
|
1235
1255
|
};
|
|
1236
1256
|
}
|
|
1237
1257
|
function getParentNode(node) {
|
|
@@ -1403,17 +1423,6 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1403
1423
|
});
|
|
1404
1424
|
}
|
|
1405
1425
|
|
|
1406
|
-
const topLayerSelectors = [':popover-open', ':modal'];
|
|
1407
|
-
function isTopLayer(element) {
|
|
1408
|
-
return topLayerSelectors.some(selector => {
|
|
1409
|
-
try {
|
|
1410
|
-
return element.matches(selector);
|
|
1411
|
-
} catch (e) {
|
|
1412
|
-
return false;
|
|
1413
|
-
}
|
|
1414
|
-
});
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
1426
|
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1418
1427
|
let {
|
|
1419
1428
|
elements,
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postPopovercontainer = require('./post-popovercontainer-
|
|
6
|
-
require('./index-
|
|
7
|
-
require('./package-
|
|
5
|
+
const postPopovercontainer = require('./post-popovercontainer-814f2053.js');
|
|
6
|
+
require('./index-49177437.js');
|
|
7
|
+
require('./package-198f981b.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const _package = require('./package-
|
|
3
|
+
const index = require('./index-49177437.js');
|
|
4
|
+
const _package = require('./package-198f981b.js');
|
|
5
5
|
|
|
6
6
|
const postRatingCss = "/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\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%)}";
|
|
7
7
|
const PostRatingStyle0 = postRatingCss;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postRating = require('./post-rating-
|
|
6
|
-
require('./index-
|
|
7
|
-
require('./package-
|
|
5
|
+
const postRating = require('./post-rating-7e29df2c.js');
|
|
6
|
+
require('./index-49177437.js');
|
|
7
|
+
require('./package-198f981b.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const _package = require('./package-
|
|
3
|
+
const index = require('./index-49177437.js');
|
|
4
|
+
const _package = require('./package-198f981b.js');
|
|
5
5
|
const checkNonEmpty = require('./check-non-empty-eeaa8f77.js');
|
|
6
6
|
|
|
7
7
|
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}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=error]) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:is(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.bg-nightblue,.bg-nightblue-bright,.bg-petrol,.bg-coral,.bg-olive,.bg-purple,.bg-purple-bright,.bg-aubergine,.bg-aubergine-bright,.alert-primary,post-alert[type=primary],.alert-success,post-alert[type=success],.alert-danger,post-alert[type=danger],.alert-notification,post-alert[type=notification],.alert-error,post-alert[type=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}.bg-nightblue .tab-title{background-color:#004976}.bg-nightblue .tab-title.active{background-color:#004976}.bg-nightblue .nav-item{background-color:#004976}.bg-nightblue-bright .tab-title{background-color:#0076a8}.bg-nightblue-bright .tab-title.active{background-color:#0076a8}.bg-nightblue-bright .nav-item{background-color:#0076a8}.bg-petrol .tab-title{background-color:#006d68}.bg-petrol .tab-title.active{background-color:#006d68}.bg-petrol .nav-item{background-color:#006d68}.bg-petrol-bright .tab-title{background-color:#00968f}.bg-petrol-bright .tab-title.active{background-color:#00968f}.bg-petrol-bright .nav-item{background-color:#00968f}.bg-coral .tab-title{background-color:#9e2a2f}.bg-coral .tab-title.active{background-color:#9e2a2f}.bg-coral .nav-item{background-color:#9e2a2f}.bg-coral-bright .tab-title{background-color:#e03c31}.bg-coral-bright .tab-title.active{background-color:#e03c31}.bg-coral-bright .nav-item{background-color:#e03c31}.bg-olive .tab-title{background-color:#716135}.bg-olive .tab-title.active{background-color:#716135}.bg-olive .nav-item{background-color:#716135}.bg-olive-bright .tab-title{background-color:#aa9d2e}.bg-olive-bright .tab-title.active{background-color:#aa9d2e}.bg-olive-bright .nav-item{background-color:#aa9d2e}.bg-purple .tab-title{background-color:#80276c}.bg-purple .tab-title.active{background-color:#80276c}.bg-purple .nav-item{background-color:#80276c}.bg-purple-bright .tab-title{background-color:#c5299b}.bg-purple-bright .tab-title.active{background-color:#c5299b}.bg-purple-bright .nav-item{background-color:#c5299b}.bg-aubergine .tab-title{background-color:#523178}.bg-aubergine .tab-title.active{background-color:#523178}.bg-aubergine .nav-item{background-color:#523178}.bg-aubergine-bright .tab-title{background-color:#7566a0}.bg-aubergine-bright .tab-title.active{background-color:#7566a0}.bg-aubergine-bright .nav-item{background-color:#7566a0}[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 * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\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}";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postTabHeader = require('./post-tab-header-
|
|
6
|
-
require('./index-
|
|
7
|
-
require('./package-
|
|
5
|
+
const postTabHeader = require('./post-tab-header-1d896a9b.js');
|
|
6
|
+
require('./index-49177437.js');
|
|
7
|
+
require('./package-198f981b.js');
|
|
8
8
|
require('./check-non-empty-eeaa8f77.js');
|
|
9
9
|
require('./constants-238701d3.js');
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const _package = require('./package-
|
|
3
|
+
const index = require('./index-49177437.js');
|
|
4
|
+
const _package = require('./package-198f981b.js');
|
|
5
5
|
|
|
6
6
|
const postTabPanelCss = ":host{display:none}";
|
|
7
7
|
const PostTabPanelStyle0 = postTabPanelCss;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postTabPanel = require('./post-tab-panel-
|
|
6
|
-
require('./index-
|
|
7
|
-
require('./package-
|
|
5
|
+
const postTabPanel = require('./post-tab-panel-47481b1e.js');
|
|
6
|
+
require('./index-49177437.js');
|
|
7
|
+
require('./package-198f981b.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const _package = require('./package-
|
|
3
|
+
const index = require('./index-49177437.js');
|
|
4
|
+
const _package = require('./package-198f981b.js');
|
|
5
5
|
const fade = require('./fade-35a3633a.js');
|
|
6
6
|
|
|
7
7
|
const postTabsCss = ".tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(var(--post-contrast-color-rgb), 0.02)}.tabs-wrapper::after{content:\"\";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{margin:0;padding:0;list-style:none;display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap}.tabs::after{content:\"\";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}.bg-yellow .tabs-wrapper{background-color:#fc0}.bg-white .tabs-wrapper{background-color:#fff}.bg-light .tabs-wrapper{background-color:#faf9f8}.bg-gray .tabs-wrapper{background-color:#f4f3f1}.bg-dark .tabs-wrapper{background-color:#333}.bg-black .tabs-wrapper{background-color:#000}.bg-primary .tabs-wrapper{background-color:#333}.bg-secondary .tabs-wrapper{background-color:#666}.bg-success .tabs-wrapper{background-color:#2c871d}.bg-warning .tabs-wrapper{background-color:#f49e00}.bg-error .tabs-wrapper{background-color:#a51728}.bg-info .tabs-wrapper{background-color:#cce4ee}.bg-success-background .tabs-wrapper{background-color:#c0debb}.bg-warning-background .tabs-wrapper{background-color:#fce2b2}.bg-error-background .tabs-wrapper{background-color:#ffdade}.bg-nightblue .tabs-wrapper{background-color:#004976}.bg-nightblue-bright .tabs-wrapper{background-color:#0076a8}.bg-petrol .tabs-wrapper{background-color:#006d68}.bg-petrol-bright .tabs-wrapper{background-color:#00968f}.bg-coral .tabs-wrapper{background-color:#9e2a2f}.bg-coral-bright .tabs-wrapper{background-color:#e03c31}.bg-olive .tabs-wrapper{background-color:#716135}.bg-olive-bright .tabs-wrapper{background-color:#aa9d2e}.bg-purple .tabs-wrapper{background-color:#80276c}.bg-purple-bright .tabs-wrapper{background-color:#c5299b}.bg-aubergine .tabs-wrapper{background-color:#523178}.bg-aubergine-bright .tabs-wrapper{background-color:#7566a0}:host{display:block}";
|
|
@@ -145,7 +145,7 @@ const PostTabs = class {
|
|
|
145
145
|
nextTab.focus();
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
|
-
return (index.h(index.Host, { key: '
|
|
148
|
+
return (index.h(index.Host, { key: 'f7aabebf0645b5d9db9028a0b1807e49d6f4e994', "data-version": _package.version }, index.h("div", { key: 'b62f738a4df453f9acf94825f2d1626dc40c4eb1', class: "tabs-wrapper", part: "tabs" }, index.h("div", { key: 'a9bd32fc939cfdff73d2c48982551cceedb5bd2a', class: "tabs", role: "tablist" }, index.h("slot", { key: '4a8c2bc4815debd4d6951acbce224d3f1fd6b169', name: "tabs", onSlotchange: () => this.enableTabs() }))), index.h("div", { key: 'c7b2543a1decdc2bfe7a683b7bd193586485d012', class: "tab-content", part: "content" }, index.h("slot", { key: 'af19b3e89f8ca0cecf59f4426e4b5d3ac4efbc75', onSlotchange: () => this.moveMisplacedTabs() }))));
|
|
149
149
|
}
|
|
150
150
|
get host() { return index.getElement(this); }
|
|
151
151
|
};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postTabs = require('./post-tabs-
|
|
6
|
-
require('./index-
|
|
7
|
-
require('./package-
|
|
5
|
+
const postTabs = require('./post-tabs-35d27649.js');
|
|
6
|
+
require('./index-49177437.js');
|
|
7
|
+
require('./package-198f981b.js');
|
|
8
8
|
require('./fade-35a3633a.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const _package = require('./package-
|
|
3
|
+
const index = require('./index-49177437.js');
|
|
4
|
+
const _package = require('./package-198f981b.js');
|
|
5
5
|
|
|
6
6
|
const postTagCss = "/*!\n * Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors\n * Copyright 2011-2021 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n\n * The MIT License (MIT)\n\n * Copyright (c) 2011-2020 Twitter, Inc.\n * Copyright (c) 2011-2020 The Bootstrap Authors\n\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *//*!\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:18.5rem;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}";
|
|
7
7
|
const PostTagStyle0 = postTagCss;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postTag = require('./post-tag-
|
|
6
|
-
require('./index-
|
|
7
|
-
require('./package-
|
|
5
|
+
const postTag = require('./post-tag-27049429.js');
|
|
6
|
+
require('./index-49177437.js');
|
|
7
|
+
require('./package-198f981b.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const _package = require('./package-
|
|
3
|
+
const index = require('./index-49177437.js');
|
|
4
|
+
const _package = require('./package-198f981b.js');
|
|
5
5
|
const attributeObserver = require('./attribute-observer-10f08c04.js');
|
|
6
6
|
|
|
7
7
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const postTooltip = require('./post-tooltip-
|
|
6
|
-
require('./index-
|
|
7
|
-
require('./package-
|
|
5
|
+
const postTooltip = require('./post-tooltip-95c1e078.js');
|
|
6
|
+
require('./index-49177437.js');
|
|
7
|
+
require('./package-198f981b.js');
|
|
8
8
|
require('./attribute-observer-10f08c04.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -77,7 +77,7 @@ export class PostAlert {
|
|
|
77
77
|
h("div", { key: `${this.alertId}-content`, class: "alert-content" }, defaultAlertContent),
|
|
78
78
|
h("div", { key: `${this.alertId}-buttons`, class: "alert-buttons" }, h("slot", { key: 'ab1785ac06297249f1af9b4eb1afaab0551ba5e1', name: "actions" })),
|
|
79
79
|
];
|
|
80
|
-
return (h(Host, { key: '5f0d259c805770fc4a5693c0dc0ad6ef5b7a1336', "data-version": version }, h("div", { key: '
|
|
80
|
+
return (h(Host, { key: '5f0d259c805770fc4a5693c0dc0ad6ef5b7a1336', "data-version": version }, h("div", { key: '9756d0e5bbae845643d552269f713742c701cae3', role: "alert", class: this.classes, part: this.classes }, this.dismissible && (h("button", { key: '81d8d57791d68b370e5a3e6876b9adbec9e91ae4', class: "btn-close", onClick: this.onDismissButtonClick }, h("span", { key: '7ac06e6e769bbcc40788fd94cfc3a9b8de586ccf', class: "visually-hidden" }, this.dismissLabel))), this.icon && this.icon !== 'none' && (h("post-icon", { key: `${this.alertId}-icon`, name: this.icon })), this.hasActions ? actionAlertContent : defaultAlertContent)));
|
|
81
81
|
}
|
|
82
82
|
static get is() { return "post-alert"; }
|
|
83
83
|
static get encapsulation() { return "shadow"; }
|
|
@@ -114,7 +114,7 @@ export class PostPopover {
|
|
|
114
114
|
"Placement": {
|
|
115
115
|
"location": "import",
|
|
116
116
|
"path": "@floating-ui/dom",
|
|
117
|
-
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.
|
|
117
|
+
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.7/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
},
|
|
@@ -165,7 +165,7 @@ export class PostPopovercontainer {
|
|
|
165
165
|
"Placement": {
|
|
166
166
|
"location": "import",
|
|
167
167
|
"path": "@floating-ui/dom",
|
|
168
|
-
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.
|
|
168
|
+
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.7/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
},
|
|
@@ -4,6 +4,8 @@ import { fadeIn, fadeOut } from "../../animations/index";
|
|
|
4
4
|
/**
|
|
5
5
|
* @slot tabs - Slot for placing tab headers. Each tab header should be a <post-tab-header> element.
|
|
6
6
|
* @slot default - Slot for placing tab panels. Each tab panel should be a <post-tab-panel> element.
|
|
7
|
+
* @part tabs - Add custom styles for the tab header container.
|
|
8
|
+
* @part content - Add custom styles for the tab panel container.
|
|
7
9
|
*/
|
|
8
10
|
export class PostTabs {
|
|
9
11
|
constructor() {
|
|
@@ -141,7 +143,7 @@ export class PostTabs {
|
|
|
141
143
|
nextTab.focus();
|
|
142
144
|
}
|
|
143
145
|
render() {
|
|
144
|
-
return (h(Host, { key: '
|
|
146
|
+
return (h(Host, { key: 'f7aabebf0645b5d9db9028a0b1807e49d6f4e994', "data-version": version }, h("div", { key: 'b62f738a4df453f9acf94825f2d1626dc40c4eb1', class: "tabs-wrapper", part: "tabs" }, h("div", { key: 'a9bd32fc939cfdff73d2c48982551cceedb5bd2a', class: "tabs", role: "tablist" }, h("slot", { key: '4a8c2bc4815debd4d6951acbce224d3f1fd6b169', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: 'c7b2543a1decdc2bfe7a683b7bd193586485d012', class: "tab-content", part: "content" }, h("slot", { key: 'af19b3e89f8ca0cecf59f4426e4b5d3ac4efbc75', onSlotchange: () => this.moveMisplacedTabs() }))));
|
|
145
147
|
}
|
|
146
148
|
static get is() { return "post-tabs"; }
|
|
147
149
|
static get encapsulation() { return "shadow"; }
|
|
@@ -194,7 +194,7 @@ export class PostTooltip {
|
|
|
194
194
|
"Placement": {
|
|
195
195
|
"location": "import",
|
|
196
196
|
"path": "@floating-ui/dom",
|
|
197
|
-
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.
|
|
197
|
+
"id": "../../node_modules/.pnpm/@floating-ui+dom@1.6.7/node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts::Placement"
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
},
|
|
@@ -83,7 +83,7 @@ const PostAlert = /*@__PURE__*/ proxyCustomElement(class PostAlert extends HTMLE
|
|
|
83
83
|
h("div", { key: `${this.alertId}-content`, class: "alert-content" }, defaultAlertContent),
|
|
84
84
|
h("div", { key: `${this.alertId}-buttons`, class: "alert-buttons" }, h("slot", { key: 'ab1785ac06297249f1af9b4eb1afaab0551ba5e1', name: "actions" })),
|
|
85
85
|
];
|
|
86
|
-
return (h(Host, { key: '5f0d259c805770fc4a5693c0dc0ad6ef5b7a1336', "data-version": version }, h("div", { key: '
|
|
86
|
+
return (h(Host, { key: '5f0d259c805770fc4a5693c0dc0ad6ef5b7a1336', "data-version": version }, h("div", { key: '9756d0e5bbae845643d552269f713742c701cae3', role: "alert", class: this.classes, part: this.classes }, this.dismissible && (h("button", { key: '81d8d57791d68b370e5a3e6876b9adbec9e91ae4', class: "btn-close", onClick: this.onDismissButtonClick }, h("span", { key: '7ac06e6e769bbcc40788fd94cfc3a9b8de586ccf', class: "visually-hidden" }, this.dismissLabel))), this.icon && this.icon !== 'none' && (h("post-icon", { key: `${this.alertId}-icon`, name: this.icon })), this.hasActions ? actionAlertContent : defaultAlertContent)));
|
|
87
87
|
}
|
|
88
88
|
get host() { return this; }
|
|
89
89
|
static get watchers() { return {
|