@swisspost/design-system-components 7.4.8 → 7.4.10

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.
Files changed (121) hide show
  1. package/dist/cjs/index.cjs.js +16 -16
  2. package/dist/cjs/{package-d17f792a.js → package-e3ef1673.js} +1 -1
  3. package/dist/cjs/{post-accordion-56114a9c.js → post-accordion-99a00c01.js} +1 -1
  4. package/dist/cjs/{post-accordion-item-61bb9056.js → post-accordion-item-7bd51084.js} +1 -1
  5. package/dist/cjs/post-accordion-item.cjs.entry.js +2 -2
  6. package/dist/cjs/post-accordion.cjs.entry.js +2 -2
  7. package/dist/cjs/{post-alert-7825d4af.js → post-alert-e513f465.js} +1 -1
  8. package/dist/cjs/post-alert.cjs.entry.js +2 -2
  9. package/dist/cjs/{post-card-control-78df417c.js → post-card-control-3fb7a7d3.js} +1 -1
  10. package/dist/cjs/post-card-control.cjs.entry.js +2 -2
  11. package/dist/cjs/{post-collapsible-b0591161.js → post-collapsible-314729b5.js} +1 -1
  12. package/dist/cjs/{post-collapsible-trigger-fd930e75.js → post-collapsible-trigger-7dfe15e1.js} +1 -1
  13. package/dist/cjs/post-collapsible-trigger.cjs.entry.js +2 -2
  14. package/dist/cjs/post-collapsible.cjs.entry.js +2 -2
  15. package/dist/cjs/{post-icon-4cbff22d.js → post-icon-cb4bf1f6.js} +19 -4
  16. package/dist/cjs/post-icon.cjs.entry.js +2 -2
  17. package/dist/cjs/{post-popover-97150b1a.js → post-popover-df5487d2.js} +1 -1
  18. package/dist/cjs/post-popover.cjs.entry.js +2 -2
  19. package/dist/cjs/{post-popovercontainer-8693a41b.js → post-popovercontainer-e7928cf8.js} +1 -1
  20. package/dist/cjs/post-popovercontainer.cjs.entry.js +2 -2
  21. package/dist/cjs/{post-rating-9e693498.js → post-rating-6056638e.js} +1 -1
  22. package/dist/cjs/post-rating.cjs.entry.js +2 -2
  23. package/dist/cjs/{post-tab-header-180d8473.js → post-tab-header-664b4d8b.js} +1 -1
  24. package/dist/cjs/post-tab-header.cjs.entry.js +2 -2
  25. package/dist/cjs/{post-tab-panel-b6914de1.js → post-tab-panel-2348d23a.js} +1 -1
  26. package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
  27. package/dist/cjs/{post-tabs-1d915a54.js → post-tabs-04f20575.js} +7 -5
  28. package/dist/cjs/post-tabs.cjs.entry.js +2 -2
  29. package/dist/cjs/{post-tag-cfbec8dd.js → post-tag-0efcd7a2.js} +1 -1
  30. package/dist/cjs/post-tag.cjs.entry.js +2 -2
  31. package/dist/cjs/{post-tooltip-24d006fe.js → post-tooltip-abc576e9.js} +1 -1
  32. package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
  33. package/dist/collection/components/post-icon/post-icon.js +18 -3
  34. package/dist/collection/components/post-tabs/post-tabs.js +6 -4
  35. package/dist/components/package.js +1 -1
  36. package/dist/components/post-icon2.js +18 -3
  37. package/dist/components/post-tabs2.js +6 -4
  38. package/dist/docs.json +1 -1
  39. package/dist/esm/index.js +16 -16
  40. package/dist/esm/{package-7f43aa64.js → package-79261567.js} +1 -1
  41. package/dist/esm/{post-accordion-e0c52073.js → post-accordion-f34d67cf.js} +1 -1
  42. package/dist/esm/{post-accordion-item-b0f6aac3.js → post-accordion-item-28850d05.js} +1 -1
  43. package/dist/esm/post-accordion-item.entry.js +2 -2
  44. package/dist/esm/post-accordion.entry.js +2 -2
  45. package/dist/esm/{post-alert-0b197313.js → post-alert-29814559.js} +1 -1
  46. package/dist/esm/post-alert.entry.js +2 -2
  47. package/dist/esm/{post-card-control-3aace892.js → post-card-control-b22b8114.js} +1 -1
  48. package/dist/esm/post-card-control.entry.js +2 -2
  49. package/dist/esm/{post-collapsible-837cb4bb.js → post-collapsible-56f08239.js} +1 -1
  50. package/dist/esm/{post-collapsible-trigger-fd3e0d69.js → post-collapsible-trigger-b7d0ece3.js} +1 -1
  51. package/dist/esm/post-collapsible-trigger.entry.js +2 -2
  52. package/dist/esm/post-collapsible.entry.js +2 -2
  53. package/dist/esm/{post-icon-05c3fe3c.js → post-icon-5d7a3ba9.js} +19 -4
  54. package/dist/esm/post-icon.entry.js +2 -2
  55. package/dist/esm/{post-popover-6858434f.js → post-popover-dcffb2b0.js} +1 -1
  56. package/dist/esm/post-popover.entry.js +2 -2
  57. package/dist/esm/{post-popovercontainer-c48081c7.js → post-popovercontainer-f2230bfc.js} +1 -1
  58. package/dist/esm/post-popovercontainer.entry.js +2 -2
  59. package/dist/esm/{post-rating-35ec4b01.js → post-rating-9323ef6a.js} +1 -1
  60. package/dist/esm/post-rating.entry.js +2 -2
  61. package/dist/esm/{post-tab-header-5bf243ce.js → post-tab-header-4527a6a0.js} +1 -1
  62. package/dist/esm/post-tab-header.entry.js +2 -2
  63. package/dist/esm/{post-tab-panel-519fd959.js → post-tab-panel-2c3785fc.js} +1 -1
  64. package/dist/esm/post-tab-panel.entry.js +2 -2
  65. package/dist/esm/{post-tabs-518529d5.js → post-tabs-a77d768a.js} +7 -5
  66. package/dist/esm/post-tabs.entry.js +2 -2
  67. package/dist/esm/{post-tag-b0080f9e.js → post-tag-2314a9cd.js} +1 -1
  68. package/dist/esm/post-tag.entry.js +2 -2
  69. package/dist/esm/{post-tooltip-4bbe7d99.js → post-tooltip-3df5878c.js} +1 -1
  70. package/dist/esm/post-tooltip.entry.js +2 -2
  71. package/dist/post-components/index.esm.js +1 -1
  72. package/dist/post-components/p-00de1557.js +1 -0
  73. package/dist/post-components/{p-75932a12.js → p-1ac427d7.js} +1 -1
  74. package/dist/post-components/p-316ffe46.js +1 -0
  75. package/dist/post-components/p-31b4bf40.entry.js +1 -0
  76. package/dist/post-components/{p-faa2ab92.js → p-3ca6e3f8.js} +1 -1
  77. package/dist/post-components/p-42ffb478.entry.js +1 -0
  78. package/dist/post-components/{p-74aa8dee.js → p-43d269f5.js} +1 -1
  79. package/dist/post-components/p-43e2817b.entry.js +1 -0
  80. package/dist/post-components/{p-c9cf0efb.js → p-537266ee.js} +1 -1
  81. package/dist/post-components/{p-41cc4113.js → p-5c383dd5.js} +1 -1
  82. package/dist/post-components/{p-0068fa2c.js → p-60e8abb1.js} +1 -1
  83. package/dist/post-components/p-63365290.entry.js +1 -0
  84. package/dist/post-components/p-70a93f32.entry.js +1 -0
  85. package/dist/post-components/{p-4f2d4abc.js → p-8518f0e6.js} +1 -1
  86. package/dist/post-components/{p-2b5ec614.js → p-96dd256e.js} +1 -1
  87. package/dist/post-components/p-9a74dc73.entry.js +1 -0
  88. package/dist/post-components/p-9ba0d70e.entry.js +1 -0
  89. package/dist/post-components/{p-128b3e68.js → p-9c7ac02c.js} +1 -1
  90. package/dist/post-components/p-a4956698.entry.js +1 -0
  91. package/dist/post-components/p-a8dec74c.entry.js +1 -0
  92. package/dist/post-components/{p-8d72f305.js → p-a8f9e9ae.js} +1 -1
  93. package/dist/post-components/p-aa4bd00e.entry.js +1 -0
  94. package/dist/post-components/{p-5897d98b.js → p-ad171101.js} +1 -1
  95. package/dist/post-components/{p-d21141b3.js → p-b5e3b27e.js} +1 -1
  96. package/dist/post-components/p-c067adcf.entry.js +1 -0
  97. package/dist/post-components/p-c2f67907.entry.js +1 -0
  98. package/dist/post-components/p-c7259dda.entry.js +1 -0
  99. package/dist/post-components/p-ccd7b0aa.entry.js +1 -0
  100. package/dist/post-components/{p-1f6ded98.js → p-d6639fb5.js} +1 -1
  101. package/dist/post-components/p-f438d028.entry.js +1 -0
  102. package/dist/post-components/{p-6909ee8d.js → p-f8201b09.js} +1 -1
  103. package/dist/post-components/post-components.esm.js +1 -1
  104. package/package.json +2 -2
  105. package/dist/post-components/p-0d306ff5.js +0 -1
  106. package/dist/post-components/p-22164c8b.entry.js +0 -1
  107. package/dist/post-components/p-25c4643f.entry.js +0 -1
  108. package/dist/post-components/p-3f02b16e.js +0 -1
  109. package/dist/post-components/p-4193fe01.entry.js +0 -1
  110. package/dist/post-components/p-587f67f3.entry.js +0 -1
  111. package/dist/post-components/p-707bc70f.entry.js +0 -1
  112. package/dist/post-components/p-71ef9a48.entry.js +0 -1
  113. package/dist/post-components/p-7220ea97.entry.js +0 -1
  114. package/dist/post-components/p-73730497.entry.js +0 -1
  115. package/dist/post-components/p-79666c40.entry.js +0 -1
  116. package/dist/post-components/p-87a6a349.entry.js +0 -1
  117. package/dist/post-components/p-9d09684c.entry.js +0 -1
  118. package/dist/post-components/p-9fd50031.entry.js +0 -1
  119. package/dist/post-components/p-c4e3c7e3.entry.js +0 -1
  120. package/dist/post-components/p-f11b6052.entry.js +0 -1
  121. package/dist/post-components/p-f71517ba.entry.js +0 -1
@@ -2,23 +2,23 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postAccordion = require('./post-accordion-56114a9c.js');
6
- const postAccordionItem = require('./post-accordion-item-61bb9056.js');
7
- const postAlert = require('./post-alert-7825d4af.js');
8
- const postCardControl = require('./post-card-control-78df417c.js');
9
- const postCollapsible = require('./post-collapsible-b0591161.js');
10
- const postCollapsibleTrigger = require('./post-collapsible-trigger-fd930e75.js');
11
- const postIcon = require('./post-icon-4cbff22d.js');
12
- const postPopover = require('./post-popover-97150b1a.js');
13
- const postPopovercontainer = require('./post-popovercontainer-8693a41b.js');
14
- const postRating = require('./post-rating-9e693498.js');
15
- const postTabs = require('./post-tabs-1d915a54.js');
16
- const postTabHeader = require('./post-tab-header-180d8473.js');
17
- const postTabPanel = require('./post-tab-panel-b6914de1.js');
18
- const postTooltip = require('./post-tooltip-24d006fe.js');
19
- const postTag = require('./post-tag-cfbec8dd.js');
5
+ const postAccordion = require('./post-accordion-99a00c01.js');
6
+ const postAccordionItem = require('./post-accordion-item-7bd51084.js');
7
+ const postAlert = require('./post-alert-e513f465.js');
8
+ const postCardControl = require('./post-card-control-3fb7a7d3.js');
9
+ const postCollapsible = require('./post-collapsible-314729b5.js');
10
+ const postCollapsibleTrigger = require('./post-collapsible-trigger-7dfe15e1.js');
11
+ const postIcon = require('./post-icon-cb4bf1f6.js');
12
+ const postPopover = require('./post-popover-df5487d2.js');
13
+ const postPopovercontainer = require('./post-popovercontainer-e7928cf8.js');
14
+ const postRating = require('./post-rating-6056638e.js');
15
+ const postTabs = require('./post-tabs-04f20575.js');
16
+ const postTabHeader = require('./post-tab-header-664b4d8b.js');
17
+ const postTabPanel = require('./post-tab-panel-2348d23a.js');
18
+ const postTooltip = require('./post-tooltip-abc576e9.js');
19
+ const postTag = require('./post-tag-0efcd7a2.js');
20
20
  require('./index-1cc8e4e1.js');
21
- require('./package-d17f792a.js');
21
+ require('./package-e3ef1673.js');
22
22
  require('./heading-levels-608d432e.js');
23
23
  require('./check-one-of-f4f5d0c0.js');
24
24
  require('./index-f32e5185.js');
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const version = "7.4.8";
3
+ const version = "7.4.10";
4
4
 
5
5
  exports.version = version;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.js');
5
5
  const headingLevels = require('./heading-levels-608d432e.js');
6
6
  const checkOneOf = require('./check-one-of-f4f5d0c0.js');
7
7
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.js');
5
5
  const headingLevels = require('./heading-levels-608d432e.js');
6
6
  const index$1 = require('./index-f32e5185.js');
7
7
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postAccordionItem = require('./post-accordion-item-61bb9056.js');
5
+ const postAccordionItem = require('./post-accordion-item-7bd51084.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.js');
8
8
  require('./heading-levels-608d432e.js');
9
9
  require('./index-f32e5185.js');
10
10
  require('./constants-238701d3.js');
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postAccordion = require('./post-accordion-56114a9c.js');
5
+ const postAccordion = require('./post-accordion-99a00c01.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.js');
8
8
  require('./heading-levels-608d432e.js');
9
9
  require('./check-one-of-f4f5d0c0.js');
10
10
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.js');
5
5
  const fade = require('./fade-35a3633a.js');
6
6
  const index$1 = require('./index-f32e5185.js');
7
7
  const checkType = require('./check-type-64af82a9.js');
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postAlert = require('./post-alert-7825d4af.js');
5
+ const postAlert = require('./post-alert-e513f465.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.js');
8
8
  require('./fade-35a3633a.js');
9
9
  require('./index-f32e5185.js');
10
10
  require('./constants-238701d3.js');
@@ -3,7 +3,7 @@
3
3
  const index = require('./index-1cc8e4e1.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-d17f792a.js');
6
+ const _package = require('./package-e3ef1673.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-78df417c.js');
5
+ const postCardControl = require('./post-card-control-3fb7a7d3.js');
6
6
  require('./index-1cc8e4e1.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-d17f792a.js');
10
+ require('./package-e3ef1673.js');
11
11
 
12
12
 
13
13
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.js');
5
5
  const index$1 = require('./index-f32e5185.js');
6
6
 
7
7
  function isMotionReduced() {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.js');
5
5
  const checkType = require('./check-type-64af82a9.js');
6
6
  const checkNonEmpty = require('./check-non-empty-eeaa8f77.js');
7
7
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postCollapsibleTrigger = require('./post-collapsible-trigger-fd930e75.js');
5
+ const postCollapsibleTrigger = require('./post-collapsible-trigger-7dfe15e1.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.js');
8
8
  require('./check-type-64af82a9.js');
9
9
  require('./check-non-empty-eeaa8f77.js');
10
10
  require('./constants-238701d3.js');
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postCollapsible = require('./post-collapsible-b0591161.js');
5
+ const postCollapsible = require('./post-collapsible-314729b5.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.js');
8
8
  require('./index-f32e5185.js');
9
9
  require('./constants-238701d3.js');
10
10
  require('./check-one-of-f4f5d0c0.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
4
  const index$1 = require('./index-f32e5185.js');
5
- const _package = require('./package-d17f792a.js');
5
+ const _package = require('./package-e3ef1673.js');
6
6
  const checkNonEmpty = require('./check-non-empty-eeaa8f77.js');
7
7
  const checkType = require('./check-type-64af82a9.js');
8
8
 
@@ -68,11 +68,26 @@ const PostIcon = class {
68
68
  this.setPath();
69
69
  }
70
70
  setPath() {
71
- var _a, _b, _c, _d;
71
+ var _a, _b, _c, _d, _e;
72
72
  // Construct icon path from different possible sources
73
73
  const metaBase = (_b = (_a = document.head
74
74
  .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;
75
- const fileBase = `${(_d = (_c = this.base) !== null && _c !== void 0 ? _c : metaBase) !== null && _d !== void 0 ? _d : CDN_URL}/`.replace(/\/\/$/, '/');
75
+ const baseHref = (_c = document.getElementsByTagName('base')[0]) === null || _c === void 0 ? void 0 : _c.href;
76
+ let calculatedBase;
77
+ // If this.base or metaBase are relative, prefix them with the baseHref if it exists
78
+ const absolutePathReg = /^(?:[a-z+]+:)?\/\//i;
79
+ if (baseHref) {
80
+ if (this.base && !absolutePathReg.test(this.base)) {
81
+ calculatedBase = baseHref + this.base;
82
+ }
83
+ else if (metaBase && !absolutePathReg.test(metaBase)) {
84
+ calculatedBase = baseHref + metaBase;
85
+ }
86
+ }
87
+ else {
88
+ calculatedBase = (_d = this.base) !== null && _d !== void 0 ? _d : metaBase;
89
+ }
90
+ const fileBase = `${(_e = calculatedBase !== null && calculatedBase !== void 0 ? calculatedBase : baseHref) !== null && _e !== void 0 ? _e : CDN_URL}/`.replace(/\/\/$/, '/');
76
91
  const fileName = `${this.name}.svg`;
77
92
  const filePath = `${fileBase}${fileName}`;
78
93
  this.path = new URL(filePath, window.location.origin).toString();
@@ -87,7 +102,7 @@ const PostIcon = class {
87
102
  })
88
103
  .filter(([_key, value]) => value !== null)
89
104
  .reduce((styles, [key, value]) => Object.assign(styles, { [key]: value }), {});
90
- return (index.h(index.Host, { key: 'c4744bef990eef90a7de44312fd349583b295f4c', "data-version": _package.version }, index.h("span", { key: '0655e0d6ada2b822bf4b3c399dcf63000e26bf46', style: svgStyles })));
105
+ return (index.h(index.Host, { key: 'bad9e5bf0bf6250cd6597a2e6e67cf1f334d0e2d', "data-version": _package.version }, index.h("span", { key: '1b07a201ac1bc45cbea6ce6ad3285917cf76e46e', style: svgStyles })));
91
106
  }
92
107
  get host() { return index.getElement(this); }
93
108
  static get watchers() { return {
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postIcon = require('./post-icon-4cbff22d.js');
5
+ const postIcon = require('./post-icon-cb4bf1f6.js');
6
6
  require('./index-1cc8e4e1.js');
7
7
  require('./index-f32e5185.js');
8
8
  require('./constants-238701d3.js');
9
9
  require('./check-one-of-f4f5d0c0.js');
10
10
  require('./check-type-64af82a9.js');
11
- require('./package-d17f792a.js');
11
+ require('./package-e3ef1673.js');
12
12
  require('./check-non-empty-eeaa8f77.js');
13
13
 
14
14
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.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}:where(.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}.btn-close{color:inherit}";
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postPopover = require('./post-popover-97150b1a.js');
5
+ const postPopover = require('./post-popover-df5487d2.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.js');
8
8
  require('./attribute-observer-10f08c04.js');
9
9
 
10
10
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.js');
5
5
 
6
6
  /**
7
7
  * Custom positioning reference element.
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postPopovercontainer = require('./post-popovercontainer-8693a41b.js');
5
+ const postPopovercontainer = require('./post-popovercontainer-e7928cf8.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.js');
8
8
 
9
9
 
10
10
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.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-9e693498.js');
5
+ const postRating = require('./post-rating-6056638e.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.js');
8
8
 
9
9
 
10
10
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.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}:where(.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)}:where(.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-180d8473.js');
5
+ const postTabHeader = require('./post-tab-header-664b4d8b.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.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
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.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-b6914de1.js');
5
+ const postTabPanel = require('./post-tab-panel-2348d23a.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.js');
8
8
 
9
9
 
10
10
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.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}";
@@ -15,12 +15,13 @@ const PostTabs = class {
15
15
  this.activePanel = undefined;
16
16
  }
17
17
  get tabs() {
18
- return this.host.querySelectorAll('post-tab-header');
18
+ return Array.from(this.host.querySelectorAll('post-tab-header')).filter(tab => tab.closest('post-tabs') === this.host);
19
19
  }
20
20
  componentDidLoad() {
21
+ var _a;
21
22
  this.moveMisplacedTabs();
22
23
  this.enableTabs();
23
- const initiallyActivePanel = this.activePanel || this.tabs.item(0).panel;
24
+ const initiallyActivePanel = this.activePanel || ((_a = this.tabs[0]) === null || _a === void 0 ? void 0 : _a.panel);
24
25
  void this.show(initiallyActivePanel);
25
26
  this.isLoaded = true;
26
27
  }
@@ -65,6 +66,7 @@ const PostTabs = class {
65
66
  });
66
67
  }
67
68
  enableTabs() {
69
+ var _a;
68
70
  if (!this.tabs)
69
71
  return;
70
72
  this.tabs.forEach(async (tab) => {
@@ -91,7 +93,7 @@ const PostTabs = class {
91
93
  });
92
94
  // if the currently active tab was removed from the DOM then select the first one
93
95
  if (this.activeTab && !this.activeTab.isConnected) {
94
- void this.show(this.tabs.item(0).panel);
96
+ void this.show((_a = this.tabs[0]) === null || _a === void 0 ? void 0 : _a.panel);
95
97
  }
96
98
  }
97
99
  activateTab(tab) {
@@ -143,7 +145,7 @@ const PostTabs = class {
143
145
  nextTab.focus();
144
146
  }
145
147
  render() {
146
- return (index.h(index.Host, { key: '365b2794cfb46631277341ea23afb2070c9d3ad1', "data-version": _package.version }, index.h("div", { key: '70df13385ecc9c067527b80e2dd7b3a9b245e745', class: "tabs-wrapper", part: "tabs" }, index.h("div", { key: 'cae4d18aff0c890e0e8d76c1b8e321322abbeccd', class: "tabs", role: "tablist" }, index.h("slot", { key: '2b6ca3e01e45e541950ddc2c1cdc680b28ea96b9', name: "tabs", onSlotchange: () => this.enableTabs() }))), index.h("div", { key: '7352582d9c738af9b8bf3b71e0a153132fd23dcd', class: "tab-content", part: "content" }, index.h("slot", { key: '4845c39bf9b9cbc42aa8689c7ae99cc2e75d7907', onSlotchange: () => this.moveMisplacedTabs() }))));
148
+ return (index.h(index.Host, { key: '31c810a8f0f7eae427e41c982730f0ee7bb1dc70', "data-version": _package.version }, index.h("div", { key: 'c53a030452a4dfe915cf63aea7f9a9454db34a2a', class: "tabs-wrapper", part: "tabs" }, index.h("div", { key: '8965885e773e8fbc7164c65b6cbe3729da485a4d', class: "tabs", role: "tablist" }, index.h("slot", { key: 'c5e690fe097d26f9414b0753307c18e87cb0e83c', name: "tabs", onSlotchange: () => this.enableTabs() }))), index.h("div", { key: '6f0c7d8a6a18ccfa90d78001f905949bc83862bc', class: "tab-content", part: "content" }, index.h("slot", { key: '0130862f8e3ee8af46e656879ddf0465bcad7e19', onSlotchange: () => this.moveMisplacedTabs() }))));
147
149
  }
148
150
  get host() { return index.getElement(this); }
149
151
  };
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postTabs = require('./post-tabs-1d915a54.js');
5
+ const postTabs = require('./post-tabs-04f20575.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.js');
8
8
  require('./fade-35a3633a.js');
9
9
 
10
10
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.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: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}";
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-cfbec8dd.js');
5
+ const postTag = require('./post-tag-0efcd7a2.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.js');
8
8
 
9
9
 
10
10
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-1cc8e4e1.js');
4
- const _package = require('./package-d17f792a.js');
4
+ const _package = require('./package-e3ef1673.js');
5
5
  const attributeObserver = require('./attribute-observer-10f08c04.js');
6
6
  const index$1 = require('./index-f32e5185.js');
7
7
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postTooltip = require('./post-tooltip-24d006fe.js');
5
+ const postTooltip = require('./post-tooltip-abc576e9.js');
6
6
  require('./index-1cc8e4e1.js');
7
- require('./package-d17f792a.js');
7
+ require('./package-e3ef1673.js');
8
8
  require('./attribute-observer-10f08c04.js');
9
9
  require('./index-f32e5185.js');
10
10
  require('./constants-238701d3.js');
@@ -62,11 +62,26 @@ export class PostIcon {
62
62
  this.setPath();
63
63
  }
64
64
  setPath() {
65
- var _a, _b, _c, _d;
65
+ var _a, _b, _c, _d, _e;
66
66
  // Construct icon path from different possible sources
67
67
  const metaBase = (_b = (_a = document.head
68
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 fileBase = `${(_d = (_c = this.base) !== null && _c !== void 0 ? _c : metaBase) !== null && _d !== void 0 ? _d : CDN_URL}/`.replace(/\/\/$/, '/');
69
+ const baseHref = (_c = document.getElementsByTagName('base')[0]) === null || _c === void 0 ? void 0 : _c.href;
70
+ let calculatedBase;
71
+ // If this.base or metaBase are relative, prefix them with the baseHref if it exists
72
+ const absolutePathReg = /^(?:[a-z+]+:)?\/\//i;
73
+ if (baseHref) {
74
+ if (this.base && !absolutePathReg.test(this.base)) {
75
+ calculatedBase = baseHref + this.base;
76
+ }
77
+ else if (metaBase && !absolutePathReg.test(metaBase)) {
78
+ calculatedBase = baseHref + metaBase;
79
+ }
80
+ }
81
+ else {
82
+ calculatedBase = (_d = this.base) !== null && _d !== void 0 ? _d : metaBase;
83
+ }
84
+ const fileBase = `${(_e = calculatedBase !== null && calculatedBase !== void 0 ? calculatedBase : baseHref) !== null && _e !== void 0 ? _e : CDN_URL}/`.replace(/\/\/$/, '/');
70
85
  const fileName = `${this.name}.svg`;
71
86
  const filePath = `${fileBase}${fileName}`;
72
87
  this.path = new URL(filePath, window.location.origin).toString();
@@ -81,7 +96,7 @@ export class PostIcon {
81
96
  })
82
97
  .filter(([_key, value]) => value !== null)
83
98
  .reduce((styles, [key, value]) => Object.assign(styles, { [key]: value }), {});
84
- return (h(Host, { key: 'c4744bef990eef90a7de44312fd349583b295f4c', "data-version": version }, h("span", { key: '0655e0d6ada2b822bf4b3c399dcf63000e26bf46', style: svgStyles })));
99
+ return (h(Host, { key: 'bad9e5bf0bf6250cd6597a2e6e67cf1f334d0e2d', "data-version": version }, h("span", { key: '1b07a201ac1bc45cbea6ce6ad3285917cf76e46e', style: svgStyles })));
85
100
  }
86
101
  static get is() { return "post-icon"; }
87
102
  static get encapsulation() { return "shadow"; }
@@ -13,12 +13,13 @@ export class PostTabs {
13
13
  this.activePanel = undefined;
14
14
  }
15
15
  get tabs() {
16
- return this.host.querySelectorAll('post-tab-header');
16
+ return Array.from(this.host.querySelectorAll('post-tab-header')).filter(tab => tab.closest('post-tabs') === this.host);
17
17
  }
18
18
  componentDidLoad() {
19
+ var _a;
19
20
  this.moveMisplacedTabs();
20
21
  this.enableTabs();
21
- const initiallyActivePanel = this.activePanel || this.tabs.item(0).panel;
22
+ const initiallyActivePanel = this.activePanel || ((_a = this.tabs[0]) === null || _a === void 0 ? void 0 : _a.panel);
22
23
  void this.show(initiallyActivePanel);
23
24
  this.isLoaded = true;
24
25
  }
@@ -63,6 +64,7 @@ export class PostTabs {
63
64
  });
64
65
  }
65
66
  enableTabs() {
67
+ var _a;
66
68
  if (!this.tabs)
67
69
  return;
68
70
  this.tabs.forEach(async (tab) => {
@@ -89,7 +91,7 @@ export class PostTabs {
89
91
  });
90
92
  // if the currently active tab was removed from the DOM then select the first one
91
93
  if (this.activeTab && !this.activeTab.isConnected) {
92
- void this.show(this.tabs.item(0).panel);
94
+ void this.show((_a = this.tabs[0]) === null || _a === void 0 ? void 0 : _a.panel);
93
95
  }
94
96
  }
95
97
  activateTab(tab) {
@@ -141,7 +143,7 @@ export class PostTabs {
141
143
  nextTab.focus();
142
144
  }
143
145
  render() {
144
- return (h(Host, { key: '365b2794cfb46631277341ea23afb2070c9d3ad1', "data-version": version }, h("div", { key: '70df13385ecc9c067527b80e2dd7b3a9b245e745', class: "tabs-wrapper", part: "tabs" }, h("div", { key: 'cae4d18aff0c890e0e8d76c1b8e321322abbeccd', class: "tabs", role: "tablist" }, h("slot", { key: '2b6ca3e01e45e541950ddc2c1cdc680b28ea96b9', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: '7352582d9c738af9b8bf3b71e0a153132fd23dcd', class: "tab-content", part: "content" }, h("slot", { key: '4845c39bf9b9cbc42aa8689c7ae99cc2e75d7907', onSlotchange: () => this.moveMisplacedTabs() }))));
146
+ return (h(Host, { key: '31c810a8f0f7eae427e41c982730f0ee7bb1dc70', "data-version": version }, h("div", { key: 'c53a030452a4dfe915cf63aea7f9a9454db34a2a', class: "tabs-wrapper", part: "tabs" }, h("div", { key: '8965885e773e8fbc7164c65b6cbe3729da485a4d', class: "tabs", role: "tablist" }, h("slot", { key: 'c5e690fe097d26f9414b0753307c18e87cb0e83c', name: "tabs", onSlotchange: () => this.enableTabs() }))), h("div", { key: '6f0c7d8a6a18ccfa90d78001f905949bc83862bc', class: "tab-content", part: "content" }, h("slot", { key: '0130862f8e3ee8af46e656879ddf0465bcad7e19', onSlotchange: () => this.moveMisplacedTabs() }))));
145
147
  }
146
148
  static get is() { return "post-tabs"; }
147
149
  static get encapsulation() { return "shadow"; }
@@ -1,3 +1,3 @@
1
- const version = "7.4.8";
1
+ const version = "7.4.10";
2
2
 
3
3
  export { version as v };