@swisspost/design-system-components 7.4.6 → 7.4.8

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 (128) hide show
  1. package/dist/cjs/index.cjs.js +16 -16
  2. package/dist/cjs/{package-6ee67c7b.js → package-d17f792a.js} +1 -1
  3. package/dist/cjs/{post-accordion-c3691e04.js → post-accordion-56114a9c.js} +1 -1
  4. package/dist/cjs/{post-accordion-item-5d0be8db.js → post-accordion-item-61bb9056.js} +5 -4
  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-9a4c5c58.js → post-alert-7825d4af.js} +5 -5
  8. package/dist/cjs/post-alert.cjs.entry.js +2 -2
  9. package/dist/cjs/{post-card-control-3f41156d.js → post-card-control-78df417c.js} +1 -1
  10. package/dist/cjs/post-card-control.cjs.entry.js +2 -2
  11. package/dist/cjs/{post-collapsible-9f2991e0.js → post-collapsible-b0591161.js} +1 -1
  12. package/dist/cjs/{post-collapsible-trigger-480d70cb.js → post-collapsible-trigger-fd930e75.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-6b35a183.js → post-icon-4cbff22d.js} +3 -3
  16. package/dist/cjs/post-icon.cjs.entry.js +2 -2
  17. package/dist/cjs/{post-popover-43be67f5.js → post-popover-97150b1a.js} +1 -1
  18. package/dist/cjs/post-popover.cjs.entry.js +2 -2
  19. package/dist/cjs/{post-popovercontainer-4461b6e0.js → post-popovercontainer-8693a41b.js} +1 -1
  20. package/dist/cjs/post-popovercontainer.cjs.entry.js +2 -2
  21. package/dist/cjs/{post-rating-258da31b.js → post-rating-9e693498.js} +1 -1
  22. package/dist/cjs/post-rating.cjs.entry.js +2 -2
  23. package/dist/cjs/{post-tab-header-962e2fee.js → post-tab-header-180d8473.js} +1 -1
  24. package/dist/cjs/post-tab-header.cjs.entry.js +2 -2
  25. package/dist/cjs/{post-tab-panel-8e0571da.js → post-tab-panel-b6914de1.js} +1 -1
  26. package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
  27. package/dist/cjs/{post-tabs-cc7221af.js → post-tabs-1d915a54.js} +1 -1
  28. package/dist/cjs/post-tabs.cjs.entry.js +2 -2
  29. package/dist/cjs/{post-tag-56e28563.js → post-tag-cfbec8dd.js} +1 -1
  30. package/dist/cjs/post-tag.cjs.entry.js +2 -2
  31. package/dist/cjs/{post-tooltip-99f65ff1.js → post-tooltip-24d006fe.js} +1 -1
  32. package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
  33. package/dist/collection/components/post-accordion-item/post-accordion-item.js +4 -3
  34. package/dist/collection/components/post-alert/post-alert.js +4 -4
  35. package/dist/collection/components/post-icon/post-icon.js +2 -2
  36. package/dist/components/package.js +1 -1
  37. package/dist/components/post-accordion-item2.js +4 -3
  38. package/dist/components/post-alert2.js +4 -4
  39. package/dist/components/post-icon2.js +2 -2
  40. package/dist/docs.json +1 -1
  41. package/dist/esm/index.js +16 -16
  42. package/dist/esm/{package-a9f5eb35.js → package-7f43aa64.js} +1 -1
  43. package/dist/esm/{post-accordion-5e819d46.js → post-accordion-e0c52073.js} +1 -1
  44. package/dist/esm/{post-accordion-item-891804f6.js → post-accordion-item-b0f6aac3.js} +5 -4
  45. package/dist/esm/post-accordion-item.entry.js +2 -2
  46. package/dist/esm/post-accordion.entry.js +2 -2
  47. package/dist/esm/{post-alert-108c97f1.js → post-alert-0b197313.js} +5 -5
  48. package/dist/esm/post-alert.entry.js +2 -2
  49. package/dist/esm/{post-card-control-1400f6c2.js → post-card-control-3aace892.js} +1 -1
  50. package/dist/esm/post-card-control.entry.js +2 -2
  51. package/dist/esm/{post-collapsible-04c8b49b.js → post-collapsible-837cb4bb.js} +1 -1
  52. package/dist/esm/{post-collapsible-trigger-2e12a38a.js → post-collapsible-trigger-fd3e0d69.js} +1 -1
  53. package/dist/esm/post-collapsible-trigger.entry.js +2 -2
  54. package/dist/esm/post-collapsible.entry.js +2 -2
  55. package/dist/esm/{post-icon-3deba08d.js → post-icon-05c3fe3c.js} +3 -3
  56. package/dist/esm/post-icon.entry.js +2 -2
  57. package/dist/esm/{post-popover-0fb4fc7a.js → post-popover-6858434f.js} +1 -1
  58. package/dist/esm/post-popover.entry.js +2 -2
  59. package/dist/esm/{post-popovercontainer-ccd41647.js → post-popovercontainer-c48081c7.js} +1 -1
  60. package/dist/esm/post-popovercontainer.entry.js +2 -2
  61. package/dist/esm/{post-rating-7e5dee5f.js → post-rating-35ec4b01.js} +1 -1
  62. package/dist/esm/post-rating.entry.js +2 -2
  63. package/dist/esm/{post-tab-header-9b75d69e.js → post-tab-header-5bf243ce.js} +1 -1
  64. package/dist/esm/post-tab-header.entry.js +2 -2
  65. package/dist/esm/{post-tab-panel-8bd2866d.js → post-tab-panel-519fd959.js} +1 -1
  66. package/dist/esm/post-tab-panel.entry.js +2 -2
  67. package/dist/esm/{post-tabs-2ee720fd.js → post-tabs-518529d5.js} +1 -1
  68. package/dist/esm/post-tabs.entry.js +2 -2
  69. package/dist/esm/{post-tag-e58f82f1.js → post-tag-b0080f9e.js} +1 -1
  70. package/dist/esm/post-tag.entry.js +2 -2
  71. package/dist/esm/{post-tooltip-73447db2.js → post-tooltip-4bbe7d99.js} +1 -1
  72. package/dist/esm/post-tooltip.entry.js +2 -2
  73. package/dist/post-components/index.esm.js +1 -1
  74. package/dist/post-components/{p-f471e03d.js → p-0068fa2c.js} +1 -1
  75. package/dist/post-components/p-0d306ff5.js +1 -0
  76. package/dist/post-components/{p-e25435f0.js → p-128b3e68.js} +1 -1
  77. package/dist/post-components/{p-a69df397.js → p-1f6ded98.js} +1 -1
  78. package/dist/post-components/p-22164c8b.entry.js +1 -0
  79. package/dist/post-components/p-25c4643f.entry.js +1 -0
  80. package/dist/post-components/{p-9f0a332e.js → p-2b5ec614.js} +1 -1
  81. package/dist/post-components/p-3f02b16e.js +1 -0
  82. package/dist/post-components/p-4193fe01.entry.js +1 -0
  83. package/dist/post-components/p-41cc4113.js +1 -0
  84. package/dist/post-components/{p-10a55702.js → p-4f2d4abc.js} +1 -1
  85. package/dist/post-components/p-587f67f3.entry.js +1 -0
  86. package/dist/post-components/{p-8857d07f.js → p-5897d98b.js} +1 -1
  87. package/dist/post-components/{p-4a013b5c.js → p-6909ee8d.js} +1 -1
  88. package/dist/post-components/p-707bc70f.entry.js +1 -0
  89. package/dist/post-components/p-71ef9a48.entry.js +1 -0
  90. package/dist/post-components/p-7220ea97.entry.js +1 -0
  91. package/dist/post-components/p-73730497.entry.js +1 -0
  92. package/dist/post-components/{p-16eee55a.js → p-74aa8dee.js} +1 -1
  93. package/dist/post-components/{p-873ac69b.js → p-75932a12.js} +1 -1
  94. package/dist/post-components/p-79666c40.entry.js +1 -0
  95. package/dist/post-components/p-87a6a349.entry.js +1 -0
  96. package/dist/post-components/{p-2c8ffc90.js → p-8d72f305.js} +1 -1
  97. package/dist/post-components/p-9d09684c.entry.js +1 -0
  98. package/dist/post-components/p-9fd50031.entry.js +1 -0
  99. package/dist/post-components/p-c4e3c7e3.entry.js +1 -0
  100. package/dist/post-components/{p-1ad314bf.js → p-c9cf0efb.js} +1 -1
  101. package/dist/post-components/p-d21141b3.js +1 -0
  102. package/dist/post-components/p-f11b6052.entry.js +1 -0
  103. package/dist/post-components/p-f71517ba.entry.js +1 -0
  104. package/dist/post-components/{p-fcdcaf82.js → p-faa2ab92.js} +1 -1
  105. package/dist/post-components/post-components.esm.js +1 -1
  106. package/dist/types/components/post-accordion-item/post-accordion-item.d.ts +1 -1
  107. package/dist/types/components/post-alert/post-alert.d.ts +1 -1
  108. package/dist/types/components/post-icon/post-icon.d.ts +1 -1
  109. package/package.json +2 -2
  110. package/dist/post-components/p-19d2c6d5.entry.js +0 -1
  111. package/dist/post-components/p-1e937259.entry.js +0 -1
  112. package/dist/post-components/p-1f8334c9.js +0 -1
  113. package/dist/post-components/p-29e9ca09.js +0 -1
  114. package/dist/post-components/p-30c5651c.entry.js +0 -1
  115. package/dist/post-components/p-324d6e08.entry.js +0 -1
  116. package/dist/post-components/p-3df12cec.entry.js +0 -1
  117. package/dist/post-components/p-433a0077.entry.js +0 -1
  118. package/dist/post-components/p-44f77503.entry.js +0 -1
  119. package/dist/post-components/p-6da90370.js +0 -1
  120. package/dist/post-components/p-6f2d7206.js +0 -1
  121. package/dist/post-components/p-8cd6f842.entry.js +0 -1
  122. package/dist/post-components/p-994ebcdc.entry.js +0 -1
  123. package/dist/post-components/p-99d1cce8.entry.js +0 -1
  124. package/dist/post-components/p-ab911acd.entry.js +0 -1
  125. package/dist/post-components/p-b997deca.entry.js +0 -1
  126. package/dist/post-components/p-db0f266d.entry.js +0 -1
  127. package/dist/post-components/p-ded19f7f.entry.js +0 -1
  128. package/dist/post-components/p-e54d9d82.entry.js +0 -1
@@ -19,7 +19,7 @@ const PostAccordionItem = /*@__PURE__*/ proxyCustomElement(class PostAccordionIt
19
19
  validateHeadingLevel(newValue = this.headingLevel) {
20
20
  checkEmptyOrOneOf(newValue, HEADING_LEVELS, 'The `heading-level` property of the `post-accordion-item` must be a number between 1 and 6.');
21
21
  }
22
- connectedCallback() {
22
+ componentDidLoad() {
23
23
  this.validateHeadingLevel();
24
24
  }
25
25
  componentWillLoad() {
@@ -27,7 +27,8 @@ const PostAccordionItem = /*@__PURE__*/ proxyCustomElement(class PostAccordionIt
27
27
  }
28
28
  // capture to make sure the "collapsed" property is updated before the event is consumed
29
29
  onCollapseToggle(event) {
30
- if (event.target.localName === 'post-accordion-item') {
30
+ if (event.target === this.host &&
31
+ event.target.localName === 'post-accordion-item') {
31
32
  this.collapsed = !event.detail;
32
33
  }
33
34
  }
@@ -40,7 +41,7 @@ const PostAccordionItem = /*@__PURE__*/ proxyCustomElement(class PostAccordionIt
40
41
  render() {
41
42
  var _a;
42
43
  const HeadingTag = `h${(_a = this.headingLevel) !== null && _a !== void 0 ? _a : 2}`;
43
- return (h(Host, { key: 'd021bf895019606800fa6cf3a85a2ea0a2fea7e4', id: this.id, "data-version": version }, h("div", { key: '8a78f2511889eb90d2cbdccf00f76802e043a1e7', part: "accordion-item", class: "accordion-item" }, h(HeadingTag, { key: '15c6f07e53179d669f71d6232dad30b77903ae15', class: "accordion-header", id: `${this.id}--header` }, h("button", { key: '59b0ac3109ab8b0da0de914898551dc453eb807e', "aria-controls": `${this.id}--collapse`, "aria-expanded": `${!this.collapsed}`, class: `accordion-button${this.collapsed ? ' collapsed' : ''}`, onClick: () => this.toggle(), type: "button" }, h("slot", { key: '9cdac36ffca69fd85437b4eaddf1ea707b3655e3', name: "header" }))), h("post-collapsible", { key: '4c4ec07c214e972975672f6c41b3a33b418969df', id: `${this.id}--collapse`, collapsed: this.collapsed, ref: el => (this.collapsible = el) }, h("div", { key: '619f81dc481230eecbc83f9078edeb6a60e6b52f', class: "accordion-body" }, h("slot", { key: '76117f156050fd17fc4acec2d429f57640d6c951' }))))));
44
+ return (h(Host, { key: '610dbc5f3a5da823806ce205d26eeab37fc6ea37', id: this.id, "data-version": version }, h("div", { key: '9678dacae2bd8a50644506db46852c006e35f10c', part: "accordion-item", class: "accordion-item" }, h(HeadingTag, { key: '866fba4cdd0e7f434380d4a324f3a85dd374648d', class: "accordion-header", id: `${this.id}--header` }, h("button", { key: '63fbd88441d1ded89a76df79861fbdd03d822e24', "aria-controls": `${this.id}--collapse`, "aria-expanded": `${!this.collapsed}`, class: `accordion-button${this.collapsed ? ' collapsed' : ''}`, onClick: () => this.toggle(), type: "button" }, h("slot", { key: '4850ad88093fec815fc1187313d2242b2f52f319', name: "header" }))), h("post-collapsible", { key: '5f77b606081f2c6d47cd7984d2cca3fafe9294b4', id: `${this.id}--collapse`, collapsed: this.collapsed, ref: el => (this.collapsible = el) }, h("div", { key: '3afb8386eb8db3c3db143107ec8b0ec1f3487062', class: "accordion-body" }, h("slot", { key: '4a141d2f91c2609509f4a8d36c2c66f885c18459' }))))));
44
45
  }
45
46
  get host() { return this; }
46
47
  static get watchers() { return {
@@ -46,7 +46,7 @@ const PostAlert = /*@__PURE__*/ proxyCustomElement(class PostAlert extends HTMLE
46
46
  validateType(type = this.type) {
47
47
  checkEmptyOrOneOf(type, ALERT_TYPES, `The post-alert requires a type form: ${ALERT_TYPES.join(', ')}`);
48
48
  }
49
- connectedCallback() {
49
+ componentDidLoad() {
50
50
  this.validateDismissible();
51
51
  this.validateFixed();
52
52
  this.validateIcon();
@@ -77,14 +77,14 @@ const PostAlert = /*@__PURE__*/ proxyCustomElement(class PostAlert extends HTMLE
77
77
  }
78
78
  render() {
79
79
  const defaultAlertContent = [
80
- this.hasHeading && (h("div", { key: `${this.alertId}-heading`, class: "alert-heading" }, h("slot", { key: '21d19b64b4bce19fd4b07696dc246750dbb165ce', name: "heading" }))),
80
+ this.hasHeading && (h("div", { key: `${this.alertId}-heading`, class: "alert-heading" }, h("slot", { key: '283f8236884cc17432dad9f3d58e0108f74d69a2', name: "heading" }))),
81
81
  h("slot", { key: `${this.alertId}-message` }),
82
82
  ];
83
83
  const actionAlertContent = [
84
84
  h("div", { key: `${this.alertId}-content`, class: "alert-content" }, defaultAlertContent),
85
- h("div", { key: `${this.alertId}-buttons`, class: "alert-buttons" }, h("slot", { key: 'ab1785ac06297249f1af9b4eb1afaab0551ba5e1', name: "actions" })),
85
+ h("div", { key: `${this.alertId}-buttons`, class: "alert-buttons" }, h("slot", { key: 'ceb340fef071edf96f2e0c8489734cb381bd0560', name: "actions" })),
86
86
  ];
87
- 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
+ return (h(Host, { key: '6792a60261cd924d8c741253194057f184b9f186', "data-version": version }, h("div", { key: 'a65ac20162d28c1b3d213bfd3b11792dfc0a8fde', role: "alert", class: this.classes, part: this.classes }, this.dismissible && (h("button", { key: 'af2bcf60f2e4c87c72c9223f1e6cc162c40af983', class: "btn-close", onClick: this.onDismissButtonClick }, h("span", { key: '0e23743b60bda6e9670a3fada33d7c2029e06d87', class: "visually-hidden" }, this.dismissLabel))), this.icon && this.icon !== 'none' && (h("post-icon", { key: `${this.alertId}-icon`, name: this.icon })), this.hasActions ? actionAlertContent : defaultAlertContent)));
88
88
  }
89
89
  get host() { return this; }
90
90
  static get watchers() { return {
@@ -55,7 +55,7 @@ const PostIcon = /*@__PURE__*/ proxyCustomElement(class PostIcon extends HTMLEle
55
55
  validateScale(newValue = this.scale) {
56
56
  checkEmptyOrType(newValue, 'number', 'The post-icon "scale" prop should be a number.');
57
57
  }
58
- componentWillLoad() {
58
+ componentDidLoad() {
59
59
  this.validateBase();
60
60
  this.validateName();
61
61
  this.validateFlipH();
@@ -87,7 +87,7 @@ const PostIcon = /*@__PURE__*/ proxyCustomElement(class PostIcon extends HTMLEle
87
87
  })
88
88
  .filter(([_key, value]) => value !== null)
89
89
  .reduce((styles, [key, value]) => Object.assign(styles, { [key]: value }), {});
90
- return (h(Host, { key: 'c046b74af0d3cc42dcddfbd4aa029ca07be26bf8', "data-version": version }, h("span", { key: 'c49c4d2de0222c665acf1db46f8a13db26f6a26e', style: svgStyles })));
90
+ return (h(Host, { key: 'c4744bef990eef90a7de44312fd349583b295f4c', "data-version": version }, h("span", { key: '0655e0d6ada2b822bf4b3c399dcf63000e26bf46', style: svgStyles })));
91
91
  }
92
92
  get host() { return this; }
93
93
  static get watchers() { return {
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-11-18T17:02:25",
2
+ "timestamp": "2024-12-16T16:49:59",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.19.1",
package/dist/esm/index.js CHANGED
@@ -1,20 +1,20 @@
1
- export { P as PostAccordion } from './post-accordion-5e819d46.js';
2
- export { P as PostAccordionItem } from './post-accordion-item-891804f6.js';
3
- export { P as PostAlert } from './post-alert-108c97f1.js';
4
- export { P as PostCardControl } from './post-card-control-1400f6c2.js';
5
- export { P as PostCollapsible } from './post-collapsible-04c8b49b.js';
6
- export { P as PostCollapsibleTrigger } from './post-collapsible-trigger-2e12a38a.js';
7
- export { P as PostIcon } from './post-icon-3deba08d.js';
8
- export { P as PostPopover } from './post-popover-0fb4fc7a.js';
9
- export { P as PostPopovercontainer } from './post-popovercontainer-ccd41647.js';
10
- export { P as PostRating } from './post-rating-7e5dee5f.js';
11
- export { P as PostTabs } from './post-tabs-2ee720fd.js';
12
- export { P as PostTabHeader } from './post-tab-header-9b75d69e.js';
13
- export { P as PostTabPanel } from './post-tab-panel-8bd2866d.js';
14
- export { P as PostTooltip } from './post-tooltip-73447db2.js';
15
- export { P as PostTag } from './post-tag-e58f82f1.js';
1
+ export { P as PostAccordion } from './post-accordion-e0c52073.js';
2
+ export { P as PostAccordionItem } from './post-accordion-item-b0f6aac3.js';
3
+ export { P as PostAlert } from './post-alert-0b197313.js';
4
+ export { P as PostCardControl } from './post-card-control-3aace892.js';
5
+ export { P as PostCollapsible } from './post-collapsible-837cb4bb.js';
6
+ export { P as PostCollapsibleTrigger } from './post-collapsible-trigger-fd3e0d69.js';
7
+ export { P as PostIcon } from './post-icon-05c3fe3c.js';
8
+ export { P as PostPopover } from './post-popover-6858434f.js';
9
+ export { P as PostPopovercontainer } from './post-popovercontainer-c48081c7.js';
10
+ export { P as PostRating } from './post-rating-35ec4b01.js';
11
+ export { P as PostTabs } from './post-tabs-518529d5.js';
12
+ export { P as PostTabHeader } from './post-tab-header-5bf243ce.js';
13
+ export { P as PostTabPanel } from './post-tab-panel-519fd959.js';
14
+ export { P as PostTooltip } from './post-tooltip-4bbe7d99.js';
15
+ export { P as PostTag } from './post-tag-b0080f9e.js';
16
16
  import './index-9ace3232.js';
17
- import './package-a9f5eb35.js';
17
+ import './package-7f43aa64.js';
18
18
  import './heading-levels-5b7b4349.js';
19
19
  import './check-one-of-6b3ef8eb.js';
20
20
  import './index-29d17d6d.js';
@@ -1,3 +1,3 @@
1
- const version = "7.4.6";
1
+ const version = "7.4.8";
2
2
 
3
3
  export { version as v };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-a9f5eb35.js';
2
+ import { v as version } from './package-7f43aa64.js';
3
3
  import { H as HEADING_LEVELS } from './heading-levels-5b7b4349.js';
4
4
  import { c as checkOneOf } from './check-one-of-6b3ef8eb.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-a9f5eb35.js';
2
+ import { v as version } from './package-7f43aa64.js';
3
3
  import { H as HEADING_LEVELS } from './heading-levels-5b7b4349.js';
4
4
  import { c as checkEmptyOrOneOf } from './index-29d17d6d.js';
5
5
 
@@ -16,7 +16,7 @@ const PostAccordionItem = class {
16
16
  validateHeadingLevel(newValue = this.headingLevel) {
17
17
  checkEmptyOrOneOf(newValue, HEADING_LEVELS, 'The `heading-level` property of the `post-accordion-item` must be a number between 1 and 6.');
18
18
  }
19
- connectedCallback() {
19
+ componentDidLoad() {
20
20
  this.validateHeadingLevel();
21
21
  }
22
22
  componentWillLoad() {
@@ -24,7 +24,8 @@ const PostAccordionItem = class {
24
24
  }
25
25
  // capture to make sure the "collapsed" property is updated before the event is consumed
26
26
  onCollapseToggle(event) {
27
- if (event.target.localName === 'post-accordion-item') {
27
+ if (event.target === this.host &&
28
+ event.target.localName === 'post-accordion-item') {
28
29
  this.collapsed = !event.detail;
29
30
  }
30
31
  }
@@ -37,7 +38,7 @@ const PostAccordionItem = class {
37
38
  render() {
38
39
  var _a;
39
40
  const HeadingTag = `h${(_a = this.headingLevel) !== null && _a !== void 0 ? _a : 2}`;
40
- return (h(Host, { key: 'd021bf895019606800fa6cf3a85a2ea0a2fea7e4', id: this.id, "data-version": version }, h("div", { key: '8a78f2511889eb90d2cbdccf00f76802e043a1e7', part: "accordion-item", class: "accordion-item" }, h(HeadingTag, { key: '15c6f07e53179d669f71d6232dad30b77903ae15', class: "accordion-header", id: `${this.id}--header` }, h("button", { key: '59b0ac3109ab8b0da0de914898551dc453eb807e', "aria-controls": `${this.id}--collapse`, "aria-expanded": `${!this.collapsed}`, class: `accordion-button${this.collapsed ? ' collapsed' : ''}`, onClick: () => this.toggle(), type: "button" }, h("slot", { key: '9cdac36ffca69fd85437b4eaddf1ea707b3655e3', name: "header" }))), h("post-collapsible", { key: '4c4ec07c214e972975672f6c41b3a33b418969df', id: `${this.id}--collapse`, collapsed: this.collapsed, ref: el => (this.collapsible = el) }, h("div", { key: '619f81dc481230eecbc83f9078edeb6a60e6b52f', class: "accordion-body" }, h("slot", { key: '76117f156050fd17fc4acec2d429f57640d6c951' }))))));
41
+ return (h(Host, { key: '610dbc5f3a5da823806ce205d26eeab37fc6ea37', id: this.id, "data-version": version }, h("div", { key: '9678dacae2bd8a50644506db46852c006e35f10c', part: "accordion-item", class: "accordion-item" }, h(HeadingTag, { key: '866fba4cdd0e7f434380d4a324f3a85dd374648d', class: "accordion-header", id: `${this.id}--header` }, h("button", { key: '63fbd88441d1ded89a76df79861fbdd03d822e24', "aria-controls": `${this.id}--collapse`, "aria-expanded": `${!this.collapsed}`, class: `accordion-button${this.collapsed ? ' collapsed' : ''}`, onClick: () => this.toggle(), type: "button" }, h("slot", { key: '4850ad88093fec815fc1187313d2242b2f52f319', name: "header" }))), h("post-collapsible", { key: '5f77b606081f2c6d47cd7984d2cca3fafe9294b4', id: `${this.id}--collapse`, collapsed: this.collapsed, ref: el => (this.collapsible = el) }, h("div", { key: '3afb8386eb8db3c3db143107ec8b0ec1f3487062', class: "accordion-body" }, h("slot", { key: '4a141d2f91c2609509f4a8d36c2c66f885c18459' }))))));
41
42
  }
42
43
  get host() { return getElement(this); }
43
44
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
- export { P as post_accordion_item } from './post-accordion-item-891804f6.js';
1
+ export { P as post_accordion_item } from './post-accordion-item-b0f6aac3.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
4
4
  import './heading-levels-5b7b4349.js';
5
5
  import './index-29d17d6d.js';
6
6
  import './constants-8d548297.js';
@@ -1,5 +1,5 @@
1
- export { P as post_accordion } from './post-accordion-5e819d46.js';
1
+ export { P as post_accordion } from './post-accordion-e0c52073.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
4
4
  import './heading-levels-5b7b4349.js';
5
5
  import './check-one-of-6b3ef8eb.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-a9f5eb35.js';
2
+ import { v as version } from './package-7f43aa64.js';
3
3
  import { f as fadeOut } from './fade-7fd71785.js';
4
4
  import { a as checkEmptyOrPattern, c as checkEmptyOrOneOf } from './index-29d17d6d.js';
5
5
  import { c as checkType } from './check-type-8828dbe4.js';
@@ -43,7 +43,7 @@ const PostAlert = class {
43
43
  validateType(type = this.type) {
44
44
  checkEmptyOrOneOf(type, ALERT_TYPES, `The post-alert requires a type form: ${ALERT_TYPES.join(', ')}`);
45
45
  }
46
- connectedCallback() {
46
+ componentDidLoad() {
47
47
  this.validateDismissible();
48
48
  this.validateFixed();
49
49
  this.validateIcon();
@@ -74,14 +74,14 @@ const PostAlert = class {
74
74
  }
75
75
  render() {
76
76
  const defaultAlertContent = [
77
- this.hasHeading && (h("div", { key: `${this.alertId}-heading`, class: "alert-heading" }, h("slot", { key: '21d19b64b4bce19fd4b07696dc246750dbb165ce', name: "heading" }))),
77
+ this.hasHeading && (h("div", { key: `${this.alertId}-heading`, class: "alert-heading" }, h("slot", { key: '283f8236884cc17432dad9f3d58e0108f74d69a2', name: "heading" }))),
78
78
  h("slot", { key: `${this.alertId}-message` }),
79
79
  ];
80
80
  const actionAlertContent = [
81
81
  h("div", { key: `${this.alertId}-content`, class: "alert-content" }, defaultAlertContent),
82
- h("div", { key: `${this.alertId}-buttons`, class: "alert-buttons" }, h("slot", { key: 'ab1785ac06297249f1af9b4eb1afaab0551ba5e1', name: "actions" })),
82
+ h("div", { key: `${this.alertId}-buttons`, class: "alert-buttons" }, h("slot", { key: 'ceb340fef071edf96f2e0c8489734cb381bd0560', name: "actions" })),
83
83
  ];
84
- 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)));
84
+ return (h(Host, { key: '6792a60261cd924d8c741253194057f184b9f186', "data-version": version }, h("div", { key: 'a65ac20162d28c1b3d213bfd3b11792dfc0a8fde', role: "alert", class: this.classes, part: this.classes }, this.dismissible && (h("button", { key: 'af2bcf60f2e4c87c72c9223f1e6cc162c40af983', class: "btn-close", onClick: this.onDismissButtonClick }, h("span", { key: '0e23743b60bda6e9670a3fada33d7c2029e06d87', class: "visually-hidden" }, this.dismissLabel))), this.icon && this.icon !== 'none' && (h("post-icon", { key: `${this.alertId}-icon`, name: this.icon })), this.hasActions ? actionAlertContent : defaultAlertContent)));
85
85
  }
86
86
  get host() { return getElement(this); }
87
87
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
- export { P as post_alert } from './post-alert-108c97f1.js';
1
+ export { P as post_alert } from './post-alert-0b197313.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
4
4
  import './fade-7fd71785.js';
5
5
  import './index-29d17d6d.js';
6
6
  import './constants-8d548297.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9ace3232.js';
2
2
  import { c as checkOneOf } from './check-one-of-6b3ef8eb.js';
3
3
  import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
4
- import { v as version } from './package-a9f5eb35.js';
4
+ import { v as version } from './package-7f43aa64.js';
5
5
 
6
6
  function parse(scss) {
7
7
  return Object.entries(scss).reduce((object, [path, value]) => {
@@ -1,6 +1,6 @@
1
- export { P as post_card_control } from './post-card-control-1400f6c2.js';
1
+ export { P as post_card_control } from './post-card-control-3aace892.js';
2
2
  import './index-9ace3232.js';
3
3
  import './check-one-of-6b3ef8eb.js';
4
4
  import './check-non-empty-58bd6b17.js';
5
5
  import './constants-8d548297.js';
6
- import './package-a9f5eb35.js';
6
+ import './package-7f43aa64.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-a9f5eb35.js';
2
+ import { v as version } from './package-7f43aa64.js';
3
3
  import { b as checkEmptyOrType } from './index-29d17d6d.js';
4
4
 
5
5
  function isMotionReduced() {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-a9f5eb35.js';
2
+ import { v as version } from './package-7f43aa64.js';
3
3
  import { c as checkType } from './check-type-8828dbe4.js';
4
4
  import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
5
5
 
@@ -1,6 +1,6 @@
1
- export { P as post_collapsible_trigger } from './post-collapsible-trigger-2e12a38a.js';
1
+ export { P as post_collapsible_trigger } from './post-collapsible-trigger-fd3e0d69.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
4
4
  import './check-type-8828dbe4.js';
5
5
  import './check-non-empty-58bd6b17.js';
6
6
  import './constants-8d548297.js';
@@ -1,6 +1,6 @@
1
- export { P as post_collapsible } from './post-collapsible-04c8b49b.js';
1
+ export { P as post_collapsible } from './post-collapsible-837cb4bb.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
4
4
  import './index-29d17d6d.js';
5
5
  import './constants-8d548297.js';
6
6
  import './check-one-of-6b3ef8eb.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
2
  import { c as checkEmptyOrOneOf, b as checkEmptyOrType } from './index-29d17d6d.js';
3
- import { v as version } from './package-a9f5eb35.js';
3
+ import { v as version } from './package-7f43aa64.js';
4
4
  import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
5
5
  import { c as checkType } from './check-type-8828dbe4.js';
6
6
 
@@ -53,7 +53,7 @@ const PostIcon = class {
53
53
  validateScale(newValue = this.scale) {
54
54
  checkEmptyOrType(newValue, 'number', 'The post-icon "scale" prop should be a number.');
55
55
  }
56
- componentWillLoad() {
56
+ componentDidLoad() {
57
57
  this.validateBase();
58
58
  this.validateName();
59
59
  this.validateFlipH();
@@ -85,7 +85,7 @@ const PostIcon = class {
85
85
  })
86
86
  .filter(([_key, value]) => value !== null)
87
87
  .reduce((styles, [key, value]) => Object.assign(styles, { [key]: value }), {});
88
- return (h(Host, { key: 'c046b74af0d3cc42dcddfbd4aa029ca07be26bf8', "data-version": version }, h("span", { key: 'c49c4d2de0222c665acf1db46f8a13db26f6a26e', style: svgStyles })));
88
+ return (h(Host, { key: 'c4744bef990eef90a7de44312fd349583b295f4c', "data-version": version }, h("span", { key: '0655e0d6ada2b822bf4b3c399dcf63000e26bf46', style: svgStyles })));
89
89
  }
90
90
  get host() { return getElement(this); }
91
91
  static get watchers() { return {
@@ -1,8 +1,8 @@
1
- export { P as post_icon } from './post-icon-3deba08d.js';
1
+ export { P as post_icon } from './post-icon-05c3fe3c.js';
2
2
  import './index-9ace3232.js';
3
3
  import './index-29d17d6d.js';
4
4
  import './constants-8d548297.js';
5
5
  import './check-one-of-6b3ef8eb.js';
6
6
  import './check-type-8828dbe4.js';
7
- import './package-a9f5eb35.js';
7
+ import './package-7f43aa64.js';
8
8
  import './check-non-empty-58bd6b17.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-a9f5eb35.js';
2
+ import { v as version } from './package-7f43aa64.js';
3
3
  import { g as getAttributeObserver } from './attribute-observer-37fa950a.js';
4
4
 
5
5
  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}";
@@ -1,4 +1,4 @@
1
- export { P as post_popover } from './post-popover-0fb4fc7a.js';
1
+ export { P as post_popover } from './post-popover-6858434f.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
4
4
  import './attribute-observer-37fa950a.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-a9f5eb35.js';
2
+ import { v as version } from './package-7f43aa64.js';
3
3
 
4
4
  /**
5
5
  * Custom positioning reference element.
@@ -1,3 +1,3 @@
1
- export { P as post_popovercontainer } from './post-popovercontainer-ccd41647.js';
1
+ export { P as post_popovercontainer } from './post-popovercontainer-c48081c7.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-a9f5eb35.js';
2
+ import { v as version } from './package-7f43aa64.js';
3
3
 
4
4
  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%)}";
5
5
  const PostRatingStyle0 = postRatingCss;
@@ -1,3 +1,3 @@
1
- export { P as post_rating } from './post-rating-7e5dee5f.js';
1
+ export { P as post_rating } from './post-rating-35ec4b01.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-a9f5eb35.js';
2
+ import { v as version } from './package-7f43aa64.js';
3
3
  import { c as checkNonEmpty } from './check-non-empty-58bd6b17.js';
4
4
 
5
5
  const postTabHeaderCss = ".tab-title[role=tab]{display:inline-block;cursor:pointer;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:var(--post-contrast-color);text-decoration:none;background-color:rgba(0,0,0,0)}.tab-title[role=tab]:focus{background-color:unset;color:var(--post-contrast-color)}.tab-title[role=tab]:hover{opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted)}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(var(--post-contrast-color-rgb), 0.6);color:var(--post-contrast-color-inverted);box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:\"\";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:var(--post-contrast-color-inverted);color:var(--post-contrast-color);font-weight:700}.tab-title[role=tab].active::before{content:\"\";display:block;position:absolute;top:0;right:-1px;left:-1px;height:.25rem;background-color:#fc0}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error,.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}";
@@ -1,5 +1,5 @@
1
- export { P as post_tab_header } from './post-tab-header-9b75d69e.js';
1
+ export { P as post_tab_header } from './post-tab-header-5bf243ce.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
4
4
  import './check-non-empty-58bd6b17.js';
5
5
  import './constants-8d548297.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-a9f5eb35.js';
2
+ import { v as version } from './package-7f43aa64.js';
3
3
 
4
4
  const postTabPanelCss = ":host{display:none}";
5
5
  const PostTabPanelStyle0 = postTabPanelCss;
@@ -1,3 +1,3 @@
1
- export { P as post_tab_panel } from './post-tab-panel-8bd2866d.js';
1
+ export { P as post_tab_panel } from './post-tab-panel-519fd959.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-a9f5eb35.js';
2
+ import { v as version } from './package-7f43aa64.js';
3
3
  import { f as fadeOut, a as fadeIn } from './fade-7fd71785.js';
4
4
 
5
5
  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}";
@@ -1,4 +1,4 @@
1
- export { P as post_tabs } from './post-tabs-2ee720fd.js';
1
+ export { P as post_tabs } from './post-tabs-518529d5.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
4
4
  import './fade-7fd71785.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version } from './package-a9f5eb35.js';
2
+ import { v as version } from './package-7f43aa64.js';
3
3
 
4
4
  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}";
5
5
  const PostTagStyle0 = postTagCss;
@@ -1,3 +1,3 @@
1
- export { P as post_tag } from './post-tag-e58f82f1.js';
1
+ export { P as post_tag } from './post-tag-b0080f9e.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9ace3232.js';
2
- import { v as version$1 } from './package-a9f5eb35.js';
2
+ import { v as version$1 } from './package-7f43aa64.js';
3
3
  import { g as getAttributeObserver } from './attribute-observer-37fa950a.js';
4
4
  import { b as checkEmptyOrType } from './index-29d17d6d.js';
5
5
 
@@ -1,6 +1,6 @@
1
- export { P as post_tooltip } from './post-tooltip-73447db2.js';
1
+ export { P as post_tooltip } from './post-tooltip-4bbe7d99.js';
2
2
  import './index-9ace3232.js';
3
- import './package-a9f5eb35.js';
3
+ import './package-7f43aa64.js';
4
4
  import './attribute-observer-37fa950a.js';
5
5
  import './index-29d17d6d.js';
6
6
  import './constants-8d548297.js';
@@ -1 +1 @@
1
- export{P as PostAccordion}from"./p-873ac69b.js";export{P as PostAccordionItem}from"./p-29e9ca09.js";export{P as PostAlert}from"./p-6da90370.js";export{P as PostCardControl}from"./p-1ad314bf.js";export{P as PostCollapsible}from"./p-fcdcaf82.js";export{P as PostCollapsibleTrigger}from"./p-a69df397.js";export{P as PostIcon}from"./p-6f2d7206.js";export{P as PostPopover}from"./p-10a55702.js";export{P as PostPopovercontainer}from"./p-e25435f0.js";export{P as PostRating}from"./p-4a013b5c.js";export{P as PostTabs}from"./p-9f0a332e.js";export{P as PostTabHeader}from"./p-f471e03d.js";export{P as PostTabPanel}from"./p-16eee55a.js";export{P as PostTooltip}from"./p-8857d07f.js";export{P as PostTag}from"./p-2c8ffc90.js";import"./p-8c7f0075.js";import"./p-1f8334c9.js";import"./p-247a1668.js";import"./p-611b3c41.js";import"./p-ac500761.js";import"./p-440193f4.js";import"./p-4a3f67ab.js";import"./p-2737eaf5.js";import"./p-b095519d.js";import"./p-6adeaa6c.js";
1
+ export{P as PostAccordion}from"./p-75932a12.js";export{P as PostAccordionItem}from"./p-41cc4113.js";export{P as PostAlert}from"./p-d21141b3.js";export{P as PostCardControl}from"./p-c9cf0efb.js";export{P as PostCollapsible}from"./p-faa2ab92.js";export{P as PostCollapsibleTrigger}from"./p-1f6ded98.js";export{P as PostIcon}from"./p-3f02b16e.js";export{P as PostPopover}from"./p-4f2d4abc.js";export{P as PostPopovercontainer}from"./p-128b3e68.js";export{P as PostRating}from"./p-6909ee8d.js";export{P as PostTabs}from"./p-2b5ec614.js";export{P as PostTabHeader}from"./p-0068fa2c.js";export{P as PostTabPanel}from"./p-74aa8dee.js";export{P as PostTooltip}from"./p-5897d98b.js";export{P as PostTag}from"./p-8d72f305.js";import"./p-8c7f0075.js";import"./p-0d306ff5.js";import"./p-247a1668.js";import"./p-611b3c41.js";import"./p-ac500761.js";import"./p-440193f4.js";import"./p-4a3f67ab.js";import"./p-2737eaf5.js";import"./p-b095519d.js";import"./p-6adeaa6c.js";
@@ -1 +1 @@
1
- import{r as o,h as t,H as r,g as e}from"./p-8c7f0075.js";import{v as a}from"./p-1f8334c9.js";import{c as b}from"./p-b095519d.js";const c=class{constructor(t){o(this,t),this.tabId=void 0,this.panel=void 0}validateFor(o){b(o,'The "panel" prop is required for the post-tab-header.')}componentWillLoad(){this.tabId=`tab-${this.host.id||crypto.randomUUID()}`}render(){return t(r,{key:"1919a7a1f11ac0898b16e8fa4791d93ffd1fb1c4",id:this.tabId,role:"tab","data-version":a,"aria-selected":"false",tabindex:"-1",class:"tab-title",slot:"tabs"},t("slot",{key:"8d57e8e1883f4dd96db6edfb0e0a4519cc348a3c"}))}get host(){return e(this)}static get watchers(){return{panel:["validateFor"]}}};c.style='.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}';export{c as P}
1
+ import{r as o,h as t,H as r,g as e}from"./p-8c7f0075.js";import{v as a}from"./p-0d306ff5.js";import{c as b}from"./p-b095519d.js";const c=class{constructor(t){o(this,t),this.tabId=void 0,this.panel=void 0}validateFor(o){b(o,'The "panel" prop is required for the post-tab-header.')}componentWillLoad(){this.tabId=`tab-${this.host.id||crypto.randomUUID()}`}render(){return t(r,{key:"1919a7a1f11ac0898b16e8fa4791d93ffd1fb1c4",id:this.tabId,role:"tab","data-version":a,"aria-selected":"false",tabindex:"-1",class:"tab-title",slot:"tabs"},t("slot",{key:"8d57e8e1883f4dd96db6edfb0e0a4519cc348a3c"}))}get host(){return e(this)}static get watchers(){return{panel:["validateFor"]}}};c.style='.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}';export{c as P}
@@ -0,0 +1 @@
1
+ const o="7.4.8";export{o as v}